CN113440861A - Data management system, method and device - Google Patents

Data management system, method and device Download PDF

Info

Publication number
CN113440861A
CN113440861A CN202110753180.0A CN202110753180A CN113440861A CN 113440861 A CN113440861 A CN 113440861A CN 202110753180 A CN202110753180 A CN 202110753180A CN 113440861 A CN113440861 A CN 113440861A
Authority
CN
China
Prior art keywords
data
server
game
ranking list
database
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
CN202110753180.0A
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.)
Zhuhai Kingsoft Online Game Technology Co Ltd
Original Assignee
Zhuhai Kingsoft Online Game Technology 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 Zhuhai Kingsoft Online Game Technology Co Ltd filed Critical Zhuhai Kingsoft Online Game Technology Co Ltd
Priority to CN202110753180.0A priority Critical patent/CN113440861A/en
Publication of CN113440861A publication Critical patent/CN113440861A/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/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/798Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for assessing skills or for ranking players, e.g. for generating a hall of fame
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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
    • 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/55Details of game data or player data management
    • A63F2300/5546Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history
    • A63F2300/558Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history by assessing the players' skills or ranking

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present specification provides data management systems, methods, and devices, wherein the data management system includes a leaderboard server and a game server; the ranking list server is configured to acquire game data of a plurality of players from a database corresponding to the game server, determine ranking list data based on the game data of the plurality of players and send the ranking list data to the game server; the game server is configured to receive leaderboard data. Therefore, the ranking list server can acquire the game data from the database corresponding to the game server by self without sending the game data to the game server, so that the occupation of the memory and the flow of the game server is reduced, the interaction between the ranking list server and the game server is reduced, the game server and the ranking list server are more independent, and the stability of the data management system is improved. In addition, the ranking list server can directly rank after acquiring the game data, and the operation of the ranking list server is reduced.

Description

Data management system, method and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data management system, method, and apparatus.
Background
In a network game, a leader board is generally provided to promote competition among players. For the network game adopting the partition and separate service architecture, not only can a ranking list of the partition service where the user is located currently be set, but also a full-service ranking list can be set, so that the user can know the ranking condition of the full-service player.
In the prior art, a ranking list server for ranking players may be provided, and after the ranking list server is started, initial game data of players may be acquired from a database shared by game servers, and then, when the game data of the players changes, the game server sends the changed game data to the ranking list server, and the ranking list server determines current game data of the players according to the initial game data and the changed game data of the players, and ranks the players according to the current game data of the players to obtain the ranking list data.
However, in the above method, the ranking list server needs to determine the current game data of the player according to the initial game data and the changed game data of the player, and then rank the player according to the current game data of the player, which not only increases the operation of the ranking list server, that is, increases the processing load of the ranking list server, but also reduces the efficiency of generating the ranking list data. In addition, the ranking list server needs to interact with the game server to acquire the changed game data, so that the independence of the game server and the ranking list server is low, and the game server sends the changed game data, which occupies the memory and the flow of the game server, further increases the burden of the game server, and affects the processing efficiency of the game server.
Disclosure of Invention
In view of this, the present specification provides a data management system. The present specification also relates to a data management method, a data management apparatus, a computing device, and a computer-readable storage medium, which are used to solve the technical problems in the prior art.
According to a first aspect of embodiments herein, there is provided a data management system comprising a leaderboard server and a game server;
the ranking list server is configured to acquire game data of a plurality of players from a database corresponding to the game server, determine ranking list data based on the game data of the plurality of players and send the ranking list data to the game server;
the game server is configured to receive the leaderboard data.
Optionally, the leaderboard server is further configured to:
establishing communication connection with the game server, receiving a database identifier sent by the game server, and acquiring game data of the plurality of players from a database indicated by the database identifier;
alternatively, the first and second electrodes may be,
the ranking list server is stored with database identifications in advance, and the game data of the players are acquired from the database indicated by the database identifications.
Optionally, the leaderboard server is further configured to:
periodically determining a ranking list type of a ranking list to be generated, and determining at least one data type based on the ranking list type;
obtaining game data of the at least one data type of each player from a database indicated by the database identification.
Optionally, the leaderboard server is further configured to:
determining a ranking rule corresponding to the ranking list type;
according to the ranking rule, ranking the players based on the game data of the at least one data type of the players, and determining ranking list data corresponding to the ranking list type.
Optionally, the leaderboard server is further configured to:
and if the additional attribute is configured aiming at the ranking list corresponding to the ranking list data, storing the ranking list data into a ranking list database.
According to a second aspect of the embodiments of the present specification, there is provided a data management method applied to a ranking list server, including:
acquiring game data of a plurality of players from a database corresponding to a game server;
determining leaderboard data based on the game data of the plurality of players and sending the leaderboard data to the game server.
Optionally, the obtaining game data of a plurality of players from a database corresponding to the game server includes:
establishing communication connection with the game server, receiving a database identifier sent by the game server, and acquiring game data of the plurality of players from a database indicated by the database identifier;
alternatively, the first and second electrodes may be,
the ranking list server is stored with database identifications in advance, and the game data of the players are acquired from the database indicated by the database identifications.
Optionally, obtaining the game data of the plurality of players from the database indicated by the database identifier includes:
periodically determining a ranking list type of a ranking list to be generated, and determining at least one data type based on the ranking list type;
obtaining game data of the at least one data type of each player from a database indicated by the database identification.
Optionally, determining leaderboard data based on the game data for the plurality of players includes:
determining a ranking rule corresponding to the ranking list type;
according to the ranking rule, ranking the players based on the game data of the at least one data type of the players, and determining ranking list data corresponding to the ranking list type;
accordingly, after determining the leaderboard data based on the game data of the plurality of players, further comprising:
and if the additional attribute is configured aiming at the ranking list corresponding to the ranking list data, storing the ranking list data into a ranking list database.
According to a third aspect of embodiments herein, there is provided a data management method applied to a game server, including:
receiving leader board data from a leader board server, wherein the leader board data is determined by the leader board server based on game data of a plurality of players, and the game data of the plurality of players is acquired by the leader board server from a database corresponding to the game server.
Optionally, after receiving the leaderboard data from the leaderboard server, the method further includes:
sending the leaderboard data to the clients of the plurality of players.
Optionally, before receiving the leaderboard data from the leaderboard server, the method further includes:
and establishing communication connection with the ranking list server, and sending the database identification to the ranking list server.
According to a fourth aspect of the embodiments of the present specification, there is provided a data management apparatus applied to a ranking list server, including:
the acquisition module is configured to acquire game data of a plurality of players from a database corresponding to the game server;
a determination module configured to determine leaderboard data based on the game data of the plurality of players and send the leaderboard data to the game server.
Optionally, the obtaining module is further configured to:
establishing communication connection with the game server, receiving a database identifier sent by the game server, and acquiring game data of the plurality of players from a database indicated by the database identifier;
alternatively, the first and second electrodes may be,
the ranking list server is stored with database identifications in advance, and the game data of the players are acquired from the database indicated by the database identifications.
Optionally, the obtaining module is configured to:
periodically determining a ranking list type of a ranking list to be generated, and determining at least one data type based on the ranking list type;
obtaining game data of the at least one data type of each player from a database indicated by the database identification.
Optionally, the determining module is configured to:
determining a ranking rule corresponding to the ranking list type;
according to the ranking rule, ranking the players based on the game data of the at least one data type of the players, and determining ranking list data corresponding to the ranking list type;
correspondingly, the device further comprises:
the storage module is configured to store the ranking list data into a ranking list database if additional attributes are configured for the ranking list corresponding to the ranking list data.
According to a fifth aspect of embodiments herein, there is provided a data management apparatus applied to a game server, including:
the game processing device comprises a receiving module and a determining module, wherein the receiving module is configured to receive ranking board data from a ranking board server, the ranking board data is determined by the ranking board server based on game data of a plurality of players, and the game data of the plurality of players is acquired by the ranking board server from a database corresponding to the game server.
Optionally, the apparatus further comprises:
a first sending module configured to send the leaderboard data to the plurality of players' clients.
Optionally, the apparatus further comprises:
the second sending module is configured to establish communication connection with the ranking list server and send the database identification to the ranking list server.
According to a sixth aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
acquiring game data of a plurality of players from a database corresponding to a game server; determining leaderboard data based on the game data for the plurality of players and sending the leaderboard data to the game server;
alternatively, the first and second electrodes may be,
receiving leader board data from a leader board server, wherein the leader board data is determined by the leader board server based on game data of a plurality of players, and the game data of the plurality of players is acquired by the leader board server from a database corresponding to the game server.
According to a seventh aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the data management method of any one of the above aspects.
The data management system provided by the present specification includes a ranking list server and a game server; the ranking list server is configured to acquire game data of a plurality of players from a database corresponding to the game server, determine ranking list data based on the game data of the plurality of players and send the ranking list data to the game server; the game server is configured to receive the leaderboard data. In other words, in the scheme, the ranking list server can acquire the game data of a plurality of players from the database corresponding to the game server, the game server is not required to synchronously change the game data, the occupation of the memory and the flow of the game server is reduced, the burden of the game server is lightened, the processing efficiency of the game server is improved, the ranking list server is not required to acquire the game data through the game server, the interaction between the ranking list server and the game server is reduced, the game server and the ranking list server are more independent, and the stability of the data management system is improved. Moreover, after the ranking list server acquires the game data of the plurality of players, other operations are not needed, and the ranking can be directly performed based on the game data of the players, so that the operations of the ranking list server are reduced, the processing burden of the ranking list server is reduced, and the efficiency of generating the ranking list data is improved.
The data management method provided by the specification is applied to a ranking list server, and the ranking list server can acquire game data of a plurality of players from a database corresponding to a game server; determining leaderboard data based on the game data of the plurality of players and sending the leaderboard data to the game server. In other words, the ranking list server in the scheme can acquire the game data from the database corresponding to the game server, the game server does not need to acquire the game data, interaction between the ranking list server and the game server is reduced, the game server and the ranking list server are more independent, and stability of the data management system is improved. Moreover, after the ranking list server acquires the game data of the plurality of players, other operations are not needed, and the ranking can be directly performed based on the game data of the players, so that the operations of the ranking list server are reduced, the processing burden of the ranking list server is reduced, and the efficiency of generating the ranking list data is improved.
The data management method provided by the specification is applied to a game server and receives ranking board data from the ranking board server, wherein the ranking board data is determined by the ranking board server based on game data of a plurality of players, and the game data of the plurality of players is acquired by the ranking board server from a database corresponding to the game server. In the scheme, the game server only needs to receive the ranking list data, and does not need to synchronously change the game data to the ranking list server, so that occupation of memory and flow of the game server is reduced, the burden of the game server is lightened, the processing efficiency of the game server is improved, the ranking list server can automatically acquire the game data from a database corresponding to the game server and does not pass through the game server, the interaction between the ranking list server and the game server is reduced, the game server and the ranking list server are more independent, and the stability of a data management system is improved.
Drawings
FIG. 1 is a schematic diagram of a data management system provided in accordance with the prior art;
fig. 2 is a schematic structural diagram of a data management system provided in an embodiment of the present specification;
FIG. 3 is a schematic structural diagram of another data management system provided in an embodiment of the present specification;
FIG. 4 is a schematic structural diagram of another data management system provided in an embodiment of the present specification;
FIG. 5 is a flow chart of a data management method provided by an embodiment of the present specification;
FIG. 6 is a flow chart of another data management method provided by an embodiment of the present description;
FIG. 7 is a process flow diagram of a data management method applied to game score ranking provided by an embodiment of the present specification;
fig. 8 is a schematic structural diagram of a data management apparatus according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of another data management apparatus provided in an embodiment of the present specification;
fig. 10 is a block diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, as those skilled in the art will be able to make and use the present disclosure without departing from the spirit and scope of the present disclosure.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, the noun terms to which one or more embodiments of the present specification relate are explained.
The ranking list server: is a separate tool server for ranking players based on their game data, resulting in ranking list data, and can periodically store and synchronize the ranking list data.
The game server: the server providing background services for the game can store game data of the player.
Next, an application scenario of the method for managing a leader board according to the embodiment of the present application will be described.
Referring to fig. 1, fig. 1 is a schematic diagram of a data management system provided according to the prior art. Fig. 1 includes a database, two game servers, and one ranking board server, the game server 1 and the game server 2 share one database, and the game server 1 and the game server 2 store generated game data in the database. After the ranking list server is started, initial game data may be acquired, and if the game data of the player changes, the changed game data sent by the game server 1 and the game server 2 is received, the ranking list server may determine current game data of the player based on the changed game data of the player and the acquired initial game data, and rank the player based on the current game data of the player to obtain the ranking list data. However, in the method, the varied game data needs to be sent to the ranking list server through the processor of the game server, the memory of the game server is occupied, the processing efficiency of the game server is reduced, the ranking list server determines that the ranking list data needs to depend on the varied game data sent by the game server, the interaction between the ranking list server and the game server is increased, and the independence between the game server and the ranking list server is low. In addition, the ranking list server needs to determine the current game data according to the changed game data and the initial game data and then perform ranking, and the number of operations to be executed is large, so that the processing burden of the ranking list server is increased, and the efficiency of generating the ranking list is reduced.
For this reason, embodiments of the present application provide a data management method, which can solve the above problems, and specific implementations of the data management method can be referred to in the following description of embodiments.
In the present specification, a data management system is provided, and the present specification relates to a data management method, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
Fig. 2 is a schematic structural diagram of a data management system provided in an embodiment of the present specification, where the data management system includes a leader board server 201 and a game server 202;
the ranking list server 201 is configured to acquire game data of a plurality of players from a database corresponding to the game server, determine ranking list data based on the game data of the plurality of players, and send the ranking list data to the game server;
the game server 202 is configured to receive leaderboard data.
In this embodiment of the present application, the game server may be one server, or may be a server cluster composed of at least two servers, that is, the number of the game servers may be one or at least two, which is not limited in this embodiment of the present application. As an example, the game server may be a full server, and the number of game servers may be at least two, or the game server may be a single server, and the number of game servers may be one.
In some embodiments, the database corresponding to the game server may be configured in the game server or may exist independently of the game server. However, no matter the database is configured in the game server or exists independently of the game server, the ranking list server acquires the game data directly from the database without passing through a processor of the game server, so that the memory of the game server is not occupied, and the processing efficiency of the game server is not influenced. For example, if the database is configured in the game server, an interface may be provided in the game server, and the leader board server may acquire the game data from the database by calling the interface without requiring the processor of the game server to perform any operation.
For example, referring to fig. 3, fig. 3 is a schematic structural diagram of another data management system provided in an embodiment of the present specification, and in fig. 3, the database may be configured in a game server.
In addition, the game server and the corresponding database may be in a one-to-one relationship, or may be in a many-to-one relationship, that is, each game server may correspond to one database, or a plurality of game servers may share one database. If each game server corresponds to a database, the database may be configured in its corresponding game server or independent of its corresponding game server, and if a plurality of game servers share a database, the database exists independent of the plurality of game servers.
Illustratively, referring to FIG. 2, each game server in FIG. 2 corresponds to a database; referring to fig. 4, in fig. 4, a plurality of game servers share one database.
In order to improve the playability of the game and promote competition among players, the ranking list can be arranged in the game and can comprise a plurality of types, and the ranking angle of each type of ranking list is different, so that the players can be helped to improve the ability of the players in various aspects of the game.
As an example, the game server and the leader board server each have their own corresponding databases. The database corresponding to the game server can be used for storing game data of the player and providing reference for the generation of subsequent ranking list data. The database of the ranking list server can be used for storing the generated ranking list data, and if the historical ranking list data of a certain stage needs to be inquired subsequently, the historical ranking list data can be inquired from the ranking list server.
In some embodiments, the game server may generate the game data according to an operation performed by the player in the game software installed on the client, and may store the game data in a corresponding database thereof, and when generating the ranking list data, the game data needs to be generated according to the game data of the player, and therefore, the ranking list server may acquire the game data of a plurality of players from the database corresponding to the game server. After the plurality of game data are acquired, the players can be ranked based on the game data to obtain the ranking list data, and the ranking list server can send the ranking list data to the game server, so that the game server can synchronize the ranking list data to game software installed on a client of the players, or synchronize the ranking list data to a webpage of the client, or synchronize the ranking list data to a game applet of the client, and then the players can acquire the current ranking list. The client can be an electronic device such as a mobile phone, a computer, a vehicle-mounted terminal and the like.
In one possible implementation, where the number of game servers is one, i.e., where the game server is a single arcade game server, then the plurality of players may be players in the single arcade. In this case, the generated ranking list data is a ranking list of players who are awarded the in-game item.
In another possible implementation, the number of game servers may be at least two, i.e., the game servers are game servers of at least two jurisdictions, and then the plurality of players may be players in the at least two jurisdictions. Illustratively, assuming a total of 5 suits are included in the game, the plurality of players may be players of the entire suit in the game. In this case, the generated ranking list data is the ranking list of the players who are all distinguished in the game.
That is, the embodiment of the present application is applicable to generating a ranking list of not only the whole regional clothes but also the single regional clothes.
In the embodiment of the application, in order to reduce interaction between the ranking list server and the game server and reduce the relevance between the ranking list server and the game server, the ranking list server and the game server are more independent, the game server does not send game data to the ranking list server, but the ranking list server directly obtains the game data from the database corresponding to the game server, and in this case, the ranking list server needs to determine the database identifier of the database storing the game data in advance to determine from which database the game data needs to be obtained.
Thus, in one possible implementation manner of this embodiment, the leaderboard server is further configured to: establishing communication connection with a game server, and receiving a database identifier sent by the game server; game data of a plurality of players is acquired from a database indicated by the database identification.
That is, the leaderboard server may establish a communication connection with the game server, and when the communication connection is established, the game server may send the database identifier of the database corresponding to the game server to the leaderboard server, and the leaderboard server may receive the database identifier and obtain the game data from the database indicated by the database identifier.
As an example, a database identity is an identification code that can be used to uniquely identify a database. Illustratively, the database identifier may be a unique identification code such as a character, a picture, an identification code, and the like, and the character may be a combination of one or more of a number, a letter, a symbol, and the like, and the identification code may be a two-dimensional code, a barcode, and the like, which is not limited in this embodiment. For example, the database identification may be a1, a, #1, and so on.
In some embodiments, after the ranking list server generates the ranking list data, the ranking list data needs to be synchronized to the game server, so that the ranking list server can establish a communication connection with the game server, and in order to facilitate the ranking list server to acquire the game data, the game server can send the database identifier of the database corresponding to the game server to the ranking list server, so that the ranking list server can accurately determine the database that can acquire the data based on the database identifier, and acquire the game data from the determined database.
Further, the ranking list server is a server serving the whole game, and therefore the ranking list server may establish a communication connection with a plurality of game servers served in the whole area, and the ranking list server may generate not only ranking list data served in the whole area but also ranking list data served in a single area, where the two types of ranking list data need to be obtained from different sources of game data. In this way, when the ranking list server generates the ranking list data, the game server may be determined according to whether the ranking list data is a full-zone uniform, a multi-zone uniform or a single-zone uniform, and then the game data may be acquired from the database indicated by the database identifier corresponding to the game server.
As an example, if the ranking board server needs to generate the ranking board data of the zone uniform a, that is, needs to acquire the game data from the database corresponding to the game server a, the ranking board server may determine the database identifier a corresponding to the server identifier a according to the first corresponding relationship, and then acquire the game data from the database indicated by the database identifier a, that is, may acquire the game data of all the players in the zone uniform a.
As another example, if the ranking board server needs to generate ranking board data of all the regional suits, assuming that the game includes 5 regional suits of A, B, C, D and E, that is, the ranking board server needs to obtain game data from the databases corresponding to the 5 game servers, respectively, the ranking board server may determine, according to the first correspondence relationship, a database identifier a corresponding to the server identifier a, a database identifier B corresponding to the server identifier B, a database identifier C corresponding to the server identifier C, a database identifier D corresponding to the server identifier D, and a database identifier E corresponding to the server identifier E, and then obtain game data from the databases corresponding to the database identifiers a, B, C, D, and E, respectively, that is, game data of all the players in the game regional suit may be obtained.
In the case where the game server and the database are in one-to-one correspondence, the ranking list server may obtain the game data of the game server according to the database identifier sent by the game server. However, if a plurality of game servers share one database, the game data of a specific game server may not be accurately obtained only according to the database identifier.
Thus, in other embodiments, if the database is common to a plurality of game servers, the database may include a plurality of data blocks, each data block corresponding to a server identifier, and each data block storing game data for the game server indicated by its corresponding server identifier. After the game server establishes communication connection with the ranking list server, the game server can send the database identification to the ranking list server and can also send the server identification, so that the ranking list server can determine the database according to the database identification, determine the data block for storing the game data from the database according to the server identification, and then acquire the game data of the game server indicated by the service identification from the data block.
Further, the ranking list server may generate ranking list data of the whole area server and may also generate ranking list data of the single area server, and the two types of ranking list data need to obtain different game data sources, so when the ranking list server generates the ranking list data, the game server may be determined according to whether the ranking list data is the whole area server, the multiple area servers or the single area server, and then the game data may be obtained from the data block corresponding to the server identifier in the database corresponding to the game server.
As an example, if the ranking list server needs to generate the ranking list data of the zone server a, that is, needs to acquire the game data of the game server a, the database corresponding to the game server a may be determined first, and then the game data may be acquired from the data block corresponding to the server identifier a in the database, that is, the game data of all the players in the zone server a may be acquired.
As another example, if the leaderboard server needs to generate leaderboard data of all the leaderboards and the game servers of all the leaderboards share one database, assuming that the game includes A, B and C for 3 leaderboards, that is, the leaderboard server needs to acquire the game data of the 3 game servers from the database. The leader board server may obtain the game data of the game server a from the data block corresponding to the server identifier a in the database, obtain the game data of the game server B from the data block corresponding to the server identifier B in the database, and obtain the game data of the game server C from the data block corresponding to the server identifier C in the database, that is, may obtain the game data of all the players in the whole area of the game.
In this implementation manner, after the ranking list server establishes a communication connection with the game server, the game server sends the database identifier of the corresponding database to the ranking list server, and then the ranking list server can acquire the database identifier. In addition, the game server can send the server identification while sending the database identification, so that the ranking list server can accurately judge which game server corresponds to which game server the data needs to be taken from according to whether the ranking list data is single-zone uniform, multi-zone uniform or full-zone uniform when generating the ranking list data, the efficiency of determining the database can be improved, and the efficiency of acquiring the game data is improved.
In another possible implementation manner of this embodiment, the ranking list server stores a database identifier in advance, and the ranking list server is further configured to: game data of a plurality of players is acquired from a database indicated by the database identification.
The database identifier is used for indicating a database corresponding to the game server. The database identifier may be a letter, a number, a symbol, or the like that uniquely indicates a database, and is not limited in this embodiment.
That is, the database identifier may be configured for the ranking list server in advance by a technician, the database identifier may be stored in the ranking list server in advance, and the ranking list server may acquire the game data from the database indicated by the database identifier.
In some embodiments, where the database storing the game data is fixed, the technician may configure the leader board server with a database identifier so that the leader board server accurately determines the database from which the data can be obtained based on the database identifier and obtains the game data from the determined database. Further, the ranking list server may generate ranking list data of not only the whole area suit but also the single area suit, where the two types of ranking list data need to be obtained from different sources, and in order to obtain correct game data from a corresponding database when the ranking list data is generated, the database identifier may be associated with the game server, that is, in the ranking list server, a first corresponding relationship between the database identifier and the server identifier may be stored in advance, and when the ranking list data needs to be generated, the ranking list server may determine the database identifier according to whether the ranking list data is the whole area suit, the multiple area suit, or the single area suit, and obtain the game data from the database indicated by the database identifier.
As an example, when the ranking list server needs to generate ranking list data, the ranking list server may determine whether the ranking list to be generated is a full-area uniform, a multi-area uniform or a single-area uniform, determine a server identifier, then determine a database identifier corresponding to the server identifier according to the first corresponding relationship, and then obtain game data from a database indicated by the database identifier.
In the case where the game server and the database are in one-to-one correspondence, the ranking list server may obtain the game data of the game server according to the database identifier sent by the game server. However, if a plurality of game servers share one database, the game data of a specific game server may not be accurately obtained only according to the database identifier.
Thus, in other embodiments, if the database is common to a plurality of game servers, the database may include a plurality of data blocks, each data block corresponding to a server identifier, and each data block storing game data for the game server indicated by its corresponding server identifier. The ranking list server not only stores database identifications, but also stores a first corresponding relation between the server identifications of the game server and the database identifications, and one database identification corresponds to a plurality of server identifications, so that the ranking list server can firstly determine the database according to the database identifications, then determine the data blocks corresponding to the server identifications from the database, and then acquire the game data of the game server indicated by the server identifications from the data blocks.
Further, the ranking list server may generate ranking list data of the whole area server and may also generate ranking list data of the single area server, and the two types of ranking list data need to obtain different game data sources, so when the ranking list server generates the ranking list data, the game server may be determined according to whether the ranking list data is the whole area server, the multiple area servers or the single area server, and then the game data may be obtained from the data block corresponding to the server identifier in the database corresponding to the game server.
In this implementation, the database identifier is configured in the leaderboard server by the technician without the game server sending to the leaderboard server, which can reduce interaction between the game server and the leaderboard service, so that the leaderboard server can be used independently of the game server before sending the leaderboard data to the game server, enhancing the independence of the leaderboard server.
It should be noted that, in the embodiment of the present application, the sources of the game data for generating the ranking list data are relatively independent, and only come from the database corresponding to the game server, and do not need to interact with the game server for obtaining, so that not only is the occupation of the memory and traffic of the game server reduced, but also the processing efficiency of the game server is improved, and the dependency of the ranking list server on the game server is reduced, so that the ranking list modules in the game are more independent.
In order to improve timeliness of the ranking list, the ranking list server may continuously generate and update the ranking list data, and therefore, in an optional implementation manner of this embodiment, the ranking list server is further configured to: game data of a plurality of players is periodically retrieved from the database indicated by the database identification.
That is, the ranking list server may periodically acquire the game data from the database indicated by the database identifier, and the ranking list server may periodically generate the ranking list data, and the smaller the period, the higher the timeliness of the generated ranking list data.
For example, assuming that the period is 30 seconds, the ranking board server may acquire the game data of the plurality of players from the database indicated by the database identification every 30 seconds and then generate the ranking board data based on the game data of the plurality of players.
In an optional implementation manner of this embodiment, various types of leaderboards may be set in the game, so as to rank the players from various angles, and the game data that needs to be acquired by different types of leaderboards are different, so the leaderboard server is further configured to: periodically determining the ranking list type of the ranking list to be generated, and determining at least one data type based on the ranking list type; game data of at least one data type for each player is retrieved from a database indicated by the database identification.
That is, the leader board server acquiring the game data from the database is periodically performed. Every other period, the ranking list server may determine the ranking list type of the ranking list to be generated, then determine at least one data type of the game data to be acquired according to the ranking list type, and then acquire the game data of the at least one data type from the database indicated by the database identifier.
It should be noted that the period may be set by a technician according to an actual requirement, or may be set by a default of the device, which is not limited in the embodiment of the present application.
As one example, the leaderboard type is related to the game's own settings. For example, leader board types may include single rank matches, props, skins, characters, four rank matches, and so forth. If the ranking list type is single rank fight, the ranking list can be regarded as the single rank of the player; if the type of the leaderboard is a property, the leaderboard may be considered as a ranking of the number of the properties of the player, and the like.
In some embodiments, the leaderboard server may continually generate various types of leaderboard data to obtain various types of leaderboards, but the game data to be used to generate different types of leaderboards is different, and thus, the leaderboard server may first determine the type of leaderboard to be generated. Moreover, the ranking list server may store a second corresponding relationship between the ranking list type and the data type, so that after the ranking list server determines the ranking list type, the ranking list server may determine at least one data type corresponding to the ranking list type according to the second corresponding relationship, and then acquire game data of the at least one data type from a database indicated by the database identifier.
As an example, assuming that the leader board type is a one-rank match, the data type corresponding to the one-rank match may be determined according to the second correspondence, and assuming that the data type corresponding to the one-rank match includes a one-rank win, a one-rank bear, and a one-rank game score, the leader board server may acquire the number of times of the one-rank win, the number of times of the one-rank bear, and the game score of each one-rank from the database indicated by the database identifier.
As another example, assuming that the leader board type is a character, the data type corresponding to the character may be determined according to the second correspondence, and assuming that the data type corresponding to the character includes the number of characters and the character attribute, the leader board server may obtain the number of characters and the character attribute of each player from the database indicated by the database identifier.
In some embodiments, the game server may store various data types of game data for each player in a database, and may store the game data in a table format. Illustratively, referring to table 1, table 1 is an exemplary storage manner in which the database stores game data.
TABLE 1
Player X Player Y Player Z
Data type I Game data XI Game data YI Game data Z I
Data type II Game data XII Game data YII Game data Z II
Data type III Number of gamesAccording to XIII Game data XIII Game data Z III
For example, referring to table 1, table 1 includes game data of player X, player Y, and player Z, and game data of player X includes game data xi having data type i, game data of player X includes game data xii having data type ii, and game data of player X includes game data xiii having data type iii. Similarly, the game data that can determine player Y and player Z is also divided into three types.
Illustratively, assuming that the at least one data type determined based on the leaderboard type includes data type i and data type ii, and the game server includes player X, player Y, and player Z, game data xi and game data xii for player X may be obtained from the database indicated by the database identification, game data yi and game data yii for player Y may be obtained, and game data zii for player Z may be obtained.
In this embodiment of the application, the ranking list server may periodically obtain the game data from the database indicated by the database identifier, and each time the game data is obtained, the ranking list type needs to be determined first, then at least one data type corresponding to the ranking list type is determined according to the second corresponding relationship between the ranking list type and the data type, and then the game data of the at least one data type of each player is obtained from the database indicated by the database identifier.
In an optional implementation manner of this embodiment, after the ranking list server obtains the game data, the players may be ranked according to the game data. Because the game data corresponding to different leaderboard types are different, and the ranking rules corresponding to different leaderboard types may be different, the leaderboard server is further configured to: determining a ranking rule corresponding to the ranking list type; and according to the ranking rule, ranking the plurality of players based on the game data of at least one data type of the plurality of players, and determining ranking list data corresponding to the ranking list type.
That is, since the ranking rules corresponding to different leaderboard types may be different, the ranking rules corresponding to the leaderboard types may be determined first, and then the plurality of players may be ranked based on the game data of the at least one data type, which the plurality of players correspond to, according to the ranking rules, the ranking order of the players may be determined, and the game data of the players ranked in order may be referred to as leaderboard data.
In some embodiments, a third correspondence between the ranking list type and the ranking rule may be stored in the ranking list server, and in the case of determining the ranking list type, the ranking rule corresponding to the ranking list type may be determined according to the third correspondence. Then, the game data of the plurality of players are ranked according to the ranking rule, and further, the ranking order of the plurality of players can be obtained, and the game data of the plurality of players are ranked according to the ranking order, and the ranked game data of the plurality of players is called ranking list data.
In one possible implementation, if at least one data type is one, the ranking rule may be to rank players according to game data of that data type. Further, after the players are ranked, the ranking order of the players is obtained, and the game data of the plurality of players are ranked in the ranking order of the players, and the ranked game data of the plurality of players is referred to as ranking list data.
For example, assuming that the data type is the number of characters, the ranking rule may be to rank the number of characters from top to bottom, rank the players according to the ranking rule to obtain the ranking order of the players, rank the number of characters of the plurality of players according to the ranking order of the players, and use the number of characters of the plurality of players after ranking as the ranking list data.
In another possible implementation manner, if at least one data type is at least two, the ranking rule may be that after ranking is performed according to a plurality of game data of each data type, at least two ranking results are obtained, and then the players are ranked based on the at least two ranking results. As an example, assuming that the data types are two, the players may be ranked according to the game data of one data type to obtain a first ranking result, and if the first ranking result includes players with the same ranking order, the players with the same ranking order may be ranked according to a second ranking result, and the game data of each player is ranked according to the ranking order of each player, so that the ranking list data may be obtained.
Illustratively, assuming that the data type includes single-line winning fields, single-line negative fields and single-line game scores, the sorting rule may be sorting according to the single-line game scores from large to small to obtain a first sorting result, sorting according to the number of the single-line winning fields from large to small to obtain a second sorting result, sorting according to the number of the single-line negative fields from small to large to obtain a third sorting result, and then sorting the players according to the first sorting result, if the first sorting result includes players with the same sorting order, sorting the players with the same sorting order according to the second sorting result, if the second sorting result includes players with the same sorting order, sorting the players with the same sorting order according to the third sorting result, obtaining the sorting order of the players, and sorting the game data of each player according to the sorting order of each player, the arranged plurality of game data may be referred to as ranking list data corresponding to the ranking list type.
In the embodiment of the present application, when a plurality of players are ranked based on game data of the plurality of players according to ranking rules corresponding to the leaderboard, the order of the plurality of players can be obtained, and the game data of the plurality of players can be referred to as the leaderboard data corresponding to the type of the leaderboard. In this way, the ranking list server can rank the game data of the plurality of players according to the ranking list types, and can generate various types of ranking lists.
In an optional implementation manner of this embodiment, after the ranking board server generates the ranking board data, whether to store the ranking board data may be determined according to the necessity of the ranking board data. Thus, the leaderboard server is further configured to: and if the additional attribute is configured aiming at the ranking list corresponding to the ranking list data, storing the ranking list data into the ranking list database.
That is, if the additional attribute is arranged in the ranking list corresponding to the ranking list data, it is described that the ranking list data may be used in the future, and therefore, the ranking list server may store the ranking list data in the ranking list database.
As an example, the additional attribute may be a lottery, or may be a comparison of rankings of different time periods of the same player, and so forth.
In this way, when it is determined that the additional attribute is configured for the ranking list, the ranking list data is stored, the ranking list data that may be used subsequently can be stored, and the ranking list data that may be useless can be deleted, so that the storage burden of the ranking list database can be reduced, and the occupation of the memory of the ranking list database can be reduced.
In implementation, after the ranking list server generates the ranking list data, the ranking list data can be synchronized to the game server, that is, the ranking list server can periodically synchronize the ranking list data with the game server, so that a user can timely obtain the ranking list data from the local server (that is, the game server) when the user wants to obtain the ranking list data. And after the game server acquires the ranking list data, whether the ranking list data are displayed to the user can be determined according to the user requirements.
In some embodiments, if the game server receives a data acquisition request sent by a client of a user, and the data acquisition request includes a ranking list type, the game server may acquire corresponding ranking list data based on the ranking list type and send the ranking list data to the client, and the client may display the ranking list data, so that the user may see the ranking list data.
As an example, the client can present the leaderboard data through installed gaming software, or the client can present the leaderboard data through a webpage, or the client can present the leaderboard data through a gamelet, and so forth.
In one possible implementation, if the number of game servers is one, the plurality of players may be players in the game server, the leaderboard server further configured to send the leaderboard data to the game server, the game server configured to send the leaderboard data to clients of the plurality of players.
In this case, if the generated ranking list data is a ranking list of players in the jurisdiction of the game server, the ranking list data may be transmitted to the game server, and the game server may transmit the ranking list data to the clients of the plurality of players.
It should be noted that, one possible implementation manner is to generate ranking list data of the uniform district uniform, synchronize the ranking list data to the game server, and display the ranking list data to the user. Next, operations of generating ranking list data of the multi-zone suit or the whole-zone suit, synchronizing the ranking list data to the game server, and displaying the ranking list data to the user will be described.
In another possible implementation, if the number of game servers is at least two and the plurality of players are players of the at least two game servers, the leaderboard server is further configured to: sending the leader board data to at least two game servers; accordingly, the at least two game servers are further configured to: and respectively sending the ranking list data to the client sides of the corresponding players.
That is, if the number of the game servers is at least two, the ranking list server needs to transmit the ranking list data to the at least two game servers, and each game server can transmit the ranking list data to the client of the player corresponding to each game server after receiving the ranking list data.
For example, assuming that the ranking list server needs to generate a ranking list of the whole area, and the whole area includes the game server a, the game server B, and the game server C, and after the ranking list server generates the ranking list data, the ranking list data may be sent to the 3 game servers, the game server a may send the ranking list data to the clients of the multiple players corresponding to the game server a, the game server B may send the ranking list data to the clients of the multiple players corresponding to the game server B, and the game server C may send the ranking list data to the clients of the multiple players corresponding to the game server C.
In this case, the generated ranking list data is the ranking list of the players in the zones of the at least two game servers, and if the whole game zone includes only the at least two game servers, it can be considered that the generated ranking list data is the ranking list data of the whole zone, and if the whole game zone includes other game servers, it can be considered that the generated ranking list data is the ranking list data of the multiple zones. The ranking list server may transmit the generated ranking list data to the at least two game servers, and the at least two game servers may transmit the ranking list data to the clients of the plurality of players corresponding to the at least two game servers, respectively.
Therefore, the ranking list data generated in the scheme can be ranking list data of single-region clothes, multi-region clothes or whole-region clothes, namely the scheme is applied to the ranking list generation of the single-region clothes, the multi-region clothes or the whole-region clothes.
In the embodiment of the application, the ranking list server can periodically acquire the game data from the game server, periodically generate the ranking list data, periodically store the generated ranking list data in the data of the ranking list server, periodically synchronize the ranking list data with the game server, and the shorter the period is, the higher the timeliness of the ranking list is.
In the data management system provided in the present specification, the data management system includes a ranking list server and a game server; the ranking list server is configured to acquire game data of a plurality of players from a database corresponding to the game server, determine ranking list data based on the game data of the plurality of players and send the ranking list data to the game server; the game server is configured to receive leaderboard data. In other words, in the scheme, the ranking list server can periodically acquire the game data of a plurality of players from the database corresponding to the game server, the game server is not required to synchronously change the game data, the occupation of the memory and the flow of the game server is reduced, the burden of the game server is reduced, the processing efficiency of the game server is improved, the game server is not required to acquire the game data through the game server, the interaction between the ranking list server and the game server is reduced, the game server and the ranking list server are more independent, and the stability of the data management system is improved. Moreover, after the ranking list server acquires the game data of the plurality of players, other operations are not needed, and the ranking can be directly performed based on the game data of the players, so that the operations of the ranking list server are reduced, the processing burden of the ranking list server is reduced, and the efficiency of generating the ranking list data is improved.
Fig. 5 is a flowchart illustrating a data management method provided in an embodiment of the present specification, where the data management method is applied to the leader board server in the embodiment, and specifically includes the following steps:
step 502: the game data of a plurality of players is acquired from a database corresponding to the game server.
In an optional implementation manner of this embodiment, the obtaining game data of a plurality of players from a database corresponding to a game server includes:
establishing communication connection with a game server, receiving a database identifier sent by the game server, and acquiring game data of a plurality of players from a database indicated by the database identifier;
alternatively, the first and second electrodes may be,
the ranking list server stores database identifications in advance, and obtains game data of a plurality of players from a database indicated by the database identifications.
In another optional implementation manner of this embodiment, before obtaining the game data of the multiple players from the database corresponding to the game server, a communication connection may be established with the game server, and the database identifier sent by the game server may be received. In this case, the acquiring of the game data of the plurality of players from the database corresponding to the game server includes: game data of a plurality of players is acquired from a database indicated by the database identification.
In an optional implementation manner of this embodiment, obtaining the game data of the plurality of players from the database indicated by the database identifier includes:
game data of a plurality of players is periodically retrieved from the database indicated by the database identification.
In an optional implementation manner of this embodiment, periodically obtaining the game data of the plurality of players from the database indicated by the database identifier includes:
periodically determining the ranking list type of the ranking list to be generated, and determining at least one data type based on the ranking list type;
game data of at least one data type for each player is retrieved from a database indicated by the database identification.
In another optional implementation manner of this embodiment, obtaining the game data of the plurality of players from the database indicated by the database identifier includes:
periodically determining the ranking list type of the ranking list to be generated, and determining at least one data type based on the ranking list type;
game data of at least one data type for each player is retrieved from a database indicated by the database identification.
Step 504: ranking list data is determined based on the game data of the plurality of players and sent to the game server.
In an optional implementation manner of this embodiment, determining the leader board data based on the game data of the plurality of players includes:
determining a ranking rule corresponding to the ranking list type;
according to the ranking rule, ranking the plurality of players based on the game data of at least one data type of the plurality of players, and determining ranking list data corresponding to the ranking list type;
accordingly, after determining the leader board data based on the game data of the plurality of players, the method further comprises:
and if the additional attribute is configured aiming at the ranking list corresponding to the ranking list data, storing the ranking list data into the ranking list database.
In an embodiment of the application, the steps to be executed by the ranking list server include: the method comprises the steps of establishing connection with a game server, receiving a database identification sent by the game server, periodically obtaining game data from a database indicated by the database identification, sequencing players based on the game data according to a certain rule to obtain ranking data, storing the ranking list data according to the necessity of the ranking list data, and synchronizing the ranking list data to the game server.
The data management method provided by the specification is applied to a ranking list server, and the ranking list server can acquire game data of a plurality of players from a database corresponding to a game server; ranking list data is determined based on the game data of the plurality of players and sent to the game server. In other words, in the scheme, the ranking list server can acquire the game data from the database corresponding to the game server, the game server is not required to acquire the game data, interaction between the ranking list server and the game server is reduced, the game server and the ranking list server are more independent, and the stability of the data management system is improved. Moreover, after the ranking list server acquires the game data of the plurality of players, other operations are not needed, and the ranking can be directly performed based on the game data of the players, so that the operations of the ranking list server are reduced, the processing burden of the ranking list server is reduced, and the efficiency of generating the ranking list data is improved.
The foregoing is an illustrative solution of a data management method applied to a ranking list server in this embodiment. It should be noted that the technical solution of the data management method and the technical solution of the data management system belong to the same concept, and details that are not described in detail in the technical solution of the data management method can be referred to the description of the technical solution of the data management system.
Fig. 6 is a flowchart of another data management method provided in an embodiment of the present specification, where the data management method is applied to the game server shown in the foregoing embodiment, and specifically includes the following steps:
step 602: leader board data from a leader board server is received.
The ranking list data is determined by the ranking list server based on the game data of the plurality of players, and the game data of the plurality of players is acquired by the ranking list server from a database corresponding to the game server.
In an optional implementation manner of this embodiment, before receiving the leader board data from the leader board server, the method further includes: and establishing communication connection with the ranking list server, and sending the database identification to the ranking list server.
Further, after receiving the ranking list data from the ranking list server, the method further includes: sending the leader board data to a client, wherein the client is a client of the plurality of players.
In an embodiment of the present application, the steps to be executed by the game server include: establishing connection with the ranking list server, synchronizing database identification of the server to the ranking list server, storing game data of the players, receiving the ranking data synchronized with the ranking list, and synchronizing the ranking data to the clients of the players. That is, the game server does not need to send the game data to the ranking list server, only needs to synchronize the data identifier when establishing connection with the ranking list server, and does not need to send the changed game data to the ranking list server in real time, so that the operation of the game server is reduced, and the interaction between the game server and the ranking list server is also reduced.
The data management method provided by the specification is applied to a game server and used for receiving ranking list data from the ranking list server, wherein the ranking list data are determined by the ranking list server based on game data of a plurality of players, and the game data of the plurality of players are acquired from a database corresponding to the game server by the ranking list server; and sending the ranking list data to a client, wherein the client is the client of the plurality of players. In the scheme, the game server only needs to receive the ranking list data and send the ranking list data to the client, and does not need to synchronously change the game data to the ranking list server, so that occupation of memory and flow of the game server is reduced, burden of the game server is relieved, processing efficiency of the game server is improved, the ranking list server can automatically acquire the game data from a database corresponding to the game server and does not pass through the game server, interaction between the ranking list server and the game server is reduced, the game server and the ranking list server are enabled to be more independent, and stability of a data management system is improved.
The foregoing is an illustrative solution of a data management method applied to a game server according to the embodiment. It should be noted that the technical solution of the data management method and the technical solution of the data management system belong to the same concept, and details that are not described in detail in the technical solution of the data management method can be referred to the description of the technical solution of the data management system.
Fig. 7 is a processing flow chart of a data management method applied to game score ranking according to an embodiment of the present specification, which may specifically include the following steps:
step 702: the three game servers of the whole district server are all in communication connection with the ranking list server, and send database identifications to the ranking list server.
Step 704: the ranking list server periodically determines the ranking list type of the ranking list to be generated, and determines two data types of a single ranking victory field and a single ranking negative field based on the ranking list type.
Step 706: the ranking list server obtains the single-ranking winning number and the single-ranking negative number of each player from the database indicated by the database identification.
Step 708: the ranking list server ranks the players in the order of the number of the single ranking success fields from the largest number to obtain a first ranking result, if the first ranking result comprises the players with the same ranking, step 710 is executed, and if not, step 712 is executed.
Step 710: and the ranking list server ranks the players with the same ranking according to the sequence of the single ranking negative times from less to more, so as to obtain the ranking sequence of each player.
Step 712: the ranking list server determines the ranking sequence of each player based on the first ranking result, and ranks the single-ranking winning field times and the single-ranking negative field times of each player according to the ranking sequence of each player to obtain ranking list data.
Step 714: and the ranking list server ranks the single-ranking winning field times and the single-ranking negative field times of each player according to the ranking sequence of each player to obtain ranking list data.
Step 716: the ranking list server sends the ranking list data to the game server.
Step 718: the game server sends the ranking list data to the client.
Step 720: the client displays the ranking list data through the installed game software.
In the data management method provided by the specification, the ranking list server can acquire the game data of a plurality of players from the database corresponding to the game server without the need for the game server to synchronously change the game data, so that not only is the traffic occupation of the game server reduced, but also the burden of the game server is lightened, and the interaction between the ranking list server and the game server is reduced, so that the game server and the ranking list server are more independent, and the stability of the data management system is further improved. Moreover, after the ranking list server acquires the game data of the plurality of players, other operations are not needed, and the ranking can be directly performed based on the game data of the players, so that the operations of the ranking list server are reduced, the processing burden of the ranking list server is reduced, and the efficiency of generating the ranking list data is improved.
Corresponding to the above-mentioned data management method embodiment applied to the ranking list server, the present specification further provides an embodiment of a data management apparatus, and fig. 8 shows a schematic structural diagram of a data management apparatus provided in an embodiment of the present specification. As shown in fig. 8, the apparatus includes:
an obtaining module 802, configured to obtain game data of a plurality of players from a database corresponding to a game server;
a determination module 804 configured to determine leaderboard data based on the game data of the plurality of players and send the leaderboard data to the game server.
Optionally, the obtaining module 802 is further configured to:
and establishing communication connection with the game server, receiving the database identification sent by the game server, and acquiring the game data of the plurality of players from the database indicated by the database identification.
Alternatively, the first and second electrodes may be,
the ranking list server stores database identifications in advance, and obtains game data of a plurality of players from a database indicated by the database identifications.
Optionally, the obtaining module 802 is configured to:
periodically determining the ranking list type of the ranking list to be generated, and determining at least one data type based on the ranking list type;
game data of at least one data type for each player is retrieved from a database indicated by the database identification.
Optionally, the determining module 804 is configured to:
determining a ranking rule corresponding to the ranking list type;
according to the ranking rule, ranking the plurality of players based on the game data of at least one data type of the plurality of players, and determining ranking list data corresponding to the ranking list type;
correspondingly, the device further comprises:
the storage module is configured to store the ranking list data into the ranking list database if the additional attributes are configured for the ranking list corresponding to the ranking list data.
The data management device provided by the specification is applied to a ranking list server, and the ranking list server can acquire game data of a plurality of players from a database corresponding to a game server; ranking list data is determined based on the game data of the plurality of players and sent to the game server. In other words, in the scheme, the ranking list server can acquire the game data from the database corresponding to the game server, the game server is not required to acquire the game data, interaction between the ranking list server and the game server is reduced, the game server and the ranking list server are more independent, and the stability of the data management system is improved. Moreover, after the ranking list server acquires the game data of the plurality of players, other operations are not needed, and the ranking can be directly performed based on the game data of the players, so that the operations of the ranking list server are reduced, the processing burden of the ranking list server is reduced, and the efficiency of generating the ranking list data is improved.
The above is a schematic scheme of a data management apparatus of the present embodiment. It should be noted that the technical solution of the data management apparatus is the same as that of the data management method applied to the ranking list server, and for details that are not described in detail in the technical solution of the data management apparatus, reference may be made to the description of the technical solution of the data management method applied to the ranking list server.
Corresponding to the above-mentioned embodiment of the data management method applied to the game server, the present specification further provides an embodiment of a data management device, and fig. 9 shows a schematic structural diagram of another data management device provided in an embodiment of the present specification. As shown in fig. 9, the apparatus includes:
a receiving module 902 configured to receive leader board data from a leader board server, wherein the leader board data is determined by the leader board server based on game data of a plurality of players, and the game data of the plurality of players is obtained by the leader board server from a database corresponding to the game server.
Optionally, the apparatus further comprises:
a first sending module configured to send the leaderboard data to the plurality of players' clients.
Optionally, the apparatus further comprises:
the second sending module is configured to establish communication connection with the ranking list server and send the database identification to the ranking list server.
The data management device provided by the present specification is applied to a game server, and receives ranking list data from the ranking list server, wherein the ranking list data is determined by the ranking list server based on game data of a plurality of players, and the game data of the plurality of players is acquired by the ranking list server from a database corresponding to the game server; and sending the ranking list data to a client, wherein the client is the client of the plurality of players. In the scheme, the game server only needs to receive the ranking list data and send the ranking list data to the client, and does not need to synchronously change the game data to the ranking list server, so that occupation of memory and flow of the game server is reduced, burden of the game server is relieved, processing efficiency of the game server is improved, the ranking list server can automatically acquire the game data from a database corresponding to the game server and does not pass through the game server, interaction between the ranking list server and the game server is reduced, the game server and the ranking list server are enabled to be more independent, and stability of a data management system is improved.
The above is a schematic configuration of another data management apparatus of the present embodiment. It should be noted that the technical solution of the data management device is the same as that of the data management method applied to the game server, and details of the technical solution of the data management device, which are not described in detail, can be referred to the description of the technical solution of the data management method applied to the game server.
Fig. 10 shows a block diagram of a computing device 1000 provided according to an embodiment of the present description. The components of the computing device 1000 include, but are not limited to, memory 1010 and a processor 1020. The processor 1020 is coupled to the memory 1010 via a bus 1030 and the database 1050 is used to store data.
Computing device 1000 also includes access device 1040, access device 1040 enabling computing device 1000 to communicate via one or more networks 1060. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 1040 may include one or more of any type of network interface, e.g., a Network Interface Card (NIC), wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 1000 and other components not shown in FIG. 10 may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 10 is for purposes of example only and is not limiting as to the scope of the present description. Those skilled in the art may add or replace other components as desired.
Computing device 1000 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 1000 may also be a mobile or stationary server.
Wherein, the processor 1020 is configured to execute the following computer-executable instructions:
acquiring game data of a plurality of players from a database corresponding to a game server;
determining leaderboard data based on the game data of the plurality of players and sending the leaderboard data to the game server.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the data management method applied to the leader board server belong to the same concept, and details that are not described in detail in the technical solution of the computing device can be referred to the description of the technical solution of the data management method applied to the leader board server.
Alternatively, processor 1020 is configured to execute the following computer-executable instructions:
receiving leader board data from a leader board server, wherein the leader board data is determined by the leader board server based on game data of a plurality of players, and the game data of the plurality of players is acquired by the leader board server from a database corresponding to the game server.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the data management method applied to the game server belong to the same concept, and details that are not described in detail in the technical solution of the computing device can be referred to the description of the technical solution of the data management method applied to the game server.
An embodiment of the present specification also provides a computer readable storage medium storing computer instructions that, when executed by a processor, are operable to:
acquiring game data of a plurality of players from a database corresponding to a game server;
determining leaderboard data based on the game data of the plurality of players and sending the leaderboard data to the game server.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the data management method applied to the ranking list server belong to the same concept, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the data management method applied to the ranking list server.
Alternatively, computer instructions stored by a computer readable storage medium when executed by a processor are operable to:
receiving leader board data from a leader board server, wherein the leader board data is determined by the leader board server based on game data of a plurality of players, and the game data of the plurality of players is acquired by the leader board server from a database corresponding to the game server.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the data management method applied to the game server, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the data management method applied to the game server.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present disclosure is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present disclosure. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for this description.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the specification and its practical application, to thereby enable others skilled in the art to best understand the specification and its practical application. The specification is limited only by the claims and their full scope and equivalents.

Claims (15)

1. A data management system, characterized in that the data management system comprises a ranking list server and a game server;
the ranking list server is configured to acquire game data of a plurality of players from a database corresponding to the game server, determine ranking list data based on the game data of the plurality of players and send the ranking list data to the game server;
the game server is configured to receive the leaderboard data.
2. The data management system of claim 1, wherein the leaderboard server is further configured to:
establishing communication connection with the game server, receiving a database identifier sent by the game server, and acquiring game data of the plurality of players from a database indicated by the database identifier;
alternatively, the first and second electrodes may be,
the ranking list server is stored with database identifications in advance, and the game data of the players are acquired from the database indicated by the database identifications.
3. The data management system of claim 2, wherein the leaderboard server is further configured to:
periodically determining a ranking list type of a ranking list to be generated, and determining at least one data type based on the ranking list type;
obtaining game data of the at least one data type of each player from a database indicated by the database identification.
4. The data management system of claim 3, wherein the leaderboard server is further configured to:
determining a ranking rule corresponding to the ranking list type;
according to the ranking rule, ranking the players based on the game data of the at least one data type of the players, and determining ranking list data corresponding to the ranking list type.
5. The data management system of claim 3, wherein the leaderboard server is further configured to:
and if the additional attribute is configured aiming at the ranking list corresponding to the ranking list data, storing the ranking list data into a ranking list database.
6. A data management method is applied to a ranking list server and comprises the following steps:
acquiring game data of a plurality of players from a database corresponding to a game server;
determining leaderboard data based on the game data of the plurality of players and sending the leaderboard data to the game server.
7. The data management method of claim 6, wherein obtaining game data of a plurality of players from a database corresponding to the game server comprises:
establishing communication connection with the game server, receiving a database identifier sent by the game server, and acquiring game data of the plurality of players from a database indicated by the database identifier;
alternatively, the first and second electrodes may be,
the ranking list server is stored with database identifications in advance, and the game data of the players are acquired from the database indicated by the database identifications.
8. The data management method of claim 7, wherein obtaining the game data for the plurality of players from the database indicated by the database identification comprises:
periodically determining a ranking list type of a ranking list to be generated, and determining at least one data type based on the ranking list type;
obtaining game data of the at least one data type of each player from a database indicated by the database identification.
9. The data management method of claim 8, wherein determining leaderboard data based on the game data for the plurality of players comprises:
determining a ranking rule corresponding to the ranking list type;
according to the ranking rule, ranking the players based on the game data of the at least one data type of the players, and determining ranking list data corresponding to the ranking list type;
accordingly, after determining the leaderboard data based on the game data of the plurality of players, further comprising:
and if the additional attribute is configured aiming at the ranking list corresponding to the ranking list data, storing the ranking list data into a ranking list database.
10. A data management method is applied to a game server and comprises the following steps:
receiving leader board data from a leader board server, wherein the leader board data is determined by the leader board server based on game data of a plurality of players, and the game data of the plurality of players is acquired by the leader board server from a database corresponding to the game server.
11. The data management method recited in claim 10, prior to receiving the leaderboard data from the leaderboard server, further comprising:
and establishing communication connection with the ranking list server, and sending the database identification to the ranking list server.
12. A data management device applied to a ranking list server includes:
the acquisition module is configured to acquire game data of a plurality of players from a database corresponding to the game server;
a determination module configured to determine leaderboard data based on the game data of the plurality of players and send the leaderboard data to the game server.
13. A data management device, applied to a game server, includes:
the game processing device comprises a receiving module and a determining module, wherein the receiving module is configured to receive ranking board data from a ranking board server, the ranking board data is determined by the ranking board server based on game data of a plurality of players, and the game data of the plurality of players is acquired by the ranking board server from a database corresponding to the game server.
14. A computing device, comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions, and the processor is configured to execute the computer-executable instructions to implement the method of:
acquiring game data of a plurality of players from a database corresponding to a game server; determining leaderboard data based on the game data for the plurality of players and sending the leaderboard data to the game server;
alternatively, the first and second electrodes may be,
receiving leader board data from a leader board server, wherein the leader board data is determined by the leader board server based on game data of a plurality of players, and the game data of the plurality of players is acquired by the leader board server from a database corresponding to the game server.
15. A computer readable storage medium storing computer instructions which, when executed by a processor, carry out the steps of the data management method of any of claims 6 to 9 or any of claims 10 to 11.
CN202110753180.0A 2021-07-02 2021-07-02 Data management system, method and device Pending CN113440861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110753180.0A CN113440861A (en) 2021-07-02 2021-07-02 Data management system, method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110753180.0A CN113440861A (en) 2021-07-02 2021-07-02 Data management system, method and device

Publications (1)

Publication Number Publication Date
CN113440861A true CN113440861A (en) 2021-09-28

Family

ID=77814942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110753180.0A Pending CN113440861A (en) 2021-07-02 2021-07-02 Data management system, method and device

Country Status (1)

Country Link
CN (1) CN113440861A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115193026A (en) * 2022-09-16 2022-10-18 成都止观互娱科技有限公司 High-concurrency global uniform game server architecture and data access method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040095704A (en) * 2003-05-09 2004-11-15 마이크로소프트 코포레이션 Method and apparatus for associating data with online game ratings
CN101765447A (en) * 2007-06-22 2010-06-30 钓嵜要一 Match-up game system
CN107243156A (en) * 2017-06-30 2017-10-13 珠海金山网络游戏科技有限公司 A kind of large-scale distributed network game server system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040095704A (en) * 2003-05-09 2004-11-15 마이크로소프트 코포레이션 Method and apparatus for associating data with online game ratings
CN101765447A (en) * 2007-06-22 2010-06-30 钓嵜要一 Match-up game system
CN107243156A (en) * 2017-06-30 2017-10-13 珠海金山网络游戏科技有限公司 A kind of large-scale distributed network game server system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
武芳编著: "《空间数据库原理》", 31 May 2017 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115193026A (en) * 2022-09-16 2022-10-18 成都止观互娱科技有限公司 High-concurrency global uniform game server architecture and data access method

Similar Documents

Publication Publication Date Title
JP2019088464A (en) Game system, item presentation method, and program
JP2007505673A (en) Game system using network
JP2018114395A (en) Computer device, display control method, and display control program
US20070015582A1 (en) Character management system and service method thereof
CN111185014B (en) Object matching method, device and computer-readable storage medium
CN104769564A (en) Communication terminal, communication method, program, and communication system
CN102945309A (en) Implementing computer activity-based challenges
JP6974458B2 (en) Game server and method for generating context-aware game information
US20180085669A1 (en) Information processing system, server, storage medium storing information processing program, and information processing method
CN113050735B (en) Method and device for controlling wine cabinet and intelligent wine cabinet
CN103281346A (en) Disconnection reconnection method, network system and proxy server
CN113440861A (en) Data management system, method and device
JP4488181B2 (en) Community formation method and community formation system
CN112887299B (en) Online interaction method and device, electronic equipment and storage medium
US20210331075A1 (en) Non-transitory computer-readable medium and video game processing system
CN111054073B (en) Double-game role moving method and device
CN111111192B (en) Game character moving method and device
CN106657292B (en) Data processing method and device
KR101972888B1 (en) Service processing method, server and computer storage medium
CN113413586B (en) Virtual object transmission method, device, equipment and storage medium
CN110050473B (en) System and method for wireless device synchronization
CN110011901A (en) Search for the method, apparatus and storage medium of friend-making object
WO2023103571A1 (en) Game management method and apparatus, and device and computer-readable storage medium
CN107018166A (en) Service showing method and terminal
JP7403715B2 (en) Data processing methods, devices, equipment, storage media

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 519000 Room 102, 202, 302 and 402, No. 325, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province, Room 102 and 202, No. 327 and Room 302, No. 329

Applicant after: Zhuhai Jinshan Digital Network Technology Co.,Ltd.

Address before: 519000 Room 102, 202, 302 and 402, No. 325, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province, Room 102 and 202, No. 327 and Room 302, No. 329

Applicant before: ZHUHAI KINGSOFT ONLINE GAME TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210928