CN110300311A - Battle method, apparatus, equipment and storage medium in live broadcast system - Google Patents

Battle method, apparatus, equipment and storage medium in live broadcast system Download PDF

Info

Publication number
CN110300311A
CN110300311A CN201910585848.8A CN201910585848A CN110300311A CN 110300311 A CN110300311 A CN 110300311A CN 201910585848 A CN201910585848 A CN 201910585848A CN 110300311 A CN110300311 A CN 110300311A
Authority
CN
China
Prior art keywords
battle
main broadcaster
client
positive
negative points
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910585848.8A
Other languages
Chinese (zh)
Inventor
董炎辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910585848.8A priority Critical patent/CN110300311A/en
Publication of CN110300311A publication Critical patent/CN110300311A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application discloses battle method, apparatus, equipment and the storage mediums in a kind of live broadcast system, are related to net cast field.This method comprises: receiving the battle request of at least one first main broadcaster's client transmission, there are the battle types of at least two battles request to be different;Corresponding battle type is requested according to the battle, determines that target fights matching rule;Matching rule, which is fought, according to the target matches the second main broadcaster's client for participating in fighting;According to the first main broadcaster client and the second main broadcaster client creation battle;Memory space is written into the battle information of the battle.The application is targetedly developed without research staff, further, it is possible to realize the personalization of the battle mode of live streaming process by the setting for carrying out configurationization to module.

Description

Battle method, apparatus, equipment and storage medium in live broadcast system
Technical field
This application involves net cast field, in particular to battle method, apparatus, equipment in a kind of live broadcast system and deposit Storage media.
Background technique
Live broadcast system is to provide live video stream by main broadcaster's user end to server, and then server is by live video stream group It broadcasts or broadcasts to the system of multiple spectator clients.
Battle (PK) function is provided in live broadcast system, battle function is the progress contest between at least two main broadcasters Function.First main broadcaster initiates battle request by first main broadcaster's user end to server, and server requests to match according to the battle Second main broadcaster out.First main broadcaster and the second main broadcaster are added in same battle by server, complete by the first main broadcaster and the second main broadcaster Triumph side at battle, and into the first main broadcaster and the second main broadcaster provides reward on total mark, into the first main broadcaster and the second main broadcaster The losing side takes off punishment integral.
The PK logic of above-mentioned server needs research staff targetedly to develop, when increasing new battle type It needs to increase new PK logic, causes the O&M difficulty of server higher.
Summary of the invention
The embodiment of the present application provides battle method, apparatus and medium in a kind of live broadcast system, can solve related skill Research staff needs targetedly exploitation battle logic in art, leads to the higher problem of O&M difficulty of server.The skill Art scheme is as follows:
According to the one aspect of the application, a kind of battle method in live broadcast system is provided, which comprises
The battle request of at least one first main broadcaster's client transmission is received, there are the battle classes of at least two battles request Type is different;
Corresponding battle type is requested according to the battle, determines that target fights matching rule;It is fought according to the target Matching rule matches the second main broadcaster's client for participating in battle;
According to the first main broadcaster client and the second main broadcaster client creation battle;The battle of the battle is believed Breath write-in memory space;
It completes to tie the battle wartime in the first main broadcaster client and the second main broadcaster client It calculates.
According to the another aspect of the application, the battle device in a kind of live broadcast system is provided, described device includes:
Receiving module, for receiving the battle request of at least one first main broadcaster's client transmission, there are at least two pairs The battle type of war request is different;
Matching module is fought, for requesting corresponding battle type according to the battle, determines that target fights matching rule; Matching rule, which is fought, according to the target matches the second main broadcaster's client for participating in fighting;
Logic module is fought, for according to the first main broadcaster client and the second main broadcaster client creation battle; Memory space is written into the battle information of the battle;
The battle logic module is also used in the first main broadcaster client and the second main broadcaster client completion pair Wartime settles accounts the battle.
According to the another aspect of the application, provide a kind of computer equipment, the computer equipment include: processor and Memory, is stored at least one instruction, at least a Duan Chengxu, code set or instruction set in the memory, and described at least one Item instruction, an at least Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize such as top Battle method in live broadcast system described in face.
According to the another aspect of the application, a kind of computer readable storage medium is provided, is stored in the storage medium Have at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, The code set or instruction set are loaded as the processor and are executed to realize the battle in live broadcast system described in as above aspect Method.
Technical solution bring beneficial effect provided by the embodiments of the present application includes at least:
By determining that the corresponding target of battle type fights matching rule, matching rule is fought to the first main broadcaster according to target Client and second main broadcaster's client match, and realize pair that at least two battle types can be supported in live broadcast system War, if first main broadcaster's client and second main broadcaster's client are fought with new battle type, it is only necessary into live broadcast system First main broadcaster's client and the second main broadcaster visitor can be realized in the configuration information for adding the corresponding object matching rule of the battle type Family end is fought with new battle type, to alleviate the code maintenance task for live streaming battle of server end, is mentioned The high efficiency of code maintenance.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the structural schematic diagram for the live broadcast system that one exemplary embodiment of the application provides;
Fig. 2 is the block diagram for the implementation environment that one exemplary embodiment of the application provides;
Fig. 3 is the flow chart of the battle method in the live broadcast system that one exemplary embodiment of the application provides;
Fig. 4 is the structural schematic diagram for the initiation fighting system that one exemplary embodiment of the application provides;
Fig. 5 is to fight the interface schematic diagram of request in live streaming application program that one exemplary embodiment of the application provides;
Fig. 6 is the interface schematic diagram that type is fought in the live streaming application program of one exemplary embodiment of the application offer;
Fig. 7 is the flow chart of the matching process for the battle matching mould that one exemplary embodiment of the application provides;
Fig. 8 is the flow chart of the storing data method for the battle data module that one exemplary embodiment of the application provides;
Fig. 9 is the interface schematic diagram of the intelligence and art battle for the live streaming application program that one exemplary embodiment of the application provides;
Figure 10 is the interface signal of the game fighting for the live streaming application program that another exemplary embodiment of the application provides Figure;
Figure 11 is the structural schematic diagram for the battle settlement system that one exemplary embodiment of the application provides;
Figure 12 is the process of the positive or negative points calculation method for the battle logic module that one exemplary embodiment of the application provides Figure;
Figure 13 is the flow chart of the settlement method for the battle statistical module that one exemplary embodiment of the application provides;
Figure 14 is the flow chart of the settlement method for the battle statistical module that another exemplary embodiment of the application provides;
Figure 15 is the structural schematic diagram of the battle device for the live broadcast system that the exemplary embodiment of the application provides;
Figure 16 is the structural schematic diagram for the server that one exemplary embodiment of the application provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
Firstly, noun involved in the embodiment of the present application is introduced:
Live streaming: refer to that user watches video on different live streaming platforms by network in real time, the video content of the video It is to be generated or uploaded in real time by main broadcaster.User can be exchanged by sending the message such as barrage, comment with main broadcaster's real-time perfoming, be A kind of emerging network social intercourse mode.
Battle (PK): referring to that the main broadcaster on same live streaming platform can carry out battle match, for example, intelligence and art battle match, User is competed by the battle that direct broadcasting room watches at least two main broadcasters.Spectators user voluntarily to the main broadcaster liked carry out beat reward or Virtual present is given, triumph side and the losing side of battle match, or battle match are determined according to corresponding battle laws of the game Result be draw (optionally).Live streaming platform according to battle match result rewarded or punished accordingly, reward it is interior Holding can be in the prizes such as cash, integral, gift token, virtual present, special stage property, Medal of Honour with class letter at least It is a kind of.
Database (DB, Database): for storing the data of each direct broadcasting room and each user in live streaming platform Data.User such as can increase data, intercept, updating, deleting at the operation, can also by data sharing to other users, And it is independent of one another with application program.
Atomicity: referring to a kind of characteristic of database, when being operated to database, the operation otherwise all execute at Function or whole execute failure.
Concurrency: referring in a system, possesses no less than two calculating.These calculating are sent out in same time interval Raw, if there is multiple processors in system, multiple processors can calculate data parallel execute.
Cloud distributed storage database (CKV, Cloud Key-Value): being that one kind (is referred in database by major key Can unique identification one record the smallest set of fields) cloud database inquired, mass data can be stored, inquired The speed of data is fast, can simultaneously parallel processing largely request.
Application programming interface (API, Application Programming Interface): refer to pre-defined Function can provide access ability to application program and developer based under conditions of software or hardware.
Common gateway interface (Common Gateway Interface, CGI): external when referring to Website server operation The specification of program is equivalent to a kind of agreement, and the program write according to common gateway interface can be with the function of expansion service device.
Message queue: refer in message (referring to the data unit transmitted between two computers) transmission process and save message Container, when message is sent in message queue, message queue manager sends a message to target processing side again, is equivalent to The effect of medium.Message queue is used to guarantee the transmitting of message, if when sending message in the non-readable messaging list of recipient Message, then message will be retained in message queue, until that can be delivered successfully message.
Data structure server (redis): refer to that (open source code) of an open source uses standard computer programs language The distributed storage database that speech (C language) is write, and it is capable of providing the application programming interface of multilingual.
Ai Luo (elo) score value: referring to the score value by obtaining in angstrom Lip river grade subsystem, and an angstrom Lip river grade subsystem is for weighing Measure it is all kinds of play chess or the activity of battle in, for a kind of evaluation method of player's level, angstrom Lip river system now is usually used It is Logistic distribution (Logistic Distribution).
Script (Script): being referred to the program saved with text formatting, acted in computer, is on computer Series of instructions, according to these instructions, computer can automatically complete a series of activities.
Disaster tolerance: referring to and disposed disaster tolerance system by some technological means, and disaster tolerance system refers to relatively far apart Strange land, establishes the identical Internet technology system of at least two sets of functions, can mutually monitor between Internet technology system and function It can switch, when system is because of unexpected stop working at one, entire application system can switch to another place and work on, system institute The affairs of progress will not be interrupted because unexpected, or can be restored automatically in a short time after interrupting.
Disappear peak: there is peak value in the quantity for referring to that user requests in server, and the resource of server processing requests is limited, at this In the case of kind, it is easy to system crash occur, causes user that can not access, to solve the above-mentioned problems, delay the visit of user It asks request, needs to handle server, so that the quantity requested into user in server is few as much as possible, this processing Process is just called the peak that disappears.
Asynchronism callback: also referred to as asynchronous call refers to that a kind of return value for withouting waiting for called function just allows behaviour The method for making to continue.
Live streaming is a kind of emerging network social intercourse mode, and user can be (i.e. straight by different live streaming platforms at the terminal Broadcast application program) watch different types of live streaming.The type of live streaming includes but is not limited to Types Below: performance of talent and art, friend-making The classes such as love, outdoor activities, game, race, exhibition, news conference, animation, Quadratic Finite Element, drawing, cuisines, video display, voice, radio station At least one of type, the application are not construed as limiting the type of live streaming.There are input frames on the interface of live streaming application program, use Family sends barrage or comment to main broadcaster by inputting the information such as text, number or expression into input frame, and main broadcaster is by reading bullet Curtain or comment are exchanged in real time with the user of viewing live streaming.Spectators user can also carry out main broadcaster to play reward operation, beat reward behaviour The form of work is by cash, alternatively, being given with representing the virtual present of certain cash number to main broadcaster;Main broadcaster can also be to viewing The user of live streaming sends virtual present (for example, carrying the red packet of certain amount of money, gift token etc.) as response.
Battle (PK) function is provided in live broadcast system, the main broadcaster of at least two main broadcaster's clients can be same straight (such as direct broadcasting room of any main broadcaster) is fought between broadcasting, and increases visibility and interest, and user passes through to be propped up The main broadcaster held beats the triumph side that reward can help main broadcaster to become battle, meanwhile, user's also available a variety of rewards after triumph. The process of battle is usually: the first main broadcaster by first main broadcaster's user end to server initiate battle request, server according to be somebody's turn to do Battle request random fit goes out the second main broadcaster, alternatively, the first main broadcaster is invited by the initiation of first main broadcaster's user end to server The request that friend is fought, server request for the first main broadcaster and the second main broadcaster to be added in same battle according to the battle.When First main broadcaster and the second main broadcaster terminate to after the war, and triumph side of the live broadcast system into the first main broadcaster and the second main broadcaster provides reward (e.g., (e.g., cash, virtual present, integral, Medal of Honour etc.), punishes the losing side in the first main broadcaster and the second main broadcaster Deduct integral, original Medal of Honour replaced into lower Medal of Honour of grade etc.), if the battle knot of the first main broadcaster and the second main broadcaster Fruit is draw, then the first main broadcaster and the second main broadcaster be not by any reward or punishment (for example, the respective institute of the first main broadcaster and the second main broadcaster The integral possessed is constant, each comfortable ranking fought in ranking list is constant, respective entrained Medal of Honour grade is constant etc.).
Method provided herein can be applied to the inhomogeneity in live broadcast system between at least two main broadcaster's clients The battle of type, embodiments herein are illustrated by taking two main broadcaster's clients as an example.Battle type includes: intelligence and art battle class Type, game fighting type send virtual present to fight at least one of type, right according to the corresponding positive or negative points rule of battle type The battle result of first main broadcaster's client and second main broadcaster's client is settled accounts, and determines triumph side and the losing side or first The battle result of main broadcaster's client and second main broadcaster's client is draw (optionally), then is encouraged accordingly according to battle result It encourages or punishes.Intelligence and art battle type refers to that the main broadcaster for participating in battle carries out performance of talent and art, and live broadcast system is according to the performance of main broadcaster The barrage and comment and spectators user that situation, spectators user deliver settle accounts the reward situation of beating of main broadcaster to battle result, Performance of talent and art includes: that sing and dance, vocal mimicry performance, talk show performance (including tell funny stories, tell a story, saying cross-talk etc.), performance are small Product play an instrument, calligraphy and drawing, poem recitation, theatre acting, at least one of performances of talent and art such as magic show;Game fighting Type includes: that the first main broadcaster of first main broadcaster's client and the second main broadcaster of second main broadcaster's client pass through in live streaming application program The game of setting fought, the second main broadcaster of the first main broadcaster of first main broadcaster's client and second main broadcaster's client is by being made The game contained in terminal fought, the first main broadcaster of first main broadcaster's client and second main broadcaster's client it is second main Broadcast by the game of Real-life Activity (e.g., Chinese idiom building sequence, sincere words shoot Niagara, all find fault, i.e., on two pictures Look for different etc.) it carries out at least one of the mode such as fighting;Giving gifts and fighting type includes at least one of following form: viewing First main broadcaster of first main broadcaster's client and the user of second main broadcaster's client live streaming, which give main broadcaster, represents certain score value or existing The virtual present of the amount of money, or, the generation given mutually between the first main broadcaster of first main broadcaster's client and second main broadcaster's client The virtual present of the certain score value of table or amount of cash compares integral representated by the virtual present that two main broadcasters receive or cash gold The size of volume, main broadcaster obtain virtual present by various modes during battle and are included in battle result.
The embodiment of the present application provides a kind of battle method in live broadcast system, is being that intelligence and art battle is real based on battle type It applies in an example of example, is illustrated in conjunction with the structure of live broadcast system.Fig. 1 shows a kind of structural representation of live broadcast system Figure.There are four modules for the live broadcast system 11 setting, comprising: battle logic module 112, battle matching module 113, battle data mould Block 114 and battle statistical module 116.The battle process of live streaming generally comprises: the first main broadcaster is initiated by first main broadcaster's client Battle request, the second main broadcaster of second main broadcaster's client of matching is requested according to battle, and live broadcast system 11 is by the first main broadcaster and second Main broadcaster is added in same battle, and the first main broadcaster and the second main broadcaster fight, according to battle as a result, live broadcast system 11 is to first Triumph side in main broadcaster and the second main broadcaster provides reward, punishes the losing side in the first main broadcaster and the second main broadcaster, optional Ground, if the battle of the first main broadcaster and the second main broadcaster are the result is that draw, handles rule according to draw corresponding in live broadcast system 11 Handled that (integral that e.g., the first main broadcaster and the second main broadcaster are respectively possessed is constant, each leisure to the first main broadcaster and the second main broadcaster Fight that ranking in ranking list is constant, respectively entrained Medal of Honour grade is constant etc.).Therefore, it is fought according to above-mentioned live streaming Process be respectively set four different modules of function, four module cooperatives complete above-mentioned live streamings and fight process.
First main broadcaster of first main broadcaster's client sends battle to background server 111 by battle logic module 112 and asks Ask, optionally, the battle request be by way of random fit to the second main broadcaster of second main broadcaster's client issue, or Person is that the first main broadcaster of first main broadcaster's client is issued by way of inviting good friend, alternatively, being first main broadcaster's client What the first main broadcaster was issued by way of the second main broadcaster of second main broadcaster's client of search.Schematically, first main broadcaster's client The first main broadcaster by way of random fit to background server 111 issue battle request, background server 111 receive at least The battle request of one first main broadcaster's client, there are the battle types of at least two battles request to be different;Optionally, right War type is intelligence and art battle, game fighting, at least one of battle of giving gifts.It schematically, is intelligence and art battle to fight type For be illustrated.
Above-mentioned live broadcast system 11 supports at least two different types of battle modes, every kind of battle mode that can correspond to difference Battle request.
Corresponding battle type is requested according to battle, determines that target fights matching rule by battle matching module 113;Root The second main broadcaster for participating in second main broadcaster's client of battle is matched according to target battle matching rule;Call battle logic module 112 are added to the second main broadcaster of the first main broadcaster of first main broadcaster's client and second main broadcaster's client in same battle, that is, create Build battle platform;Memory space is written into battle information;The first main broadcaster and second main broadcaster's client in first main broadcaster's client The second main broadcaster complete that wartime is called battle 112 pairs of battles of logic module to settle accounts, checkout result is sent to message team Column 115, battle statistical module 116 according to the checkout result in message queue 115 to the first main broadcaster of first main broadcaster's client and Second main broadcaster of second main broadcaster's client carries out providing reward or implements punishment, and battle data module 114 will be for that will fight In the data write-in data structure server 117 of journey.
Fig. 2 shows the structural block diagrams for the computer system that one exemplary embodiment of the application provides.The department of computer science System 100 includes: first terminal 120, server 140 and second terminal 160.
120 installation and operation of first terminal has the application program for supporting direct broadcast function.First terminal 120 is that the first user makes Terminal, the first user are broadcast live using first terminal 120, and optionally, which is the first master fought At least one of broadcast with the second main broadcaster, alternatively, the user of viewing live streaming is schematically that the first main broadcaster is with the first user Example is illustrated.
First terminal 120 is connected by wireless network or cable network with server 140.
Server 140 includes at least one in a server, multiple servers, cloud computing platform and virtualization center Kind.Schematically, server 140 includes processor 144 and memory 142, and memory 142 includes receiving module 1421, right again Logic module 1422 of fighting and battle matching module 1423.Server 140 is used to support the application program of live streaming provides backstage to take Business.Optionally, server 140 undertakes main calculating work, and first terminal 120 and second terminal 160 undertake secondary calculation work; Alternatively, server 140 undertakes secondary calculation work, first terminal 120 and second terminal 160 undertake main calculating work;Alternatively, Cooperated computing is carried out using distributed computing architecture between 160 three of server 140, first terminal 120 and second terminal.
120 installation and operation of first terminal has the application program for supporting direct broadcast function.Second terminal 160 is that second user makes Terminal, second user are broadcast live using second terminal 120, and optionally, which is the first master fought At least one of broadcast with the second main broadcaster, alternatively, the user of viewing live streaming is schematically that the second main broadcaster is with second user Example is illustrated.
Optionally, the application program installed in first terminal 120 and second terminal 160 be identical or two terminals on The application program of installation is the same type application program of different control system platforms.First terminal 120 can refer to multiple ends One in end, second terminal 160 can refer to one in multiple terminals, and the present embodiment is only with first terminal 120 and second Terminal 160 illustrates.The device type of first terminal 120 and second terminal 160 is identical or different, the device type packet It includes: smart phone, tablet computer, E-book reader, MP3 player, MP4 player, pocket computer on knee and desk-top At least one of computer.Following embodiment is illustrated so that terminal includes smart phone.
Those skilled in the art could be aware that the quantity of above-mentioned terminal can be more or less.For example above-mentioned terminal can be with Only one perhaps above-mentioned terminal be tens or several hundred or greater number.The embodiment of the present application to the quantity of terminal and Device type is not limited.
Fig. 3 shows the process of the battle method in a kind of live broadcast system of one exemplary embodiment of the application offer Figure, this method can be applied in the first terminal 120 in computer system as shown in Figure 2 or second terminal 160 or the calculating In other terminals in machine system.This method comprises the following steps:
Step 301, the battle request of at least one first main broadcaster's client transmission is received, there are at least two battles requests Battle type be different.
Background server 111 in live broadcast system receives the battle request of at least one first main broadcaster's client transmission. First main broadcaster's client used in different main broadcasters can be identical or different live streaming application program.Battle request is included in There are preset at least two different types of battle requests in same live streaming application program, alternatively, different types of live streaming is answered It is requested with the different types of battle in program.Optionally, battle request type is the main broadcaster being broadcast live by random fit, Alternatively, main broadcaster invites the good friend of oneself, alternatively, main broadcaster starts the positioning system in terminal, search is being located at areal The main broadcaster of live streaming or the nearby main broadcaster that is being broadcast live, alternatively, main broadcaster by search for specific main broadcaster account number (ID mark) or The battle of the types such as the pet name, user name is requested.
In conjunction with Fig. 4, it is illustrated to the method that logic module initiates battle is fought in live broadcast system, Fig. 4 shows this Shen The structural schematic diagram for the initiation fighting system that an exemplary embodiment please provides.The initiation fighting system 13 includes: client End 110, background server 111, battle logic module 112, battle data module 114 and data structure service device 117.It is optional Ground, the client 110 are main broadcaster's clients, alternatively, at least one of the client where the user of viewing main broadcaster's client, Schematically, it is illustrated so that the client 110 is main broadcaster's client as an example.Client 110 accesses background server 111, when When at least one first main broadcaster's client initiates battle request, background server 111 receives at least one first main broadcaster client The battle request that end is sent, there are the types of at least two battles request to be different, and optionally, the type of battle request is Random fit invites at least one of good friend or search, and schematically, the type to fight request is carried out as random fit Explanation.
Below with reference to Fig. 5, it is illustrated by taking the interface of the live streaming application program of first main broadcaster's client as an example.It is optional When first main broadcaster on ground, first main broadcaster's client is being broadcast live, initiated to the second main broadcaster of at least one second main broadcaster's client Battle request, alternatively, the first main broadcaster of first main broadcaster's client is to determine before live streaming starts with second main at least one The mode for broadcasting the second main broadcaster battle of client is broadcast live, and schematically, the application is main with the first of first main broadcaster's client It broadcasts when being broadcast live, initiates battle request to the second main broadcaster of at least one second main broadcaster's client to be illustrated.The live streaming The interface 200 of application program shows random fit option 211, invites good friend's option 212, search option 213, more match parties Formula option 214, first main broadcaster's client the information 215 of the first main broadcaster (include: the pet name or the user of first main broadcaster's client Name, grade, the numerical value for measuring grade, for example, glamour value or magic power value represent existing grade or be upgraded to required for lower level Numerical value, ID account number) and viewing first main broadcaster's client the first main broadcaster live streaming user 216.
Optionally, the first main broadcaster of first main broadcaster's client selects the mode of random fit, alternatively, inviting the side of good friend Formula also can choose more matchings alternatively, the mode for searching for the second main broadcaster of at least one second main broadcaster's client matches Mode option 214 is matched to select other matching ways.First main broadcaster of first main broadcaster's client is by inviting Good friend in friendly list fights, and optionally, which is the first main broadcaster of first main broadcaster's client in the live streaming application program In good friend, alternatively, the good friend is good friend in other applications (for example, wechat good friend or QQ friends or microblogging are good Friend etc.), alternatively, the good friend is good friend of the first main broadcaster of first main broadcaster's client in electronic game.First main broadcaster's client The first main broadcaster being matched by way of searching for the second main broadcaster of at least one second main broadcaster's client, optionally, first The pet name or use of the first main broadcaster of main broadcaster's client by the second main broadcaster of second main broadcaster's client of search in live streaming application program The information such as name in an account book or the pet name, alternatively, the second master that the first main broadcaster of first main broadcaster's client passes through second main broadcaster's client of search Area where broadcasting, alternatively, the first main broadcaster of first main broadcaster's client passes through the second main broadcaster's of second main broadcaster's client of search Gender, alternatively, live streaming type of the first main broadcaster of first main broadcaster's client by the second main broadcaster of second main broadcaster's client of search, Alternatively, individualized signature or label of the first main broadcaster of first main broadcaster's client by the second main broadcaster of second main broadcaster's client of search Equal keywords.Schematically, it is illustrated in such a way that the first main broadcaster of first main broadcaster's client selects random fit.
Step 302, corresponding battle type is requested according to battle, determines that target fights matching rule;It is fought according to target Matching rule matches the second main broadcaster's client for participating in battle.
Battle type corresponding with battle request is determined by the battle matching module 113 in live broadcast system, at least two In kind battle matching rule, inquiry target corresponding with battle type fights matching rule, requests corresponding battle according to fighting Type determines that target fights matching rule;Matching rule, which is fought, according to target matches the second main broadcaster's client for participating in fighting The second main broadcaster.
In conjunction with Fig. 6, corresponding battle type is requested to be illustrated battle, Fig. 6 show the application one is exemplary The interface schematic diagram for the battle type in live streaming application program that embodiment provides.The interface 300 includes: intelligence and art battle option 311, game fighting option 312, give gifts fight option 313, more battle playing method option 314, first main broadcaster's client first The information 315 of main broadcaster (includes: the pet name or user name, grade, the numerical value for measuring grade of first main broadcaster's client, for example, glamour Value or magic power value represent existing gradational or are upgraded to numerical value required for lower level, ID account number) and viewing the first main broadcaster visitor The user 316 of the first main broadcaster live streaming at family end.Optionally, the first main broadcaster of first main broadcaster's client selects intelligence and art to fight option 311, alternatively, game fighting option 312, fights option 313 alternatively, giving gifts, alternatively, more battle playing method option 314.
First main broadcaster of first main broadcaster's client, which selects intelligence and art battle option 311, to be fought with intelligence and art battle type, I.e. main broadcaster is fought in a manner of carrying out performance of talent and art.Optionally, the performance of talent and art that is related to of intelligence and art battle type include: sing, It dances, vocal mimicry performance, talk show performance (including tell funny stories, tell a story, saying cross-talk etc.), performance essay, play an instrument, calligraphy is drawn At least one of performances of talent and art such as picture, poem recitation, theatre acting, magic show;First main broadcaster of first main broadcaster's client selects Selecting game fighting option 312 is fought with game fighting type, i.e., main broadcaster is come pair in a manner of carrying out game in live streaming War, optionally, game fighting type includes at least one of following manner: the first main broadcaster and second of first main broadcaster's client Second main broadcaster of main broadcaster's client fought by the game that is arranged in live streaming application program, first main broadcaster's client first Main broadcaster and the second main broadcaster of second main broadcaster's client are fought by the game contained in used terminal, the first main broadcaster is objective First main broadcaster at family end and the second main broadcaster of second main broadcaster's client pass through game (e.g., the Chinese idiom building sequence, sincerity of Real-life Activity Words shoot Niagara, all find fault, i.e., looked on two pictures different etc.) carry out the mode such as fighting;First main broadcaster's client The first main broadcaster selection give gifts that fight option 313 be that the virtual present with main broadcaster obtained in live streaming is fought, optionally, Giving gifts and fighting type includes: to watch the first main broadcaster of first main broadcaster's client and the user of second main broadcaster's client live streaming to main broadcaster Give the virtual present for representing certain score value or amount of cash, the first main broadcaster of first main broadcaster's client and second main broadcaster's client Between at least one of the certain score value of representative given mutually or the virtual present of amount of cash, compare what two main broadcasters received The size of integral representated by virtual present or amount of cash, main broadcaster obtain virtual present during battle by various modes It is all included in battle result.Optionally, the first main broadcaster of first main broadcaster's client also selects more to fight playing method option 314, with Other battle modes are fought, and optionally, other battle modes are related with the live streaming type of application program, alternatively, other Battle mode is related with battle type.
In conjunction with Fig. 7, for the flow chart to fight the method that matching module 113 matches at least one second main broadcaster's client Bright, the method illustrate battle matching modules in the application method being broadcast live in battle and to play the role of, and this method includes following Step:
Step 701, battle type corresponding with battle request is determined.
It fights matching module 113 and determines battle type corresponding with battle request, and receive the first configuration information, according to Corresponding relationship between first configuration information storage battle type and battle matching rule, optionally, battle type and battle It is stored in data structure server storage with the corresponding relationship between rule.
With reference to Fig. 6, optionally, battle type includes such as at least two in Types Below: intelligence and art fight 311, game fighting 312, it gives gifts battle 313.Schematically, it is illustrated for fighting type and being intelligence and art battle 311.Optionally, battle matching Rule includes: to match according to the corresponding Elo rating value of main broadcaster of main broadcaster's client, is corresponding according to the main broadcaster of main broadcaster's client Victory or defeat probability matched, matched according to the area where the main broadcaster of main broadcaster's client, according to the master of main broadcaster's client Corresponding live streaming type is broadcast to be matched, matched according to the corresponding gender of main broadcaster of main broadcaster's client, according to main broadcaster visitor At least two matching rules in the corresponding id number of the main broadcaster at family end, user's name or the pet name.Optionally, when main broadcaster's client It can also be by inviting the good friend of oneself, alternatively, searching for the corresponding mark of other main broadcasters (for example, it is corresponding to search for other main broadcasters Id number, user's name or the pet name, alternatively, area or gender where searching for other main broadcasters, alternatively, searching for the straight of other main broadcasters Broadcast the mode of the keywords such as type, individualized signature or label) it is matched.
Step 702, at least two battle matching rules, inquiry object matching rule corresponding with battle type.
In above-mentioned battle matching rule, the inquiry of battle matching module 113 is with battle type (for example, intelligence and art are fought 311) the corresponding object matching rule of corresponding object matching rule, different battle types is different, for example, intelligence and art are fought 311 be with main broadcaster during battle is broadcast live the integrality of performance of talent and art, excellent degree, with the spectators of viewing live streaming mutually emotionally Condition etc. standard formulates matching rule;Game fighting 312 is the last victory or defeat of the game that carries out in live streaming battle with main broadcaster Situation formulates matching rule;Battle 313 of giving gifts is with the quantity of main broadcaster's virtual present obtained in live streaming battle, virtually The integral or real value that present represents formulate matching rule.
Step 703, scan matching pond.
Battle matching module 113 sweeps second main broadcaster's account number of at least one of match-pool the second main broadcaster client It retouches, inquiry meets the second main broadcaster of at least one second main broadcaster's client of target battle matching rule.
Step 704, prefilter.
It fights matching module 113 and preposition mistake is carried out to the second main broadcaster of at least one of match-pool the second main broadcaster client Filter operation.Optionally, which is that the second main broadcaster of second main broadcaster's client not online or not being broadcast live cannot join With matching, alternatively, once there is the second of second main broadcaster's client of bad live streaming record (for example, there are illegal live streaming record) Main broadcaster cannot participate in matching, alternatively, the parameters such as the grade of the second main broadcaster of second main broadcaster's client, glamour value, honorary title are not Reach first main broadcaster's same level with first main broadcaster's client, cannot participate in matching.
Step 705, verification matching.
Matching module 113 is fought to the of the first main broadcaster of matched first main broadcaster client and second main broadcaster's client Two main broadcasters verify, for example, whether the Elo rating value of two main broadcasters of verification is close, alternatively, the live streaming class of two main broadcasters of verification Whether type is consistent.
If entering step 706 by verification matching, returns and calls battle logic matching module 112, enter step 707, Complete matching process.If fighting matching module 113 by verification matching and returning to calling battle logic module 112, two main broadcasters Successful match terminates above-mentioned steps;If cannot match by verification, 707 are entered step, terminates matching process.Battle matching Again second main broadcaster's account number at least one of match-pool the second main broadcaster client is scanned by module 113, then after It is continuous to complete subsequent matching step.
Step 403, according to first main broadcaster's client and the creation battle of second main broadcaster's client;The battle information of battle is write Enter memory space.
It is created according to the first main broadcaster of first main broadcaster's client of successful match and the second main broadcaster of the second client The second main broadcaster of first main broadcaster of first main broadcaster's client and second main broadcaster's client are added to same battle by battle platform In, optionally, two main broadcasters are being added to same direct broadcasting room, alternatively, the second main broadcaster of second main broadcaster's client is added to Direct broadcasting room where first main broadcaster of first main broadcaster's client, alternatively, the first main broadcaster of first main broadcaster's client is added to Direct broadcasting room where second main broadcaster of two main broadcaster's clients.
It will be written with the battle information of the first main broadcaster of first main broadcaster's client and the second main broadcaster of second main broadcaster's client Memory space, optionally, the second client for fighting the first main broadcaster and the second main broadcaster that information includes: first main broadcaster's client are each From ID account number, user name, the pet name, grade, glamour value or magic power value etc. indicate existing grade or be upgraded to the number of lower level At least one of value, Medal of Honour, battle request method, battle type, target battle rule, viewing permission.
Above-mentioned memory space includes: mutual independent n memory space, and optionally, n is the integer greater than 2, schematically , it is illustrated with the value of n for 3.
Below with reference to Fig. 8, the battle information write-in memory space of battle is illustrated.Fig. 8 shows the one of the application The process of the method for memory space is written in the battle information of battle by the battle data module 114 that a exemplary embodiment provides Figure, method includes the following steps:
Step 801, parameter verification enters step 802 if meeting parameter verification.
Battle 114 pairs of battle parameters of data module verify, if battle parameter meets verification condition, enter step 802, optionally, which is the battle information of the first main broadcaster of the first client and the second main broadcaster of the second client, alternatively, It is whether the first main broadcaster of the first client and the second main broadcaster of the second client have battle qualification.
Step 802, n memory space is written into the battle information of battle.
The memory space is the memory space that data structure server (Redis) is realized, n is written in the battle information of battle A Redis, optionally, n are the integer greater than 2, schematically, are illustrated with the value of n for 3, for example, the battle of battle is believed Three Redis of breath write-in.
Step 803, when receiving the write-in success response of at least two memory spaces feedback, 804 are entered step;When not having When having the write-in success response for receiving at least two memory spaces feedback, 806 are entered step, is returned the result, which is not There is the write-in success response for receiving at least two memory spaces feedback, battle data module 114 again carries out battle information Write operation.
When battle data module 114 receives the write-in success response of at least two Redis memory spaces feedback, signal Property, when three Redis memory spaces are written in the battle information of battle, optionally, receiving two Redis memory spaces Feedback when, will battle information be written memory space, alternatively, will be fought when receiving the feedback of three Redis memory spaces Memory space is written in information.The deployment of Redis memory space is independent from each other, and receives at least and there are two Redis storages The success response of space feedback is a kind of hand in order to avoid that can not be normally written data because of Redis memory space caused by accident Section, when thering is a Redis memory space there is a problem in three Redis memory spaces, then remaining two Redis memory spaces It can be used normally.
Step 804, determine that battle information is written successfully.
Battle data module 114, which receives, determines that successful signal is written in the battle information of battle.
Step 805, write operation is carried out to data structure service device by script, write operation is used for the battle information that will be fought Data structure server storage is written.
It fights data module 114 and write operation is carried out to Redis memory space by lua script, write operation will be for that will fight Battle information be written Redis memory space.
Step 806, it returns the result.
The battle information of battle is successfully written Redis memory space, returns the result as success.
806 are entered step, back-checking knot if the battle information of battle does not meet parameter verification by step 801 Fruit (result is failure), terminates the process of the battle information that will be fought write-in Redis memory space, fights 114 weight of data module Newly carry out the process of the battle information that will be fought write-in Redis memory space.
The above are battle data modules 114, and the battle information of battle to be written to the method for Redis in live streaming battle.
It schematically, is random fit with the battle request of the first main broadcaster of first main broadcaster's client, battle type is It is illustrated for skill battle.Optionally, the performance of talent and art that is related to of intelligence and art battle type include: sing and dance, vocal mimicry performance, Talk show performance (including tell funny stories, tell a story, saying cross-talk etc.), plays an instrument, calligraphy and drawing, poem recitation, modern drama at performance essay At least one of performances of talent and art such as performance, magic show.Schematically, the first main broadcaster of first main broadcaster's client is to sing The mode of song and the second main broadcaster of the second live streaming client fight.Below in conjunction with the first of first main broadcaster's client of viewing The interface of live streaming application program shown by the user of main broadcaster is illustrated, and one for showing the application with reference to Fig. 9, Fig. 9 shows The interface schematic diagram of the intelligence and art battle for the live streaming application program that example property embodiment provides.As shown in (a) of Fig. 9, intelligence and art battle Interface 400 include: comment or barrage option 411, messages option 412, virtual present option 413, more multi-option or menu choosing The information 415 of first main broadcaster of 414, first main broadcaster's client of item (includes: head portrait, user name or the pet name, ID account number, watches directly Broadcast number, concern main broadcaster's virtual option, first main broadcaster's client the first main broadcaster grade and class letter, glamour value, i.e. generation The numerical value of grade and grade details virtual option before entry), the user 416, right of the first main broadcaster of first main broadcaster's client of viewing War battle information 417 (include: first main broadcaster's client the first main broadcaster and second main broadcaster's client the second main broadcaster it is respective Head portrait and respective score) and viewing live streaming the comment delivered of user or barrage 418.
First main broadcaster of first main broadcaster's client is carried out pair in a manner of singing with the second main broadcaster of second main broadcaster's client War, after second main broadcaster's successful match of second main broadcaster's client, two main broadcasters are added in same battle, are applied in live streaming The battle information 417 of battle is shown on the interface 400 of the intelligence and art battle of program.Optionally, the battle information 417 of the battle can be with It is shown in any position on the interface 400 of live streaming application program.Schematically, it is shown in directly with the battle information 417 of battle Broadcast application program intelligence and art battle interface 400 the upper left corner for be illustrated.Optionally, first main broadcaster's client is watched First main broadcaster selects comment or barrage option 411, messages option 412, virtual present option 413 and more multi-option or menu option At least one of 414 interact with the first main broadcaster of first main broadcaster's client.Optionally, messages option 412, virtual present Option 413 and more multi-option or menu option 414 can be located at any on the interface 400 of the intelligence and art battle of live streaming application program Position.Schematically, it is located at live streaming with messages option 412, virtual present option 413 and more multi-option or menu option 414 to answer With the bottom at the interface 400 that the intelligence and art of program are fought.Watch the first main broadcaster of first main broadcaster's client user select comment or Barrage option 411, for stating one's views, which is the comment or barrage 418 that the user of viewing live streaming is delivered, with rolling Mode appears on the interface 400 of intelligence and art battle, can be by all users (packet of the first main broadcaster of first main broadcaster's client of viewing Include the second main broadcaster of second main broadcaster's client) it sees;The user for watching the first main broadcaster of first main broadcaster's client selects message choosing 412, for checking the message of the direct broadcasting room where all the first main broadcasters from first main broadcaster's client, including public chat Message and private chat message (for example, the private chat information of user A and user B, alternatively, the first main broadcaster of first main broadcaster's client With the private chat information of user A), schematically, the message of the direct broadcasting room (including at least one of form once: certain user comes Direct broadcasting room is arrived, the speech about live streaming that certain user delivers, for example, excellent!Excellent battle!Alternatively, certain user gives void The title and number of quasi- present) it scrolls in the form of comment or barrage 418 on the boundary of the intelligence and art battle of live streaming application program On face 400, in some embodiments, comment or barrage 418 are shown in the interface 400 that intelligence and art are fought in a manner of alternately displaying On, the mode that the application shows comment or barrage 418 is not limited;Watch the use of the first main broadcaster of first main broadcaster's client Family selects virtual present option 413, optionally, virtual present option 413 be used for the first main broadcaster of first main broadcaster's client into Row beats reward, alternatively, different types of virtual present represents difference for carrying out beating reward to the second main broadcaster of second main broadcaster's client Score value or cash number;The user for watching the first main broadcaster of first main broadcaster's client selects more multi-option or menu option 414, Optionally, for menu option to be configured or entered to live streaming application program.Optionally, the of first main broadcaster's client is watched The interface 400 of the battle of the intelligence and art in straight application program can be arranged in the user of one main broadcaster by more multi-option or menu option 414 Relevant parameter, for example, the brightness at interface 400 of intelligence and art battle, tone, contrast, saturation degree, clear can be set in user At least one parameter in degree, alternatively, the content that the first main broadcaster of first main broadcaster's client is broadcast live is recorded a video, alternatively, By in content, information, the corresponding ID of direct broadcasting room that the first main broadcaster of first main broadcaster's client is broadcast live at least one of be shared with Other users, for example, the live content of first main broadcaster's client is shared with the good friend in social application program (e.g., wechat), Alternatively, carrying out sweepstake, the prize being extracted into can be given to the main broadcaster of main broadcaster's client, or give to other users.It is optional Ground, other users can be the user in the live streaming application program, alternatively, the user in other applications.
In the example of above-described embodiment, only the first main broadcaster visitor on the interface 400 of the intelligence and art battle of live streaming application program The live streaming picture of first main broadcaster at family end can optionally be shown on the interface 400 of the intelligence and art battle of live streaming application program simultaneously The live streaming picture for showing the live streaming picture of the first main broadcaster of first main broadcaster's client and the second main broadcaster of second main broadcaster's client, such as schemes Shown in 9 (b).Second that second main broadcaster's client is also shown on the interface 410 of the intelligence and art battle of live streaming application program is main The live streaming picture 419 (picture reduction) broadcast.
Optionally, the live streaming picture 419 of the second main broadcaster of the second main broadcaster client is less than first main broadcaster's client The size (with reference to (b) of Fig. 9) of the normal live streaming picture of first main broadcaster, alternatively, being the first main broadcaster of first main broadcaster's client Live streaming picture is less than the size of normal live streaming picture, and the live streaming picture of the second main broadcaster of second main broadcaster's client is normal straight Picture (i.e. the picture of the second main broadcaster of the first main broadcaster of first main broadcaster's client and second main broadcaster's client is exchanged) is broadcast, alternatively, First main broadcaster of first main broadcaster's client and the live streaming picture size of the second main broadcaster of second main broadcaster's client are consistent (with reference to figure 10)。
(the ginseng when the live streaming picture 419 of the second main broadcaster of second main broadcaster's client is less than the size of normal live streaming picture Examine (a) of Fig. 9), which can be moved to any position on the interface 410 of intelligence and art battle.Schematically, The live streaming picture 419 of second main broadcaster of second main broadcaster's client is located at the lower right corner on the interface 410 of intelligence and art battle (with reference to figure 9)。
It schematically, is random fit with the battle request of the first main broadcaster of first main broadcaster's client, battle type is trip It is illustrated for play battle.Optionally, game fighting type includes: the first main broadcaster and the second main broadcaster of first main broadcaster's client Second main broadcaster of client by live streaming application program in preset game fight, the first main broadcaster of first main broadcaster's client It is fought with the second main broadcaster of second main broadcaster's client by the game contained in used terminal, first main broadcaster's client The first main broadcaster and the second main broadcaster of second main broadcaster's client by the game of Real-life Activity, (e.g., Chinese idiom building sequence, sincere words are big Venture, all find fault, i.e., looked on two pictures different etc.) carry out at least one of the mode such as fighting.
Schematically, passed through with the first main broadcaster of first main broadcaster's client and the second main broadcaster of second main broadcaster's client default Game fought, below in conjunction with viewing second main broadcaster's client the second main broadcaster user shown by live streaming application journey The interface of sequence is illustrated, the live streaming application journey provided with reference to Figure 10, Figure 10 exemplary embodiment for showing the application The interface schematic diagram of the game fighting of sequence.The interface 500 of the game fighting includes: stage property or virtual present option 511, music column Table options 512, video recording option 513, more multi-option or menu option 514, messages option 515, second main broadcaster's client second The information 516 of main broadcaster (includes: head portrait, user name or the pet name, ID account number, viewing live streaming number, concern main broadcaster's virtual option, the The grade and class letter of second main broadcaster of two main broadcaster's clients are upgraded to numerical value required for lower level and grade details void Quasi- option), the user 517 of the second main broadcaster of second main broadcaster's client of viewing, the play of battle and time 518, the first main broadcaster visitor The ID account number 519 of first main broadcaster at family end, the gross score 520 of game fighting, single stage property or virtual objects fractional value 521, The stage property or virtual objects 522 that apply to the first main broadcaster of first main broadcaster's client, to the second main broadcaster of second main broadcaster's client The stage property of application or progress bar 524, comment or the barrage 525 and mute option 526 of the vital values in virtual objects 523, game.
Optionally, stage property or virtual present option 511, music list option 512, video recording option 513, more multi-option or dish Any position on the interface 500 for the game fighting that radio button 514 and messages option 515 can be located at live streaming application program.Show Meaning property, with stage property or virtual present option 511, music list option 512, video recording option 513, more multi-option or menu option 514 and messages option 515 be located at live streaming application program game fighting interface 500 bottom.Watch second main broadcaster's client The user of the second main broadcaster select stage property or virtual present option 511, optionally, stage property or virtual present option 511 be used for The main broadcaster of main broadcaster's client applies stage property or gives virtual present, and optionally, stage property includes for adding to main broadcaster's client Point or at least one of deduction, optionally, the type of stage property includes in injury class virtual objects or supplement class virtual objects It is at least one.If applying injury class virtual objects to the main broadcaster of main broadcaster's client, the main broadcaster for the main broadcaster's client being applied will Deducted certain score;If applying supplement class virtual objects, the main broadcaster's client being applied to the main broadcaster of main broadcaster's client Main broadcaster will be increased certain score.Schematically, to the main broadcaster of main broadcaster's client apply injury class virtual objects (for example, Poison), which is divided by deduction 10;Supplement class virtual objects (for example, French fries), the main broadcaster are applied to the main broadcaster of main broadcaster's client 10 points are increased, as shown in Figure 10.The user for watching the second main broadcaster of second main broadcaster's client selects music list option 512, Optionally, the user that music list option 512 is used to watch the main broadcaster of main broadcaster's client selects the background music of live streaming, alternatively, The main broadcaster of main broadcaster's client carries out song-requesting service to user, and schematically, music list option 512 is used for the master of main broadcaster's client That broadcasts carries out song-requesting service to the user of viewing live streaming, watches at least one in user's selection music list option 512 of live streaming Song, the main broadcaster of main broadcaster's client are interacted by way of playing or singing the song with the user of requesting song.Viewing Second main broadcaster of second main broadcaster's client selects video recording option 513, optionally, for the second main broadcaster to second main broadcaster's client Live content record a video, alternatively, cardon is made in the partial video frame for the second main broadcaster for acquiring second main broadcaster's client Expression, optionally, cardon expression can be GIF cardon expression.Schematically, watch the second main broadcaster's of second main broadcaster's client User selects video recording option 513 to record a video the live content of the second main broadcaster of second main broadcaster's client, and user can be straight After broadcasting, the live content is reviewed, and make the cardon expression about the second main broadcaster.Watch the of second main broadcaster's client Two main broadcasters select more multi-option or menu option 514, optionally, select for being configured to live streaming application program or entering menu ?.Optionally, the user for watching the second main broadcaster of second main broadcaster's client can be arranged by more multi-option or menu option 514 The relevant parameter at the interface 500 of the game fighting in straight application program, for example, the interface of the game fighting can be set in user 500 brightness, tone, contrast, saturation degree, in clarity at least one of parameter, alternatively, by the of second main broadcaster's client Content that two main broadcasters are broadcast live, information, in the corresponding ID account number of direct broadcasting room at least one of be shared with other users, for example, will The live content of second main broadcaster's client is shared with the good friend in social application program (e.g., wechat), or, in the live streaming application journey Good friend in sequence, alternatively, carrying out sweepstake, the prize being extracted into can be given to the main broadcaster of main broadcaster's client, or give to it He is user.Optionally, other users can be the user in the live streaming application program, alternatively, the user in other applications. The second main broadcaster for watching second main broadcaster's client selects messages option 515, all from second main broadcaster's client for checking The message of direct broadcasting room where second main broadcaster, including public chat message and private chat message (for example, user A and user B Private chat information, alternatively, the private chat information of the second main broadcaster of second main broadcaster's client and user A).Schematically, the direct broadcasting room Message (includes: that party A-subscriber has come direct broadcasting room, party A-subscriber delivers speech about live streaming, for example, excellent!Excellent battle!Or Person, party A-subscriber give at least one of title and number of virtual present) existed with the form of comment or barrage 525 scrolling display It is broadcast live on the interface 500 of the game fighting of application program.
Schematically, the first main broadcaster of first main broadcaster's client and the second main broadcaster of second main broadcaster's client carry out game pair War, game content is: before the deadline, " eating " (using virtual reality technology) arrives a certain number of virtual objects, adds up The corresponding obtained gross score of virtual objects, the high side of gross score are triumph side.In conjunction with Figure 10, which is carried out Explanation.That in the live streaming picture on the left of in Figure 10 is the first main broadcaster of first main broadcaster's client, and in the live streaming picture on right side is (e.g., second main broadcaster of second main broadcaster's client, the first main broadcaster " eating " of first main broadcaster's client arrive injury class virtual objects 522 Poison), then the first main broadcaster of first main broadcaster's client is by by the fractional value 521 of deduction single virtual article (e.g., deduct 10 points), And the second main broadcaster " eating " of second main broadcaster's client is to supplement class virtual objects 523 (e.g., French fries) the then second main broadcaster's client The fractional value 521 (e.g., increasing by 10 points) that second main broadcaster will be increased single virtual article.Optionally, point of single virtual article Numerical value 521 may be displayed on any position in live streaming picture, and schematically, the fractional value 521 of single virtual article is shown in The right side of main broadcaster.Optionally, the user for watching main broadcaster's client can choose stage property or virtual present option 511, at least one The main broadcaster of a main broadcaster's client applies stage property or virtual present, optionally, at least one main broadcaster's client in game fighting Main broadcaster to apply the operation of stage property or virtual present be independent.For example, supporting the use of the first main broadcaster of first main broadcaster's client Family applies the stage property or virtual present that can increase score to the first main broadcaster, alternatively, supporting the first master of first main broadcaster's client The user broadcast applies the stage property or virtual present that can deduct score to the second main broadcaster.
Optionally, the gross score 520 of game fighting may be displayed on any position in live streaming picture, schematically, trip The gross score 520 of play battle is respectively displayed on the position on the head of the main broadcaster of the client of corresponding main broadcaster.Optionally, game representation In vital values progress bar 524 may be displayed on live streaming picture in any position, schematically, the life in game representation The progress bar 524 of value is respectively displayed on the side of the live streaming picture of the main broadcaster of corresponding main broadcaster's client in the form of symmetrical.Trip The progress bar 524 of vital values in play represents the vital values of the main broadcaster of main broadcaster's client in gaming, and black point-like portion represents Remaining vital values (refer to Figure 10) in game, when vital values are zero (i.e. without black point-like portion), then corresponding main broadcaster End of life in gaming, game also terminate.The high main broadcaster of the gross score of game fighting is triumph side, as shown in Figure 10, the The gross score of the battle of first main broadcaster of one main broadcaster's client is 10 points, the battle of the second main broadcaster of second main broadcaster's client it is total Score is 130 points, then the second main broadcaster of second main broadcaster's client is triumph side, and the first main broadcaster of first main broadcaster's client is failure Side.Optionally, it fights with the match rule of best of three games, alternatively, the match rule of best of 5 games, alternatively, (triumph side is permissible for tactic of several persons taking turns in fighting one opponent to tire him out match rule The main broadcaster's challenge for receiving other main broadcaster's clients, until generating last triumph side).Optionally, the battle time can be live streaming Time set in preset game in application program, alternatively, carry out main broadcaster's agreement of main broadcaster's client of game fighting Time.Optionally, game fighting can be divided into the first half or the second half, alternatively, battle is intermediate free of discontinuities.Schematically, game Battle is divided into the first half, and upper half field time is 3 seconds, as shown in Figure 10.
It should be noted that above-mentioned " eating " refers to using augmented reality (AR, Augmented Reality), camera shooting Head carries out the identification of face and movement to the main broadcaster of main broadcaster's client, when main broadcaster's lips make the movement of " eating ", close to the master The virtual objects broadcast will be identified that " eating up ", also, the main broadcaster is coupled with the corresponding score of virtual objects.
Above-described embodiment combines the interface of live streaming application program that intelligence and art battle and game fighting is illustrated, and below will Battle settlement process is illustrated.
Step 304, it completes to settle accounts battle wartime in first main broadcaster's client and second main broadcaster's client.
It completes in the first main broadcaster of first main broadcaster's client and the second main broadcaster of second main broadcaster's client to wartime, at least The battle of the main broadcaster of one main broadcaster's client is settled accounts, and is illustrated below with reference to settlement process of the Figure 11 to battle.
With reference to the battle settlement system 18 that Figure 11, Figure 11 exemplary embodiment for showing the application provide, this is right War settlement system 18 include: battle logic module 112, battle matching module 113, message queue 115, battle statistical module 116, Data structure server 117 and battle auditing module 118.In the second main broadcaster of first main broadcaster's client and second main broadcaster's client It completes that wartime is fought matching module 113 to battle logic module 112 and sends tally order.Logic module 112 is fought from data New data are read in structure service device 117, and according to the victory or defeat of battle type corresponding target positive or negative points rule and battle Situation obtains at least one main broadcaster visitor in the first main broadcaster of first main broadcaster's client and the second main broadcaster of second main broadcaster's client The positive or negative points information of the main broadcaster at family end, settles accounts battle according to positive or negative points information, and the positive or negative points after clearing are requested storage To message queue 115, battle statistical module 116 reads positive or negative points from message queue requests and executes, and obtains at least one master Broadcast the practical positive or negative points result of the main broadcaster of client.Meanwhile it fighting logic module 112 and check and correction plus-minus is obtained according to positive or negative points information Divide result.118 pairs of auditing module practical positive or negative points results of battle and proofread positive or negative points result and proofread, if collation without Accidentally, then final battle result is obtained.
Play the role of being illustrated in settlement process to battle logic module in conjunction with Figure 12, Figure 12 shows this Shen The flow chart for the method that the positive or negative points for the battle logic module that an exemplary embodiment please provides calculate, this method are applied to Settlement process when battle is completed, includes the following steps:
Step 1201, target positive or negative points rule corresponding with battle type is determined.
Battle logic module 112 is corresponding right according to the battle request determination that the main broadcaster of at least one main broadcaster's client initiates Type of fighting inquires target positive or negative points rule corresponding with battle type, and receive second at least two positive or negative points rule Configuration information stores the corresponding relationship between battle type and positive or negative points rule according to the second configuration information, optionally, fights class Corresponding relationship between type and positive or negative points rule is stored in data structure server storage.
Optionally, battle type includes: intelligence and art battle, game fighting and at least one of battle of giving gifts.Optionally, until Few two kinds of positive or negative points rules include: at least one of common bonus point rule and common deduction rule, alternatively, double bonus point is regular At least one of with double deduction rule.Schematically, in a battle, the bonus point rule of single common stage property is each Stage property adds 10 points (for example, main broadcaster's " eating " then fights gross score and add 10 points to supplement class virtual objects French fries);Single common stage property Deduction rule be that each stage property subtracts 10 point (for example, main broadcaster's " eating " then fights gross score and subtract 10 to injury class virtual objects poison Point).Schematically, in a battle, the bonus point rule of single special stage property be each stage property add 30 points (for example, main broadcaster " eating " then fights gross score and adds 30 points to supplement class virtual objects chicken leg);The deduction rule of single special stage property is each stage property Subtract 30 point (for example, main broadcaster's " eating ", which to injury class virtual objects bomb, then fights gross score, subtracts 30 point).Optionally, main broadcaster is watched The user of the main broadcaster of client can also give special stage property or virtual present is main broadcaster's bonus point or deduction.Schematically, it sees See that the user of the first main broadcaster of first main broadcaster's client gives supplement class virtual present or stage property (for example, fish to the first main broadcaster Ball), then certain score (for example, plus 5 points) is added to the battle gross score of the first main broadcaster;Watch the of first main broadcaster's client The user of one main broadcaster gives injury class virtual present or stage property (for example, blade) to the second main broadcaster, then to the battle of the second main broadcaster Gross score subtracts certain score (for example, subtract 5 point).
Step 1202, according to the battle victory or defeat situation of target positive or negative points rule and battle, obtain first main broadcaster's client and The positive or negative points information of at least one client in second main broadcaster's client.
Logic module 112 is fought according to the battle victory or defeat situation of target positive or negative points rule and battle, obtains the first main broadcaster visitor The positive or negative points information of first main broadcaster at family end and the main broadcaster of at least one client in the second main broadcaster of second main broadcaster's client.
Optionally, the battle victory or defeat situation of battle includes: and decided the winner both sides and at least one of draw occur.It is optional The triumph side on ground, battle increases certain integral, and the losing side of battle deducts certain integral, if there is the case where draw, It is constant to fight the respective total mark of both sides.Optionally, which determines ranking of the main broadcaster in ranking list, alternatively, grade, or The grade of the Medal of Honour possessed.Schematically, in a battle, the triumph side of battle increases by 5 points of integral, battle The losing side deducts 5 points of integral, if there is average situation, fights both sides and neither increases to integrate nor deduct integral and (obtain Winner adds 0 point, and the losing side deducts 0 point).Schematically, the integral of the first main broadcaster of first main broadcaster's client is 100, the main broadcaster Second place in ranking list, locating grade are king's grades, and the Medal of Honour possessed is corresponding with king's grade Medal of Honour;The integral of second main broadcaster of second main broadcaster's client is 200, which is located at the first place in ranking list, locating Grade be legend grade, the Medal of Honour possessed is Medal of Honour corresponding with legend grade.Optionally, the master of the side of triumph The bean vermicelli broadcast can also obtain corresponding virtual present or integral, alternatively, cash, cash gift certificate, coupons, game article etc. are encouraged It encourages, the bean vermicelli of the main broadcaster of the losing side is not rewarded.
Step 1203, battle is settled accounts according to positive or negative points information.
It fights logic module 112 and the corresponding positive or negative points request of battle is generated according to positive or negative points information, and positive or negative points are asked It asks and stores into message queue 115, while according to positive or negative points information, obtaining the first main broadcaster and the second master of first main broadcaster's client The check and correction positive or negative points of the main broadcaster of at least one client in the second main broadcaster of client are broadcast as a result, clearing out theoretic plus-minus Divide result.
In conjunction with Figure 13, settlement process is further illustrated, the exemplary embodiment that Figure 13 shows the application provides Battle statistical module settlement method flow chart.This method is applied to the settlement process of live streaming battle, comprising the following steps:
Step 1301, positive or negative points request is stored into message queue.
Battle logic module 112 stores positive or negative points request into message queue 115.
Step 1302, positive or negative points request is sequentially read from message queue, is executed the positive or negative points request read, is obtained the The practical positive or negative points result of one main broadcaster's client and at least one client in second main broadcaster's client.
Battle statistical module 116 sequentially reads positive or negative points request from messaging list, executes the positive or negative points request read, Obtain the master of the first main broadcaster of first main broadcaster's client and at least one client in the second main broadcaster of second main broadcaster's client The practical positive or negative points result broadcast.
The stream of the settlement method for the battle statistical module that another exemplary embodiment that Figure 14 shows the application provides Cheng Tu, this method are applied to the settlement process of live streaming battle, comprising the following steps:
Step 1401, positive or negative points request is read from messaging list, executes the positive or negative points request read.
Battle statistical module 116 sequentially reads positive or negative points request from messaging list, executes the positive or negative points request read.
Step 1402, prefilter.
The request of unwanted positive or negative points is filtered by preposition global filter condition, if meeting preposition global mistake Filter condition, then enter step 1404;If not meeting preposition global filter condition, 1406 are entered step, fights statistical module 116 settlement process terminates.
Optionally, which is that the activity of battle is not present, alternatively, the grade of the main broadcaster of battle is not Meet the requirement for participating in battle, alternatively, the main broadcaster of battle once has record of bad behavior.Schematically, when clearing one to wartime, if The corresponding activity time of the battle is over, then can not settle accounts to the battle;If at least one main broadcaster visitor of battle The grade of the main broadcaster at family end is not up to the requirement for participating in battle, then can not settle accounts to the battle;If at least one of battle The main broadcaster of main broadcaster's client once had illegal live streaming record, then can not settle accounts to the battle.
Step 1403, policy check.
If being processed to battle score by policy check, entering step 1404;If not passing through policy check, 1406 are entered step, the settlement process of battle statistical module 116 terminates.
Strategy refers to the virtual present or the corresponding configuration score value of stage property in live streaming application program, alternatively, bean vermicelli or powder Clusters carry out the rule of addition to the battle score of main broadcaster.Optionally, strategy supports dynamic addition, adds not as needed Same strategy.Schematically, the corresponding configuration score value of virtual present is at least 5 points, the battle point of bean vermicelli or bean vermicelli group to main broadcaster Number progress at least twice addition, higher grade bean vermicelli group, addition multiple are bigger.
Step 1404, the reality for obtaining first main broadcaster's client and at least one client in second main broadcaster's client adds Deduction result.
Score is processed by policy check, obtains the first main broadcaster and the second main broadcaster client of first main broadcaster's client The practical positive or negative points result of the main broadcaster of at least one client in second main broadcaster at end.
Step 1405, list is written.
118 pairs of auditing module battle statistical modules 116 of battle are to obtained practical positive or negative points result and battle logic module 113 obtained check and correction positive or negative points results are proofreaded, and Redis memory space is written in final collation, generates ranking list List.
Optionally, by the list of the practical positive or negative points result write-in ranking list of the main broadcaster of at least one client.Optionally, Ranking list is the total list of main broadcaster (the integral ranking lists of all main broadcasters in live streaming application program), all lists (one week in live streaming application program The integral ranking list of all main broadcasters in time), day list (live streaming application program in 24 hours all main broadcasters integral ranking lists), (all masters in application program are broadcast live in hour list (the integral ranking lists of all main broadcasters in 1 hour in live streaming application program), bean vermicelli list At least one of the ranking list of the bean vermicelli number of each main broadcaster in broadcasting).Schematically, auditing module 118 is fought by final school Redis memory space is written to result, by the final school of the first main broadcaster of the first client and the second main broadcaster of the second client Redis memory space is written to result, generates the list of the total list of main broadcaster.
Step 1406, terminate.
After the list for generating ranking list, battle statistical module 116 terminates battle settlement process.
In conclusion by live broadcast system be arranged battle logic module, battle data module, battle matching module and Four modules of statistical module are fought, are completed from the whole process for initiating battle request to clearing battle.By being carried out to module Dynamic configuration, so that live broadcast system is suitable for all kinds of live streaming application programs, research staff is only needed as needed in correlation module The operation such as increased interrelated logic, deleted and modified.
The following are the Installation practices of the application can be in conjunction with ginseng for the details being not described in detail in Installation practice It examines in above method embodiment and records accordingly, repeats no more herein.
The structure for the battle device in live broadcast system that the exemplary embodiment that Figure 15 shows the application provides is shown It is intended to.The device can by software, hardware or both be implemented in combination with as terminal all or part of, the device packet It includes: receiving module 1510, battle matching module 1520, battle logic module 1530, battle data module 1540, battle statistics mould Block 1550,1560 data structure server 1570 of message queue and battle auditing module 1580, wherein receiving module 1510 is can The module of choosing.
Receiving module 1510 has at least two for receiving the battle request of at least one first main broadcaster's client transmission The battle type of a battle request is different.
Matching module 1520 is fought, for requesting corresponding battle type according to battle, determines that target fights matching rule; Matching rule, which is fought, according to target matches the second main broadcaster's client for participating in fighting.
Logic module 1530 is fought, for according to first main broadcaster's client and the creation battle of second main broadcaster's client;It will be right Memory space is written in the battle information of war.
The battle logic module 1530 is also used to complete battle in first main broadcaster's client and second main broadcaster's client When, battle is settled accounts.
In an alternative embodiment, battle matching module 1230 is also used to: determining battle corresponding with battle request Type;In at least two battle matching rules, inquiry target corresponding with battle type fights matching rule.
In an alternative embodiment, above two battle matching rule includes at least two in following rule:
It is matched according to corresponding angstrom of Lip river (elo) score value of main broadcaster's client;
It is matched according to the corresponding victory or defeat probability of main broadcaster's client;
It is matched according to the area where main broadcaster's client;
It is matched according to live streaming type corresponding to main broadcaster's client.
In an alternative embodiment, memory space includes: mutual independent n memory space, and n is whole greater than 2 Number;Above-mentioned apparatus further includes battle data module 1540, and n memory space is written in the battle information for that will fight;Work as reception To at least two memory spaces feed back write-in success response when, determine battle information be written successfully.
In an alternative embodiment, the battle logic module 1530 is also used to determine corresponding with battle type Target positive or negative points rule;According to the battle victory or defeat situation of target positive or negative points rule and battle, first main broadcaster's client and are obtained The positive or negative points information of at least one client in two main broadcaster's clients;The battle is settled accounts according to positive or negative points information.
In an alternative embodiment, the battle logic module 1530 is also used to determine corresponding with battle request Fight type;In at least two positive or negative points rule, inquiry target positive or negative points rule corresponding with battle type.
In an alternative embodiment, above-mentioned apparatus further includes battle statistical module 1550 and battle auditing module 1580, the battle logic module 1530 is also used to be generated according to positive or negative points information and fights corresponding positive or negative points request;
Statistical module 1550 is fought, for executing positive or negative points request, obtains first main broadcaster's client and the second main broadcaster client The practical positive or negative points result of at least one client in end;
The battle logic module 1530 is also used to obtain first main broadcaster's client and the second master according to positive or negative points information Broadcast the check and correction positive or negative points result of at least one client in client;
Auditing module 1580 is fought, for proofreading practical positive or negative points result and check and correction positive or negative points result.
In an alternative embodiment, above-mentioned apparatus further includes message queue 1560, and the Kevin Asano book fights logic Module 1530 is also used to request to store into message queue 1560 by positive or negative points;
The battle statistical module 1550 is also used to sequentially read positive or negative points request from message queue 1560, executes reading The positive or negative points request got, the reality for obtaining first main broadcaster's client and at least one client in second main broadcaster's client add Deduction result.
In an alternative embodiment, the receiving module 1510, is also used to receive the first configuration information;According to first Corresponding relationship between configuration information storage battle type and battle matching rule.
In an alternative embodiment, the receiving module 1510, is also used to receive the second configuration information;According to second Corresponding relationship between configuration information storage battle type and positive or negative points rule.
Here is illustrated to the server architecture of the embodiment of the present application, and Figure 16 is please referred to,
Figure 16 is the structural schematic diagram for the server that the application one embodiment provides.Specifically: server 1600 wraps Include central processing unit (English: Central Processing Unit, abbreviation: CPU) 1601 including random access memory (English: random access memory, abbreviation: RAM) 1602 and read-only memory (English: read-only memory, letter Claim: ROM) 1603 system storage 1604, and connection system storage 1604 and central processing unit 1601 system it is total Line 1605.The server 1600 further includes the basic input/output that information is transmitted between each device helped in computer System (I/O system) 1606, and for the great Rong of storage program area 1613, application program 1614 and other program modules 1615 Amount storage equipment 1607.
The basic input/output 1606 includes display 1608 for showing information and inputs for user The input equipment 1609 of such as mouse, keyboard etc of information.Wherein the display 1608 and input equipment 1609 all pass through The i/o controller 1610 for being connected to system bus 1605 is connected to central processing unit 1601.The basic input/defeated System 1606 can also include i/o controller 1610 to touch for receiving and handling from keyboard, mouse or electronics out Control the input of multiple other equipment such as pen.Similarly, i/o controller 1610 also provides output to display screen, printer Or other kinds of output equipment.
The mass-memory unit 1607 (is not shown by being connected to the bulk memory controller of system bus 1605 It is connected to central processing unit 1601 out).The mass-memory unit 1607 and its associated computer-readable medium are Server 1600 provides non-volatile memories.That is, the mass-memory unit 1607 may include such as hard disk or The computer of person's CD-ROM (English: Compact Disc Read-Only Memory, abbreviation: CD-ROM) driver etc Readable medium (not shown).
Without loss of generality, the computer-readable medium may include computer storage media and communication media.Computer Storage medium includes information such as computer readable instructions, data structure, program module or other data for storage The volatile and non-volatile of any method or technique realization, removable and irremovable medium.Computer storage medium includes RAM, ROM, Erasable Programmable Read Only Memory EPROM (English: erasable programmable read-only memory, letter Claim: EPROM), electrically erasable programmable read-only memory (English: electrically erasable programmable Read-only memory, referred to as: EEPROM), flash memory or other solid-state storages its technologies, CD-ROM, digital versatile disc (English Text: Digital Versatile Disc, referred to as: DVD) or other optical storages, cassette, tape, disk storage or other Magnetic storage device.Certainly, skilled person will appreciate that the computer storage medium be not limited to it is above-mentioned several.Above-mentioned System storage 1604 and mass-memory unit 1607 may be collectively referred to as memory.
According to the various embodiments of the application, the server 1600 can also be arrived by network connections such as internets Remote computer operation on network.Namely server 1600 can be connect by the network being connected on the system bus 1605 Mouth unit 1611 is connected to network 1612, in other words, it is other kinds of to be connected to that Network Interface Unit 1611 also can be used Network or remote computer system (not shown).
Present invention also provides a kind of computer equipment, which includes: processor and memory, the memory In be stored at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, at least a Duan Chengxu, generation Code collection or instruction set are loaded by processor and are executed the battle side in the live broadcast system to realize above-mentioned each method embodiment offer Method.
Present invention also provides a kind of computer readable storage medium, be stored in the storage medium at least one instruction, At least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or refer to The battle method in live broadcast system for enabling collection be loaded by the processor and executed to realize above-mentioned each method embodiment offer.
It should be understood that referenced herein " multiple " refer to two or more."and/or", description association The incidence relation of object indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A And B, individualism B these three situations.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.

Claims (10)

1. a kind of battle method in live broadcast system, which is characterized in that the described method includes:
The battle request of at least one first main broadcaster's client transmission is received, the battle type there are at least two battles request is Different;
Corresponding battle type is requested according to the battle, determines that target fights matching rule;It is fought and is matched according to the target Rule match goes out to participate in second main broadcaster's client of battle;
According to the first main broadcaster client and the second main broadcaster client creation battle;The battle information of the battle is write Enter memory space;
It completes to settle accounts the battle wartime in the first main broadcaster client and the second main broadcaster client.
2. the method according to claim 1, wherein described request corresponding battle type according to the battle, Determine that target fights matching rule, comprising:
Determine battle type corresponding with battle request;
In at least two battle matching rules, inquires target corresponding with the battle type and fight matching rule.
3. according to the method described in claim 2, it is characterized in that, at least two battles matching rule includes following rule In at least two:
It is matched according to corresponding angstrom of Lip river elo score value of main broadcaster's client;
It is matched according to the corresponding victory or defeat probability of main broadcaster's client;
It is matched according to the area where main broadcaster's client;
It is matched according to live streaming type corresponding to main broadcaster's client.
4. method according to any one of claims 1 to 3, which is characterized in that the memory space includes: mutual independent n A memory space, n are the integer greater than 2;
Memory space is written in the battle information by the battle, comprising:
The n memory space is written into the battle information of the battle;
When receiving the write-in success response of at least two memory spaces feedback, determine that the battle information is written successfully.
5. method according to any one of claims 1 to 3, which is characterized in that described to be settled accounts to the battle, comprising:
Determine target positive or negative points rule corresponding with the battle type;
According to the battle victory or defeat situation of the target positive or negative points rule and the battle, the first main broadcaster client and institute are obtained State the positive or negative points information of at least one client in second main broadcaster's client;
The battle is settled accounts according to the positive or negative points information.
6. according to the method described in claim 5, it is characterized in that, determination target plus-minus corresponding with the battle type Divider is then, comprising:
Determine battle type corresponding with battle request;
In at least two positive or negative points rule, target positive or negative points rule corresponding with the battle type is inquired.
7. according to the method described in claim 6, it is characterized in that, described carry out the battle according to the positive or negative points information Clearing, comprising:
The corresponding positive or negative points request of the battle is generated according to the positive or negative points information;
The positive or negative points request is executed, at least one of the first main broadcaster client and the second main broadcaster client are obtained The practical positive or negative points result of client;
According to the positive or negative points information, at least one of the first main broadcaster client and the second main broadcaster client are obtained The check and correction positive or negative points result of client;
Proofread the practical positive or negative points result and the check and correction positive or negative points result.
8. the battle device in a kind of live broadcast system, which is characterized in that described device includes:
Receiving module, for receiving the battle request of at least one first main broadcaster's client transmission, there are at least two battles to ask The battle type asked is different;
Matching module is fought, for requesting corresponding battle type according to the battle, determines that target fights matching rule;According to The target battle matching rule matches the second main broadcaster's client for participating in battle;
Logic module is fought, for according to the first main broadcaster client and the second main broadcaster client creation battle;By institute State the battle information write-in memory space of battle;
The battle logic module is also used to complete battle in the first main broadcaster client and the second main broadcaster client When, the battle is settled accounts.
9. a kind of computer equipment, which is characterized in that the computer equipment includes: processor and memory, the memory In be stored at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, described at least one Duan Chengxu, the code set or instruction set are loaded as the processor and are executed to realize as described in any one of claim 1 to 7 Live broadcast system in battle method.
10. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction Collection is loaded by the processor and is executed to realize the battle method in live broadcast system as described in any one of claim 1 to 7.
CN201910585848.8A 2019-07-01 2019-07-01 Battle method, apparatus, equipment and storage medium in live broadcast system Pending CN110300311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910585848.8A CN110300311A (en) 2019-07-01 2019-07-01 Battle method, apparatus, equipment and storage medium in live broadcast system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910585848.8A CN110300311A (en) 2019-07-01 2019-07-01 Battle method, apparatus, equipment and storage medium in live broadcast system

Publications (1)

Publication Number Publication Date
CN110300311A true CN110300311A (en) 2019-10-01

Family

ID=68029723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910585848.8A Pending CN110300311A (en) 2019-07-01 2019-07-01 Battle method, apparatus, equipment and storage medium in live broadcast system

Country Status (1)

Country Link
CN (1) CN110300311A (en)

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765366A (en) * 2019-10-30 2020-02-07 网易(杭州)网络有限公司 Live broadcast and microphone connection matching method, device and equipment and computer readable storage medium
CN110944235A (en) * 2019-11-22 2020-03-31 广州华多网络科技有限公司 Live broadcast interaction method, device and system, electronic equipment and storage medium
CN110996141A (en) * 2019-11-05 2020-04-10 北京字节跳动网络技术有限公司 Method and device for sending information in live broadcast room and electronic equipment
CN111083516A (en) * 2019-12-31 2020-04-28 广州酷狗计算机科技有限公司 Live broadcast processing method and device
CN111093087A (en) * 2019-12-31 2020-05-01 广州华多网络科技有限公司 Live wheat-connecting method, device and system, storage medium and electronic equipment
CN111182318A (en) * 2019-12-17 2020-05-19 北京达佳互联信息技术有限公司 Contribution score generation method and device in live broadcast, electronic equipment and storage medium
CN111246235A (en) * 2020-01-21 2020-06-05 网易(杭州)网络有限公司 Live broadcast control method and device, electronic equipment and computer readable storage medium
CN111249746A (en) * 2020-02-13 2020-06-09 腾讯科技(深圳)有限公司 Method and device for acquiring virtual prop, storage medium and electronic device
CN111314718A (en) * 2020-01-16 2020-06-19 广州酷狗计算机科技有限公司 Settlement method, device, equipment and medium for live broadcast battle
CN111327918A (en) * 2020-03-23 2020-06-23 腾讯科技(深圳)有限公司 Interaction method and device for live webcast room and storage medium
CN111432266A (en) * 2020-03-31 2020-07-17 北京达佳互联信息技术有限公司 Interactive information display method, device, terminal and storage medium
CN111464822A (en) * 2020-04-01 2020-07-28 深圳媲客科技有限公司 Video social platform for live broadcast
CN111541942A (en) * 2020-05-28 2020-08-14 广州华多网络科技有限公司 Wheat connecting method, device, equipment and storage medium
CN111586333A (en) * 2020-04-15 2020-08-25 深圳新融典科技有限公司 Network video live broadcast method and system
CN111818349A (en) * 2020-06-03 2020-10-23 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium
CN111913977A (en) * 2020-08-19 2020-11-10 上海莉莉丝网络科技有限公司 Data processing method, device and medium
CN111970574A (en) * 2020-08-28 2020-11-20 北京达佳互联信息技术有限公司 Live broadcast interaction result time determination method and device and server
CN111988634A (en) * 2020-08-14 2020-11-24 广州市百果园信息技术有限公司 Anchor selection method and device, computer readable storage medium and electronic equipment
CN112256380A (en) * 2020-10-30 2021-01-22 北京达佳互联信息技术有限公司 Interactive page display method and device, electronic equipment and storage medium
CN112291579A (en) * 2020-10-26 2021-01-29 北京字节跳动网络技术有限公司 Data processing method, device, equipment and storage medium
CN112346632A (en) * 2020-11-11 2021-02-09 腾讯科技(深圳)有限公司 Virtual item processing method and device, electronic equipment and storage medium
CN112546636A (en) * 2020-12-15 2021-03-26 百果园技术(新加坡)有限公司 Live broadcast fight matching method, device, equipment and storage medium
CN112954377A (en) * 2021-02-04 2021-06-11 广州繁星互娱信息科技有限公司 Live broadcast fighting picture display method, live broadcast fighting method and device
CN113079381A (en) * 2021-03-09 2021-07-06 广州虎牙科技有限公司 Anchor recommendation method and device, electronic equipment and storage medium
CN113095191A (en) * 2021-04-02 2021-07-09 上海元云信息技术有限公司 Physical scene interaction method based on WeChat applet
CN113422973A (en) * 2021-06-09 2021-09-21 广州方硅信息技术有限公司 Method, device, equipment and medium for controlling fighting session between live broadcast rooms
CN113676747A (en) * 2021-09-27 2021-11-19 广州方硅信息技术有限公司 Live wheat-connecting fighting interaction method, system and device and computer equipment
CN113766335A (en) * 2021-09-09 2021-12-07 思享智汇(海南)科技有限责任公司 Multi-player participation game live broadcast system and method
CN113873283A (en) * 2021-09-30 2021-12-31 思享智汇(海南)科技有限责任公司 Multi-player-participated AR game live broadcast system and method
CN113923529A (en) * 2021-10-08 2022-01-11 北京百度网讯科技有限公司 Live broadcast wheat connecting method, device, equipment and storage medium
CN114339270A (en) * 2020-10-12 2022-04-12 腾讯科技(深圳)有限公司 Control method, system, electronic equipment and storage medium for issuing articles in live broadcast
EP4057631A1 (en) * 2021-03-08 2022-09-14 Beijing Dajia Internet Information Technology Co., Ltd. Method and apparatus for live streaming, server, system and storage medium
CN115268748A (en) * 2022-08-16 2022-11-01 北京字跳网络技术有限公司 Live broadcast data processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100077422A1 (en) * 2006-12-19 2010-03-25 Shay Bushinsky Interactive broadcast system and method
CN106060597A (en) * 2016-06-30 2016-10-26 广州华多网络科技有限公司 Method and system for carrying out anchor competition
CN107566911A (en) * 2017-09-08 2018-01-09 广州华多网络科技有限公司 A kind of live broadcasting method, device, system and electronic equipment
CN109120945A (en) * 2018-08-06 2019-01-01 广州华多网络科技有限公司 Game matching process, game interaction system and server based on live streaming
CN109475777A (en) * 2016-03-15 2019-03-15 思奇里兹股份有限公司 Being analyzed across match in point-to-point game Ranking Tournament

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100077422A1 (en) * 2006-12-19 2010-03-25 Shay Bushinsky Interactive broadcast system and method
CN109475777A (en) * 2016-03-15 2019-03-15 思奇里兹股份有限公司 Being analyzed across match in point-to-point game Ranking Tournament
CN106060597A (en) * 2016-06-30 2016-10-26 广州华多网络科技有限公司 Method and system for carrying out anchor competition
CN107566911A (en) * 2017-09-08 2018-01-09 广州华多网络科技有限公司 A kind of live broadcasting method, device, system and electronic equipment
CN109120945A (en) * 2018-08-06 2019-01-01 广州华多网络科技有限公司 Game matching process, game interaction system and server based on live streaming

Cited By (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765366A (en) * 2019-10-30 2020-02-07 网易(杭州)网络有限公司 Live broadcast and microphone connection matching method, device and equipment and computer readable storage medium
CN110996141A (en) * 2019-11-05 2020-04-10 北京字节跳动网络技术有限公司 Method and device for sending information in live broadcast room and electronic equipment
CN110996141B (en) * 2019-11-05 2022-03-25 北京字节跳动网络技术有限公司 Method and device for sending information in live broadcast room and electronic equipment
CN110944235A (en) * 2019-11-22 2020-03-31 广州华多网络科技有限公司 Live broadcast interaction method, device and system, electronic equipment and storage medium
CN111182318B (en) * 2019-12-17 2022-05-06 北京达佳互联信息技术有限公司 Contribution score generation method and device in live broadcast, electronic equipment and storage medium
CN111182318A (en) * 2019-12-17 2020-05-19 北京达佳互联信息技术有限公司 Contribution score generation method and device in live broadcast, electronic equipment and storage medium
CN111093087A (en) * 2019-12-31 2020-05-01 广州华多网络科技有限公司 Live wheat-connecting method, device and system, storage medium and electronic equipment
CN111083516A (en) * 2019-12-31 2020-04-28 广州酷狗计算机科技有限公司 Live broadcast processing method and device
CN111083516B (en) * 2019-12-31 2021-12-28 广州酷狗计算机科技有限公司 Live broadcast processing method and device
CN111314718A (en) * 2020-01-16 2020-06-19 广州酷狗计算机科技有限公司 Settlement method, device, equipment and medium for live broadcast battle
CN111314718B (en) * 2020-01-16 2022-03-22 广州酷狗计算机科技有限公司 Settlement method, device, equipment and medium for live broadcast battle
CN111246235A (en) * 2020-01-21 2020-06-05 网易(杭州)网络有限公司 Live broadcast control method and device, electronic equipment and computer readable storage medium
CN111249746A (en) * 2020-02-13 2020-06-09 腾讯科技(深圳)有限公司 Method and device for acquiring virtual prop, storage medium and electronic device
CN111249746B (en) * 2020-02-13 2021-10-01 腾讯科技(深圳)有限公司 Method and device for acquiring virtual prop, storage medium and electronic device
CN111327918A (en) * 2020-03-23 2020-06-23 腾讯科技(深圳)有限公司 Interaction method and device for live webcast room and storage medium
CN111327918B (en) * 2020-03-23 2021-06-18 腾讯科技(深圳)有限公司 Interaction method and device for live webcast room and storage medium
CN111432266A (en) * 2020-03-31 2020-07-17 北京达佳互联信息技术有限公司 Interactive information display method, device, terminal and storage medium
CN111464822A (en) * 2020-04-01 2020-07-28 深圳媲客科技有限公司 Video social platform for live broadcast
CN111586333A (en) * 2020-04-15 2020-08-25 深圳新融典科技有限公司 Network video live broadcast method and system
CN111541942A (en) * 2020-05-28 2020-08-14 广州华多网络科技有限公司 Wheat connecting method, device, equipment and storage medium
CN111818349A (en) * 2020-06-03 2020-10-23 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium
CN111988634A (en) * 2020-08-14 2020-11-24 广州市百果园信息技术有限公司 Anchor selection method and device, computer readable storage medium and electronic equipment
CN111988634B (en) * 2020-08-14 2022-07-05 广州市百果园信息技术有限公司 Anchor selection method and device, computer readable storage medium and electronic equipment
CN111913977A (en) * 2020-08-19 2020-11-10 上海莉莉丝网络科技有限公司 Data processing method, device and medium
CN111913977B (en) * 2020-08-19 2023-10-20 上海莉莉丝网络科技有限公司 Data processing method, device and medium
CN111970574A (en) * 2020-08-28 2020-11-20 北京达佳互联信息技术有限公司 Live broadcast interaction result time determination method and device and server
CN114339270B (en) * 2020-10-12 2024-01-09 腾讯科技(深圳)有限公司 Control method and system for distributing articles in live broadcast, electronic equipment and storage medium
CN114339270A (en) * 2020-10-12 2022-04-12 腾讯科技(深圳)有限公司 Control method, system, electronic equipment and storage medium for issuing articles in live broadcast
CN112291579A (en) * 2020-10-26 2021-01-29 北京字节跳动网络技术有限公司 Data processing method, device, equipment and storage medium
CN112256380A (en) * 2020-10-30 2021-01-22 北京达佳互联信息技术有限公司 Interactive page display method and device, electronic equipment and storage medium
CN112346632A (en) * 2020-11-11 2021-02-09 腾讯科技(深圳)有限公司 Virtual item processing method and device, electronic equipment and storage medium
CN112546636A (en) * 2020-12-15 2021-03-26 百果园技术(新加坡)有限公司 Live broadcast fight matching method, device, equipment and storage medium
CN112954377A (en) * 2021-02-04 2021-06-11 广州繁星互娱信息科技有限公司 Live broadcast fighting picture display method, live broadcast fighting method and device
US11601690B2 (en) 2021-03-08 2023-03-07 Beijing Dajia Internet Information Technology Co., Ltd. Method and apparatus for live streaming, server, system and storage medium
EP4057631A1 (en) * 2021-03-08 2022-09-14 Beijing Dajia Internet Information Technology Co., Ltd. Method and apparatus for live streaming, server, system and storage medium
CN113079381A (en) * 2021-03-09 2021-07-06 广州虎牙科技有限公司 Anchor recommendation method and device, electronic equipment and storage medium
CN113079381B (en) * 2021-03-09 2022-11-15 广州虎牙科技有限公司 Anchor recommendation method and device, electronic equipment and storage medium
CN113095191A (en) * 2021-04-02 2021-07-09 上海元云信息技术有限公司 Physical scene interaction method based on WeChat applet
CN113422973B (en) * 2021-06-09 2022-04-12 广州方硅信息技术有限公司 Method, device, equipment and medium for controlling fighting session between live broadcast rooms
CN113422973A (en) * 2021-06-09 2021-09-21 广州方硅信息技术有限公司 Method, device, equipment and medium for controlling fighting session between live broadcast rooms
CN113766335A (en) * 2021-09-09 2021-12-07 思享智汇(海南)科技有限责任公司 Multi-player participation game live broadcast system and method
CN113676747A (en) * 2021-09-27 2021-11-19 广州方硅信息技术有限公司 Live wheat-connecting fighting interaction method, system and device and computer equipment
CN113873283A (en) * 2021-09-30 2021-12-31 思享智汇(海南)科技有限责任公司 Multi-player-participated AR game live broadcast system and method
CN113923529A (en) * 2021-10-08 2022-01-11 北京百度网讯科技有限公司 Live broadcast wheat connecting method, device, equipment and storage medium
CN115268748A (en) * 2022-08-16 2022-11-01 北京字跳网络技术有限公司 Live broadcast data processing method and device

Similar Documents

Publication Publication Date Title
CN110300311A (en) Battle method, apparatus, equipment and storage medium in live broadcast system
JP7351966B2 (en) Computer system, control method, viewer terminal, and program
US20200065853A1 (en) Video-Tournament Platform
US8109818B2 (en) Home city for a real-time strategy video game
US9579575B2 (en) Entertainment system for performing human intelligence tasks
JP2019211845A (en) Distribution system for fighting
US9576434B2 (en) Implementing computer activity-based challenges
US11915555B2 (en) Information processing system, information processing method, computer-readable non- transitory storage medium having stored therein information processing program, and information processing apparatus
US20100240461A1 (en) Methods, systems, and computer readable media for online community-driven computer game development
US20190299103A1 (en) System and method for updating an application client
Robinson et al. Returning to Azeroth: Nostalgia, sense of place, and social presence in World of Warcraft Classic
US8588944B1 (en) Virtual user-based scoring of real events
US20150231506A1 (en) Celebrity video gaming network
Ronquillo The Rise of Esports: The Current State of Esports, Its Impacts on Contract Law, Gambling, and Intellectual Property
US10946278B2 (en) Generating alternate reality games (ARG) incorporating augmented reality (AR)
Agrawal et al. Understanding esports industry and impact of Covid-19 on it: A review of literature
JP2021051728A (en) Reward management system, reward management method and reward management program
Lefebvre et al. Sociohistorical development of sim racing in European and Asia-Pacific esports: A cross-cultural qualitative study
JP2021051549A (en) Reward management system, reward management method and reward management program
US20130281202A1 (en) Method and apparatus for providing game elements in a social gaming environment
JP7212277B2 (en) How computer systems and events are managed
JP2019071957A (en) Content distribution system, computer system, and server system
EP4324534A1 (en) Control system, information system, information processing method and program
Susi Mobile Game Monetization and Trends in App Store and Google Play
Parker Sexual Politics in Video Games: A League of Legends Case Study

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191001

RJ01 Rejection of invention patent application after publication