Game data processing method, device, storage medium and computer equipment

By obtaining the account data of active users in the game community, matching and sending change data to the cache library, the database performance problem caused by excessive query requests in game community software is solved, and the database operation efficiency is improved.

CN113342833BActive Publication Date: 2025-08-22TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010099817.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-18
Publication Date
2025-08-22
Estimated Expiration
2040-02-18

AI Technical Summary

Technical Problem

When the number of query requests in existing game community software is too large, it affects the operating performance of the game database, especially in the case of cross-computer room update efficiency.

Method used

By obtaining the community account data of active users in the game community, matching the active users corresponding to the game data change request, and sending the change data to the community cache library to reduce access requests to the game database.

Benefits of technology

It improves the running performance of the game database, reduces access requests to the game database, and improves data query efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113342833B_ABST
    Figure CN113342833B_ABST
Patent Text Reader

Abstract

The present application relates to a game data processing method, apparatus, computer-readable storage medium, and computer equipment. The method comprises: obtaining community account data of active users in a game community; when a game data change request is received, matching active users in the game community based on the game user data and community account data; after matching an active user in the game community, searching for game change data corresponding to the game data change request; and sending the game change data to a game community cache corresponding to the matched active user in the game community. The present application feeds back the game change data corresponding to the active user in the community in the changed game data to the corresponding community cache. When an active user of a community application needs to query relevant game data, the query can be completed through the data in the community cache without requesting the relevant game data from the game database. The present application can reduce the number of access requests from the game community application to the game database, thereby improving the operating performance of the game database.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a game data processing method, apparatus, computer-readable storage medium, and computer equipment. Background Art

[0002] At present, there are many game community softwares, some of which contain data that can be communicated with the game, such as the game online status, the last login time, and other user game behavior data or game event data generated by the user during the game.

[0003] Although current community software can query game data such as users' online status, it is unable to perceive changes in users' game data in a timely manner. The server of the game community software needs to frequently interact with the game database to obtain the user's latest game behavior status data, etc., especially if the background server of the community software and the game database are across computer rooms, the update efficiency of these game data will be very low. If the query request volume is too large, it will affect the operating performance of the entire game database. Summary of the Invention

[0004] Based on this, it is necessary to provide a game data processing method, device, computer-readable storage medium and computer equipment that can effectively ensure the operating performance of the game database in order to address the problem that the number of query requests in game community software is too large, affecting the operating performance of the entire game database.

[0005] A game data processing method, comprising:

[0006] Obtain community account data of active users in the game community;

[0007] When receiving a game data change request corresponding to preset game community display data, matching the game community active users corresponding to the game data change request according to the game user data corresponding to the game data change request and the community account data;

[0008] After matching the corresponding active user in the game community, searching for the game change data corresponding to the game data change request;

[0009] The game change data is sent to a game community cache library corresponding to the matched active game community user.

[0010] A game data processing device, comprising:

[0011] Community data acquisition module, used to obtain community account data of active users in the game community;

[0012] a data matching module configured to, upon receiving a game data change request corresponding to preset game community display data, match the game community active user corresponding to the game data change request based on the game user data corresponding to the game data change request and the community account data;

[0013] A change data search module is used to search for the game change data corresponding to the game data change request after matching the corresponding active user of the game community;

[0014] The game data sending module is used to send the game change data to the game community cache library corresponding to the matched active game community user.

[0015] A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0016] Obtain community account data of active users in the game community;

[0017] When receiving a game data change request corresponding to preset game community display data, matching the game community active users corresponding to the game data change request according to the game user data corresponding to the game data change request and the community account data;

[0018] After matching the corresponding active user in the game community, searching for the game change data corresponding to the game data change request;

[0019] The game change data is sent to a game community cache library corresponding to the matched active game community user.

[0020] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0021] Obtain community account data of active users in the game community;

[0022] When receiving a game data change request corresponding to preset game community display data, matching the game community active users corresponding to the game data change request according to the game user data corresponding to the game data change request and the community account data;

[0023] After matching the corresponding active user in the game community, searching for the game change data corresponding to the game data change request;

[0024] The game change data is sent to a game community cache library corresponding to the matched active game community user.

[0025] The above-mentioned game data processing method, device, computer-readable storage medium and computer equipment obtain the community account data of active users in the game community; when receiving a game data change request corresponding to the preset game community display data, match the game community active users corresponding to the game data change request according to the game user data and community account data corresponding to the game data change request; after matching the corresponding game community active user, search for the game change data corresponding to the game data change request; send the game change data to the game community cache library corresponding to the matched game community active user. This application determines the active users of the game community application by obtaining the community account data of the active users of the game community, and then determines the changes in the game data displayed in the game community by receiving the game data change request, and then feeds back the game change data corresponding to the active users in the community in the changed game data to the corresponding community cache library. When the active users of the community application need to query relevant game data, they can complete the query through the data in the community cache library without requesting the relevant game data from the game database. This application can reduce the access requests of the game community application to the game database, thereby improving the operating performance of the game database. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A diagram illustrating an application environment of a method for processing game data in one embodiment;

[0027] Figure 2 1 is a flowchart of a method for processing game data in one embodiment;

[0028] Figure 3 This is a schematic diagram of an interface of a game community application in one embodiment;

[0029] Figure 4 Schematic diagram of a flow chart of steps for filtering community account data in one embodiment;

[0030] Figure 5 A flowchart illustrating the steps of matching game users and active community users in one embodiment;

[0031] Figure 6 1. A flowchart illustrating steps for invalidating data in a community cache using a data invalidation instruction in one embodiment;

[0032] Figure 7 1 is a flowchart illustrating the steps of sending game community application data to a game cache library in one embodiment;

[0033] Figure 8 is an application environment diagram of a game data processing method in another embodiment;

[0034] Figure 9A schematic diagram of a data processing process of a data center in one embodiment;

[0035] Figure 10 is a timing diagram of a method for processing game data in one embodiment;

[0036] Figure 11 is a flowchart of a method for processing game data in another embodiment;

[0037] Figure 12 is a structural block diagram of a game data processing device in one embodiment;

[0038] Figure 13 FIG. 1 is a structural block diagram of a computer device in one embodiment. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0040] Figure 1 FIG. 1 is an application environment diagram of a method for processing game data in an embodiment. Figure 1The game data processing method of the present application is specifically applied to a game data flow system. The game data flow system includes a game community application background server 102, a game community cache server 104, a data processing server 106, and a game server 108. The game community application background server 102 is connected to the game community cache server 104 and the data processing server 106 via a network. The game community cache server 104 is connected to the data processing server 106 via a network. The data processing server 106 is connected to the game server 108 via a network. First, the game community application backend server 102 determines the active users of the game community based on the operations of the game community users on the community application, and then uploads the community account data corresponding to the active users of the game community to the data processing server 106. The data processing server 106 can then obtain the community account data of the active users of the game community. Then, when a game data change corresponding to preset game community display data such as user login or user logout occurs on the game corresponding to the game server 108, the game server 108 can send a game data change request containing game change data corresponding to the preset game community display data to the data processing server 106. When the data processing server 106 receives the game data change request, it matches the active users of the game community corresponding to the game data change request based on the game user data and community account data corresponding to the game data change request. When the corresponding active users of the game community are matched from the obtained community account data, the game change data corresponding to the game data change request can be retrieved and searched, and then the game change data can be sent to the community cache server 104 corresponding to the active users of the game community. When a community user needs to query game data through the game community application, the community application backend server 102 can extract the corresponding displayed game data from the community cache server 104 and then feed it back to the user. The community application backend server 102, community cache server 104, data processing server 106, and game server 108 can all be implemented as independent servers or as a server cluster consisting of multiple servers.

[0041] like Figure 2 As shown, in one embodiment, a method for processing game data is provided. This embodiment mainly applies this method to the above Figure 1 The data processing server 106 in FIG. Figure 2 , the game data processing method specifically includes the following steps:

[0042] S200: Obtain community account data of active users in the game community.

[0043] Among them, the game community user refers to the user who registers and logs in to the game community application. In one embodiment, the interface diagram of the game community application can refer to Figure 3 Active game community users refer to community users with corresponding activity data. In one embodiment, whether a game community user is active can be determined based on the user's most recent login time. For example, users with a login time within the past three months can be considered active. Community account data refers to the account tags corresponding to active game community users, which are used to distinguish active game community users. Community account data also includes user tags, which are used to establish an association with game account data.

[0044] Specifically, the game community application backend server 102 can scan users of the current community application at a pre-set scanning cycle and determine which users are currently active community users based on their last login time. The community account data corresponding to these active community users can then be uploaded to the data processing server 106 via the network. The data processing server can receive and obtain the community account data of active game community users uploaded by the game community application backend server 102. Each time the data processing server receives community account data of an active game community user, it invalidates the community account data of the previously received active game community user to ensure the validity of the active game community user data.

[0045] S400: When a game data change request corresponding to preset game community display data is received, active game community users corresponding to the game data change request are matched according to game user data and community account data corresponding to the game data change request.

[0046] Preset game community display data refers to data that can be displayed to game community users through the game community. Because a single game has numerous data types and a large data volume, it's impossible to display all game data through a single community application. Therefore, game community applications typically select typical game data types for display, such as player online status and player achievement data. These preselected game data types are the preset game community display data. Game data change requests refer to data generated when a player modifies game data in the database of the corresponding game server 108 during gameplay. Specifically, data types corresponding to the preset game community display data can be pre-configured on the game server. For example, if the preset game community display data includes a player's game login and exit data, upon logging into the game, the game server can generate a game data change request to the data processing server 106 to notify the server that the player has logged in online. Game user data refers to the tag data of the game user corresponding to the game data change request. Game user data also includes a user tag, which is used to establish an association with community account data for matching purposes.

[0047] Specifically, when a player plays a game corresponding to the game server 108, the database of the game server 108 will generate corresponding game data changes. The game server can detect these game data changes and determine whether these changed game data belong to the type of data corresponding to the preset game community display data. When the changed game data belongs to the type of data corresponding to the preset game community display data, the game server will generate a corresponding game data change request based on the changed game data and the game user data corresponding to the changed game data, and then send the game data change request to the data processing server 106. When the data processing server 106 receives the game data change request corresponding to the preset game community display data, it will directly submit the game user data of the game data change request, and then compare and match the game user data with all community account data uploaded by the game community application background server 102 to find the active users of the game community corresponding to the game data change request.

[0048] like Figure 4 As shown, in one embodiment, step S400 includes:

[0049] S410: When a game data change request corresponding to preset game community display data is received, a community application identifier is searched in the game user data corresponding to the game data change request.

[0050] S430: Filter the community account data of active users in the game community according to the community application identifier.

[0051] S450: Search the filtered community account data according to the game user data corresponding to the game data change request to match the active game community user corresponding to the game data change request.

[0052] Among them, the community application tag is used to mark the game community applications that game users have registered. Due to the large number of community applications, the same game account can also be bound to multiple community applications. After the user registers on the game community application, the game community application also needs to be bound to the game account to obtain the game community display data. After the game community application is bound to the game account, the game server will directly add the corresponding community application identifier to these game account data. On several game community applications, the corresponding community application identifiers of the game community applications will be added. At the same time, the community account data of active users in the game community is also set with a community application identifier. The server can also set a community application identifier in the community account data. The data processing server can filter and process large amounts of community account data based on these community application tags and the community application identifier in the game user data, and remove the community account data that does not contain the community application identifier in the current game user data.

[0053] Specifically, when the data processing server receives a game data change request corresponding to the preset game community display data, it will extract the game account data therein and search for the community application identifier in the game user data corresponding to the game data change request. The community account data of active users of the game community are then filtered and processed based on these community application identifiers. In one specific embodiment, the community account data also contains a community application identifier. The data processing server can retain the community account data that contains the same community application identifier as the game user data, and then remove other community account data from the matching process. That is, the account data of the registered applications corresponding to the game user is retained, and the account data of the unregistered applications of the game user are also taken out. By filtering the community account data, the number of accounts that need to be matched during the matching process can be reduced, thereby improving the processing efficiency of the data processing process.

[0054] In one embodiment, before step S410, the method further includes: searching for a data interface corresponding to the community account data; determining a game community application corresponding to the community account data according to the data interface; and assigning a community application identifier to the community account data according to the game community application corresponding to the community account data.

[0055] The data interface refers to the data transmission port used by the game community application backend server 102 to upload the community account data of active users of the game community to the data processing server 106. The data processing server 106 can assign corresponding community application identifiers to these community account data based on the port for obtaining the community account data.

[0056] Specifically, when the data processing server 106 receives community account data from active game community users, it can determine the game community application that uploaded the community account data based on the data ports corresponding to the community account data, thereby assigning a corresponding community application identifier to the community account data. When matching account data, the data processing server 106 can filter the community account data based on the community application identifier in the community account data and the community application identifier in the game user data, thereby improving data matching efficiency.

[0057] like Figure 5 As shown, in one embodiment, step S450 includes:

[0058] S452: Obtain the user tag of the game user corresponding to the game data change request.

[0059] S454 , searching the filtered community account data according to the user tag, obtaining the game community active user corresponding to the user tag, and using the community active user corresponding to the user tag as the game community active user corresponding to the game data change request.

[0060] Among them, the user tag refers to the tag used to bind active game community users to game users. For the same game user, the user tags of all game community applications bound to him are the same. In one embodiment, the user uses the same account when logging into the game community application and logging into the game. In this case, after the game community application account and the game account are bound, the data processing server can use the same account as the user tag. In another embodiment, the user uses different accounts when logging into the game community application and logging into the game. In this case, after the game community application account and the game account are bound, the data processing server can randomly generate a user tag and assign it to the game community application account and the game account.

[0061] Specifically, the data processing server 106 can obtain the game user's user tag based on the game user data in the received game data change request. Then, based on the user tag, it searches the filtered community account data to obtain all community account data corresponding to the game data change request. This community account data corresponds to the game community applications where the game user has registered and is active. The data processing server 106 can use the community active user corresponding to the user tag as the game community active user corresponding to the game data change request. By setting the user tag and then matching the community account data with the game user data based on the user tag, the efficiency of the matching and search process can be effectively improved.

[0062] S600: After matching the corresponding active user in the game community, search for game change data corresponding to the game data change request.

[0063] The game change data specifically refers to the data used to change the display data of the game community application, such as changing whether the game user displayed in the game community application is online, changing the achievement data in the game community application, and changing the game resource data in the game community application.

[0064] Specifically, when the data processing server 106 matches an active user in the game community corresponding to the current game data change request from the obtained community account data, the data processing server 106 will extract the corresponding game change data from the game data change request. This game change data can be used to modify the content displayed to users by the game community application. For game data change requests that do not match a corresponding active user in the game community, the data processing server 106 will assume that the game user corresponding to the game data change request has not registered on the game community application, or has not logged in for a long time after registration, and is no longer considered an active user in the game community. Therefore, the data processing server 106 will suspend processing of these game data change requests.

[0065] S800: Send game change data to the game community cache library corresponding to the matched active user of the game community.

[0066] Among them, the game community cache library can refer to Figure 1 The game community cache server 104 in the game community cache is specifically used to preset game change data corresponding to the game community display data.

[0067] Specifically, after the data processing server 106 finds game change data, it sends it to the game community cache server 104 corresponding to the matched community account data. If the game user data matches multiple community account data, the data processing server 106 will also send the game change data one by one to the game community cache server 104 of the game community application corresponding to these community account data. After receiving the game change data, the game community cache server 104 will first store the game change data. When a user initiates a query request through the game community application, the game community application will directly query the game community cache server 104 and respond to the user's query request based on the game change data stored in the cache, without having to query the game database. This reduces the number of access requests made by the game community application to the game database, thereby improving the operational performance of the game database.

[0068] like Figure 6 As shown, in one embodiment, step S800 includes:

[0069] S810: Obtain data type information of the game change data corresponding to the game data change request.

[0070] S830: Generate a data invalidation instruction based on the data type information. The data invalidation instruction is used to perform data invalidation and expiration processing on the game data of the same type as the data type information in the community cache.

[0071] S850: Pack the data invalidation instruction and the game change data and send them to the community cache library corresponding to the matched game community active user data.

[0072] The data type information refers to the type of game change data. For example, game change data is user online status data used to determine whether a user is online, achievement modification data, or resource modification data. Different types of data correspond to different invalidation requirements. Data invalidation instructions are used to invalidate existing data in the community cache. After uploading new data to the community cache, the original data in the community cache can become invalid. For example, after uploading the latest login data to the community cache, the original game status data in the community cache becomes invalid and cannot correctly display the user's online status. Therefore, when sending game change data to the community cache, the instructions for invalidating the original game data can also be packaged and sent to the community cache.

[0073] Specifically, when the data processing server 106 feeds back the game change data to the community cache server 104, it can also obtain the data type information of the game change data corresponding to the game data change request, and then generate a data invalidation instruction, and then send the data invalidation instruction together with the game change data to the community cache server 104. The original game data is invalidated by the data invalidation instruction, ensuring that the game change data can correctly feedback the status change of the game data corresponding to the user.

[0074] The above-mentioned game data processing method obtains the community account data of active users in the game community; when a game data change request corresponding to the preset game community display data is received, the game community active users corresponding to the game data change request are matched according to the game user data and community account data corresponding to the game data change request; after matching the corresponding game community active users, the game change data corresponding to the game data change request is searched; and the game change data is sent to the game community cache library corresponding to the matched game community active users. This application determines the active users of the game community application by obtaining the community account data of the active users of the game community, and then determines the changes in the game data displayed in the game community by receiving the game data change request, and then feeds back the game change data corresponding to the active users in the community in the changed game data to the corresponding community cache library. When the active users of the community application need to query relevant game data, the query can be completed through the data in the community cache library without requesting the relevant game data from the game database. This application can reduce the access requests of the game community application to the game database, thereby improving the operating performance of the game database.

[0075] like Figure 7 As shown, in one embodiment, after step S800, the following steps are further included:

[0076] S920: Obtain game community application data of active users in the game community.

[0077] S940: Find the user tags corresponding to the active users in each game community.

[0078] S960: Send the game community application data corresponding to the active game community user to the game cache library corresponding to the user tag according to the user tag.

[0079] Game community application data refers to the data generated by users of game community applications during their use of the application. This data may include application login data, game profile query data, and browsing data for published articles within the community. A game cache refers to the cache server corresponding to a game server, which can be used to collect player data. A game cache corresponding to a user tag refers to the cache corresponding to the game that an active user of the game community has bound to within the game community application.

[0080] Specifically, the game data processing method of the present application can not only import game change data from the game database into the cache database of the game community application, but also collect game community application data generated by game community users during the use of the game community application, and then forward this game community application data to the corresponding game cache library server, so that the game service provider can conduct user analysis based on the game community application data, improve the operability of the game service and the user experience during the game. The forwarding process includes: the data processing server receives the game community application data of active game community users sent from the game community application background server 102; then searches for the user tags corresponding to each active game community user; and finally, based on the user tags, sends the game community application data corresponding to the active game community users to the game cache library corresponding to the user tags. In particular, during the sending process, the data processing server also adds the corresponding game user account tags to the game community application data, so that the game operator can conduct targeted data analysis. By feeding the game community application data back to the game cache library, the scalability of the game data processing method of the present application can be effectively improved, while providing strong data support for game data analysis.

[0081] In one embodiment, step S960 specifically includes: searching for active games corresponding to active users in the game community based on the game community application data; generating a data cache instruction based on the user tag and the game community application data; and sending the data cache instruction to the game cache library corresponding to the active game.

[0082] Active games refer to games recently played by active users of the game community. Active games can be obtained based on the games bound to the active users and the user's query history or browsing history in the game community application. In one embodiment, the games that have been queried or browsed can be regarded as the active games of the current user. Data cache instructions refer to instructions generated by the data processing server 106 and sent to the game cache library corresponding to the game server. The instructions include game community application data generated by the user on the game community application and are used to notify the game cache library to store these game community application data in the corresponding storage location.

[0083] Specifically, the data processing server can use the acquired game community application data to search for currently active games corresponding to active users in the game community. It then generates data caching instructions based on the game community application data and user tags. These instructions are then sent to the game service provider's game cache repository, which then submits the data to the game service provider for data analysis. By identifying the active games corresponding to active users in the game community and generating data caching instructions, the processing efficiency of the community application forwarding process can be effectively improved.

[0084] Figure 8 FIG. 1 is a schematic diagram of a specific application environment of a game data processing method in an embodiment. Figure 9 In this embodiment, the game community of the present application is specifically a mobile software type game community, and the game data processing method of the present application is specifically applied to a game data flow system, which includes a community APP (Application, mobile software) 1 backend server and a community APP2 backend server, a cache database and a data center connected to the two backend servers, the data center is also connected to the cache database, and the data center is also connected to the game database, wherein the data center and the cache database can both be servers as physical carriers, such as Figure 9As shown, the data center can specifically process data such as user community login data, user game login data, and user game exit data. Specifically, the game data processing method of the present application includes the following steps: First, user A can submit a login request to the APP1 backend server through the community APP1 client. The APP1 backend server then uploads the user as an active user to the data center. Furthermore, user A can issue a corresponding login request or exit request to the game server. The game server then uploads the corresponding user login data or user exit data to the data center. The data center matches the game user with the active users uploaded by the community APP backend server based on the user login data or user exit data sent by the game server. Based on the matching results, the corresponding user login data or user exit data is sent to a cache database connected to the community APP backend server. When user A queries game-related user behavior data through the community APP1, he or she can submit a corresponding query request to the APP1 backend server. The APP1 backend server then queries the cache database connected to it and obtains the query results. The APP1 backend server then feeds the query results back to the community APP1 client, and the user can obtain the corresponding query results through the client. In addition, user A can also query the user behavior data of his friends through the client of community APP2. The query process at this time is similar to the above query process, but user A needs to query through the community APP interface where his friends are located, so the active users reported by the APP2 background server are the friends of user A, and the active users of the game community and the game users matched in the matching process are also friends of user A.

[0085] Figure 10The following is a timing diagram of a game data processing method in one embodiment. In one embodiment, the game data processing method of the present application is used to process user login data and user exit data in a game community application. The processing flow is as follows: the user initiates a login request through the community client, and the community backend server verifies the login request, which may include verifying whether the user's login account and password are correct, whether the entered verification code is correct, etc. Once the verification is passed, the community backend server can identify the currently logged-in user as an active user of the current game community and report his community user data to the data center. When the user needs to log in to the game, he can initiate a request to the game server through the game client. After the user logs in to the game, the game server can upload the user login data to the data center, which specifically includes data such as the time the user logged in to the game and the area and server where the user logged in. The data center then matches the user login data uploaded by the game server with the received community user data, and distributes the user login data to the community backend database corresponding to the community backend server based on the matching results. In addition, when a user exits the game, the game server will also send the corresponding user exit data to the data center. The data center will also perform a matching and distribution task and upload the user exit data to the community backend database. When the user queries the online status of the game through the community client, the community backend server can directly query the community backend database and feed back the query results to the community client without requesting data from the game database.

[0086] Figure 11 FIG. 1 is a flow chart of a method for processing game data in one embodiment. It should be understood that although Figure 11 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. In addition, Figure 11 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0087] In one embodiment, Figure 12 As shown, a game data processing device is provided, the device comprising:

[0088] The community data acquisition module 200 is used to obtain community account data of active users in the game community;

[0089] The data matching module 400 is configured to, upon receiving a game data change request corresponding to preset game community display data, match the game data change request with an active user in the game community corresponding to the game data change request based on the game user data and community account data corresponding to the game data change request;

[0090] The change data search module 600 is used to search for the game change data corresponding to the game data change request after matching the corresponding active user of the game community;

[0091] The game data sending module 800 is used to send game change data to the game community cache library corresponding to the matched active game community users.

[0092] In one embodiment, the data matching module 400 is used to: when receiving a game data change request corresponding to preset game community display data, search for a community application identifier in the game user data corresponding to the game data change request; filter the community account data of active users in the game community according to the community application identifier; search in the filtered community account data according to the game user data corresponding to the game data change request, and match the active game community users corresponding to the game data change request.

[0093] In one embodiment, the data matching module 400 is further used to: search for a data interface corresponding to the community account data; determine a game community application corresponding to the community account data based on the data interface; and assign a community application identifier to the community account data based on the game community application corresponding to the community account data.

[0094] In one embodiment, the data matching module 400 is further used to: obtain a user tag of a game user corresponding to a game data change request; search in the filtered community account data according to the user tag, obtain an active user of the game community corresponding to the user tag, and use the active user of the community corresponding to the user tag as the active user of the game community corresponding to the game data change request.

[0095] In one embodiment, the game data sending module 800 is used to: obtain data type information of the game change data corresponding to the game data change request; generate a data invalidation instruction based on the data type information, and the data invalidation instruction is used to perform data invalidation and expiration processing on the game data of the same type as the data type information in the community cache library; and package the data invalidation instruction and the game change data and send them to the community cache library corresponding to the matched game community active user data.

[0096] In one embodiment, a community data feedback module is further included, which is used to: obtain game community application data of active users in the game community; search for user tags corresponding to each active user in the game community; and send the game community application data corresponding to the active users in the game community to the game cache library corresponding to the user tags based on the user tags.

[0097] In one embodiment, the community data feedback module is further used to: search for active games corresponding to active users in the game community based on the game community application data; generate data cache instructions based on user tags and game community application data; and send the data cache instructions to the game cache library corresponding to the active games.

[0098] Figure 13 The internal structure diagram of a computer device in one embodiment is shown. The computer device may be Figure 1 The data processing server 106 in Figure 13 As shown, the computer device includes a processor, memory, network interface, input device and display screen connected via a system bus. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the game data processing method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can implement the game data processing method. The display screen of the computer device may be a liquid crystal display or an electronic ink display screen. The input device of the computer device may be a touch layer covering the display screen, or may be a key, trackball or touchpad provided on the computer device housing, or may be an external keyboard, touchpad or mouse.

[0099] Those skilled in the art will understand that Figure 13 The structure shown in the figure is only a block diagram of a part of the 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 than shown in the figure, or combine certain components, or have a different component arrangement.

[0100] In one embodiment, the game data processing device provided by the present application can be implemented in the form of a computer program. The computer program can be used in Figure 13 The computer device shown in FIG. 1 is run on the computer device shown in FIG. The memory of the computer device can store various program modules constituting the game data processing device, such as, Figure 12The community data acquisition module, data matching module, change data search module and game data sending module shown in the figure are computer programs composed of various program modules, which enable the processor to execute the steps of the game data processing method of each embodiment of the present application described in this specification.

[0101] In one embodiment, a computer device is provided, comprising a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor performs the above-described steps of processing game data. The steps of the game data processing method herein may be the steps of the game data processing method in each of the above-described embodiments.

[0102] In one embodiment, a computer-readable storage medium is provided, storing a computer program. When executed by a processor, the computer program causes the processor to perform the steps of the above-mentioned game data processing method. The steps of the game data processing method herein may be the steps of the game data processing method in each of the above-mentioned embodiments.

[0103] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the program corresponding to the game data processing method can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0104] The technical features of the above embodiments can 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.

[0105] The above embodiments merely illustrate several implementation methods of the present application. 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 could 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 processing game data, implemented by a data processing server, comprising: Obtain community account data of active users in the game community uploaded by the community application backend server; When receiving a game data change request corresponding to preset game community display data submitted by the game server, matching the game community active users corresponding to the game data change request according to the game user data corresponding to the game data change request and the community account data; After matching the corresponding active user in the game community, searching for the game change data corresponding to the game data change request; Obtaining data type information of the game change data corresponding to the game data change request; Generate a data invalidation instruction according to the data type information, and the data invalidation instruction is used to perform data invalidation and expiration processing on the game data of the same type as the data type information in the community cache library server; The data invalidation instruction and the game change data are packaged and sent to the community cache library server corresponding to the matched game community active user data. The community application background server is used to extract the corresponding display game data from the community cache library server when receiving a query request initiated by the user, and then feed back the display game data to the user.

2. The method according to claim 1, characterized in that When receiving a game data change request corresponding to preset game community display data submitted by the game server, matching the game community active user corresponding to the game data change request according to the game user data corresponding to the game data change request and the community account data includes: When receiving a game data change request corresponding to the preset game community display data submitted by the game server, searching for the community application identifier in the game user data corresponding to the game data change request; Filtering the community account data of active users of the gaming community according to the community application identifier; The game user data corresponding to the game data change request is searched in the filtered community account data to match the active game community user corresponding to the game data change request.

3. The method according to claim 2, characterized in that When receiving a game data change request submitted by the game server, before searching for the community application identifier in the game user data corresponding to the game data change request, the method further includes: Find the data interface corresponding to the community account data; Determine the game community application corresponding to the community account data according to the data interface; According to the game community application corresponding to the community account data, a community application identifier is allocated to the community account data.

4. The method according to claim 2, characterized in that The game user corresponding to the game data change request is searched in the filtered community account data, and the active game community user corresponding to the game data change request is matched, including: Obtaining a user tag of a game user corresponding to the game data change request; Search the filtered community account data according to the user tag to obtain the game community active user corresponding to the user tag, and use the community active user corresponding to the user tag as the game community active user corresponding to the game data change request.

5. The method according to claim 1, wherein After packaging the data invalidation instruction and the game change data and sending the packaged package to the community cache server corresponding to the matched game community active user data, the method further includes: Obtain game community application data of active game community users; Find the user tags corresponding to active users in each game community; According to the user tag, the game community application data corresponding to the active user of the game community is sent to the community cache library server corresponding to the user tag.

6. The method according to claim 5, characterized in that The sending, according to the user tag, the game community application data corresponding to the active user of the game community to the community cache server corresponding to the user tag includes: Searching for active games corresponding to active users of the game community based on the game community application data; Generate a data cache instruction according to the user tag and the game community application data; The data cache instruction is sent to the community cache library server corresponding to the active game.

7. A game data processing device, provided in a data processing server, characterized in that: The device comprises: The community data acquisition module is used to obtain the community account data of active users in the game community uploaded by the community application background server; A data matching module is configured to, upon receiving a game data change request corresponding to preset game community display data submitted by a game server, match the game community active user corresponding to the game data change request based on the game user data corresponding to the game data change request and the community account data; A change data search module is used to search for the game change data corresponding to the game data change request after matching the corresponding active user of the game community; The game data sending module is used to obtain data type information of the game change data corresponding to the game data change request; generate a data invalidation instruction based on the data type information, and the data invalidation instruction is used to perform data invalidation and expiration processing on the game data of the same type as the data type information in the community cache library server; package the data invalidation instruction with the game change data and send it to the community cache library server corresponding to the matched game community active user data. The community application background server is used to extract the corresponding display game data from the community cache library server when receiving a query request initiated by the user, and then feed the display game data back to the user.

8. The device according to claim 7, characterized in that The data matching module is specifically configured to: upon receiving a game data change request corresponding to preset game community display data submitted by a game server, search for a community application identifier in the game user data corresponding to the game data change request; Filtering the community account data of active users of the gaming community according to the community application identifier; The game user data corresponding to the game data change request is searched in the filtered community account data to match the active game community user corresponding to the game data change request.

9. The device according to claim 8, characterized in that The data matching module is further configured to: search for a data interface corresponding to the community account data; and determine the game community application corresponding to the community account data according to the data interface; According to the game community application corresponding to the community account data, a community application identifier is allocated to the community account data.

10. The device according to claim 8, characterized in that The data matching module is further used to: obtain a user tag of the game user corresponding to the game data change request; search in the filtered community account data according to the user tag, obtain the active user of the game community corresponding to the user tag, and use the active user of the community corresponding to the user tag as the active user of the game community corresponding to the game data change request.

11. The device according to claim 7, characterized in that It also includes a community data feedback module for: obtaining game community application data of active users in the game community; finding user tags corresponding to active users in each game community; According to the user tag, the game community application data corresponding to the active user of the game community is sent to the community cache library server corresponding to the user tag.

12. The device according to claim 11, characterized in that The community data feedback module is further configured to: search for active games corresponding to active users of the game community according to the game community application data; and generate a data cache instruction according to the user tag and the game community application data; The data cache instruction is sent to the community cache library server corresponding to the active game.

13. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.

14. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Information interaction method, apparatus and system in game

    CN106790448A

  • Publishing information display method and device, storage medium, and terminal

    CN109173273A