CN107800742A - A kind of game data stores cache method - Google Patents
A kind of game data stores cache method Download PDFInfo
- Publication number
- CN107800742A CN107800742A CN201610803768.1A CN201610803768A CN107800742A CN 107800742 A CN107800742 A CN 107800742A CN 201610803768 A CN201610803768 A CN 201610803768A CN 107800742 A CN107800742 A CN 107800742A
- Authority
- CN
- China
- Prior art keywords
- data
- game
- server
- game data
- cache
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/35—Details of game servers
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features 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/50—Features 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/53—Features 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of game data to store cache method, it is characterised in that comprises the following steps:Game data cache server passes through pre-cache base game data when starting;After client enters game, game server asks game data to game data cache server, wherein game data is stored in cache server by sparse, distributed various dimensions Map, so, game data cache server checks that game data whether there is by Map, if data are not in the caching server, then read from database, read backward game server Resume Mission data, if data are in the caching server, directly to game server Resume Mission data;Game server receives the game data returned by the caching server.By the method for the present invention, data cache server can reduce read-write database number, fully improve the response time of player requests.
Description
Technical field
The present invention relates to a kind of game data to store caching scheme.
Background technology
Internet high speed development now, MMORPG game are constantly penetrated into the life of people.With player group
Body, game scale go from strength to strength, concentration, the data that server will be caused to need data volume to be processed constantly to increase, access
The problems such as storehouse response deteriorates, game delay.
The content of the invention
To meet MMORPG game server quick response game player's demand datas, high-performance data caching server skill
Art is arisen at the historic moment.Data cache server can reduce read-write database number, fully improve the response of player requests
Time.Turn into game data focus instead of database at a slow speed.
The present invention is by providing a kind of high-performance data caching solution, for caching player's data of game, so as to
Mitigate database loads.And then improve game data actuating speed.
The present invention provides a kind of game data storage cache method, it is characterised in that comprises the following steps:(1) swim
Play data high-speed caching server passes through pre-cache base game data when starting;(2) after client enters game, game services
Device to game data cache server ask game data, wherein game data in cache server by sparse
, distributed various dimensions Map storage, so, game data cache server checks whether game data is deposited by Map
If data are read not in the caching server from database, backward game server Resume Mission number is being read
According to, if data in the caching server, directly to game server Resume Mission data;(3) game server receives
The game data returned by the caching server.
When preferably, if desired for game data is preserved, game server push needs the game data that preserves to number of playing
Preserved according to cache server.
Preferably, according to temperature algorithm pre-cache base game data when game data cache server starts, only
Can possess all basic datas by carrying out a database read operation, and no longer read when high concurrent is asked data and
Only returned by data buffer storage.
Preferably, game data cache server is arranged based on temperature algorithm to game data, ensures game
Hot spot data hit rate.
Preferably, there is an independent perdurable data processing unit in game data cache server, ensure data
Caching separates with persistence operation.
Brief description of the drawings
Fig. 1 is the schematic diagram of game data high-performance caching solution method.
Embodiment
The detailed content of this programme is related to client, game server and game data cache server, such as Fig. 1
It is shown.
By pre-cache base game data when game data cache server starts, so by counting only once
According to storehouse read operation, you can possess all basic datas.Client initially enters game, to game data cache server
Ask game data., can and game data is stored in cache server by sparse, distributed various dimensions Map
Realize data fast positioning.So, game data cache server checks that game data whether there is by Map, if
Data in the caching server, are not then read from database, read backward game server Resume Mission data, if number
According in the caching server, then directly to game server Resume Mission data.Then, game server is received by the caching
The game data that server returns.So, pre-cache base game data are passed through when game data cache server starts
A database read operation, which can only be carried out, can possess all basic datas.Data are no longer read when high concurrent is asked and
Only returned by data buffer storage.
Below, then respectively game server and game data cache server are specifically described.
1st, game server
In the present invention, after player enters game server, game server please to game data cache server
Seek game data.
After game data cache server returned data, game server receives the game data of player requests.
Protected in addition, game server also pushes the game data for needing to preserve to game data cache server
Deposit.
2nd, game data cache server
In the present invention, by pre-cache base game data when game data cache server starts, so pass through
Database read operation only once, you can possess all basic datas.Game data is in cache server by dilute
Thin, distributed various dimensions Map storages, can be achieved data fast positioning.So, game data cache server passes through
Map checks that game data whether there is, if data are read not in the caching server from database, reads backward
Game server Resume Mission data, if data in the caching server, directly to game server Resume Mission number
According to.So, a data can only be carried out by pre-cache base game data when game data cache server starts
Storehouse read operation can possess all basic datas.No longer data are read when high concurrent is asked and are only returned by data buffer storage
Return.
Temperature detection ensures hot spot data hit rate.Game data is arranged based on temperature algorithm, ensures game heat
Point data hit rate.Automatic detection is carried out according to game data temperature, improves data cached hit rate.
There is an independent perdurable data processing unit in game data cache server, ensure data buffer storage with holding
Longization operation separation.
In the case of without departing from the spirit or scope of the present invention, can to the present invention player method carry out it is various modification and
Modification, this is apparent to those skilled in the art.Therefore, appended claims and its equivalent embodiments are fallen into
In the range of these modifications and variations of the invention it is all within the scope of the present invention.
Claims (5)
1. a kind of game data stores cache method, it is characterised in that comprises the following steps:
(1) pre-cache base game data are passed through when game data cache server starts;
(2) after client enters game, game server asks game data, its middle reaches to game data cache server
Data of playing are stored in cache server by sparse, distributed various dimensions Map, and so, game data is slow at a high speed
Deposit server and check that game data whether there is by Map, if data are read not in the caching server from database
Take, read backward game server Resume Mission data, if data in the caching server, directly to game server
Resume Mission data;
(3) game server receives the game data returned by the caching server.
2. the method as described in claim 1, further, during if desired for preserving game data, game server push needs
The game data of preservation is preserved to game data cache server.
3. method as claimed in claim 1 or 2, further, according to temperature when game data cache server starts
It algorithm pre-cache base game data, only can possess all basic datas by carrying out a database read operation, and work as
High concurrent no longer reads data and only returned by data buffer storage when asking.
4. method as claimed in claim 3, further, game data cache server are based on temperature algorithm to game
Data are arranged, and ensure game hot spot data hit rate.
5. method as claimed in claim 3, further, there is an independent persistence in game data cache server
Data processing unit, ensure that data buffer storage separates with persistence operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610803768.1A CN107800742B (en) | 2016-09-06 | 2016-09-06 | Game data storage caching method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610803768.1A CN107800742B (en) | 2016-09-06 | 2016-09-06 | Game data storage caching method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107800742A true CN107800742A (en) | 2018-03-13 |
CN107800742B CN107800742B (en) | 2021-12-24 |
Family
ID=61529858
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610803768.1A Active CN107800742B (en) | 2016-09-06 | 2016-09-06 | Game data storage caching method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107800742B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112546620A (en) * | 2019-09-26 | 2021-03-26 | 伊姆西Ip控股有限责任公司 | Method, apparatus and computer program product for game control |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023863A (en) * | 2011-09-27 | 2013-04-03 | 广州明朝网络科技有限公司 | Server cluster and server system |
CN104683485A (en) * | 2015-03-25 | 2015-06-03 | 重庆邮电大学 | C-RAN based internet content caching and preloading method and system |
CN105045789A (en) * | 2015-02-15 | 2015-11-11 | 北京乐动卓越信息技术有限公司 | Game server database buffer memory method and system |
-
2016
- 2016-09-06 CN CN201610803768.1A patent/CN107800742B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023863A (en) * | 2011-09-27 | 2013-04-03 | 广州明朝网络科技有限公司 | Server cluster and server system |
CN105045789A (en) * | 2015-02-15 | 2015-11-11 | 北京乐动卓越信息技术有限公司 | Game server database buffer memory method and system |
CN104683485A (en) * | 2015-03-25 | 2015-06-03 | 重庆邮电大学 | C-RAN based internet content caching and preloading method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112546620A (en) * | 2019-09-26 | 2021-03-26 | 伊姆西Ip控股有限责任公司 | Method, apparatus and computer program product for game control |
Also Published As
Publication number | Publication date |
---|---|
CN107800742B (en) | 2021-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103927265B (en) | A kind of content classification storage device, content acquisition method and content acquisition unit | |
US11722539B2 (en) | System and method for client-initiated playlist shuffle in a media content environment | |
US9358466B2 (en) | Cache-influenced video games | |
US9937414B2 (en) | Methods and apparatus for remote updates | |
Prondzinsky et al. | Intra-aortic balloon counterpulsation in patients with acute myocardial infarction complicated by cardiogenic shock: the prospective, randomized IABP SHOCK Trial for attenuation of multiorgan dysfunction syndrome | |
KR20100092590A (en) | Storage system using high speed storage divece as cache | |
US9021201B2 (en) | Demoting partial tracks from a first cache to a second cache | |
US9141525B2 (en) | Adaptive prestaging in a storage controller | |
US9973453B2 (en) | Method and system for playing multimedia files | |
US20130253675A1 (en) | Load balancing for game | |
CN103383666B (en) | Improve method and system and the cache access method of cache prefetching data locality | |
CN106528451B (en) | The cloud storage frame and construction method prefetched for the L2 cache of small documents | |
WO2021162935A1 (en) | Dynamically predicting shot type using a personalized deep neural network | |
CN104598270A (en) | Method and device for loading resources in multiplayer online game | |
CN103744800B (en) | Caching method and device towards replay mechanism | |
CN107800742A (en) | A kind of game data stores cache method | |
CN106557431B (en) | Pre-reading method and device for multi-path sequential stream | |
CN105847365A (en) | Content caching method and content caching system | |
CN101840310B (en) | Data read-write method and disk array system using same | |
US11561796B2 (en) | Linked miss-to-miss instruction prefetcher | |
CN102164309A (en) | Program processing method, system and device | |
Takagi et al. | Meta-analysis of impact of liver disease on mortality after transcatheter aortic valve implantation | |
US20120062563A1 (en) | Pre-providing and pre-receiving multimedia primitives | |
CN103365897A (en) | Fragment caching method supporting Bigtable data model | |
CN114868116A (en) | Buffer arbitration |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |