Game data processing method, device, system, server and storage medium

By splitting the scene control server function and processing game logic on multiple scene computing unit servers to create players and shadow characters, the number of players and interaction capabilities of seamless map scenes in massively multiplayer online role-playing games are improved. The problem of performance limitations in the prior art is solved.

CN112657185BActive Publication Date: 2024-09-27BEIJING PIXEL SOFTWARE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011564597.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-25
Publication Date
2024-09-27
Estimated Expiration
2040-12-25

AI Technical Summary

Technical Problem

In existing massively multiplayer online role-playing games, the scene control center server integrates data maintenance and logical calculations, resulting in performance limitations and the inability to effectively support a large number of players online and real-time interaction at the same time. It is easy for the game to become discontinuous due to server problems.

Method used

Split the functions of the scene control server and assign them to multiple scene computing unit servers to process game logic, and create player characters and shadow characters on each scene computing unit server to share computing pressure through data interaction and synchronization of shadow characters. Improve scene carrying capacity and player interaction capabilities.

Benefits of technology

It achieves the increase in the number of players and the improvement of real-time interaction capabilities in seamless map scenes, reduces the computing and storage pressure of a single scene, provides a richer game experience, and avoids the increase in the complexity of upper-layer logic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112657185B
    Figure CN112657185B
Patent Text Reader

Abstract

The present invention provides a game data processing method, device, system, server and storage medium, the method is applied to a scene control center server; the scene control center server performs data interaction with multiple scene computing unit servers; the method includes: obtaining all player data; establishing a corresponding relationship between each of the scene computing unit servers and at least one of the player data according to a preset allocation strategy; sending a notification message to all the scene computing unit servers. This application is to split the functions of the scene control server, migrate the game computing logic to several scene computing unit servers, and achieve the purpose of sharing the computing pressure of the central server. By managing the data synchronization of shadow characters, the number of players that can be accommodated in a single scene is increased, and the interaction between players is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of technology, there are many types of online games. Massively multiplayer online role-playing games are complex and require high performance. As the game experience upgrades, players increasingly expect to see more other players in the same scene and interact with them in real time. The increase in players also requires the game scene to become larger. For the larger scene, it is necessary to continuously provide players with high-quality game experience without switching scenes or other content that affects continuity.

[0003] At present, seamless map scenes can make the scene larger and accommodate more players, and users will not feel discontinuity or lag when switching scenes. However, existing methods of implementing seamless map scenes include seamless map switching and threading of game computing units. In these implementation methods, the number of players online at the same time is still limited by the performance of the scene control center server. The existing scene control center server integrates game data maintenance and logic calculation, which can easily cause the game to not proceed normally due to server problems. Summary of the invention

[0004] In view of this, one of the objects of the present invention is to provide a game data processing method, device, system, server and storage medium to increase the number of players online at the same time in a seamless map scene in a massively multiplayer online role-playing game, and to improve the processing capability of real-time interaction between a large number of characters in the same scene.

[0005] The technical solution of the present invention is as follows:

[0006] In the first aspect, the present invention provides a game data processing method, which is applied to a scene control center server; the scene control center server exchanges data with multiple scene computing unit servers; the method includes: obtaining all player data; establishing a correspondence between each scene computing unit server and at least one of the player data according to a preset allocation strategy; sending a notification message to all the scene computing unit servers; wherein the notification message contains all the correspondences; the notification message is used to instruct each scene computing unit server to create a player character of the target player data corresponding to the scene computing unit server and to create a shadow character corresponding to all player data except the target player; data exchange of the shadow characters is performed between any two of the scene computing unit servers.

[0007] In the second aspect, the present invention also provides a game data processing method, which is applied to a first scene computing unit server, wherein the first scene computing unit server is any one of a plurality of the scene computing unit servers; the first scene computing unit server performs data interaction with a scene control center server, and the method comprises: receiving a notification message sent by the scene control center server; the notification message includes a correspondence between each of the scene computing unit servers and at least one of the player data; based on all the correspondences, creating a player character of the target player data corresponding to the first scene computing unit server and creating a shadow character corresponding to all player data except the target player; and performing data interaction of the shadow characters between any two of the scene computing unit servers.

[0008] In the third aspect, the present invention also provides a game data processing method, which is applied to a scene same-screen control server, and the scene same-screen control server interacts with the scene control center server for data; the method includes: applied to the scene same-screen control server, and the scene same-screen control server interacts with the scene control center server and multiple scene computing unit servers respectively; the method includes: receiving all player data sent by the scene control center server; creating a player character corresponding to each player data; receiving the location information of each player character sent by the multiple player computing unit servers; and establishing a corresponding relationship between each player character and at least one interactive player character according to preset rules.

[0009] In a fourth aspect, the present invention provides a game data processing device, which is applied to a scene control center server; the scene control center server performs data interaction with multiple scene computing unit servers; the device comprises: an acquisition module for acquiring all player data; an establishment module for establishing a correspondence between each of the scene computing unit servers and at least one of the player data according to a preset allocation strategy; a communication module for sending a notification message to all the scene computing unit servers; wherein the notification message contains all the correspondences; the notification message is used to instruct each of the scene computing unit servers to create a player character of the target player data corresponding to the scene computing unit server and to create a shadow character corresponding to all player data except the target player; data interaction of the shadow characters is performed between any two of the scene computing unit servers.

[0010] In a fifth aspect, the present invention provides a game data processing device, which is applied to a first scene computing unit server, wherein the first scene computing unit server is any one of a plurality of the scene computing unit servers; the first scene computing unit server performs data interaction with a scene control center server, including: a communication module, which is used to receive a notification message sent by the scene control center server; the notification message contains a correspondence between each of the scene computing unit servers and at least one of the player data; an establishment module, which is used to create a player character of the target player data corresponding to the first scene computing unit server and a shadow character corresponding to all player data except the target player according to all the correspondences; data interaction of the shadow character is performed between any two of the scene computing unit servers.

[0011] In a sixth aspect, the present invention provides a game data processing device, which is applied to a scene same-screen control server, and the scene same-screen control server interacts with the scene control center server and multiple scene computing unit servers respectively; it includes: a communication module, which is used to receive the position information of all player characters sent by the scene control center server; a determination module, which is used to establish a corresponding relationship between each player character and at least one interactive player character according to the position information of each player character and preset rules.

[0012] In the seventh aspect, the present invention provides a game data processing system, including a scene control center server, multiple scene computing unit servers and a scene same-screen control server; the scene control center server exchanges data with the scene computing unit server and the scene same-screen control server respectively; the scene control center server is used to obtain all player data; a correspondence between each of the scene computing unit servers and at least one of the player data is established according to a preset allocation strategy; the scene computing unit server is used to receive a notification message sent by the scene control center server; the notification message contains all the corresponding relationships; based on all the corresponding relationships, a player character corresponding to the target player data of the scene computing unit server is created, and a shadow character corresponding to all player data except the target player is created; data exchange of the shadow character is performed between any two of the scene computing unit servers. The scene control center server is further used to send all the player data to the scene on-screen control server; the scene on-screen control server is used to create a player character corresponding to each player data; the scene calculation unit server is further used to send the position information of each player character to the scene on-screen control server; the scene on-screen control server is further used to establish a corresponding relationship between each player character and at least one interactive player character based on the position information of each player character and preset rules.

[0013] In an eighth aspect, the present invention provides a server, comprising a processor and a memory, wherein the memory stores a computer program that can be executed by the processor, and the processor can execute the computer program to implement the game data processing method described in the first aspect, the game data processing method described in the second aspect, or the game data processing method described in the third aspect.

[0014] In a ninth aspect, the present invention provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the game data processing method described in the first aspect, the game data processing method described in the second aspect, or the game data processing method described in the third aspect is implemented.

[0015] The present invention provides a game data processing method, device, system, server and storage medium. The method establishes a corresponding relationship between each scene computing unit server and at least one player data according to all the acquired player data and a preset allocation strategy, and then sends a notification message to all the scene computing unit servers, so that each scene computing unit server creates a player character of the target player data corresponding to the scene computing unit server according to the corresponding relationship and creates a shadow character corresponding to all the player data except the target player. The difference from the prior art is that the scene control server in the prior art integrates data maintenance and data logic calculation, and the game logic pressure of processing a large number of players in the same scene is relatively large, and it is easy to cause the number of players in the scene to be limited due to reasons such as device performance. The present application splits the function of the scene control server, migrates the processing game calculation logic to several scene computing unit servers, and allocates at least one player to each scene computing unit server. In this way, the purpose of sharing the calculation pressure of the central server is achieved. At the same time, the data of the shadow characters can be exchanged between any two scene computing unit servers. By managing the data synchronization of the shadow characters, the effect of a single scene being able to accommodate a large number of players and the interaction between the players is achieved, and the number of players and scene objects managed by the scene is greatly improved without increasing the complexity of the upper-level logic function design. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 A structural diagram of a game data processing system provided by the present invention;

[0018] Figure 2 A relationship diagram in a scene computing unit server provided by an embodiment of the present invention;

[0019] Figure 3 A schematic flow chart of a method for processing game data provided by an embodiment of the present invention;

[0020] Figure 4 One of the schematic flow charts of another method for processing game data provided by an embodiment of the present invention;

[0021] Figure 5 A second schematic flow chart of another method for processing game data provided by an embodiment of the present invention;

[0022] Figure 6 A third schematic flow chart of another method for processing game data provided by an embodiment of the present invention;

[0023] Figure 7 A schematic flow chart of a game data processing method according to another embodiment of the present invention;

[0024] Figure 8 A schematic flow chart of a game data processing method according to another embodiment of the present invention;

[0025] Fig. 9 A functional module diagram of a game data processing device provided by an embodiment of the present invention;

[0026] Fig.10 A functional module diagram of a game data processing device according to another embodiment of the present invention;

[0027] Fig.11 A functional module diagram of a game data processing device according to another embodiment of the present invention;

[0028] Fig.12 A structural block diagram of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0030] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0032] In the description of the present invention, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. appear to indicate an orientation or position relationship, they are based on the orientation or position relationship shown in the accompanying drawings, or are the orientation or position relationship in which the product of the invention is usually placed when used. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0033] In addition, the terms “first”, “second”, etc., if used, are merely used to distinguish between the descriptions and should not be understood as indicating or implying relative importance.

[0034] It should be noted that, in the absence of conflict, the features in the embodiments of the present invention may be combined with each other.

[0035] There are many types of online games. Massively multiplayer online role-playing games are a complex type of game that requires high performance. As the gaming experience is upgraded, players increasingly expect to see more other players in the same scene. At the same time, players enter a game scene for game experience. Real-time interaction in the game is an important part of role-playing games. That is, players have one or more virtual characters in the scene. When controlling the virtual characters in the game, players can see the virtual characters controlled by other players in the same scene and interact with them in real time. For example, behavioral interaction can include fighting virtual villains in the game together, fighting against each other, and so on.

[0036] In the development process of massively multiplayer online role-playing games, when a large number of players enter a scene, it is easy to cause high performance pressure on computer hardware such as memory and CPU usage of a single scene, network communication, etc. Based on this, the relevant technology proposes seamless map scene technology. The characteristics of seamless map scenes are large maps, many players, many interactive virtual characters and virtual items, and the ability to achieve continuous experience for players in the scene.

[0037] At present, there are many ways to achieve seamless maps in massively multiplayer online games, such as: seamless map switching method, game logic multi-threaded processing method, etc.

[0038] Among them, the seamless map switching method divides a large world scene into several game spaces according to regions when designing the game. Each game space can be filled with non-interactive content, such as the empty ocean, sky, no-man's land and other junction areas. When the player walks through these areas, the server helps the player switch the background scene, and the player client does not switch the scene, so the player does not feel anything. In fact, the entire world is composed of multiple independent scenes. The implementation method of threading game logic processing is: the logical function of a scene is run in the same process. In order to support the entry of a large number of players and improve the performance of processing logic, multi-threading is often used to disperse the logic to different threads for processing. Using multi-threading can improve processing capabilities, greatly improve the carrying capacity of the scene, and support the realization of seamless large-world scenes.

[0039] During the research, the inventor found that the method of realizing seamless map scenes by using the map switching method without any sense is dependent on the design of the world view, and the application scenarios are limited. It is only suitable for open or unmanned areas. If each game space is continuous in the game setting, it will be perceived by the players when the background switches the scene, and there will be an upper limit on the number of players in the same scene due to processing performance. The multi-threaded implementation method also has its problems. For example, the carrying capacity is limited by the hardware indicators of the computer equipment, and the requirements for memory and processor are high. In addition, when there is a problem with the program, all online players will not be able to experience the game normally, which has a great impact.

[0040] It can be seen that with the existing technology for achieving seamless maps, the number of players online at the same time is still limited by the performance of the scene control center server. The existing scene control center server integrates game data maintenance and logic calculations, and it is easy for the game to not proceed normally due to server problems.

[0041] In order to solve the above technical problems, the inventor provides a network structure, which includes a scene control center server, multiple scene computing unit servers and a scene same-screen controller server. The scene control center server can assign players to different scene computing unit servers, and the scene computing unit servers perform logical calculations of each player, such as calculating the attack power, blood volume, wealth, etc. of the game character. The scene computing unit servers share the computing pressure of the scene control center server, improve performance, and ensure the carrying capacity of the seamless map scene. The scene control center server is used to maintain various game data of the player characters, such as levels, personal information, etc.; at the same time, the scene control center server also synchronizes all player data to the scene same-screen control server, and the scene same-screen control server creates the player character corresponding to each player data, and establishes a corresponding relationship between each player character and at least one interactive player character according to the location information of each player character sent by the scene computing unit server and preset rules, thereby realizing the function of controlling the player's visible content.

[0042] Based on the above structure, in order to ensure that the same scene can accommodate a large number of players to interact, the inventor also introduced the concept of shadow characters. In addition to the player character entity, each scene computing unit server also has a "copy" of the player character entity on other scene computing unit servers, that is, all relevant calculations of the player character entity are completed on the scene computing unit server corresponding to the player, and the shadow character on the scene computing unit server corresponding to the player is not the scene object to be processed by the current scene computing unit server, but the result data calculated by other scene computing unit servers, thereby increasing the number of players online at the same time in seamless map scenes in massively multiplayer online role-playing games, and at the same time improving the processing capability of real-time interaction of a large number of characters in the same scene. The following is an example of a shadow character. Figure 1 As an example, the game data processing method provided by the embodiment of the present invention is introduced. Figure 1 , Figure 1 The architecture diagram of a game data processing system provided by an embodiment of the present invention includes a scene control center server 11, a scene computing unit server 12 and a scene same-screen control server 13. The scene control center server 11 interacts with the scene computing unit server 12 and the scene same-screen control server 13 for data.

[0043] The scene control center server 11 is used to obtain all player data; and establish a corresponding relationship between each scene computing unit server and at least one player data according to a preset allocation strategy.

[0044] It is understandable that the scene control center server 11 manages all characters of a single scene, mainly managing players entering and leaving the game and storing data of all player characters, such as the character's level, player personal information, etc.

[0045] In some possible embodiments, when a player enters a scene, the scene control center server 11 assigns the player to a scene computing unit server for game experience according to a preset allocation strategy. A scene control center server 11 in the game processing system provided by the present invention can manage multiple scene computing unit servers at the same time according to the size of the scene. The more scene computing unit servers there are, the stronger the carrying capacity.

[0046] In some possible embodiments, the above-mentioned allocation strategy can be to allocate players to each scene computing unit server 12 in the order in which they log into the game, and can also use a modulo method to determine the scene computing unit server 12 corresponding to each player. For example, when the result after a certain modulo method is consistent with the number of the scene computing unit server 12, the player is allocated to the scene computing unit server. The players can also be allocated to the scene computing unit servers with less load in turn according to the load balancing strategy.

[0047] Through the above allocation strategy, a corresponding relationship between a scene computing unit server and at least one player can be established. For example, there are three players logged in and registered on the scene control center server 11, namely player 1, player 2, and player 3, and there are two scene computing unit servers, namely scene computing unit server 1 and scene computing unit server 2. Through any of the above allocation strategies, a corresponding relationship between the three players and the two scene computing unit servers can be established, for example, scene computing unit server 1 corresponds to player 1 and player 3, and scene computing unit server 2 corresponds to player 2. Therefore, the scene control center server 11 can send all the corresponding relationships to the scene computing unit server 12, so that the scene computing unit server creates player characters and shadow characters according to these corresponding relationships.

[0048] The scene computing unit server 12 is used to receive the notification message sent by the scene control center server.

[0049] It is understandable that the above notification message contains the correspondence between all player data and the scene computing unit server. Then, the scene computing unit server 12 can create a character entity of the player corresponding to itself and create a shadow character of the player not corresponding to itself according to the correspondence.

[0050] For example, scene computing unit server 1 corresponds to player 1 and player 3, and scene computing unit server 2 corresponds to player 2. After receiving the notification message, scene computing unit server 1 creates the character entities of player 1 and player 3, and creates the shadow character of player 2; after receiving the notification message, scene computing unit server 2 creates the character entity of player 2, and creates the shadow characters of player 1 and player 2.

[0051] In some possible embodiments, the shadow role is a scene object carrier for synchronizing data between scene computing unit servers. Figure 2 , Figure 2 A relationship diagram in a scene computing unit server provided in an embodiment of the present invention.

[0052] like Figure 2 As shown, it includes a scene computing unit server 1 and a scene computing unit server 2. The scene computing unit server 1 has a player 1 character and a player 2 shadow character, and the scene computing unit server 2 has a player 2 character and a player 1 shadow character. The scene computing unit server 1 and the scene computing unit server 2 synchronize the shadow data of their respective player characters.

[0053] Taking scene computing unit server 1 as an example, the black character in the figure is the player 1 character processed by scene computing unit server 1, and all calculations with the player 1 character are completed on scene computing unit server 1. The shadow character of player 2 in the figure is not the scene object to be processed by the current scene computing unit server 1. It is the result data calculated by scene computing unit server 2 and is only used as a data object in scene computing unit server 1. Similarly, scene computing unit server 1 will also synchronize player 1 shadow data to scene computing unit server 2.

[0054] By synchronizing shadow data between the scene computing unit servers 12, it is possible to accommodate multiple players in the same scene and realize interaction between players, thereby reducing the computing and storage pressure of a single scene computing unit, and ultimately ensuring the realization of a seamless map scene.

[0055] It should be noted that the number of scene computing unit servers 12 in the embodiment of the present invention can be dynamically increased or decreased according to the number of players and the number of scene objects. The more players and scene objects there are, the more computing unit servers are needed to share computing pressure, improve performance, and ensure the carrying capacity of the seamless map scene.

[0056] In some possible embodiments, in order to structurally avoid the aggregation problem existing in traditional scene servers, the scene control center server 12 is also used to send all player data to the scene same-screen control server 13; the scene same-screen control server 13 is used to create a player character corresponding to each player data; the scene calculation unit server 12 is also used to send the location information of each player character to the scene same-screen control server; the scene same-screen control server 13 is also used to establish a corresponding relationship between each player character and at least one interactive player character according to the location information of each player character and preset rules.

[0057] It is understandable that the scene same-screen controller server 13 is capable of managing the same-screen of millions of scene objects. Because the scene content is large, the player cannot see all the content. The scene same-screen controller server 13 can establish a correspondence between each player and the interactive player who can interact with this player based on the player's location information, and only present the player and the player's interactive players on the user side. For example, if there are 3,000 players online in the same scene, the scene same-screen controller server 13 can achieve the effect of presenting 50-80 players on the client of player 1.

[0058] Thus, each scene computing unit server is responsible for the computing amount of players that it can afford. For example, if one computing unit is responsible for the computing tasks of 1,500 players, then a scene server that supports 15,000 people only needs 10 computing units. Because the scene same-screen control server 13 is only responsible for processing the visible relationship between players, it solves the computing pressure of the scene control center server and avoids the aggregation problem existing in traditional scene servers from a structural perspective.

[0059] Optionally, in some possible embodiments, when the player character updates the level and other information in the scene computing unit server 12, the scene control center server 11 will also be notified, and the scene control center server 11 will periodically notify the database server to update the player's saved data. Therefore, a possible implementation method for updating player data is given below, that is, the scene computing unit server 12 sends the update data corresponding to any at least one player character to the scene control center server 11; the scene control center server 11 updates the player data corresponding to the scene computing unit server 12 according to the update data.

[0060] Optionally, in some possible embodiments, when a player logs out of the scene control center server 11, a message requiring the player to exit the scene is sent to each scene computing unit server 12, so that the scene computing unit server 12 deletes the player character or shadow character corresponding to the logged-out player. A possible implementation method is given below, that is, when a player logs out of the scene control center server 12, the scene control center server 11 sends a deletion message to all scene computing unit servers 12; the deletion message includes the logged-out player data; the scene computing unit server 12 deletes the player character corresponding to the logged-out player according to the corresponding relationship; or, deletes the shadow character corresponding to the logged-out player.

[0061] Based on the architecture of the above system, a scalable seamless map scene server architecture can be defined. By splitting the data maintenance and game logic calculation functions of the scene control center service, each player is assigned to a single scene calculation unit to achieve the purpose of sharing the computing pressure of the central server. At the same time, by managing the data synchronization of shadow characters, a single scene can accommodate a large number of players, and by synchronizing shadow data, interaction between players can be achieved. Without increasing the complexity of the upper-level logic function design, the number of players and scene objects managed by the scene is greatly increased, providing players with a richer game world.

[0062] Based on the above system architecture, an embodiment of the present invention provides a game data processing method, and the execution subject of the method can be Figure 1 The scene control center server 11 shown in FIG. Figure 3 , Figure 3 A schematic flow chart of a method for processing game data provided by an embodiment of the present invention, the method comprising:

[0063] S21. Obtain all player data.

[0064] S22. Establish a corresponding relationship between each scene computing unit server and at least one player data according to a preset allocation strategy.

[0065] S23. Send a notification message to all scene computing unit servers.

[0066] It can be understood that the notification message contains the correspondence between all scene computing unit servers and at least one player data, which can be used to instruct each scene computing unit server to create a player character of the target player data corresponding to the scene computing unit server and to create a shadow character corresponding to all player data except the target player.

[0067] The embodiment of the present invention provides a game data processing method, which establishes a corresponding relationship between each scene computing unit server and at least one player data according to all the acquired player data and a preset allocation strategy, and then sends a notification message to all the scene computing unit servers, so that each scene computing unit server creates a player character of the target player data corresponding to the scene computing unit server according to the corresponding relationship and creates a shadow character corresponding to all the player data except the target player. The difference from the prior art is that the scene control server in the prior art integrates data maintenance and data logic calculation, and the game logic pressure of processing a large number of players in the same scene is relatively large, and it is easy to cause the number of players in the scene to be limited due to reasons such as device performance, while the present application splits the function of the scene control server, migrates the processing game calculation logic to several scene computing unit servers, and allocates at least one player to each scene computing unit server, so as to achieve the purpose of sharing the calculation pressure of the central server, and at the same time, the shadow character data can be exchanged between any two scene computing unit servers, and by managing the data synchronization of the shadow character, a single scene can accommodate a large number of players and realize the interaction between the players, and the number of players and scene objects managed by the scene is greatly improved without increasing the complexity of the upper-level logic function design.

[0068] Optionally, in order to control the visible content of each player and reduce the scene calculation pressure of the scene center server, the scene control center server and multiple scene calculation unit servers also interact with the scene same-screen control server respectively. Therefore, Figure 3 Based on this, a possible implementation method is given, see Figure 4 , Figure 4 A schematic flow chart of another method for processing game data provided by an embodiment of the present invention, the method further comprising:

[0069] S24. Send all the player data to the scene on-screen control server so that the scene on-screen control server creates a player character corresponding to each player data, and establishes a corresponding relationship between each player character and at least one interactive player character according to the position information of each player character sent by the scene calculation unit server and preset rules.

[0070] It is understandable that when a player enters the scene center server, the scene center server sends the player's data to the scene same-screen control server, and the scene same-screen control server adds the player character of the player data, so that the scene same-screen control server establishes a corresponding relationship between each player character and at least one interactive player character according to the location information of each player character sent by the scene calculation unit server and the preset rules. The corresponding relationship is the number of other players that the player can see on the client, or the target player that the player can interact with.

[0071] In some possible embodiments, the above preset rule may be that for each player character, the player characters within a preset distance range from the player character are considered as interactive players. For example, the players within a 50-meter range around the player are considered as interactive players;

[0072] It is understandable that there are many players in the same scene, but the number of players that can interact is limited by this same screen function. Therefore, the above preset rule can also be: the player characters within the preset distance range from the player character are regarded as interactive players, and the number of interactive players is less than or equal to the preset number of players, for example, the preset number of players is 200.

[0073] Optionally, in order to timely update the level, identity and other data of each player, Figure 1 Based on this, a possible implementation method is given, see Figure 5 , Figure 5 A schematic flow chart of another method for processing game data provided by an embodiment of the present invention, the method further comprising:

[0074] S25. Receive update data sent by any at least one scene computing unit server.

[0075] S26. Update the player data corresponding to the scene calculation unit server according to the updated data.

[0076] Optionally, when a player logs out of the game, in order to notify each scene computing unit server to update the player character or shadow character it manages in time, the following Figure 1 Based on this, a possible implementation method is given, see Figure 6 , Figure 6 A schematic flow chart of another method for processing game data provided by an embodiment of the present invention, the method further comprising:

[0077] S27. When a player logs out of the scene control center server, a delete message is sent to all scene computing unit servers; the delete message contains the data of the logged-out player; the delete message is used to instruct the scene computing unit server to delete the player character corresponding to the logged-out player according to the corresponding relationship; or, to delete the shadow character corresponding to the logged-out player.

[0078] Based on the above system architecture, the embodiment of the present invention also provides a game data processing method, the execution subject of the method can be Figure 1 The scene computing unit server 12 shown in FIG. Figure 7 , Figure 7 A schematic flow chart of a method for processing game data in another embodiment provided by the present invention, the method comprising:

[0079] S31, receiving a notification message sent by a scene control center server; the notification message includes a correspondence between each scene computing unit server and at least one player data;

[0080] S32. Create a player character corresponding to the target player data of the first scene computing unit server and a shadow character corresponding to all player data except the target player according to all corresponding relationships; perform shadow character data exchange between any two scene computing unit servers.

[0081] Based on the above system architecture, the embodiment of the present invention also provides a game data processing method, the execution subject of the method can be Figure 1 The scene shown in the same screen control server 13, see Figure 8 , Figure 8 A schematic flow chart of a method for processing game data provided by an embodiment of the present invention, the method comprising:

[0082] S41. Receive all player data sent by the scene control center server.

[0083] S42, creating a player character corresponding to each player data;

[0084] S43, receiving the position information of each player character sent by multiple player computing unit servers.

[0085] S44: Establish a corresponding relationship between each player character and at least one interactive player character according to the position information of each player character and a preset rule.

[0086] It is understandable that the above preset rule may be that for each player character, the player characters within a preset distance range from the player character are considered as interactive players. For example, the players within a 50-meter range around the player are considered as interactive players;

[0087] It is understandable that there are many players in the same scene, but the number of players that can interact is limited by this same screen function. Therefore, the above preset rule can also be: the player characters within the preset distance range from the player character are regarded as interactive players, and the number of interactive players is less than or equal to the preset number of players, for example, the preset number of players is 200.

[0088] In order to implement the above steps S21-S27 and achieve the corresponding technical effects, the embodiment of the present invention also provides an implementation method of a game data processing device, see Fig. 9 , Fig. 9 The functional module diagram of a game data processing device in an embodiment of the present invention is provided. The game data processing device 60 includes:

[0089] The acquisition module 61 is used to acquire all player data;

[0090] An establishing module 62, used to establish a corresponding relationship between each scene computing unit server and at least one player data according to a preset allocation strategy;

[0091] Communication module 63, used to send notification messages to all scene computing unit servers;

[0092] Among them, the notification message contains all the corresponding relationships; the notification message is used to instruct each scene computing unit server to create a player character corresponding to the target player data corresponding to the scene computing unit server and to create a shadow character corresponding to all player data except the target player; data exchange of shadow characters is carried out between any two scene computing unit servers.

[0093] Optionally, the communication module 63 is also used to send all player data to the scene same-screen control server, so that the scene same-screen control server creates a player character corresponding to each player data, and establishes a corresponding relationship between each player character and at least one interactive player character according to the position information of each player character sent by the scene calculation unit server and preset rules.

[0094] Optionally, the game data processing device 60 also includes an update module, and the communication module 63 is also used to receive update data sent by any at least one scene computing unit server; the update module is used to update the player data corresponding to the scene computing unit server according to the update data.

[0095] Optionally, the communication module 63 is also used to send a deletion message to all scene computing unit servers when a player logs out of the scene control center server; the deletion message contains the data of the logged-out player; the deletion message is used to instruct the scene computing unit server to delete the player character corresponding to the logged-out player according to the corresponding relationship; or, the deletion message is used to instruct the scene computing unit server to delete the shadow character corresponding to the logged-out player according to the corresponding relationship.

[0096] In order to implement the above steps S31-S32 and achieve the corresponding technical effects, the embodiment of the present invention also provides an implementation method of a game data processing device, see Fig.10 , Fig.10 A functional module diagram of a game data processing device in another embodiment of the present invention is provided. The game data processing device 70 includes:

[0097] The communication module 71 is used to receive a notification message sent by the scene control center server; the notification message includes a corresponding relationship between each scene computing unit server and at least one player data;

[0098] Establish module 72, used for creating a player character corresponding to the target player data of the first scene computing unit server and creating a shadow character corresponding to all player data except the target player according to all corresponding relationships; and performing shadow character data exchange between any two scene computing unit servers.

[0099] In order to implement the above steps S41-S44 and achieve the corresponding technical effects, the embodiment of the present invention also provides an implementation method of a game data processing device, see Fig.11 , Fig.11 A functional module diagram of a game data processing device in another embodiment provided by an embodiment of the present invention, wherein the game data processing device 80 in another embodiment includes:

[0100] Communication module 81, used to receive all player data sent by the scene control center server;

[0101] A creation module 82, used to create a player character corresponding to each player data;

[0102] The communication module 81 is also used to receive the position information of each player character sent by the multiple player computing unit servers;

[0103] The creation module 82 is further used to establish a corresponding relationship between each player character and at least one interactive player character according to the position information of each player character and preset rules.

[0104] The embodiment of the present invention further provides a server, such as Fig.12 , Fig.12The server structure block diagram is provided for the embodiment of the present invention. The server 90 includes a communication interface 901, a processor 902 and a memory 903. The processor 902, the memory 903 and the communication interface 901 are directly or indirectly electrically connected to each other to realize the transmission or interaction of data. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The memory 903 can be used to store software programs and modules, such as program instructions / modules corresponding to any game data processing method provided by the embodiment of the present invention, and the processor 902 executes the software programs and modules stored in the memory 903, thereby performing various functional applications and data processing. The communication interface 901 can be used for signaling or data communication with other node devices. In the present invention, the server 90 can have multiple communication interfaces 901.

[0105] Among them, the memory 903 can be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc.

[0106] The processor 902 may be an integrated circuit chip with signal processing capability. The processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0107] It can be understood that the various modules of the above-mentioned game data processing device 60 or game data processing device 70 or game data processing device 80 can be stored in the memory 903 of the server 90 in the form of software or firmware, and executed by the processor 902. At the same time, the data, program codes, etc. required to execute the above-mentioned modules can be stored in the memory 903.

[0108] An embodiment of the present invention provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, a game data processing method as described in any of the above embodiments is implemented. The computer-readable storage medium can be, but is not limited to, a USB flash drive, a mobile hard disk, a ROM, a RAM, a PROM, an EPROM, an EEPROM, a magnetic disk, or an optical disk, etc., which can store program codes.

[0109] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for processing game data, characterized in that: Applied to the scene control center server; The scene control center server interacts with multiple scene computing unit servers for data exchange; the method includes: Get all player data in a single game scene; Establishing a correspondence between each of the scene computing unit servers and at least one of the player data according to a preset allocation strategy; the allocation strategy is to allocate in sequence according to the order in which the players log into the game; Sending a notification message to all the scene computing unit servers; The notification message includes all the corresponding relationships; the notification message is used to instruct each of the scene computing unit servers to create a player character corresponding to the target player data corresponding to the scene computing unit server and to create a shadow character corresponding to all player data except the target player; data of the shadow characters are exchanged between any two of the scene computing unit servers to realize interaction between the players in the single game scene.

2. The game data processing method according to claim 1, characterized in that: The scene control center server and the multiple scene computing unit servers also interact with the scene same-screen control server for data respectively; the method also includes: Send all the player data to the scene on-screen control server so that the scene on-screen control server creates the player character corresponding to each player data, and establishes a corresponding relationship between each player character and at least one interactive player character according to the position information of each player character sent by the scene calculation unit server and preset rules.

3. The game data processing method according to claim 1, characterized in that: Also includes: Receiving update data sent by any at least one of the scene computing unit servers; Update the player data corresponding to the scene computing unit server according to the update data.

4. The game data processing method according to claim 1, characterized in that: Also includes: When a player logs out of the scene control center server, a deletion message is sent to all the scene computing unit servers; The deletion message includes the player data of the logged-out player; the deletion message is used to instruct the scene computing unit server to delete the player character corresponding to the logged-out player according to the corresponding relationship; or, the deletion message is used to instruct the scene computing unit server to delete the shadow character corresponding to the logged-out player according to the corresponding relationship.

5. A method for processing game data, characterized in that: Applied to a first scene computing unit server, where the first scene computing unit server is any one of the plurality of scene computing unit servers; The first scene computing unit server interacts with the scene control center server for data, and the method includes: Receive a notification message sent by the scene control center server; the notification message includes a correspondence between each scene computing unit server and at least one player data; the correspondence is established by the scene control center server after acquiring all player data in a single game scene according to a preset allocation strategy; the allocation strategy is to allocate in sequence according to the order in which the players log into the game; Based on all the corresponding relationships, a player character corresponding to the target player data of the first scene computing unit server is created, and a shadow character corresponding to all player data except the target player is created; data of the shadow characters are interacted between any two of the scene computing unit servers to realize interaction between the players in the single game scene.

6. A method for processing game data, characterized in that: Applied to a scene same-screen control server, the scene same-screen control server interacts with a scene control center server and multiple scene computing unit servers respectively; the method includes: Receive all player data sent by the scene control center server; the scene control center server is used to obtain all player data in a single game scene, and establish a corresponding relationship between each scene computing unit server and at least one player data according to a preset allocation strategy; the allocation strategy is to allocate in sequence according to the order in which the players log into the game; send a notification message to all the scene computing unit servers; wherein the notification message contains all the corresponding relationships; the notification message is used to instruct each scene computing unit server to create a player character of the target player data corresponding to the scene computing unit server and to create a shadow character corresponding to all player data except the target player; any two scene computing unit servers perform data interaction of the shadow characters to realize interaction between the players in the single game scene; Create a player character corresponding to each player data; Receiving position information of each of the player characters sent by the plurality of computing unit servers; According to the position information of each player character and preset rules, a corresponding relationship between each player character and at least one interactive player character is established.

7. A game data processing device, characterized in that: Applied to the scene control center server; The scene control center server interacts with multiple scene computing unit servers for data exchange; including: The acquisition module is used to obtain all player data in a single game scene; An establishment module, used to establish a correspondence between each of the scene computing unit servers and at least one of the player data according to a preset allocation strategy; the allocation strategy is to allocate in sequence according to the order in which the players log into the game; A communication module, used to send notification messages to all the scene computing unit servers; The notification message includes all the corresponding relationships; the notification message is used to instruct each of the scene computing unit servers to create a player character corresponding to the target player data corresponding to the scene computing unit server and to create a shadow character corresponding to all player data except the target player; data of the shadow characters are exchanged between any two of the scene computing unit servers to realize interaction between the players in the single game scene.

8. A game data processing device, characterized in that: Applied to a first scene computing unit server, where the first scene computing unit server is any one of the plurality of scene computing unit servers; The first scene computing unit server interacts with the scene control center server for data, including: A communication module is used to receive a notification message sent by the scene control center server; the notification message contains a correspondence between each of the scene computing unit servers and at least one player data; the correspondence is established according to a preset allocation strategy after the scene control center server obtains all the player data in a single game scene; the allocation strategy is to allocate in sequence according to the order in which the players log into the game; an establishment module is used to create a player character of the target player data corresponding to the first scene computing unit server and a shadow character corresponding to all player data except the target player according to all the correspondences; data interaction of the shadow characters is performed between any two of the scene computing unit servers to realize interaction between the players in the single game scene.

9. A game data processing device, characterized in that: Applied to a scene same-screen control server, the scene same-screen control server interacts with a scene control center server and multiple scene computing unit servers respectively; including: A communication module, used for receiving all player data sent by the scene control center server; the scene control center server is used to obtain all player data in a single game scene, and establish a corresponding relationship between each scene computing unit server and at least one player data according to a preset allocation strategy; the allocation strategy is to allocate in sequence according to the order in which the players log into the game; send a notification message to all the scene computing unit servers; wherein the notification message contains all the corresponding relationships; the notification message is used to instruct each scene computing unit server to create a player character of the target player data corresponding to the scene computing unit server and to create a shadow character corresponding to all player data except the target player; data interaction of the shadow characters is performed between any two scene computing unit servers to realize interaction between the players in the single game scene; The creation module is used to create a player character corresponding to each player data; The communication module is further used to receive the position information of each of the player characters sent by the multiple scene computing unit servers; The creation module is also used to establish a corresponding relationship between each player character and at least one interactive player character according to the position information of each player character and preset rules.

10. A game data processing system, comprising a scene control center server, a plurality of scene computing unit servers and a scene same-screen control server; the scene control center server exchanges data with the scene computing unit server and the scene same-screen control server respectively; The scene control center server is used to obtain all player data in a single game scene; establish a corresponding relationship between each scene computing unit server and at least one player data according to a preset allocation strategy; the allocation strategy is to allocate in sequence according to the order in which the players log into the game; The scene computing unit server is configured to receive a notification message sent by the scene control center server; the notification message includes all the corresponding relationships; based on all the corresponding relationships, a player character corresponding to the target player data of the scene computing unit server is created, and a shadow character corresponding to all player data except the target player is created; Data of the shadow characters are exchanged between any two of the scene computing unit servers to achieve interaction between players in the single game scene; The scene control center server is also used to send all player data to the scene same-screen control server; The scene same-screen control server is used to create a player character corresponding to each player data; The scene computing unit server is further configured to send the position information of each player character to the scene same-screen control server; The scene same-screen control server is also used to establish a corresponding relationship between each player character and at least one interactive player character according to the position information of each player character and preset rules.

11. A server, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement the game data processing method described in any one of claims 1 to 4, the game data processing method described in claim 5, or the game data processing method described in claim 6.

12. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the game data processing method according to any one of claims 1 to 4, the game data processing method according to claim 5, or the game data processing method according to claim 6 is implemented.