Game data storage method and system

By generating encrypted data chains and keys in real time to protect game user data, the problem of game accounts being easily hacked is solved, and data security and user experience are improved.

CN120744946APending Publication Date: 2025-10-03JIANGXI YUNYOU NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510653641.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-21
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

Existing game user account data is easily invaded by tracking software, resulting in loss of game accounts and a lack of effective protection measures.

Method used

By detecting the exit time and information of game users in real time, an encrypted data chain is generated and split into a parent key and a sub-key. The game data is stored and encrypted in real time, and users are required to enter the sub-key to verify their identity when logging in.

Benefits of technology

Effectively protect game user data, improve user experience, and prevent unauthorized data access and loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120744946A_ABST
    Figure CN120744946A_ABST
Patent Text Reader

Abstract

The invention provides a game data storage method and system, and the method comprises the steps: responding to a game exit instruction sent by a game user in real time, and detecting a target exit moment corresponding to the game user in real time; target user information corresponding to the game user is detected in real time, and an encrypted data chain matched with the game user is created in real time according to the target user information and the target exit moment; generating an encryption key corresponding to the target user information in real time according to the encryption data link, and storing target game data corresponding to the target user information into a preset database; and correspondingly splitting the encryption key into a mother key and a sub-key, and performing encryption processing on the preset database through the mother key and the sub-key. According to the method, encrypted storage of the game data of the user can be objectively and effectively completed, and the use experience of the user is correspondingly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a game data storage method and system. Background Art

[0002] With the advancement of science and technology and the rapid development of the times, the Internet and smart phones have become popular in people's daily lives, and have become one of the indispensable tools in people's daily lives, making people's lives more convenient.

[0003] Among them, for entertainment, people have developed various types of games, and they have become popular. Specifically, existing game users need to create a corresponding game account before starting the actual game, and use the game account to play the subsequent games.

[0004] Furthermore, when existing game users are accidentally tracked by tracking software, the tracking software can successfully invade the current game user's game account, thereby causing unnecessary losses to the current game user's game account. Therefore, in view of the shortcomings of the existing technology, it is necessary to provide a data storage method that can effectively protect the game user's game account data. Summary of the Invention

[0005] Based on this, the purpose of the present invention is to provide a game data storage method and system, so as to provide a data storage method that can effectively protect the game account data of game users.

[0006] The first aspect of the embodiment of the present invention proposes:

[0007] A method for storing game data, wherein the method comprises:

[0008] In response to a game exit instruction sent in real time by a game user, detecting in real time a target exit time corresponding to the game user;

[0009] Detecting target user information corresponding to the game user in real time, and creating an encrypted data link adapted to the game user in real time based on the target user information and the target exit time;

[0010] Generate an encryption key corresponding to the target user information in real time according to the encrypted data chain, and store the target game data corresponding to the target user information in a preset database;

[0011] The encryption key is correspondingly split into a parent key and a child key, and the preset database is encrypted using the parent key and the child key.

[0012] The beneficial effect of the present invention is that by responding to the game user's game exit instruction in real time, the game data storage method will be triggered in real time. Specifically, the target exit moment corresponding to the current game user will be detected in real time. At the same time, the target user information corresponding to the current game user will be synchronously detected, and the corresponding encrypted data chain can be created in real time. Based on this, the corresponding encryption key can be generated in real time, and the parent key and child key for subsequent encryption can be synchronously split out, and finally the encryption processing of the current database is completed through the parent key and child key, thereby effectively protecting the user's game data and correspondingly improving the user's gaming experience.

[0013] Furthermore, the step of creating an encrypted data link adapted to the game user in real time based on the target user information and the target exit time includes:

[0014] When the target user information is obtained in real time, the target user information is parsed in real time to detect the corresponding user account and user password contained in the target user information in real time;

[0015] The user account, the user password and the target exit time are quantified to generate a number of corresponding encryption elements in real time, and a number of encrypted data chains are generated according to the number of encryption elements, each of which is unique.

[0016] Furthermore, the step of quantizing the user account, the user password, and the target exit time to generate a number of corresponding encryption elements in real time includes:

[0017] When the user account is obtained in real time, the first character string corresponding to the user account is extracted in real time;

[0018] When the user password is obtained in real time, the second character string corresponding to the user password is extracted in real time;

[0019] When the target exit time is acquired in real time, the third character string corresponding to the target exit time is extracted in real time, and a plurality of encryption elements are generated in real time according to the first character string, the second character string and the third character string.

[0020] Furthermore, the step of generating a plurality of encryption elements according to the first character string, the second character string, and the third character string includes:

[0021] performing interleaving and fusing processing on the first character string, the second character string, and the third character string to generate a corresponding target character string in real time;

[0022] Performing a full scan on the target character string to detect in real time a plurality of target characters contained in the target character string, and adding a corresponding target identifier to each of the target characters, so as to combine the target characters into a plurality of corresponding encrypted coordinates in real time according to the target identifier;

[0023] A corresponding encrypted curve is drawn in real time according to the encrypted coordinates, and a corresponding number of maximum points and a corresponding number of minimum points contained in the encrypted curve are extracted in real time, and the corresponding number of the maximum points and the corresponding number of the minimum points are set as the encrypted elements.

[0024] Furthermore, the step of encrypting the preset database using the parent key and the child key includes:

[0025] When the parent key and the child key are obtained respectively, the preset database is encrypted using the parent key to form a corresponding encrypted database;

[0026] The subkey is correspondingly issued to the game user, so that the game user completes password matching and logs into the game according to the subkey.

[0027] Furthermore, the step of sending the subkey to the game user so that the game user completes password matching and logs into the game according to the subkey includes:

[0028] When the game user is detected to log in to the game in real time, determining in real time whether the game user has input the corresponding subkey;

[0029] If it is determined in real time that the game user has input the subkey, the game user's login request is approved to allow the game user to enter the game;

[0030] If it is determined in real time that the game user has not input the corresponding subkey, the login request of the game user will be rejected and the game user will be stopped from entering the game.

[0031] Furthermore, the step of responding to the game user's login request so that the game user enters the game includes:

[0032] When it is detected in real time that the game user enters the game and then exits the game again, the corresponding secondary exit time is detected in real time, and the encrypted data chain is updated according to the secondary exit time to generate a corresponding secondary encrypted data chain in real time;

[0033] A corresponding secondary encryption key is generated through the secondary encryption data chain, and a corresponding secondary mother key and secondary child key are generated through the secondary encryption key, and the preset database is secondary encrypted using the secondary mother key and the secondary child key.

[0034] The second aspect of the embodiment of the present invention proposes:

[0035] A game data storage system, wherein the system comprises:

[0036] a detection module, configured to respond to a game exit instruction sent in real time by a game user and detect in real time a target exit moment corresponding to the game user;

[0037] A creation module, configured to detect target user information corresponding to the game user in real time, and to create an encrypted data link adapted to the game user in real time based on the target user information and the target exit time;

[0038] A storage module, configured to generate an encryption key corresponding to the target user information in real time according to the encrypted data chain, and store the target game data corresponding to the target user information in a preset database;

[0039] The encryption module is used to split the encryption key into a parent key and a child key, and encrypt the preset database using the parent key and the child key.

[0040] Furthermore, the creation module is specifically used to:

[0041] When the target user information is obtained in real time, the target user information is parsed in real time to detect the corresponding user account and user password contained in the target user information in real time;

[0042] The user account, the user password and the target exit time are quantified to generate a number of corresponding encryption elements in real time, and a number of encrypted data chains are generated according to the number of encryption elements, each of which is unique.

[0043] Furthermore, the creation module is specifically used to:

[0044] When the user account is obtained in real time, the first character string corresponding to the user account is extracted in real time;

[0045] When the user password is obtained in real time, the second character string corresponding to the user password is extracted in real time;

[0046] When the target exit time is acquired in real time, the third character string corresponding to the target exit time is extracted in real time, and a plurality of encryption elements are generated in real time according to the first character string, the second character string and the third character string.

[0047] Furthermore, the creation module is specifically used to:

[0048] performing interleaving and fusing processing on the first character string, the second character string, and the third character string to generate a corresponding target character string in real time;

[0049] Performing a full scan on the target character string to detect in real time a plurality of target characters contained in the target character string, and adding a corresponding target identifier to each of the target characters, so as to combine the target characters into a plurality of corresponding encrypted coordinates in real time according to the target identifier;

[0050] A corresponding encrypted curve is drawn in real time according to the encrypted coordinates, and a corresponding number of maximum points and a corresponding number of minimum points contained in the encrypted curve are extracted in real time, and the corresponding number of the maximum points and the corresponding number of the minimum points are set as the encrypted elements.

[0051] Furthermore, the encryption module is specifically used to:

[0052] When the parent key and the child key are obtained respectively, the preset database is encrypted using the parent key to form a corresponding encrypted database;

[0053] The subkey is correspondingly issued to the game user, so that the game user completes password matching and logs into the game according to the subkey.

[0054] Furthermore, the encryption module is specifically used to:

[0055] When the game user is detected to log in to the game in real time, determining in real time whether the game user has input the corresponding subkey;

[0056] If it is determined in real time that the game user has input the subkey, the game user's login request is approved to allow the game user to enter the game;

[0057] If it is determined in real time that the game user has not input the corresponding subkey, the login request of the game user will be rejected and the game user will be stopped from entering the game.

[0058] Furthermore, the encryption module is specifically used to:

[0059] When it is detected in real time that the game user enters the game and then exits the game again, the corresponding secondary exit time is detected in real time, and the encrypted data chain is updated according to the secondary exit time to generate a corresponding secondary encrypted data chain in real time;

[0060] A corresponding secondary encryption key is generated through the secondary encryption data chain, and a corresponding secondary mother key and secondary child key are generated through the secondary encryption key, and the preset database is secondary encrypted using the secondary mother key and the secondary child key.

[0061] The third aspect of the embodiment of the present invention proposes:

[0062] A computer comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the game data storage method described above when executing the computer program.

[0063] The fourth aspect of the embodiments of the present invention proposes:

[0064] A readable storage medium stores a computer program thereon, wherein the program, when executed by a processor, implements the game data storage method as described above.

[0065] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 A flowchart of a game data storage method provided by the first embodiment of the present invention;

[0067] Figure 2 This is a structural block diagram of a game data storage system provided by the third embodiment of the present invention.

[0068] The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0069] To facilitate understanding of the present invention, the present invention will be described more fully below with reference to the accompanying drawings. The drawings illustrate several embodiments of the present invention. However, the present invention may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and comprehensive understanding of the present invention.

[0070] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be an intermediate element. When an element is referred to as being "connected to" another element, it may be directly connected to the other element or there may be an intermediate element. The terms "vertical," "horizontal," "left," "right," and similar expressions used herein are for illustrative purposes only.

[0071] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this invention pertains. The terms used in this specification of the present invention are for the purpose of describing specific embodiments only and are not intended to limit the present invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0072] See also Figure 1 , shown is the game data storage method provided by the first embodiment of the present invention. The game data storage method provided by this embodiment can objectively and effectively store the game data generated by the user, thereby improving the user experience.

[0073] Specifically, this embodiment provides:

[0074] A method for storing game data, comprising the following steps:

[0075] Step S10, in response to a game exit instruction sent in real time by a game user, detecting in real time a target exit time corresponding to the game user;

[0076] Step S20: Detecting target user information corresponding to the game user in real time, and creating an encrypted data link adapted to the game user in real time based on the target user information and the target exit time;

[0077] Step S30, generating an encryption key corresponding to the target user information in real time according to the encrypted data link, and storing the target game data corresponding to the target user information in a preset database;

[0078] In step S40, the encryption key is split into a parent key and a child key, and the preset database is encrypted using the parent key and the child key.

[0079] Specifically, in this embodiment, it should be noted that in order to objectively and effectively store the game data generated by the user in real time, it is necessary to detect the game user's behavior and the corresponding real-time data in real time. Based on this, it should be noted that during the user's real-time game, the server set up in the background will collect the game data generated by the current user in real time. Among them, it should be pointed out that in order to ensure the integrity of the user's game data, when the game exit instruction triggered by the current game user in real time is received in real time, the game data storage method will be immediately enabled. At the same time, in order to facilitate subsequent implementation, the present invention will detect the target exit moment corresponding to the current game user in real time, that is, the time node corresponding to when the current game user triggers the above-mentioned game exit instruction, so as to facilitate subsequent processing.

[0080] Furthermore, after the target exit time is detected in real time through the above steps, in order to accurately store the game data of the current user, the present invention further detects the target user information corresponding to the current game user in the existing user database in real time. At the same time, in order to facilitate subsequent encryption, the present invention creates an encrypted data chain adapted to the current game user in real time based on the current target user information and the target exit time, and can directly generate an encryption key adapted to the game data corresponding to the current target user information through the current encrypted data chain. On this basis, the target game data corresponding to the current target user information can be directly stored in a pre-set database. It should be noted that in order to enhance the confidentiality of the database, the present invention also splits the current encryption key into the required parent key and child key. The current database is encrypted using the current parent key, and the current child key is correspondingly issued to the current game user. The current game user needs to enter the child key when logging into the game next time. Only after the child key is successfully paired with the parent key can the current game user enter the game, thereby effectively ensuring the security of the game data and significantly improving the user experience.

[0081] Second embodiment

[0082] Furthermore, the step of creating an encrypted data link adapted to the game user in real time based on the target user information and the target exit time includes:

[0083] When the target user information is obtained in real time, the target user information is parsed in real time to detect the corresponding user account and user password contained in the target user information in real time;

[0084] The user account, the user password and the target exit time are quantified to generate a number of corresponding encryption elements in real time, and a number of encrypted data chains are generated according to the number of encryption elements, each of which is unique.

[0085] Furthermore, the step of quantizing the user account, the user password, and the target exit time to generate a number of corresponding encryption elements in real time includes:

[0086] When the user account is obtained in real time, the first character string corresponding to the user account is extracted in real time;

[0087] When the user password is obtained in real time, the second character string corresponding to the user password is extracted in real time;

[0088] When the target exit time is acquired in real time, the third character string corresponding to the target exit time is extracted in real time, and a plurality of encryption elements are generated in real time according to the first character string, the second character string and the third character string.

[0089] Furthermore, the step of generating a plurality of encryption elements according to the first character string, the second character string, and the third character string includes:

[0090] performing interleaving and fusing processing on the first character string, the second character string, and the third character string to generate a corresponding target character string in real time;

[0091] Performing a full scan on the target character string to detect in real time a plurality of target characters contained in the target character string, and adding a corresponding target identifier to each of the target characters, so as to combine the target characters into a plurality of corresponding encrypted coordinates in real time according to the target identifier;

[0092] A corresponding encrypted curve is drawn in real time according to the encrypted coordinates, and a corresponding number of maximum points and a corresponding number of minimum points contained in the encrypted curve are extracted in real time, and the corresponding number of the maximum points and the corresponding number of the minimum points are set as the encrypted elements.

[0093] Furthermore, the step of encrypting the preset database using the parent key and the child key includes:

[0094] When the parent key and the child key are obtained respectively, the preset database is encrypted using the parent key to form a corresponding encrypted database;

[0095] The subkey is correspondingly issued to the game user, so that the game user completes password matching and logs into the game according to the subkey.

[0096] Furthermore, the step of sending the subkey to the game user so that the game user completes password matching and logs into the game according to the subkey includes:

[0097] When the game user is detected to log in to the game in real time, determining in real time whether the game user has input the corresponding subkey;

[0098] If it is determined in real time that the game user has input the subkey, the game user's login request is approved to allow the game user to enter the game;

[0099] If it is determined in real time that the game user has not input the corresponding subkey, the login request of the game user will be rejected and the game user will be stopped from entering the game.

[0100] Furthermore, the step of responding to the game user's login request so that the game user enters the game includes:

[0101] When it is detected in real time that the game user enters the game and then exits the game again, the corresponding secondary exit time is detected in real time, and the encrypted data chain is updated according to the secondary exit time to generate a corresponding secondary encrypted data chain in real time;

[0102] A corresponding secondary encryption key is generated through the secondary encryption data chain, and a corresponding secondary mother key and secondary child key are generated through the secondary encryption key, and the preset database is secondary encrypted using the secondary mother key and the secondary child key.

[0103] In addition, in this embodiment, it should be noted that after the required target exit time is obtained in real time through the above steps, it is necessary to immediately quantify the current target exit time and the current target user information. It should be noted that since the current target user information also contains specific content, based on this, the present invention will parse the user account and user password corresponding to the current target user information in real time. At the same time, in order to facilitate subsequent quantification processing, the present invention will first detect the first character string corresponding to the current user account. Similarly, the present invention will also detect the second character string corresponding to the current user password and the third character string corresponding to the current target exit time. It should be noted that the first character string, the second character string and the third character string all contain specific numbers. Based on this, in order to facilitate subsequent encryption, the present invention will immediately That is, the current first character string, the second character string and the third character string are immediately interspersed and fused through the existing interspersed fusion technology, so that the corresponding target character string can be generated, and the current target character string will be fully scanned immediately, so that the corresponding target characters contained in the current target character string can be detected in real time. Based on this, in order to facilitate subsequent recognition, the present invention will also add an adaptive target identifier to each current target character, and combine the current target characters in pairs according to the current target identifier in turn, so that the corresponding required encryption coordinates can be generated, and the corresponding encryption curve will be drawn in real time according to the current encrypted coordinates. At the same time, the corresponding maximum points and minimum points contained in the current encryption curve will be extracted synchronously. At the same time, the corresponding extraction will be performed, and the current maximum points and minimum points will be used as encryption elements for subsequent processing.

[0104] Furthermore, after the corresponding encryption key is created through the encryption elements generated in real time through the above steps, in order to further improve the confidentiality of the current user's game data, the current encryption key will be immediately split. At the same time, the corresponding mother key and child key can be split accordingly. Among them, the current preset database will be immediately encrypted by the current mother key to form a corresponding encryption database. Correspondingly, the current child key will be sent to the current user in real time, and in the subsequent game login process, the above server will first determine whether the current game user has entered the above child key. Specifically, if so, it corresponds to that the current game user is the player himself or other persons with a certain relationship, and the current user will be allowed to log in to the game. Correspondingly, if not, it corresponds to that the current user is neither the player himself nor other persons with a certain relationship, thereby effectively avoiding the risk of game data theft and ensuring the game data. Security. In addition, it should be noted that after the current game user successfully logs into the game, he will perform certain game behaviors and will exit the game again. Based on this, when the present invention detects in real time that the game user exits the game again, the present invention will collect the corresponding secondary exit time again, that is, the corresponding exit time generated when the current game user exits after playing the game twice or more times. Based on this, the present invention will update the current encrypted data chain in real time through the current secondary exit time. At the same time, the corresponding secondary encrypted data chain will be synchronously generated. Similarly, the corresponding secondary encryption key can be generated through the secondary encryption data chain, and the corresponding secondary mother key and secondary child key can be generated again through the secondary encryption key, so that the current preset database can be re-encrypted again through the updated secondary mother key and secondary child key, so that the security of the user's game data can be continuously guaranteed, which correspondingly improves the user's usage experience.

[0105] See also Figure 2 , the third embodiment of the present invention provides:

[0106] A game data storage system, wherein the system comprises:

[0107] a detection module, configured to respond to a game exit instruction sent in real time by a game user and detect in real time a target exit moment corresponding to the game user;

[0108] A creation module, configured to detect target user information corresponding to the game user in real time, and to create an encrypted data link adapted to the game user in real time based on the target user information and the target exit time;

[0109] A storage module, configured to generate an encryption key corresponding to the target user information in real time according to the encrypted data chain, and store the target game data corresponding to the target user information in a preset database;

[0110] The encryption module is used to split the encryption key into a parent key and a child key, and encrypt the preset database using the parent key and the child key.

[0111] Furthermore, the creation module is specifically used to:

[0112] When the target user information is obtained in real time, the target user information is parsed in real time to detect the corresponding user account and user password contained in the target user information in real time;

[0113] The user account, the user password and the target exit time are quantified to generate a number of corresponding encryption elements in real time, and a number of encrypted data chains are generated according to the number of encryption elements, each of which is unique.

[0114] Furthermore, the creation module is specifically used to:

[0115] When the user account is obtained in real time, the first character string corresponding to the user account is extracted in real time;

[0116] When the user password is obtained in real time, the second character string corresponding to the user password is extracted in real time;

[0117] When the target exit time is acquired in real time, the third character string corresponding to the target exit time is extracted in real time, and a plurality of encryption elements are generated in real time according to the first character string, the second character string and the third character string.

[0118] Furthermore, the creation module is specifically used to:

[0119] performing interleaving and fusing processing on the first character string, the second character string, and the third character string to generate a corresponding target character string in real time;

[0120] Performing a full scan on the target character string to detect in real time a plurality of target characters contained in the target character string, and adding a corresponding target identifier to each of the target characters, so as to combine the target characters into a plurality of corresponding encrypted coordinates in real time according to the target identifier;

[0121] A corresponding encrypted curve is drawn in real time according to the encrypted coordinates, and a corresponding number of maximum points and a corresponding number of minimum points contained in the encrypted curve are extracted in real time, and the corresponding number of the maximum points and the corresponding number of the minimum points are set as the encrypted elements.

[0122] Furthermore, the encryption module is specifically used to:

[0123] When the parent key and the child key are obtained respectively, the preset database is encrypted using the parent key to form a corresponding encrypted database;

[0124] The subkey is correspondingly issued to the game user, so that the game user completes password matching and logs into the game according to the subkey.

[0125] Furthermore, the encryption module is specifically used to:

[0126] When the game user is detected to log in to the game in real time, determining in real time whether the game user has input the corresponding subkey;

[0127] If it is determined in real time that the game user has input the subkey, the game user's login request is approved to allow the game user to enter the game;

[0128] If it is determined in real time that the game user has not input the corresponding subkey, the login request of the game user will be rejected and the game user will be stopped from entering the game.

[0129] Furthermore, the encryption module is specifically used to:

[0130] When it is detected in real time that the game user enters the game and then exits the game again, the corresponding secondary exit time is detected in real time, and the encrypted data chain is updated according to the secondary exit time to generate a corresponding secondary encrypted data chain in real time;

[0131] A corresponding secondary encryption key is generated through the secondary encryption data chain, and a corresponding secondary mother key and secondary child key are generated through the secondary encryption key, and the preset database is secondary encrypted using the secondary mother key and the secondary child key.

[0132] A fourth embodiment of the present invention provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the game data storage method described above when executing the computer program.

[0133] A fifth embodiment of the present invention provides a readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the game data storage method described above.

[0134] In summary, the game data storage method and system provided by the above embodiments of the present invention can objectively and effectively save the game data generated by the user, thereby improving the user experience.

[0135] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0136] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0137] More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic devices), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering, or processing in another suitable manner as necessary, and then stored in a computer memory.

[0138] It should be understood that various parts of the present invention can be implemented using hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0139] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "examples," "specific examples," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0140] The above-described embodiments merely illustrate several embodiments of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art would be able to make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

Claims

1. A method for storing game data, characterized in that: The method comprises: In response to a game exit instruction sent in real time by a game user, detecting in real time a target exit time corresponding to the game user; Detecting target user information corresponding to the game user in real time, and creating an encrypted data link adapted to the game user in real time based on the target user information and the target exit time; Generate an encryption key corresponding to the target user information in real time according to the encrypted data chain, and store the target game data corresponding to the target user information in a preset database; The encryption key is correspondingly split into a parent key and a child key, and the preset database is encrypted using the parent key and the child key.

2. The game data storage method according to claim 1, characterized in that: The step of creating an encrypted data link adapted to the game user in real time according to the target user information and the target exit time includes: When the target user information is obtained in real time, the target user information is parsed in real time to detect the corresponding user account and user password contained in the target user information in real time; The user account, the user password and the target exit time are quantified to generate a number of corresponding encryption elements in real time, and a number of encrypted data chains are generated according to the number of encryption elements, each of which is unique.

3. The game data storage method according to claim 2, characterized in that: The step of quantifying the user account, the user password, and the target exit time to generate a number of corresponding encryption elements in real time includes: When the user account is obtained in real time, the first character string corresponding to the user account is extracted in real time; When the user password is obtained in real time, the second character string corresponding to the user password is extracted in real time; When the target exit time is acquired in real time, the third character string corresponding to the target exit time is extracted in real time, and a plurality of encryption elements are generated in real time according to the first character string, the second character string and the third character string.

4. The game data storage method according to claim 3, characterized in that: The step of generating a plurality of encryption elements according to the first character string, the second character string, and the third character string includes: performing interleaving and fusing processing on the first character string, the second character string, and the third character string to generate a corresponding target character string in real time; Performing a full scan on the target character string to detect in real time a plurality of target characters contained in the target character string, and adding a corresponding target identifier to each of the target characters, so as to combine the target characters into a plurality of corresponding encrypted coordinates in real time according to the target identifier; A corresponding encrypted curve is drawn in real time according to the encrypted coordinates, and a corresponding number of maximum points and a corresponding number of minimum points contained in the encrypted curve are extracted in real time, and the corresponding number of the maximum points and the corresponding number of the minimum points are set as the encrypted elements.

5. The game data storage method according to claim 1, characterized in that: The step of encrypting the preset database using the parent key and the child key includes: When the parent key and the child key are obtained respectively, the preset database is encrypted using the parent key to form a corresponding encrypted database; The subkey is correspondingly issued to the game user, so that the game user completes password matching and logs into the game according to the subkey.

6. The game data storage method according to claim 5, characterized in that: The step of sending the subkey to the game user so that the game user completes password matching and logs into the game according to the subkey includes: When the game user is detected to log in to the game in real time, determining in real time whether the game user has input the corresponding subkey; If it is determined in real time that the game user has input the subkey, the game user's login request is approved to allow the game user to enter the game; If it is determined in real time that the game user has not input the corresponding subkey, the login request of the game user will be rejected and the game user will be stopped from entering the game.

7. The game data storage method according to claim 6, characterized in that: The step of correspondingly passing the game user's login request so that the game user enters the game includes: When it is detected in real time that the game user enters the game and then exits the game again, the corresponding secondary exit time is detected in real time, and the encrypted data chain is updated according to the secondary exit time to generate a corresponding secondary encrypted data chain in real time; A corresponding secondary encryption key is generated through the secondary encryption data chain, and a corresponding secondary mother key and secondary child key are generated through the secondary encryption key, and the preset database is secondary encrypted using the secondary mother key and the secondary child key.

8. A game data storage system, characterized in that: The system comprises: a detection module, configured to respond to a game exit instruction sent in real time by a game user and detect in real time a target exit moment corresponding to the game user; A creation module, configured to detect target user information corresponding to the game user in real time, and to create an encrypted data link adapted to the game user in real time based on the target user information and the target exit time; A storage module, configured to generate an encryption key corresponding to the target user information in real time according to the encrypted data chain, and store the target game data corresponding to the target user information in a preset database; The encryption module is used to split the encryption key into a parent key and a child key, and encrypt the preset database using the parent key and the child key.

9. A computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the game data storage method according to any one of claims 1 to 7 is implemented.

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