A game lottery drawing method and device of a distributed server structure

A distributed server and game technology, applied in the game field, can solve the problems of I/O bottleneck, multi-loading time, consumption, etc., to achieve the effect of ensuring consistency, reducing load, and high stability

Active Publication Date: 2019-04-09
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Then draw a lottery through a random algorithm, but due to the complex server structure, the registration communication, notification broadcast, etc. of this game are also more complicated
[0007] Based on the above analysis, it can be seen that the first game server structure is relatively outdated, and although the processing method is simple, it is not suitable for the development of the current game server.
The second and third are the processing schemes of the current game server. However, in the above schemes, the system disaster recovery capability needs to be considered. In the case of a large amount of data, it is easy to cause I / O bottlenecks. At the same time, when the server starts, it also needs to consume more load time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A game lottery drawing method and device of a distributed server structure
  • A game lottery drawing method and device of a distributed server structure
  • A game lottery drawing method and device of a distributed server structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] refer to figure 1 , which shows a flow chart of the steps of an embodiment of a game lottery drawing method with a distributed server structure of the present invention, which may specifically include the following steps:

[0075] Step 101, obtain the identification information of the registered player through the game process;

[0076] For online games, they can be seen as a combination of servers that provide multiple game-specific functions. Therefore, online games can divide the services of these specific game functions in a certain way, so as to distribute the load to independent servers. For example, a general online game includes the service of naming the user's role, the service of managing the user's role account, and the service of the game itself (such as the service of managing the virtual items and props obtained in the game, the service of operating the specified user role to play the game, and matching other users game-playing services, etc.). Through ...

Embodiment 2

[0139] refer to figure 2 , which shows a flow diagram of an embodiment of a game lottery drawing method with a distributed server structure of the present invention, which may specifically include the following steps:

[0140] Step 201, obtain the identification information of the registered player through the game process;

[0141] There are multiple game processes running in the distributed server, and the player data of registered players stored in the database is obtained through the game process, including obtaining the player ID, the logo of the player's lobby, the player's name, the player's avatar, and the player's avatar frame, so as to obtain the player's ID.

[0142] Step 202: The game process selects a selected player from the registered players according to the identification information, and acquires the player data of the selected player;

[0143] The game process in the server can select a certain number of players from all registered players according to th...

Embodiment 3

[0183] refer to Figure 6 , which shows a structural block diagram of a game lottery device embodiment of a distributed server structure of the present invention, which may specifically include the following modules:

[0184] The player information obtaining module 601 is used to obtain the identification information of the registered player through the game process;

[0185] The selected player selection module 602 is used for the game process to select a selected player from the registered players according to the identification information, and obtain the player data of the selected player;

[0186] A player data sorting module 603, configured to write the player data of the selected player into the Redis database through the game process, and sort the player data of the selected player according to preset sorting rules;

[0187] The winning player selection module 604 is configured to sequentially select the player data of the winning player from the Redis database by the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a game lottery drawing method and device under a distributed server structure. The distributed server runs a plurality of game processes; The game process canbe directly connected with a Redis database through a network. the distributed server obtains the identification information of the registered player through the game process; the player is registeredaccording to the identification information of the registered player; s player data of the selected players is acquired; player data of the selected players is written into a Redis database through agame process; the player data of the selected players is sorted according to a preset sorting rule; player data of a selected player is sequentially selected from the Redis database by the game process as player data of a winning player; Under the condition that a large number of players are subjected to lottery drawing, the computing pressure of the server is dispersed through staged random lottery drawing, the parameters are configurable, and the performance of the server cannot be influenced along with the increase of the number of the users.

Description

technical field [0001] The invention relates to the technical field of games, in particular to a game lottery drawing method and device with a distributed server structure. Background technique [0002] Massive Multiplayer Online Role-Playing Game (MMORPG), MMORPG is divided into two parts: client and server. Players connect through the Internet from the client, and only after logging in to the server can they play the game. Player data is stored on the server side. In the process of game operation, when encountering some major node activities, such as New Year and anniversary celebrations, online game operators will hold some activities with low threshold for players to participate and high reward value - such as free lottery for all servers, you can Energize the atmosphere, impact the number of online users, and create marketing topics. Most of the games operated online have the demand for this kind of full-server lottery. [0003] At this stage, there are three main w...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06Q30/02
CPCG06Q30/0209
Inventor 宋浪
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products