CN111957036A - Game data processing system, method, electronic device and storage medium - Google Patents

Game data processing system, method, electronic device and storage medium Download PDF

Info

Publication number
CN111957036A
CN111957036A CN202010843087.4A CN202010843087A CN111957036A CN 111957036 A CN111957036 A CN 111957036A CN 202010843087 A CN202010843087 A CN 202010843087A CN 111957036 A CN111957036 A CN 111957036A
Authority
CN
China
Prior art keywords
data
game
sub
cluster
clusters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010843087.4A
Other languages
Chinese (zh)
Inventor
刘宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010843087.4A priority Critical patent/CN111957036A/en
Publication of CN111957036A publication Critical patent/CN111957036A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • A63F13/352Details of game servers involving special game server arrangements, e.g. regional servers connected to a national server or a plurality of servers managing partitions of the game world
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/51Server architecture
    • A63F2300/513Server architecture server hierarchy, e.g. local, regional, national or dedicated for different tasks, e.g. authenticating, billing
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • A63F2300/531Server assignment

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The game data processing system comprises a main cluster and a plurality of sub-clusters which are arranged in a distributed mode, wherein the main cluster is used for obtaining game request data in at least two sub-clusters, processing the game request data to obtain game processing data, and feeding the game processing data back to the corresponding sub-clusters. The game data processing system is provided with the plurality of sub-clusters in a distributed mode, the main cluster is used for acquiring the game request data in the sub-clusters through the sub-clusters, and the main cluster is used for processing the game request data, so that the game request data in the sub-clusters are processed through the main cluster, the problem that the game data in the sub-clusters are combined to one large cluster in a uniform mode in the prior art is solved, the maintenance time for transferring the small clusters to the large clusters is low, the cost is low, and the efficiency is high.

Description

Game data processing system, method, electronic device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a game data processing system, a game data processing method, an electronic device, and a storage medium.
Background
Most of large Multiplayer Online (MMO) games in the market at present adopt a servlet architecture, namely a limited number of physical servers form a cluster, a database cluster is connected to store data of players, and database clusters connected by different clusters cannot be communicated with each other, so that the aim of locking players in a small cluster is fulfilled, and whether the ecology of one cluster is good or not has a great relation with the number of active players of the cluster. With the advance of game operation time, different clusters of the game have larger differentiation, some clusters are more active, the player experience is better, some clusters are quieter, and the player experience is poorer.
In the prior art, in order to enable players in an inactive cluster to enjoy better game experience, an operated game item usually selects a pool according to the ecological situation of the cluster, combines player data of several small clusters into a large cluster, and marks the original cluster on the data marks of the players, so as to achieve the purpose of logically distinguishing the clusters, thereby increasing the number of active players in the small clusters.
However, in the prior art, the player data of the small clusters are merged into one large cluster in a manner of concordance, so that the maintenance time cost is high, and the efficiency is low.
Disclosure of Invention
The application provides a game data processing system, a game data processing method, electronic equipment and a storage medium, so that a small cluster is converted into a large cluster, maintenance time is low, cost is low, and efficiency is high.
In a first aspect, an embodiment of the present application provides a game data processing system, including:
the system comprises a main cluster and a plurality of sub-clusters arranged in a distributed mode.
The main cluster is used for acquiring game request data in at least two sub-clusters, processing the game request data to obtain game processing data, and feeding the game processing data back to the corresponding sub-clusters.
In the embodiment of the application, the plurality of sub-clusters are distributed in the game data processing system, the game request data in the sub-clusters are obtained through the sub-clusters by the main cluster, the game request data are processed by the main cluster to obtain the game processing data, and the game processing data are fed back to the corresponding sub-clusters, so that the game request data in the sub-clusters are processed by the main cluster, the situation that the game data in the sub-clusters are combined to one large cluster in a manner of concordance in the prior art is avoided, the maintenance time cost for transferring the small cluster to the large cluster is low, and the efficiency is high.
In a possible implementation manner, in the game data processing system provided in the embodiment of the present application, the master cluster includes: a master control process and a first logic processing process;
the master control process is used for regulating and controlling the game request data to the corresponding first logic processing process for data processing so as to obtain game processing data;
the master control process is also used for feeding back the game processing data to the corresponding sub-clusters.
In the embodiment of the application, the game request data is regulated and controlled to the first logic processing process in the main cluster for data processing through the main control process in the main cluster, and the game processing data is fed back to the corresponding sub-cluster, so that the game request data from the sub-cluster is processed through the first logic processing process in the main cluster.
In a possible implementation manner, in the game data processing system provided in the embodiment of the present application, the main cluster further includes: a first data connection process;
the master control process is also used for regulating and controlling the game request data to the corresponding first data connection process so that the first data connection process provides the game request data for the first logic processing process.
In a possible implementation manner, in the game data processing system provided in the embodiment of the present application, the main cluster further includes: a master database;
the first data connection process is also used for performing read-write operation on the main database.
In a possible implementation manner, the game data processing system provided in the embodiment of the present application, the sub-group includes: a second data connection process;
and the second data connection process is used for regulating and controlling the game request data to the first data connection process through the master control process.
In one possible embodiment, the sub-cluster further comprises: a sub-database;
the second data connection process is also used for performing read-write operation on the sub-database.
In one possible embodiment, the sub-cluster further comprises: a second logical processing process;
the second logic processing process is used for processing the game data in the sub-cluster;
the second data connection process is also used to provide game data for the second logical processing process.
The method, the electronic device, the computer-readable storage medium, and the computer program product provided in the embodiments of the present application are described below, and contents and effects thereof may refer to the game data processing system provided in the embodiments of the present application, and are not described again.
In a second aspect, an embodiment of the present application provides a game data processing method, which is applied to the game data processing system provided in the first aspect and the optional manner of the first aspect, and includes:
the main cluster acquires the game request data in the at least two sub-clusters, processes the game request data to obtain game processing data, and feeds the game processing data back to the corresponding sub-clusters.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a processor; and
a memory for storing a computer program for the processor;
wherein the processor is configured to implement the functionality of the respective clusters in the gaming data processing system as provided by the first aspect or the first aspect implementable manner by executing the computer program.
In a fourth aspect, embodiments of the present application provide a non-transitory computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the method as provided in the second aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product, including: executable instructions for implementing the method as provided by the second aspect.
The game data processing system comprises a main cluster and a plurality of distributed sub-clusters, wherein the main cluster is used for acquiring game request data in at least two sub-clusters, processing the game request data to obtain game processing data, and feeding the game processing data back to the corresponding sub-clusters. In the embodiment of the application, the plurality of sub-clusters are distributed in the game data processing system, the game request data in the sub-clusters are obtained through the sub-clusters by the main cluster, the game request data are processed by the main cluster to obtain the game processing data, and the game processing data are fed back to the corresponding sub-clusters, so that the game request data in the sub-clusters are processed by the main cluster, the situation that the game data in the sub-clusters are combined to one large cluster in a manner of concordance in the prior art is avoided, the maintenance time cost for transferring the small cluster to the large cluster is low, and the efficiency is high.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is an exemplary application scenario architecture diagram provided by an embodiment of the present application;
FIG. 2 is a block diagram of a game data processing system according to an embodiment of the present application;
FIG. 3 is a block diagram of a game data processing system according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a tournament server according to an embodiment of the present application;
FIG. 5 is a block diagram of a game data processing system according to another embodiment of the present application;
FIG. 6 is a flow chart illustrating a game data processing method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The MMO games in the market at present mostly adopt a servlet architecture, namely, a limited number of physical servers form a cluster, a database cluster is connected to store data of players, the database clusters connected with different clusters cannot be communicated with each other, and therefore the purpose of locking the players in one small cluster is achieved, whether the ecology of one cluster is good or not is greatly related to the number of active players of the cluster. With the advance of game operation time, different clusters of the game have larger differentiation, some clusters are more active, the player experience is better, some clusters are quieter, and the player experience is poorer. In the prior art, in order to enable players in an inactive cluster to enjoy better game experience, the operated game items are usually selected to be compliant according to the ecological situation of the cluster, and the player data of several small clusters are merged into one large cluster to achieve the purpose of logically distinguishing the clusters, so that the number of active players in the small clusters is increased. The maintenance time cost is high and the efficiency is low when the player data of the small clusters are combined into a large cluster, and all the clusters are involved in the process of compliance, so that 100% of users are affected, and a large risk is brought to the product.
The game data processing system provided by the embodiment of the application has the inventive concept that under a large cluster architecture, a plurality of sub-clusters are separated to respectively interact with databases of a plurality of small clusters, each sub-cluster corresponds to one small cluster, and the game data in the sub-clusters are prevented from being merged into one large cluster in a uniform mode, so that the time cost for transferring the small clusters to the large clusters is greatly reduced, the efficiency for transferring the small clusters to the large clusters is improved, and the product risk is reduced on the basis of increasing the experience of players.
An exemplary application scenario of the embodiments of the present application is described below.
The game data processing system provided in the embodiment of the present application may be integrated on a server, or the game data processing system may be the server itself, and the embodiment of the present application does not limit the specific type of the server, for example, the server may be a server cluster, and the server cluster includes a plurality of servers for executing different functions. Fig. 1 is an exemplary application scenario architecture diagram provided in an embodiment of the present application, and as shown in fig. 1, the architecture mainly includes: a server 11, a server 12 and a terminal device 10. Wherein, a game-related application APP is installed in the terminal device 10 or the terminal device 10 may open a game through a web page, and the server 11 is a server corresponding to the terminal device 10, for example, the server 11 may be used to control reading and writing of player data in a small cluster, and fig. 1 only illustrates that the server includes 2 servers 11, and the number of the servers 11 is not limited in the embodiment of the present application. The server 11 may be a single server or a plurality of servers, or may be a server cluster. The server 11 is in data communication with the server 12, and the server 12 may be configured to read or write game data of the terminal device 10 through the server 11, and may also implement creation, destruction, game logic control, and the like of game entities of players in the terminal device 10. The function of the server in the embodiment of the present application is not limited to this.
Fig. 2 is a schematic structural diagram of a game data processing system provided in an embodiment of the present application, where the system may be implemented in a software and/or hardware manner, and the game data processing system provided in the embodiment of the present application is described below with a server as an execution subject, as shown in fig. 2, the game data processing system provided in the embodiment of the present application may include a main cluster and a plurality of sub clusters arranged in a distributed manner.
The main cluster is used for acquiring game request data in at least two sub-clusters, processing the game request data to obtain game processing data, and feeding the game processing data back to the corresponding sub-clusters.
The main cluster may be implemented by one or more servers, and the sub-cluster may also be implemented by one or more servers, which is not limited in this embodiment of the present application. In addition, the number of the sub-clusters is not limited in the embodiment of the present application, and fig. 2 illustrates that only three sub-clusters are included in the game data processing system, where the sub-clusters are respectively the sub-cluster 1, the sub-cluster 2, and the sub-cluster 3. The embodiments of the present application are not limited thereto. For example, as shown in fig. 2, the sub-cluster in which player 1 and player 2 are located is sub-cluster 1, and player 1 and player 2 are visible and can perform social activities.
In the prior art, a plurality of players in each sub-cluster may perform activities such as social interaction, but no activities such as social interaction may be performed between players in different sub-clusters, for example, a plurality of players in the sub-cluster 1 may perform activities such as social interaction, but no activities such as social interaction may be performed between players in the sub-cluster 1 and the sub-cluster 2, as shown in fig. 2, the sub-cluster in which the player 1 and the player 2 are located is the sub-cluster 1, the sub-cluster in which the player 3 and the player 4 are located is the sub-cluster 3, the player 1 and the player 2 may perform activities such as social interaction, the player 3 and the player 4 may perform activities such as social interaction, but the player 1 and the player 3 or the player 4 may not perform activities such as social interaction, and the player 2 and the player 3 or the player 4 may not perform activities such as social interaction.
In the game data processing system provided by the embodiment of the application, the game request data in the sub-clusters are obtained through the main cluster, and the game request data are processed, so that the activities of visibility among players in each sub-cluster, social interaction and the like can be realized. For different game logics, the master cluster may also set that only players in each sub-cluster can see and perform social activities, which is not limited in the embodiment of the present application.
For convenience of introduction, exemplarily, the player 1 in the sub-cluster 1 sends a game request to the main cluster, the game request may include a cluster identifier of the sub-cluster where the player 1 is located, the main cluster receives the game request sent by the player 1 and obtains the cluster identifier of the player 1, and the main cluster obtains the game request data of the player 1 from the sub-cluster identified by the cluster identifier of the player 1, that is, the sub-cluster 1 obtains the game request data of the player 1 and processes the game request data. For example, if the game request is a login request, the game request data may be processed by creating a game entity of player 1 using the game request data, and the present embodiment is only an example and is not limited thereto. After processing the game request data, the game processing data may also be obtained, and the master cluster may also feed back the game processing data to the sub-cluster in which player 1 is located, i.e., sub-cluster 1. The embodiment of the application is only taken as an example, and the manner of processing the game request data of other sub-clusters by the main cluster is similar to that, and is not described again.
In the embodiment of the application, the plurality of sub-clusters are distributed in the game data processing system, the game request data in the sub-clusters are obtained through the sub-clusters by the main cluster, the game request data are processed by the main cluster to obtain the game processing data, and the game processing data are fed back to the corresponding sub-clusters, so that the game request data in the sub-clusters are processed by the main cluster, the situation that the game data in the sub-clusters are combined to one large cluster in a manner of concordance in the prior art is avoided, the maintenance time cost for transferring the small cluster to the large cluster is low, and the efficiency is high.
On the basis of the foregoing embodiment, in a possible implementation manner, fig. 3 is a schematic structural diagram of a game data processing system provided in another embodiment of the present application, and as shown in fig. 3, the master cluster includes: a master control process and a first logic processing process; the master control process is used for regulating and controlling the game request data to the corresponding first logic processing process for data processing so as to obtain game processing data; the master control process is also used for feeding back the game processing data to the corresponding sub-clusters.
In a possible implementation manner, the Game data processing system provided in this embodiment of the present application may be based on a architecture of a mysiya Server (mesiah Server), fig. 4 is a schematic structural diagram of the mysiya Server provided in this embodiment of the present application, and as shown in fig. 4, the mesiah Server architecture includes a Game Manager (Game Manager), a database Manager (Db Manager), a Game (Game) process, and a gateway (Gate) process, the mesiah Server is connected to a client where a player is located through the Gate process, and the Gate process is responsible for not only the connection between the client where the player is located and the mysiya Server, but also for processing message forwarding between all the clients and the Gate process, and message forwarding between the Gate processes. The Game Manager process is used for controlling the core message forwarding of the whole Saimania server, such as the creation and destruction of the process. The Db Manager process is used to access a database, including reading player data, reading cluster core play data, writing data, and the like, and usually all databases connected to the Db Manager in a cluster are the same database, that is, a database storing cluster data. The Game process is used for bearing a Game core logic layer playing method, and all daily activity logic processing, combat calculation, login, logout and the like of the player are processed in the Game process. The cluster related data needed to be used in the Game process can be provided by the Db Manager process, and the data generated by the Game process and needed to be stored can be written into the database by the Db Manager process. The Messiah Server may further include a database, and the database is used for storing cluster data.
Based on this, the master control process included in the master cluster in the embodiment of the present application may be implemented by a Game Manager process in the Messiah Server, and the master cluster may be connected to the sub-clusters through the master control process, which is not described again. The main cluster may further include one or more first logical processing processes, and the first logical processing processes may be implemented by a Game process in the Messiah Server. The number and types of the first logic processing processes are not limited in the embodiments of the present application, where multiple first logic processing processes may be implemented by one or more servers, different first logic processing processes may be used to execute different game logic functions, and the number of first logic processing processes used to execute the same game logic function may be one or more. The master control process is used for regulating and controlling the Game request data to the corresponding first logic processing process for data processing, for example, the Game request data is used for requesting the Game ranking list, and the master control process (Game Manager) is used for regulating and controlling the Game request data to the first logic processing process (Game) corresponding to the Game ranking list for data processing so as to obtain the Game processing data, that is, the result of the Game ranking list is obtained, and then the Game processing data is fed back to the corresponding subset group.
In the embodiment of the application, the game request data is regulated and controlled to the first logic processing process in the main cluster for data processing through the main control process in the main cluster, and the game processing data is fed back to the corresponding sub-cluster, so that the game request data from the sub-cluster is processed through the first logic processing process in the main cluster.
In a possible implementation manner, as shown in fig. 3, in the game data processing system provided in the embodiment of the present application, the main cluster may further include: a first data connection process. The master control process is also used for regulating and controlling the game request data to the corresponding first data connection process so that the first data connection process provides the game request data for the first logic processing process.
Exemplarily, with reference to fig. 4, the first data connection process in the master cluster in the game data processing system provided in the embodiment of the present application may be implemented by a Db Manager process in the Messiah Server, where the master control process is configured to regulate and control the game request data to the corresponding first data connection process (Db Manager), so that the first data connection process (Db Manager) provides the game request data for the first logic processing process (game).
In a possible implementation manner, as shown in fig. 3, in the game data processing system provided in the embodiment of the present application, the master cluster further includes: a master database. The first data connection process is also used for performing read-write operation on the main database. The first data connection process is used to access a master database, and the master database may include core data in a master cluster, which is not limited in this embodiment of the present application.
On the basis of any one of the foregoing embodiments, in a possible implementation manner, fig. 5 is a schematic structural diagram of a game data processing system provided in another embodiment of the present application, and fig. 5 only illustrates that the game data processing system includes a sub-cluster 1, but is not limited thereto, and as shown in fig. 5, the game data processing system provided in the embodiment of the present application includes: a second data connection process. And the second data connection process is used for regulating and controlling the game request data to the first data connection process through the master control process.
Each sub-cluster includes at least one second data connection process, the number of the second data connection processes is not limited in the embodiment of the present application, and fig. 5 illustrates that the sub-cluster 1 includes one second data connection process 1 as an example, and the embodiment of the present application is not limited thereto. In a possible implementation manner, the second data connection process may be implemented by a Db Manager process in the Messiah Server, and the second data connection process may be connected to the master control process, and is configured to regulate and control the game request data to the first data connection process through the master control process, and further process the game request data through the first logic processing process, so as to obtain the game processing data.
In one possible embodiment, as shown in fig. 5, the sub-cluster further comprises: a sub-database; the second data connection process is also used for performing read-write operation on the sub-database.
The sub-database is used for storing player data in the sub-cluster, for example, the sub-database 1 includes player data of players in the sub-cluster 1, the second data connection process 1 is connected to the sub-database 1 and is used for performing read-write operation on the sub-database, it should be noted that the second data connection process is not connected to the main database, and the second data connection process cannot read core data of the cluster.
In one possible embodiment, as shown in fig. 5, the sub-clusters may further include: a second logical processing process; the second logic processing process is used for processing the game data in the sub-cluster; the second data connection process is also used to provide game data for the second logical processing process.
Each sub-cluster includes at least one second logical processing process, the number of the second logical processing processes is not limited in the embodiment of the present application, and fig. 5 illustrates that the sub-cluster 1 includes one second logical processing process 1, but is not limited thereto. In a possible implementation manner, the second logical processing process may be implemented by a Game process in the Messiah Server, and the second logical processing process 1 may be connected to the master control process, and configured to provide Game request data for the first logical processing process. The second logic processing process is connected with the sub-database through a second data connection process and used for processing the game data in the sub-cluster stored in the sub-database, and the second data connection process is used for providing the game data for the second logic processing process.
In the embodiment of the application, independent storage and calling of player data in the sub-clusters are realized by setting the second logic processing process, the second data connection process and the sub-database which correspond to each small cluster, and game request data in the sub-clusters are processed by the main cluster, so that a plurality of sub-clusters can be converted into a large cluster, the problem that game data in the sub-clusters are combined to one large cluster in a manner of concordance in the prior art is solved, maintenance time for converting the small clusters to the large clusters is low in cost, and efficiency is high.
The method, the electronic device, the computer-readable storage medium, and the computer program product provided in the embodiments of the present application are described below, and contents and effects thereof may refer to the game data processing system provided in the embodiments of the present application, and are not described again.
An embodiment of the present application provides a game data processing method, which is applied to the game data processing system provided in any of the embodiments, and the method may include: the main cluster acquires the game request data in the at least two sub-clusters, processes the game request data to obtain game processing data, and feeds the game processing data back to the corresponding sub-clusters.
In a possible implementation manner, fig. 6 is a schematic flow chart of a game data processing method provided in an embodiment of the present application, and as shown in fig. 6, the game data processing method provided in the embodiment of the present application may include:
step S101: and receiving a game request of a user through the main cluster, wherein the game request comprises a cluster identifier.
Step S102: and acquiring the game request data in the sub-cluster corresponding to the cluster identifier through the main cluster, and processing the game request data to obtain game processing data.
The method includes the steps that a Game request of a user is received through a master control process (Game Manager) of a main cluster, wherein the Game request can be a login request, a registration request, a leader board request, a team request and the like.
The game request data is obtained from the sub-database of the sub-cluster corresponding to the cluster identifier through the main cluster, and then the game request data can be processed through the master control process in the main cluster to obtain game processing data. The embodiment of the present application does not limit this.
In a possible implementation manner, a game data processing method provided in the embodiment of the present application is described with reference to a game data processing system shown in fig. 5, taking a game request as a login request as an example. The game data processing system receives a login request of a user through a main cluster, the login request comprises a cluster identifier, for example, the cluster identifier is identifier 1, a sub-cluster corresponding to the identifier 1 is a sub-cluster 1, a second logic processing process 1 in the sub-cluster 1 is selected through the main cluster, the request is sent to a second data connection process 1 through the second logic processing process 1, login request data are read from a sub-database 1 through the second data connection process 1 and are returned to a master control process of the main cluster, the master control process sends the login request data to a first logic processing process, roles are created through the first logic processing process by using the login request data, and game login to a player is achieved.
In order to maintain the ecology of the game unchanged, each logical play method of the game also needs to be adjusted according to specific situations, for example, a game ranking list, and after small clusters are combined into a large cluster, players are sensitive to their ranking values because competitors faced by the players before combination are all from their small clusters. There is therefore a need to rank the player data of different small clusters separately on a large cluster, and separate toplists to enhance the user experience.
In another possible implementation manner, the game data processing method provided in the embodiment of the present application is described with reference to the game data processing system shown in fig. 5, taking the game request as a leader board request as an example. The game data processing system receives a ranking list request of a user through the main cluster, the ranking list request comprises a cluster identifier, for example, the cluster identifier is identifier 1, the sub-cluster corresponding to the identifier 1 is sub-cluster 1, a second logic processing process 1 in the sub-cluster 1 is selected through the main cluster, the second logic processing process 1 sends a request to a second data connection process 1, the ranking list request data are read from the sub-database 1 through the second data connection process 1 and are returned to a master control process of the main cluster, and the master control process sends the ranking list request data to a first logic processing process, ranking is carried out through the first logic processing process by using the ranking list request data, and a game ranking list of players in the sub-cluster 1 is generated.
After obtaining the game processing data, the game processing data may be fed back to the sub-cluster corresponding to the cluster identifier, for example, stored in a sub-database of the sub-cluster. The game processing data may also be stored in the master database, and this is only taken as an example and is not limited thereto in the embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, where the electronic device may be a server cluster, and as shown in fig. 7, the electronic device includes:
a processor 71, a memory 72, a transceiver 73 and a computer program; wherein the transceiver 73 enables data transmission with other devices, a computer program is stored in the memory 72 and configured to be executed by the processor 71, the computer program comprising functions for performing the respective clusters in the above-mentioned game data processing system, the contents and effects of which refer to the method embodiments.
In addition, embodiments of the present application further provide a computer-readable storage medium, in which computer-executable instructions are stored, and when at least one processor of the user equipment executes the computer-executable instructions, the user equipment performs the above-mentioned various possible methods.
Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in user equipment. Of course, the processor and the storage medium may reside as discrete components in a communication device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A game data processing system, comprising: the system comprises a main cluster and a plurality of sub-clusters which are arranged in a distributed mode;
the main cluster is used for acquiring game request data in at least two sub-clusters, processing the game request data to obtain game processing data, and feeding the game processing data back to the corresponding sub-clusters.
2. The gaming data processing system of claim 1, wherein the master cluster comprises: a master control process and a first logic processing process;
the master control process is used for regulating and controlling the game request data to the corresponding first logic processing process for data processing so as to obtain the game processing data;
and the master control process is also used for feeding back the game processing data to the corresponding sub-clusters.
3. The gaming data processing system of claim 2, wherein the master cluster further comprises: a first data connection process;
the master control process is further configured to regulate and control the game request data to the corresponding first data connection process, so that the first data connection process provides the game request data for the first logic processing process.
4. The gaming data processing system of claim 3, wherein the master cluster further comprises: a master database;
and the first data connection process is also used for performing read-write operation on the main database.
5. The gaming data processing system of claim 3 or 4, wherein said sub-cluster comprises: a second data connection process;
and the second data connection process is used for regulating and controlling the game request data to the first data connection process through the master control process.
6. The gaming data processing system of claim 5, wherein said sub-cluster further comprises: a sub-database;
and the second data connection process is also used for performing read-write operation on the sub-database.
7. The gaming data processing system of claim 6, wherein said sub-cluster further comprises: a second logical processing process;
the second logic processing process is used for processing game data in the sub-cluster;
the second data connection process is further configured to provide the game data to the second logic processing process.
8. A game data processing method applied to the game data processing system according to any one of claims 1 to 7; the method comprises the following steps:
the main cluster acquires game request data in at least two sub-clusters, processes the game request data to obtain game processing data, and feeds the game processing data back to the corresponding sub-clusters.
9. An electronic device, comprising:
a processor; and
a memory for storing a computer program for the processor;
wherein the processor is configured to implement the functionality of the respective clusters in the gaming data processing system of any of claims 1-7 by executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the functions of the respective clusters in the game data processing system of any one of claims 1 to 7.
CN202010843087.4A 2020-08-20 2020-08-20 Game data processing system, method, electronic device and storage medium Pending CN111957036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010843087.4A CN111957036A (en) 2020-08-20 2020-08-20 Game data processing system, method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010843087.4A CN111957036A (en) 2020-08-20 2020-08-20 Game data processing system, method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN111957036A true CN111957036A (en) 2020-11-20

Family

ID=73388633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010843087.4A Pending CN111957036A (en) 2020-08-20 2020-08-20 Game data processing system, method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111957036A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168282A (en) * 2014-08-22 2014-11-26 广州博冠信息科技有限公司 Cross-platform game communication method and system
CN106170010A (en) * 2016-05-23 2016-11-30 北京畅游天下网络技术有限公司 The data processing method of a kind of cross-server cluster and device
US20190209921A1 (en) * 2017-01-24 2019-07-11 Tencent Technology (Shenzhen) Company Limited Game server switching method, apparatus, and system
CN110124321A (en) * 2019-05-24 2019-08-16 腾讯科技(深圳)有限公司 A kind of object processing method, device, equipment and medium
CN110548285A (en) * 2019-09-03 2019-12-10 上海网之易璀璨网络科技有限公司 game communication control method and device, medium and electronic device
CN111420396A (en) * 2020-03-19 2020-07-17 网易(杭州)网络有限公司 Cross-process communication method between game characters, storage medium and processor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168282A (en) * 2014-08-22 2014-11-26 广州博冠信息科技有限公司 Cross-platform game communication method and system
CN106170010A (en) * 2016-05-23 2016-11-30 北京畅游天下网络技术有限公司 The data processing method of a kind of cross-server cluster and device
US20190209921A1 (en) * 2017-01-24 2019-07-11 Tencent Technology (Shenzhen) Company Limited Game server switching method, apparatus, and system
CN110124321A (en) * 2019-05-24 2019-08-16 腾讯科技(深圳)有限公司 A kind of object processing method, device, equipment and medium
CN110548285A (en) * 2019-09-03 2019-12-10 上海网之易璀璨网络科技有限公司 game communication control method and device, medium and electronic device
CN111420396A (en) * 2020-03-19 2020-07-17 网易(杭州)网络有限公司 Cross-process communication method between game characters, storage medium and processor

Similar Documents

Publication Publication Date Title
USRE48700E1 (en) Method for ladder ranking in a game
CN110898428B (en) Multi-virtual object interaction method, device, server and storage medium
US20220249959A1 (en) Method and system for managing multiplayer game sessions
US9526989B2 (en) Method and apparatus for receiving game streaming data, and method and server for transmitting game streaming data
US11792273B2 (en) Invitation link for launching multi-user applications
CN107168797A (en) Resource regulating method based on dynamic game under cloud environment
CN103841007A (en) Data processing method, device and system in online game system
KR20140004559A (en) Game system, and control method and storage medium
JP2020195768A (en) Method and system for raising player character of sport game using dualized space
JP4173903B2 (en) ONLINE FLASH GAME PROVIDING SYSTEM, ONLINE FLASH GAME PROVIDING METHOD, METHOD FOR PROVIDING A WEB PAGE FOR RUNNING A FLASH GAME, STORAGE MEDIUM RECORDING METHOD EXECUTION PROGRAM, AND WEB SERVER PROVIDING A WEB
CN106390450A (en) A game state update method, device and system
KR102647075B1 (en) How to Address Data Skew Using Map-Reduce
CN111957036A (en) Game data processing system, method, electronic device and storage medium
US20140349766A1 (en) Method and server for providing simulation game
JP7335739B2 (en) SYSTEM, METHOD AND PROGRAM FOR PROVIDING A GAME
US20220100753A1 (en) Computing cross products using map reduce
KR20070071849A (en) Server system using joint memory
JP7349833B2 (en) Systems, methods, and programs for providing games
JP7304740B2 (en) Game program, recording medium, game processing method
KR20130109722A (en) Character management method and server
CN109345290B (en) Electronic resource processing method and device, computing equipment and storage medium
US20200353364A1 (en) Information processing program, information processing server, and information processing system
Bonsu Value co-creation in virtual environments
CN116650942A (en) Service processing method, device, computer equipment and service processing system
JP2021133130A (en) Program, information processing method, and information processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination