CN107302716A - A kind of method of live game, Zhu Boduan, direct broadcast server and client - Google Patents

A kind of method of live game, Zhu Boduan, direct broadcast server and client Download PDF

Info

Publication number
CN107302716A
CN107302716A CN201710339933.7A CN201710339933A CN107302716A CN 107302716 A CN107302716 A CN 107302716A CN 201710339933 A CN201710339933 A CN 201710339933A CN 107302716 A CN107302716 A CN 107302716A
Authority
CN
China
Prior art keywords
game
special event
live
message
special
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710339933.7A
Other languages
Chinese (zh)
Other versions
CN107302716B (en
Inventor
周志刚
陈少杰
张文明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xingli Yuanxin International Trade Beijing Co ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710339933.7A priority Critical patent/CN107302716B/en
Publication of CN107302716A publication Critical patent/CN107302716A/en
Application granted granted Critical
Publication of CN107302716B publication Critical patent/CN107302716B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4314Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of method of live game, Zhu Boduan, direct broadcast server and client.Method applied to main broadcaster end includes:The special event of game is obtained in game process;The message of the special event of the game is sent to live process, the live process is used for the live game;The message of the special event is sent to direct broadcast server by the live process, so that the direct broadcast server sends the message of the special event to viewer end, message of the viewer end based on the special event produces the special efficacy corresponding with the special event.The present invention solves the interactive poor technical problem that the method for live game in the prior art is present.

Description

A kind of method of live game, Zhu Boduan, direct broadcast server and client
Technical field
The present invention relates to technical field of information processing, more particularly to a kind of method of live game, Zhu Boduan, direct broadcast service Device and client.
Background technology
At present, with the progress and the speed-raising of broadband network of the network communications technology, network direct broadcasting has been obtained more and more Development and application.Especially in live field of playing, increasing spectators can watch the live of game by live platform.
However, it has been found that in the method for above-mentioned live game, main broadcaster is only capable of carrying out mutually with spectators by barrage It is dynamic, and for the excellent point or key point during game, the thing such as the purchase equipment in game process or " 5 even kill " Part, spectators can not visually be known, therefore main broadcaster can not carry out interaction well with spectators.It can be seen that, live trip in the prior art There is interactive poor technical problem in the method for play.
The content of the invention
The present invention provides a kind of method of live game, Zhu Boduan, direct broadcast server and client, to solve existing skill In art there is interactive poor technical problem in the method for live game.
In a first aspect, the embodiments of the invention provide a kind of method of live game, applied to main broadcaster end, including:
The special event of game is obtained in game process;
The message of the special event of the game is sent to live process, the live process is used for the live trip Play;
The message of the special event is sent to direct broadcast server by the live process, so that the direct broadcast service Device sends the message of the special event to viewer end, message of the viewer end based on the special event produce with it is described The corresponding special efficacy of special event.
In the method for the live game that the application is provided, the special event that game is obtained in game process, including:
Obtain the Internet protocol data of the game process;
According to the Internet protocol data, the special event of the game is obtained.
It is described according to the Internet protocol data in the method for the live game that the application is provided, obtain the game Special event, including:
Filter out and meet the Internet protocol data described in preset rules;
It regard the corresponding game events of the Internet protocol data for meeting the preset rules as the special of the game Event.
The application provide live game method in, the message of the special event by the game send to Before live process, in addition to:
Name pipeline is created in live process;
Preset configuration program in the game process is set up by the title of the name pipeline with the live process Communication connection.
Based on the inventive concept same with first aspect, second aspect of the present invention additionally provides a kind of side of live game Method, applied to direct broadcast server, including:
The message of the special event for the game that live process is sent on a main broadcaster end is received, wherein, the special event Message is obtained from the game process on the main broadcaster end, and is sent to the live process by the game process;
The message of the special event is sent to viewer end, so that the viewer end can disappearing based on the special event Breath produces the special efficacy corresponding with the special event.
Based on the inventive concept same with first aspect, third aspect present invention additionally provides a kind of side of live game Method, applied to viewer end, including:
The message for the special event that direct broadcast server is sent is received, wherein, the message of the special event is from main broadcaster end Obtained in upper game process, and the live process on the main broadcaster end is sent to by the game process, then by described Live process is sent to the direct broadcast server;
According to the message of the special event, the special efficacy corresponding with the special event is produced.
Based on the inventive concept same with first aspect, fourth aspect present invention additionally provides a kind of main broadcaster end, including:
Acquisition module, the special event for obtaining game in game process;
First sending module, for the message of the special event of the game to be sent to live process, it is described it is live enter Journey is used for the live game;
Second sending module, for being sent the message of the special event to direct broadcast service by the live process Device so that the direct broadcast server sends the message to viewer end, the viewer end be based on the message produce with it is described The corresponding special efficacy of special event.
In the main broadcaster end that the present invention is provided, the acquisition module is used for:
Obtain the Internet protocol data of the game process;
According to the Internet protocol data, the special event of the game is obtained.
Based on the inventive concept same with second aspect, fifth aspect present invention additionally provides a kind of direct broadcast server, bag Include:
Receiving module, the message of the special event for receiving the game that live process is sent, the special event disappears What breath was obtained from the game process on the main broadcaster end, and the live process is sent to by the game process;
Sending module, for the message of the special event to be sent to viewer end, so that the viewer end can be based on institute The message for stating special event produces the special efficacy corresponding with the special event.
Based on the inventive concept same with the third aspect, sixth aspect present invention additionally provides a kind of client, including:
Receiving module, the message of the special event for receiving direct broadcast server transmission, wherein, the special event disappears Breath is obtained from game process on main broadcaster end, and is sent to the live process on the main broadcaster end by the game process, The direct broadcast server is sent to by the live process again;
Processing module, for the message according to the special event, produces the special efficacy corresponding with the special event.
The one or more technical schemes provided in the embodiment of the present invention, have at least the following technical effects or advantages:
The embodiments of the invention provide a kind of method of live game, the first spy by obtaining game in game process Different event;And send the message of the special event of the game to live process, the live process is used for the live trip Play;The message of the special event is sent to direct broadcast server by the live process again, so that the direct broadcast server The message of the special event is sent to viewer end, message of the viewer end based on the special event is produced and the spy The corresponding special efficacy of different event.During by live process live game, by the game obtained in game process Special event is sent to live process, and the message of special event is further sent to spectators by live process by direct broadcast server End, and viewer end receives and the special efficacy corresponding with special event produced after the message of special event, so work as main broadcaster straight When producing special event in the game broadcast, client produces corresponding special efficacy enhancing the audience's feeling, so as to improve main broadcaster end and sight Thus the interaction at many ends, the interaction between increase main broadcaster and spectators solves the method presence of live game in the prior art Interactive poor technical problem.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram of live game in the embodiment of the present invention;
Fig. 2 is the method flow diagram of another live game in the embodiment of the present invention;
Fig. 3 is the method flow diagram of another live game in the embodiment of the present invention;
Fig. 4 is the interaction diagrams of the method for live game in Fig. 1-Fig. 3;
Fig. 5 is a kind of structural representation at main broadcaster end in the embodiment of the present invention;
Fig. 6 is a kind of structural representation of direct broadcast server in the embodiment of the present invention;
Fig. 7 is a kind of structural representation of client in the embodiment of the present invention.
Embodiment
The embodiment of the present application is used to by providing a kind of method of live game, Zhu Boduan, direct broadcast server and client There is interactive poor technical problem in the method for solving live game in the prior art.
Technical scheme in the embodiment of the present application, general thought is as follows:
By the special event that game is obtained in game process;And by the message of the special event of the game send to Live process, the live process is used for the live game;Again by the live process by the message of the special event Send to direct broadcast server, so that the direct broadcast server sends the message of the special event to viewer end, the spectators End group produces the special efficacy corresponding with the special event in the message of the special event.
In the above-mentioned methods, due to during by live process live game, by the game obtained in game process Special event be sent to live process, the message of special event is further sent to sight by live process by direct broadcast server Many ends, and viewer end receives and the special efficacy corresponding with special event produced after the message of special event, so when main broadcaster exists When producing special event in live game, client produces corresponding special efficacy enhancing the audience's feeling, thus improve main broadcaster end with The interaction of viewer end, the interaction between increase main broadcaster and spectators, the method for thus solving live game in the prior art is present Interactive poor technical problem.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Embodiment one
A kind of method of live game is present embodiments provided, applied to main broadcaster end, Fig. 1 is refer to, methods described includes:
Step S101:The special event of game is obtained in game process;
Step S102:The message of the special event of the game is sent to live process, the live process is used for straight Broadcast the game;
Step S103:The message of the special event is sent to direct broadcast server by the live process, so that institute State direct broadcast server to send the message of the special event to viewer end, message of the viewer end based on the special event Produce the special efficacy corresponding with the special event.
In the embodiment of the present application, the game process is the process that running game is produced.The live process is live The process of generation, in embodiments of the present invention, the live content are specially the game.Above-mentioned game process and it is live enter Cheng Jun runs on the main broadcaster end, and main broadcaster end can be various electronic, such as mobile phone, tablet personal computer, PC.
Below, with reference to Fig. 1, the method for the live game provided the application is described in detail:
First, step S101 is performed, the special event of game is obtained in game process.
For example, the special event of above-mentioned game can be 5 even killing in game process, buy the event such as equip. In specific implementation process, can by game process preset configuration program realize.For example, by the way that functional module is injected Into the game process, the functional module is used for the special event for obtaining game.For example can be by calling Windows systems API (application programming interface, the Application Programming Interface) functions of offer are by One function Module is injected into a game process.Specifically, by Windows API calls CreateRemoteThread come A remote thread is created in game process, the remote thread is the thread that live process is created in game process, Calling system function LoadLibrary is gone to need the function of being injected into game process to load by the remote thread of above-mentioned establishment Module.It is implemented as follows:
1st, first, distributed by WindowsAPI function VirtualAllocEx functions in the memory headroom of game process First memory headroom.
2nd, the disk road of the functional module of injection will be needed by WindowsAPI functions WriteProcessMemory Footpath is written in above-mentioned first memory headroom.
3 then Employ Windows API Function CreateRemoteThread functions to create long-range in game process Thread, the execution logic of the remote thread is exactly that Employ Windows API Function LoadLibrary comes in load step 2 to write Need the disk path of the functional module of injection game process.So it is achieved that and one is created and started in game process far Journey thread, and functional module is further loaded by remote thread, it is achieved thereby that injecting One function mould in game process Block, so as to obtain the special event of game in game process by the functional module.
Step S102 is performed again:The message of the special event of the game is sent to live process, the live process For the live game.
In specific implementation process, the live process is used for the live game, in the prior art, passes through live process During live game, main broadcaster explains to the process of game, so as to be carried out with spectators interactive.And live process is with game process Separate, it can not be communicated or be interacted each other, so interactive poor between main broadcaster and spectators.And the application In the method for offer, due in step S101, One function module is injected in game process, and by the functional module in trip The special event of game is obtained in play process, so that after game process produces the special event of game, can be by above-mentioned game The message of special event send to live process, live process can obtain the special event of game.
Then step S103 is performed:The message of the special event is sent to direct broadcast service by the live process Device, so that the direct broadcast server sends the message of the special event to viewer end, it is described special that the viewer end is based on The message of event produces the special efficacy corresponding with the special event.
, then can will be above-mentioned after live process receives the message of the special event of game in specific implementation process The agreement that the message of special event is supported by direct broadcast server informs direct broadcast server, so that direct broadcast server obtains the trip The message of the special event of play.Then the message of special event is sent to viewer end by direct broadcast server, it is specifically, live The protocol forward that server can be supported according to direct broadcast server is to viewer end, and such viewer end can receive the special thing The message of part, and the special efficacy corresponding with the message of the special event is produced, so as to allow spectators main broadcaster can be followed to feel together The excellent point and key point played, so as to improve the interaction of main broadcaster and spectators.The special efficacy that client is produced, for example, can To be one specific animation of display, one or many vibrations are produced, are played in specific music, page jump or voice message etc. It is a kind of or any a variety of.
Specifically, it is described to obtain the special of game in game process in the live broadcasting method for the game that the application is provided Event, including:
Obtain the Internet protocol data of the game process;
According to the Internet protocol data, the special event of the game is obtained.
In specific implementation process, the Dynamic Debugging Tool WinDbg provided first by Windows is come dynamic debugging Game process, so that network data is given out a contract for a project function in being played.Then by dis-assembling analyze network data give out a contract for a project function come The special event of game is obtained, network data is given out a contract for a project function i.e. send functions, for sending the Internet protocol data.Work as game process Middle generation special event, can send an independent the Internet protocol data, therefore call when in game process by send functions Send functions then represent to generate special event when getting above-mentioned separate network protocol data.So, from called send The Internet protocol data of the game process is obtained in function.Specifically, it can be obtained by the debugging breakpoints under send functions The allocating stack information of game process, so that the logic that the procotol for obtaining upper strata is given out a contract for a project, according to above-mentioned logic analysis network The code of protocol groups bag, because group of networks bag code includes agreement packet header, and contains the type of agreement in agreement packet header, in It is to analyze protocol type by dis-assembling to obtain the special event of game.
For more specifically, according to the Internet protocol data, the special event of the game is obtained, including:
Filter out and meet the Internet protocol data described in preset rules;
It regard the corresponding game events of the Internet protocol data for meeting the preset rules as the special of the game Event.
Due to the functional module in abovementioned steps, being filled with game process in functional module, the embodiment of the present invention With Hook functions, the network in game process can be obtained and given out a contract for a project the code of function, so as to get all networks Protocol data.Hook (Hook), is a platform of windows messaging treatment mechanism, and application program can set son above Journey to monitor certain message of specified window, and the window monitored can other processes created.When message is reached Afterwards, handle the preceding of function in target window and handle it.Hook Mechanism allows application program to intercept and capture processing window message or specific Event.Specifically, can then be used in the present embodiment Microsoft provide Detours function libraries (it is a set of increase income have Hook The function library of function) give out a contract for a project the code of function to obtain the network of game process, transmission then can be got at the code All-network protocol data.Each the Internet protocol data includes the type field and data content of the Internet protocol data, leads to Cross analysis the Internet protocol data type field, filter out the corresponding the Internet protocol data of special event, thereby determine that play into Journey occurs in that special event.Then by the message of special event by notifying live process.
It is specific to screen the corresponding the Internet protocol data of special event and notify that the implementation method of live process is as follows:
1st, the network that game is obtained first by detours storehouses is given out a contract for a project the code of function.
detours.HOOK(networkaddres,dataprocess);
Wherein detours.HOOK is the interface for the interception HOOK functions that the storehouse is provided.Parameter networkaddres is net Network is given out a contract for a project function.Parameter dataprocess is the call back function of HOOK functions, for realizing acquisition the Internet protocol data and sending The message of special event is to live process.
2nd, in function dataprocess, obtain and judge in the type field and data of the Internet protocol data of game Hold.
In specific implementation process, filter out and meet preset rules the Internet protocol data, it is default particular by screening The Internet protocol data of type field.Preset kind field is the type field of the corresponding the Internet protocol data of special data, can To be configured according to actual needs.For example, by " 5 even kill ", event is as special event, and the Internet protocol data of " 5 even kill " Type field be 12, then it is " 12 " to set preset kind field.So, each network is judged in dataprocess functions Whether the type field of protocol data is " 12 ", if the type field of a Internet protocol data is " 12 ", filters out this The Internet protocol data, is derived from the special event in game process.Such as, " one game article of purchase " event is made It is 13 for the type field of special event, and the Internet protocol data of " buying a game state ", then preset kind word is set Section is " 13 ".So, whether the type field that each the Internet protocol data is judged in dataprocess functions is " 13 ", such as When really the type field of a Internet protocol data is " 13 ", the Internet protocol data is filtered out, is derived from game process Special event.
Further, it is possible to define a unique event type for special event, event type is sent to live process The message of special event is as sent to live process.For example, special event " 5 event even killed " is defined as event type 1, " one game article of purchase " is defined as event type 2 etc..So, if dataprocess functions are filtered out, " 5 connect what is killed The Internet protocol data of event ", then send event type 1 to live process.
Further, in the live broadcasting method for the game that the application is provided, in disappearing for the special event by the game Breath is sent to before live process, in addition to:
Name pipeline is created in live process;
Preset configuration program in the game process is set up by the title of the name pipeline with the live process Communication connection.
Because live process and game process are separate processes, live process is set to obtain game process Relevant information, especially obtain game process produce special event message, the embodiment of the present invention by live process with play into Cheng Jianli communication links fetch realization.In specific implementation process, in abovementioned steps, pass through the preset configuration in game process Program can realize the special event for obtaining game.In order that live process obtains the special event of above-mentioned game, then need to lead to Cross game process and above-mentioned special event is sent to live process.In the present embodiment one is set up by game process and live process Connection is planted, then allows live process to obtain the special event of game process by this connection.In the embodiment of the present invention, lead to Cross and name pipeline is created in live process, then the preset configuration program in game process is by naming the title of pipeline to connect Pipeline is named, thus sets up and communicates to connect with live process.
Specifically, name pipeline is that the communication between process is completed by network, and it shields the procotol of bottom Details.And the function of name pipeline is realized by the functional module being injected into game process in game process.For Name pipeline, the embodiment of the present invention will inject game process functional module as name pipeline client, inject it is live enter The other end of journey is used as the service end for naming pipeline.Service end creates a name pipeline first, then waits client to connect Connect.Functional module is injected into brought into operation in game process after, can go to connect the name according to the title of known name pipeline Pipeline.Once the service end of pipeline is named in client connection, then can just realize the communication of live process and game process. Concrete implementation method is as described below:
Live process, first can Employ Windows API Function CreateNamedPipe wounds as name pipe service end Build name pipeline.The name pipeline of establishment needs to define title.Name pipeline title can with self-defined, as long as not with system its The name pipeline of his process is born the same name.
The client for naming pipeline is the preset program in game process, i.e. functional module, and the functional module can be by this Individual title connects this pipeline.Then the client of name pipeline is waited by call function ConnectNamedPipe Connection.If client connection is upper, live process meeting call function ReadFile carrys out the data that reading client is sended over (data are to notify service end client to complete connection, can be communicated etc.).Then call function is passed through WriteFile can start the information of monitoring toward write-in in name pipeline.
Specifically, the name pipe that above-mentioned functions module can be created by call function CreateFile come Connection Service end Road, then waits the response of service end by call function WaitNamedPipe.Following client passes through call function ReadFile come since name pipeline in reading service end send monitor information, and receive start monitoring information After start screen special event.Then client writes disappearing for special event class into pipeline by call function WriteFile Breath.
Embodiment two
Based on the identical inventive concept of embodiment one, the embodiment of the present invention two provide a kind of method of live game, Applied to direct broadcast server, as shown in Fig. 2 this method includes:
Step S201:The message of the special event for the game that live process is sent on a main broadcaster end is received, wherein, the spy The message of different event is obtained from the game process on the main broadcaster end, and is sent to the live process by the game process 's;
Step S202:The message of the special event is sent to viewer end, so that the viewer end can be based on the spy The message of different event produces the special efficacy corresponding with the special event.
The various change mode and instantiation of the method for live game in earlier figures 1 in embodiment are equally applicable to this The method of the live game of embodiment, passes through the detailed description of the method for the foregoing live game to applied to main broadcaster end, ability Field technique personnel are clear that the implementation of the method for the live game that direct broadcast server is applied in the present embodiment, So it is succinct for specification, it will not be described in detail herein.
Embodiment three
Based on the identical inventive concept of embodiment one, the embodiment of the present invention three provide a kind of method of live game, Applied to viewer end, as shown in figure 3, this method includes:
Step S301:The message for the special event that direct broadcast server is sent is received, wherein, the message of the special event is Obtained from game process on main broadcaster end, and the live process on the main broadcaster end is sent to by the game process, then The direct broadcast server is sent to by the live process;
Step S302:According to the message of the special event, the special efficacy corresponding with the special event is produced.
Introduce a kind of live trip of the application offer in visual angle respectively from main broadcaster end, direct broadcast server, client more than After the method for play, present invention also provides a kind of system of live game, including main broadcaster end, direct broadcast server and client.Under Face illustrates specific stream of the method for the application live game in the system of live game by a complete interactive examples Journey, referring specifically to Fig. 4:
Wherein, main broadcaster end operation has live process and game process.Preset configuration program in game process, the configurator To be injected into the One function module of game process by live process.First, step S401 is performed:By main broadcaster end play into Functional module in journey obtains the special event of game in game process;Then step S402 is performed:Pass through above-mentioned functions mould Block sends the message of the special event of the game to live process;Next step S403 is performed:Live process is received After the message of the special event of game, the message of the special event is sent to direct broadcast server;Next step is performed S404:The direct broadcast server sends the message of the special event to viewer end;Finally perform step S405:Spectators' end group The special efficacy corresponding with the special event is produced in the message of the special event.
The various change mode and instantiation of the method for live game in earlier figures 1 in embodiment are equally applicable to this The method of the live game of embodiment, passes through the detailed description of the method for the foregoing live game to applied to main broadcaster end, ability Field technique personnel are clear that the implementation of the method for the live game that client is applied in the present embodiment, so It is succinct for specification, it will not be described in detail herein.
Example IV
Based on the identical inventive concept of embodiment one, the embodiment of the present invention four provide a kind of main broadcaster end, such as Fig. 5 institutes Show, the main broadcaster end includes:
Acquisition module, the special event for obtaining game in game process;
First sending module, for the message of the special event of the game to be sent to live process, it is described it is live enter Journey is used for the live game;
Second sending module, for being sent the message of the special event to direct broadcast service by the live process Device so that the direct broadcast server sends the message to viewer end, the viewer end be based on the message produce with it is described The corresponding special efficacy of special event.
In the present embodiment provides main broadcaster end, the acquisition module is used for:
Obtain the Internet protocol data of the game process;
According to the Internet protocol data, the special event of the game is obtained.
In the present embodiment provides main broadcaster end, the acquisition module is additionally operable to:
Filter out and meet the Internet protocol data described in preset rules;
It regard the corresponding game events of the Internet protocol data for meeting the preset rules as the special of the game Event.
In the present embodiment provides main broadcaster end, in addition to processing module, in the special event by the game Message send to before live process, in live process create name pipeline;
Preset configuration program in the game process is set up by the title of the name pipeline with the live process Communication connection;
Embodiment five
Based on the identical inventive concept of embodiment two, the embodiment of the present invention five provide a kind of direct broadcast server, such as Fig. 6 Shown, the direct broadcast server includes:
Receiving module, the message of the special event for receiving the game that live process is sent, the special event disappears What breath was obtained from the game process on the main broadcaster end, and the live process is sent to by the game process;
Sending module, for the message of the special event to be sent to viewer end, so that the viewer end can be based on institute The message for stating special event produces the special efficacy corresponding with the special event.
Embodiment six
Based on the identical inventive concept of embodiment three, the embodiment of the present invention six provide a kind of client, such as Fig. 7 institutes Show, the client includes:
Receiving module, the message of the special event for receiving direct broadcast server transmission, wherein, the special event disappears Breath is obtained from game process on main broadcaster end, and is sent to the live process on the main broadcaster end by the game process, The direct broadcast server is sent to by the live process again;
Processing module, for the message according to the special event, produces the special efficacy corresponding with the special event.
The various change mode and instantiation of the live broadcasting method of game in embodiment one to three are equally applicable to this reality Main broadcaster end, direct broadcast server and the client in example four to six are applied, passes through the detailed description of the foregoing live broadcasting method to game, sheet Art personnel are clear that main broadcaster end, direct broadcast server and client in the present embodiment, so for specification It is succinct, will not be described in detail herein.
The one or more technical schemes provided in the embodiment of the present invention, have at least the following technical effects or advantages:
The embodiments of the invention provide a kind of method of live game, the first spy by obtaining game in game process Different event;And send the message of the special event of the game to live process, the live process is used for the live trip Play;The message of the special event is sent to direct broadcast server by the live process again, so that the direct broadcast server The message of the special event is sent to viewer end, message of the viewer end based on the special event is produced and the spy The corresponding special efficacy of different event.During by live process live game, by the game obtained in game process Special event is sent to live process, and the message of special event is further sent to spectators by live process by direct broadcast server End, and viewer end receives and the special efficacy corresponding with special event produced after the message of special event, so work as main broadcaster straight When producing special event in the game broadcast, client produces corresponding special efficacy enhancing the audience's feeling, so as to improve main broadcaster end and sight Thus the interaction at many ends, the interaction between increase main broadcaster and spectators solves the method presence of live game in the prior art Interactive poor technical problem.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the embodiment of the present invention The spirit and scope of bright embodiment.So, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

1. a kind of method of live game, applied to main broadcaster end, it is characterised in that including:
The special event of game is obtained in game process;
The message of the special event of the game is sent to live process, the live process is used for the live game;
The message of the special event is sent to direct broadcast server by the live process, so that the direct broadcast server will The message of the special event is sent to viewer end, message of the viewer end based on the special event produce with it is described special The corresponding special efficacy of event.
2. the method as described in claim 1, it is characterised in that the special event that game is obtained in game process, including:
Obtain the Internet protocol data of the game process;
According to the Internet protocol data, the special event of the game is obtained.
3. method as claimed in claim 2, it is characterised in that described according to the Internet protocol data, obtains the game Special event, including:
Filter out and meet the Internet protocol data described in preset rules;
The corresponding game events of the Internet protocol data of the preset rules will be met as the special event of the game.
4. the method as described in claim 1, it is characterised in that the message of the special event by the game send to Before live process, in addition to:
Name pipeline is created in live process;
Preset configuration program in the game process is set up by the title of the name pipeline with the live process to communicate Connection.
5. a kind of method of live game, applied to direct broadcast server, it is characterised in that
The message of the special event for the game that live process is sent on a main broadcaster end is received, wherein, the message of the special event Obtained from the game process on the main broadcaster end, and the live process is sent to by the game process;
The message of the special event is sent to viewer end, so that the message production that the viewer end can be based on the special event The raw special efficacy corresponding with the special event.
6. a kind of method of live game, applied to viewer end, it is characterised in that
The message for the special event that direct broadcast server is sent is received, wherein, the message of the special event is from main broadcaster end upstream Obtained in play process, and the live process on the main broadcaster end is sent to by the game process, then by described live Process is sent to the direct broadcast server;
According to the message of the special event, the special efficacy corresponding with the special event is produced.
7. a kind of main broadcaster end, it is characterised in that including:
Acquisition module, the special event for obtaining game in game process;
First sending module, for the message of the special event of the game to be sent to live process, the live process is used In the live game;
Second sending module, for the message of the special event to be sent to direct broadcast server by the live process, with The direct broadcast server is set to send the message of the special data to viewer end, the viewer end is based on the special event Message produces the special efficacy corresponding with the special event.
8. main broadcaster end as claimed in claim 7, it is characterised in that the acquisition module is used for:
Obtain the Internet protocol data of the game process;
According to the Internet protocol data, the special event of the game is obtained.
9. a kind of direct broadcast server, it is characterised in that including:
Receiving module, the message for receiving the special event for the game that live process is sent on a main broadcaster end, wherein, the spy What the message of different event was obtained from the game process on the main broadcaster end, and by the game process be sent to it is described it is live enter Journey;
Sending module, for the message of the special event to be sent to viewer end, so that the viewer end can be based on the spy The message of different event produces the special efficacy corresponding with the special event.
10. a kind of client, it is characterised in that including:
Receiving module, the message of the special event for receiving direct broadcast server transmission, wherein, the message of the special event is Obtained from game process on main broadcaster end, and the live process on the main broadcaster end is sent to by the game process, then led to Cross the live process and be sent to the direct broadcast server;
Processing module, for the message according to the special event, produces the special efficacy corresponding with the special event.
CN201710339933.7A 2017-05-15 2017-05-15 A kind of method of live game, Zhu Boduan, direct broadcast server and client Active CN107302716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710339933.7A CN107302716B (en) 2017-05-15 2017-05-15 A kind of method of live game, Zhu Boduan, direct broadcast server and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710339933.7A CN107302716B (en) 2017-05-15 2017-05-15 A kind of method of live game, Zhu Boduan, direct broadcast server and client

Publications (2)

Publication Number Publication Date
CN107302716A true CN107302716A (en) 2017-10-27
CN107302716B CN107302716B (en) 2019-03-15

Family

ID=60137128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710339933.7A Active CN107302716B (en) 2017-05-15 2017-05-15 A kind of method of live game, Zhu Boduan, direct broadcast server and client

Country Status (1)

Country Link
CN (1) CN107302716B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108241748A (en) * 2018-01-10 2018-07-03 武汉斗鱼网络科技有限公司 Obtain method, apparatus, medium and the equipment of live streaming musical designation
CN108245896A (en) * 2018-01-10 2018-07-06 武汉斗鱼网络科技有限公司 Method, apparatus, system, storage medium and the equipment of game live streaming is presented
CN108833935A (en) * 2018-05-25 2018-11-16 广州虎牙信息科技有限公司 A kind of direct broadcasting room recommended method, device, equipment and storage medium
CN109395376A (en) * 2018-11-06 2019-03-01 网易(杭州)网络有限公司 Exchange method, device and system based on game live streaming
CN111770356A (en) * 2020-07-23 2020-10-13 网易(杭州)网络有限公司 Interaction method and device based on live game
CN112516589A (en) * 2020-12-16 2021-03-19 网易(杭州)网络有限公司 Game commodity interaction method and device in live broadcast, computer equipment and storage medium
CN112732152A (en) * 2021-01-27 2021-04-30 腾讯科技(深圳)有限公司 Live broadcast processing method and device, electronic equipment and storage medium
CN113347457A (en) * 2021-06-03 2021-09-03 广州博冠信息科技有限公司 Game live broadcast processing method, device, medium and electronic equipment
CN114125473A (en) * 2020-08-28 2022-03-01 腾讯科技(深圳)有限公司 Live broadcast guessing data processing method and device, server and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101981589A (en) * 2008-01-25 2011-02-23 索尼在线娱乐有限公司 System and method for creating, editing, and sharing video content relating to video game events
CN104536839A (en) * 2014-12-26 2015-04-22 北京奇虎科技有限公司 Cross-process method invocation method and device
CN104874177A (en) * 2015-02-24 2015-09-02 陈灿林 Real-time publication method and system for game information
CN105791958A (en) * 2016-04-22 2016-07-20 北京小米移动软件有限公司 Method and device for live broadcasting game
CN106027489A (en) * 2016-04-28 2016-10-12 腾讯科技(深圳)有限公司 Internet online method, device and system
CN106303733A (en) * 2016-08-11 2017-01-04 腾讯科技(深圳)有限公司 The method and apparatus playing live special-effect information
US20170003740A1 (en) * 2015-06-30 2017-01-05 Amazon Technologies, Inc. Spectator interactions with games in a specatating system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101981589A (en) * 2008-01-25 2011-02-23 索尼在线娱乐有限公司 System and method for creating, editing, and sharing video content relating to video game events
CN104536839A (en) * 2014-12-26 2015-04-22 北京奇虎科技有限公司 Cross-process method invocation method and device
CN104874177A (en) * 2015-02-24 2015-09-02 陈灿林 Real-time publication method and system for game information
US20170003740A1 (en) * 2015-06-30 2017-01-05 Amazon Technologies, Inc. Spectator interactions with games in a specatating system
CN105791958A (en) * 2016-04-22 2016-07-20 北京小米移动软件有限公司 Method and device for live broadcasting game
CN106027489A (en) * 2016-04-28 2016-10-12 腾讯科技(深圳)有限公司 Internet online method, device and system
CN106303733A (en) * 2016-08-11 2017-01-04 腾讯科技(深圳)有限公司 The method and apparatus playing live special-effect information

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108245896A (en) * 2018-01-10 2018-07-06 武汉斗鱼网络科技有限公司 Method, apparatus, system, storage medium and the equipment of game live streaming is presented
CN108245896B (en) * 2018-01-10 2021-02-02 武汉斗鱼网络科技有限公司 Method, device and system for presenting game live broadcast, storage medium and equipment
CN108241748A (en) * 2018-01-10 2018-07-03 武汉斗鱼网络科技有限公司 Obtain method, apparatus, medium and the equipment of live streaming musical designation
CN108241748B (en) * 2018-01-10 2021-07-23 武汉斗鱼网络科技有限公司 Method, device, medium and equipment for acquiring live broadcast music name
CN108833935A (en) * 2018-05-25 2018-11-16 广州虎牙信息科技有限公司 A kind of direct broadcasting room recommended method, device, equipment and storage medium
CN109395376A (en) * 2018-11-06 2019-03-01 网易(杭州)网络有限公司 Exchange method, device and system based on game live streaming
CN109395376B (en) * 2018-11-06 2022-03-22 网易(杭州)网络有限公司 Interaction method, device and system based on live game
CN111770356A (en) * 2020-07-23 2020-10-13 网易(杭州)网络有限公司 Interaction method and device based on live game
CN114125473A (en) * 2020-08-28 2022-03-01 腾讯科技(深圳)有限公司 Live broadcast guessing data processing method and device, server and storage medium
CN114125473B (en) * 2020-08-28 2022-12-13 腾讯科技(深圳)有限公司 Live broadcast guess data processing method, device, server and storage medium
CN112516589A (en) * 2020-12-16 2021-03-19 网易(杭州)网络有限公司 Game commodity interaction method and device in live broadcast, computer equipment and storage medium
CN112732152A (en) * 2021-01-27 2021-04-30 腾讯科技(深圳)有限公司 Live broadcast processing method and device, electronic equipment and storage medium
CN113347457A (en) * 2021-06-03 2021-09-03 广州博冠信息科技有限公司 Game live broadcast processing method, device, medium and electronic equipment

Also Published As

Publication number Publication date
CN107302716B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN107302716A (en) A kind of method of live game, Zhu Boduan, direct broadcast server and client
CN107281756A (en) A kind of method and apparatus for game of forming a team
CN104219316B (en) A kind of call request processing method and processing device in distributed system
CN109032691A (en) A kind of small routine operation method, device and storage medium
CN108900360A (en) A kind of network context generation system and method based on the playback of multinode flow
CN109144615A (en) A kind of information issuing method, device, equipment and storage medium
CN110505496A (en) Live-broadcast control method and device, storage medium and electronic device
CN109640120A (en) A kind of high concurrent audio-video frequency media data network transmission method and device
CN116474378A (en) Artificial Intelligence (AI) controlled camera perspective generator and AI broadcaster
CN108702369A (en) The mobile terminal of unmanned plane and the exchange method and device of high in the clouds platform
CN106648666A (en) User interface generating method and user interface generating system
CN107087217A (en) Interface alternation method and live client in net cast
CN108769824A (en) A kind of video mixed flow method, apparatus, system, equipment and medium
CN105229659A (en) Obscure by the access of software application to data storage device
CN107707986A (en) A kind of method and device that barrage message is simulated in the exploitation of live software
CN115065684B (en) Data processing method, apparatus, device and medium
CN106899455A (en) The method and apparatus that a kind of client is interacted with webpage
CN107613313A (en) A kind of player method and device of multiple live videos
CN108366046A (en) A kind of emulation test method and its system of video surveillance platform
CN107920276A (en) A kind of O&M operation On line inspection method, apparatus and auditing system
CN107483987A (en) A kind of method for authenticating and device of video flowing address
CN114328217A (en) Application testing method, device, equipment, medium and computer program product
CN108765579A (en) One kind being based on VR technology exhibition display connection methods and device
CN110928526B (en) Processing device for Internet of things
CN107158697A (en) A kind of method and device that process is identified

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230914

Address after: No. 6-1 Shengli North Road, Chengguan Town, Guzhen County, Bengbu City, Anhui Province, 233000

Patentee after: Wang Wei

Address before: 430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building

Patentee before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230921

Address after: Room 1301, 13th Floor, Building 5, No. 15 Ronghua South Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing 102600 (Yizhuang Cluster, High end Industrial Zone, Beijing Pilot Free Trade Zone)

Patentee after: Xingli Yuanxin International Trade (Beijing) Co.,Ltd.

Address before: No. 6-1 Shengli North Road, Chengguan Town, Guzhen County, Bengbu City, Anhui Province, 233000

Patentee before: Wang Wei

TR01 Transfer of patent right