CN107126701A - The method and device of live middle addition game good friend - Google Patents

The method and device of live middle addition game good friend Download PDF

Info

Publication number
CN107126701A
CN107126701A CN201710211619.0A CN201710211619A CN107126701A CN 107126701 A CN107126701 A CN 107126701A CN 201710211619 A CN201710211619 A CN 201710211619A CN 107126701 A CN107126701 A CN 107126701A
Authority
CN
China
Prior art keywords
game
user
client modules
good friend
live
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
CN201710211619.0A
Other languages
Chinese (zh)
Other versions
CN107126701B (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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710211619.0A priority Critical patent/CN107126701B/en
Publication of CN107126701A publication Critical patent/CN107126701A/en
Application granted granted Critical
Publication of CN107126701B publication Critical patent/CN107126701B/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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories

Abstract

The embodiment of the present invention provides a kind of method and device of live middle addition game good friend, and this method includes:The personal information of each spectators user in game direct broadcasting room is obtained, personal information includes account information and game information;The target audience user for meeting default screening conditions is filtered out according to the account information of each spectators user;According to the name pipeline set up in advance in current live software, the game information of target audience user is sent to the client modules of name pipeline, so that client modules call the good friend in correspondence game process to add function, the game friend relation set up between the main broadcaster user and target audience user of game direct broadcasting room, name pipeline is used to realize the communication between live software and game process, and client modules are infused in game process.The present invention can be added in the realization of the automation for live middle batch of playing to the good friend of all spectators users for meeting condition, be greatly saved the manpower spent in good friend's adding procedure and time.

Description

The method and device of live middle addition game good friend
Technical field
The present invention relates to Internet technical field, more particularly to a kind of method and device of live middle addition game good friend.
Background technology
At present, with the progress and the speed-raising of broadband network of the network communications technology, network direct broadcasting platform arises at the historic moment, network It is live to have obtained increasing development and application.Especially in live field of playing, with the development of barrage so that game is live With more preferable interactive and interest, increasing spectators can watch the live of game main broadcaster.For game is live, Main broadcaster is by playing game while explaining the playing method of game, and for all spectators of same direct broadcasting room, great Jia Dou The fan for being the game is also the spectators of the main broadcaster, then in gaming main broadcaster also be intended to this crowd of fans each other good friend close System, while these spectators also want to and played, main broadcaster is friend relation in gaming.
During the present invention is realized, inventor has found that it can only pass through master because game is an enclosed environment at present Broadcast and add one by one in gaming, think that the spectators of direct broadcasting room set up friend relation, and live platform here only has spectators Information, main broadcaster can not also set up friend relation in gaming, can only pass through the consulting spectators' game information of main broadcaster manually, Ran Hou It is good friend that spectators are added in game, because spectator attendance is than larger, therefore not only needs to consume manpower, and needs to spend a large amount of Time.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on State the method and device of the live middle addition game good friend of problem.
One aspect of the present invention there is provided it is a kind of it is live it is middle addition game good friend method, including:
The personal information of each spectators user in game direct broadcasting room is obtained, the personal information includes account information and trip Play information;
The target audience user for meeting default screening conditions is filtered out according to the account information of each spectators user;
According to the name pipeline set up in advance in current live software, the game information of the target audience user is sent out The client modules of the name pipeline are sent to, so that the client modules call the corresponding live trip of the game direct broadcasting room Good friend's addition function in the game process of play, main broadcaster user and the target audience user for setting up the game direct broadcasting room it Between game friend relation, the name pipeline is used to realize communication between the live software and the game process, with And the client modules are infused in the game process.
Alternatively, methods described also includes:
In advance created in the live software it is described name pipeline server module, and by it is described name pipeline visitor Family end module is injected into the game process;
Set up the communication connection of the server module and the client modules.
Alternatively, the client modules by the name pipeline are injected into the game process, including:
The storage allocation region in the memory headroom of the game process;
The physical pathway of the client modules is written in the region of memory;
The thread of the physical pathway for loading the client modules is created in the game process.
Alternatively, methods described also includes:
Good friend's addition function corresponding memory address in the game process is parsed, for the client modules The good friend is called to add function by the memory address.
Alternatively, methods described also includes:
When user is registered, game information setting option is configured in the personal information of enrollment page is set.
Alternatively, described to obtain in game direct broadcasting room before the personal information of each spectators user, methods described also includes:
The screening conditions setting option of target audience user is configured in the display page of the main broadcaster user.
Another aspect of the present invention there is provided it is a kind of it is live it is middle addition game good friend device, including:
Data obtaining module, the personal information for obtaining each spectators user in game direct broadcasting room, the personal information Include account information and game information;
User's screening module, the mesh of default screening conditions is met for being filtered out according to the account information of each spectators user Mark spectators user;
Good friend's add module, for according to the name pipeline set up in advance in current live software, the target to be seen The game information of many users is sent to the client modules of the name pipeline, so that the client modules call the game In the game process of the corresponding live game of direct broadcasting room good friend addition function, set up it is described game direct broadcasting room main broadcaster user with Game friend relation between the target audience user, the name pipeline is used to realize the live software and the game Communication between process, and the client modules are infused in the game process.
Alternatively, described device also includes:
Configuration module, the server module for creating the name pipeline in the live software in advance, and by institute The client modules for stating name pipeline are injected into the game process;
Connection establishment module, the communication connection for setting up the server module and the client modules.
Alternatively, the configuration module, will specifically for the storage allocation region in the memory headroom of the game process The physical pathway of the client modules is written in the region of memory, creates described for loading in the game process The thread of the physical pathway of client modules.
Alternatively, described device also includes:
Address resolution module, for parsing good friend's addition function corresponding memory address in the game process, So that the client modules call the good friend to add function by the memory address.
The method and device of live middle addition game good friend provided in an embodiment of the present invention, passes through the screening bar pre-set The automatic target audience user that satisfaction is filtered out from each spectators user of game direct broadcasting room of part, then automatically calls game The game between main broadcaster user and each target audience user of good friend's addition function to set up direct broadcasting room of playing in process is well Friendly relation, is added in the realization of the automation for live middle batch of playing to the game good friend of all spectators users for meeting condition, It is greatly saved the manpower spent in good friend's adding procedure and time.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the method for live middle addition game good friend of the embodiment of the present invention;
Fig. 2 is a kind of structural representation of the device of live middle addition game good friend of the embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific terminology), with the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should also Understand, those terms defined in such as general dictionary, it should be understood that with the context with prior art The consistent meaning of meaning, and unless by specific definitions, otherwise will not be explained with idealization or excessively formal implication.
Fig. 1 diagrammatically illustrates the flow chart of the method for the live middle addition game good friend of one embodiment of the invention.Ginseng According to Fig. 1, the method for the live middle addition game good friend of the embodiment of the present invention specifically includes following steps:
Step S11, the personal information for obtaining each spectators user in game direct broadcasting room, the personal information include account Information and game information.
Wherein, the user name of described account information including spectators user, user gradation, spectators user play live herein Between residence time, spectators user carry out number of times of this game direct broadcasting room etc..Described game information includes game name, game The middle role's title used, role ID, role's account etc..
In the present embodiment, when user is registered, configuration game information is set in the personal information of enrollment page is set Put item.
In the present embodiment, obtained described in game direct broadcasting room before the personal information of each spectators user, methods described Also include:The screening conditions setting option of target audience user is configured in the display page of the main broadcaster user.
In live platform, when user is registered, game information is configured in the personal information of enrollment page is set Setting option.User can add the role's title used in game name, game or ID in setting.By this setting just Establish the corresponding relation between the account of live platform and role's account of game.Multiple game can be set simultaneously.Specifically Setting it is as follows:
UID:Unique ID of the live platform spectators of XXX.
Game name:The title of XXX game.
The role name of game:Role's title that XXX correspondences are played above.
Game name:The title of XXX game.
The role name of game:Role's title that XXX correspondences are played above.
Above example is just provided with role's title in 2 game to spectators user.It is intelligible, can be with by setting Role name of multiple game etc. is added, this present invention is not especially limited.
Step S12, filtered out according to the account information of each spectators user and to meet the target audiences of default screening conditions and use Family.
In the present embodiment, when main broadcaster user is carrying out live game using live software, being in the live room can To get the account information of all spectators users, while can be filtered by account information to spectators, such as it can lead to Filter the grade of spectators, spectators and carry out the number of times in this room etc. in this room residence time, spectators.Main broadcaster can be by this A little information meet the target audience user of default screening conditions to pick out.After the spectators for filtering out the condition of satisfaction, it can pass through Trip of all target audience users for meeting screening conditions under correspondence game is got from the game information of spectators user Play role's title.
In actual applications, main broadcaster user, can be live in the live software progress for opening live platform when playing live, Can also open simultaneously needs live game, i.e., be while there is game process and live software process in main broadcaster's section.It is live flat Platform is supplied to the screening conditions setting option of main broadcaster's setting direct broadcasting room, and main broadcaster is provided with after screening conditions, can automatically filtered Go out to meet the spectators user of screening conditions, be greatly saved manpower, while whole process is all transparent to main broadcaster, main broadcaster is only Need to set the condition for meeting spectators, it is possible to which all spectators for meeting condition of addition for realizing the automation of batch are good friend's Method.For game, the name of role is exactly unique sign of game in game, can then be found by name corresponding Game role.And for live platform, when spectators are registered as the spectators of the live platform, can be set in account information Middle add sets game name, the information such as game role name, and by these information of setting, the straight of live platform is entered in spectators Broadcast behind room, main broadcaster can get the configuration information of spectators by live platform, so as to get the angle of correspondence game The information such as color name, in order to subsequently according to the role name information of game, by calling the addition good friend function of game to realize trip Addition good friend's function in play.
The name pipeline that step S13, basis are set up in current live software in advance, by the trip of the target audience user Play information is sent to the client modules of the name pipeline, so that the client modules call the game direct broadcasting room correspondence Live game game process in good friend's addition function, main broadcaster user and the target for setting up the game direct broadcasting room see Game friend relation between many users, the name pipeline is used to realize between the live software and the game process Communication, and the client modules are infused in the game process.
The method of live middle addition game good friend provided in an embodiment of the present invention, it is automatic by the screening conditions pre-set The target audience user of satisfaction is filtered out from each spectators user of game direct broadcasting room, is then automatically called in game process Good friend addition function come set up game direct broadcasting room main broadcaster user and each target audience user between game friend relation, The game good friend of all spectators users for meeting condition is added in the realization of the automation for live middle batch of playing, greatly section The manpower spent in good friend's adding procedure and time are saved.
In the embodiment of the present invention, methods described is further comprising the steps of:
In advance created in the live software it is described name pipeline server module, and by it is described name pipeline visitor Family end module is injected into the game process;
Set up the communication connection of the server module and the client modules.
Pipeline is named, is that the communication between process is completed by network, it shields the procotol details of bottom.This hair Bright embodiment, by naming pipeline to realize the communication between the module injected in live software and game process.And play and work as In name function pipeline be to be realized by the client modules being injected into game process.In name pipeline, by inciting somebody to action The module of injection is used as the service end of name pipeline as the client for naming pipeline, main broadcaster's software.
A name pipeline is created first, then waits client to connect.Once the client of name pipeline is injected into After being brought into operation in game process, the module can remove this name pipeline of connection, once this upper name pipeline of connection, then just It can realize that the injection module in live software and game is communicated.Concrete implementation method is as follows:
First, live software name pipe service end:
1. Employ Windows API Function CreateNamedPipe creates name pipeline.
The name of parameter nomenclature pipeline is wherein needed, this name can be with the fixed unique mark of user oneself, Bu Huiyu The pipeline of other processes of system is born the same name.The client modules of name pipeline can connect this pipeline by this name.
2. the client connection of name pipeline is waited by call function ConnectNamedPipe.
3. once client connection is upper, call function ReadFile carrys out the data that reading client is sended over, the number According to being to tell service end, client has completed connection and can communicated etc..
4. and then all mesh for meeting screening conditions of acquisition are write toward naming by call function WriteFile in pipeline Mark the game role title of spectators user.
2nd, the name pipeline client modules in game are injected into:
1. the name pipeline that client modules are created by call function CreateFile come Connection Service end.Name pipeline Name can be with the good unique name of predefined.
2. client modules wait the response of service end by call function WaitNamedPipe.
3. client modules write data into pipeline by call function WriteFile.
4. client modules are by call function ReadFile come spectators' game angle of the reading service end transmission from pipeline Color information.
The embodiment of the present invention realizes a name pipeline, by the server module of live software constantly by barrage In information write-in name pipeline, the game angle that the client modules of game process then collect spectators from name pipeline is injected into Color information.
In the present embodiment, the client modules by the name pipeline are injected into the game process, specific bag Include:
The storage allocation region in the memory headroom of the game process;
The physical pathway of the client modules is written in the region of memory;
The thread of the physical pathway for loading the client modules is created in the game process.
In actual applications, one module can be injected into separately by the api function for calling Windows systems to provide In one game process.Specifically, by Windows API calls CreateRemoteThread come in game process A remote thread is created, why referred to as remote thread is because this thread is that live software process is created in game process The thread built, goes calling system function LoadLibrary to be injected into game to load needs by the remote thread of establishment The module of process.It is implemented as follows:
1. by WindowsAPI function VirtualAllocEx functions in the memory headroom of target process storage allocation Region, wherein, target process specifically refers to game process.
The client injected the need for 2. oneself is write by WindowsAPI functions WriteProcessMemory The disk path of module is written in the allocated region of memory.
3. Employ Windows API Function CreateRemoteThread functions to create a thread in target process, The execution logic of thread is exactly Employ Windows API Function LoadLibrary to load by writing in target process space The disk path of client modules.So it is achieved that and opens a thread in target process, a mould is loaded by thread Block, realizes the function that a module is injected to target process.
The embodiment of the present invention realizes the function being injected into the client modules of pipeline communication in game process, so as to be Communication provides possible between subsequent processes.
In the present embodiment, methods described specifically also includes:Parse good friend's addition function right in the game process The memory address answered, so that the client modules call the good friend to add function by the memory address.
The embodiment of the present invention, by going dis-assembling to analyze the function that addition good friend can call in game process, can pass through The Dynamic Debugging Tool WinDbg that Windows is provided carrys out dynamic debugging game process, adds to find the good friend called in game Plus function adds game good friend to realize, while parameter incoming required for searching addition good friend etc..Good friend is added in game Power function correspondence with game process be then a memory address.It is issued due to playing, then its generation in internal memory Code is all that assembler language form is present, so the embodiment of the present invention can only call game by calling the form of assembler language to go Good friend addition function.It is implemented as follows:
Wherein, the content that _ _ asm { } is bracketed, which is indicated in C language, is embedded in assembly code.
Wherein specific assembly code is then by the parameter information required for the incoming functions of push, including game angle The name of color.
The value of this 3 parameters of wherein RoleNam and RoleThis and AddFriends is then in a memory address, 3 Depositing address is found by WinDbg dynamic debuggings analysis.
Then by the instantiated good friend of the ecx register-bits in incoming CPU registers manage object address ( The address of object is all stored in ecx registers in C++).
Good friend last then that game is called by assembly instruction call adds function.
Because client modules have been injected into game process, the module and game belong to the same process space, institute The function of game can be directly invoked with him.The implementation method of specific addition good friend is as follows:
The live software used in direct broadcasting room main broadcaster can get the game information of all spectators users, and believe from spectators The game role title of correspondence game can be got in breath.There is game role title then to call the addition of game well Friendly function adds game good friend.
The game player that calling above-mentioned assembly code then realizes one role's plaintext RoleName of addition is good friend.For Other game names call same method to realize the function to all spectators addition game good friends for meeting condition.By calling Above-mentioned this section of code, which is then realized, calls good friend in game to add function to realize the function of addition good friend.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but this area Technical staff should know that the embodiment of the present invention is not limited by described sequence of movement, because according to present invention implementation Example, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know, specification Described in embodiment belong to necessary to preferred embodiment, the involved action not necessarily embodiment of the present invention.
Fig. 2 diagrammatically illustrates the structural representation of the device of the live middle addition game good friend of one embodiment of the invention Figure.Reference picture 2, the device of the live middle addition game good friend of the embodiment of the present invention specifically includes data obtaining module 201, user Screening module 202 and good friend's add module 203, wherein, described data obtaining module 201, for obtaining game direct broadcasting room In each spectators user personal information, the personal information includes account information and game information;Described user's screening Module 202, the target audience user of default screening conditions is met for being filtered out according to the account information of each spectators user;Institute The good friend's add module 203 stated, for according to the name pipeline set up in advance in current live software, by the target audience The game information of user is sent to the client modules of the name pipeline, so that the client modules call the game straight Good friend's addition function between broadcasting in the game process of corresponding live game, the main broadcaster user for setting up the game direct broadcasting room and institute State the game friend relation between target audience user, the name pipeline be used to realizing the live software with it is described play into Communication between journey, and the client modules are infused in the game process.
The embodiment of the present invention, described device also includes the configuration module and connection establishment module not shown in accompanying drawing, described Configuration module, the server module for creating the name pipeline in the live software in advance, and by the name The client modules of pipeline are injected into the game process;Described connection establishment module, for setting up the service end mould The communication connection of block and the client modules.
In an alternate embodiment of the present invention where, the configuration module, is additionally operable to when user is registered, in registration The personal information of the page configures game information setting option in setting.
In an alternate embodiment of the present invention where, the configuration module, is additionally operable in the acquisition game direct broadcasting room Before the personal information of each spectators user, the screening bar of target audience user is configured in the display page of the main broadcaster user Part setting option.
Further, the configuration module, specifically for the storage allocation region in the memory headroom of the game process, The physical pathway of the client modules is written in the region of memory, created in the game process for loading institute State the thread of the physical pathway of client modules.
In the embodiment of the present invention, described device also includes the address resolution module not shown in accompanying drawing, described address solution Module is analysed, for parsing good friend's addition function corresponding memory address in the game process, for the client Module calls the good friend to add function by the memory address.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
In addition, another embodiment of the present invention additionally provides a kind of electronic equipment, the electronic equipment includes:Housing, processing Device, memory, circuit board and power circuit, wherein, the circuit board is placed in the interior volume that the housing is surrounded, the place Reason device and the memory are arranged on the circuit board;The power circuit, for each circuit for the electronic equipment Or device is powered;The memory is used to store executable program code;The processor is deposited by reading in the memory The executable program code of storage runs program corresponding with executable program code, for performing following steps:Obtain trip The personal information of each spectators user in play direct broadcasting room, the personal information includes account information and game information;According to each The account information of individual spectators user filters out the target audience user for meeting default screening conditions;According to soft in current live in advance The name pipeline set up in part, the game information of the target audience user is sent to the client mould of the name pipeline Block, so that the client modules call the good friend in correspondence game process to add function, sets up the master of the game direct broadcasting room Game friend relation between broadcasting user and the target audience user, the name pipeline be used for realize the live software with Communication between the game process, the client modules are infused in the game process.
The method and device of live middle addition game good friend provided in an embodiment of the present invention, passes through the screening bar pre-set The automatic target audience user that satisfaction is filtered out from each spectators user of game direct broadcasting room of part, then automatically calls game The game between main broadcaster user and each target audience user of good friend's addition function to set up direct broadcasting room of playing in process is well Friendly relation, is added in the realization of the automation for live middle batch of playing to the game good friend of all spectators users for meeting condition, It is greatly saved the manpower spent in good friend's adding procedure and time.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can To be or may not be physically separate, the part shown as unit can be or may not be physics list Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Understood based on such, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Order is to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation Method described in some parts of example or embodiment.
Although in addition, it will be appreciated by those of skill in the art that some embodiments in this include institute in other embodiments Including some features rather than further feature, but not the combination of the feature of be the same as Example mean be in the scope of the present invention Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it One mode can use in any combination.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (10)

1. a kind of method of live middle addition game good friend, it is characterised in that including:
The personal information of each spectators user in game direct broadcasting room is obtained, the personal information includes account information and game is believed Breath;
The target audience user for meeting default screening conditions is filtered out according to the account information of each spectators user;
According to the name pipeline set up in advance in current live software, the game information of the target audience user is sent to The client modules of the name pipeline, so that the client modules call the corresponding live game of the game direct broadcasting room Good friend's addition function in game process, sets up between the main broadcaster user and the target audience user of the game direct broadcasting room Game friend relation, the name pipeline is used to realize the communication between the live software and the game process, and will The client modules are infused in the game process.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
In advance created in the live software it is described name pipeline server module, and by it is described name pipeline client Module is injected into the game process;
Set up the communication connection of the server module and the client modules.
3. method according to claim 2, it is characterised in that the client modules by the name pipeline are injected into In the game process, including:
The storage allocation region in the memory headroom of the game process;
The physical pathway of the client modules is written in the region of memory;
The thread of the physical pathway for loading the client modules is created in the game process.
4. the method according to claim any one of 1-3, it is characterised in that methods described also includes:
Good friend's addition function corresponding memory address in the game process is parsed, so that the client modules pass through The memory address calls good friend's addition function.
5. according to the method described in claim 1, it is characterised in that methods described also includes:
When user is registered, game information setting option is configured in the personal information of enrollment page is set.
6. according to the method described in claim 1, it is characterised in that for obtaining each spectators user in game direct broadcasting room Before people's information, methods described also includes:
The screening conditions setting option of target audience user is configured in the display page of the main broadcaster user.
7. a kind of device of live middle addition game good friend, it is characterised in that including:
Wrapped in data obtaining module, the personal information for obtaining each spectators user in game direct broadcasting room, the personal information Include account information and game information;
User's screening module, the target that default screening conditions are met for being filtered out according to the account information of each spectators user is seen Many users;
Good friend's add module, for according to the name pipeline set up in advance in current live software, the target audience to be used The game information at family is sent to the client modules of the name pipeline, so that the client modules call the game live Between corresponding live game game process in good friend addition function, set up it is described game direct broadcasting room main broadcaster user with it is described Game friend relation between target audience user, the name pipeline is used to realize the live software and the game process Between communication, and the client modules are infused in the game process.
8. device according to claim 7, it is characterised in that described device also includes:
Configuration module, the server module for creating the name pipeline in the live software in advance, and by the life The client modules of name pipeline are injected into the game process;
Connection establishment module, the communication connection for setting up the server module and the client modules.
9. device according to claim 8, it is characterised in that the configuration module, specifically in the game process Memory headroom in storage allocation region, the physical pathway of the client modules is written in the region of memory, in institute State the thread that the physical pathway for loading the client modules is created in game process.
10. the device according to claim any one of 7-9, it is characterised in that described device also includes:
Address resolution module, for parsing good friend's addition function corresponding memory address in the game process, for The client modules call the good friend to add function by the memory address.
CN201710211619.0A 2017-03-31 2017-03-31 Method and device for adding game friends in live broadcast Active CN107126701B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710211619.0A CN107126701B (en) 2017-03-31 2017-03-31 Method and device for adding game friends in live broadcast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710211619.0A CN107126701B (en) 2017-03-31 2017-03-31 Method and device for adding game friends in live broadcast

Publications (2)

Publication Number Publication Date
CN107126701A true CN107126701A (en) 2017-09-05
CN107126701B CN107126701B (en) 2021-04-27

Family

ID=59715371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710211619.0A Active CN107126701B (en) 2017-03-31 2017-03-31 Method and device for adding game friends in live broadcast

Country Status (1)

Country Link
CN (1) CN107126701B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449646A (en) * 2018-02-11 2018-08-24 上海掌门科技有限公司 A kind of method, equipment and medium for establishing social networks by barrage
CN109011590A (en) * 2018-08-01 2018-12-18 武汉斗鱼网络科技有限公司 The interactive approach of main broadcaster and user, device, equipment and medium in game live streaming
CN110381333A (en) * 2019-08-21 2019-10-25 腾讯科技(深圳)有限公司 Account number matching process, device, equipment and storage medium
CN110795004A (en) * 2019-10-31 2020-02-14 上海掌门科技有限公司 Social method and device
CN111629236A (en) * 2020-06-08 2020-09-04 广州繁星互娱信息科技有限公司 Friend relationship establishing method, device, equipment and computer readable storage medium
CN111659125A (en) * 2019-03-06 2020-09-15 北京柏林互动科技有限公司 Game-based friend recommendation method and device and computer-readable storage medium
CN112076472A (en) * 2020-09-06 2020-12-15 北京字节跳动网络技术有限公司 Game system, method, device, computer equipment and storage medium
CN112231588A (en) * 2019-06-28 2021-01-15 北京智明星通科技股份有限公司 Game friend recommendation method and device based on game application program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105916047A (en) * 2016-05-17 2016-08-31 武汉斗鱼网络科技有限公司 Game operating method and device based on bullet screen control
US20170003740A1 (en) * 2015-06-30 2017-01-05 Amazon Technologies, Inc. Spectator interactions with games in a specatating system
CN106528096A (en) * 2016-10-20 2017-03-22 武汉斗鱼网络科技有限公司 Method and system for drawing popup image on D3D12 full screen game source

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170003740A1 (en) * 2015-06-30 2017-01-05 Amazon Technologies, Inc. Spectator interactions with games in a specatating system
CN105916047A (en) * 2016-05-17 2016-08-31 武汉斗鱼网络科技有限公司 Game operating method and device based on bullet screen control
CN106528096A (en) * 2016-10-20 2017-03-22 武汉斗鱼网络科技有限公司 Method and system for drawing popup image on D3D12 full screen game source

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449646A (en) * 2018-02-11 2018-08-24 上海掌门科技有限公司 A kind of method, equipment and medium for establishing social networks by barrage
CN108449646B (en) * 2018-02-11 2021-06-11 上海掌门科技有限公司 Method, equipment and medium for establishing social relationship through barrage
CN109011590A (en) * 2018-08-01 2018-12-18 武汉斗鱼网络科技有限公司 The interactive approach of main broadcaster and user, device, equipment and medium in game live streaming
CN111659125B (en) * 2019-03-06 2023-08-18 北京柏林互动科技有限公司 Friend recommendation method and device based on game and computer readable storage medium
CN111659125A (en) * 2019-03-06 2020-09-15 北京柏林互动科技有限公司 Game-based friend recommendation method and device and computer-readable storage medium
CN112231588A (en) * 2019-06-28 2021-01-15 北京智明星通科技股份有限公司 Game friend recommendation method and device based on game application program
CN110381333B (en) * 2019-08-21 2021-04-09 腾讯科技(深圳)有限公司 Account matching method, device, equipment and storage medium
CN110381333A (en) * 2019-08-21 2019-10-25 腾讯科技(深圳)有限公司 Account number matching process, device, equipment and storage medium
CN110795004A (en) * 2019-10-31 2020-02-14 上海掌门科技有限公司 Social method and device
CN110795004B (en) * 2019-10-31 2024-04-09 上海掌门科技有限公司 Social method and device
CN111629236B (en) * 2020-06-08 2022-03-25 广州繁星互娱信息科技有限公司 Friend relationship establishing method, device, equipment and computer readable storage medium
CN111629236A (en) * 2020-06-08 2020-09-04 广州繁星互娱信息科技有限公司 Friend relationship establishing method, device, equipment and computer readable storage medium
CN112076472A (en) * 2020-09-06 2020-12-15 北京字节跳动网络技术有限公司 Game system, method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN107126701B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN107126701A (en) The method and device of live middle addition game good friend
CN109525853B (en) Live broadcast room cover display method and device, terminal, server and readable medium
WO2017088621A1 (en) Method for realizing network broadcast and server
CN110418149A (en) Net cast method, apparatus, equipment and storage medium
CN106658145A (en) Live data processing method and device
CN109274982B (en) Video carousel method and device, computer equipment and storage medium
CN110881144A (en) Data processing method based on live broadcast platform and related equipment
CN106028161A (en) Bullet screen generation method and apparatus, bullet screen presentation method and apparatus, server and client
CN108174302B (en) Method and device for updating activity function playing method in live broadcast application
CN112087655A (en) Method and device for presenting virtual gift and electronic equipment
CN113727130B (en) Message prompting method, system and device for live broadcasting room and computer equipment
CN112698769A (en) Information interaction method, device, equipment, storage medium and program product
CN107391750A (en) Method and apparatus for processing information
CN109151604A (en) A kind of barrage display methods and device
CN104394437A (en) Live broadcasting method and system
CN106470353B (en) Multimedia data processing method and device and electronic equipment
CN110602543A (en) Method and apparatus for displaying material, storage medium, and electronic apparatus
CN108256006A (en) A kind of direct broadcasting room badge picture loading method and system
CN106162357A (en) Obtain the method and device of video content
CN107066543A (en) Filtering sensitive words method and apparatus
CN109151541A (en) The prompt that main broadcaster leaves plays implementation method, storage medium, equipment and the system of frame
CN110674040A (en) Application testing method, device, equipment and storage medium
CN105511961B (en) A kind of data transmission method for uplink and terminal
CN113824983A (en) Data matching method, device, equipment and computer readable storage medium
CN114173139B (en) Live broadcast interaction method, system and related device

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