Data access method and equipment

A data access and data technology, applied in the Internet field, can solve problems such as large network bandwidth overhead, and achieve the effects of reducing network bandwidth overhead, increasing probability, and ensuring consistency

Active Publication Date: 2015-11-25
ADVANCED NEW TECH CO LTD
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the above method needs to carry all the data of a certain user in the asynchronous message, and all the data of the user is usually relatively large (for example, the maximum size of all data may be several megabytes), so when sending all the data of a certain user When asynchronous messages are sent, it will bring a lot of network bandwidth overhead

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 and equipment
  • Data access method and equipment
  • Data access method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] In view of the problems existing in the prior art, Embodiment 1 of the present application provides a data access method, which is applied to a network including multiple IDCs. The network may be a distributed network, and each IDC includes a cache cluster and a database. Both cache clusters and databases are used to store user data. by figure 2 It is a schematic diagram of the application scenario of the embodiment of this application. IDC1 can be deployed in Beijing, IDC2 can be deployed in Shanghai, and IDC3 can be deployed in Guangzhou. IDC1 includes cache cluster 1 and database 1, and IDC2 includes cache cluster 2 and database 2. IDC3 It includes cache cluster 3 and database 3. When the user equipment accesses the IDC, based on the location of the user equipment, the server may allocate the access request of the user equipment to IDC1, IDC2, or IDC3. For example, when user equipment 1 visits IDC in Beijing, the server can assign the access request of user equipm...

Embodiment 2

[0061] Based on the same application concept as the above method, the embodiment of the present application provides an IDC, which is applied to a network including multiple IDCs, and each IDC includes a cache cluster and a database, such as Figure 4 As shown, the IDC specifically includes: a storage module 11 configured to record the information between the user identifier and the data version information in the cache cluster when receiving a message carrying the user identifier and data version information from other IDCs. Correspondence; the query module 12 is configured to query the first data version information corresponding to the user ID in the local cache cluster when receiving a data query request message for querying the user data corresponding to the user ID, and query the corresponding The second data version information corresponding to the user identification in the local database; the update module 13 is used for when the first data version information is the s...

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 data access method and equipment. The method comprises: when receiving a data query request message, an IDC queries first data version information corresponding to a user identifier in a local cache cluster and queries second data version information corresponding to the user identifier in a local database; if the first data version information is the same as the second data version information, or the second data version information is newer than the first data version information, the IDC updates user data corresponding to the user identifier in the local cache cluster via the user data corresponding to the user identifier in the local database; and the IDC queries the user data corresponding to the user identifier in the local cache cluster and returns a data query response message carrying the user data corresponding to the user identifier. The data access method in the embodiments of the invention can be used for reducing the network bandwidth cost and guaranteeing the uniformity of the user data obtained by the user, so as to greatly improve the probability of the user for querying the latest user data.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a data access method and device. Background technique [0002] With the development of business, IDC (Internet Data Center, Internet Data Center) is usually deployed in different locations, such as figure 1 As shown, it is a network schematic diagram of deploying IDC1, IDC2, and IDC3 in different locations, such as: IDC1 is deployed in Beijing, IDC2 is deployed in Shanghai, and IDC3 is deployed in Guangzhou. In order to avoid network consumption across IDC access, each IDC includes a cache cluster, and the cache cluster is used to store user data. Based on this, when a user visits IDC1, IDC1 will query the local cache cluster 1, and provide user data to the user based on the user data in the cache cluster 1; when the user visits IDC2, IDC2 will query the local cache cluster 2, and Provide user data to users based on the user data in the cache cluster 2; when the ...

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/30
Inventor 童寅刘浩
Owner ADVANCED NEW TECH 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