CN104573083B - A kind of cache map services automatic update method - Google Patents

A kind of cache map services automatic update method Download PDF

Info

Publication number
CN104573083B
CN104573083B CN201510043109.8A CN201510043109A CN104573083B CN 104573083 B CN104573083 B CN 104573083B CN 201510043109 A CN201510043109 A CN 201510043109A CN 104573083 B CN104573083 B CN 104573083B
Authority
CN
China
Prior art keywords
update
map
data
new
scheme
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.)
Active
Application number
CN201510043109.8A
Other languages
Chinese (zh)
Other versions
CN104573083A (en
Inventor
李三玉
邹晶
范翼
陈俊伟
张业鑫
李建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hubei Kingtopware Information Technology Co Ltd
Original Assignee
Hubei Kingtopware Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hubei Kingtopware Information Technology Co Ltd filed Critical Hubei Kingtopware Information Technology Co Ltd
Priority to CN201510043109.8A priority Critical patent/CN104573083B/en
Publication of CN104573083A publication Critical patent/CN104573083A/en
Application granted granted Critical
Publication of CN104573083B publication Critical patent/CN104573083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files

Abstract

The invention discloses a kind of cache map to service automatic update method, including:Set Map Services to automatically update mark, manage identification information, record corresponding service information;Define map rejuvenation flow;Build the more new range and Update Level of this buffer update in cache map more new task;Judge whether map starts caching and automatically update;Build cache map update scheme template;Build cache map more new tool;Buffer update template is read out using buffer update instrument, forms new buffering scheme;After updating the data renewal and completing, the more new range and Update Level that have obtained, it is added to caching task state in cache map more new tool, the execution of triggering cache map renewal.Beneficial effects of the present invention:Buffer update scheme is stored in a manner of template, is easy to the secondary modification of user;Cache map update mode is automatic triggering, is not required to manual intervention, improves buffer update efficiency.

Description

A kind of cache map services automatic update method
Technical field
The present invention relates to cache map technical field, and automatic update method is serviced in particular to a kind of cache map.
Background technology
With the development of network technology, GIS-Geographic Information System (WebGIS) application in network environment is more and more extensive, all Google Maps, MapBar maps in such as daily life all affect the life of the public extensively.With conventional traditional WebGIS Unlike mode, these Modern Maps are no longer dynamically generated map picture in client, and (i.e. client often produces once new Such map requests, server are just needed to regenerate map picture and sent to client), but employ cache map server System.After GoogleMap releases Tile Map Image (tile type map) mode, this cache map service mechanism becomes To improve the key technology of map application systematic function.In cache map technology, network transport cost and data stock substitute valency Always influence the principal element of system effectiveness.Jpeg format with its superpower compressed capability and brilliance image quality, It is widely used in cache map service mechanism.
In the past because data renewal is slow, the renewal of cache map data is also very slow, so as to cause cache map renewal always Along implementation by hand.Now, as the high development of economic society, people become more next to the demand data quickly updated It is more urgent, and it is this big bottleneck is just become by the cache map update mode realized by hand, and be badly in need of being broken through.Example Such as:MapGIS buffer update mode, the buffer update of global map can only be realized and the scope that data update can not be carried out Definition (uses 1:500 engineer's scales, the more New Testament of city's DBMS need the time);ArcGIS buffer update mode, Ke Yishi Current situation portion cache map renewal, but need manually to be defined more new range and rank, this quality to operating personnel also carry Higher requirement is gone out.
The update mode of buffer service and the realization principle of renewal according to the map, updated from data renewal to service, manually Operation realizes that step is as follows:
Obtain the scope of data renewal;
Search and update the data corresponding service to be updated;
It is artificial to choose the service for needing to update, more new range and Update Level are set in buffer update scheme;
External offer service is be provided.
4 steps for more than, there are some manufacturers to provide the buffer service of subrange and update and other Manufacturer then can not;When setting body of a map or chart, set scope just not as using the automatic computer capacity of computer using manual type Accurately;When servicing associated data, manual operation also easily malfunctions.
Based on above reason, increasing domestic manufacturers come to realise the importance that caching automatically updates service, portion Point domestic manufacturers have begun to set about studying buffer service automatically updating function, but are limited by conventional data renewal and data The medelling of handling process, there is also certain limitation for the flow of its automatic buffer update.And foreign vendor, it is more flat Platform provider, its foothold are still placed on foreign countries, are not fully recognized that the strong actual demand of Chinese market, still using artificial side Formula carries out cache map renewal.
The content of the invention
To solve the above problems, it is an object of the invention to provide a kind of cache map update method cached automatically.
The invention provides a kind of cache map to service automatic update method, it is characterised in that comprises the following steps:
Step 1, Map Services are set when Map Services are issued automatically updates mark, and mark is automatically updated described in management Identification information, corresponding information on services is recorded in the identification information;
Step 2, the flow of map rejuvenation, including three steps are defined,
Step 201, definition checks out scheme:It is each that to check out scheme be exactly a more new task, it is described check out it is fixed in scheme Justice needs the figure layer checked out;
Step 202, scheme checks out:Setting checks out scope, and the data in the range of described check out are checked out into temporary library, The data of the temporary library add for modifying and updating in outer operating personnel to the data in the range of described check out Lock;
Step 203, scheme checks in:Scheme is checked out described in selection and needs the data checked in, compares the data of the check-in With original data, while data to the check-in and original data set mapping relations, by the number of the check-in In the figure layer for needing to check according to being entered into;
Step 3, checked according to topology, judge the data of the check-in and the situation of change of the initial data, obtain ground Figure more new range, update the data, build the more new range and Update Level of this buffer update in cache map more new task;
Step 4, service according to the map and whether the more new range for automatically updating mark and acquisition, institute are set State Update Level and judge whether map starts caching and automatically update, if then carrying out step 5, it is automatic more otherwise not start caching Newly;
Step 5, step is carried out if issued cache map service excessively or configured default scheme template excessively 6, otherwise build cache map update scheme template;
Step 6, cache map more new tool is built;
Step 7, the buffer update plan template, and more new range described in setting are read using the buffer update instrument And the Update Level, form new buffering scheme;
Step 8, it is described update the data renewal complete after, the more new range obtained and the regeneration class Not, it is added in a manner of caching task in the cache map more new tool, triggers the execution of the cache map renewal.
As further improvement of the invention, the content that task is cached described in step 8 is stored with database.
As further improvement of the invention, the cache map more new tool is monitored the database.
Beneficial effects of the present invention are:
1st, the templating of buffer update scheme:The update scheme of caching is stored in a manner of template, is easy to user Second revision.If different services uses identical update scheme, stored template is directly used.
2nd, cache map service automatically updates triggering:The mode of cache map renewal is changed into certainly by conventional artificial triggering Dynamic triggering so that the renewal of cache map service and data renewal are harmonious, are not required to manual intervention.Data more new range obtains Take, and specified level renewal is calculated the scope updated every time and the rank of renewal by program automatically so that what is updated every time is interior Appearance becomes more accurate, so as to significantly solve the time of buffer update, improves the efficiency of buffer update.
Brief description of the drawings
Fig. 1 is a kind of flow chart of cache map service automatic update method described in the embodiment of the present invention.
Embodiment
The present invention is described in further detail below by specific embodiment and with reference to accompanying drawing.
As shown in figure 1, a kind of cache map service automatic update method described in the embodiment of the present invention, this method include:
Step 1, Map Services are set when Map Services are issued automatically updates mark, and mark is automatically updated described in management Identification information, corresponding information on services is recorded in the identification information;
Step 2, the flow of map rejuvenation, including three steps are defined,
Step 201, definition checks out scheme:It is each that to check out scheme be exactly a more new task, it is described check out it is fixed in scheme Justice needs the figure layer checked out;
Step 202, scheme checks out:Setting checks out scope, and the data in the range of described check out are checked out into temporary library, The data of the temporary library add for modifying and updating in outer operating personnel to the data in the range of described check out Lock;
Step 203, scheme checks in:Scheme is checked out described in selection and needs the data checked in, compares the data of the check-in With original data, while data to the check-in and original data set mapping relations, by the number of the check-in In the figure layer for needing to check according to being entered into;
Step 3, checked according to topology, judge the data of the check-in and the situation of change of the initial data, obtain ground Figure more new range, update the data, build the more new range and Update Level of this buffer update in cache map more new task;
Step 4, service according to the map and whether the more new range for automatically updating mark and acquisition, institute are set State Update Level and judge whether map starts caching and automatically update, if then carrying out step 5, it is automatic more otherwise not start caching Newly;
Step 5, step is carried out if issued cache map service excessively or configured default scheme template excessively 6, otherwise build cache map update scheme template;
Step 6, cache map more new tool is built;
Step 7, the buffer update plan template, and more new range described in setting are read using the buffer update instrument And the Update Level, form new buffering scheme;
Step 8, it is described update the data renewal complete after, the more new range obtained and the regeneration class Not, it is added in a manner of caching task in the cache map more new tool, triggers the execution of the cache map renewal.
Further, the content that task is cached described in step 8 is stored with database.
Further, the cache map more new tool is monitored the database.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (2)

1. a kind of cache map services automatic update method, it is characterised in that comprises the following steps:
Step 1, the mark for automatically updating mark, mark being automatically updated described in management of Map Services is set when Map Services are issued Know information, corresponding information on services is recorded in the identification information;
Step 2, the flow of map rejuvenation, including three steps are defined,
Step 201, definition checks out scheme:It is exactly a more new task each to check out scheme, is needed in described check out defined in scheme The figure layer to be checked out;
Step 202, scheme checks out:Setting checks out scope, and the data in the range of described check out are checked out into temporary library, described The data of temporary library lock for modifying and updating in outer operating personnel to the data in the range of described check out;
Step 203, scheme checks in:Scheme is checked out described in selection and needs the data checked in, compares the data and original of the check-in Some data, while the data to the check-in and original data setting mapping relations, the data of the check-in are recorded Enter into the figure layer for needing to check in;
Step 3, checked according to topology, judge the data of the check-in and the situation of change of original data, obtain map More new range, update the data, build the more new range and Update Level of this buffer update in cache map more new task;
Step 4, service according to the map whether set it is described automatically update mark and the more new range obtained, it is described more New rank judges whether map starts caching and automatically update, if then carrying out step 5, does not otherwise start caching and automatically updates;
Step 5, step 6 is carried out if issued cache map service excessively or configured default scheme template excessively, it is no Then build cache map update scheme template;
Step 6, cache map more new tool is built;
Step 7, read the buffer update plan template using the buffer update instrument, and more new range described in setting and The Update Level, form new buffering scheme;
Step 8, it is described update the data renewal complete after, the more new range obtained and the Update Level, It is added in a manner of caching task in the cache map more new tool, triggers the execution of the cache map renewal.
A kind of 2. cache map service automatic update method according to claim 1, it is characterised in that
The content that task is cached described in step 8 is stored with database.
CN201510043109.8A 2015-01-28 2015-01-28 A kind of cache map services automatic update method Active CN104573083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510043109.8A CN104573083B (en) 2015-01-28 2015-01-28 A kind of cache map services automatic update method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510043109.8A CN104573083B (en) 2015-01-28 2015-01-28 A kind of cache map services automatic update method

Publications (2)

Publication Number Publication Date
CN104573083A CN104573083A (en) 2015-04-29
CN104573083B true CN104573083B (en) 2017-12-08

Family

ID=53089145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510043109.8A Active CN104573083B (en) 2015-01-28 2015-01-28 A kind of cache map services automatic update method

Country Status (1)

Country Link
CN (1) CN104573083B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105719289B (en) * 2016-01-20 2019-01-04 荆州市华孚信息技术有限公司 A kind of rock core digitalized network publication application method
CN109387208B (en) * 2018-11-13 2021-03-19 百度在线网络技术(北京)有限公司 Map data processing method, device, equipment and medium
CN109981740A (en) * 2019-02-25 2019-07-05 湖北金拓维信息技术有限公司 A kind of distribution image data multi-level buffer method
CN110275931B (en) * 2019-06-17 2020-06-26 北京讯腾智慧科技股份有限公司 Automatic publishing method and system for management information service of management network
CN111028931B (en) * 2019-12-11 2023-08-22 医渡云(北京)技术有限公司 Medical data processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894167A (en) * 2010-07-26 2010-11-24 武汉大学 User event model-driven network map service method
CN102999573A (en) * 2012-11-09 2013-03-27 中国铁道科学研究院电子计算技术研究所 Cache updating method for stripped GIS (Geographic Information System) map elements
CN103425754A (en) * 2013-07-24 2013-12-04 浙江大学 Tile-type map service caching real-time dynamic update method applicable to on-line edit of user

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9451041B2 (en) * 2013-07-09 2016-09-20 Google Inc. Caching geographic data according to server-specified policy

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894167A (en) * 2010-07-26 2010-11-24 武汉大学 User event model-driven network map service method
CN102999573A (en) * 2012-11-09 2013-03-27 中国铁道科学研究院电子计算技术研究所 Cache updating method for stripped GIS (Geographic Information System) map elements
CN103425754A (en) * 2013-07-24 2013-12-04 浙江大学 Tile-type map service caching real-time dynamic update method applicable to on-line edit of user

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"ArcGISServer中地图瓦片实时在线局部更新方法研究";郭明武;《测绘通报》;20121231;全文 *
"基于Flex的WebGIS在电力信息化中的应用与研究";赵靖荣;《中国优秀硕士学位论文全文数据库 基础科学辑》;20111215;全文 *
"适用于可编辑WebGIS的动态缓存策略";黄祥志 等;《计算机工程》;20110331;第37卷(第5期);全文 *

Also Published As

Publication number Publication date
CN104573083A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104573083B (en) A kind of cache map services automatic update method
CN110268394A (en) KVS tree
CN110147411A (en) Method of data synchronization, device, computer equipment and storage medium
CN110291518A (en) Merge tree garbage index
CN110268399A (en) Merging tree for attended operation is modified
CN107943557A (en) A kind of magnetic disk of virtual machine incremental snapshot method based on cloud platform
CN103914564A (en) Method and system for updating and warehousing urban pipelines on basis of ArcGIS (geographic information system)
JP2009217455A (en) Information processor, information processing program, and method
CN104429048A (en) Object version management
KR20120034383A (en) Automatic map update system and method thereof
KR20170016168A (en) Tile-based map data updating system and method thereof
KR100858157B1 (en) System and merhod for map uapdate, storage medium recording that method program, user termianl
CN114595972A (en) Smart city management method applying virtual digital people
CN104486393A (en) Resource configuration and recycling method and resource configuration and recycling system
EP2400446A1 (en) Equipment managing apparatus, equipment managing method, and equipment managing system
JP2011248852A (en) System cooperation apparatus
CN106789236A (en) A kind of method of the FOTA remote onlines upgrading of fusion WiFiP2P
JP3660326B2 (en) Digital map information providing method, digital map information providing system
KR101304856B1 (en) A method and system for managing spatial data to enhance a speed of digital map service
CN106487567A (en) A kind of managed element model management method and device
CN115686497A (en) Business development data management method, development engine, electronic device, and storage medium
CN109189304A (en) A kind of map edit method and device
CN108628862A (en) database addressing method, device and system
KR20220010294A (en) Rule-based OPC UA Node Generation System and Method
CN112434650A (en) Multi-spectral image building change detection method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant