Movatterモバイル変換


[0]ホーム

URL:


CN106390459A - A game data acquiring method and device - Google Patents

A game data acquiring method and device
Download PDF

Info

Publication number
CN106390459A
CN106390459ACN201610832284.XACN201610832284ACN106390459ACN 106390459 ACN106390459 ACN 106390459ACN 201610832284 ACN201610832284 ACN 201610832284ACN 106390459 ACN106390459 ACN 106390459A
Authority
CN
China
Prior art keywords
game
picture
data
role
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610832284.XA
Other languages
Chinese (zh)
Inventor
韩朋村
曹飞
曹潇彬
钟李平
马跃磊
高荣
王三权
应小全
韦宇
王嘉寅
周杰
周灼亮
王新敏
陈瑞滢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN201610832284.XApriorityCriticalpatent/CN106390459A/en
Publication of CN106390459ApublicationCriticalpatent/CN106390459A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention provides a game data acquiring method and device. According to the technical solution of the embodiments, the method comprises the steps of after a terminal receives a violation report request input by a user, acquiring frame data of game frames output by a game process in response to the violation report request; from game roles contained in the game frames, determining to-be-analyzed target game roles; sending the frame data and the information of the target game roles to a specified analysis server. Thus, a game service system can acquire the frame data of game frames containing violation behavior more accurately and role behavior violating game rules can be located rapidly and accurately.

Description

A kind of game data acquisition methods and device
Technical field
The application is related to communication technical field, more particularly, to a kind of game data acquisition methods and device.
Background technology
With the continuous development of online game, the sports class game that two people or many people are fought increasingly is played by gameFamily is liked.In the scene of sports class game, game player can carry out game operation according to game rule.
At present, often there is some game players and using the leak of game itself or utilize other cheating programs to tripPlay service data carries out malice and distorts, and changes the purposes such as game role ability so that the behavior of game role does not meet to reachGame rule, have impact on the safety of game, also cannot ensure the fairness of sports between different game players.In order to identifyThe role playing behavior of game rule is violated, the service system in online game is (e.g., for carrying out the clothes of data analysiss in online gameBusiness device) need the behavioral data of game role in online game is analyzed, but the game role of service system acquisitionBehavioral data has blindness, is unfavorable for that service system comprehensively and accurately orients the role playing behavior of illegal game rule.
Content of the invention
In view of this, this application provides a kind of game data acquisition methods and device, so that the service system of gameMore can accurately obtain the picture data of the game picture comprising unlawful practice, be conducive to fast accurate orients violationThe role playing behavior of game rule.
For achieving the above object, on the one hand, the embodiment of the present application provides a kind of game data acquisition methods, including:
The violation report request of receiving user's input;
Report request in response to described violation, obtain the picture data of the game picture of game process output;
From the game role that described game picture is comprised, determine target game role to be analyzed;
The information of described picture data and described target game role is sent to the Analysis server specified.
On the other hand, the embodiment of the present application additionally provides a kind of game data acquisition device, including:
Request reception unit, for the violation report request of receiving user's input;
Data capture unit, for reporting request in response to described violation, obtains the game picture of game process outputPicture data;
Role's determining unit, for, from the game role that described game picture is comprised, determining target to be analyzedGame role;
Data transmission unit, for the information of described picture data and described target game role is sent to specify pointAnalysis server.
Understand via above-mentioned technical scheme, when terminal receives the violation report request of user input, obtain gameThe picture data of the game picture of process output;From the game role that game picture is comprised, determine target to be analyzedGame role, and the information of the picture data getting and target game role is sent to the Analysis server specified, so,When the role playing behavior of game player's some game roles in finding game picture is abnormal, can with triggering terminal active reporting theseThe information of game role and include these game role Deviant Behavioies game picture so that Analysis server can have pinThe dystropic data of game role is reflected to getting of property, thus being conducive to Analysis server positioning promptly and accurately to go on a tourUnlawful practice in play.
Brief description
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to embodiment or existingHave technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only thisThe embodiment of application, for those of ordinary skill in the art, on the premise of not paying creative work, can also basisThe accompanying drawing providing obtains other accompanying drawings.
Fig. 1 is a kind of composition structural representation of data-acquisition system disclosed in the embodiment of the present application;
Fig. 2 is a kind of schematic flow sheet of data capture method disclosed in the embodiment of the present application;
Fig. 3 is another schematic flow sheet of data capture method disclosed in the embodiment of the present application;
Fig. 4 is another schematic flow sheet of data capture method disclosed in the embodiment of the present application;
Fig. 5 is a kind of composition structural representation of data acquisition facility disclosed in the embodiment of the present application;
Fig. 6 is a kind of structural representation of terminal disclosed in the embodiment of the present application.
Specific embodiment
The violation report of user input in the game data acquisition methods of the embodiment of the present application and device, is received in terminalDuring request, obtain the picture data of the game picture of game process output;From the game role that game picture is comprised, determineGo out target game role to be analyzed;Then, the information of the picture data getting and target game role is sent to specifiedAnalysis server so that when the role playing behavior of game player's some game roles in finding game picture is abnormal, can touchSend out the information of terminal these game roles of active reporting and the game picture that includes these game role Deviant Behavioies so thatAnalysis server can targetedly get the reflection dystropic data of game role, thus being conducive to Analysis serverThe unlawful practice oriented in game promptly and accurately.
The data game acquisition methods of the embodiment of the present application and device can apply to run the terminal of game application, shouldTerminal is it can be appreciated that game client.As, this terminal can for run the desk computer that have game application, notebook,Mobile phone etc. terminal.
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, completeSite preparation describes it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based onEmbodiment in the application, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative workEmbodiment, broadly falls into the scope of the application protection.
Fig. 1 obtains a kind of composition structural representation of system, the game number shown in Fig. 1 for the game data that the application providesThe game data acquisition methods of the embodiment of the present application offer can be implemented according to acquisition system, the game providing with reference to Fig. 1, the applicationData-acquisition system can include:
The service system 10 of game application and multiple operation have the terminal 11 applied of playing.
Wherein, service system 10 can include Analysis server 101 and at least one service server 102, and this business takesBusiness device 102 can provide for terminal and run the required game data of this game application;Specifically, this service system can include manyPlatform service server, this multiple stage service server can be deployed in same machine room it is also possible to be distributed across multiple differentlyQu Zhong.This service system can provide a or many money game.The game picture that this Analysis server 101 can be reported with receiving terminalThe picture data in face, and the data of terminal to report is analyzed.
This terminal 11 is passed through to run this game application, and is applied to the foundation communication connection of this service system based on this game,To ask to run the required game service data of certain money game to this service system;Meanwhile, in the embodiment of the present application, this terminalViolation report request that user input can also be will be responsive to and the picture data of game picture getting and determineThe information of target game role to be analyzed is sent in service system and is used for carrying out the Analysis server 101 of data analysiss.
It is understood that this Analysis server 101 can be with the game service number providing the terminal with needed for running gameAccording to service server 102 be same server or being used only for of being independently arranged carries out game screen data and divideThe server of analysis.
System is obtained based on the game data shown in Fig. 1, will be described from the angle of terminal below, as shown in Figure 2The schematic flow sheet of the embodiment of game data acquisition methods that the application provides, this flow process comprises the following steps:
S201, the violation report request of receiving user's input.
After game application is started on terminal, game application call game process so that this game process of terminal operating,Realize certain online game is run on terminal.During terminal operating game process, if the use as game playerFamily finds that unlawful practice in certain game role in online game, then this user can report please in violation of rules and regulations to terminal inputAsk.
Wherein, this reports that request captures the picture data of the game picture of game process output for triggering terminal in violation of rules and regulations.When this report request in violation of rules and regulations of user input, then show to the user discover that in the game picture that game process is exported there is unlawful practiceGame role.Unlawful practice and can have many forms in game role, e.g., after certain game role is attacked, shouldThe blood volume of game role should reduce, but how this game role by after lasting multiple attack, the blood volume of this game role is butDo not change, then illustrate that this game role is probably to achieve game row in violation of rules and regulations using game leak or game are plug-inFor.Certainly, the unlawful practice of game role can also have other forms of expression, numerous to list herein.
Wherein, the mode of user input in violation of rules and regulations report request can have multiple, e.g., can be click on specifying in terminal byKey, or it is click on certain button present in game picture;Can also be in the game picture by showing in terminalCarry out assigned operation, so that terminal determines that the current input operation of this user is the trigger input operation that report is asked in violation of rules and regulations.
S202, in response to this report request in violation of rules and regulations, obtains the picture data of the game picture of game process output.
Wherein, the picture data obtaining the game picture of game process output can have multiple situations:
In a kind of possible implementation:The picture data of the game picture of the current output of game process can be obtained,Specifically, can be obtain the currently displaying output of game process game picture picture data.
As the data of the picture of current output in the display interface of terminal can be cached in video card, then terminal can be from readingTake the picture data in caching in video card, thus obtaining the picture data of the game picture of the current output of this game process.And for example,Game process can cache the picture data of the game picture of current output, and such terminal can ask this game to game processThe picture data of the game picture of the current output of process.It is, of course, also possible to there be other modes currently to export obtaining game processGame picture picture data, will not be described here.
The picture data of game process game picture to be output in alternatively possible implementation, can be intercepted and captured.In that case, the game picture intercepting can be single frames game picture, that is, intercept game process currently to be outputThe picture data of frame game picture.The game picture intercepted and captured can also be the multiframe game picture of the game process output recorded,That is, the picture data of multiframe game picture to be output after intercepting game process current time.As according between the default timeEvery, every this default time interval, triggering intercepts the picture data of a game process frame game picture currently to be output, fromAnd obtain the picture data of multiframe game picture.
Wherein, the mode of the intercepting and capturing game process picture data of game picture currently to be output can be:From video cardIntercept the currently picture data to be output to display interface, thus obtaining comprising this game process game picture currently to be outputPicture data;Can also be:Send game picture request to game process, so that game process responds this game picture and asksSeek the picture data returning game picture currently to be output.It is, of course, also possible to have other modes come to intercept and capture game process treat defeatedThe multiframe game picture going out, will not be described here.
It is understood that need obtain game process output multiframe game picture in the case of, obtain play intoThe picture data of the game picture of journey output can also be game picture and the game process obtaining the current output of game processThe picture data of specified number of frames game picture to be output after current time.
S203, from the game role that this game picture is comprised, determines target game role to be analyzed.
Wherein, game role to be analyzed is some in the game picture getting in step 203 or multiple tripPlay role.Game role to be analyzed may be considered the game angle that there may be unlawful practice in the game picture gettingColor.For the ease of distinguishing, in the embodiment of the present application, the game role to be analyzed determined is become target game role.
It is understood that the embodiment of the present application goes for the online game of many moneys, it is particularly suited for player and playerThe online game of battle.In that case, target game role can be the corresponding game role of certain game player.WhenSo, the online game that this game process is run can also be the online game of player and environment battle, in player and environment pairIn the online game of war, game role can be the game role corresponding to real gaming player or games system setsThe virtual game role putting.
Determine game role to be analyzed mode can have multiple, e.g., when the picture data of the game picture gettingFor a frame game picture picture data when, can be that the game role comprising in game picture is all defined as target game angleColor;When the picture data that the picture data of the game picture getting is multiframe game picture, can be by all game anglesColor is all as game role to be analyzed;Only can also be by the game angle included in the get first frame game pictureColor is as game role to be analyzed.
Optionally, in order in clear and definite game picture user think exist unlawful practice and need report game role, canSo that target game role to be analyzed is chosen by user.Specifically, terminal can first determine institute in the game picture gettingThe game role comprising, obtains at least one game role;Then, output includes selection circle of this at least one game roleFace, e.g., includes the information such as role's title or the role identification of this at least one game role, to use in this selection interfaceFamily selects some game role as the game role of the presence unlawful practice needing report;Accordingly, terminal is according to selectionSelection operation in interface, can determine target trip to be analyzed from least one game role that selection interface showsPlay role.
S204, the information of this picture data and target game role is sent to the Analysis server specified.
Wherein, the information of this target game role is used for identifying this target game role, e.g., the trip of target game rolePlayer account corresponding to play ID, game role title, game role etc..
The picture data of the game picture due to getting is that user thinks the game picture that there is unlawful practice, with analysisThe game picture once played that obtains at predetermined time intervals of server blindness is compared, in the violation report request institute by userTrigger the game picture getting and there is a possibility that unlawful practice is bigger, be more beneficial for Analysis server and orient row in violation of rules and regulationsFor.Meanwhile, the information of target game role to be analyzed in game picture is also sent to server, is conducive to server to have pinBehavioral data to game role in the analysis game picture of property, fast and accurately analyzes whether this target game role depositsIn unlawful practice.
Optionally, in the embodiment of the present application, after step 202, in order to reduce the picture data that storage getsAmount of storage, reduction carrying cost, and reduce the data volume of transmission, and improve data transmission efficiency, can be to the frame numbers gettingAccording to being processed, to reduce the data volume of the picture data getting.
As in one implementation, the picture data getting being compressed.Specifically, can first determineThe resolution of the game picture of game process output, determines the compression ratio of game picture, according to compression ratio pair according to this resolutionThe picture data of the game picture getting is compressed.
In another kind of implementation, the picture data getting can be entered row format conversion.As current game processThe game picture major part being exported is a kind of RGBA (RGB color) said shank, then can by this game picture byRGBA form is converted to a kind of YUV (colour coding method) coded format.Image or video data with transmission RGB coded formatTransmission is compared, and the advantage of the image of transmission YUV coding or the maximum of video data is only to take few frequency range.
In another kind of implementation, when the situation needing the picture data obtaining multiframe game picture in step 202.Under, analyze it is thus only necessary to be based on the first frame game picture due to during Analysis server analysis game role Deviant BehaviorThe diversity change of follow-up multiframe game picture, just can determine Deviant Behavior, therefore, is truncated to one in step 202. every timeFrame game picture, the frame game picture being all truncated to the frame game picture that this is truncated to the last time is contrasted,And the pixel that the frame game picture being truncated to this has differences with respect to the frame game picture that the last time is truncated toIt is encoded to a frame game picture to be stored, so, the game picture frame of storage is due to only comprising to have differences with previous framePixel, such that it is able to reduce the data volume of the game picture frame of storage, and then reduce subsequently to Analysis server transmissionData volume.
In order to make it easy to understand, separately below to intercept game process output single frames game picture, and record play intoThe multiframe game picture both of these case of journey output is introduced.
It is understood that obtain game process output game picture mode can have multiple, but when display circleThe corresponding display window of multiple different application is shown, the display window of the plurality of application that can simultaneously be stored with video card is worked as in faceFront windows content shown or to be shown, so, terminal cannot individually extract the game picture of game process outputPicture data, thus leading to get, data volume is larger, also increase the difficulty of Analysis server analysis.For example, show boundaryThe instant chat window of other instant messagings application in face in addition to the interface showing game process, may be shownMouthful, so, except including that game process currently exports or currently treating defeated in the picture data of direct access from video cardOutside the picture data of the game picture going out, also can include current exporting in instant messaging application or message to be outputContent.Therefore, in order to more accurately obtain the picture data of the game picture of game process output, with terminal directly from tripThe picture data that play process obtains the game picture of this game process output is preferred implementation.
Further, if game process is while exporting game picture, the trip of the also current output of caching game processThe picture data of play picture also will necessarily increase the storage burden of game process.It is understood that because game process is per secondThe game picture frame up to up to a hundred of output, and the picture difference of adjacent two frame game pictures in front and back is very little, is additionally, since gameBefore process shows game picture every time, it is required to the picture data first obtaining game picture to be output from service server simultaneouslyCaching, and when needing to export this game picture, exports corresponding game picture, therefore, terminal can directly intercept play intoThe picture data of Cheng Dangqian game picture to be output, so, both can get the game picture of reflection unlawful practice, and noGame process is needed individually to cache the picture data of the game picture of output, such that it is able to reduce the burden of game process, it is to avoidImpact is produced on game running.Therefore, in the application following examples, with obtain game process output game picture for tripIt is introduced as a example play process game picture to be output.
First in response to violation report request, only to obtain the picture of a game process frame game picture currently to be outputData instance is introduced.
In conjunction with Fig. 1, referring to Fig. 3, it illustrates a kind of flow process of the application game data another embodiment of acquisition methodsInteraction schematic diagram, the method for the present embodiment can include:
S301, during terminal is based on the game of game process operational network, terminal receives business by game processThe picture data of the game picture that server sends.
It is understood that before terminal shows the picture data of game picture, terminal can call game process, and leads toCross game process and ask the required game service data of operational network game to service server, so, service server is eventuallyEnd Resume Mission business datum, so that the game process operational network game of terminal.As terminal is based on game process to businessThe room of server request distribution game, so that the game player of this terminal can be with other game players one in this roomPlay sports.
It is based on game process registering service server in terminal, and after operational network game, when any in online gameOne game player is operated so that the game data of online game becomes in the interface that this game player is locatedAfter change, service server all can be updated to the game picture of online game, and will be anti-in real time for the game picture after updatingFeed each game player place terminal.
S302, terminal exports the picture data of game picture based on this game process and caches next frame game to be outputThe picture data of picture.
It is understood that due to the game process meeting real-time, interactive in service server and terminal, being entered with more new gameThe game picture of output in journey, therefore, while game process display output has a frame game picture, game process can be obtained employmentBusiness server obtains next frame game picture to be output and goes forward side by side row cache, with when reaching output next frame game pictureWhen, export this next frame game picture, meanwhile, continue to obtain the frame numbers of game picture subsequently to be output from service serverAccording to and cache, so circulate.
Certainly, in actual applications, the game process of terminal is likely to cache the game picture that multiframe needs are sequentially outputFace, in that case, the process that implements is similar to the present embodiment, because the present embodiment only needs only to obtain work as every timeThe last frame game picture needing output after the front moment, therefore, the present embodiment is cached with next frame with game processIt is introduced as a example game picture to be output.
S303, the violation report request of terminal receiving user's input.
S304, terminal response, in this report request in violation of rules and regulations, creates the shared drive shared with game process.
S305, terminal sends game picture request to game process, to trigger game process from the game picture of caching,Obtain the picture data of next frame game picture to be output, and the picture data of this next frame game picture is written to sharedIn internal memory.
Wherein, next frame game picture to be output the last frame game needing output after referring to current timePicture.
After game picture to be output for next frame is written to shared drive by game process, show this next if necessaryFrame game picture to be output, game process still can normally export this next frame game picture to be output, thus not shadowRing to the output of game process normal game picture.
S306, terminal reads the picture data of a frame game picture of storage in this shared drive.
It should be noted that in the present embodiment, create in step S304 shared drive and in step S305 by playingIt is only a kind of preferred implementation that the picture data of the next frame getting game picture is written to shared drive by process,In practical application, terminal can also obtain the frame numbers of game process next frame game picture to be output by other meansAccording to.
S307, terminal determines the information of the game role comprising in this frame game picture.
Wherein, terminal can be analyzed and get in this frame game picture included which game role, e.g., swum by analysisThe information such as the ID of game role comprising in play picture or player account, determines the letter of the game role comprising in game pictureBreath.
S308, terminal output includes the selection interface of the information of the game role determined.
As the Option Box characterizing each game role determined respectively, Yong Hutong can be arranged in this selection interfaceCross click option frame, corresponding for this Option Box game role is defined as needing the target game role of report by triggering terminal.
S309, this terminal determines that game player selects target game role to be reported in this selection interface.
S310, terminal by the picture format of the game picture reading out from shared drive from RGBA code conversion be YUVCoded format.
It should be noted that this step S310 is not limited to shown in Fig. 3 with the order of step S307, in actual applications,Step S310 can be first carried out, then execute the operation of this step S307 to S309 again, it is of course also possible to be in execution stepWhile S310, execute this step S307 to S309.
Wherein, this step S310 is a kind of optional step in order to reduce the data of the game picture needing transmissionAmount.
S311, the information of the target game role that user is chosen by terminal and the game picture being encoded to YUV coded formatThe picture data in face is sent to Analysis server.
Need only to obtain next frame game picture to be output due to receiving report request in violation of rules and regulations in the present embodiment every timeThe picture data in face, therefore, after intercepting the picture data of next frame game picture to be output, terminal just can determine to be worked asThe intercepting of front Exit Game picture, in that case, terminal is by the information of the target game determined role and intercepting and capturingThe picture data of game picture is sent to Analysis server.
Optionally, in the embodiment of the present application, before this step S311, terminal can also obtain game process outputThe resolution of game picture, and determine compression ratio according to this resolution, based on this compression ratio to the trip being encoded to YUV coded formatPlay picture is compressed.Accordingly, can be by the picture after the game picture being encoded to yuv format is compressed in this S311Data is transferred to Analysis server.
It is understood that after terminal receives report request in violation of rules and regulations, terminal can also create for stored pictureThis frame, after reading the picture data of this frame game picture from shared drive, can be played by the spatial cache of dataThe picture data of picture is cached to this spatial cache, then the picture data that spatial cache caches is being processed.
With every time, in response to violation report request, continuous several times intercept game process game picture to be output below, withIt is introduced as a example getting the game process picture data of multiframe game picture to be output.
In conjunction with Fig. 1, referring to Fig. 4, it illustrates a kind of flow process of the application game data another embodiment of acquisition methodsSchematic diagram.For the ease of clearly describing interacting between terminal and game process, below recording process is had with terminal operating, and baseIn interacting of this recording process and game process, it is introduced as a example obtaining game process multiframe game picture to be output.ThisThe method of embodiment can include:
S401, during the game process operational network of terminal is played, receives the game picture that service server sendsThe picture data in face.
S402, this game process exports the picture data of game picture, and caches next frame game picture to be outputPicture data.
S403, the violation report request of the recording process receiving user's input of terminal.
Above step may refer to the related introduction of preceding embodiment, will not be described here.
S404, this recording process, in response to this report request in violation of rules and regulations, creates video file spatial cache.
Because, in the present embodiment, recording process needs to obtain multiframe game picture, then passes multiframe game picture in the lumpIt is defeated by Analysis server, therefore, the game picture frame in order to get to not homogeneous enters row cache, and the present embodiment can create useThe spatial cache of the video file being formed in caching multiframe game picture, referred to herein as video file spatial cache.
Certainly, this establishment video file spatial cache be only a kind of preferred implementation, in actual applications it is also possible toDo not create this video file spatial cache, so, recording process can also be after often getting a frame game picture, just rightThis game picture is processed, and this frame game picture is transferred to Analysis server.
S405, records the shared drive that process creation is shared with game process.
S406, recording process judges whether the duration that current time distance received between the moment that report is asked in violation of rules and regulations surpassesCross preset duration, if it is, execution S414;If not, execution S407;
In the present embodiment, recording process can be passed through in preset duration with triggering terminal to receive report request in violation of rules and regulationsAs a example continuous several times intercept game process game picture to be output.Wherein, this preset duration can set as needed, e.g.,Preset duration can be 5 seconds.
It is understood that in the present embodiment, current time distance receive report request in violation of rules and regulations duration reach defaultDuration is only that a kind of default the of triggering recording process termination intercepting game picture terminates intercepting condition.In actual applications,This termination intercepts condition can also other multiple situations, when recording process judges that current time is unsatisfactory for this termination and intercepts barDuring part, still can continue executing with step 407;Until when current time meets termination intercepting condition, the intercepting of Exit Game picture.As terminal can be when the termination receiving user input intercepts instruction, and the intercepting of Exit Game picture, no longer to game processSend game picture request.
S407, if the current time distance last moment sending game picture request is not up to preset duration, recordsProcess sends game picture request to game process.
Wherein, this preset duration can be understood as default time interval noted earlier.It is understood that recordingProcess every default time interval send the request of game picture be only one kind preferred embodiment, be on the one hand forAfter making game process write a frame game picture to shared drive, this recording process can have time enough to process shouldGame picture in shared drive;On the other hand, in order to reduce the quantity of the game picture frame getting, e.g., should by settingDefault time interval, it is possible to achieve every specified number of frames game picture, obtains frame game process game picture to be outputFace, and due in one second game process may need to export frame game pictures up to a hundred, and if between two frame game pictures onlyBetween be separated with a small amount of frame game picture, do not interfere with the analysis to unlawful practice in game picture for the Analysis server.
Certainly, if after a frame game picture is stored in every time in spatial cache using recording process, just at once to tripPlay process sends the mode of game picture request, is applied equally to the present embodiment.
S408, game process is asked in response to this game picture, by trip to be output for the next frame caching in game processThe picture data of play picture is written in shared drive.
In the present embodiment, before game picture is shown to interface by game process, game process intercepts to be outputGame picture and store in a shared drive, then game process can continue normally to run;And it is permissible to record processFrom shared drive read need intercept game picture, the logic of game process is no affected, thereby may be ensured that play intoThe normal operation of journey is it is ensured that the experience of the normal game of user.
It is understood that process of recording in the present embodiment sends a game picture request to game process, just triggerGame process next frame of acquisition game picture to be output.It is of course also possible to be recording process receive report in violation of rules and regulations pleaseAfter asking, this recording process sends a game picture request, and by game process according to default time interval, triggering is onceNext frame game picture currently to be output is written in shared drive.
S409, game process notifies recording process to go to read the picture data of game picture in shared drive.
S410, records the picture data that process reads currently stored going game picture in shared drive.
S411, before this current game picture if recording process detection is stored with video file spatial cache recentlyThe previous frame game picture once reading, then compared the picture data of going game picture and previous frame game pictureRelatively, and by the pixel having differences in going game picture and previous frame game picture encoded, the trip after being encodedPlay image frame.
Optionally, before this step S411, recording process can be by the game picture reading out from shared drivePicture format is YUV coded format from RGBA code conversion.
S412, the game picture frame after encoding is stored video file spatial cache by recording process, and returns S406;
S413, if record process detection do not stored before this current game picture in video file spatial cacheThe nearly previous frame game picture once reading, then be directly stored in this video file by the picture data of this current game pictureSpatial cache, and return S406.
S414, recording process determines the game angle included in this multiframe game picture of video file spatial cache cachingThe information of color.
If it is understood that process of recording in step S406 judges that current time distance receives report request in violation of rules and regulationsMoment between duration whether exceed preset duration, then explanation current time be Exit Game picture capturing moment, then recordProcess processed terminates to record the operation of game picture, and the multiframe game picture according to video file spatial cache caching, and determining shouldBe directed to which game role in multiframe game picture.As game role A, trip can be included in this multiframe game picturePlay role B and game role C, then can include the corresponding selection choosing of these three game roles in the selection interface of follow-up output?.
Certainly, after the present embodiment is to record the intercepting that process terminates to game picture, determine institute in game pictureIt is introduced as a example the game role being related to, but it is understood that, generally, user sends report request in violation of rules and regulationsAfterwards, in the game picture of the current output of game process and next frame game picture to be output general just can include needGame role to be reported, accordingly it is also possible to record process intercepts to the first frame game picture when, just triggering determine this firstGame role included in frame game picture, and execute follow-up step S415 and S416.
S415, the output of recording process includes the selection interface of the information of the game role determined.
S416, recording process determines the target game role to be reported that game player selects in this selection interface.
S417, the picture data of game picture and this target game that video file spatial cache is cached by the process of recordingThe information of role is sent to Analysis server.
Determine the intercepting of current Exit Game picture in recording process, and when determining target game role, then can be byIn spatial cache, the data of game picture of caching and the information of this target game role are sent to Analysis server.
Optionally, in the embodiment of the present application, after this step S403, terminal can also obtain game process outputThe resolution of game picture, and determine compression ratio according to this resolution, so, game picture is being stored video file cachingBefore space, based on this compression ratio, game picture can be compressed.
Below a kind of game data acquisition device provided in an embodiment of the present invention is introduced, a kind of trip described belowPlay data acquisition facility can be with a kind of above-described game data acquisition methods mutually to should refer to.
Referring to Fig. 5, it illustrates a kind of composition structural representation of the application game data one embodiment of acquisition device,Described device includes:
Request reception unit 501, for the violation report request of receiving user's input;
Data capture unit 502, for reporting request in response to described violation, obtains the game picture of game process outputPicture data;
Role's determining unit 503, for, from the game role that described game picture is comprised, determining mesh to be analyzedMark game role;
Data transmission unit 504, specified for being sent to the information of described picture data and described target game roleAnalysis server.
Optionally, described data capture unit is specifically, be used for intercepting and capturing game process game picture currently to be outputPicture data.
Further, described data capture unit, can include:
Data acquisition subelement, for according to default time interval, intercepting and capturing game process game picture currently to be outputThe picture data in face, until detect current time meet default termination intercepting condition till, obtain at least one frame game pictureThe picture data in face.
Optionally, the described default termination intercepting condition in described data acquisition subelement, including:Current time distanceThe duration receiving the moment of described violation report request reaches preset duration;Or, current time receives termination intercepting and refers toOrder.
Optionally, described data capture unit includes:
Picture request subelement, for sending game picture request to game process, described game picture is asked for askingGame process is asked to return the picture data of described game process game picture currently to be output;
Picture obtains subelement, for obtaining the picture data of the described game picture that described game process returns.
Optionally, this device can also include:
Shared drive creating unit, before sending game picture request in picture request subelement game process, woundBuild shared shared drive and described game process between;
Then picture obtains subelement, specifically, for reading the institute that described game process returns from described shared driveState the picture data of game picture.
Optionally, this device can also include:
Caching creating unit, for, before sending game picture request to game process, creating for stored picture numberAccording to spatial cache;
Data conversion storage unit, reads described game process for obtaining subelement in described picture from described shared driveAfter the picture data of described game picture returning, by the picture of the described game picture reading from described shared driveSpatial cache described in data Cun Chudao;
Described data transmission unit, for when the intercepting and capturing of Exit Game picture, by the described trip caching in spatial cacheThe information of the picture data of play picture and described target game role is sent to the Analysis server specified.
Optionally, when the picture data of at least one frame game picture that is stored with spatial cache, described data conversion storage listUnit, including:
Difference coding unit, for empty with caching by the picture data of the going game reading from shared drive pictureBetween middle storage described going game picture before the picture data of previous frame game picture be compared, and will be described currentThe pixel having differences in game picture and described previous frame game picture is encoded to game picture to be stored;
Unloading subelement, for storing described spatial cache by the picture data of described game picture to be stored.
Optionally, described role's determining unit, including:
Role obtains subelement, for determining at least one game role included in the game picture getting;
Interface exports subelement, comprises the selection interface of at least one game role described for output;
Target determination subelement, for the selection operation according to described selection interface, from least one game role describedIn determine target game role to be analyzed.
The embodiment of the present invention additionally provides a kind of terminal, and this terminal can be realized a kind of game data described above and obtainMethod.
Fig. 6 shows the hardware block diagram of terminal, and with reference to Fig. 6, terminal 600 can include:Processor 601, communication connectsMouth 602, memorizer 603 and communication bus 604;
Wherein processor 601, communication interface 602, memorizer 603 complete mutual communication by communication bus 604;
Optionally, communication interface 602 can be the interface of communication module, the such as interface of gsm module;
Processor 601, for configuration processor;
Memorizer 603, is used for depositing program;
Program can include program code, and described program code includes computer-managed instruction.
Processor 601 is probably a central processor CPU, or specific integrated circuit ASIC (ApplicationSpecific Integrated Circuit), or be arranged to implement the one or more integrated electricity of the embodiment of the present inventionRoad.
Memorizer 603 may comprise high-speed RAM memorizer it is also possible to also include nonvolatile memory (non-Volatile memory), for example, at least one disk memory.
Wherein, program can be specifically for:
The violation report request of receiving user's input;
Report request in response to described violation, obtain the picture data of the game picture of game process output;
From the game role that described game picture is comprised, determine target game role to be analyzed;
The information of described picture data and described target game role is sent to the Analysis server specified.
It should be noted that each embodiment in this specification is all described by the way of going forward one by one, each embodiment weightPoint explanation is all difference with other embodiment, between each embodiment identical similar partly mutually referring to.For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, related part ginsengSee that the part of embodiment of the method illustrates.
Last in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to byOne entity or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or operationBetween there is any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant meaningCovering comprising of nonexcludability, so that including a series of process of key elements, method, article or equipment not only include thatA little key elements, but also include other key elements being not expressly set out, or also include for this process, method, article orThe intrinsic key element of equipment.In the absence of more restrictions, the key element being limited by sentence "including a ...", does not arrangeRemove and also there is other identical element in the process including key element, method, article or equipment.
Described above to the disclosed embodiments, makes those skilled in the art be capable of or uses the present invention.To thisMultiple modifications of a little embodiments will be apparent from for a person skilled in the art, and generic principles defined herein canWithout departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limitedIt is formed on the embodiments shown herein, and be to fit to consistent with principles disclosed herein and features of novelty the widestScope.
The above is only the preferred embodiment of the present invention it is noted that coming for those skilled in the artSay, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should be regarded asProtection scope of the present invention.

Claims (15)

CN201610832284.XA2016-09-192016-09-19A game data acquiring method and devicePendingCN106390459A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610832284.XACN106390459A (en)2016-09-192016-09-19A game data acquiring method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610832284.XACN106390459A (en)2016-09-192016-09-19A game data acquiring method and device

Publications (1)

Publication NumberPublication Date
CN106390459Atrue CN106390459A (en)2017-02-15

Family

ID=57996807

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610832284.XAPendingCN106390459A (en)2016-09-192016-09-19A game data acquiring method and device

Country Status (1)

CountryLink
CN (1)CN106390459A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107308645A (en)*2017-06-072017-11-03浙江无端科技股份有限公司A kind of method and game client of the plug-in detection of perspective of playing
CN108479061A (en)*2018-03-292018-09-04腾讯科技(深圳)有限公司Operation data method of calibration, device, storage medium and the server of application
CN108769821A (en)*2018-05-252018-11-06广州虎牙信息科技有限公司Scene of game describes method, apparatus, equipment and storage medium
CN109045702A (en)*2018-07-242018-12-21网易(杭州)网络有限公司A kind of plug-in detection method, device, calculates equipment and medium at system
CN109364473A (en)*2018-09-292019-02-22杭州电魂网络科技股份有限公司Analysis method and system are reported in game
CN110201389A (en)*2019-04-262019-09-06特斯联(北京)科技有限公司A kind of game management method and equipment based on distributed storage database
CN110339575A (en)*2018-04-082019-10-18腾讯科技(深圳)有限公司It practises fraud in a kind of determining online game the method and device of user
CN111035933A (en)*2019-12-052020-04-21腾讯科技(深圳)有限公司Abnormal game detection method and device, electronic equipment and readable storage medium
CN111298446A (en)*2020-02-172020-06-19腾讯科技(深圳)有限公司Game plug-in detection method and device, computer and readable storage medium
CN111587136A (en)*2017-12-282020-08-25世嘉股份有限公司Game device
CN111813686A (en)*2020-07-202020-10-23腾讯科技(深圳)有限公司Game testing method and device, testing terminal and storage medium
CN111921204A (en)*2020-08-212020-11-13腾讯科技(深圳)有限公司Control method, device and equipment of cloud application program and storage medium
CN112150586A (en)*2019-06-112020-12-29腾讯科技(深圳)有限公司Animation processing method, animation processing device, computer readable storage medium and computer equipment
CN114259733A (en)*2021-12-272022-04-01中国电信股份有限公司Method and device for detecting illegal behavior, storage medium and electronic equipment
CN114973134A (en)*2022-05-272022-08-30浙江大华技术股份有限公司Abnormal behavior detection method, abnormal behavior detection device, electronic device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101114324A (en)*2006-07-252008-01-30珠海市西山居软件有限公司Network gaming system capable of preventing externally hung and method thereof
CN201134104Y (en)*2007-12-052008-10-15诸松涛System for preventing external hung and monitoring of network game
CN103634308A (en)*2013-11-192014-03-12北京奇虎科技有限公司Safety detection method and device for instant messaging tool
CN104462621A (en)*2014-11-282015-03-25北京奇虎科技有限公司Data processing method and device
CN104537549A (en)*2014-12-172015-04-22广州酷狗计算机科技有限公司Presentation method and device for virtual currency

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101114324A (en)*2006-07-252008-01-30珠海市西山居软件有限公司Network gaming system capable of preventing externally hung and method thereof
CN201134104Y (en)*2007-12-052008-10-15诸松涛System for preventing external hung and monitoring of network game
CN103634308A (en)*2013-11-192014-03-12北京奇虎科技有限公司Safety detection method and device for instant messaging tool
CN104462621A (en)*2014-11-282015-03-25北京奇虎科技有限公司Data processing method and device
CN104537549A (en)*2014-12-172015-04-22广州酷狗计算机科技有限公司Presentation method and device for virtual currency

Cited By (22)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107308645A (en)*2017-06-072017-11-03浙江无端科技股份有限公司A kind of method and game client of the plug-in detection of perspective of playing
CN111587136B (en)*2017-12-282023-10-03世嘉股份有限公司 game device
CN111587136A (en)*2017-12-282020-08-25世嘉股份有限公司Game device
CN108479061A (en)*2018-03-292018-09-04腾讯科技(深圳)有限公司Operation data method of calibration, device, storage medium and the server of application
CN108479061B (en)*2018-03-292021-06-01腾讯科技(深圳)有限公司Application running data verification method and device, storage medium and server
CN110339575A (en)*2018-04-082019-10-18腾讯科技(深圳)有限公司It practises fraud in a kind of determining online game the method and device of user
CN108769821B (en)*2018-05-252019-03-29广州虎牙信息科技有限公司Scene of game describes method, apparatus, equipment and storage medium
CN108769821A (en)*2018-05-252018-11-06广州虎牙信息科技有限公司Scene of game describes method, apparatus, equipment and storage medium
CN109045702B (en)*2018-07-242022-03-25网易(杭州)网络有限公司Plug-in detection method, system, device, computing equipment and medium
CN109045702A (en)*2018-07-242018-12-21网易(杭州)网络有限公司A kind of plug-in detection method, device, calculates equipment and medium at system
CN109364473A (en)*2018-09-292019-02-22杭州电魂网络科技股份有限公司Analysis method and system are reported in game
CN110201389A (en)*2019-04-262019-09-06特斯联(北京)科技有限公司A kind of game management method and equipment based on distributed storage database
CN112150586A (en)*2019-06-112020-12-29腾讯科技(深圳)有限公司Animation processing method, animation processing device, computer readable storage medium and computer equipment
CN111035933B (en)*2019-12-052022-04-12腾讯科技(深圳)有限公司Abnormal game detection method and device, electronic equipment and readable storage medium
CN111035933A (en)*2019-12-052020-04-21腾讯科技(深圳)有限公司Abnormal game detection method and device, electronic equipment and readable storage medium
CN111298446A (en)*2020-02-172020-06-19腾讯科技(深圳)有限公司Game plug-in detection method and device, computer and readable storage medium
CN111298446B (en)*2020-02-172023-12-12腾讯科技(深圳)有限公司Game plug-in detection method, device, computer and readable storage medium
CN111813686A (en)*2020-07-202020-10-23腾讯科技(深圳)有限公司Game testing method and device, testing terminal and storage medium
CN111921204A (en)*2020-08-212020-11-13腾讯科技(深圳)有限公司Control method, device and equipment of cloud application program and storage medium
CN111921204B (en)*2020-08-212023-09-26腾讯科技(深圳)有限公司Control method, device, equipment and storage medium of cloud application program
CN114259733A (en)*2021-12-272022-04-01中国电信股份有限公司Method and device for detecting illegal behavior, storage medium and electronic equipment
CN114973134A (en)*2022-05-272022-08-30浙江大华技术股份有限公司Abnormal behavior detection method, abnormal behavior detection device, electronic device, and storage medium

Similar Documents

PublicationPublication DateTitle
CN106390459A (en)A game data acquiring method and device
US11654365B2 (en)Secure anti-cheat system
CN109045702B (en)Plug-in detection method, system, device, computing equipment and medium
JP4385863B2 (en) Online game fraud detection method
CN118632732A (en) Automatic tracking of earned in-game actions for granting NFT-backed digital assets
CN104836781B (en)Distinguish the method and device for accessing user identity
US20160310837A1 (en)Game control method and recording medium
CN112473148B (en)Method, device and system for anti-plug-in
US11183012B2 (en)Systems and methods of automated linking of players and gaming tokens
CN113058270A (en)Live broadcast interaction method and device, storage medium and electronic equipment
CN112073299A (en)Plot chat method
CN104520827B (en)Information processor
KR20080032205A (en) Gaming Devices, Game Systems, and Game Programs
CN113101638B (en)Interactive data processing method and device in game
CN110302536A (en)A kind of method for checking object and relevant apparatus based on interactive application
CN111265870A (en)Control method and device of virtual operation object and storage medium
CN106550189A (en)A kind of interlock method, relevant device and system
JP6069635B2 (en) GAME SYSTEM, CONTROL METHOD AND COMPUTER PROGRAM USED FOR THE SAME
CN111228805B (en)Virtual operation object control method and device, storage medium and electronic device
US20220405508A1 (en)Object information association method and apparatus, device and storage medium
CN110941680B (en)Data processing method, device and storage medium
CN111752429B (en)Information display method, information display device, electronic equipment and medium
CN112258206B (en)Prop resource obtaining method, prop resource obtaining device, electronic equipment and storage medium
JP2009006112A (en)Game parlor management system
CN100483996C (en)Method for authentication of identity of network user

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20170215

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp