Data monitoring method and device, electronic equipment and storage medium
Through monitoring tools, game data query requests are sent to the data copy service and the acquired data is analyzed, which solves the problem of low efficiency in game data inspection, realizes timely discovers and handles abnormal data, and ensures game server performance and player experience.
Patent Information
- Application Number
- CN202411998457.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2044-12-31
AI Technical Summary
In the prior art, the inspection efficiency of game data is low, and abnormal data cannot be discovered and processed in time, which affects the performance of game servers and player experience.
Through monitoring tools, the game data query request is sent to the data copy service, the game data in the game server database is obtained, and the data is analyzed through data analysis rules to obtain the data analysis results.
It improves the efficiency of game data inspection, can timely discover and process abnormal data, and ensures the performance of game servers and player experience.
Smart Images

Figure CN119951127A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a data monitoring method, device, electronic device and storage medium. Background Art
[0002] Under the wave of the Internet, the continuous development and evolution of hardware and software technologies have promoted the emergence of smart devices and software. At the same time, a large number of games of different themes have emerged to meet the needs of users. With the vigorous development of various technologies in the game industry, people are increasingly demanding game performance.
[0003] At present, with the increasing amount of game data stored on disk, relevant staff are required to regularly check whether there are abnormal data in all game data stored on disk, such as expired data, abnormal data, etc., so as to avoid the huge amount of data affecting the performance of the game server, or to avoid abnormal situations of players in the game due to abnormal data. However, due to the large amount of game data, manual inspection takes a lot of time, resulting in low efficiency of game data inspection and failure to detect abnormal data in time. Summary of the invention
[0004] The embodiments of the present application provide a data monitoring method, device, electronic device and storage medium, which can improve the efficiency of game data inspection and detect abnormal data in a timely manner.
[0005] In a first aspect, an embodiment of the present application provides a data monitoring method, the method comprising:
[0006] Determine the target games that the monitoring tool currently needs to monitor;
[0007] Sending, through the monitoring tool, a game data query request for a database of a game server of the target game to a data copy service based on the monitoring configuration information of the target game, wherein the game data query request includes a game query indication parameter;
[0008] Obtaining the first game data indicated by the game query indication parameter from the database of the game server through the data copy service, and sending the first game data to the monitoring tool;
[0009] The monitoring tool analyzes the first game data based on the data analysis rules in the monitoring configuration information to obtain the data analysis result of the target game.
[0010] In a second aspect, an embodiment of the present application provides a data monitoring device, the device comprising:
[0011] A game determination module is used to determine the target game that the monitoring tool currently needs to monitor;
[0012] A query request module, configured to send a game data query request for a database of a game server of the target game to a data copy service through the monitoring tool based on the monitoring configuration information of the target game, wherein the game data query request includes a game query indication parameter;
[0013] A data acquisition module, used for acquiring the first game data indicated by the game query indication parameter from the database of the game server through the data copy service, and sending the first game data to the monitoring tool;
[0014] The data analysis module is used to analyze the first game data through the monitoring tool based on the data analysis rules in the monitoring configuration information to obtain the data analysis results of the target game.
[0015] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory storing a plurality of instructions; a processor loads instructions from the memory to execute the steps of any data monitoring method provided in the embodiment of the present application.
[0016] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a plurality of instructions, and the instructions are suitable for a processor to load to execute the steps of any data monitoring method provided in the embodiment of the present application.
[0017] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the steps of any data monitoring method provided in the embodiment of the present application.
[0018] By adopting the scheme of the embodiment of the present application, it is possible to determine the target game that the monitoring tool currently needs to monitor, and then, through the above-mentioned monitoring tool based on the monitoring configuration information of the above-mentioned target game, send a game data query request containing a game query indication parameter for the database of the game server of the above-mentioned target game to the data copy service, so as to obtain the first game data indicated by the above-mentioned game query indication parameter from the database of the above-mentioned game server through the above-mentioned data copy service, and send the above-mentioned first game data to the above-mentioned monitoring tool, and then through the above-mentioned monitoring tool Based on the data analysis rules in the above-mentioned monitoring configuration information, the first game data is analyzed to obtain the data analysis result of the above-mentioned target game, so as to copy the game data to be checked through the data copy service, and then analyze and process the game data to be checked through the monitoring tool, so as to improve the inspection efficiency of the game data and detect abnormal data in time. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 This is a flow chart of an embodiment of the data monitoring method provided in the embodiments of the present application;
[0021] Figure 2 It is a schematic diagram of the structure of an embodiment of the data monitoring method provided in the embodiments of the present application;
[0022] Figure 3 is a schematic diagram of the structure of a data monitoring device provided in an embodiment of the present application;
[0023] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application. At the same time, in the description of the embodiments of the present application, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0025] Embodiments of the present application provide a data monitoring method, device, electronic device, and computer-readable storage medium.
[0026] Specifically, this embodiment will be described from the perspective of a data monitoring device, which can be integrated into an electronic device, that is, the data monitoring method of the embodiment of the present application can be executed by an electronic device, and optionally, the electronic device can include: a terminal device. The terminal device can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a game console, or a personal computer (PC) and other devices.
[0027] The data monitoring method provided in the embodiment of the present application can be applied to a data monitoring system. The data monitoring system may include a player terminal device and a server, and the terminal may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. The player terminal device and the server may perform two-way communication via a network.
[0028] Optionally, the server may be an independent server, or a server network or server cluster composed of servers, including but not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server composed of multiple servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.
[0029] The following is a detailed description in conjunction with the accompanying drawings. In this embodiment, the execution subject is a terminal device as an example. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments. Although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown in the accompanying drawings.
[0030] The data monitoring method of this embodiment determines the target game that the monitoring tool currently needs to monitor; the monitoring tool sends a game data query request for the database of the game server of the target game to the data copy service based on the monitoring configuration information of the target game, and the game data query request includes a game query indication parameter; the data copy service obtains the first game data indicated by the game query indication parameter from the database of the game server, and sends the first game data to the monitoring tool; the monitoring tool analyzes the first game data based on the data analysis rules in the monitoring configuration information to obtain the data analysis result of the target game, which can improve the inspection efficiency of game data and detect abnormal data in time.
[0031] Please refer to Figure 1 Taking a terminal as an example, this embodiment provides a data monitoring method. The specific process of the data monitoring method can be as follows: Step 101 to Step 104, wherein:
[0032] Step 101: Determine the target game that the monitoring tool currently needs to monitor.
[0033] The monitoring tool may be arranged in a server or a terminal to analyze and process game data of at least one game, so as to monitor the game based on the analysis and processing results of the game data.
[0034] It should be noted that the monitoring tool can be used to monitor at least one game item in a game, and the monitoring tool can be used to monitor game items in different games. The specific settings can be made according to needs and are not limited here.
[0035] The game items mentioned above may be items formed by specific elements and / or game mechanisms within the game, and players may control game characters to execute specific game logic in the game items.
[0036] In this embodiment, since there are at least two specific games that the monitoring tool can monitor, such as at least two different game items, or at least two different games, the terminal needs to determine the specific game or the specific game item in the specific game that the monitoring tool needs to monitor at the current moment. The terminal can use the specific game or the specific game item in the specific game that the monitoring tool needs to monitor at the current moment as the above-mentioned target game.
[0037] In some embodiments, since the monitoring tool for monitoring the target game is an auxiliary tool for maintaining the game data of the target game, this tool should not affect the business operation of the online game server itself, as well as the operating efficiency and security of the online environment of the game server. Therefore, the monitoring tool can be set up independently of the game server, that is, the monitoring tool can run independently to better monitor the game data of the target game, so that when there are abnormalities in the game data of the target game, an early warning can be issued to relevant staff.
[0038] Among them, the above-mentioned game server is used to actually run the production environment. The database used by the game server is used to formally provide external services to users, so that users can perform user operations in the production environment. The database of the production environment needs to be maintained by specific authorized staff.
[0039] It is understandable that in order to ensure the accuracy and portability of the monitoring tool in data monitoring, the above-mentioned monitoring tool can be set in the development environment of the above-mentioned target game, that is, since the development environment and the production environment are consistent in configuration, for example, the development environment and the production environment can use the same database, middleware and application level, etc., so the monitoring tool can be set in the development environment of the target game to realize the use of the monitoring tool in the intranet to maintain the game data of the target game.
[0040] The above development environment is used for developing the target game, and is usually configured to facilitate development and debugging, and may include some debugging tools, logging and / or other development tools.
[0041] In some embodiments, since the game data of the target game is not static, there may be corresponding version updates over time, for example, the gameplay of the target game has been upgraded, or the data volume of specific player data in the target game has increased, etc. Therefore, the terminal can periodically trigger the monitoring tool to monitor the target game. For example, an automation tool, such as a Jenkins tool, can be introduced, and then the time is configured for the introduced automation tool to set a specific monitoring time for the target game, such as 0:00 on Wednesday, that is, at 0:00 every Wednesday, the target game is the game that currently needs to be monitored, thereby prompting the automation tool to run regularly, so that the initial monitoring tool regularly performs monitoring of the target game.
[0042] Specifically, the above-mentioned determination of the target game that the monitoring tool currently needs to monitor may include: the terminal can obtain current time information through an automation tool, and then, through the above-mentioned automation tool, when it is determined that the above-mentioned current time information meets the monitoring time corresponding to the above-mentioned target game, a data monitoring request for the above-mentioned target game is sent to the above-mentioned monitoring tool, so that the above-mentioned monitoring tool determines the target game that currently needs to be monitored based on the above-mentioned data monitoring request, thereby prompting the monitoring tool to perform monitoring on the target game.
[0043] It should be noted that since there may be at least two specific games that the monitoring tool needs to monitor, the monitoring tool can synchronize multiple threads to monitor different specific games separately, and the monitoring tool can also asynchronously monitor different specific games at different monitoring times, that is, the monitoring time of different specific games that need to be monitored is different.
[0044] Optionally, the monitoring time of the target game can be set according to the version update cycle of the target game. For example, if every Thursday is set as the release day of the new version of the target game, then 0:00 every Wednesday can be set as the monitoring time corresponding to the target game to start a periodic task. At 0:00 every Wednesday, the game data of the target game is obtained from the production environment and backed up in the development environment, as well as the corresponding data analysis.
[0045] Step 102: Send a game data query request for the database of the game server of the target game to the data copy service through the monitoring tool based on the monitoring configuration information of the target game, wherein the game data query request includes a game query indication parameter.
[0046] It is understandable that, since different games have different game business characteristics, there may be at least two specific games that need to be monitored by the monitoring tool. Therefore, different games need to monitor different game data. For example, a certain game needs to focus on player personal data (player backpack data, chat data, battle lineup data, etc.), and certain game data of different games are constantly updated as the game operation time passes, such as adding new content. Therefore, in this embodiment, the monitoring tool is configured differently when monitoring different specific games, that is, the above-mentioned monitoring tool is configured with monitoring configuration information for different games, and the monitoring configuration information is used to indicate the data range to be monitored in the corresponding game. Therefore, the terminal can select part of the game data from the massive game data of the corresponding game according to the monitoring configuration information for monitoring, so as to improve the monitoring efficiency of the game.
[0047] The monitoring configuration information of the target game is used to indicate the data range to be monitored in the target game, so that the game data of the target game can be acquired for monitoring through the monitoring configuration information of the target game.
[0048] Furthermore, in order to ensure the security of the game data in the database of the game server, it is necessary to control the access rights to the database storing the game data in the database of the game server. To this end, in this embodiment, a data copy service is deployed so that when the database of the game server needs to be accessed, the database of the game server can be accessed through the deployed data copy service to obtain the corresponding game data therefrom.
[0049] In this regard, the above-mentioned monitoring tool can initiate a game data query request to the data copying service based on the monitoring configuration information of the target game configured by itself, so that the data copying service can respond to the game data query request, query the corresponding game data from the database of the game server of the target game based on the game query indication parameters in the game data query request, and copy it.
[0050] Among them, the above-mentioned data copy service can be used only to provide services to the monitoring tool, and does not participate in executing the database logic of the game server to ensure the data security of the database of the game server.
[0051] It is understandable that the request is sent directly to the database used by the game through the data copy service without passing through the game server, so that the data monitoring tool does not affect the operation of the online server during testing and use.
[0052] Among them, the above-mentioned game query indication parameters include but are not limited to query location, query conditions, etc. The query location is used to indicate the data range to be queried, so as to query data that meets the query conditions from within the data range. The query location includes but is not limited to the data set name (such as data table name), query file address, etc., which can be set specifically according to needs and are not limited here. For example, the data copy service can query a data table in the database of the game server based on the data table name, and then based on the query conditions, query the corresponding data that meets the query conditions from the data table.
[0053] It should be noted that different games can be configured with different query locations and / or query conditions to achieve personalized configuration. For example, different games can configure which content to monitor based on the characteristics of their stored data to analyze the content that needs to be monitored, such as whether there is any abnormality in the change in the amount of data occupied by the content.
[0054] Among them, the above-mentioned query conditions can be set according to the data types corresponding to different query positions. For example, when the data type corresponding to the query position is player type data, the query condition can be specified as the player ID with the highest game participation. For example, the player's level or combat power can be judged to select the player with the highest level or the highest combat power; or, the player IDs of some players can be randomly selected as query conditions, etc. The specific settings can be made according to needs and are not limited here.
[0055] In some embodiments, the data copy service is deployed with read-only permissions for the game data in the database of the game server.
[0056] It is understandable that the database administrator (DBA) or other relevant staff can access the production environment data with read-only permission by deploying the data copy service, so as to control the access to the production environment data, avoid the situation where the access tool may damage the online data, and only grant the read permission of the data, so as not to modify or delete the online data, thus ensuring the data security of online players. Among them, the above-mentioned online data is the game data stored in the database of the game server.
[0057] In addition, since the monitoring tool used for data monitoring is an auxiliary tool, in order to avoid affecting the security of online data, the data copy service is deployed to only provide an external copy interface for data reading operations, and no other interfaces are provided, so online data cannot be modified or deleted.
[0058] In some embodiments, the above-mentioned data copy service can be deployed on a machine that can access the database of the game server. The machine can be a server in the running development environment where the monitoring tool is located, or it can be a server in the running development environment where the monitoring tool is located. The specific setting can be made according to the needs and is not limited here.
[0059] In some embodiments, in order to ensure the data security of online players, the monitoring tool as an auxiliary tool needs to avoid affecting the online data security. Therefore, it can be ensured by limiting the access scope of the machine where the data copy service is located, for example, through a firewall configuration policy.
[0060] Specifically, an access whitelist is configured for the firewall of the machine where the data copy service is located. The access whitelist includes at least one access IP, and the IP address corresponding to the development environment where the monitoring tool is located is set in the access IP of the access whitelist.
[0061] Step 103: Obtain the first game data indicated by the game query indication parameter from the database of the game server through the data copy service, and send the first game data to the monitoring tool.
[0062] In this embodiment, the first game data to be monitored can be obtained from the database of the game server through the data copy service. The first game data is the game data to be monitored in the target game. Then, the first game data is sent to the monitoring tool to copy the first game data in the database of the game server in the external network to the development environment for analysis without affecting the normal operation of the database of the game server. By configuring the game query indication parameters, the scope of data monitoring can be specified to obtain the game data to be monitored without having to write additional monitoring logic in the database of the game server.
[0063] Specifically, the service interface of the data copy service can provide external services via HTTP, such as in the form of microservices.
[0064] For example, Figure 2 As shown, if an automation tool is set up, the above-mentioned automation tool can process the configured periodic tasks one by one during the execution of the script, triggering the monitoring tool to prompt the monitoring tool to call the data copy service based on the game query indication parameters configured in the configuration list to obtain the latest version of the data for the current cycle, wherein the latest version of the data is stored in the production environment database of the game server.
[0065] In some embodiments, since different game servers use different databases, such as MongoDB database, MySQL database, etc., and different databases have different data storage methods, the corresponding data query indication parameters contain different contents. Therefore, the game query indication parameters need to match the database of the game server so that the corresponding game data can be obtained from the database of the game server based on the game query indication parameters.
[0066] In some embodiments, the above-mentioned obtaining the first game data indicated by the above-mentioned game query indication parameter from the database of the above-mentioned game server through the above-mentioned data copy service may include: the terminal may generate a data copy request based on the above-mentioned game query indication parameter through the above-mentioned data copy service, and send the above-mentioned data copy request to the database of the game server, and then, the terminal may receive the first game data fed back by the database of the above-mentioned game server based on the above-mentioned data copy request through the above-mentioned data copy service.
[0067] Exemplarily, the data copy service can receive an HTTP request sent by a monitoring tool, parse the parameters passed by the HTTP request, identify the data content that currently needs to be copied, generate a data copy request, and then connect to the database of the game server, issue a data copy request, and execute data copy.
[0068] In some embodiments, in order to ensure that the data copy service can accurately locate the database of the game server and the data security of the database of the game server, the above-mentioned data copy service is provided with data access configuration information, and the above-mentioned data access configuration information includes access identity information and access address. The above-mentioned data copy service generates a data copy request based on the above-mentioned game query indication parameter, and sends the above-mentioned data copy request to the database of the game server, which may include: generating a data copy request based on the above-mentioned access identity information and the above-mentioned game query indication parameter through the above-mentioned data copy service, and then, through the above-mentioned data copy service, sending the above-mentioned data copy request to the database of the game server based on the above-mentioned access address, so that the database of the above-mentioned game server performs authority verification on the above-mentioned data copy service based on the above-mentioned access identity information, and after the authority verification is passed, obtains the first game data based on the above-mentioned game query indication parameter.
[0069] Among them, the above-mentioned access identity information may include the user name and password associated with the data copy service, or the user name and password of the database of the game server, etc., which can be set according to specific needs and are not limited here. Therefore, by setting the access identity information, there is no need to provide it to relevant staff or directly pass it in the interface, thereby reducing the risk of leakage of the access identity information used for authority verification.
[0070] In some embodiments, the above-mentioned game query indication parameters include a query location and a query condition. The above-mentioned obtaining the first game data indicated by the above-mentioned game query indication parameters from the database of the above-mentioned game server through the above-mentioned data copy service may include: the data storage space corresponding to the above-mentioned query location can be determined from the database of the above-mentioned game server through the above-mentioned data copy service, and then the first game data that meets the above-mentioned query condition can be obtained from the above-mentioned data storage space through the above-mentioned data copy service.
[0071] For example, when using MongoDB database storage, configure the monitored query location, such as the collection name, query conditions, and the above game query indication parameters as follows:
[0072] [{
[0073] "collection":"Avatar",
[0074] "query_conditions":[{"uid":10610441984},{"uid":10910361966}]
[0075] Among them, the above-mentioned Avatar is a player data set, and the player data set is the above-mentioned data set name. The above-mentioned "uid:10610441984" and "uid:10910361966" are player ids, and the player id is the above-mentioned query condition.
[0076] As can be seen from the above example, the data copy service can obtain the game data of the players with ids ““uid”:10610441984” and ““uid”:10910361966” from the player data set based on the game query indication parameters in the example.
[0077] In some embodiments, the monitoring tool is set in the development environment of the target game. After sending the first game data to the monitoring tool, the method may further include: storing the first game data in the development environment of the target game through the monitoring tool. Figure 2 As shown, the monitoring tool stores the first game data in the development environment database, so that the first game data can be copied for backup, and the first game data can be analyzed when necessary, or the first game data can be used as comparison data, etc.
[0078] In some embodiments, since the monitoring tool stores the first game data in the development environment of the target game, and the monitoring tool can periodically monitor the game data of the target game based on the monitoring configuration information of the target game, the development environment of the target game stores at least one version of historical game data that matches the above monitoring configuration information. The at least one version of historical game data is the game data obtained by the monitoring tool from the database of the game server using the historical data copy service in at least one historical period.
[0079] Correspondingly, the above-mentioned storing the above-mentioned first game data in the development environment of the above-mentioned target game through the above-mentioned monitoring tool may include: the current time information can be obtained through the monitoring tool, so that the monitoring tool can add a time mark to the above-mentioned first game data based on the above-mentioned current time information to obtain the updated first game data, and then, the above-mentioned updated first game data is stored in the development environment of the above-mentioned target game through the above-mentioned monitoring tool, so that by backing up and storing according to different version cycles, it is easy to distinguish the time periods to which different game data belong.
[0080] For example, since the monitoring of the target game is generally divided into cycles, such as weeks and months. The above current time information can use the game service opening time as the starting point to accumulate the number of weeks in each monitoring cycle. After the first game data is copied, an additional week mark field is added to the copied first game data to distinguish data of different weekly versions, and then the marked data is stored in the database used by the monitoring tool. The database used by the data monitoring tool can be an independent development environment database deployed by the development environment, which is used as a backup of the online database of the game server.
[0081] Step 104: Analyze the first game data through the monitoring tool based on the data analysis rules in the monitoring configuration information to obtain the data analysis results of the target game.
[0082] The above-mentioned data analysis rules are used to indicate the analysis and processing method for the game data that the monitoring tool currently needs to monitor, so as to analyze the first game data through the data analysis rules to obtain the data analysis results related to the target game.
[0083] Specifically, the data analysis results can be output as an analysis report or an early warning report. For example, the changes between the first game data of the target game and the game data of other versions can be compared, and an abnormal situation of at least part of the game data in the first game data of the target game can be warned, etc. The relevant staff can be notified by email or by calling a third-party notification service to perform storage data design, maintenance adjustment and confirmation, etc.
[0084] It is understandable that by obtaining the data analysis results of the target game, it is convenient for developers to determine whether the data volume of the first game data, or the data volume of a certain saved field in the first game data, is reasonable. For example, whether there is expired content in the game data corresponding to the limited-time gameplay of the target game, so as to clear the expired content in time. For example, whether the save format corresponding to the game data is reasonably compressed. For example, by determining whether there is prop data that has not been used for a certain period of time in the player's backpack data, it can be indicated whether the gameplay of the target game is reasonable. For example, whether the data storage location of the first game data is reasonable, that is, at least part of the data in the first game data needs to be stored independently rather than centrally, so as to avoid a single document storage exceeding the upper limit set by the database engine, etc., so as to assist relevant staff in reviewing through data analysis results, eliminate design defects, and solve problems as soon as possible.
[0085] For example, when the data analysis results are used as an analysis report, the analysis report can reflect the overall changes in the target game's saved data, the saved fields with the largest proportion in the target game, the saved fields with the largest changes in the target game, etc., to assist relevant staff in designing and adjusting the saved content, saved format, and data cleaning rules.
[0086] In some embodiments, the above-mentioned data analysis rules include a version indication parameter, and the version indication parameter is used to indicate at least one version of historical game data that currently needs to be compared with the first game data of the target game. The above-mentioned first game data is analyzed by the above-mentioned monitoring tool based on the data analysis rules in the above-mentioned monitoring configuration information to obtain the data analysis result of the above-mentioned target game, which may include: the above-mentioned monitoring tool can select the corresponding version of the second game data from the various versions of historical game data stored in the development environment of the above-mentioned target game based on the above-mentioned version indication parameter, and then, the above-mentioned first game data can be analyzed based on the above-mentioned second game data to obtain the data analysis result of the above-mentioned first game data.
[0087] Among them, the above-mentioned version indication parameters include but are not limited to game query indication parameters, game identifiers, and at least one parameter used to indicate the game, and / or version identifiers, time stamps, and at least one parameter used to indicate the specific version of the game, such as the previous version identifier, which is used to obtain the previous version of the game data. The specific settings can be made according to needs and are not limited here.
[0088] For example, Figure 2 As shown, the monitoring tool can obtain the second game data from the development environment database to analyze the first game data based on the second game data, thereby outputting corresponding data analysis results.
[0089] In some embodiments, the target game corresponds to at least two save fields, that is, different save fields store different game data of the target game, for example, game data of different players in the target game. The first game data is analyzed based on the second game data to obtain the data analysis result of the first game data, which may include: determining the first data volume of the first game data based on the data volume statistics method corresponding to the database of the game server, the first data volume includes the data volume of the first game data in the at least two save fields, and obtaining the second data volume of the second game data, the second data volume includes the data volume of the second game data in the at least two save fields, and finally, determining the data volume change of the at least two save fields based on the first data volume and the second data volume.
[0090] Among them, the acquisition of the second data volume of the above-mentioned second game data can be determined in real time based on the data volume statistics method corresponding to the database of the above-mentioned game server, or it can be the data volume obtained and stored when the second game data is analyzed in the historical period. The specific setting can be based on demand and is not limited here.
[0091] The saved data stored in the above-mentioned saved field is the business data in the game that needs to be persistently stored in the database, such as player level information, player item information, etc.
[0092] The data volume may be a way to measure the size of the stored data, usually measured in byte units such as Kb and Mb.
[0093] Specifically, by comparing and analyzing the data volume of the saved fields in different versions of game data, data analysis can be performed to provide change reports such as the percentage of the data volume of the saved fields, the percentage of the data volume of the largest saved field, the speed of change of the data volume of the saved fields, etc., and early warnings can be issued for abnormal data that exceeds the configured threshold. For example, in the MongoDB database, the upper limit of a single document storage is 16MB, and the corresponding threshold can be set to 10MB to issue an early warning after the document data volume is detected. The document may include at least one saved field.
[0094] It is understandable that since different game servers use different databases, such as MongoDB database, MySQL database, etc., and different databases have different data storage methods, it is necessary to count the data volume of the corresponding data based on the data storage method corresponding to the database, that is, different game server databases correspond to different data volume statistics methods.
[0095] For example, the MongoDB database can use the database query statement Object.bsonsize(db.avatar.findOne({"uid":10001001})) corresponding to the MongoDB database to obtain the corresponding data volume, or use the pymongo tool to read the data and then use BSON to encode the data to count the data volume corresponding to at least one stored field through the interface int size=bson.BSON.encode(doc).
[0096] In some embodiments, the method may further include: determining the data volume distribution of the at least two saved fields based on the first data volume, for example, the data volume ratio between each saved field and the total saved field. Then, the first game data of the target game may be monitored for abnormality based on the data volume distribution and / or the data volume change. If the data volume distribution and / or the data volume change meet the preset warning conditions, a warning report for the target game may be generated.
[0097] Among them, the above-mentioned preset warning conditions can be that the data volume ratio of the stored field reaches the preset warning ratio threshold, or the data volume change exceeds the preset change threshold, etc., which can be set according to needs and are not limited here.
[0098] It should be noted that, since different games can be personalized with different query locations and / or query conditions, the data analysis rules corresponding to different games are also different. In addition, the threshold used for comparison in the above preset warning conditions can be set by the user in advance, or it can be updated after the corresponding data volume is counted multiple times as the game is operated.
[0099] For example, when using MongoDB database storage and configuring the query location, that is, the collection name to be monitored, and the query conditions, you also need to configure the thresholds used to determine the preset warning conditions, such as the data volume threshold of the documents where all the saved fields that match the game query indication parameters are located, or the data volume threshold corresponding to a single saved field. The specific game query indication parameters and data analysis rules are as follows:
[0100] [{
[0101] "collection":"Avatar",
[0102] "query_conditions":[{"uid":10610441984
[0103] },{“uid”:10910361966
[0104] }]
[0105] "max_size":1048576, / / byte size
[0106] "field_max_size":{
[0107] "bag_data":102400, / / byte size
[0108] }
[0109] }]
[0110] Among them, the above-mentioned Avatar is the player data set, and the player data set is the above-mentioned data set name. The above-mentioned ""uid":10610441984", ""uid":10910361966" are player ids, and the player id is the above-mentioned query condition. The above-mentioned max_size is used to indicate the complete disk data volume threshold of a single player Avatar, which is set to 1048576 bytes. The above-mentioned bag_data is used to indicate the data volume threshold corresponding to the player's backpack, which is set to 102400 bytes. In this way, data security is ensured by monitoring the overall data volume of the disk field and the data volume of the local field.
[0111] From the above example, it can be seen that if the data volume of the player with the player id ""uid":10610441984" or ""uid":10910361966" is greater than 1048576 bytes, a warning report for the above target game is generated. If the data volume corresponding to the player's backpack is greater than 102400 bytes, a warning report for the above target game is generated. Among them, 1048576 bytes is 1M, and 102400 bytes is 100K.
[0112] In addition, the data volume of each saved field is determined, so as to count the saved fields with a preset number of data volumes in the front, or to determine the saved fields with the largest data volume changes.
[0113] In this embodiment, data changes and early warning reports are made by comparing and analyzing the amount of stored data. The data volume statistics method corresponding to the production environment database is used to compare the data volume of different versions, and a change report on the overall data volume, the fastest change, etc. is given, and an alarm is issued for data content that exceeds the configured threshold size.
[0114] From the above content, it can be seen that by determining the target game that the monitoring tool currently needs to monitor, and then, through the above-mentioned monitoring tool based on the monitoring configuration information of the above-mentioned target game, sending a game data query request containing a game query indication parameter for the database of the game server of the above-mentioned target game to the data copy service, so as to obtain the first game data indicated by the above-mentioned game query indication parameter from the database of the above-mentioned game server through the above-mentioned data copy service, and send the above-mentioned first game data to the above-mentioned monitoring tool, and then through the above-mentioned monitoring tool based on the data analysis rules in the above-mentioned monitoring configuration information, analyze the above-mentioned first game data to obtain the data analysis result of the above-mentioned target game, so as to copy the game data to be checked through the data copy service, and then analyze and process the game data to be checked through the monitoring tool, so as to improve the inspection efficiency of the game data and detect abnormal data in time.
[0115] This embodiment also provides a data monitoring device, which can be integrated into a terminal device. Figure 3 As shown, the data monitoring device may include:
[0116] A game determination module 301 is used to determine the target game that the monitoring tool currently needs to monitor;
[0117] A query request module 302, configured to send a game data query request for a database of a game server of the target game to a data copy service through the monitoring tool based on the monitoring configuration information of the target game, wherein the game data query request includes a game query indication parameter;
[0118] The data acquisition module 303 is used to acquire the first game data indicated by the game query indication parameter from the database of the game server through the data copy service, and send the first game data to the monitoring tool;
[0119] The data analysis module 304 is used to analyze the first game data through the monitoring tool based on the data analysis rules in the monitoring configuration information to obtain the data analysis results of the target game.
[0120] In some embodiments, the monitoring tool is set in the development environment of the target game, and the data monitoring device further includes a data storage module, which is specifically used for:
[0121] The first game data is stored in the development environment of the target game through the monitoring tool.
[0122] In some embodiments, the development environment of the target game stores at least one version of historical game data matching the monitoring configuration information, and the data storage module is specifically used to:
[0123] Get current time information;
[0124] Adding a time tag to the first game data based on the current time information to obtain updated first game data;
[0125] The updated first game data is stored in the development environment of the target game through the monitoring tool.
[0126] In some embodiments, the data analysis rule includes a version indication parameter, and the data analysis module 304 is specifically used to:
[0127] Selecting the corresponding version of the second game data from the historical game data of each version stored in the development environment of the target game based on the version indication parameter by the monitoring tool;
[0128] Based on the second game data, the first game data is analyzed to obtain a data analysis result of the first game data.
[0129] In some embodiments, the target game corresponds to at least two save fields, and the data analysis module 304 is specifically used to:
[0130] Determine the first data volume of the first game data based on the data volume statistics method corresponding to the database of the game server, wherein the first data volume includes the data volume of the first game data in the at least two storage fields;
[0131] Acquire a second data volume of the second game data, wherein the second data volume includes the data volume of the second game data in the at least two saved fields;
[0132] Based on the first data volume and the second data volume, a change in the data volume of the at least two stored fields is determined.
[0133] In some embodiments, the data monitoring device further includes a report generating module, and the report generating module is specifically used to:
[0134] Based on the first data volume, determining data volume distribution of the at least two stored fields;
[0135] If the above data volume distribution and / or the above data volume change meets the preset warning conditions, a warning report for the above target game is generated.
[0136] In some embodiments, the data acquisition module 303 is specifically used to:
[0137] Generate a data copy request based on the game query indication parameter through the data copy service, and send the data copy request to the database of the game server;
[0138] The first game data fed back by the database of the game server based on the data copy request is received through the data copy service.
[0139] In some embodiments, the data copy service is provided with data access configuration information, the data access configuration information includes access identity information and access address, and the data acquisition module 303 is specifically used for:
[0140] Generate a data copy request based on the access identity information and the game query indication parameter through the data copy service;
[0141] Through the above-mentioned data copy service, based on the above-mentioned access address, the above-mentioned data copy request is sent to the database of the game server, so that the database of the above-mentioned game server performs authority verification on the above-mentioned data copy service based on the above-mentioned access identity information, and after the authority verification is passed, the first game data is obtained based on the above-mentioned game query indication parameters.
[0142] In some embodiments, the game determination module 301 is specifically used to:
[0143] Get current time information through automated tools;
[0144] Through the above-mentioned automation tool, when it is determined that the above-mentioned current time information meets the monitoring time corresponding to the above-mentioned target game, a data monitoring request for the above-mentioned target game is sent to the above-mentioned monitoring tool, so that the above-mentioned monitoring tool determines the target game that needs to be monitored currently based on the above-mentioned data monitoring request.
[0145] In some embodiments, the game query indication parameters include a query location and a query condition, and the data acquisition module 303 is specifically used to:
[0146] Determine the data storage space corresponding to the query location from the database of the game server through the data copy service;
[0147] The first game data meeting the query condition is obtained from the data storage space through the data copy service.
[0148] In some embodiments, the data copy service is deployed with read-only permissions for the game data in the database of the game server.
[0149] From the above content, it can be seen that by determining the target game that the monitoring tool currently needs to monitor, and then, through the above-mentioned monitoring tool based on the monitoring configuration information of the above-mentioned target game, sending a game data query request containing a game query indication parameter for the database of the game server of the above-mentioned target game to the data copy service, so as to obtain the first game data indicated by the above-mentioned game query indication parameter from the database of the above-mentioned game server through the above-mentioned data copy service, and send the above-mentioned first game data to the above-mentioned monitoring tool, and then through the above-mentioned monitoring tool based on the data analysis rules in the above-mentioned monitoring configuration information, analyze the above-mentioned first game data to obtain the data analysis result of the above-mentioned target game, so as to copy the game data to be checked through the data copy service, and then analyze and process the game data to be checked through the monitoring tool, so as to improve the inspection efficiency of the game data and detect abnormal data in time.
[0150] Accordingly, an embodiment of the present application further provides an electronic device, which may be a terminal, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and other terminal devices. Alternatively, the electronic device may be a server.
[0151] like Figure 4 As shown, Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 400 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer-readable storage media, and a computer program stored in the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. Those skilled in the art will appreciate that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or arrange components differently.
[0152] The processor 401 is the control center of the electronic device 400, and uses various interfaces and lines to connect various parts of the entire electronic device 400. By running or loading software programs and / or units stored in the memory 402, and calling data stored in the memory 402, the processor 401 executes various functions of the electronic device 400 and processes data, thereby monitoring the electronic device 400 as a whole. The processor 401 can be a central processing unit CPU, a graphics processing unit GPU, a network processor (Network Processor, NP), etc., and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.
[0153] In the embodiment of the present application, the processor 401 in the electronic device 400 will load instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 will run the application programs stored in the memory 402 to implement various functions, such as:
[0154] Determine the target games that the monitoring tool currently needs to monitor;
[0155] Sending, through the monitoring tool, a game data query request for a database of a game server of the target game to a data copy service based on the monitoring configuration information of the target game, wherein the game data query request includes a game query indication parameter;
[0156] Obtaining the first game data indicated by the game query indication parameter from the database of the game server through the data copy service, and sending the first game data to the monitoring tool;
[0157] The monitoring tool analyzes the first game data based on the data analysis rules in the monitoring configuration information to obtain the data analysis result of the target game.
[0158] Therefore, the electronic device 400 provided in this embodiment can bring the following technical effects: improving the efficiency of checking game data and timely detecting abnormal data.
[0159] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0160] Optional, such as Figure 4 As shown, the electronic device 400 further includes: a touch screen 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected to the touch screen 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407, respectively. Those skilled in the art can understand that Figure 4 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0161] The touch display screen 403 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces may be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel may be used to collect the user's touch operation on or near it (such as the user using any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 401, and can receive the command sent by the processor 401 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 401 to determine the type of touch event, and then the processor 401 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 403 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 403 can also be used as a part of the input unit 406 to realize the input function.
[0162] The radio frequency circuit 404 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and to send and receive signals with the network device or other electronic devices.
[0163] The audio circuit 405 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 405 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 405 and converted into audio data, and then the audio data is output to the processor 401 for processing, and then sent to another electronic device through the radio frequency circuit 404, or the audio data is output to the memory 402 for further processing. The audio circuit 405 may also include an earplug jack to provide communication between an external headset and an electronic device.
[0164] The input unit 406 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0165] The power supply 407 is used to supply power to various components of the electronic device 400. Optionally, the power supply 407 can be logically connected to the processor 401 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 407 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0166] although Figure 4 Not shown, the electronic device 400 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.
[0167] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0168] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0169] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute any data monitoring method provided in the embodiment of the present application. The computer program can execute the following steps of the data monitoring method:
[0170] Determine the target games that the monitoring tool currently needs to monitor;
[0171] Sending, through the monitoring tool, a game data query request for a database of a game server of the target game to a data copy service based on the monitoring configuration information of the target game, wherein the game data query request includes a game query indication parameter;
[0172] Obtaining the first game data indicated by the game query indication parameter from the database of the game server through the data copy service, and sending the first game data to the monitoring tool;
[0173] The monitoring tool analyzes the first game data based on the data analysis rules in the monitoring configuration information to obtain the data analysis result of the target game.
[0174] It can be seen that the computer program can be loaded by the processor to execute any data monitoring method provided in the embodiments of the present application, thereby bringing the following technical effects: improving the efficiency of game data inspection and timely detecting abnormal data.
[0175] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0176] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0177] Since the computer program stored in the computer-readable storage medium can execute any data monitoring method provided in the embodiments of the present application, the beneficial effects that can be achieved by any data monitoring method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0178] According to one aspect of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the methods provided in various optional implementations of the above embodiments.
[0179] In the above data monitoring device, computer-readable storage medium, electronic device, and computer program product embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the above-described data monitoring device, computer-readable storage medium, computer program product, electronic device, and its corresponding units can refer to the description of the data monitoring method in the above embodiment, and will not be repeated here.
[0180] The above is a detailed introduction to a data monitoring method, device, electronic device, computer-readable storage medium and computer program product provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A data monitoring method, characterized in that: The method comprises: Determine the target games that the monitoring tool currently needs to monitor; Sending, by the monitoring tool based on the monitoring configuration information of the target game, a game data query request for a database of a game server of the target game to a data copy service, wherein the game data query request includes a game query indication parameter; Obtaining, through the data copy service, first game data indicated by the game query indication parameter from a database of the game server, and sending the first game data to the monitoring tool; The monitoring tool analyzes the first game data based on the data analysis rules in the monitoring configuration information to obtain the data analysis result of the target game.
2. The data monitoring method according to claim 1, characterized in that: The monitoring tool is set in the development environment of the target game, and after sending the first game data to the monitoring tool, the method further includes: The first game data is stored in the development environment of the target game through the monitoring tool.
3. The data monitoring method according to claim 2, characterized in that: The target game development environment stores at least one version of historical game data that matches the monitoring configuration information, and storing the first game data in the target game development environment through the monitoring tool includes: Get current time information; Adding a time tag to the first game data based on the current time information to obtain updated first game data; The updated first game data is stored in the development environment of the target game through the monitoring tool.
4. The data monitoring method according to claim 3, characterized in that: The data analysis rule includes a version indication parameter, and the monitoring tool analyzes the first game data based on the data analysis rule in the monitoring configuration information to obtain the data analysis result of the target game, including: Selecting, by the monitoring tool, second game data of a corresponding version from historical game data of various versions stored in the development environment of the target game based on the version indication parameter; The first game data is analyzed based on the second game data to obtain a data analysis result of the first game data.
5. The data monitoring method according to claim 4, characterized in that: The target game corresponds to at least two save fields, and the first game data is analyzed based on the second game data to obtain a data analysis result of the first game data, including: Determine, based on a data volume statistics method corresponding to a database of the game server, a first data volume of the first game data, wherein the first data volume includes a data volume of the first game data in the at least two storage fields; Acquire a second data amount of the second game data, where the second data amount includes a data amount of the second game data in the at least two saved fields; Based on the first data amount and the second data amount, a change in the data amount of the at least two stored fields is determined.
6. The data monitoring method according to claim 5, characterized in that: Also includes: Based on the first data volume, determining data volume distribution of the at least two stored fields; If the data volume distribution and / or the data volume change meets the preset warning conditions, a warning report for the target game is generated.
7. The data monitoring method according to claim 1, characterized in that: The acquiring, from a database of the game server, the first game data indicated by the game query indication parameter through the data copy service includes: Generate a data copy request based on the game query indication parameter through the data copy service, and send the data copy request to a database of the game server; The first game data fed back by the database of the game server based on the data copy request is received through the data copy service.
8. The data monitoring method according to claim 7, characterized in that: The data copy service is provided with data access configuration information, the data access configuration information includes access identity information and access address, and the data copy request is generated based on the game query indication parameter through the data copy service, and the data copy request is sent to the database of the game server, including: generating, by the data copy service, a data copy request based on the access identity information and the game query indication parameter; Through the data copy service, based on the access address, the data copy request is sent to the database of the game server, so that the database of the game server verifies the authority of the data copy service based on the access identity information, and after the authority authentication is passed, obtains the first game data based on the game query indication parameter.
9. The data monitoring method according to claim 1, characterized in that: Determining the target game that the monitoring tool currently needs to monitor includes: Get current time information through automated tools; Through the automation tool, when it is determined that the current time information meets the monitoring time corresponding to the target game, a data monitoring request for the target game is sent to the monitoring tool, so that the monitoring tool determines the target game that currently needs to be monitored based on the data monitoring request.
10. The data monitoring method according to claim 1, characterized in that: The game query indication parameter includes a query location and a query condition, and obtaining the first game data indicated by the game query indication parameter from a database of the game server through the data copy service includes: Determining, through the data copy service, a data storage space corresponding to the query location from a database of the game server; The first game data meeting the query condition is obtained from the data storage space through the data copy service.
11. The data monitoring method according to any one of claims 1 to 10, characterized in that: The data copy service is deployed to have read-only authority for game data in the database of the game server.
12. A data monitoring device, characterized in that: The device comprises: A game determination module is used to determine the target game that the monitoring tool currently needs to monitor; A query request module, configured to send a game data query request for a database of a game server of the target game to a data copy service through the monitoring tool based on the monitoring configuration information of the target game, wherein the game data query request includes a game query indication parameter; A data acquisition module, configured to acquire the first game data indicated by the game query indication parameter from a database of the game server through the data copy service, and send the first game data to the monitoring tool; The data analysis module is used to analyze the first game data based on the data analysis rules in the monitoring configuration information through the monitoring tool to obtain the data analysis results of the target game.
13. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps of the data monitoring method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps of the data monitoring method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Data monitoring method, equipment and system
CN106371984A
System and method for monitoring business states of network games
CN106730833A
Game performance monitoring method, device and system and storage medium
CN111104281A
Game resource data monitoring method and device, computer equipment and storage medium
CN111389014A
Game monitoring method and device
CN112426723A