CN107025271B - Method and device for acquiring and processing game data - Google Patents

Method and device for acquiring and processing game data Download PDF

Info

Publication number
CN107025271B
CN107025271B CN201710140082.3A CN201710140082A CN107025271B CN 107025271 B CN107025271 B CN 107025271B CN 201710140082 A CN201710140082 A CN 201710140082A CN 107025271 B CN107025271 B CN 107025271B
Authority
CN
China
Prior art keywords
data
game
game data
picture
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710140082.3A
Other languages
Chinese (zh)
Other versions
CN107025271A (en
Inventor
刘楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Battlecry Network Technology Co ltd
Original Assignee
Shenzhen Battlecry Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Battlecry Network Technology Co ltd filed Critical Shenzhen Battlecry Network Technology Co ltd
Priority to CN201710140082.3A priority Critical patent/CN107025271B/en
Publication of CN107025271A publication Critical patent/CN107025271A/en
Application granted granted Critical
Publication of CN107025271B publication Critical patent/CN107025271B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Image Analysis (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a generalized method and device for acquiring and processing computer game data based on game pictures, wherein the method comprises the following steps: obtaining game data, including extracting pictures containing the game data, and extracting the game data from the pictures; data processing, including filtering redundant game data, eliminating error data which do not accord with game logic, selecting game data of the same game to upload; and (4) data analysis, namely analyzing the game data one by one according to the attributes of the game data by using a statistical analysis method, extracting useful information, summarizing to form a conclusion, and generating a curve and a report reflecting the change of the game data. The invention can support the data acquisition of various computer games without being limited by a game data interface.

Description

Method and device for acquiring and processing game data
Technical Field
The invention relates to the technical field of computer game data, in particular to a method and a device for acquiring and processing game data.
Background
Computer games refer to game software that runs on an electronic computer. With the development of computer games and the push of big data trend, users have higher requirements on the competitive level of computer games, and more decision makers expect that data-driven ideas and methods can be implemented in products thereof.
In the prior art, developers call a game data API provided by game developers to acquire game data and develop APP software related to the game data, then the developers perform data analysis and later maintenance on the developed software, and users make corresponding game strategies through the data analysis of the APP software to improve competitiveness in the game. However, not all computer game developers provide data acquisition interfaces, and some game developers only provide incomplete user game data, and based on such situations, the traditional method for acquiring game data by calling the data interfaces is not preferable, which provides obstacles for users who hope to make game decisions and improve game level through data analysis. In addition, the games are various, and the games and the game data software are often in a one-to-one relationship, which results in that when a user needs to acquire a plurality of game data, data software corresponding to each game must be installed. Therefore, how to provide a universal method for acquiring data of a computer game without depending on a data interface becomes a technical problem to be solved urgently.
Disclosure of Invention
The invention aims to provide a game image-based game data acquisition and processing generalized method and device, which break through the limitation of a data interface and can acquire game data only by simple configuration. The invention mainly solves the following technical problems: (1) acquiring data of a game user without a data interface; (2) redundant data are removed, and the reliability of the data is ensured; (3) determining data ROI under different resolutions of a game picture; (4) it is determined whether the game data is data of the same round.
The invention adopts the following technical scheme:
a method of acquiring and processing game data, comprising the steps of:
s1, obtaining game data, including extracting pictures containing the game data, and extracting the game data from the pictures;
s2, data processing, including filtering redundant game data, eliminating error data which do not accord with game logic, and selecting game data of the same game;
s3, the client uploads the valid data of the same local to the server;
s4, the server analyzes the uploaded data;
and S5, the server performs visualization processing on the analyzed data and sends a visualization result to the client.
Preferably, the step S1 of acquiring the game data specifically includes:
s11, extracting pictures containing game data from the game picture;
s12, determining an effective data ROI and an ineffective data ROI in the picture;
s13, carrying out image segmentation on the effective data ROI;
and S14, performing character recognition on the divided pictures to obtain game data.
Preferably, the S2 data processing specifically includes:
s21, redundant game data are filtered by utilizing data similarity calculation;
s22, cleaning according to the rule that the data increases along with the game progress, and cleaning the error data which do not accord with the game logic;
and S23, judging whether the cleaned game data is the game data of the same game, if so, uploading the game data according to the time sequence, and if not, discarding the game data.
Preferably, the frame difference of the game picture and the game operation frequency are combined to judge whether the cleared game data is the same game data, the judgment basis is that the game starting picture and the game ending picture are taken as the main basis, and the mouse click frequency and the keyboard click frequency are taken as the auxiliary basis.
Preferably, the step of performing data analysis on the uploaded data by the S4 server specifically includes:
analyzing one by one according to the attributes of the game data by using a statistical analysis method, and extracting useful information;
summarizing and summarizing the extracted useful information to form a conclusion;
and generating a curve and a report reflecting the change of the game data.
The invention further comprises the following technical scheme:
an apparatus for acquiring and processing game data for performing the method as described above, the apparatus comprising:
a data acquisition unit for extracting a picture containing game data and extracting the game data from the picture;
the data processing unit is used for filtering redundant game data, eliminating error data which do not accord with game logic, and selecting the game data of the same game to upload;
and the data analysis unit is used for carrying out data analysis on the uploaded game data and carrying out visualization processing on the analysis result.
Preferably, the data acquiring unit further includes:
the picture extraction subunit extracts a picture containing game data from a game picture and determines an effective data ROI and an ineffective data ROI in the picture;
the image segmentation subunit is used for carrying out image segmentation on the effective data ROI;
and the character recognition subunit performs character recognition on the segmented picture to obtain game data.
Preferably, the data processing unit further includes:
the filtering subunit is used for filtering redundant game data by utilizing data similarity calculation;
the cleaning subunit is used for cleaning according to the rule that the data increases along with the game progress, and cleaning the error data which do not accord with the game logic;
and the judging subunit judges whether the cleaned game data is the game data of the same game, uploads the game data according to a time sequence if the game data is of the same game, and discards the game data if the game data is not of the same game.
Preferably, the data analysis unit further includes:
the analysis subunit analyzes one by one according to the attributes of the game data by using a statistical analysis method, extracts useful information and summarizes the useful information to form a conclusion;
and the visualization subunit is used for performing visualization processing on the analyzed and summarized data to generate a curve and a report reflecting the change of the game data.
The invention has the advantages that: 1) the game data is acquired through image processing and character recognition technology, and is not limited by a game data interface. 2) The method supports data acquisition under various computer games, enables the data acquisition of the computer games to be generalized, and can acquire the data of the ROI only by configuring the ROI of related data under different computer games and different resolutions. 3) Whether the game data are the same game is judged by combining the frame difference of the game picture and the click frequency of the keyboard and the mouse, so that the accuracy of the game data is improved. 4) The game performance of each user can be recorded in detail, and the game match details can be comprehensively restored. The game data curve graph and the report visually reflect the change of the game data.
Drawings
The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a block diagram of the present invention.
FIG. 2 is a schematic view of a process for acquiring computer game data according to the present invention.
FIG. 3 is a flow chart illustrating a process of processing computer game data according to the present invention.
FIG. 4 is a schematic diagram of the structure of the device for acquiring and processing computer game data according to the present invention.
FIG. 5 is a diagram of a visualization interface of the apparatus for acquiring and processing computer game data of the present invention.
Detailed Description
The invention is further illustrated by the following examples and figures.
FIG. 1 is a block diagram of the present invention. The method for acquiring and processing the computer game data comprises the following steps:
s1, the client acquires game data, including extracting pictures containing the game data, and extracts the game data from the pictures;
s2, the client processes the extracted game data, including filtering redundant game data, eliminating error data which do not accord with game logic, and selecting the game data of the same game;
s3, the client uploads the selected valid data of the same local to the server;
s4, the server analyzes the uploaded game data;
and S5, the server performs visualization processing on the analyzed data and sends a visualization result to the client.
Wherein, the client is a program for providing local service for the client. The client encapsulation in the scheme comprises a method for acquiring computer game data, a data processing method and a method for judging whether the game data is a game data of one game or not. The user acquires the game data required by the user through the configuration client. The server is a computer device for managing resources and providing services, classifies and stores game data uploaded by the client according to game data attributes, visualizes the data, and provides a visualization result to the client through a web service. The invention obtains the computer game data through the image processing and character recognition technology, is favorable for generalization of the obtained computer game data and is not limited by a game data interface.
FIG. 2 is a schematic diagram illustrating a process for acquiring computer game data according to the architectural logic diagram of FIG. 1. Firstly, extracting a picture containing game data from a computer game picture, and determining valid data ROI (region of interest) and invalid data ROI in the picture, wherein the valid data ROI is used for extracting the game data, and the invalid data ROI is not processed. And then, carrying out image segmentation on the effective data ROI, carrying out character recognition on the segmented picture, and finally obtaining the game data. Under different computer games and different resolutions, only the ROI of the related data needs to be configured, and the data of the ROI can be acquired.
FIG. 3 is a flow chart of the data processing steps in the logic architecture diagram shown in FIG. 1, i.e., a flow chart for processing computer game data according to the present invention. And calculating and filtering redundant game data by using the data similarity, cleaning the filtered data according to the rule that the data increases along with the game progress, and clearing error data which do not accord with game logic. And judging whether the cleared game data is the data of the same game or not by combining the game picture and the mouse and keyboard operation frequency of the user, wherein the judgment basis is that the game starting and ending picture is taken as the main basis and the mouse and keyboard click frequency is taken as the auxiliary basis. If the local is the same, uploading the data to the server according to the time sequence, and if not, discarding the data.
The method for acquiring and processing the computer game data further comprises a step of data analysis. The data analysis refers to a process of analyzing a large amount of collected game data by using a proper statistical analysis method, extracting useful information and forming a conclusion to study and summarize the data in detail. The server calls the game data of the user, analyzes the game data one by one according to the game data attributes, and simultaneously generates a curve and a report reflecting the change of the game data of the user.
FIG. 4 is a schematic diagram of the structure of the device for acquiring and processing computer game data according to the present invention.
The device for acquiring and processing the computer game data comprises a data acquisition unit and a data processing unit, wherein the data acquisition unit and the data processing unit are packaged in a client, and required game data are acquired by configuring the client. The data acquisition unit extracts a picture containing game data, and extracts the game data from the picture. The data processing unit filters redundant game data, eliminates error data which do not accord with game logic, and selects the game data of the same game to upload.
The data acquisition unit further comprises a picture extraction subunit, which extracts a picture containing game data from a game picture and determines an effective data ROI and an ineffective data ROI in the picture; the image segmentation subunit is used for carrying out image segmentation on the effective data ROI; and the character recognition subunit performs character recognition on the segmented picture to obtain game data.
The data processing unit further comprises a filtering subunit, and redundant game data are filtered by utilizing data similarity calculation; the cleaning subunit is used for cleaning according to the rule that the data increases along with the game progress, and cleaning the error data which do not accord with the game logic; and the judging subunit judges whether the cleaned game data is the game data of the same game, if so, the cleaned game data is uploaded to the server according to the time sequence, and if not, the cleaned game data is discarded.
The device for acquiring and processing computer game data of the invention also comprises a data analysis unit. The data analysis unit is arranged in the server and comprises an analysis subunit, and the data analysis unit analyzes the game data one by one according to the attributes of the game data by using a statistical analysis method, extracts useful information and summarizes the useful information to form a conclusion; and the visualization subunit is used for performing visualization processing on the analyzed and summarized data to generate a curve and a report reflecting the change of the game data.
FIG. 5 is an interface diagram generated by the device for acquiring and processing computer game data according to the present invention, which visualizes the analyzed and summarized data.
Data analysis refers to the process of analyzing a large amount of collected data by using an appropriate statistical analysis method, extracting useful information and forming a conclusion to study and summarize the data in detail. The server calls the game data of the user, analyzes the game data one by one according to the game data attributes, and simultaneously generates a curve and a report reflecting the change of the game data of the user.
Finally, while the foregoing is directed to the preferred embodiment of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.

Claims (9)

1. A method of acquiring and processing game data, comprising the steps of:
s1, obtaining game data, including extracting pictures containing the game data, and extracting the game data from the pictures;
s2, data processing, including filtering redundant game data, eliminating error data not conforming to game logic, selecting game data of the same game, wherein the game data of the same game is selected by combining game pictures and the mouse and keyboard operation frequency of a user;
s3, the client uploads the effective data of the same game to the server;
s4, the server analyzes the uploaded data;
and S5, the server performs visualization processing on the analyzed data and sends a visualization result to the client.
2. The method according to claim 1, wherein the step of S1 acquiring the game data specifically includes:
s11, extracting pictures containing game data from the game picture;
s12, determining an effective data ROI and an ineffective data ROI in the picture;
s13, carrying out image segmentation on the effective data ROI;
and S14, performing character recognition on the divided pictures to obtain game data.
3. The method according to claim 1, wherein the S2 data processing specifically includes:
s21, redundant game data are filtered by utilizing data similarity calculation;
s22, cleaning according to the rule that the data increases along with the game progress, and cleaning the error data which do not accord with the game logic;
and S23, judging whether the cleaned game data is the game data of the same game, if so, uploading the game data according to the time sequence, and if not, discarding the game data.
4. The method of claim 3, wherein the frame difference of the game picture and the operation frequency of the game are combined to determine whether the cleaned game data is the same game data, the determination is based on the game start and end picture as the main and the mouse and keyboard click frequency as the auxiliary.
5. The method according to claim 1, wherein the step of the S4 server performing data analysis on the uploaded data specifically includes:
analyzing one by one according to the attributes of the game data by using a statistical analysis method, and extracting useful information;
summarizing and summarizing the extracted useful information to form a conclusion;
and generating a curve and a report reflecting the change of the game data.
6. An apparatus for acquiring and processing game data for performing the method of claims 1-5, the apparatus comprising:
a data acquisition unit for extracting a picture containing game data and extracting the game data from the picture;
the data processing unit is used for filtering redundant game data, eliminating error data which do not accord with game logic, and selecting the game data of the same game to upload, wherein the game data of the same game is selected by combining a game picture and the mouse and keyboard operation frequency of a user;
and the data analysis unit is used for carrying out data analysis on the uploaded game data and carrying out visualization processing on the analysis result.
7. The apparatus of claim 6, the data acquisition unit further comprising:
the picture extraction subunit extracts a picture containing game data from a game picture and determines an effective data ROI and an ineffective data ROI in the picture;
the image segmentation subunit is used for carrying out image segmentation on the effective data ROI;
and the character recognition subunit performs character recognition on the segmented picture to obtain game data.
8. The apparatus of claim 6, the data processing unit further comprising:
the filtering subunit is used for filtering redundant game data by utilizing data similarity calculation;
the cleaning subunit is used for cleaning according to the rule that the data increases along with the game progress, and cleaning the error data which do not accord with the game logic;
and the judging subunit judges whether the cleaned game data is the game data of the same game, uploads the game data according to a time sequence if the game data is of the same game, and discards the game data if the game data is not of the same game.
9. The apparatus of claim 6, the data analysis unit further comprising:
the analysis subunit analyzes one by one according to the attributes of the game data by using a statistical analysis method, extracts useful information and summarizes the useful information to form a conclusion;
and the visualization subunit is used for performing visualization processing on the analyzed and summarized data to generate a curve and a report reflecting the change of the game data.
CN201710140082.3A 2017-03-10 2017-03-10 Method and device for acquiring and processing game data Active CN107025271B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710140082.3A CN107025271B (en) 2017-03-10 2017-03-10 Method and device for acquiring and processing game data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710140082.3A CN107025271B (en) 2017-03-10 2017-03-10 Method and device for acquiring and processing game data

Publications (2)

Publication Number Publication Date
CN107025271A CN107025271A (en) 2017-08-08
CN107025271B true CN107025271B (en) 2020-10-27

Family

ID=59525675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710140082.3A Active CN107025271B (en) 2017-03-10 2017-03-10 Method and device for acquiring and processing game data

Country Status (1)

Country Link
CN (1) CN107025271B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102376184A (en) * 2010-08-27 2012-03-14 洪荣昭 Teaching game method
CN105553821A (en) * 2015-12-14 2016-05-04 网易(杭州)网络有限公司 Game battle matching method and device
CN106371935A (en) * 2016-08-26 2017-02-01 上海浮罗创业投资有限公司 Game control interface acquisition method and apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005087615A (en) * 2003-09-19 2005-04-07 Sumitomo Rubber Ind Ltd Impact phenomenon analysis system of golf
CN103365927A (en) * 2012-03-30 2013-10-23 北京千橡网景科技发展有限公司 Webpage analysis method and system based on user data
CN102982235A (en) * 2012-11-02 2013-03-20 北京奇虎科技有限公司 Information interaction method and browser for web games
CN104462811A (en) * 2014-12-05 2015-03-25 云中万维(北京)科技有限公司 Network game data processing method
CN106178500B (en) * 2016-08-30 2019-11-05 竞技世界(北京)网络技术有限公司 A kind of chess and card games based on local area network look on system and relaying method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102376184A (en) * 2010-08-27 2012-03-14 洪荣昭 Teaching game method
CN105553821A (en) * 2015-12-14 2016-05-04 网易(杭州)网络有限公司 Game battle matching method and device
CN106371935A (en) * 2016-08-26 2017-02-01 上海浮罗创业投资有限公司 Game control interface acquisition method and apparatus

Also Published As

Publication number Publication date
CN107025271A (en) 2017-08-08

Similar Documents

Publication Publication Date Title
WO2017005149A1 (en) Game acceleration method and device
US8965067B2 (en) Face data acquirer, end user video conference device, server, method, computer program and computer program product for extracting face data
JP2016523397A (en) Method and system for information recognition
US11586842B2 (en) System and method for machine learning based video quality assessment
CN110727668B (en) Data cleaning method and device
CN110458130B (en) Person identification method, person identification device, electronic equipment and storage medium
CN106034240A (en) Video detection method and device
EP3360077A1 (en) Method and system for classifying objects from a stream of images
CA3062788C (en) Detecting font size in a digital image
CN107025271B (en) Method and device for acquiring and processing game data
WO2022161047A1 (en) Event tracking analysis method and apparatus for page
CN115240203A (en) Service data processing method, device, equipment and storage medium
US10839251B2 (en) Method and system for implementing image authentication for authenticating persons or items
US11831417B2 (en) Threat mapping engine
CN113507630A (en) Strip splitting method and device for game video
JP6822484B2 (en) Information processing equipment, information processing methods and programs
JP2019133433A (en) Image processing device, image processing method, and program
Ma et al. A super resolution framework for low resolution document image OCR
KR102126184B1 (en) Scanning Method and System of Fractured Pottery for Use of Virtual Reassembly
CN108334602B (en) Data annotation method and device, electronic equipment and computer storage medium
JP7505635B2 (en) Segmentation of Continuous Dynamic Scans
CN113537230B (en) Method and device for determining validity of message issuing mode and electronic equipment
CN113627534A (en) Method and device for identifying type of dynamic image and electronic equipment
CN113965772A (en) Live video processing method and device, electronic equipment and storage medium
JP2019200589A (en) Business analysis device, business analysis method, and program

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