CN107609065B - A kind of game classification method, apparatus and electronic equipment - Google Patents
A kind of game classification method, apparatus and electronic equipment Download PDFInfo
- Publication number
- CN107609065B CN107609065B CN201710762404.8A CN201710762404A CN107609065B CN 107609065 B CN107609065 B CN 107609065B CN 201710762404 A CN201710762404 A CN 201710762404A CN 107609065 B CN107609065 B CN 107609065B
- Authority
- CN
- China
- Prior art keywords
- game
- target
- target game
- name
- classification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 76
- 238000002347 injection Methods 0.000 claims abstract description 55
- 239000007924 injection Substances 0.000 claims abstract description 55
- 230000006870 function Effects 0.000 claims description 38
- 239000008186 active pharmaceutical agent Substances 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 10
- 239000000243 solution Substances 0.000 description 7
- 238000012545 processing Methods 0.000 description 6
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 244000062793 Sorghum vulgare Species 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 235000019713 millet Nutrition 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a kind of game classification method, apparatus and electronic equipments.The method comprise the steps that the target game classification that live streaming platform main broadcaster selects live streaming is obtained when platform main broadcaster new destination direct broadcasting room is broadcast live, with the first classification that target game is the target direct broadcasting room;The game data of live game is obtained using the injection module added in target game in advance;Target direct broadcasting room is categorized into the target game object classification of target game by the target game object that target game is determined according to game data using target game object as the second classification of target direct broadcasting room.The embodiment of the present invention automatically can classify to direct broadcasting room by the ongoing live game of injection module automatic identification net cast platform main broadcaster added in gaming, be not necessarily to human intervention, be greatly saved human cost, improve classification effectiveness.
Description
Technical field
The present invention relates to field of video broadcasting technology, in particular to a kind of game classification method, apparatus and electronic equipment.
Background technique
Currently, with the progress of network communication technology and the speed-raising of broadband network, network direct broadcasting has been obtained more and more
Development and application.Field especially is broadcast live in game, more and more spectators can watch the live streaming of game main broadcaster.
For game live streaming, main broadcaster while playing game by explaining the playing method of game, to attract a large amount of
Spectators watch.For the role playing game having, there is numerous game roles available in game, main broadcaster carries out game
When a game can be selected to carry out game.Spectators tend to watch game known to oneself when watching live streaming, so as to
To carry out the playing method of study and communicating game.By taking king's honor as an example, king's honor is a kind of sports playing method, has crowd in game
More heroes is available, and main broadcaster carries out a hero being selected to carry out local exchange game when game.Spectators are when watching live streaming
Tend to watch oneself known hero, so as to be learnt and exchanged the playing method of hero.Therefore for platform is broadcast live
For, can this innings of main broadcaster live streaming current to main broadcaster when the hero that select classify, the live streaming of the same hero is assigned to
In one classification, when such spectators carry out viewing live streaming, it can very easily enter in specific hero's classification and watch
The live streaming of corresponding hero provides greatly to not have to open hero of each direct broadcasting room to judge current anchor to spectators
It is convenient.
However these role playing games are not generally live streaming platform development, so that platform, which is broadcast live, can not obtain current master
The role just in game is broadcast, current rule of doing is that a large amount of personnel is recruited first to be familiar with all roles, when then main broadcaster is broadcast live,
Go viewing to be broadcast live, see that the role that main broadcaster is played is, then it is manual be categorized into the direct broadcasting room of main broadcaster it is corresponding
In role category.Each is broadcast live the main broadcaster of such role play, each innings of game require it is artificial classify, this
Kind way needs to consume a large amount of manpower.
Summary of the invention
The embodiment of the invention provides a kind of game classification method, apparatus and electronic equipments, to solve prior art middle reaches
The problem of play live streaming needs manually to classify, inefficiency.
In a first aspect, this application provides game classification methods, this method comprises:
When platform main broadcaster new destination direct broadcasting room is broadcast live, the target game point that live streaming platform main broadcaster selects live streaming is obtained
Class, with the first classification that the target game is the target direct broadcasting room;
The game data of live game is obtained using the injection module added in target game in advance;
The target game object that the target game is determined according to the game data, using the target game object as institute
The second classification of target direct broadcasting room is stated, described second is classified as the subclass of first classification;
The target direct broadcasting room is categorized into the target game object classification of the target game.
Further, the game data of target game is being obtained using the injection module added in target game in advance
Before step, the method also includes:
Name pipeline is write, the name pipeline includes name pipeline client and name pipe service end, the name
Pipeline client is the injection module, and the name pipeline is for the logical of the injection module and the target game process
Letter.
Further, described the step of writing name pipeline, comprising:
Employ Windows API Function CreateNamedPipe creation name pipe service end;
The addition name pipeline client in target game, the name pipeline client are the injection module;
It establishes name pipeline client and names the connection at pipe service end.
Further, the game data that live game is obtained using the injection module added in target game in advance
The step of, comprising:
After target game process is connect by name pipeline client with name pipe server-side, by naming pipeline client
End calls function WriteFile to obtain the game data of the target game, and is sent to the name pipe service end,
In, it include the target game object information of the target game in the game data;
By naming pipe service end to receive the game data that the name pipeline client is sent;
The step of target game object that the target game is determined according to the game data, comprising:
Function ReadFile is called by name pipe service end to read the game that name pipeline client sends over
Data determine the target game object of the target game.
Further, in the game number for obtaining live game using the injection module added in target game in advance
According to the step of before, the method also includes:
Remote thread is created in target game process by Windows API calls CreateRemoteThread;
The injection module is loaded by the remote thread calling system function LoadLibrary.
Second aspect, the application provide a kind of game sorter, which includes:
First obtains module, for when platform main broadcaster new destination direct broadcasting room is broadcast live, obtaining live streaming platform main broadcaster selection
The target game of live streaming is classified, with the first classification that the target game is the target direct broadcasting room;
Second obtains module, for obtaining the game of live game using the injection module added in target game in advance
Data;
Determining module, for determining the target game object of the target game according to the game data, with the mesh
The second classification that game object is the target direct broadcasting room is marked, described second is classified as the subclass of first classification;
Categorization module, for being categorized into the target direct broadcasting room in the target game object classification of the target game.
Further, described device further include:
Module is write, in the game number for obtaining target game using the injection module added in target game in advance
According to the step of before, write name pipeline, the name pipeline includes name pipeline client and name pipe service end, described
Name pipeline client is the injection module, and the name pipeline is for the injection module and the target game process
Communication.
Further, the module of writing is specifically used for:
Employ Windows API Function CreateNamedPipe creation name pipe service end;
The addition name pipeline client in target game, the name pipeline client are the injection module;
It establishes name pipeline client and names the connection at pipe service end.
Further, the second acquisition module is specifically used for:
After target game process is connect by name pipeline client with name pipe server-side, by naming pipeline client
End calls function WriteFile to obtain the game data of the target game, and is sent to the name pipe service end,
In, it include the target game object information of the target game in the game data;Institute is received by name pipe service end
State the game data that name pipeline client is sent;
The determining module is specifically used for:
Function ReadFile is called by name pipe service end to read the game that name pipeline client sends over
Data determine the target game object of the target game.
The third aspect, the present invention also provides a kind of electronic equipment, comprising: memory and is stored in the storage at processor
On device and the computer program that can run on the processor, wherein the processor can when executing the computer program
To realize any method in first aspect.
Fourth aspect, the present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey
Any method in first aspect is realized when sequence is executed by processor.
The embodiment of the present invention is straight by when platform main broadcaster new destination direct broadcasting room is broadcast live, obtaining live streaming platform main broadcaster selection
The target game classification broadcast, with the first classification that target game is the target direct broadcasting room;Using adding in target game in advance
The injection module added obtains the game data of live game;The target game object of target game is determined according to game data, with
Target game object is the second classification of target direct broadcasting room, and target direct broadcasting room is categorized into the target game object point of target game
In class.The embodiment of the present invention can by the injection module automatic identification net cast platform main broadcaster that adds in gaming into
Capable live game, automatically classifies to direct broadcasting room, is not necessarily to human intervention, is greatly saved human cost, improves point
Class efficiency.
Detailed description of the invention
Fig. 1 is one embodiment schematic diagram of game classification method in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of game classification method of the embodiment of the present invention;
Fig. 3 is one embodiment schematic diagram of step of embodiment of the present invention S105;
Fig. 4 is one embodiment schematic diagram of step S102 in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of game classification method in the embodiment of the present invention on the basis of Fig. 2;
Fig. 6 is one embodiment schematic diagram of step S104 in the embodiment of the present invention;
Fig. 7 is one embodiment schematic diagram of game sorter in the embodiment of the present invention
Fig. 8 is another embodiment schematic diagram of game sorter in the embodiment of the present invention;
Fig. 9 is one embodiment schematic diagram of electronic equipment in the embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
Description and claims of this specification and the (if present)s such as term " first " in above-mentioned attached drawing, " second "
It is to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that the number used in this way
According to being interchangeable under appropriate circumstances, so as to the embodiments described herein can in addition to the content for illustrating or describing herein with
Outer sequence is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover non-exclusive packet
Contain, for example, what the process, method, system, product or equipment for containing a series of steps or units were not necessarily limited to be clearly listed
Those step or units, but may include be not clearly listed or it is intrinsic for these process, methods, product or equipment
Other step or units.
Game classification method is applied to game sorter in the embodiment of the present invention, which is located in electronic equipment, should
Electronic equipment can be the electronic equipments such as mobile phone, tablet computer or PC, be also possible to following have display screen
Electronic equipment etc..
Referring to Fig. 1, one embodiment of game classification method includes: in the embodiment of the present invention
S101, when platform main broadcaster new destination direct broadcasting room is broadcast live, obtain live streaming platform main broadcaster select live streaming target trip
Play classification, with the first classification that the target game is the target direct broadcasting room;
In the present embodiment, in net cast platform, there are many direct broadcasting rooms, the corresponding main broadcaster of each direct broadcasting room, main broadcaster
New direct broadcasting room can also be created to be broadcast live.
S102, the game data that live game is obtained using the injection module added in target game in advance;
S103, the target game object that the target game is determined according to the game data, with the target game pair
As the second classification for the target direct broadcasting room;
Wherein, described second it is classified as the described first subclass classified, i.e., first is classified as game classification, the second classification
For the game object classification in game, for example, first is classified as " king's honor " game, second is classified as " king's honor " game
In " Angel drawing " Master
S104, the target direct broadcasting room is categorized into the target game object classification of the target game.
The embodiment of the present invention is straight by when platform main broadcaster new destination direct broadcasting room is broadcast live, obtaining live streaming platform main broadcaster selection
The target game classification broadcast, with the first classification that target game is the target direct broadcasting room;Using adding in target game in advance
The injection module added obtains the game data of live game;The target game object of target game is determined according to game data, with
Target game object is the second classification of target direct broadcasting room, and target direct broadcasting room is categorized into the target game object point of target game
In class.The embodiment of the present invention can by the injection module automatic identification net cast platform main broadcaster that adds in gaming into
Capable live game, automatically classifies to direct broadcasting room, is not necessarily to human intervention, is greatly saved human cost, improves point
Class efficiency.
As shown in Fig. 2, in some embodiment of the invention, being obtained using the injection module added in target game in advance
Before the step of taking the game data of target game, game classification method of the present invention can also include:
S105, name pipeline is write, the name pipeline includes name pipeline client and names pipe service end, described
Name pipeline client is the injection module, and the name pipeline is for the injection module and the target game process
Communication.
Naming pipeline is the communication completed between process by network, it shields the network protocol details of bottom, passes through
Name pipeline the present embodiment realizes the communication in live streaming platform software and game process between injection module.In name pipeline
In, by injection module as name pipeline client in the present embodiment, live streaming platform software is as name pipe service end.First
Platform service end is broadcast live and creates a name pipeline, waits name pipeline client then to connect.Once the injection mould write
Block (name pipeline client) is injected into bring into operation in target game process after, which can go to connect this name pipe
Road server-side can realize the injection mould in live streaming software and target game once naming pipe service end in connection
Block is communicated.
As shown in figure 3, in some embodiment of the invention, this writes the step of naming pipeline, can specifically include:
S1051, Employ Windows API Function CreateNamedPipe creation name pipe service end;
Wherein name pipe service end name can oneself fixed one it is unique, will not be with the pipeline weight of system other processes
Name.Name pipeline client can connect this life by name pipe service end name as target game injection module
Name pipe service end.
S1052, the addition name pipeline client in target game;
Wherein, the name pipeline client is the injection module;
S1053, it establishes name pipeline client and names the connection at pipe service end.
In the present embodiment, name pipeline client connects name pipe service end by calling function CreateFile,
And the response at name pipe service end is waited by calling function WaitNamedPipe, name pipe service end passes through calling
Function ConnectNamedPipe names the connection of pipeline client to wait.
As shown in figure 4, in some embodiment of the invention, the step S102 can specifically include:
S1021, target game process by name pipeline client with name pipe server-side connect after, pass through name pipe
Road client call function WriteFile obtains the game data of the target game, and is sent to the name pipe service
End;
It wherein, include the target game object information of the target game in the game data;
S1022, the game data that the name pipeline client is sent is received by name pipe service end;
Above-mentioned steps S103 can specifically include at this time:
Function ReadFile is called by name pipe service end to read the game that name pipeline client sends over
Data determine the target game object of the target game.
In the present embodiment, pass through the injection mould for naming pipeline to realize live streaming software and be injected into target game process
Block is communicated, so as to which the corresponding game object name information of main broadcaster is transferred to the corresponding software of main broadcaster.
As shown in figure 5, utilizing the injection added in target game in advance described in other embodiments of the invention
Before module obtains the step of game data of live game, which can also include:
S106, it is created in target game process remotely by Windows API calls CreateRemoteThread
Thread;
S107, the injection module is loaded by the remote thread calling system function LoadLibrary.
Specific implementation is as follows:
(1) in being distributed in the memory headroom of target process by WindowsAPI function VirtualAllocEx function
It deposits.
(2) injection module that is injected by the needs that WindowsAPI function WriteProcessMemory will write
Disk path is written in the allocated memory (memory headroom of the target process specially distributed in step (1)).
(3) Employ Windows API Function CreateRemoteThread function to create one in target process remotely
Thread, the execution logic of remote thread be exactly Employ Windows API Function LoadLibrary come in load step (2) by
The disk path of the injection module of target process space write-in.It thereby realizes and creates a remote thread in target process,
An injection module is loaded by thread, realizes the function that an injection module is injected to target process.
It is achieved that through the above steps and the injection module for being used to obtain game object data is injected into game process
Function, thus between subsequent processes communication provide possibility.
In the embodiment of the present invention, the target is obtained above by name pipeline client call function WriteFile and is swum
It the step of game data of play, specifically can be by the Dynamic Debugging Tool WinDbg that Windows is provided come dynamic debugging game
Process finds the pointer of the game object of target game.The pointer of game object and it is corresponding with game process be then a memory
Address.The data area of the game object is then known that by the memory address, which usually can all store game
The relevant information of object, such as the skin of game object, the military success data of game object, the title of game object, game object
Equipment information etc..It is available to game object from the pointer of the game object by finding the pointer of the game object
Name information.
As shown in fig. 6, can specifically include in above-mentioned steps S104 in other embodiments of the invention:
S1041, when platform main broadcaster new destination direct broadcasting room is broadcast live, acquisition preset in target game game object with
The corresponding relationship of game classification number;
In the present embodiment, the corresponding relationship of game object and game classification number in the pre-set target game of meeting, with
King's honor game, all heroes (game object) are fixed quantity, each heroic (game object) has one
Unique title, the present embodiment then available list to all heroes from game, and also available all heroes
Title, so that hero (game object) name list of a full dose may finally be got.To each heroic (game pair
As) title is all numbered it, form one-to-one relationship.Such as heroic title is Zhuge Liang, reference numeral is
00001, such as heroic title is terrible millet, reference numeral is 00002, all heroes can be successively numbered.Shape
At the unique corresponding relation (i.e. the corresponding relationship of game object and game classification number) of heroic title and number.
S1042, the classification number that the target game object is determined according to the corresponding relationship;
In the case where target game object determines, the classification of the game object can be got according to above-mentioned corresponding relationship
Number, for example, game object is terrible millet in king's honor game, reference numeral is 00002.
S1043, according to the classification number of the target game object, the target direct broadcasting room is categorized into the target and is swum
The target game object classification of play.
By in step S103 determine target game object, then can by step S1042 to game object and its
The corresponding relationship of number may thereby determine that the reference numeral of game object, then can be according to the number of target game object
It is classified into the classification of corresponding game object, whole process realizes automatic identification, be not necessarily to human intervention, greatly
Human cost is saved, game classification effectiveness is improved.
The embodiment of game sorter in the embodiment of the present invention is described below.
Referring to Fig. 7, in the embodiment of the present invention of position game sorter one embodiment schematic diagram, which includes:
First obtains module 701, for when platform main broadcaster new destination direct broadcasting room is broadcast live, obtaining live streaming platform main broadcaster choosing
The target game classification of live streaming is selected, with the first classification that the target game is the target direct broadcasting room;
Second obtains module 702, for obtaining live game using the injection module added in target game in advance
Game data;
Determining module 703, for determining the target game object of the target game according to the game data, with described
Target game object is the second classification of the target direct broadcasting room, and described second is classified as the subclass of first classification;
Categorization module 704, for the target direct broadcasting room to be categorized into the target game object classification of the target game
In.
Further, as shown in figure 8, described device further include:
Module 705 is write, in the trip for obtaining target game using the injection module added in target game in advance
Before the step of data of playing, name pipeline is write, the name pipeline includes naming pipeline client and name pipe service end,
The name pipeline client is the injection module, the name pipeline be used for the injection module and the target game into
The communication of journey.
Further, the module 705 of writing is specifically used for:
Employ Windows API Function CreateNamedPipe creation name pipe service end;
The addition name pipeline client in target game, the name pipeline client are the injection module;
It establishes name pipeline client and names the connection at pipe service end.
Further, the second acquisition module 702 is specifically used for:
After target game process is connect by name pipeline client with name pipe server-side, by naming pipeline client
End calls function WriteFile to obtain the game data of the target game, and is sent to the name pipe service end,
In, it include the target game object information of the target game in the game data;Institute is received by name pipe service end
State the game data that name pipeline client is sent;
The determining module 703 is specifically used for:
Function ReadFile is called by name pipe service end to read the game that name pipeline client sends over
Data determine the target game object of the target game.
A kind of electronic equipment is also provided in the embodiment of the present invention, refers to Fig. 9, the electronic equipment includes:
Memory 901, processor 902 and is stored in the computer that can be run on the memory and on the processor
Program 903, wherein above-mentioned game classification method may be implemented in the processor 902 when executing the computer program 903.
It should be noted that this application involves electronic equipment include but is not limited to be: mobile terminal (mobile phone, intelligent hand
Machine, PAD, laptop etc.), fixed terminal (computer).
For ease of description, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, asks
Referring to present invention method part.Memory 901 can be used for storing computer program 903, and above-mentioned computer program includes
Software program, module and data, processor 902 execute the computer program 903 for being stored in memory 901 by running, thus
Execute the various function application and data processing of electronic equipment.
In the specific implementation process, memory 901 can be used for storing software program and module, and processor 902 passes through
Operation is stored in the software program and module of memory 901, thereby executing the various function application and data of electronic equipment
Processing.Memory 901 can mainly include storing program area and storage data area, wherein storing program area can storage program area,
Application program needed at least one function (such as game class application program, chat class application program) etc.;It storage data area can
Storage uses created data (game configuration data, audio data) etc. according to electronic equipment.In addition, memory 901 can
It can also include nonvolatile memory to include high-speed random access memory, a for example, at least disk memory is dodged
Memory device or other volatile solid-state parts.Processor 902 is the control centre of electronic equipment, using various interfaces and
The various pieces of the entire electronic equipment of connection, by run or execute the software program being stored in memory 901 and/or
Module, and the data being stored in memory 901 are called, the various functions and processing data of electronic equipment are executed, thus right
Electronic equipment carries out integral monitoring.Optionally, processor 902 may include one or more processing units;Preferably, processor
902 can integrate application processor, wherein the main processing operation system of application processor, user interface and application program etc..
The embodiment of the present invention also provides a kind of computer readable storage medium, wherein the computer readable storage medium can
It is stored with program, which includes some or all of game classification method recorded in above method embodiment step when executing
Suddenly.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of game classification method, which is characterized in that the described method includes:
When platform main broadcaster new destination direct broadcasting room is broadcast live, the target game classification that live streaming platform main broadcaster selects live streaming is obtained, with
The target game is the first classification of the target direct broadcasting room;
The game data of live game is obtained using the injection module added in target game in advance;
The target game object of the target game is determined according to the game data, with the target game object for the mesh
The second classification of direct broadcasting room is marked, described second is classified as the subclass of first classification;
The target direct broadcasting room is categorized into the target game object classification of the target game.
2. the method according to claim 1, wherein utilizing the injection module added in target game in advance
Before the step of obtaining the game data of target game, the method also includes:
Name pipeline is write, the name pipeline includes name pipeline client and name pipe service end, the name pipeline
Client is the injection module, and the name pipeline is used for the communication of the injection module and the target game process.
3. according to the method described in claim 2, it is characterized in that, described the step of writing name pipeline, comprising:
Employ Windows API Function CreateNamedPipe creation name pipe service end;
The addition name pipeline client in target game, the name pipeline client are the injection module;
It establishes name pipeline client and names the connection at pipe service end.
4. according to the method described in claim 3, it is characterized in that, described utilize the injection mould added in target game in advance
Block obtains the step of game data of live game, comprising:
After target game process is connect by name pipeline client with name pipe server-side, by naming pipeline client tune
The game data of the target game is obtained with function WriteFile, and is sent to the name pipe service end, wherein institute
State the target game object information in game data including the target game;
By naming pipe service end to receive the game data that the name pipeline client is sent;
The step of target game object that the target game is determined according to the game data, comprising:
The game data that name pipeline client sends over is read by name pipe service end calling function ReadFile,
Determine the target game object of the target game.
5. according to the method described in claim 4, it is characterized in that, utilizing the injection added in target game in advance described
Before module obtains the step of game data of live game, the method also includes:
Remote thread is created in target game process by Windows API calls CreateRemoteThread;
The injection module is loaded by the remote thread calling system function LoadLibrary.
6. a kind of game sorter, which is characterized in that described device includes:
First obtains module, selects live streaming for when platform main broadcaster new destination direct broadcasting room is broadcast live, obtaining live streaming platform main broadcaster
Target game classification, with the target game be the target direct broadcasting room first classification;
Second obtains module, for obtaining the game number of live game using the injection module added in target game in advance
According to;
Determining module, for determining the target game object of the target game according to the game data, with target trip
Object play as the second classification of the target direct broadcasting room, described second is classified as the subclass of first classification;
Categorization module, for being categorized into the target direct broadcasting room in the target game object classification of the target game.
7. device according to claim 6, which is characterized in that described device further include:
Module is write, for obtaining the game data of target game using the injection module added in target game in advance
Before step, name pipeline is write, the name pipeline includes name pipeline client and name pipe service end, the name
Pipeline client is the injection module, and the name pipeline is for the logical of the injection module and the target game process
Letter.
8. device according to claim 7, which is characterized in that the module of writing is specifically used for:
Employ Windows API Function CreateNamedPipe creation name pipe service end;
The addition name pipeline client in target game, the name pipeline client are the injection module;
It establishes name pipeline client and names the connection at pipe service end.
9. device according to claim 6, which is characterized in that
The second acquisition module is specifically used for:
After target game process is connect by name pipeline client with name pipe server-side, by naming pipeline client tune
The game data of the target game is obtained with function WriteFile, and is sent to the name pipe service end, wherein institute
State the target game object information in game data including the target game;The name is received by name pipe service end
The game data that pipeline client is sent;
The determining module is specifically used for:
The game data that name pipeline client sends over is read by name pipe service end calling function ReadFile,
Determine the target game object of the target game.
10. a kind of electronic equipment characterized by comprising memory and is stored on the memory and can be in institute processor
State the computer program run on processor, wherein the processor may be implemented right when executing the computer program and want
Seek 1 to 5 any method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710762404.8A CN107609065B (en) | 2017-08-30 | 2017-08-30 | A kind of game classification method, apparatus and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710762404.8A CN107609065B (en) | 2017-08-30 | 2017-08-30 | A kind of game classification method, apparatus and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107609065A CN107609065A (en) | 2018-01-19 |
CN107609065B true CN107609065B (en) | 2019-12-03 |
Family
ID=61056438
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710762404.8A Active CN107609065B (en) | 2017-08-30 | 2017-08-30 | A kind of game classification method, apparatus and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107609065B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737846B (en) * | 2018-05-25 | 2019-06-14 | 广州虎牙信息科技有限公司 | Direct broadcasting room display methods, device, server and medium |
CN108881949B (en) * | 2018-05-25 | 2021-04-30 | 广州虎牙信息科技有限公司 | Live broadcast room information pushing method, device, equipment and medium |
CN109889861B (en) * | 2019-03-13 | 2021-11-19 | 广州市网星信息技术有限公司 | Theme live broadcasting method, device, system, equipment and storage medium |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100589423C (en) * | 2007-10-15 | 2010-02-10 | 成都市华为赛门铁克科技有限公司 | The method and the device of identification data streams in multi-person online role playing game |
CN101183999B (en) * | 2007-10-31 | 2011-03-23 | 北京航空航天大学 | Mobile self-organization network scene constructing method using game data |
US8303413B2 (en) * | 2008-06-27 | 2012-11-06 | Microsoft Corporation | Live hosting toolset |
CN101751513B (en) * | 2009-12-23 | 2012-12-12 | 厦门吉比特网络技术股份有限公司 | Turn-based online game implementation method based on distributed server |
CN101751460A (en) * | 2009-12-25 | 2010-06-23 | 北京畅游天下网络技术有限公司 | A data binding method, device and system |
CN102527039A (en) * | 2010-12-30 | 2012-07-04 | 德信互动科技(北京)有限公司 | Sound effect control device and method |
CN102355489B (en) * | 2011-08-17 | 2015-03-04 | 焦秀琴 | Method, system, server and client side for displaying and operating 3D (Three-Dimensional) game |
CN102984124B (en) * | 2012-10-31 | 2016-08-17 | 北京昆仑万维科技股份有限公司 | A kind of method and system that client gaming program is quickly implanted browser |
CN105944378B (en) * | 2016-05-12 | 2019-08-23 | 武汉斗鱼网络科技有限公司 | The task of a kind of page of trip configures system and method |
CN106339300A (en) * | 2016-08-12 | 2017-01-18 | 武汉斗鱼网络科技有限公司 | Method and system for acquiring FPS of third-party game |
CN106503787B (en) * | 2016-10-26 | 2019-02-05 | 腾讯科技(深圳)有限公司 | A kind of method and electronic equipment obtaining game data |
CN107147955A (en) * | 2017-03-31 | 2017-09-08 | 武汉斗鱼网络科技有限公司 | The method and device of live game |
CN108881949B (en) * | 2018-05-25 | 2021-04-30 | 广州虎牙信息科技有限公司 | Live broadcast room information pushing method, device, equipment and medium |
CN109246441B (en) * | 2018-09-30 | 2021-03-16 | 武汉斗鱼网络科技有限公司 | Method, storage medium, device and system for automatically generating wonderful moment video |
CN109525851B (en) * | 2018-11-12 | 2021-03-30 | 咪咕互动娱乐有限公司 | Live broadcast method, device and storage medium |
CN109547819B (en) * | 2018-11-23 | 2022-11-15 | 广州虎牙信息科技有限公司 | Live list display method and device and electronic equipment |
-
2017
- 2017-08-30 CN CN201710762404.8A patent/CN107609065B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107609065A (en) | 2018-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107569848B (en) | Game classification method and device and electronic equipment | |
JP2023502583A (en) | Virtual item processing method and apparatus | |
CN106878767B (en) | Video broadcasting method and device | |
CN110830735B (en) | Video generation method and device, computer equipment and storage medium | |
CN107609065B (en) | A kind of game classification method, apparatus and electronic equipment | |
CN110124317A (en) | Interactive approach, device, equipment and storage medium in game live streaming | |
CN105630587A (en) | Method, device and system for migrating application program data between terminals | |
CN105592364A (en) | Trans-terminal screen-shot image acquiring method and trans-terminal screen-shot image acquiring device | |
CN102541259A (en) | Electronic equipment and method for same to provide mood service according to facial expression | |
CN107998655A (en) | data display method, device, storage medium and electronic device | |
CN110324649A (en) | Interaction control method, device, storage medium and electronic device in live streaming | |
CN109364473A (en) | Analysis method and system are reported in game | |
WO2023279917A1 (en) | On-screen comment displaying method and apparatus, on-screen comment transmitting method and apparatus, computer device, computer readable storage medium, and computer program product | |
CN109474528A (en) | Communication connecting method, device, terminal device and computer-readable storage medium | |
CN106954097B (en) | The control method and device of video playing | |
CN110052035A (en) | The recording method of chat message and device, storage medium, electronic device in game | |
CN106791580A (en) | A kind of meeting processing method and processing device | |
CN110505490A (en) | Multi-medium data recognition methods and system | |
CN108310768A (en) | The display methods and device of virtual scene, storage medium, electronic device | |
CN107648854B (en) | Game classification method and device and electronic equipment | |
CN106162357A (en) | Obtain the method and device of video content | |
CN108521576A (en) | Display methods, device, storage medium and the electronic device of media resource | |
CN107426626A (en) | A kind of shared present method and device | |
CN105450506B (en) | A kind of real-time information interaction method, apparatus and system | |
CN109429082B (en) | Live broadcast popularity detection method, storage medium, electronic device and system |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231228 Address after: 510000 A10432, Shop 05, No. 8 Yancheng Road, Tianhe District, Guangzhou City, Guangdong Province Patentee after: Guangzhou Mengyu Technology Co.,Ltd. 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. |