Data access method, apparatus and system

A data access and data technology, applied in the field of communication, can solve problems such as time extension and low data access efficiency, and achieve the effects of reducing time delay, ensuring update efficiency, and improving data access efficiency

Active Publication Date: 2015-12-09
XIAOMI INC
View PDF6 Cites 57 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problems of low data access efficiency and long time delay in related

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
  • Data access method, apparatus and system
  • Data access method, apparatus and system
  • Data access method, apparatus and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0270] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present disclosure, not all of them. . Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present disclosure.

[0271] See figure 1 , which shows a schematic diagram of the implementation environment involved in the data access method provided in some embodiments of the present disclosure. The implementation environment may include: a web server 110 , a lock server 120 , a cache server 130 and a database 140 .

[0272] Wherein, any server in the webpage server 110, the lock server 120 and the cache server 130 can be a server, or a server cluster comp...

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 disclosure relates to a data access method and apparatus and system, and belongs to the field of communication. The data access method comprises: receiving a data access request sent by a user device; according to the data access request, sending a cache access request to a cache server; receiving data information sent by the cache server, wherein the data information comprises first target data; detecting whether a storage time of the first target data is between a first time threshold and a second time threshold or not; if the first target data is between the first time threshold and the second time threshold, according to the data access request, acquiring second target data in a database; and sending the second target data to the cache server, wherein the cache server is for adopting the first target data stored in the second target data update cache server. According to the data access method provided by the invention, problems of relatively low efficiency and relatively long delay of the data access are solved; effects of improving the data access efficiency and reducing the access delay are realized; and the data access method is used for for the access of page data.

Description

technical field [0001] The present disclosure relates to the communication field, in particular to a data access method, device and system. Background technique [0002] When a large number of user devices access a website through multiple threads at the same time, a cache server is usually used to divide the pressure on the database, and the cache server stores part of the data in the database. However, the data in the cache server is usually set with an effective storage duration. When the storage duration of any data exceeds the effective storage duration, the data will be deleted by the cache server and become invalid data. When there is a lot of cached data, these cached data will be invalidated at the same time in another period of time. If multiple user devices access the data at the same time during the invalidation period, it will cause multiple threads to request the database at the same time, and the pressure on the database will suddenly increase. This phenomeno...

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
IPC IPC(8): G06F17/30
Inventor 沈建荣谭国斌窦锦帅
Owner XIAOMI INC
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