Game malicious behavior prevention method and terminal

By generating mapping components on the game client and transmitting input data to the real client for processing, the problem of malicious behavior intrusion is solved, the fairness of the game environment is ensured, and malicious attacks and memory modifications are prevented.

CN118903832AActive Publication Date: 2024-11-08FUJIAN TQ ONLINE INTERACTIVE INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410941141.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-08
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

There is malicious behavior intrusion in blockchain games and PC games, destroying game memory and creating an unfair gaming environment, mainly including modifying memory and key simulation operations.

Method used

The game client generates the first mapping component, receives input data and transmits it to the real client in real time for data processing, ensuring that key data processing is carried out on the real client, and the game client is only responsible for data reception and rendering, preventing malicious attacks and memory Revise.

Benefits of technology

It effectively reduces the interference of malicious behavior on the game, ensures a fair game environment, and prevents malicious behavior from typing and memory modification of the client through the original components.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118903832A_ABST
    Figure CN118903832A_ABST
Patent Text Reader

Abstract

The invention discloses a game malicious behavior prevention method and a terminal, and the method comprises the steps: generating a first mapping assembly at a game client, receiving input data at the game client through the first mapping assembly, transmitting the input data to a real client in real time, and carrying out the data processing of the input data through the real client, the real client is used for sending the processed data to the game client, the game client is used for rendering the processed data, the game client is only responsible for data receiving and rendering, key data is processed in the real client, hostile attacks cannot be carried out on the data processing process, and the data processing efficiency is improved. And the mapping component is newly arranged at the game client, malicious behaviors cannot be typed into the client by using the original component, and memory modification cannot be performed, so that the interference of the malicious behaviors on the game is reduced, and a fair game environment is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and a terminal for preventing malicious behavior in games. Background Art

[0002] Currently, blockchain games and PC (personal computer) games are facing malicious behavior intrusions. There are two main types of malicious behaviors: (1) Modifying memory to directly achieve game effects. For example, players originally needed to go through a series of operations, such as manually selecting monsters and releasing skills with keys, to achieve the corresponding game effects. By modifying memory, the game effects can be achieved directly without the player's operation; (2) Finding the bitmap in the game through image recognition and using key simulation to achieve click operations without the need for player operation.

[0003] The above malicious behaviors destroy the game memory and create an unfair gaming environment. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a method and a terminal for preventing malicious behavior in games, which can reduce the interference of malicious behavior on games.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0006] A method for preventing malicious behavior in games, comprising the steps of:

[0007] Generate a first mapping component on the game client;

[0008] Receiving input data from the game client through the first mapping component, and transmitting the input data to the real client in real time;

[0009] Using the real client to process the input data to obtain processed data;

[0010] The processed data is sent to the game client using the real client, and the processed data is rendered using the game client.

[0011] In order to solve the above technical problems, another technical solution adopted by the present invention is:

[0012] A terminal for preventing malicious gaming behavior includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:

[0013] Generate a first mapping component on the game client;

[0014] Receiving input data from the game client through the first mapping component, and transmitting the input data to the real client in real time;

[0015] Using the real client to process the input data to obtain processed data;

[0016] The processed data is sent to the game client using the real client, and the processed data is rendered using the game client.

[0017] The beneficial effects of the present invention are as follows: a first mapping component is generated on a game client, input data is received on the game client through the first mapping component, the input data is transmitted to a real client in real time, the input data is processed by the real client, the processed data is sent to the game client by the real client, and the processed data is rendered by the game client, so that the game client is only responsible for data reception and rendering, and key data processing is done on the real client, and malicious attacks on the data processing process cannot be carried out. In addition, a new mapping component is set on the game client, and malicious behavior cannot use the original component to input to the client, and memory modification cannot be carried out, thereby reducing the interference of malicious behavior on the game and ensuring a fair gaming environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A flowchart of a method for preventing malicious behavior in games according to an embodiment of the present invention;

[0019] Figure 2 This is a schematic diagram of the structure of a terminal for preventing malicious gaming behavior according to an embodiment of the present invention;

[0020] Figure 3 A schematic diagram of the interaction between the client and the mapping component in the method for preventing malicious behavior in games according to an embodiment of the present invention;

[0021] Figure 4 The present invention is a flowchart of data processing in a method for preventing malicious gaming behavior according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.

[0023] Please refer to Figure 1 , a method for preventing malicious behavior in games, comprising the steps of:

[0024] Generate a first mapping component on the game client;

[0025] Receiving input data from the game client through the first mapping component, and transmitting the input data to the real client in real time;

[0026] Using a real client to process the input data to obtain processed data;

[0027] The processed data is sent to the game client using the real client, and the processed data is rendered using the game client.

[0028] From the above description, it can be seen that the beneficial effects of the present invention are: generating a first mapping component on the game client, receiving input data on the game client through the first mapping component, and transmitting the input data to the real client in real time, using the real client to process the input data, using the real client to send the processed data to the game client, and using the game client to render the processed data, so that the game client is only responsible for data reception and rendering, and the key data processing is done on the real client, and malicious attacks cannot be carried out on the data processing process, and a new mapping component is set on the game client, and malicious behavior cannot use the original component to type in the client, and memory modification cannot be performed, thereby reducing the interference of malicious behavior on the game and ensuring a fair gaming environment.

[0029] Further, generating the first mapping component on the game client includes:

[0030] Get the keyboard code that needs to be mapped;

[0031] The keyboard code to be mapped is converted into a new keyboard code according to a preset conversion rule to obtain a first mapping component corresponding to the keyboard code to be mapped.

[0032] From the above description, it can be seen that the keyboard code to be mapped is converted into a new keyboard code according to the preset conversion rule to obtain the first mapping component corresponding to the keyboard code to be mapped, so as to redefine the keyboard code and avoid using the original component to type on the client.

[0033] Furthermore, receiving input data at the game client through the first mapping component and transmitting the input data to the real client in real time includes:

[0034] Receiving input data at the game client;

[0035] determining data opposite to the input data according to the first mapping component;

[0036] The reverse data is transmitted to the real client in real time.

[0037] From the above description, it can be seen that after the game client receives the input data, the data opposite to the input data is determined according to the first mapping component, and then transmitted to the real client in real time, so that memory modification cannot be achieved and cheating in the game is avoided.

[0038] Furthermore, it also includes:

[0039] The new keyboard code is obtained on the real client, and the new keyboard code is converted into a real keyboard code according to a preset conversion rule to obtain a second mapping component corresponding to the new keyboard code.

[0040] As can be seen from the above description, a mapping component is also set on the real client to convert the new keyboard code into the real keyboard code to ensure the smooth processing of the game operation data.

[0041] Furthermore, before the real client is used to process the input data to obtain the processed data, the method further includes:

[0042] The reverse data is converted into the real keyboard code as the input data by using the second mapping component by a real client.

[0043] From the above description, it can be seen that the real client uses the second mapping component to convert the opposite data into real keyboard codes as input data, so as to obtain the data actually input by the player, so that the real client can perform correct data processing.

[0044] Please refer to Figure 2 A terminal for preventing malicious behavior in gaming comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0045] Generate a first mapping component on the game client;

[0046] Receiving input data from the game client through the first mapping component, and transmitting the input data to the real client in real time;

[0047] Using a real client to process the input data to obtain processed data;

[0048] The processed data is sent to the game client using the real client, and the processed data is rendered using the game client.

[0049] From the above description, it can be seen that the beneficial effects of the present invention are: generating a first mapping component on the game client, receiving input data on the game client through the first mapping component, and transmitting the input data to the real client in real time, using the real client to process the input data, using the real client to send the processed data to the game client, and using the game client to render the processed data, so that the game client is only responsible for data reception and rendering, and the key data processing is done on the real client, and malicious attacks cannot be carried out on the data processing process, and a new mapping component is set on the game client, and malicious behavior cannot use the original component to type in the client, and memory modification cannot be performed, thereby reducing the interference of malicious behavior on the game and ensuring a fair gaming environment.

[0050] Further, generating the first mapping component on the game client includes:

[0051] Get the keyboard code that needs to be mapped;

[0052] The keyboard code to be mapped is converted into a new keyboard code according to a preset conversion rule to obtain a first mapping component corresponding to the keyboard code to be mapped.

[0053] From the above description, it can be seen that the keyboard code to be mapped is converted into a new keyboard code according to the preset conversion rule to obtain the first mapping component corresponding to the keyboard code to be mapped, so as to redefine the keyboard code and avoid using the original component to type on the client.

[0054] Furthermore, receiving input data at the game client through the first mapping component and transmitting the input data to the real client in real time includes:

[0055] Receiving input data at the game client;

[0056] determining data opposite to the input data according to the first mapping component;

[0057] The reverse data is transmitted to the real client in real time.

[0058] From the above description, it can be seen that after the game client receives the input data, the data opposite to the input data is determined according to the first mapping component, and then transmitted to the real client in real time, so that memory modification cannot be achieved and cheating in the game is avoided.

[0059] Furthermore, it also includes:

[0060] The new keyboard code is obtained on the real client, and the new keyboard code is converted into a real keyboard code according to a preset conversion rule to obtain a second mapping component corresponding to the new keyboard code.

[0061] As can be seen from the above description, a mapping component is also set on the real client to convert the new keyboard code into the real keyboard code to ensure the smooth processing of the game operation data.

[0062] Furthermore, before the real client is used to process the input data to obtain the processed data, the method further includes:

[0063] The reverse data is converted into the real keyboard code as the input data by using the second mapping component by a real client.

[0064] From the above description, it can be seen that the real client uses the second mapping component to convert the opposite data into real keyboard codes as input data, so as to obtain the data actually input by the player, so that the real client can perform correct data processing.

[0065] The above-mentioned game malicious behavior prevention method and terminal of the present invention can be applied to game scenarios, and are described below through specific implementation methods:

[0066] Please refer to Figure 1 , Figure 3 and Figure 4 , Embodiment 1 of the present invention is:

[0067] A method for preventing malicious behavior in games, comprising the steps of:

[0068] S1. Generate a first mapping component on the game client, specifically including S11-S12:

[0069] S11. Obtain the keyboard code that needs to be mapped.

[0070] In an optional implementation, the keyboard code to be mapped is obtained in a matrix form, for example, the keyboard code to be mapped is {W ASD}.

[0071] S12: Convert the keyboard code to be mapped into a new keyboard code according to a preset conversion rule to obtain a first mapping component corresponding to the keyboard code to be mapped.

[0072] The first mapping component is a new keyboard component.

[0073] The preset conversion rule can be flexibly set according to the actual situation. In an optional implementation, the preset conversion rule is a reverse conversion. For example, if the keyboard code to be mapped is {WASD}, the new keyboard code after conversion is {DS AW}.

[0074] In another optional implementation, the preset conversion rule is a replacement conversion. For example, if the keyboard code to be mapped is {W ASD}, then the new keyboard code after conversion may be {IJKL}.

[0075] S2, obtaining the new keyboard code on the real client, and converting the new keyboard code into a real keyboard code according to a preset conversion rule, to obtain a second mapping component corresponding to the new keyboard code, such as Figure 3 shown.

[0076] For example, if the new keyboard code is {DS AW}, it is converted into a real keyboard code, ie, {W ASD}, on the real client to obtain a second mapping component, which is the real keyboard component.

[0077] S3, receiving input data at the game client through the first mapping component, and transmitting the input data to the real client in real time, such as Figure 4 As shown, specifically including S31-S33:

[0078] S31, receiving input data at the game client.

[0079] The input data is input keyboard code data.

[0080] S32. Determine data opposite to the input data according to the first mapping component.

[0081] S33, transmitting the opposite data to the real client in real time.

[0082] For example, if the keyboard code data input by the user on the game client is W, then the data opposite to the input data is determined to be D according to the first mapping component, and the keyboard code data D is transmitted to the real client.

[0083] S4. Using the real client and the second mapping component, convert the reverse data into the real keyboard code as the input data.

[0084] For example, if the real client receives keyboard code data D, the second mapping component is used to convert the keyboard code data D into a real keyboard code W as input data.

[0085] S5. Using the real client to process the input data to obtain processed data.

[0086] S6: Using the real client to send the processed data to the game client, and using the game client to render the processed data, such as Figure 4 shown.

[0087] Please refer to Figure 2 , Embodiment 2 of the present invention is:

[0088] A terminal for preventing malicious gaming behavior comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, each step of the method for preventing malicious gaming behavior in the first embodiment is implemented.

[0089] In summary, the present invention provides a method and terminal for preventing malicious behavior in games. A first mapping component is generated on a game client. Input data is received on the game client through the first mapping component, and the input data is transmitted to a real client in real time. The input data is processed by the real client, and the processed data is sent to the game client by the real client. The processed data is rendered by the game client, so that the game client is only responsible for data reception and rendering, and key data processing is performed on the real client. It is impossible to conduct malicious attacks on the data processing process. A new mapping component is set on the game client, and malicious behavior cannot use the original component to type in the client, and memory modification cannot be performed, thereby reducing the interference of malicious behavior on the game and ensuring a fair game environment. Specifically, the keyboard code to be mapped is converted into a new keyboard code according to a preset conversion rule to obtain a first mapping component corresponding to the keyboard code to be mapped, so as to redefine the keyboard code and avoid using the original component to type in the client. In addition, after the game client receives the input data, data opposite to the input data is determined according to the first mapping component, and then transmitted to the real client in real time, so that memory modification cannot be achieved and cheating in the game is avoided.

[0090] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for preventing malicious behavior in games, characterized in that: Includes steps: Generate a first mapping component on the game client; receiving input data at the game client through the first mapping component, and transmitting the input data to the real client in real time; Using the real client to process the input data to obtain processed data; The real client is used to send the processed data to the game client, and the game client is used to render the processed data.

2. A method for preventing malicious behavior in games according to claim 1, characterized in that: Generating the first mapping component on the game client includes: Get the keyboard code that needs to be mapped; The keyboard code to be mapped is converted into a new keyboard code according to a preset conversion rule to obtain a first mapping component corresponding to the keyboard code to be mapped.

3. A method for preventing malicious behavior in games according to claim 2, characterized in that: The receiving input data at the game client through the first mapping component and transmitting the input data to the real client in real time includes: Receiving input data at the game client; determining data opposite to the input data according to the first mapping component; The reverse data is transmitted to the real client in real time.

4. A method for preventing malicious behavior in games according to claim 3, characterized in that: Also includes: The new keyboard code is obtained on the real client, and the new keyboard code is converted into a real keyboard code according to a preset conversion rule to obtain a second mapping component corresponding to the new keyboard code.

5. A method for preventing malicious behavior in games according to claim 4, characterized in that: Before the real client processes the input data to obtain the processed data, the method further includes: The reverse data is converted into the real keyboard code as the input data by using the second mapping component by a real client.

6. A terminal for preventing malicious gaming behavior, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the following steps are implemented: Generate a first mapping component on the game client; receiving input data at the game client through the first mapping component, and transmitting the input data to the real client in real time; Using the real client to process the input data to obtain processed data; The real client is used to send the processed data to the game client, and the game client is used to render the processed data.

7. A terminal for preventing malicious gaming behavior according to claim 6, characterized in that: Generating the first mapping component on the game client includes: Get the keyboard code that needs to be mapped; The keyboard code to be mapped is converted into a new keyboard code according to a preset conversion rule to obtain a first mapping component corresponding to the keyboard code to be mapped.

8. A terminal for preventing malicious gaming behavior according to claim 7, characterized in that: The receiving input data at the game client through the first mapping component and transmitting the input data to the real client in real time includes: Receiving input data at the game client; determining data opposite to the input data according to the first mapping component; The reverse data is transmitted to the real client in real time.

9. A terminal for preventing malicious gaming behavior according to claim 8, characterized in that: Also includes: The new keyboard code is obtained on the real client, and the new keyboard code is converted into a real keyboard code according to a preset conversion rule to obtain a second mapping component corresponding to the new keyboard code.

10. A terminal for preventing malicious gaming behavior according to claim 9, characterized in that: Before the real client processes the input data to obtain the processed data, the method further includes: The reverse data is converted into the real keyboard code as the input data by using the second mapping component by a real client.

Citation Information

Patent Citations

  • Game plug-in detection method and storage medium

    CN109663362A

  • Plug-in detection method and device

    CN111437609A

  • Cheating behavior identification method and device, storage medium and electronic equipment

    CN114602186A

  • On-line game service method and on-line game service system

    JP2008272487A

  • Game Data Processing Method, Storage Medium, and Electronic Device

    US20220410014A1