Method for reading data based on data cache technology

A technology for reading data and data caching, applied in the field of database caching, it can solve the problems of large resource waste, economic burden, and long waiting time on the client side, and achieve the effect of reducing database load, balancing use, and improving user experience.

Active Publication Date: 2012-09-12
BEIJING PIXEL SOFTWARE TECH
View PDF11 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When a large number of players flood into the server, the reading efficiency of the database still cannot meet the needs of the players, making the players wait for a long time when logging in
[0005] Although upgrading the hardware can significantly improve the above problems, the high-performance hardware upgrade brings a large waste of resources and economic burden to the client.

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
  • Method for reading data based on data cache technology
  • Method for reading data based on data cache technology
  • Method for reading data based on data cache technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to describe the technical content, achieved objectives and effects of the present invention in detail, the following will be described in detail in conjunction with the implementation methods and accompanying drawings.

[0032] figure 1 It is a flowchart of a method for reading data based on the data caching technology in an embodiment of the present invention. The specific method includes the following steps:

[0033] S1: Setting a data buffer in the server memory, the data buffer is used to temporarily store user characteristic data read from the database; the user characteristic data is composed of characteristic data in the database that the user requests to access.

[0034] In a massively multiplayer online role-playing game (MMORPG), players can create their own characters, which have different appearances, attributes, and unique props from others. The content depends on independent data belonging to each character, usually The character data is stored ...

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 invention discloses a method for reading data based on a data cache technology. According to the method, by adopting an internal memory cache mechanism, user characteristic data corresponding users in a cache region are divided into different active levels according to vitality values, a chain table corresponding to each active level is established, a header of each chain table is marked, and the header of the chain table with the low active level points to the tail of the chain table with the relatively high active level, so that when data is read by many users, the user characteristic data to be accessed can be searched through the header of the chain table with the marked header, the data is read from an internal memory in a point-to-point manner, the consumption of loading the data from a database is reduced, the data loading speed is improved, the load of the database is lowered, and the user experience is promoted; meanwhile, a load of an input / output (IO) port is reduced by unoccupied internal memory, and the use of server hardware resources is balanced.

Description

technical field [0001] The invention relates to database cache technology, in particular to a method for reading data based on the data cache technology. Background technique [0002] In the network, WEB applications use the memory object cache system as the buffer of the database (DB), load data into the memory, and change the slow database (DB) access into faster memory access to improve performance. [0003] After the online game is launched, there is often a large number of players flooding the server during prime time, and the database is overwhelmed, causing players to wait for a long time or frequently disconnect when logging in, which affects the user experience. Taking Massive Multiplayer Online Role-Playing Game (MMORPG) as an example for illustration, MMORPG is divided into two parts: client and server. Players connect through the Internet from the client and log in to the server before they can play the game. Player data is stored on the server side. After pla...

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): G06F17/30H04L29/08
CPCY02D30/50
Inventor 张昊阳
Owner BEIJING PIXEL SOFTWARE TECH
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