CN107609065A - One kind game classification method, apparatus and electronic equipment - Google Patents
One kind game classification method, apparatus and electronic equipment Download PDFInfo
- Publication number
- CN107609065A CN107609065A CN201710762404.8A CN201710762404A CN107609065A CN 107609065 A CN107609065 A CN 107609065A CN 201710762404 A CN201710762404 A CN 201710762404A CN 107609065 A CN107609065 A CN 107609065A
- Authority
- CN
- China
- Prior art keywords
- game
- target
- target game
- name
- service end
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 77
- 238000002347 injection Methods 0.000 claims abstract description 56
- 239000007924 injection Substances 0.000 claims abstract description 56
- 230000006870 function Effects 0.000 claims description 38
- 230000008569 process Effects 0.000 claims description 35
- 239000008186 active pharmaceutical agent Substances 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 9
- 238000004891 communication Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 10
- 238000003860 storage Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction 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
- 238000005516 engineering process Methods 0.000 description 2
- 235000019713 millet Nutrition 0.000 description 2
- 239000000243 solution Substances 0.000 description 2
- 238000009826 distribution Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction 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 one kind game classification method, apparatus and electronic equipment.Present invention method includes:In live platform main broadcaster new destination direct broadcasting room, obtain live platform main broadcaster and select live target game classification, the first classification using target game as the target direct broadcasting room;The game data of live game is obtained using the injection module added in advance in target game;The target game object of target game is determined according to game data, the second classification using target game object as target direct broadcasting room, target direct broadcasting room is categorized into the target game object classification of target game.The embodiment of the present invention can be classified by the ongoing live game of injection module automatic identification net cast platform main broadcaster added in gaming, without human intervention, be greatly saved human cost, improve classification effectiveness to direct broadcasting room automatically.
Description
Technical field
The present invention relates to video display arts field, more particularly to a kind of game classification method, apparatus and electronic equipment.
Background technology
At present, as the progress of the network communications technology and the speed-raising of broadband network, network direct broadcasting have obtained more and more
Development and application.Especially in live field of playing, increasing spectators can watch the live of game main broadcaster.
For game is live, main broadcaster is substantial amounts of so as to attract by playing game while explaining the playing method of game
Spectators are watched.For the role playing game having, it has in playing, and numerous game roles is available, and main broadcaster is played
When a game can be selected to be played.Spectators tend to watch known to oneself when watching live to play, 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, and it has crowd in playing
More is heroic available, and a hero can be selected to carry out local exchange game when main broadcaster is played.Spectators are when watching live
Tend to watch hero known to oneself, so as to the playing method for being learnt with exchanging hero.Therefore for live platform
For, the hero that select when can be live to current this innings of main broadcaster of main broadcaster classifies, same heroic live to be assigned to
In one classification, when such spectators carry out watching live, very easy can is entered in specific hero's classification and watched
Corresponding hero's is live, so as to judge the hero of current anchor without opening each direct broadcasting room, is provided greatly to spectators
It is convenient.
But these role playing games are not typically live platform development, so as to which live platform can not obtain current master
The role to play is broadcast, current rule of doing is to recruit substantial amounts of personnel to be first familiar with all roles, when then main broadcaster is live,
Go to watch live, see that what the role that main broadcaster is played is, be then categorized into the direct broadcasting room for entering to be about to main broadcaster of craft corresponding to
In role category.For the main broadcaster of each live such a role play, each innings of game be required for it is artificial classify, this
Kind way needs to consume substantial amounts of manpower.
The content of the invention
The embodiments of the invention provide one kind game classification method, apparatus and electronic equipment, to solve prior art middle reaches
The problem of live needs of playing manually are classified, and efficiency is low.
In a first aspect, this application provides game sorting technique, this method includes:
In live platform main broadcaster new destination direct broadcasting room, obtain live platform main broadcaster and select live target game point
Class, the first classification using the target game as the target direct broadcasting room;
The game data of live game is obtained using the injection module added in advance in target game;
The target game object of 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 categorized 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 advance in target game
Before step, methods described 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 logical of the injection module and the target game process
Letter.
Further, described the step of writing name pipeline, including:
Employ Windows API Function CreateNamedPipe creates name pipe service end;
The addition name pipeline client in target game, the name pipeline client is the injection module;
Establish name pipeline client and name the connection at pipe service end.
Further, the game data that live game is obtained using the injection module added in advance in target game
The step of, including:
After target game process is by naming pipeline client to be connected with name pipe service end, by naming pipeline client
Hold call function WriteFile to obtain the game data of the target game, and be sent to the name pipe service end, its
In, the game data includes the target game object information of the target game;
By naming pipe service end to receive the game data that the name pipeline client is sent;
It is described the target game is determined according to the game data target game object the step of, including:
The game that name pipeline client sends over is read by naming pipe service end call function ReadFile
Data, determine the target game object of the target game.
Further, in the game number that live game is obtained using the injection module added in advance in target game
According to the step of before, methods described 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, and the device includes:
First acquisition module, in live platform main broadcaster new destination direct broadcasting room, obtaining live platform main broadcaster selection
Live target game classification, the first classification using the target game as the target direct broadcasting room;
Second acquisition module, for obtaining the game of live game using the injection module added in advance in target game
Data;
Determining module, for determining the target game object of the target game according to the game data, with the mesh
Second classification of the game object for the target direct broadcasting room is marked, described second is categorized as the subclass of first classification;
Sort module, during the target game object for the target direct broadcasting room to be categorized into the target game is classified.
Further, described device also includes:
Module is write, for obtaining the game number of target game using the injection module added in advance in target game
According to the step of before, write name pipeline, the name pipeline includes name pipeline client and name pipe service end, described
It is the injection module to name pipeline client, 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 creates name pipe service end;
The addition name pipeline client in target game, the name pipeline client is the injection module;
Establish name pipeline client and name the connection at pipe service end.
Further, second acquisition module is specifically used for:
After target game process is by naming pipeline client to be connected with name pipe service end, by naming pipeline client
Hold call function WriteFile to obtain the game data of the target game, and be sent to the name pipe service end, its
In, the game data includes the target game object information of the target game;By naming pipe service end to receive institute
State the game data that name pipeline client is sent;
The determining module is specifically used for:
The game that name pipeline client sends over is read by naming pipe service end call function ReadFile
Data, determine the target game object of the target game.
The third aspect, the present invention also provide a kind of electronic equipment, including:Memory, processor and is stored in the storage
On device and the computer program that can run on the processor, wherein, can during computer program described in the computing device
To realize any described method in first aspect.
Fourth aspect, the present invention also provide a kind of computer-readable recording medium, are stored thereon with computer program, the journey
Any described method in first aspect is realized when sequence is executed by processor.
The embodiment of the present invention is selected directly by live platform main broadcaster new destination direct broadcasting room, obtaining live platform main broadcaster
The target game classification broadcast, the first classification using target game as the target direct broadcasting room;Using adding in advance in target game
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 classified for the second 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 entered by the injection module automatic identification net cast platform main broadcaster added in gaming
Capable live game, classifies to direct broadcasting room automatically, without human intervention, is greatly saved human cost, improves point
Class efficiency.
Brief description of the drawings
Fig. 1 is one embodiment schematic diagram of game sorting technique in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of game sorting technique of the embodiment of the present invention;
Fig. 3 is step of embodiment of the present invention S105 one embodiment schematic diagram;
Fig. 4 is one embodiment schematic diagram of step S102 in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram for sorting technique of playing 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.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects
Enclose.
The (if present)s such as term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing
It is for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that the number so used
According to can exchange in the appropriate case, so as to the embodiments described herein can with except the content for illustrating or describing herein with
Outer order is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover non-exclusive bag
Contain, for example, containing the process of series of steps or unit, method, system, product or equipment is not necessarily limited to what is clearly listed
Those steps or unit, but may include not listing clearly or intrinsic for these processes, method, product or equipment
Other steps or unit.
Sorting technique of being played in the embodiment of the present invention is applied to game sorter, and the device is located in electronic equipment, should
Electronic equipment can have display screen in the electronic equipments such as mobile phone, tablet personal computer or PC or future
Electronic equipment etc..
Referring to Fig. 1, the one embodiment for sorting technique of being played in the embodiment of the present invention includes:
S101, in live platform main broadcaster new destination direct broadcasting room, obtain live platform main broadcaster and select live target trip
Play classification, the first classification using the target game as 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
It is live that new direct broadcasting room progress can also be created.
S102, the game data using the injection module acquisition live game added in advance in target game;
S103, the target game object for determining according to the game data target game, with the target game pair
As the second classification for the target direct broadcasting room;
Wherein, described second the described first subclass classified is categorized as, i.e., first is categorized as classification of playing, the second classification
For the game object classification in game, for example, first is categorized as " king's honor " game, second is categorized 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 selected directly by live platform main broadcaster new destination direct broadcasting room, obtaining live platform main broadcaster
The target game classification broadcast, the first classification using target game as the target direct broadcasting room;Using adding in advance in target game
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 classified for the second 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 entered by the injection module automatic identification net cast platform main broadcaster added in gaming
Capable live game, classifies to direct broadcasting room automatically, without human intervention, is greatly saved human cost, improves point
Class efficiency.
As shown in Fig. 2 in some embodiments of the invention, obtained using the injection module added in advance in target game
Before the step of taking the game data of target game, present invention game sorting technique can also include:
S105, name pipeline is write, the name pipeline includes name pipeline client and name pipe service end, described
It is the injection module to name pipeline client, and the name pipeline is for the injection module and the target game process
Communication.
It is to complete the communication between process by network to name pipeline, and it shields the procotol details of bottom, passes through
Name pipeline the present embodiment realizes the communication in live platform software and game process between injection module.In name pipeline
In, by injection module as name pipeline client in the present embodiment, live platform software is as name pipe service end.First
Live platform service end creates a name pipeline, then waits name pipeline client to connect.Once the injection mould write
Block (name pipeline client) is injected into brought into operation in target game process after, the injection module can go to connect this name pipe
Road service end, once pipe service end is named in connection, then can realizes the injection mould in live software and target game
Block is communicated.
As shown in figure 3, in some embodiments of the invention, this writes the step of naming pipeline, can specifically include:
S1051, Employ Windows API Function CreateNamedPipe create 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 as target game injection module by naming pipe service end name
Name pipe service end.
S1052, the addition name pipeline client in target game;
Wherein, the name pipeline client is the injection module;
S1053, establish name pipeline client and name the connection at pipe service end.
In the present embodiment, name pipeline client connects name pipe service end by call function CreateFile,
And the response at name pipe service end is waited by call 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 embodiments of the invention, the step S102 can specifically include:
S1021, target game process by name pipeline client and name pipe service end be connected 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;
Wherein, the game data includes the target game object information of the target game;
S1022, the game data by naming the reception name pipeline client in pipe service end to send;
Now above-mentioned steps S103 can specifically include:
The game that name pipeline client sends over is read by naming pipe service end call function ReadFile
Data, determine the target game object of the target game.
In the present embodiment, by naming pipeline to realize live software and the injection mould being injected into target game process
Block is communicated, so as to which game object name information corresponding to main broadcaster is transferred to software corresponding to main broadcaster.
As shown in figure 5, in other embodiments of the invention, the injection added in advance in target game is utilized described
Before module obtains the step of game data of live game, the game sorting technique can also include:
S106, created in target game process by Windows API calls CreateRemoteThread it is long-range
Thread;
S107, the injection module loaded by the remote thread calling system function LoadLibrary.
Specific implementation is as follows:
(1) in being distributed by WindowsAPI function VirtualAllocEx functions in the memory headroom of target process
Deposit.
(2) the WindowsAPI functions WriteProcessMemory injection modules for injecting the needs write are passed through
Disk path is written in the allocated internal memory (memory headroom for being specially the target process of distribution in step (1)).
(3) Employ Windows API Function CreateRemoteThread functions 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.So it is achieved that and creates a remote thread in target process,
One injection module is loaded by thread, realizes the function that an injection module is injected to target process.
Being achieved that by above-mentioned steps will be injected into game process for the injection module for obtaining game object data
Function, so as to for subsequent processes between communicate provide possibility.
In the embodiment of the present invention, obtain the target above by name pipeline client call function WriteFile and swim
The step of game data of play, it can specifically be played by the Dynamic Debugging Tool WinDbg that Windows is provided come dynamic debugging
Process, find the pointer of the game object of target game.The pointer of game object and it is corresponding with game process be then an internal memory
Address.The data area of the game object is then known that by the memory address, the data area generally can all store game
The related 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..By finding the pointer of the game object, game object can be got from the pointer of the game object
Name information.
As shown in fig. 6, in other embodiments of the invention, can specifically include in above-mentioned steps S104:
S1041, in live platform main broadcaster new destination direct broadcasting room, acquisition preset in target game game object with
The corresponding relation of game classifying and numbering;
In the present embodiment, the corresponding relation of game object and game classifying and numbering in the pre-set target game of meeting, with
King's honor is played, and its all hero (game object) is fixed quantity, and each heroic (game object) has one
Unique title, the present embodiment can then get all heroic lists from game, and can also obtain all heroes
Title, so as to which hero (game object) name list of a full dose may finally be got.To each hero's (game pair
As) all it is numbered title, form one-to-one relation.Such as heroic title is Zhuge Liang, its reference numeral is
00001, such as heroic title is terrible millet, its reference numeral is 00002, and all heroes can be numbered successively.Shape
Into the unique corresponding relation of heroic title and numbering (i.e. the corresponding relation of game object and game classifying and numbering).
S1042, the classifying and numbering for determining according to the corresponding relation target game object;
In the case where target game object determines, you can the classification of the game object is got according to above-mentioned corresponding relation
Numbering, for example, game object is terrible millet in the game of king's honor, its reference numeral is 00002.
S1043, the classifying and numbering according to the target game object, the target direct broadcasting room is categorized into the target and swum
The target game object classification of play.
By the target game object determined in step S103, then can by step S1042 to game object and its
The corresponding relation of numbering, it may thereby determine that the reference numeral of game object, then can be according to the numbering of target game object
Come in game object classification corresponding to being classified into, whole process realizes automatic identification, without human intervention, greatly
Human cost is saved, improves game classification effectiveness.
The embodiment for sorter of being played in the embodiment of the present invention is described below.
Referring to Fig. 7, one embodiment schematic diagram for sorter of being played in the embodiment of the present invention of position, the device include:
First acquisition module 701, in live platform main broadcaster new destination direct broadcasting room, obtaining live platform main broadcaster choosing
Live target game classification is selected, the first classification using the target game as the target direct broadcasting room;
Second acquisition module 702, for obtaining live game using the injection module added in advance in target game
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 categorized as the subclass of first classification;
Sort module 704, the target game object for the target direct broadcasting room to be categorized into the target game are classified
In.
Further, as shown in figure 8, described device also includes:
Module 705 is write, for obtaining the trip of target game using the injection module added in advance in target game
Before the step of data of playing, 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 injection module and the target game enters
The communication of journey.
Further, the module 705 of writing is specifically used for:
Employ Windows API Function CreateNamedPipe creates name pipe service end;
The addition name pipeline client in target game, the name pipeline client is the injection module;
Establish name pipeline client and name the connection at pipe service end.
Further, second acquisition module 702 is specifically used for:
After target game process is by naming pipeline client to be connected with name pipe service end, by naming pipeline client
Hold call function WriteFile to obtain the game data of the target game, and be sent to the name pipe service end, its
In, the game data includes the target game object information of the target game;By naming pipe service end to receive institute
State the game data that name pipeline client is sent;
The determining module 703 is specifically used for:
The game that name pipeline client sends over is read by naming pipe service end call function ReadFile
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, the processor 902 can realize above-mentioned game sorting technique when performing the computer program 903.
It should be noted that the electronic equipment that the application is related to include but is not limited to be:Mobile terminal (mobile phone, intelligent hand
Machine, PAD, notebook computer etc.), fixed terminal (computer).
For convenience of description, the part related to the embodiment of the present invention is illustrate only, particular technique details does not disclose, please
With reference to present invention method part.Memory 901 can be used for storage computer program 903, and above computer program includes
Software program, module and data, processor 902 perform the computer program 903 for being stored in memory 901 by running, so as to
Perform various function application and the data processing of electronic equipment.
In specific implementation process, memory 901 can be used for storage software program and module, processor 902 to pass through
Operation is stored in the software program and module of memory 901, so as to perform the various function application of electronic equipment and data
Processing.Memory 901 can mainly include storing program area and storage data field, wherein, storing program area can storage program area,
Application program (such as game class application program, chat class application program) needed at least one function etc.;Storage data field can
Storage uses created data (game configuration data, voice data) etc. according to electronic equipment.In addition, memory 901 can
Including high-speed random access memory, nonvolatile memory can also be included, a for example, at least disk memory, 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 whole electronic equipment of connection, by run or perform the software program that is 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 performed, so as to 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, application processor mainly handles operating system, user interface and application program etc..
The embodiment of the present invention also provides a kind of computer-readable recording medium, wherein, the computer-readable recording medium can
Have program stored therein, the program includes the part or all of step of the game sorting technique described in the above method embodiment when performing
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, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. one kind game sorting technique, it is characterised in that methods described includes:
In live platform main broadcaster new destination direct broadcasting room, obtain live platform main broadcaster and select live target game classification, with
The target game is classified for the first of the target direct broadcasting room;
The game data of live game is obtained using the injection module added in advance in target game;
The target game object of the target game is determined according to the game data, using the target game object as the mesh
The second classification of direct broadcasting room is marked, described second is categorized as the subclass of first classification;
The target direct broadcasting room is categorized into the target game object classification of the target game.
2. according to the method for claim 1, it is characterised in that utilizing the injection module added in advance in target game
Before the step of obtaining the game data of target game, methods described 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 for claim 2, it is characterised in that described the step of writing name pipeline, including:
Employ Windows API Function CreateNamedPipe creates name pipe service end;
The addition name pipeline client in target game, the name pipeline client is the injection module;
Establish name pipeline client and name the connection at pipe service end.
4. according to the method for claim 3, it is characterised in that described to utilize the injection mould added in advance in target game
Block obtains the step of game data of live game, including:
After target game process is by naming pipeline client to be connected with name pipe service end, by naming pipeline client to adjust
The game data of the target game is obtained with function WriteFile, and is sent to the name pipe service end, wherein, institute
Stating game data includes the target game object information of the target game;
By naming pipe service end to receive the game data that the name pipeline client is sent;
It is described the target game is determined according to the game data target game object the step of, including:
The game data that name pipeline client sends over is read by naming pipe service end call function ReadFile,
Determine the target game object of the target game.
5. according to the method for claim 4, it is characterised in that utilize the injection added in advance in target game described
Before module obtains the step of game data of live game, methods described 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. one kind game sorter, it is characterised in that described device includes:
First acquisition module, it is live in live platform main broadcaster new destination direct broadcasting room, obtaining live platform main broadcaster selection
Target game classification, using the target game for the target direct broadcasting room first classify;
Second acquisition module, for obtaining the game number of live game using the injection module added in advance in target game
According to;
Determining module, for determining the target game object of the target game according to the game data, swum with the target
Object of playing is classified for the second of the target direct broadcasting room, and described second is categorized as the subclass of first classification;
Sort module, during the target game object for the target direct broadcasting room to be categorized into the target game is classified.
7. device according to claim 6, it is characterised in that described device also includes:
Module is write, for obtaining the game data of target game using the injection module added in advance in target game
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 used for the logical of the injection module and the target game process
Letter.
8. device according to claim 6, it is characterised in that the module of writing is specifically used for:
Employ Windows API Function CreateNamedPipe creates name pipe service end;
The addition name pipeline client in target game, the name pipeline client is the injection module;
Establish name pipeline client and name the connection at pipe service end.
9. device according to claim 6, it is characterised in that
Second acquisition module is specifically used for:
After target game process is by naming pipeline client to be connected with name pipe service end, by naming pipeline client to adjust
The game data of the target game is obtained with function WriteFile, and is sent to the name pipe service end, wherein, institute
Stating game data includes the target game object information of the target game;By naming pipe service end to receive the name
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 naming pipe service end call function ReadFile,
Determine the target game object of the target game.
10. a kind of electronic equipment, it is characterised in that including:Memory, processor and is stored on the memory and can be in institute
The computer program run on processor is stated, wherein, it can realize that right will during computer program described in the computing device
Seek 1 to 5 any described 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 true CN107609065A (en) | 2018-01-19 |
CN107609065B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737846A (en) * | 2018-05-25 | 2018-11-02 | 广州虎牙信息科技有限公司 | Direct broadcasting room display methods, device, server and medium |
CN109889861A (en) * | 2019-03-13 | 2019-06-14 | 广州市网星信息技术有限公司 | A kind of theme live broadcasting method, device, system, equipment and storage medium |
CN113115071A (en) * | 2018-05-25 | 2021-07-13 | 广州虎牙信息科技有限公司 | Live broadcast room information pushing method, device, equipment and medium |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101145995A (en) * | 2007-10-15 | 2008-03-19 | 华为技术有限公司 | Method and device for recognizing data streams in multi-person online role playing game |
CN101183999A (en) * | 2007-10-31 | 2008-05-21 | 北京航空航天大学 | Mobile self-organization network scene constructing method using game data |
US20090325706A1 (en) * | 2008-06-27 | 2009-12-31 | Microsoft Corporation | Live hosting toolset |
CN101751513A (en) * | 2009-12-23 | 2010-06-23 | 厦门市吉比特网络技术有限公司 | Turn-based online game implementation method based on distributed server |
CN101751460A (en) * | 2009-12-25 | 2010-06-23 | 北京畅游天下网络技术有限公司 | Data binding method, device and system |
CN102355489A (en) * | 2011-08-17 | 2012-02-15 | 焦秀琴 | Method, system, server and client side for displaying and operating 3D (Three-Dimensional) game |
CN102527039A (en) * | 2010-12-30 | 2012-07-04 | 德信互动科技(北京)有限公司 | Sound effect control device and method |
CN102984124A (en) * | 2012-10-31 | 2013-03-20 | 北京昆仑万维科技股份有限公司 | Method and system capable of fast embedding client-side game program to browser |
CN105944378A (en) * | 2016-05-12 | 2016-09-21 | 武汉斗鱼网络科技有限公司 | Task configuration system and method of web game |
CN106339300A (en) * | 2016-08-12 | 2017-01-18 | 武汉斗鱼网络科技有限公司 | Method and system for acquiring FPS of third-party game |
CN106503787A (en) * | 2016-10-26 | 2017-03-15 | 腾讯科技(深圳)有限公司 | A kind of method for obtaining game data and electronic equipment |
CN107147955A (en) * | 2017-03-31 | 2017-09-08 | 武汉斗鱼网络科技有限公司 | The method and device of live game |
CN108881949A (en) * | 2018-05-25 | 2018-11-23 | 广州虎牙信息科技有限公司 | Direct broadcasting room information-pushing method, device, equipment and medium |
CN109246441A (en) * | 2018-09-30 | 2019-01-18 | 武汉斗鱼网络科技有限公司 | Wonderful time video automatic generation method, storage medium, equipment and system |
CN109525851A (en) * | 2018-11-12 | 2019-03-26 | 咪咕互动娱乐有限公司 | Live broadcasting method, device and storage medium |
CN109547819A (en) * | 2018-11-23 | 2019-03-29 | 广州虎牙信息科技有限公司 | List methods of exhibiting, device and electronic equipment is broadcast live |
-
2017
- 2017-08-30 CN CN201710762404.8A patent/CN107609065B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101145995A (en) * | 2007-10-15 | 2008-03-19 | 华为技术有限公司 | Method and device for recognizing data streams in multi-person online role playing game |
CN101183999A (en) * | 2007-10-31 | 2008-05-21 | 北京航空航天大学 | Mobile self-organization network scene constructing method using game data |
US20090325706A1 (en) * | 2008-06-27 | 2009-12-31 | Microsoft Corporation | Live hosting toolset |
CN101751513A (en) * | 2009-12-23 | 2010-06-23 | 厦门市吉比特网络技术有限公司 | Turn-based online game implementation method based on distributed server |
CN101751460A (en) * | 2009-12-25 | 2010-06-23 | 北京畅游天下网络技术有限公司 | Data binding method, device and system |
CN102527039A (en) * | 2010-12-30 | 2012-07-04 | 德信互动科技(北京)有限公司 | Sound effect control device and method |
CN102355489A (en) * | 2011-08-17 | 2012-02-15 | 焦秀琴 | Method, system, server and client side for displaying and operating 3D (Three-Dimensional) game |
CN102984124A (en) * | 2012-10-31 | 2013-03-20 | 北京昆仑万维科技股份有限公司 | Method and system capable of fast embedding client-side game program to browser |
CN105944378A (en) * | 2016-05-12 | 2016-09-21 | 武汉斗鱼网络科技有限公司 | Task configuration system and method of web game |
CN106339300A (en) * | 2016-08-12 | 2017-01-18 | 武汉斗鱼网络科技有限公司 | Method and system for acquiring FPS of third-party game |
CN106503787A (en) * | 2016-10-26 | 2017-03-15 | 腾讯科技(深圳)有限公司 | A kind of method for obtaining game data and electronic equipment |
CN107147955A (en) * | 2017-03-31 | 2017-09-08 | 武汉斗鱼网络科技有限公司 | The method and device of live game |
CN108881949A (en) * | 2018-05-25 | 2018-11-23 | 广州虎牙信息科技有限公司 | Direct broadcasting room information-pushing method, device, equipment and medium |
CN109246441A (en) * | 2018-09-30 | 2019-01-18 | 武汉斗鱼网络科技有限公司 | Wonderful time video automatic generation method, storage medium, equipment and system |
CN109525851A (en) * | 2018-11-12 | 2019-03-26 | 咪咕互动娱乐有限公司 | Live broadcasting method, device and storage medium |
CN109547819A (en) * | 2018-11-23 | 2019-03-29 | 广州虎牙信息科技有限公司 | List methods of exhibiting, device and electronic equipment is broadcast live |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737846A (en) * | 2018-05-25 | 2018-11-02 | 广州虎牙信息科技有限公司 | Direct broadcasting room display methods, device, server and medium |
CN108737846B (en) * | 2018-05-25 | 2019-06-14 | 广州虎牙信息科技有限公司 | Direct broadcasting room display methods, device, server and medium |
CN113115071A (en) * | 2018-05-25 | 2021-07-13 | 广州虎牙信息科技有限公司 | Live broadcast room information pushing method, device, equipment and medium |
CN109889861A (en) * | 2019-03-13 | 2019-06-14 | 广州市网星信息技术有限公司 | A kind of theme live broadcasting method, device, system, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107609065B (en) | 2019-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107569848A (en) | One kind game classification method, apparatus and electronic equipment | |
CN106507180B (en) | A kind of method and terminal of video processing | |
CN104679851B (en) | A kind of data-erasure method and terminal | |
CN102541259A (en) | Electronic equipment and method for same to provide mood service according to facial expression | |
CN106878767A (en) | Video broadcasting method and device | |
CN107995285A (en) | Method for information display, device, server and readable storage medium storing program for executing | |
CN107609065A (en) | One kind game classification method, apparatus and electronic equipment | |
CN104050353A (en) | Effectuating Modifications Within An Instance Of Virtual Space Responsive To Detection Of A Token | |
CN110052035A (en) | The recording method of chat message and device, storage medium, electronic device in game | |
CN107333095A (en) | The processing system of media resource | |
CN107648854B (en) | Game classification method and device and electronic equipment | |
CN109271038A (en) | Candidate words recommending method, terminal and computer readable storage medium | |
CN105933784A (en) | Bullet screen play and conversion method, bullet screen player, server, and play system | |
CN108668147A (en) | A kind of method and mobile terminal of optimization live streaming application | |
CN103893970A (en) | Managing objectives associated with a virtual space based on characters made accessible responsive to corresponding tokens being detected | |
CN105992029A (en) | Wallpaper recommendation method and system, server, and mobile terminal | |
CN112245924A (en) | Method and device for generating non-player character, storage medium and electronic equipment | |
CN110505490A (en) | Multi-medium data recognition methods and system | |
CN106230999A (en) | A kind of contact person information processing method, terminal and server | |
CN106488161A (en) | Electronic equipment screen video data obtains system, method and apparatus | |
CN106682014A (en) | Game display data generation method and device | |
CN106899558A (en) | The treating method and apparatus of access request | |
CN111510746B (en) | Media resource delivery method and device, storage medium and electronic device | |
CN109218740A (en) | Display methods, storage medium, electronic equipment and the system of double screen video flowing | |
CN105871662A (en) | Protocol recording and replay method and terminal |
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. |