CN103677930B - Based on GIS data loading method and the device of spelling wall system - Google Patents

Based on GIS data loading method and the device of spelling wall system Download PDF

Info

Publication number
CN103677930B
CN103677930B CN201310705945.9A CN201310705945A CN103677930B CN 103677930 B CN103677930 B CN 103677930B CN 201310705945 A CN201310705945 A CN 201310705945A CN 103677930 B CN103677930 B CN 103677930B
Authority
CN
China
Prior art keywords
gis data
node machine
data
gis
node
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.)
Expired - Fee Related
Application number
CN201310705945.9A
Other languages
Chinese (zh)
Other versions
CN103677930A (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.)
Vtron Group Co Ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201310705945.9A priority Critical patent/CN103677930B/en
Publication of CN103677930A publication Critical patent/CN103677930A/en
Application granted granted Critical
Publication of CN103677930B publication Critical patent/CN103677930B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种基于拼墙系统的GIS数据加载方法及装置,所述方法包括步骤:根据预设的节点机数量计算各节点机的分布式缓存参数,其中所述分布式缓存参数包含请求的GIS数据的单元数量及各单元的数据范围;根据相应的分布式缓存参数将所述GIS数据加载到各节点机的内存并进行压缩,在GIS数据加载过程中实时调整节点机的分布式缓存参数;若各节点机完成加载所述GIS数据的任一单元,读取并显示相应GIS数据。上述基于拼墙系统的GIS数据加载方法及装置,通过在GIS数据加载过程中实时调整分布式缓存参数实现了GIS数据的均衡快速加载。

A GIS data loading method and device based on a spelling wall system, the method includes the steps of: calculating the distributed cache parameters of each node machine according to the preset number of node machines, wherein the distributed cache parameters include the requested GIS data The number of units and the data range of each unit; according to the corresponding distributed cache parameters, the GIS data is loaded into the internal memory of each node machine and compressed, and the distributed cache parameters of the node machines are adjusted in real time during the GIS data loading process; if each The node machine finishes loading any unit of the GIS data, reads and displays the corresponding GIS data. The above-mentioned GIS data loading method and device based on the spelling wall system realizes balanced and fast loading of GIS data by adjusting distributed cache parameters in real time during the GIS data loading process.

Description

基于拼墙系统的GIS数据加载方法及装置GIS data loading method and device based on spelling wall system

技术领域technical field

本发明涉及信息传输技术,特别是涉及一种基于拼墙系统的GIS数据加载方法及装置。The invention relates to information transmission technology, in particular to a GIS data loading method and device based on a video wall system.

背景技术Background technique

GIS(Geographic Information System,地理信息系统)是一种特定的十分重要的空间信息系统。它是在计算机硬、软件系统支持下,对整个或部分地球表层(包括大气层)空间中的有关地理分布数据进行采集、储存、管理、运算、分析、显示和描述的技术系统。GIS (Geographic Information System, geographic information system) is a specific and very important spatial information system. It is a technical system that collects, stores, manages, calculates, analyzes, displays and describes the relevant geographical distribution data in the entire or part of the earth's surface (including the atmosphere) space with the support of computer hardware and software systems.

各种资料具有GIS的分层属性,都可以采用GIS数据模型将数据划分为矢量数据、栅格数据、三维Grid(栅格)或TIN(三角形格网)、多媒体图片视频和文档。传统的GIS数据加载方法有本地缓存、多线程多任务等。例如将GIS数据加载到本地服务器,手动配置所述GIS数据的资源脚本,客户端应用程序读取所述资源脚本进行GIS数据加载。虽然这些技术在一定程度上提升了GIS数据加载性能,但仍旧存在不足之处,例如多线程加载过程中负载不一定均衡;在GIS数据量过大时,本地缓存大量的IO(Input/output,输入/输出)读取容易导致GIS数据加载速度比较慢等。All kinds of data have the hierarchical attributes of GIS, and the GIS data model can be used to divide the data into vector data, raster data, three-dimensional Grid (grid) or TIN (triangular grid), multimedia pictures, videos and documents. Traditional GIS data loading methods include local cache, multi-thread and multi-task, etc. For example, the GIS data is loaded to the local server, the resource script of the GIS data is manually configured, and the client application program reads the resource script to load the GIS data. Although these technologies have improved the performance of GIS data loading to a certain extent, there are still deficiencies. For example, the load may not be balanced during multi-threaded loading; when the amount of GIS data is too large, a large amount of IO (Input/output, Input/output) reading can easily lead to slow loading of GIS data, etc.

发明内容Contents of the invention

基于此,有必要针对上述问题,提供一种基于拼墙系统的GIS数据加载方法及装置,使在占用较少硬件资源的情况下满足大数据量GIS数据快速实时均衡加载及显示,实现GIS地图的动态漫游。Based on this, it is necessary to address the above problems and provide a GIS data loading method and device based on the video wall system, so that it can meet the fast real-time balanced loading and display of large data volume GIS data under the condition of occupying less hardware resources, and realize the GIS map. dynamic roaming.

一种基于拼墙系统的GIS数据加载方法,包括步骤:A method for loading GIS data based on the spelling wall system, comprising steps:

根据预设的节点机数量计算各节点机的分布式缓存参数,其中所述分布式缓存参数包含请求的GIS数据的单元数量及各单元的数据范围;Calculate the distributed cache parameters of each node machine according to the preset number of node machines, wherein the distributed cache parameters include the number of units of the requested GIS data and the data range of each unit;

根据相应的分布式缓存参数将所述GIS数据加载到各节点机的内存并进行压缩,在GIS数据加载过程中实时调整节点机的分布式缓存参数;According to the corresponding distributed cache parameters, the GIS data is loaded into the memory of each node machine and compressed, and the distributed cache parameters of the node machines are adjusted in real time during the GIS data loading process;

若各节点机完成加载所述GIS数据的任一单元,读取并显示相应GIS数据。If each node machine finishes loading any unit of the GIS data, read and display the corresponding GIS data.

一种基于拼墙系统的GIS数据加载装置,包括:A GIS data loading device based on the spelling wall system, comprising:

分布式服务器,用于根据预设的节点机数量计算各节点机的分布式缓存参数和在GIS数据加载过程中实时调整节点机的分布式缓存参数,其中所述分布式缓存参数包含请求的GIS数据的单元数量及各单元的数据范围;The distributed server is used to calculate the distributed cache parameters of each node machine according to the preset number of node machines and adjust the distributed cache parameters of the node machines in real time during the GIS data loading process, wherein the distributed cache parameters include the requested GIS The number of data units and the data range of each unit;

与所述分布式服务器连接的各节点机,用于根据相应的分布式缓存参数将所述GIS数据加载到各节点机的内存并进行压缩;Each node machine connected to the distributed server is used to load the GIS data into the memory of each node machine according to the corresponding distributed cache parameters and compress it;

与所述分布式服务器连接的各客户端,用于当各节点机完成加载所述GIS数据的任一单元时,用于读取并显示相应GIS数据。Each client connected to the distributed server is used for reading and displaying corresponding GIS data when each node machine finishes loading any unit of the GIS data.

上述基于拼墙系统的GIS数据加载方法及装置,通过实时调整分布式缓存参数实现GIS数据的均衡快速加载;当任一单元的GIS数据加载完成时,读取和实时显示相应GIS数据,保证了显示的速度;由于拼墙系统的节点机分布式加载GIS数据,并提供GIS数据给客户端,所以可以支持多个客户端对GIS数据进行读取和显示。The above-mentioned GIS data loading method and device based on the spelling wall system realizes the balanced and fast loading of GIS data by adjusting the distributed cache parameters in real time; when the GIS data loading of any unit is completed, the corresponding GIS data is read and displayed in real time, ensuring The speed of display; because the node machines of the video wall system load GIS data distributedly and provide GIS data to the client, it can support multiple clients to read and display the GIS data.

附图说明Description of drawings

图1为本发明方法实施例的流程示意图;Fig. 1 is the schematic flow sheet of the method embodiment of the present invention;

图2为本发明方法实时调整节点机分布式缓存参数实施例的流程示意图;Fig. 2 is a schematic flow diagram of an embodiment of real-time adjustment of node machine distributed cache parameters by the method of the present invention;

图3为本发明装置实施例的结构示意图。Fig. 3 is a schematic structural diagram of an embodiment of the device of the present invention.

具体实施方式detailed description

下面结合附图对本发明基于拼墙系统的GIS数据加载方法的具体实施方式做详细描述。The specific implementation of the method for loading GIS data based on the video wall system of the present invention will be described in detail below in conjunction with the accompanying drawings.

如图1所示,一种基于拼墙系统的GIS数据加载方法,包括步骤:As shown in Figure 1, a GIS data loading method based on the video wall system includes steps:

S110、根据预设的节点机数量计算各节点机的分布式缓存参数,其中所述分布式缓存参数包含请求的GIS数据的单元数量及各单元的数据范围;S110. Calculate the distributed cache parameters of each node machine according to the preset number of node machines, wherein the distributed cache parameters include the number of units of the requested GIS data and the data range of each unit;

S120、根据相应的分布式缓存参数将所述GIS数据加载到各节点机的内存并进行压缩,在GIS数据加载过程中实时调整节点机的分布式缓存参数;S120. Load the GIS data into the memory of each node machine and compress it according to the corresponding distributed cache parameters, and adjust the distributed cache parameters of the node machines in real time during the GIS data loading process;

S130、若各节点机完成加载所述GIS数据的任一单元,读取并显示相应GIS数据。S130. If each node machine finishes loading any unit of the GIS data, read and display the corresponding GIS data.

步骤S110中预设的节点机数量为预设的参与GIS数据加载的节点机数量;所述单元的数据指的是可以独立组织显示的GIS数据,所述数据范围为GIS数据单元根据节点机数量等划分的数据区域,例如将请求的GIS数据分为若干个图层,每个图层的数据可以独自组织显示,将每个图层按照节点机数量等划分为若干个数据区域,在一个实施例中,各节点机可以网络连接,相互之间数据传输共享,每个节点机按照计算的图层数量及每个图层的相应数据区域加载GIS数据。The preset number of node machines in step S110 is the preset number of node machines participating in GIS data loading; the data of the unit refers to the GIS data that can be independently organized and displayed, and the data range is that the GIS data unit is based on the number of node machines Equally divided data areas, such as dividing the requested GIS data into several layers, the data of each layer can be organized and displayed independently, and dividing each layer into several data areas according to the number of node machines, etc., in one implementation In the example, each node machine can be connected to the network, and the data transmission and sharing between each other, each node machine loads GIS data according to the calculated number of layers and the corresponding data area of each layer.

步骤S130中各节点机完成加载所述GIS数据的任一单元指的是各节点机完成加载任意一个可以独立显示的GIS数据单元时,例如各节点机完成加载一个图层的数据时,就可以读取和显示所述加载完成的GIS数据,实现了GIS数据的实时显示。In step S130, when each node machine finishes loading any unit of the GIS data, it means that when each node machine finishes loading any GIS data unit that can be displayed independently, for example, when each node machine finishes loading the data of a layer, it can Reading and displaying the loaded GIS data realizes the real-time display of the GIS data.

步骤S120中在GIS数据加载过程中实时调整节点机的分布式缓存参数,可以根据各节点机的状态变化,例如内存变化等,实时调整节点机的分布式缓存参数,以保证节点机的GIS数据加载达到最佳性能,快速对请求的GIS数据进行加载。对加载到内存的GIS数据进行压缩,可以节省数据占用空间,使其存储更多的GIS数据。实时调整节点机的分布式缓存参数使其达到最佳性能有多种实施方式,例如,如图2所示,在一个实施例中,S120中在GIS数据加载过程中实时调整节点机分布式缓存参数的步骤可以包括:In step S120, the distributed cache parameters of the node machines are adjusted in real time during the GIS data loading process, and the distributed cache parameters of the node machines can be adjusted in real time according to the state changes of each node machine, such as memory changes, so as to ensure that the GIS data of the node machines Loading achieves the best performance and quickly loads the requested GIS data. Compressing the GIS data loaded into the memory can save the space occupied by the data and make it store more GIS data. There are many ways to adjust the distributed cache parameters of the node machine in real time to achieve the best performance. For example, as shown in Figure 2, in one embodiment, in S120, the distributed cache of the node machine is adjusted in real time during the GIS data loading process. Parameter steps can include:

S121、监测各节点机的GIS数据加载速率,根据GIS数据加载速率实时调整相应节点机的分布式缓存参数;例如,若节点机加载速率较快,则调整分布式缓存参数使其加载较多的GIS数据;若节点机加载速率较慢,则调整分布式缓存参数使其加载较少的GIS数据;若节点机加载速率为0,例如出现故障,则加入新的节点机替代所述节点机,同时将所述节点机的分布式缓存参数调整为新的节点机的分布式缓存参数等;S121, monitor the GIS data loading rate of each node machine, adjust the distributed cache parameters of corresponding node machines in real time according to the GIS data loading rate; for example, if the node machine loading rate is faster, then adjust the distributed cache parameters to load more GIS data; if the loading rate of the node machine is slow, adjust the distributed cache parameters to make it load less GIS data; if the loading rate of the node machine is 0, for example, a failure occurs, then add a new node machine to replace the node machine, At the same time, the distributed cache parameters of the node machine are adjusted to the distributed cache parameters of the new node machine, etc.;

S122、监测各节点机的空闲状态,若节点机为空闲状态,适时调整相应的分布式缓存参数使所述节点机加载GIS数据,以协助其他节点机完成请求的GIS数据的加载,保证节点机的GIS数据加载达到最佳性能;或将所述节点机保存的GIS数据序列化,保存成本地数据,方便以后GIS数据加载的需求;其中将空闲节点机保存的GIS数据序列化发生在其加载新的GIS数据之后,即如果不需要空闲的节点机加载新的GIS数据,则将所述节点机保存的GIS数据序列化;S122. Monitor the idle state of each node machine. If the node machine is in an idle state, adjust the corresponding distributed cache parameters in a timely manner so that the node machine loads GIS data to assist other node machines to complete the loading of the requested GIS data, ensuring that the node machine The GIS data loading of the idle node machine achieves the best performance; or the GIS data saved by the node machine is serialized and saved as local data, which is convenient for the requirement of GIS data loading in the future; wherein the serialization of the GIS data saved by the idle node machine occurs in its loading After the new GIS data, that is, if idle node machines are not required to load new GIS data, then the GIS data stored by the node machines are serialized;

S123、监测各节点机的内存,若节点机内存消耗较大,增加新的节点机并实时调整相应的分布式缓存参数,或对所述节点机内存的GIS数据进行IO写,例如写入文件系统等,以释放内存空间,防止生产大于消费而出现节点机崩溃现象。S123, monitor the memory of each node machine, if the memory consumption of the node machine is large, add a new node machine and adjust the corresponding distributed cache parameters in real time, or perform IO writing to the GIS data in the memory of the node machine, such as writing to a file system, etc., to free up memory space and prevent node machines from crashing due to production exceeding consumption.

当各节点机加载完一个单元时,需要实时通知请求GIS数据的客户端进行所述单元的读取和显示,所述客户端可以通过注册回调GIS数据完成回调机制,即如果有更新的单元GIS数据,就对所述客户端回调,通知所述客户端进行实时读取。例如,在一个实施例中,步骤S110之前,还可以包括步骤:接收GIS数据加载请求,并根据所述请求动态生成GIS数据配置表;When each node machine has loaded a unit, it is necessary to notify the client requesting GIS data in real time to read and display the unit, and the client can complete the callback mechanism by registering the callback GIS data, that is, if there is an updated unit GIS data, call back to the client to notify the client to read in real time. For example, in one embodiment, before step S110, the step may further include: receiving a GIS data loading request, and dynamically generating a GIS data configuration table according to the request;

若各节点机完成加载所述GIS数据的任一单元,所述GIS数据配置表更新,检索更新的所述GIS数据配置表,读取并显示相应GIS数据,实现了GIS数据的实时动态更新,本发明以网格形式检索更新的所述GIS数据配置表。If each node machine finishes loading any unit of the GIS data, the GIS data configuration table is updated, the updated GIS data configuration table is retrieved, the corresponding GIS data is read and displayed, and the real-time dynamic update of the GIS data is realized. The present invention retrieves the updated GIS data configuration table in grid form.

在一个实施例中,所述GIS数据加载请求包括增加GIS数据单元请求、增加GIS数据单元的部分区域数据请求的任意一种或两种。例如,请求读取若干图层的GIS数据,或请求读取各图层当前窗口区域的GIS数据,或请求读取鼠标等输入设备选取区域的GIS数据,或通过输入设备操作相机和LOD(Levels ofDetails)请求GIS数据等等。In one embodiment, the GIS data loading request includes any one or both of a request for adding a GIS data unit and a request for adding partial area data of a GIS data unit. For example, request to read the GIS data of several layers, or request to read the GIS data of the current window area of each layer, or request to read the GIS data of the area selected by the mouse and other input devices, or operate the camera and LOD (Levels ofDetails) request GIS data and so on.

在一个实施例中,若GIS数据是矢量数据,可以采用有损压缩和取整方法对加载到内存的GIS数据进行压缩。从节点机内存读取的时候需要进行解压缩。其中有损压缩利用人类对图像或声波中的某些频率成分不敏感的特性,允许压缩过程中损失一定的信息,虽然不能完全恢复原始数据,但是所损失的部分对理解原始图像的影响缩小,却换来了大得多的压缩比。有损压缩和取整方法可以通过现有技术中已知的方式获得。对所述GIS数据进行压缩即为对线实体和面实体的GIS矢量坐标数据进行压缩。In one embodiment, if the GIS data is vector data, lossy compression and rounding methods can be used to compress the GIS data loaded into memory. Decompression is required when reading from the memory of the node machine. Among them, lossy compression utilizes the insensitivity of human beings to certain frequency components in images or sound waves, allowing certain information to be lost during the compression process. Although the original data cannot be completely restored, the lost part has less impact on understanding the original image. But in exchange for a much larger compression ratio. Lossy compression and rounding methods can be obtained by means known in the art. Compressing the GIS data is to compress the GIS vector coordinate data of the line entity and the surface entity.

基于同一发明构思,本发明还提供了一种基于拼墙系统的GIS数据加载装置,下面结合附图对本发明装置的具体实施方式做详细描述。Based on the same inventive concept, the present invention also provides a GIS data loading device based on the video wall system. The specific implementation of the device of the present invention will be described in detail below in conjunction with the accompanying drawings.

如图3所示,一种基于拼墙系统的GIS数据加载装置,包括:As shown in Figure 3, a GIS data loading device based on the video wall system includes:

分布式服务器100,用于根据预设的节点机数量计算各节点机200的分布式缓存参数和在GIS数据加载过程中实时调整节点机200的分布式缓存参数,其中所述分布式缓存参数包含请求的GIS数据的单元数量及各单元的数据范围;The distributed server 100 is used to calculate the distributed cache parameters of each node machine 200 according to the preset number of node machines and adjust the distributed cache parameters of the node machines 200 in real time during the GIS data loading process, wherein the distributed cache parameters include The number of units of GIS data requested and the data range of each unit;

与所述分布式服务器连接的各节点机200,用于根据相应的分布式缓存参数将所述GIS数据加载到各节点机200的内存并进行压缩;Each node machine 200 connected with the distributed server is used to load the GIS data into the internal memory of each node machine 200 and compress it according to the corresponding distributed cache parameters;

与所述分布式服务器100连接的各客户端300,用于当各节点机200完成加载所述GIS数据的任一单元时,用于读取并显示相应GIS数据。Each client 300 connected to the distributed server 100 is used for reading and displaying corresponding GIS data when each node machine 200 finishes loading any unit of the GIS data.

所述分布式服务器100实时调整节点机的分布式缓存参数使其达到最佳性能有多种实施方式,例如,在一个实施例中,所述分布式服务器100在GIS数据加载过程中实时调整节点机分布式缓存参数的步骤可以包括:The distributed server 100 adjusts the distributed cache parameters of the node machines in real time to achieve the best performance. The steps for determining machine distributed cache parameters may include:

监测各节点机的GIS数据加载速率,根据GIS数据加载速率实时调整相应节点机的分布式缓存参数;例如,若节点机加载速率较快,则调整分布式缓存参数使其加载较多的GIS数据;若节点机加载速率较慢,则调整分布式缓存参数使其加载较少的GIS数据;若节点机加载速率为0,例如出现故障,则加入新的节点机替代所述节点机,同时将所述节点机的分布式缓存参数调整为新的节点机的分布式缓存参数等;Monitor the GIS data loading rate of each node machine, and adjust the distributed cache parameters of the corresponding node machine in real time according to the GIS data loading rate; for example, if the node machine loads faster, adjust the distributed cache parameters to load more GIS data ; If the loading rate of the node machine is slow, adjust the distributed cache parameters to make it load less GIS data; if the loading rate of the node machine is 0, for example, a failure occurs, then add a new node machine to replace the node machine The distributed cache parameters of the node machine are adjusted to the distributed cache parameters of the new node machine, etc.;

监测各节点机的空闲状态,若节点机为空闲状态,适时调整相应的分布式缓存参数使所述节点机加载GIS数据,以协助其他节点机完成请求的GIS数据的加载,保证节点机的GIS数据加载达到最佳性能;或将所述节点机保存的GIS数据序列化,保存成本地数据,方便以后GIS数据加载的需求;其中将空闲节点机保存的GIS数据序列化发生在其加载新的GIS数据之后,即如果不需要空闲的节点机加载新的GIS数据,则将所述节点机保存的GIS数据序列化;Monitor the idle state of each node machine. If the node machine is in an idle state, adjust the corresponding distributed cache parameters in time to enable the node machine to load GIS data to assist other node machines to complete the loading of the requested GIS data and ensure the GIS data of the node machine. Data loading to achieve the best performance; or serialize the GIS data saved by the node machine, save the local data, and facilitate the needs of GIS data loading in the future; wherein the serialization of the GIS data saved by the idle node machine occurs when it loads a new After the GIS data, that is, if the idle node machine is not required to load new GIS data, then the GIS data stored by the node machine is serialized;

监测各节点机的内存,若节点机内存消耗较大,增加新的节点机并实时调整相应的分布式缓存参数,或对所述节点机内存的GIS数据进行IO写,释放内存空间,防止生产大于消费而出现节点机崩溃现象。Monitor the memory of each node machine. If the memory consumption of the node machine is large, add a new node machine and adjust the corresponding distributed cache parameters in real time, or write IO to the GIS data in the node machine memory to release the memory space and prevent production If it is greater than the consumption, the node machine crashes.

在一个实施例中,所述分布式服务器100还用于接收GIS数据加载请求,并根据所述请求动态生成GIS数据配置表;In one embodiment, the distributed server 100 is further configured to receive a GIS data loading request, and dynamically generate a GIS data configuration table according to the request;

若各节点机完成加载所述GIS数据的任一单元,所述GIS数据配置表更新,检索更新的所述GIS数据配置表,读取并显示相应GIS数据,实现了GIS数据的实时动态更新,本发明以网格形式检索更新的所述GIS数据配置表。If each node machine finishes loading any unit of the GIS data, the GIS data configuration table is updated, the updated GIS data configuration table is retrieved, the corresponding GIS data is read and displayed, and the real-time dynamic update of the GIS data is realized. The present invention retrieves the updated GIS data configuration table in grid form.

在一个实施例中,所述GIS数据加载请求包括增加GIS数据单元请求、增加GIS数据单元的部分区域数据请求的任意一种或两种。例如,请求读取若干图层的GIS数据,或请求读取各图层当前窗口区域的GIS数据,或请求读取鼠标等输入设备选取区域的GIS数据,或通过输入设备操作相机和LOD(Levels ofDetails)请求GIS数据等等。In one embodiment, the GIS data loading request includes any one or both of a request for adding a GIS data unit and a request for adding partial area data of a GIS data unit. For example, request to read the GIS data of several layers, or request to read the GIS data of the current window area of each layer, or request to read the GIS data of the area selected by the mouse and other input devices, or operate the camera and LOD (Levels ofDetails) request GIS data and so on.

在一个实施例中,若GIS数据是矢量数据,节点机200可以采用有损压缩和取整方法对加载到内存的GIS数据进行压缩。从节点机200内存读取的时候需要进行解压缩。有损压缩和取整方法可以通过现有技术中已知的方式获得。In one embodiment, if the GIS data is vector data, the node machine 200 can compress the GIS data loaded into the memory by using lossy compression and rounding methods. When reading from the memory of the node machine 200, it needs to be decompressed. Lossy compression and rounding methods can be obtained by means known in the art.

为了更清晰地理解本发明装置的具体实施方式,下面结合一个具体实施例做详细描述。In order to understand the specific implementation of the device of the present invention more clearly, a detailed description will be made below in conjunction with a specific embodiment.

客户端300请求加载图层5和图层6的GIS数据;The client 300 requests to load the GIS data of layer 5 and layer 6;

分布式服务器100根据客户端300的请求动态生成GIS数据配置表,并根据预设的节点机数量计算各节点机200的分布式缓存参数,其中各节点机网络连接,相互之间可以进行通讯;The distributed server 100 dynamically generates the GIS data configuration table according to the request of the client 300, and calculates the distributed cache parameters of each node machine 200 according to the preset number of node machines, wherein each node machine is connected to the network and can communicate with each other;

客户端300注册回调GIS数据完成回调机制;The client 300 registers and calls back the GIS data to complete the callback mechanism;

根据相应的分布式缓存参数,各节点机加载远程的GIS数据,并且在加载过程中,分布式服务器100实时调整各节点机的分布式缓存参数使其达到最佳性能;According to the corresponding distributed cache parameters, each node machine loads remote GIS data, and during the loading process, the distributed server 100 adjusts the distributed cache parameters of each node machine in real time to achieve the best performance;

若各节点机200完成加载一个图层,例如图层5,所述配置表更新,分布式服务器100根据所述配置表的状态对客户端300回调;If each node machine 200 finishes loading a layer, such as layer 5, the configuration table is updated, and the distributed server 100 calls back the client 300 according to the state of the configuration table;

客户端300检索GIS数据的配置表索引,从节点机内存直接读取完成的图层数据;The client 300 retrieves the configuration table index of the GIS data, and directly reads the completed layer data from the memory of the node machine;

客户端300对读取的图层数据流进行分析,实时显示所述图层数据流并可视化显示分析的结果。The client 300 analyzes the read layer data stream, displays the layer data stream in real time and visually displays the analysis result.

各节点机200每完成加载一个图层,客户端300就按照上述步骤读取和显示所述图层的数据流,直至请求加载的GIS数据全部显示。Every time each node machine 200 finishes loading a layer, the client 300 reads and displays the data stream of the layer according to the above steps until all the GIS data requested to be loaded are displayed.

本发明装置的其它技术特征与本发明方法相同,在此不予赘述。Other technical features of the device of the present invention are the same as those of the method of the present invention, and will not be repeated here.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present invention. It should be pointed out that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.

Claims (10)

1.一种基于拼墙系统的GIS数据加载方法,其特征在于,包括步骤:1. A GIS data loading method based on the spelling wall system, is characterized in that, comprises steps: 根据预设的节点机数量计算各节点机的分布式缓存参数,其中所述分布式缓存参数包含请求的GIS数据的单元数量及各单元的数据范围,所述单元为数据独立组织显示的单元,所述单元包括图层;Calculate the distributed cache parameters of each node machine according to the preset number of node machines, wherein the distributed cache parameters include the number of units of the requested GIS data and the data range of each unit, and the units are units that are independently organized and displayed by the data, the unit comprises a layer; 根据相应的分布式缓存参数将所述GIS数据加载到各节点机的内存并进行压缩,在GIS数据加载过程中实时调整节点机的分布式缓存参数;According to the corresponding distributed cache parameters, the GIS data is loaded into the memory of each node machine and compressed, and the distributed cache parameters of the node machines are adjusted in real time during the GIS data loading process; 若各节点机完成加载所述GIS数据的任一单元,读取并显示相应GIS数据。If each node machine finishes loading any unit of the GIS data, read and display the corresponding GIS data. 2.根据权利要求1所述的基于拼墙系统的GIS数据加载方法,其特征在于,在GIS数据加载过程中实时调整节点机分布式缓存参数的步骤包括:2. the GIS data loading method based on the spelling wall system according to claim 1, is characterized in that, in the GIS data loading process, the step of adjusting node machine distributed cache parameters in real time comprises: 监测各节点机的GIS数据加载速率,根据GIS数据加载速率实时调整相应节点机的分布式缓存参数;Monitor the GIS data loading rate of each node machine, and adjust the distributed cache parameters of the corresponding node machine in real time according to the GIS data loading rate; 监测各节点机的空闲状态,若节点机为空闲状态,适时调整相应的分布式缓存参数使所述节点机加载GIS数据或将所述节点机保存的GIS数据序列化;Monitoring the idle state of each node machine, if the node machine is in an idle state, timely adjust the corresponding distributed cache parameters to make the node machine load GIS data or serialize the GIS data stored by the node machine; 监测各节点机的内存,若节点机内存消耗较大,增加新的节点机并实时调整相应的分布式缓存参数或对所述节点机内存的GIS数据进行IO写。Monitor the memory of each node machine. If the memory consumption of the node machine is large, add a new node machine and adjust the corresponding distributed cache parameters in real time or perform IO writing to the GIS data in the memory of the node machine. 3.根据权利要求1所述的基于拼墙系统的GIS数据加载方法,其特征在于,根据预设的节点机数量计算各节点机的分布式缓存参数的步骤之前,还包括步骤:接收GIS数据加载请求,并根据所述请求动态生成GIS数据配置表;3. The GIS data loading method based on the spelling wall system according to claim 1, characterized in that, before the step of calculating the distributed cache parameters of each node machine according to the preset number of node machines, it also includes the step of: receiving GIS data load the request, and dynamically generate a GIS data configuration table according to the request; 若各节点机完成加载所述GIS数据的任一单元,所述GIS数据配置表更新,检索更新的所述GIS数据配置表,读取并显示相应GIS数据。If each node machine finishes loading any unit of the GIS data, the GIS data configuration table is updated, the updated GIS data configuration table is retrieved, and the corresponding GIS data is read and displayed. 4.根据权利要求3所述的基于拼墙系统的GIS数据加载方法,其特征在于,所述GIS数据加载请求包括增加GIS数据单元请求、增加GIS数据单元的部分区域数据请求的任意一种或两种。4. The GIS data loading method based on the spelling wall system according to claim 3, wherein the GIS data loading request comprises any one of increasing a GIS data unit request, increasing a partial area data request of a GIS data unit or two kinds. 5.根据权利要求1至4任意一项所述的基于拼墙系统的GIS数据加载方法,其特征在于,若GIS数据是矢量数据,采用有损压缩和取整方法对加载到内存的GIS数据进行压缩。5. according to the GIS data loading method based on the spelling wall system described in any one of claims 1 to 4, it is characterized in that, if the GIS data is vector data, adopt lossy compression and rounding method to load the GIS data in memory to compress. 6.一种基于拼墙系统的GIS数据加载装置,其特征在于,包括:6. A GIS data loading device based on the spelling wall system, characterized in that it comprises: 分布式服务器,用于根据预设的节点机数量计算各节点机的分布式缓存参数和在GIS数据加载过程中实时调整节点机的分布式缓存参数,其中所述分布式缓存参数包含请求的GIS数据的单元数量及各单元的数据范围,所述单元为数据独立组织显示的单元,所述单元包括图层;The distributed server is used to calculate the distributed cache parameters of each node machine according to the preset number of node machines and adjust the distributed cache parameters of the node machines in real time during the GIS data loading process, wherein the distributed cache parameters include the requested GIS The number of data units and the data range of each unit, the unit is a unit that is independently organized and displayed by the data, and the unit includes a layer; 与所述分布式服务器连接的各节点机,用于根据相应的分布式缓存参数将所述GIS数据加载到各节点机的内存并进行压缩;Each node machine connected to the distributed server is used to load the GIS data into the memory of each node machine according to the corresponding distributed cache parameters and compress it; 与所述分布式服务器连接的各客户端,用于当各节点机完成加载所述GIS数据的任一单元时,读取并显示相应GIS数据。Each client connected to the distributed server is used to read and display the corresponding GIS data when each node machine finishes loading any unit of the GIS data. 7.根据权利要求6所述的基于拼墙系统的GIS数据加载装置,其特征在于,所述分布式服务器在GIS数据加载过程中实时调整节点机的分布式缓存参数包括:7. The GIS data loading device based on the spelling wall system according to claim 6, wherein the distributed cache parameters of the real-time adjustment node machine by the distributed server in the GIS data loading process include: 监测各节点机的GIS数据加载速率,根据GIS数据加载速率实时调整相应节点机的分布式缓存参数;Monitor the GIS data loading rate of each node machine, and adjust the distributed cache parameters of the corresponding node machine in real time according to the GIS data loading rate; 监测各节点机的空闲状态,若节点机为空闲状态,适时调整相应的分布式缓存参数使所述节点机加载GIS数据或将所述节点机保存的GIS数据序列化;Monitoring the idle state of each node machine, if the node machine is in an idle state, timely adjust the corresponding distributed cache parameters to make the node machine load GIS data or serialize the GIS data stored by the node machine; 监测各节点机的内存,若节点机内存消耗较大,增加新的节点机并实时调整相应的分布式缓存参数或对所述节点机内存的GIS数据进行IO写。Monitor the memory of each node machine. If the memory consumption of the node machine is large, add a new node machine and adjust the corresponding distributed cache parameters in real time or perform IO writing to the GIS data in the memory of the node machine. 8.根据权利要求6所述的基于拼墙系统的GIS数据加载装置,其特征在于,所述分布式服务器还用于接收客户端的GIS数据加载请求,并根据所述请求动态生成GIS数据配置表;8. The GIS data loading device based on the spelling wall system according to claim 6, wherein the distributed server is also used to receive the GIS data loading request of the client, and dynamically generate the GIS data configuration table according to the request ; 若各节点机完成加载所述GIS数据的任一单元,所述分布式服务器更新所述GIS数据配置表,客户端检索更新的所述GIS数据配置表,读取并显示相应GIS数据。If each node machine finishes loading any unit of the GIS data, the distributed server updates the GIS data configuration table, and the client retrieves the updated GIS data configuration table, reads and displays the corresponding GIS data. 9.根据权利要求8所述的基于拼墙系统的GIS数据加载装置,其特征在于,所述GIS数据加载请求包括增加GIS数据单元请求、增加GIS数据单元的部分区域数据请求的任意一种或两种。9. The GIS data loading device based on the spelling wall system according to claim 8, wherein the GIS data loading request includes any one of increasing a GIS data unit request, increasing a partial area data request of a GIS data unit or two kinds. 10.根据权利要求6-9任意一项所述的基于拼墙系统的GIS数据加载装置,其特征在于,若GIS数据是矢量数据,节点机采用有损压缩和取整方法对加载到内存的GIS数据进行压缩。10. The GIS data loading device based on the spelling wall system according to any one of claims 6-9, wherein, if the GIS data is vector data, the node machine adopts lossy compression and rounding methods to load the data into memory Compress GIS data.
CN201310705945.9A 2013-12-19 2013-12-19 Based on GIS data loading method and the device of spelling wall system Expired - Fee Related CN103677930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310705945.9A CN103677930B (en) 2013-12-19 2013-12-19 Based on GIS data loading method and the device of spelling wall system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310705945.9A CN103677930B (en) 2013-12-19 2013-12-19 Based on GIS data loading method and the device of spelling wall system

Publications (2)

Publication Number Publication Date
CN103677930A CN103677930A (en) 2014-03-26
CN103677930B true CN103677930B (en) 2017-01-04

Family

ID=50315587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310705945.9A Expired - Fee Related CN103677930B (en) 2013-12-19 2013-12-19 Based on GIS data loading method and the device of spelling wall system

Country Status (1)

Country Link
CN (1) CN103677930B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104007948B (en) * 2014-05-23 2017-06-13 广东威创视讯科技股份有限公司 Method and device based on the visualization display of three-dimension GIS mass data Distributed Calculation
CN104065953B (en) * 2014-06-27 2017-01-04 广东威创视讯科技股份有限公司 The method and device controlled based on the visualization display of display device multi views
CN104391947B (en) * 2014-12-01 2017-11-21 广东电网有限责任公司清远供电局 Magnanimity GIS data real-time processing method and system
CN105278909B (en) * 2015-11-12 2018-05-22 广东威创视讯科技股份有限公司 More GIS display ends icon data display methods and system
CN111522596A (en) * 2020-03-25 2020-08-11 平安城市建设科技(深圳)有限公司 Scene preloading optimization method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6470344B1 (en) * 1999-05-29 2002-10-22 Oracle Corporation Buffering a hierarchical index of multi-dimensional data
CN101178715A (en) * 2007-10-24 2008-05-14 广东威创视讯科技股份有限公司 Method for combining GIS system with split joint wall system and device thereof
CN101207518A (en) * 2007-12-07 2008-06-25 华中科技大学 An Asynchronous Maintenance System Oriented to Distributed Resource Nodes
CN101370025A (en) * 2007-08-17 2009-02-18 北京灵图软件技术有限公司 Storing method, scheduling method and management system for geographic information data
CN101373480A (en) * 2008-09-18 2009-02-25 广东威创视讯科技股份有限公司 Method and system based on GIS electronic map interactive operation
US7746343B1 (en) * 2005-06-27 2010-06-29 Google Inc. Streaming and interactive visualization of filled polygon data in a geographic information system
CN103279317A (en) * 2013-05-31 2013-09-04 广东威创视讯科技股份有限公司 Distributed type map display method and device and splicing wall system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6470344B1 (en) * 1999-05-29 2002-10-22 Oracle Corporation Buffering a hierarchical index of multi-dimensional data
US7746343B1 (en) * 2005-06-27 2010-06-29 Google Inc. Streaming and interactive visualization of filled polygon data in a geographic information system
CN101370025A (en) * 2007-08-17 2009-02-18 北京灵图软件技术有限公司 Storing method, scheduling method and management system for geographic information data
CN101178715A (en) * 2007-10-24 2008-05-14 广东威创视讯科技股份有限公司 Method for combining GIS system with split joint wall system and device thereof
CN101207518A (en) * 2007-12-07 2008-06-25 华中科技大学 An Asynchronous Maintenance System Oriented to Distributed Resource Nodes
CN101373480A (en) * 2008-09-18 2009-02-25 广东威创视讯科技股份有限公司 Method and system based on GIS electronic map interactive operation
CN103279317A (en) * 2013-05-31 2013-09-04 广东威创视讯科技股份有限公司 Distributed type map display method and device and splicing wall system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ArcEngine环境下实现瓦片地图的访问与拼接;韦胜;《武汉大学学报》;20120630;第737-740页 *
分布式协同计算的GIS技术研究;方裕 等;《地理与地理信息科学》;20060531;第9-12页 *

Also Published As

Publication number Publication date
CN103677930A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN105263050B (en) Mobile terminal real-time rendering system and method based on cloud platform
CN103677930B (en) Based on GIS data loading method and the device of spelling wall system
US10089711B2 (en) Reconstructable digital image cache
CN110706341A (en) High-performance rendering method and device of city information model and storage medium
US20230215076A1 (en) Image frame display method, apparatus, device, storage medium, and program product
CN108073350B (en) Object storage system and method for cloud rendering
CN108074210B (en) Object acquisition system and method for cloud rendering
CN103679813B (en) The construction method of three-dimensional digital earth and three-dimensional digital earth system
CN104349177A (en) Method for turning to play multimedia file under desktop cloud, virtual machine and system
CN113450442B (en) A hybrid rendering method for massive 3D scene data
WO2017129105A1 (en) Graphical interface updating method and device
CN111008934B (en) Scene construction method, device, equipment and storage medium
CN110389981B (en) Data display method, device, electronic equipment and computer readable storage medium
TW201445987A (en) Transmitting information based on reading speed
TW201842775A (en) Systems and methods for deferred post-processes in video encoding
CN104601950B (en) A kind of video frequency monitoring method
WO2016095377A1 (en) Image display method and device for thin client and electronic equipment
CN116302173A (en) Data model rendering engine loading method, system, device and computer equipment
CN116258805A (en) Data model rendering method, system, device, computer equipment and storage medium
CN107491446B (en) Three-dimensional object searching method, device and system
CN110457392B (en) Copy reading and writing method and device
US12211168B2 (en) Generating a representation of a spherical image
CN110347950B (en) Display method and system of mobile terminal web map
CN103268619B (en) The method of image data batch compression in swf file and device
CN115880416A (en) Three-dimensional model display method and device, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670

Patentee after: VTRON GROUP Co.,Ltd.

Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No.

Patentee before: VTRON TECHNOLOGIES Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170104