Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for caching map tiles

A technology of map tiles and maps, applied in the Internet field, can solve problems such as service performance degradation, memory load increase, and frequent exchange of tile caches.

Active Publication Date: 2020-04-28
方正国际软件(北京)有限公司 +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for caching map tiles, which are used to solve the problem of frequent swapping in and out of the tile cache when the FIFO strategy is used to manage the map tiles in the memory in the prior art, resulting in increased memory burden, The overall degradation of service performance

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 and device for caching map tiles
  • Method and device for caching map tiles
  • Method and device for caching map tiles

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] In order to solve the problem of frequent exchange of tile caches in and out of the tile cache when using the FIFO strategy to manage the map tiles in the memory in the prior art, thereby reducing the burden on the server memory and improving the overall service performance of the system, the embodiment of the present invention provides A map tile caching method and device are provided.

[0058] Preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0059] refer to figure 1 As shown, in the embodiment of the present invention, the specific process for implementing map tile caching is as follows:

[0060] Step 100: Receive the map request instruction sent by the client, and determine the corresponding map tile according to the map request instruction.

[0061] Considering that in the prior art, the local memory of the server is used for tile caching, the size of the memory directly limits the size...

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 present invention discloses a map tile caching method and apparatus. The method comprises: receiving a map request instruction sent from a client, and determining a corresponding map tile according to the map request instruction; determining a storage node of the map tile according to a level and row / column number information of the map tile; determining whether the level of the map tile is less than a set threshold; if yes, storing the map tile into a first region of the storage node; and if not, storing the map tile into a second region of the storage node, and managing data in a subsequent process according to a set period. According to the method provided by the present invention, different memory management policies are applied to different regions, and map tiles in frequently accessed regions are cached all the time, thereby avoiding frequent exchange and in / out of map tiles, and improving processing performance of a system.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for caching map tiles. Background technique [0002] The so-called map caching technology is to cut the pre-generated map into map tiles (map slices) of certain specifications according to certain mathematical rules, and save them to the map server. When users access the map service through the client, the server directly Returns the corresponding map tile cache data without real-time rendering. Therefore, map caching technology is an effective way to achieve fast access and concurrent access to map services. Through map caching technology, the server can return pre-generated map tiles according to user requests, thereby reducing the burden on the server, speeding up the display of maps and improving maps. Browsing speed purposes. [0003] At present, the map caching technology is mainly based on the local memory of the server for map caching, and adopt...

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 Patents(China)
IPC IPC(8): G06F16/29G06F12/08G06T1/60
Inventor 王生李欣刘泓李强刘立国祁明亮
Owner 方正国际软件(北京)有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More