Library collision prevention method and device for game account, storage medium and computer equipment

By verifying account and login environment information, the method of determining and directing to trap websites solves the problem of difficulty in intercepting credential stuffing attacks in the existing technology, thereby improving account security and maintaining user experience.

CN118869239AActive Publication Date: 2024-10-29CHENGDU MEGAYOU TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202410791182.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-29
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

Existing game account protection measures are insufficient in the face of credential stuffing attacks. Credential stuffing attackers can quickly locate and attack target accounts through clear response results, resulting in serious threats to game account security.

Method used

By obtaining and verifying the client's account login information and login environment information, it is determined whether it belongs to the anti-credential collision detection environment. If it is incorrect, a false identity token will be generated to direct the account to a trap website, isolate the real game website, and reduce the difficulty and success of credential collision. risk.

Benefits of technology

Effectively intercept credential stuffing attacks, reduce the success rate of credential stuffing, reduce attack pressure on real game websites, protect account security, improve the difficulty of credential stuffing, and maintain normal user gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118869239A_ABST
    Figure CN118869239A_ABST
Patent Text Reader

Abstract

The invention discloses a library collision prevention method and device for a game account, a storage medium and computer equipment, and the method comprises the steps: obtaining account login information and login environment information carried by a game account login request in response to the game account login request from a client; verifying whether the account login information is correct or not, and verifying whether a login environment corresponding to the game account login request belongs to a library collision avoidance detection environment or not based on the login environment information; and under the condition that the account login information is verified to be incorrect and the login environment belongs to the library collision prevention detection environment, determining that the game account login request is a library collision behavior, generating a first false identity token and sending the first false identity token to the client, the first false identity token is sent to the client side so that the client side can log in a game account to a trap website based on the first false identity token, the trap website is a mirror image website of a game website, and game data of the trap website and game data of the game website are mutually isolated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method and device for anti-collision library of game accounts, a storage medium, and a computer device. Background Art

[0002] In the gaming field, players use improper means such as auxiliary tools or plug-ins, which greatly increases the risk of account password leakage, and thus leads to frequent game account database collision incidents. Although there are currently a variety of security measures, such as directly banning accounts for abnormal login behavior and adding frequency limits to IP addresses, these measures are still insufficient when facing database collision attacks. The reason is that whether the account login is successful or failed, the system will give the database collision attacker a clear response result, which enables them to quickly try and accurately distinguish which accounts are successful and which are unsuccessful. Such a feedback mechanism invisibly provides convenience for database collision attackers, allowing them to more effectively locate and attack target accounts, posing a serious threat to the account security of game players. Summary of the invention

[0003] In view of this, the embodiments of the present application provide a method and device for preventing game account collisions, a storage medium, and a computer device, which help reduce the risk of game account collisions, increase the difficulty of game account collisions, and ensure the security of game accounts.

[0004] According to one aspect of the present application, a method for anti-collision library of game accounts is provided, the method comprising:

[0005] In response to a game account login request from a client, obtaining account login information and login environment information carried in the game account login request;

[0006] Verify whether the account login information is correct, and verify whether the login environment corresponding to the game account login request belongs to the anti-collision library detection environment based on the login environment information;

[0007] When it is verified that the account login information is incorrect and the login environment belongs to the anti-collision library detection environment, the game account login request is determined to be a library collision behavior, and a first false identity token is generated and sent to the client, so that the client logs in the game account to the trap website based on the first false identity token, wherein the trap website is a mirror website of the game website, and the game data of the trap website is isolated from the game data of the game website.

[0008] Optionally, after the client logs in the game account to the trap website based on the first false identity token, the method further includes:

[0009] Generate abnormal login prompt information based on the login environment information and the account login information;

[0010] The reserved contact information of the game account corresponding to the account login information is obtained, and the abnormal login prompt information is sent according to the reserved contact information to prompt that the game account is logged into the trap website because the account login information is incorrect and is in an anti-collision library detection environment, and to prompt that if the account login information is incorrect due to an input error, a new login request should be made.

[0011] Optionally, the method further comprises:

[0012] When verifying that the account login information is correct and the login environment belongs to the anti-collision library detection environment, generating a first real identity token, marking the first real identity token as a suspicious token, and sending the first real identity token to the client, so that the client logs in the game account to the game website based on the first real identity token;

[0013] Obtain gaming behavior data of a gaming account marked with a suspicious token, and if it is determined based on the gaming behavior data that the gaming account login request is a database collision, cancel the first real identity token to disconnect the gaming account from the gaming website.

[0014] Optionally, after canceling the first real identity token, the method further comprises:

[0015] A second false identity token is generated and sent to the client, so that the client logs in the game account to the trap website based on the second false identity token.

[0016] Optionally, the method further comprises:

[0017] If it is determined within a preset time period that the game account login request does not constitute a database collision based on the game behavior data, the suspicious token mark of the first real identity token is deleted.

[0018] Optionally, the method further comprises:

[0019] When verifying that the account login information is correct and the login environment does not belong to the anti-collision library detection environment, generating a second real identity token and sending it to the client, so that the client logs in to the game website based on the second real identity token;

[0020] When it is verified that the account login information is incorrect and the login environment does not belong to the anti-collision library detection environment, an account verification failure prompt message is fed back to the client.

[0021] Optionally, the account login information includes an account name and a password; the login environment information includes a client IP address; and verifying whether the login environment corresponding to the game account login request belongs to an anti-collision library detection environment based on the login environment information includes:

[0022] According to the account name in the account login information, historical login geographical address information corresponding to the account name is obtained, the client geographical address corresponding to the client IP address is determined, and based on the client geographical address and the historical login geographical address information, it is determined whether the login environment corresponding to the game account login request belongs to a remote login environment, wherein the remote login environment belongs to the anti-collision library detection environment; and / or,

[0023] According to the client IP address, the historical request login frequency corresponding to the client IP address is obtained, and based on the historical request login frequency and a preset high-frequency threshold, it is determined whether the login environment corresponding to the game account login request belongs to a high-frequency login environment, wherein the high-frequency login environment belongs to the anti-collision library detection environment.

[0024] According to another aspect of the present application, a game account anti-collision library device is provided, the device comprising:

[0025] An acquisition module, configured to respond to a game account login request from a client and acquire the account login information and login environment information carried in the game account login request;

[0026] A verification module, used to verify whether the account login information is correct, and to check whether the login environment corresponding to the game account login request belongs to the anti-collision library detection environment based on the login environment information;

[0027] The processing module is used to determine that the game account login request is a database collision behavior when it is verified that the account login information is incorrect and the login environment belongs to the anti-collision library detection environment, generate a first false identity token and send it to the client, so that the client logs in the game account to the trap website based on the first false identity token, wherein the trap website is a mirror website of the game website, and the game data of the trap website is isolated from the game data of the game website.

[0028] Optionally, the processing module is further used to:

[0029] Generate abnormal login prompt information based on the login environment information and the account login information;

[0030] The reserved contact information of the game account corresponding to the account login information is obtained, and the abnormal login prompt information is sent according to the reserved contact information to prompt that the game account is logged into the trap website because the account login information is incorrect and is in an anti-collision library detection environment, and to prompt that if the account login information is incorrect due to an input error, a new login request should be made.

[0031] Optionally, the processing module is further used to:

[0032] When verifying that the account login information is correct and the login environment belongs to the anti-collision library detection environment, generating a first real identity token, marking the first real identity token as a suspicious token, and sending the first real identity token to the client, so that the client logs in the game account to the game website based on the first real identity token;

[0033] Obtain gaming behavior data of a gaming account marked with a suspicious token, and if it is determined based on the gaming behavior data that the gaming account login request is a database collision, cancel the first real identity token to disconnect the gaming account from the gaming website.

[0034] Optionally, the processing module is further used to:

[0035] A second false identity token is generated and sent to the client, so that the client logs in the game account to the trap website based on the second false identity token.

[0036] Optionally, the processing module is further used to:

[0037] If it is determined within a preset time period that the game account login request does not constitute a database collision based on the game behavior data, the suspicious token mark of the first real identity token is deleted.

[0038] Optionally, the processing module is further used to:

[0039] When verifying that the account login information is correct and the login environment does not belong to the anti-collision library detection environment, generating a second real identity token and sending it to the client, so that the client logs in to the game website based on the second real identity token;

[0040] When it is verified that the account login information is incorrect and the login environment does not belong to the anti-collision library detection environment, an account verification failure prompt message is fed back to the client.

[0041] Optionally, the verification module is used to:

[0042] According to the account name in the account login information, historical login geographical address information corresponding to the account name is obtained, the client geographical address corresponding to the client IP address is determined, and based on the client geographical address and the historical login geographical address information, it is determined whether the login environment corresponding to the game account login request belongs to a remote login environment, wherein the remote login environment belongs to the anti-collision library detection environment; and / or,

[0043] According to the client IP address, the historical request login frequency corresponding to the client IP address is obtained, and based on the historical request login frequency and a preset high-frequency threshold, it is determined whether the login environment corresponding to the game account login request belongs to a high-frequency login environment, wherein the high-frequency login environment belongs to the anti-collision library detection environment.

[0044] According to another aspect of the present application, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the anti-collision library method of the above-mentioned game account is implemented.

[0045] According to another aspect of the present application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the above-mentioned anti-collision library method for game accounts when executing the program.

[0046] By means of the above technical scheme, a kind of anti-collision library method and device, storage medium, and computer equipment of a game account provided by the embodiment of the present application, when the game account login request is sent from the client, the system first obtains the account login information and login environment information, and performs double verification. On the one hand, verify whether the account login information (such as account name and password) is correct; on the other hand, based on the login environment information (such as client IP address), verify whether the login environment belongs to the possible anti-collision library detection environment (such as remote login or high-frequency login). If the account login information is incorrect and the login environment is abnormal, the system judges that the login request is a collision behavior, and generates a false identity token to send to the client, inducing the collision person to log the game account to a trap website isolated from the real game website, thereby protecting the security of the real game website and game data. The embodiment of the present application can timely discover and intercept the collision attack by verifying the account login information and login environment information, effectively protecting the safety of the game account, and when the collision behavior is detected, the system will not directly reject the login request, but send a false identity token to induce the collision person to enter the trap website, so that the continuous attack of the collision person on the real game website can be reduced, and potential security risks can be reduced. Through the setting of the trap website, the credential stuffing attack traffic is directed to an environment isolated from the real game website, which reduces the pressure on the real game server and ensures the gaming experience of normal users. In addition, the game data of the trap website is isolated from the data of the real game website. Even if the credential stuffer successfully logs in to the trap website, he cannot obtain or tamper with the data of the real game website. Since the credential stuffing attack is intercepted in time and directed to the trap website, normal users will not be disturbed and the gaming experience can be maintained. At the same time, the credential stuffer will mistakenly believe that the credential stuffing is successful, which increases the difficulty for the credential stuffer to steal the game account.

[0047] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0049] Figure 1 A schematic diagram of a process of a game account anti-collision library method provided in an embodiment of the present application is shown;

[0050] Figure 2 A schematic structural diagram of an anti-collision library device for a game account provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0051] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0052] In this embodiment, a method for preventing a game account from being hit is provided. Figure 1 As shown, the method includes:

[0053] Step 101, in response to a game account login request from a client, obtain account login information and login environment information carried in the game account login request.

[0054] The embodiment of the present application provides a method for preventing a game account from being hacked. In a network environment, hacking usually refers to hackers using leaked user data (such as usernames and passwords) obtained on other websites or services to try to log in to other websites or services to steal user information or perform other malicious activities. In order to prevent this hacking from damaging the game account, the method takes the following measures: When a game account login request from a client arrives at the server, the server system will first capture this request and obtain the account login information and login environment information carried therein.

[0055] Step 102, verifying whether the account login information is correct, and checking whether the login environment corresponding to the game account login request belongs to the anti-collision library detection environment based on the login environment information.

[0056] In the embodiment of the present application, the system will verify the provided account login information to ensure that the account and password are correct. In addition to verifying the account login information, the system will also determine whether the login is from an environment where a database collision may occur based on the login environment information (such as IP address, device information, geographic location, etc.).

[0057] Step 103, when it is verified that the account login information is incorrect and the login environment belongs to the anti-collision library detection environment, it is determined that the game account login request is a library collision behavior, and a first false identity token is generated and sent to the client, so that the client logs in the game account to the trap website based on the first false identity token, wherein the trap website is a mirror website of the game website, and the game data of the trap website is isolated from the game data of the game website.

[0058] In the embodiment of the present application, if the account login information is incorrect, and the login environment is judged to belong to the anti-collision library detection environment (i.e., an environment where there may be a risk of collision), the system will consider this to be a collision behavior, and generate a first false identity token to send to the client. After receiving this false identity token, the client will be directed to a trap website for login. This trap website is a mirror website of the game website, and its appearance and function are similar to those of the game website, but the game data is isolated from the actual game website, and will not cause any impact on the real game data. The embodiment of the present application can timely discover and intercept the collision behavior by verifying the account login information and verifying the login environment, and protect the safety of the game account. And even if the collision behavior is triggered, since the client is directed to the trap website, the hacker cannot obtain the real game data, thereby reducing the risk of data leakage. In addition, since the real game data is not affected, the user will not feel any loss or inconvenience when suffering from the collision attack, which ensures the normal operation of the game and the good experience of the user. At the same time, based on the above scheme, if the login information is incorrect, the hacker will be directed to the mirror trap website of the game website, making it mistakenly believe that the collision is successful, and improving the difficulty of hackers stealing game accounts.

[0059] By applying the technical solution of the present embodiment, when the game account login request is sent from the client, the system first obtains the account login information and login environment information, and performs double verification. On the one hand, verify whether the account login information (such as account name and password) is correct; on the other hand, based on the login environment information (such as client IP address), verify whether the login environment belongs to the possible anti-collision library detection environment (such as remote login or high-frequency login). If the account login information is incorrect and the login environment is abnormal, the system judges that the login request is a collision behavior, and generates a false identity token to send to the client, inducing the collision person to log the game account to a trap website isolated from the real game website, so as to protect the real game website and the safety of game data. The present application embodiment can timely discover and intercept the collision attack by verifying the account login information and login environment information, effectively protect the game account security, and when the collision behavior is detected, the system will not directly reject the login request, but send a false identity token to induce the collision person to enter the trap website, so that the continuous attack of the collision person on the real game website can be reduced, and potential security risks can be reduced. Through the setting of the trap website, the credential stuffing attack traffic is directed to an environment isolated from the real game website, which reduces the pressure on the real game server and ensures the gaming experience of normal users. In addition, the game data of the trap website is isolated from the data of the real game website. Even if the credential stuffer successfully logs in to the trap website, he cannot obtain or tamper with the data of the real game website. Since the credential stuffing attack is intercepted in time and directed to the trap website, normal users will not be disturbed and the gaming experience can be maintained. At the same time, the credential stuffer will mistakenly believe that the credential stuffing is successful, which increases the difficulty for the credential stuffer to steal the game account.

[0060] In an embodiment of the present application, optionally, the account login information includes an account name and a password; the login environment information includes a client IP address; step 102 includes: according to the account name in the account login information, obtaining the historical login geographical address information corresponding to the account name, determining the client geographical address corresponding to the client IP address, and based on the client geographical address and the historical login geographical address information, judging whether the login environment corresponding to the game account login request belongs to an off-site login environment, wherein the off-site login environment belongs to the anti-collision library detection environment; and / or, according to the client IP address, obtaining the historical request login frequency corresponding to the client IP address, and based on the historical request login frequency and a preset high-frequency threshold, judging whether the login environment corresponding to the game account login request belongs to a high-frequency login environment, wherein the high-frequency login environment belongs to the anti-collision library detection environment.

[0061] In this embodiment, the account login information includes an account name and a password, and the login environment information includes at least a client IP address. Based on the client IP address, the method provides two ways to verify whether the login environment belongs to the anti-collision library detection environment: one is a remote login environment detection: first, according to the account name in the account login information, the system will retrieve and obtain the historical login geographical address information corresponding to the account name (which can be the geographical location obtained by parsing the IP address of the historical login device). Then, the system will determine the client geographical address corresponding to the current client IP address. Then, the system will compare the client geographical address of the current login request with the historical login geographical address information. If the client geographical address of the current login request is not in the same city as the historical login geographical address, it is determined that the login environment corresponding to the game account login request is a remote login environment, which is considered to be one of the anti-collision library detection environments. The second is a high-frequency login environment detection: first, the system will retrieve and obtain the historical request login frequency corresponding to the IP address based on the client IP address. Then, the system will compare this historical request login frequency with a preset high-frequency threshold. If the historical request login frequency exceeds this high-frequency threshold (i.e. multiple login attempts in a short period of time), the login environment corresponding to the game account login request is judged to be a high-frequency login environment, which is also considered to be one of the anti-collision library detection environments. The embodiment of the present application detects remote login and high-frequency login environments, and the system can more accurately identify potential collision behaviors, thereby helping to prevent these behaviors from infringing on game accounts. Crackers usually need to try a large number of account and password combinations, and the detection mechanism of remote login and high-frequency login can quickly lock and prevent these abnormal behaviors, thereby reducing the probability of successful collision, ensuring the security of user accounts, while also reducing the losses and inconveniences suffered by users due to account theft. In addition, by collecting and analyzing the data of remote login and high-frequency login, the game operator can better understand the account security status, and formulate more effective security strategies accordingly. In addition to directly preventing collision behaviors, this detection mechanism can also prevent other risks related to abnormal login behaviors (such as illegal transactions after the account is stolen, publishing illegal content, etc.).

[0062] In an embodiment of the present application, optionally, step 103 also includes: generating abnormal login prompt information based on the login environment information and the account login information; obtaining the reserved contact information of the game account corresponding to the account login information, and sending the abnormal login prompt information according to the reserved contact information, so as to prompt that the game account is logged in to the trap website because the account login information is incorrect and is in an anti-collision library detection environment, and prompt that if the account login information is incorrect due to an input error, a new login request should be made.

[0063] In this embodiment, after the client logs the game account to the trap website based on the first false identity token, in addition to letting the database collision person fall into the trap website. Next, the system will perform a series of additional operations to ensure the security of the game account, and at the same time provide relevant notifications and prompts to the account owner. First, the system generates an abnormal login prompt message based on the login environment information and the account login information. This prompt message will clearly state that the current login behavior is identified as abnormal by the system because it involves incorrect account login information and occurs in an environment marked as anti-collision library detection by the system. Next, the system will search and obtain the contact information reserved for the game account corresponding to the account login information. These contact information usually include the account owner's email address, mobile phone number, etc., which are provided by the account owner during the account registration or subsequent update process, and are used to receive account-related notifications and prompts. Finally, the system will send the previously generated abnormal login prompt message to the account owner based on the reserved contact information obtained. This message will not only inform the account owner that their account has been directed to the trap website due to abnormal login behavior, but also remind them that if the incorrect account login information is caused by input errors, they should try to log in again. By sending abnormal login prompt information to the account owner, the system can inform them of the possible security risks of their account at the first time, allowing them to take appropriate measures to protect their account security in a timely manner. If the incorrect account login information is caused by input errors, the abnormal login prompt information sent by the system will clearly inform the account owner of this and encourage them to try to log in again, thereby avoiding unnecessary troubles caused to the account owner due to system misjudgment. Through timely notifications and prompts, the system can minimize the impact on the normal user's gaming experience while ensuring account security, thereby improving the overall user satisfaction.

[0064] In the embodiment of the present application, optionally, after step 102, the following steps are further included:

[0065] Step 104, when verifying that the account login information is correct and the login environment belongs to the anti-collision library detection environment, generate a first real identity token, mark the first real identity token as a suspicious token, and send the first real identity token to the client, so that the client logs in the game account to the game website based on the first real identity token; obtain the game behavior data of the game account marked with the suspicious token, and when it is determined that the game account login request belongs to a collision behavior based on the game behavior data, cancel the first real identity token to disconnect the game account from the game website.

[0066] In this embodiment, when the system verifies that the account login information is correct, but the login environment is in an anti-collision library detection environment (for example, abnormal IP address, multiple login attempts in a short period of time, etc.), the system will not directly reject the login request, but will adopt a "monitoring" approach. First, the system will generate a first real identity token and mark it as a "suspicious token". This token allows the client to use it to log in to the game website, but the system will also closely monitor it. Next, the system will collect the game behavior data of the game account marked with the suspicious token in the game website. These data may include login time, game duration, in-game operation habits, etc., which will be used to further determine whether the account login request is indeed a collision behavior. For example, human-computer verification means are added when entering the game, account management, purchasing props and other high-risk operations. And collect user behavior such as mouse movement / click event data in the subsequent determination of whether the user is a normal user. If based on these game behavior data, the system determines that the game account login request is actually a collision behavior (for example, there is a significant difference between the game behavior data and the account historical behavior data), the system will immediately cancel the first real identity token, thereby forcing the game account to disconnect from the game website. In the case where the account login information of the embodiment of the present application is correct but the login environment is abnormal, the system will not immediately reject the login request, but monitors by generating a suspicious token, which reduces the possibility of refusing normal user login due to system misjudgment. Further by collecting and analyzing game behavior data, the system can monitor suspicious tokens in real time, and respond quickly when discovering the database collision behavior, cancel the token and disconnect, thereby preventing potential security risks in time. By canceling the suspicious token and disconnecting, the system can prevent the database collision person from using the stolen account information to perform malicious operations on the game account, thereby protecting the safety of the account. For normal users, even if their login environment occasionally appears abnormal (for example, the network environment or equipment has been changed), they can still log in to the game website normally and obtain a good game experience.

[0067] In an embodiment of the present application, optionally, after canceling the first real identity token, the method further includes: generating a second false identity token and sending it to the client, so that the client logs in the game account to the trap website based on the second false identity token.

[0068] In this embodiment, in the game account anti-collision database method described above, when the system determines that the login behavior of the game account is suspected of database collision, the first real identity token originally generated will be cancelled first, causing the game account to disconnect from the normal connection with the game website. In order to further confuse and track potential database collision, the system can also perform an additional step: generate a second false identity token and send this token to the client. After receiving this second false identity token, the client will try to use it to log in to the game account again. However, this login will not lead to the real game website, but to a pre-set trap website. This trap website is a mirror image of the real game website, similar to the real website in appearance and function, but the game data is completely isolated. By generating and sending the second false identity token, the system of this embodiment can confuse potential database collisions, making them mistakenly believe that they have successfully bypassed the security mechanism and obtained valid login credentials. This misleading can delay the time for database collisions to discover the real situation and provide an opportunity for the system to take further security measures. When database collisions try to log in to the trap website with the second false identity token, the system can collect and analyze their activity data on the trap website. This data can help the system more accurately determine the behavior patterns of credential stuffers and adjust and improve security policies accordingly. By directing credential stuffers to the trap website, the system can reduce the impact and burden on the real game website. The real game website can focus on providing services to normal users without worrying about performance degradation or security risks caused by credential stuffing attacks. Since the game data on the trap website is completely isolated from the real game website, even if the credential stuffer performs malicious operations on the trap website, it will not have any impact on the user data of the real game website. This helps protect the security and integrity of user data.

[0069] In an embodiment of the present application, optionally, after obtaining the game behavior data of the game account marked with a suspicious token, the method also includes: if it is determined within a preset time period based on the game behavior data that the game account login request does not constitute a database collision, then deleting the suspicious token mark of the first real identity token.

[0070] In this embodiment, after the system obtains the game behavior data of the game account marked with a suspicious token, it will analyze based on these data to determine whether the login request of the account is truly a database collision behavior. If the system finds that the login request of the account does not meet the characteristics of the database collision behavior through comprehensive analysis of the game behavior data within a preset time, the system will delete the suspicious token mark of the first real identity token. This means that the system has confirmed that the login request is safe and the token can be regarded as a normal and valid token. In this embodiment, by comprehensively analyzing the game behavior data within a preset time, the system can more accurately determine whether the login request belongs to the database collision behavior, thereby reducing the situation where normal users are mistakenly blocked due to misjudgment. For normal users, if their login request is temporarily marked as suspicious by the system, but is subsequently confirmed to be safe, the system's operation of deleting the suspicious token mark can ensure that they continue to enjoy a smooth gaming experience without unnecessary interference due to misjudgment. This processing method reflects the high flexibility and adaptability of the system. The system can dynamically adjust the security policy according to the actual situation (such as user behavior, network environment, etc.) to ensure that it can effectively prevent database collision attacks and minimize the inconvenience of normal users.

[0071] In the embodiment of the present application, optionally, after step 102, the following steps are further included:

[0072] Step 105, when verifying that the account login information is correct and the login environment does not belong to the anti-collision library detection environment, generate a second real identity token and send it to the client, so that the client logs in to the game website based on the second real identity token.

[0073] Step 106: if it is verified that the account login information is incorrect and the login environment does not belong to the anti-collision library detection environment, an account verification failure prompt message is fed back to the client.

[0074] In this embodiment, when the system verifies that the account login information in the game account login request from the client is correct, and the login environment does not belong to the preset anti-collision library detection environment (i.e., the login environment is safe and does not trigger any abnormality or risk warning), the system will generate a second real identity token and send this token to the client. Subsequently, the client will use this second real identity token to log in to the game website, thereby ensuring that the user can access and enjoy the game service normally. If the system verifies that the account login information is incorrect and the login environment does not belong to the anti-collision library detection environment (i.e., the account input is incorrect and the login environment does not cause security concerns), the system will not perform further anti-collision library processing, but directly feedback a prompt message of account verification failure to the client. In this way, the client user will immediately know that the account information he entered is incorrect, and have the opportunity to re-enter the correct account information to try to log in.

[0075] By applying the technical solution of this embodiment, the following beneficial effects can be achieved: Enhanced account security: By implementing a multi-level anti-collision library strategy, the system can ensure that only the correct account can log in to the game website in a safe environment, effectively preventing the risk of account theft or misuse. Whether it is through the generation of a real identity token for identity authentication or the directing of suspicious login requests to a trap website, the possibility of successful database collision attacks can be effectively reduced. Reduce misjudgment and misblocking: By collecting and analyzing user behavior data, the system dynamically evaluates login requests within a preset time period, and can more accurately determine whether a login request belongs to a database collision behavior. This processing method reduces the situation where normal users are mistakenly blocked due to misjudgment, and improves the flexibility and adaptability of the system. Improve user experience: For normal users, when their login information is correct and the login environment is safe, they can quickly obtain a real and valid identity token, thereby successfully logging in to the game website. At the same time, when the login information is incorrect or the anti-collision library detection is triggered, the system can immediately give feedback to avoid unnecessary troubles caused by long waiting or repeated attempts to log in. Simplify the processing flow: For login requests that are not part of the anti-collision library detection environment, the system can quickly process them based on the correctness of the account login information without the need for complex anti-collision library detection and response. This simplifies the processing flow and improves system efficiency. Protect user data security: Since the game data of the trap website is completely isolated from the real game website, even if the database crasher performs malicious operations on the trap website, it will not have any impact on the user data of the real game website. This helps to protect the security and integrity of user data. In summary, the above solutions effectively improve the security and user experience of game websites by enhancing account security, reducing misjudgments and misblocking, improving user experience, simplifying processing procedures, collecting and analyzing data, and protecting user data security.

[0076] Further, as Figure 1 The specific implementation of the method, the embodiment of the present application provides an anti-collision library device for game accounts, such as Figure 2 As shown, the device comprises:

[0077] An acquisition module, configured to respond to a game account login request from a client and acquire the account login information and login environment information carried in the game account login request;

[0078] A verification module, used to verify whether the account login information is correct, and to check whether the login environment corresponding to the game account login request belongs to the anti-collision library detection environment based on the login environment information;

[0079] The processing module is used to determine that the game account login request is a database collision behavior when it is verified that the account login information is incorrect and the login environment belongs to the anti-collision library detection environment, generate a first false identity token and send it to the client, so that the client logs in the game account to the trap website based on the first false identity token, wherein the trap website is a mirror website of the game website, and the game data of the trap website is isolated from the game data of the game website.

[0080] Optionally, the processing module is further used to:

[0081] Generate abnormal login prompt information based on the login environment information and the account login information;

[0082] The reserved contact information of the game account corresponding to the account login information is obtained, and the abnormal login prompt information is sent according to the reserved contact information to prompt that the game account is logged into the trap website because the account login information is incorrect and is in an anti-collision library detection environment, and to prompt that if the account login information is incorrect due to an input error, a new login request should be made.

[0083] Optionally, the processing module is further used to:

[0084] When verifying that the account login information is correct and the login environment belongs to the anti-collision library detection environment, generating a first real identity token, marking the first real identity token as a suspicious token, and sending the first real identity token to the client, so that the client logs in the game account to the game website based on the first real identity token;

[0085] Obtain gaming behavior data of a gaming account marked with a suspicious token, and if it is determined based on the gaming behavior data that the gaming account login request is a database collision, cancel the first real identity token to disconnect the gaming account from the gaming website.

[0086] Optionally, the processing module is further used to:

[0087] A second false identity token is generated and sent to the client, so that the client logs in the game account to the trap website based on the second false identity token.

[0088] Optionally, the processing module is further used to:

[0089] If it is determined within a preset time period that the game account login request does not constitute a database collision based on the game behavior data, the suspicious token mark of the first real identity token is deleted.

[0090] Optionally, the processing module is further used to:

[0091] When verifying that the account login information is correct and the login environment does not belong to the anti-collision library detection environment, generating a second real identity token and sending it to the client, so that the client logs in to the game website based on the second real identity token;

[0092] When it is verified that the account login information is incorrect and the login environment does not belong to the anti-collision library detection environment, an account verification failure prompt message is fed back to the client.

[0093] Optionally, the verification module is used to:

[0094] According to the account name in the account login information, historical login geographical address information corresponding to the account name is obtained, the client geographical address corresponding to the client IP address is determined, and based on the client geographical address and the historical login geographical address information, it is determined whether the login environment corresponding to the game account login request belongs to a remote login environment, wherein the remote login environment belongs to the anti-collision library detection environment; and / or,

[0095] According to the client IP address, the historical request login frequency corresponding to the client IP address is obtained, and based on the historical request login frequency and a preset high-frequency threshold, it is determined whether the login environment corresponding to the game account login request belongs to a high-frequency login environment, wherein the high-frequency login environment belongs to the anti-collision library detection environment.

[0096] It should be noted that for other corresponding descriptions of the functional units involved in the anti-collision library device for a game account provided in the embodiment of the present application, reference can be made to Figure 1 The corresponding description in the method will not be repeated here.

[0097] The embodiment of the present application also provides a computer device, which can be a personal computer, a server, a network device, etc. The computer device includes a bus, a processor, a memory and a communication interface, and can also include an input and output interface and a display device. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store location information. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the steps in each method embodiment are implemented.

[0098] Those skilled in the art will appreciate that the structure of the above-mentioned computer device is merely a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components, or combine certain components, or have a different arrangement of components.

[0099] In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium may be non-volatile or volatile, and stores a computer program thereon. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0100] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0101] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0102] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0103] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0104] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for preventing game accounts from being collided with each other, characterized in that: The method comprises: In response to a game account login request from a client, obtaining account login information and login environment information carried in the game account login request; Verify whether the account login information is correct, and verify whether the login environment corresponding to the game account login request belongs to the anti-collision library detection environment based on the login environment information; When it is verified that the account login information is incorrect and the login environment belongs to the anti-collision library detection environment, the game account login request is determined to be a library collision behavior, and a first false identity token is generated and sent to the client, so that the client logs in the game account to the trap website based on the first false identity token, wherein the trap website is a mirror website of the game website, and the game data of the trap website is isolated from the game data of the game website.

2. The method according to claim 1, characterized in that: After the client logs in the game account to the trap website based on the first false identity token, the method further includes: Generate abnormal login prompt information based on the login environment information and the account login information; The reserved contact information of the game account corresponding to the account login information is obtained, and the abnormal login prompt information is sent according to the reserved contact information to prompt that the game account is logged into the trap website because the account login information is incorrect and is in an anti-collision library detection environment, and to prompt that if the account login information is incorrect due to an input error, a new login request should be made.

3. The method according to claim 1, characterized in that: The method further comprises: When verifying that the account login information is correct and the login environment belongs to the anti-collision library detection environment, generating a first real identity token, marking the first real identity token as a suspicious token, and sending the first real identity token to the client, so that the client logs in the game account to the game website based on the first real identity token; Obtain gaming behavior data of a gaming account marked with a suspicious token, and if it is determined based on the gaming behavior data that the gaming account login request is a database collision, cancel the first real identity token to disconnect the gaming account from the gaming website.

4. The method according to claim 3, characterized in that After cancelling the first real identity token, the method further comprises: A second false identity token is generated and sent to the client, so that the client logs in the game account to the trap website based on the second false identity token.

5. The method according to claim 3, characterized in that: The method further comprises: If it is determined within a preset time period that the game account login request does not constitute a database collision based on the game behavior data, the suspicious token mark of the first real identity token is deleted.

6. The method according to claim 1, characterized in that The method further comprises: When verifying that the account login information is correct and the login environment does not belong to the anti-collision library detection environment, generating a second real identity token and sending it to the client, so that the client logs in to the game website based on the second real identity token; When it is verified that the account login information is incorrect and the login environment does not belong to the anti-collision library detection environment, an account verification failure prompt message is fed back to the client.

7. The method according to any one of claims 1 to 6, characterized in that The account login information includes an account name and a password; the login environment information includes a client IP address; and verifying whether the login environment corresponding to the game account login request belongs to an anti-collision library detection environment based on the login environment information includes: According to the account name in the account login information, historical login geographical address information corresponding to the account name is obtained, the client geographical address corresponding to the client IP address is determined, and based on the client geographical address and the historical login geographical address information, it is determined whether the login environment corresponding to the game account login request belongs to a remote login environment, wherein the remote login environment belongs to the anti-collision library detection environment; and / or, According to the client IP address, the historical request login frequency corresponding to the client IP address is obtained, and based on the historical request login frequency and a preset high-frequency threshold, it is determined whether the login environment corresponding to the game account login request belongs to a high-frequency login environment, wherein the high-frequency login environment belongs to the anti-collision library detection environment.

8. A game account anti-collision library device, characterized in that: The device comprises: An acquisition module, configured to respond to a game account login request from a client and acquire the account login information and login environment information carried in the game account login request; A verification module, used to verify whether the account login information is correct, and to check whether the login environment corresponding to the game account login request belongs to the anti-collision library detection environment based on the login environment information; The processing module is used to determine that the game account login request is a database collision behavior when it is verified that the account login information is incorrect and the login environment belongs to the anti-collision library detection environment, generate a first false identity token and send it to the client, so that the client logs in the game account to the trap website based on the first false identity token, wherein the trap website is a mirror website of the game website, and the game data of the trap website is isolated from the game data of the game website.

9. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. A computer device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method for processing online game plug-ins

    CN106345119A

  • Verification method and device

    CN107665301A

  • Website access method and device, readable storage medium, and computer equipment

    CN109379324A

  • Attack behavior monitoring method, device, equipment and storage medium

    CN111651757A

  • Account exception verification method and device, client and computer readable storage medium

    CN114404998A