Data detection method, device and computer readable storage medium
By detecting memory address changes and log information of key game data, marking abnormal data, and combining encryption and abnormal data identification models, the problem of inability to timely detect malicious tampering in existing technologies is solved, ensuring the security and fairness of game data.
Patent Information
- Application Number
- CN202410573157.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-10
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-05-10
AI Technical Summary
Existing technology is difficult to detect whether game data has been maliciously tampered with in a timely and accurate manner, especially for the method of brute-force cracking and polling memory addresses, which results in a high risk of malicious tampering of key game data.
By detecting when the memory address of key game data is violently cracked, the difference before and after the change value is determined, and whether it is an abnormal behavior based on the preset range and log information is judged, marked as abnormal game data, and carried out through the encryption algorithm and abnormal data identification model. further processing.
It achieves timely detection and protection of key game data, ensures data security, prevents malicious tampering, and ensures game fairness and user experience.
Smart Images

Figure CN118121940B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a data detection method, device and computer-readable storage medium. Background Art
[0002] Conventional anti-cheating methods for game data currently usually encrypt data during storage and communication, but ignore the protection of running data. In some practices, game developers usually use a method based only on the detection and reporting of plug-in feature values on the client to analyze plug-ins and other behaviors that endanger game security. However, for the protection of game data in memory, it is difficult to deal with some methods of cracking game data such as brute force cracking and polling memory addresses, and it is impossible to determine whether key data has been maliciously tampered with in a timely and accurate manner, which makes the key game data at high risk of being maliciously tampered with.
[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of this application is to provide a data detection method, device and computer-readable storage medium, aiming to solve the technical problem that previous detection methods are difficult to deal with some methods of cracking game data such as brute force cracking and polling memory addresses, and cannot timely and accurately determine whether key data has been maliciously tampered with.
[0005] To achieve the above object, the present application provides a data detection method, the method comprising:
[0006] When it is detected that the memory address corresponding to the game key data is cracked by brute force and the game key data is modified, determining the change value of the game key data before and after the modification;
[0007] When the change value exceeds a preset range, the log corresponding to the key game data is retrieved, and a target change range is determined according to the log;
[0008] When the change value exceeds the target change range, the key game data is marked as abnormal game data.
[0009] In one embodiment, when it is detected that the memory address corresponding to the game key data is cracked by brute force and the game key data is modified, before the step of determining the change value of the game key data before and after the modification, it also includes:
[0010] Determine the data type of the key game data;
[0011] Based on the data type, the triggering conditions and determination rules of the corresponding determination event decision are set, and the determination event decision is added to the key game data.
[0012] In one embodiment, when the change value exceeds a preset range, before the step of retrieving a log corresponding to the key game data and determining a target change range according to the log, the method further includes:
[0013] Based on the determination rule of the event decision, determine the corresponding preset range;
[0014] Detecting whether the change value of the key game data exceeds the preset range;
[0015] Based on the determination event decision, detecting the modification mode and modification frequency of the key game data;
[0016] When the change value exceeds the preset range, and the modification mode and / or the modification frequency do not conform to the determination rule of the determination event decision, it is determined that the modified change value is unreasonable.
[0017] In one embodiment, when the change value exceeds a preset range, the step of retrieving a log corresponding to the key game data and determining a target change range according to the log includes:
[0018] Determine the location of the log file corresponding to the key game data, and retrieve the log based on the location of the log file;
[0019] Based on the modification time of the key game data, searching for the player's operation records and event triggering records within a preset time range;
[0020] Determining the player's behavior pattern, operation frequency, and event triggering sequence based on the operation record and the event triggering record;
[0021] The target variation range of the key game data is determined based on the behavior pattern, operation frequency and event triggering sequence.
[0022] In one embodiment, after the step of marking the key game data as abnormal game data when the change value exceeds the target change range, the method further includes:
[0023] Determining the type of abnormal behavior that caused the abnormal game data to be generated;
[0024] Based on the abnormal behavior type, generate abnormal prompt information;
[0025] Send the abnormal prompt information to the user terminal for display, and suspend the player's game privileges;
[0026] Based on the operation records in the log, the modified key game data is reset.
[0027] In one embodiment, when it is detected that the memory address corresponding to the game key data is cracked by brute force and the game key data is modified, before the step of determining the change value of the game key data before and after the modification, it also includes:
[0028] Generate the corresponding key based on the encryption algorithm;
[0029] Based on the key, encrypting the key game data when storing the key game data in the memory;
[0030] When an instruction to read the game key data is received, the game key data is decrypted based on the key.
[0031] In one embodiment, after the step of marking the key game data as abnormal game data when the change value exceeds the target change range, the method further includes:
[0032] Continuously monitor the player's operation behavior;
[0033] Based on the monitored illegal operation behaviors triggered by the players and the derived illegal game data, a corresponding sample set is constructed;
[0034] Based on the sample set, a game abnormal data recognition model is constructed and trained.
[0035] In one embodiment, after the step of constructing and training a game abnormal data recognition model based on the sample set, the method further includes:
[0036] When it is detected that the key game data has been maliciously modified, determining an abnormal behavior recognition result based on the abnormal game data recognition model;
[0037] Associating and storing the abnormal behavior recognition result with the corresponding behavior feature;
[0038] Based on the behavior characteristics and the recognition results, the triggering conditions for the determination event decision of the key game data are improved.
[0039] In addition, to achieve the above-mentioned purpose, the present application also provides a data detection device, which includes: a memory, a processor, and a data detection program stored in the memory and executable on the processor, wherein the data detection program is configured to implement the steps of the data detection method as described above.
[0040] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which a data detection program is stored, and when the data detection program is executed by a processor, the steps of the data detection method described above are implemented.
[0041] This application provides a data detection method. When it is detected that the memory address corresponding to the key game data is brute-force cracked and the key game data is modified, the change value of the key game data before and after the modification is determined, and whether the change value is reasonable is determined by a pre-set change value judgment event decision. When the change value exceeds the preset range, the log corresponding to the key game data is retrieved, and the target change range is determined according to the log; when the change value exceeds the target change range, the key game data is marked as abnormal game data. Through the above approach, maliciously tampered key game data can be detected in time, ensuring the security of the key game data. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0044] Figure 1 This is a flow chart of the first embodiment of the data detection method of the present application;
[0045] Figure 2 This is a flow chart of the second embodiment of the data detection method of the present application;
[0046] Figure 3 This is a flow chart of the third embodiment of the data detection method of the present application;
[0047] Figure 4 This is a flow chart of a fourth embodiment of the data detection method of the present application;
[0048] Figure 5 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application.
[0049] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0050] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0052] The main solution of the embodiment of the present application is: when it is detected that the memory address corresponding to the game key data is brute-force cracked and the game key data is modified, determine the change value of the game key data before and after the modification; when the change value exceeds a preset range, retrieve the log corresponding to the game key data, and determine the target change range based on the log; when the change value exceeds the target change range, mark the game key data as abnormal game data.
[0053] Conventional anti-cheating methods for game data currently usually encrypt data during storage and communication, but ignore the protection of running data. In some practices, game developers usually use a method based only on the detection and reporting of plug-in feature values on the client to analyze plug-ins and other behaviors that endanger game security. However, for the protection of game data in memory, it is difficult to deal with some methods of cracking game data such as brute force cracking and polling memory addresses, and it is impossible to determine whether key data has been maliciously tampered with in a timely and accurate manner, which makes the key game data at high risk of being maliciously tampered with.
[0054] This application provides a data detection method that can promptly detect key game data that has been maliciously tampered with, thereby ensuring the security of the key game data.
[0055] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a data detection device, etc. The following takes the data detection device as an example to illustrate this embodiment and the following embodiments.
[0056] Based on this, the present application embodiment provides a data detection method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the data detection method of the present application.
[0057] In this embodiment, the data detection method includes:
[0058] Step S10: When it is detected that the memory address corresponding to the game key data is cracked by brute force and the game key data is modified, determine the change value of the game key data before and after the modification.
[0059] In this embodiment, the key game data refers to the data that has a significant impact on the player's performance, game progress and game balance in the game. Key game data can be player attributes (such as character experience points, etc.), game resources (such as gold coins, props, etc.), combat data, social data or competitive data, etc. The key game data stored in the memory will also be symmetrically encrypted to prevent the most basic data tampering. In addition, the game program will be equipped with a dynamic monitoring and defense mechanism to monitor the state of the memory when the program is running, so as to detect whether there is a brute force cracking of the memory address and the modification of the memory value of the key game data and other abnormal behaviors.
[0060] As a feasible implementation method, before the game key data is modified, the original data of the game key data is backed up first, so that after detecting that the game key data has been abnormally modified, it can be compared with the original data. When it is detected that the memory address corresponding to the game key data has been brute-forced and the game key data has been modified, the timestamp of the modification and the specific modification content are immediately recorded. The modified game key data is compared with the original data to determine the changed value. This can be obtained by performing corresponding mathematical calculations to obtain the modified change value.
[0061] Sometimes the change of key game data may be due to the change of the internal logic of the game rather than external intervention. Therefore, it is necessary to ensure that the changed value is reasonable. In this embodiment, the application will make a change value judgment event decision for the key game data, that is, the corresponding result of the change value judgment event decision is used to verify whether the modified change value is reasonable. If it is unreasonable, it may be cheating. The modification behavior and the changed value are recorded in the log, including information such as timestamps, values before and after modification. This information can be used for further analysis and processing, such as formulating anti-cheating strategies, banning cheating accounts, etc. Exemplary, such as diamond currency in the game, is a relatively important currency, which usually requires in-app purchases or opening important treasure chests to obtain, and the number of diamonds obtained each time by these normal channels is determined. Once the memory data is violently modified, the value change value of this diamond is likely to be inconsistent with the change value obtained by the normal channel, so it can be preliminarily determined that there is cheating in this modification.
[0062] Furthermore, when determining event decisions for key data change values in memory, it is necessary to first clarify which data is key and needs to be monitored. By monitoring the key game data regularly or in real time, the data type is clarified according to the data characteristics of these key game data. For example, the data type of the key game data can include the player's account personal information, game coins, transaction amount, etc. According to the actual needs and security policies of different data types, the change rules of key data are set. These rules include the change range, change rate, change frequency, etc. of the value, so that the system can identify abnormal changes. In addition, it is necessary to use pre-written algorithms or logic to implement the monitoring and detection mechanism of key game data to detect changes in key game data. For example, compare the current data with the data at the previous moment and calculate the difference or percentage change between them. The triggering conditions and judgment rules of event decisions also need to be set based on the modification frequency, duration, and achievement of specific thresholds of different data types. For example, if a certain key game data exceeds the preset threshold, the corresponding judgment decision event is triggered. Once the decision event is triggered, the preset decision logic will start the automated process of retrieving the log. Optionally, the settings for event determination decisions may be reviewed and optimized regularly, and the change rules and processing strategies may be adjusted according to actual conditions to improve the accuracy and efficiency of event determination decisions.
[0063] In this embodiment, by adding corresponding event determination decisions to the key game data, it is determined whether the modified key game data is reasonable, so that the logs can be retrieved for evaluation later, and appropriate measures can be taken to maintain the fairness and justice of the game. In addition, by setting different trigger rules and event determination decisions for different data types, it is possible to ensure the exception handling of key game data to a large extent.
[0064] Step S20: When the change value exceeds a preset range, retrieve the log corresponding to the key game data, and determine the target change range according to the log.
[0065] In this embodiment, the value range of the key game data is limited, such as life value, money, etc. The judgment rules of the event judgment decision are used to determine whether the modified memory value exceeds the preset range, or whether the modification frequency exceeds the preset preset, etc. If so, there may be cheating behavior, and the automated process of retrieving the game log will be started for further judgment. The game log is a record file that records various events and information during the game operation, which contains various information, such as player behavior, game state changes, system events, data change time, etc. Through the content recorded in the log file, the player's operation behavior and the game stage in the preset time range before and after the game key data is modified can be found. The behavior before and after the change value of the game key data quantity can be traced back by the log to determine the target change range, thereby determining whether the change of the game key data is reasonable.
[0066] It should be noted that the preset range is set by the R&D personnel according to the data type of the key game data, and the preset ranges corresponding to different key game data are different. For example, the player's health value, energy value, etc., the preset range can be a numerical range, such as health value between 0 and 100; for the number of gold coins and props held by the player, the preset range can be a non-negative integer range, such as the number of gold coins greater than or equal to 0; for the player's current level, task completion progress, etc., the preset range can be a set of discrete state values, such as level number, task status, etc.; for the timer, countdown, etc. in the game, the preset range can be a time period, such as a countdown between 0 and 3600 seconds; for the player's current coordinate position, the preset range can be the effective range of the game map, such as X, Y coordinates within a certain range; for the conversation content between the player and the NPC, the transaction records between players, etc., the preset range can be a text string, limiting the character length or specific characters.
[0067] Further, for the modified game key data, according to its memory address or identifier, the log entries related to the data are parsed and filtered out to find specific log records related to the game key data. According to the relevant log records found, the player's behavior before and after the game key data is modified is traced back, including checking the player's operation records, event trigger records and other relevant information to understand the player's behavior and activities before and after the key data is modified. Based on the player behavior data obtained by backtracking, judgment analysis is performed. Here, the target change range of the game key data can be determined by comparing the player's behavior pattern, operation frequency and / or event trigger sequence. If an abnormal or unreasonable behavior pattern is found, it can be further determined whether the player intends to modify the key data. To evaluate whether the player has cheating behavior. Among them, in a feasible implementation, when determining the target change range of the game key data, the player behavior data obtained by backtracking is cleaned and preprocessed to remove outliers and erroneous data to ensure the accuracy and completeness of the data. Subsequently, the player's behavior pattern, such as the player's common operations, preferred behaviors, etc., can be analyzed with the help of a deep learning neural network model, and by determining the player's behavior pattern, it is inferred what kind of operation the player performs on the key data in the game. Secondly, the frequency of various player operations, such as movement, attack, interaction, etc., can also be counted. By comparing the frequencies of different operations, it is determined which operations have a greater impact on the key data of the game, and then the range of changes in the key data can be determined. In addition, the order in which players trigger events can be analyzed, such as completing tasks, unlocking achievements, etc. By observing the triggering order of events, it is possible to understand the progress of the player in the game, and thus infer the target range of changes in the key data of the game. For example, if a memory address is found to be frequently modified and the modification pattern is regular, it may indicate the presence of external interference or the intervention of an automatic cheating program. By analyzing the behavior and frequency of the modification, the target range of changes in the modified memory value can be further determined, and whether it is reasonable can be determined based on this.
[0068] In this embodiment, when the modification is initially determined to be a possible cheating behavior, the log is retrieved and the abnormal behavior or cheating behavior is further determined based on various operations and events during the program operation, including the player's behavior. In addition, according to the specific situation and needs of the game, the preset range of key game data of each type is flexibly set, taking into account the rationality of game design and game balance, as well as the need to prevent cheating behavior.
[0069] Step S30: When the change value exceeds the target change range, the key game data is marked as abnormal game data.
[0070] In this embodiment, when the change range of the key game data exceeds the corresponding target change range, it can be determined that there is cheating in the modification of the key game data, so that it is marked as abnormal game data. That is, once it is found that the key game data exceeds the target change range, the key game data will be marked as abnormal game data, and relevant information such as the timestamp and specific value of the abnormal data will be recorded. In the subsequent process, the corresponding processing method will be executed for the abnormal game data. For example, the data will be rolled back to the normal range, the player's current account will be banned, an alarm will be sent to notify relevant personnel, and data analysis will be performed to find out the cause of the abnormality. Optionally, a continuous monitoring mechanism can also be established to regularly check the changes in the key game data to ensure that the game runs stably and abnormal situations are discovered in a timely manner.
[0071] To facilitate understanding of the overall execution process of the present invention, the following is an explanation through a specific example: before the value of diamond currency in the game suddenly increases and exceeds the preset threshold range, the log should record behaviors such as paid purchase or opening of treasure chests, and locate the corresponding position in the game log by modifying the timestamp. If the log records the player's recharge behavior or opening of treasure chests, the target change range of the modified game key data is determined according to its behavior. For example, the remaining game coins in the player's account before were 5. After the modification, the amount of game coins became 50,000. In the face of a large change in value, the corresponding change value determination time decision is triggered, and the log is called to trace back the player's recharge behavior, and the target change range of the game value should match the modified value, then it can be determined that there is no cheating in this modification. If the log does not record the player's recharge behavior or other reasonable behavior, or even if the recharge behavior or other reasonable behavior is recorded, but the modified value exceeds the target change range, the above situations can all determine that there is cheating in the modification of the game key data this time.
[0072] In this embodiment, when it is initially determined that the modification may be a cheating behavior, the log is retrieved and the various operations and events during the program operation are used to further determine whether the modification is an abnormal behavior or a cheating behavior. After the determination is made, the modified key game data is marked as abnormal data for subsequent processing. That is, through two rounds of abnormality detection, the detection accuracy of brute force cracking of polling memory addresses or changes in values in memory can be improved.
[0073] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 After step S30, the data detection method further includes:
[0074] Step S40, determining the type of abnormal behavior that causes the abnormal game data to be generated;
[0075] Step S50: generating abnormal prompt information based on the abnormal behavior type;
[0076] Step S60: sending the abnormal prompt information to the user terminal for display, and suspending the player's game privileges;
[0077] Step S70: based on the operation record in the log, reset the modified key game data.
[0078] In this embodiment, by analyzing the log data, the abnormal behavior type that causes the abnormal game data to be generated is determined, including various cheating behaviors, such as plug-ins, modifying game files, exploiting loopholes, etc. According to the abnormal behavior type, a corresponding abnormal prompt message is generated, indicating that the player's behavior violates the game rules or cheating behavior is detected. The prompt message needs to clearly inform the player of the problems found and the corresponding consequences. In addition, the generated abnormal prompt message can also be sent to the user end for display, and the player's game rights can be suspended to prevent him from continuing to participate in the game. This step can be achieved through the game client or server. As a feasible implementation method, the affected key game data can also be reset according to the operation records in the log to restore the fairness and normal operation of the game.
[0079] Further, in a feasible implementation, when generating abnormal prompt information, a classification model can be used to classify the illegal behavior of this abnormal modification, so as to determine the abnormal behavior type that causes the abnormal data type, such as cheating behavior, malicious behavior or improper behavior. According to the abnormal behavior type, the corresponding abnormal prompt information is generated, and the complete abnormal prompt information is generated by mapping the abnormal behavior type to the corresponding abnormal prompt information template. The generated abnormal prompt information can be sent to the player through a game client pop-up window, email, system message, etc. Optionally, in addition, in another feasible implementation, it is also possible to regularly perform security audits on the encryption scheme and set up a monitoring mechanism to detect abnormal behavior. By monitoring the player's game data, behavior patterns or other relevant indicators to detect abnormal operations or cheating behaviors, according to the identified abnormal behaviors, formulate corresponding strategies to suspend or limit the player's game permissions. Including suspending the account, limiting access to specific functions or game modes, etc. Once the measures to be taken are determined, they need to be implemented in the game system, that is, by updating the logic or database of the game server in real time to reflect the new status of the player.
[0080] When resetting the key game data, analyze the operation records before and after the abnormal behavior occurs to determine the affected key game data. According to the analysis results of the operation records, determine the key game data affected by the abnormal behavior, such as the player's gold coins, level experience, etc. Reset the affected key game data to restore it to the normal state before the abnormal behavior occurs.
[0081] In this embodiment, when abnormal behavior is detected, relevant prompt information is generated and a notification is sent to the player, indicating the reason and period for suspending or limiting the game privileges. Transparency is improved and possible misunderstandings or dissatisfaction are reduced. After the measures are implemented, the player's behavior needs to be continuously monitored and reviewed to ensure the effectiveness and rationality of the measures. By restoring the recoverable key game data, the security of the protected data can be improved.
[0082] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those of the above-mentioned first and second embodiments can be referred to the above introduction, and will not be repeated in the following. Figure 3 , before step S10, further comprising:
[0083] Step S80: Generate a corresponding key based on the encryption algorithm;
[0084] Step S90: based on the key, encrypting the game key data when the game key data is stored in the memory;
[0085] Step S100: upon receiving an instruction to read the key game data, decrypt the key game data based on the key.
[0086] In this embodiment, it is also necessary to encrypt the key game data in the memory to prevent data tampering. When the game is running, when the key data needs to be stored in the memory, the data is first encrypted. Select a suitable symmetric encryption algorithm, such as AES (Advanced Encryption Standard). Through the symmetric encryption algorithm, a key is generated using a secure random number generation algorithm, and the key is used as the encryption and decryption key. The selected encryption algorithm and the generated key are used to encrypt the key game data. The plaintext data is used as input, and the ciphertext data is generated using the key and the encryption algorithm. The generated ciphertext data is stored in the memory. At the same time, ensure that the key is not stored in plaintext to avoid leaking the key and causing the data to be decrypted.
[0087] When key data is needed, get the ciphertext data stored in memory. Use the same key and encryption algorithm to decrypt the ciphertext data. Take the ciphertext data as input, use the key and decryption algorithm to get the original plaintext data, that is, the decrypted game key data. Use the decrypted plaintext data for game logic or display. In addition, to ensure the security of encryption and decryption, the key should be kept in a secure location at runtime and not hard-coded in the game code in plain text, such as storing the key in a protected key repository or using a dedicated key management service.
[0088] In this embodiment, through the above steps, the symmetric encryption algorithm can be effectively used to encrypt the key game data, thereby improving the security and confidentiality of the data.
[0089] Based on the first embodiment, the second embodiment and / or the third embodiment of the present application, in the fourth embodiment of the present application, the same or similar contents as those of the first embodiment, the second embodiment and the third embodiment can refer to the above introduction, and will not be repeated in the following. Figure 4 , after step S30, further comprising:
[0090] Step S110: continuously monitor the player's operation behavior.
[0091] Step S120: construct a corresponding sample set based on the monitored illegal operation behaviors triggered by the player and the derived illegal game data.
[0092] Step S130: construct and train a game abnormal data recognition model based on the sample set.
[0093] In this embodiment, by continuously monitoring the player's operation behavior, identifying and analyzing the existing illegal operation behavior, and then building and training the game abnormal data recognition model, so as to timely discover and process abnormal game data and maintain a good environment and order for the game. The game system will continuously monitor the player's operation behavior in the game, including but not limited to movement, attack, interaction, etc. Based on the monitored player operation behavior, the system will identify possible illegal operation behaviors, such as cheating, plug-ins, exploitation of loopholes, etc. For the monitored illegal operation behaviors and the abnormal game data caused by them, the system will build a corresponding sample set, including the feature data of the illegal operation behavior and the corresponding game abnormal data. Based on the constructed sample set, the system will design and build a game abnormal data recognition model, usually using machine learning or deep learning algorithms, such as support vector machine (SVM), decision tree, neural network, etc. In the process of building the model, feature engineering will be performed to extract effective features in the sample set so that the model can accurately identify abnormal game data. The constructed game abnormal data recognition model is trained using the sample set, and the accuracy and generalization ability of the model are improved by continuously optimizing the model parameters. The trained game abnormal data recognition model will be applied in the actual game environment to continuously monitor game data, identify abnormal data, and mark it for subsequent processing. As the game environment changes and player behavior evolves, the system will continue to optimize the game abnormal data recognition model to adapt to the changing situation and improve the accuracy and stability of the model.
[0094] Furthermore, based on the game abnormal data recognition model, abnormal behaviors of players, such as cheating and plug-ins, are detected. The abnormal behavior recognition results are associated with the corresponding behavioral features and stored for subsequent analysis and processing. The stored behavioral features are analyzed, including information such as the type, frequency, and time period of the abnormal behavior. According to the results of the behavioral feature analysis, the judgment event trigger conditions of the key game data are modified. For example, when it is detected that a player uses a plug-in program to cheat, the trigger conditions are modified to immediately stop the behavior and impose corresponding penalties on the player. The modified judgment event trigger conditions are applied to the game system to ensure the security and fairness of the key game data. As the game environment and player behavior change, abnormal behavior is continuously monitored and the trigger conditions are optimized to adapt to the changing situation.
[0095] In this embodiment, by continuously monitoring player behavior, building sample sets, training models, and continuously optimizing, abnormal data in the game can be effectively identified and processed to ensure the smooth operation of the game and the player experience. By detecting abnormalities in key game data and modifying event trigger conditions, it is possible to effectively respond to abnormal behaviors of players, maintain the health and order of the game environment, and improve the game experience and satisfaction of players. At the same time, continuously optimizing and improving this process can better adapt to changes in the game environment and ensure the stability and sustainability of the game system.
[0096] The present application provides a data detection device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the data detection method in the above-mentioned embodiment one.
[0097] Reference below Figure 5 , which shows a schematic diagram of the structure of a data detection device suitable for implementing an embodiment of the present application. The data detection device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The data detection device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0098] like Figure 5As shown, the data detection device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the data detection device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the data detection device to communicate with other devices wirelessly or by wire to exchange data. Although the data detection device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0099] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0100] The data detection device provided by the present application adopts the data detection method in the above embodiment to solve the technical problem of data detection. Compared with the prior art, the beneficial effects of the data detection device provided by the present application are the same as the beneficial effects of the data detection method provided by the above embodiment, and other technical features in the data detection device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0101] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0102] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0103] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the data detection method in the above-mentioned embodiment.
[0104] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0105] The computer-readable storage medium may be included in the data detection device; or may exist independently without being assembled into the data detection device.
[0106] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the data detection device, the data detection device: when it is detected that the memory address corresponding to the game key data is brute-force cracked and the game key data is modified, determines the change value of the game key data before and after the modification; when the change value exceeds a preset range, retrieves the log corresponding to the game key data, and determines the target change range according to the log; when the change value exceeds the target change range, marks the game key data as abnormal game data.
[0107] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0108] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0109] The modules involved in the embodiments described in the present application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0110] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned data detection method, and can solve the technical problem of data detection. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the data detection method provided in the above-mentioned embodiment, and will not be described in detail here.
[0111] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned data detection method when executed by a processor.
[0112] The computer program product provided by the present application can solve the technical problem of data detection. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the data detection method provided by the above embodiment, which will not be repeated here.
[0113] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A data detection method, characterized in that: The data detection comprises the following steps: Determine the data type of the key game data; Based on the data type, setting the triggering conditions and determination rules of the corresponding determination event decision, and adding the determination event decision to the key game data; When it is detected that the memory address corresponding to the game key data is cracked by brute force and the game key data is modified, determining the change value of the game key data before and after the modification; Based on the determination rule, determining a corresponding preset range; Detecting whether the change value of the key game data exceeds the preset range; Based on the determination event decision, detecting the modification mode and modification frequency of the key game data; When the change value exceeds the preset range and the modification mode and / or the modification frequency do not conform to the determination rule, determining that the modified change value is unreasonable; When the change value exceeds a preset range, determining the location of a log file corresponding to the key game data, and retrieving the log based on the location of the log file; Based on the modification time of the key game data, searching for the player's operation records and event triggering records within a preset time range; Determining the player's behavior pattern, operation frequency, and event triggering sequence based on the operation record and the event triggering record; Determining a target change range of the key game data according to the behavior pattern, the operation frequency and the event triggering sequence; When the change value exceeds the target change range, the key game data is marked as abnormal game data.
2. The method according to claim 1, characterized in that After the step of marking the key game data as abnormal game data when the change value exceeds the target change range, the method further includes: Determining the type of abnormal behavior that caused the abnormal game data to be generated; Based on the abnormal behavior type, generate abnormal prompt information; Send the abnormal prompt information to the user terminal for display, and suspend the player's game privileges; Based on the operation records in the log, the modified key game data is reset.
3. The method according to claim 1, characterized in that Before the step of determining the change value of the game key data before and after being modified when it is detected that the memory address corresponding to the game key data is brute-force cracked and the game key data is modified, the method further includes: Generate the corresponding key based on the encryption algorithm; Based on the key, encrypting the key game data when storing the key game data in the memory; When an instruction to read the game key data is received, the game key data is decrypted based on the key.
4. The method according to claim 1, characterized in that After the step of marking the key game data as abnormal game data when the change value exceeds the target change range, the method further includes: Continuously monitor the player's operation behavior; Based on the monitored illegal operation behaviors triggered by the players and the derived illegal game data, a corresponding sample set is constructed; Based on the sample set, a game abnormal data recognition model is constructed and trained.
5. The method according to claim 4, characterized in that After the step of constructing and training the abnormal game data recognition model based on the sample set, the method further includes: When it is detected that the key game data has been maliciously modified, determining an abnormal behavior recognition result based on the abnormal game data recognition model; Associating and storing the abnormal behavior recognition result with the corresponding behavior feature; Based on the behavior characteristics and the recognition results, the triggering conditions of the determination event decision of the key game data are improved.
6. A data detection device, characterized in that: The data detection device comprises: a memory, a processor, and a data detection program stored in the memory and executable on the processor, wherein the data detection program is configured to implement the steps of the data detection method according to any one of claims 1 to 5.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a data detection program, and when the data detection program is executed by a processor, the steps of the data detection method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Game-role abnormal behavior detection method and device
CN108854075A
