[go: up one dir, main page]

CN102254334B - Method for sharing service of map symbolization network based on DCOM (distributing component object model) technology - Google Patents

Method for sharing service of map symbolization network based on DCOM (distributing component object model) technology Download PDF

Info

Publication number
CN102254334B
CN102254334B CN 201110159210 CN201110159210A CN102254334B CN 102254334 B CN102254334 B CN 102254334B CN 201110159210 CN201110159210 CN 201110159210 CN 201110159210 A CN201110159210 A CN 201110159210A CN 102254334 B CN102254334 B CN 102254334B
Authority
CN
China
Prior art keywords
symbolism
client
symbolization
service end
map
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
CN 201110159210
Other languages
Chinese (zh)
Other versions
CN102254334A (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.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
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 Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN 201110159210 priority Critical patent/CN102254334B/en
Publication of CN102254334A publication Critical patent/CN102254334A/en
Application granted granted Critical
Publication of CN102254334B publication Critical patent/CN102254334B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

本发明涉及一种地图符号化网络共享服务方法,尤其是涉及一种基于DCOM技术的地图符号化网络共享服务方法。主要步骤包括客户端向服务端请求符号库对象;服务端创建符号库对象;服务端导入远程符号库;客户端设置出图比例尺;客户端选择符号并封送待符号化要素至服务端;服务端进行符号化并将符号化结果封送传回客户端;客户端绘制显示符号化结果。本发明提供了一种模型简明,配置效率高,能够在局域网、广域网和Internet上完成地图符号化共享服务,实现地图符号及地图符号化服务共享的计算机地图制图方案。

Figure 201110159210

The invention relates to a map symbolization network sharing service method, in particular to a map symbolization network sharing service method based on DCOM technology. The main steps include the client requesting the symbol library object from the server; the server creating the symbol library object; the server importing the remote symbol library; the client setting the drawing scale; The client performs symbolization and marshals the symbolization result back to the client; the client draws and displays the symbolization result. The invention provides a computerized map-drawing scheme with concise model, high configuration efficiency, which can complete map symbolization sharing service on local area network, wide area network and Internet, and realize map symbol and map symbolization service sharing.

Figure 201110159210

Description

一种基于DCOM技术的地图符号化网络共享服务方法A method of map symbolization network sharing service based on DCOM technology

技术领域 technical field

本发明涉及一种地图符号化网络共享服务方法,尤其是涉及一种基于DCOM技术的地图符号化网络共享服务方法。The invention relates to a map symbolization network sharing service method, in particular to a map symbolization network sharing service method based on DCOM technology.

背景技术 Background technique

符号是构成地图的基本元素,研究符号是地图学的基本问题之一。地图符号作为一种地图语言,具有读写两个功能:“读”是用图者通过对符号的识别,认识制图空间;“写”是制图工作者把制图对象用一定的符号及其组合在地图上表现出来。地图符号和地图符号库是地理信息系统及各种制图软件的核心问题之一,但是由于不同的系统及制图软件在数据结构、符号模型、绘制方式等方面存在较大的差异,导致各个系统或者制图软件之间很难完成地图符号的共享。Symbols are the basic elements of maps, and the study of symbols is one of the basic problems of cartography. As a map language, map symbols have two functions of reading and writing: "reading" means that the map user can recognize the cartographic space through the identification of symbols; shown on the map. Map symbols and map symbol libraries are one of the core issues of geographic information systems and various cartographic software. However, due to the large differences in data structures, symbol models, and drawing methods among different systems and cartographic software, each system or It is difficult to complete the sharing of map symbols between mapping software.

针对地图符号共享这一问题,已出现部分相关专利,例如:《基于路径的点状地图符号模型及基于该模型的共享方法》(申请号:201019026032.8)、《基于路径的线状地图符号模型及基于该模型的共享方法》(申请号:201019026030.9)、《基于路径的面状地图符号模型及基于该模型的共享方法》(申请号:201019026029.6),上述三个发明专利提出了一种基于路径的地图符号模型,并提出了基于路径模型的地图符号的共享方法;《AutoCAD图块与基于路径的点状地图符号交换方法》(申请号:201019026028.1)、《TrueType符号与基于路径的点状地图符号交换方法》(申请号:201019026034.7)、《图元法点状符号与基于路径的点状地图符号交换方法》(申请号:201019026026.2),上述三个专利是在基于路径的点符号模型基础上,分别提出了AutoCAD图块、TrueType符号、图元法点状符号三类不同格式的符号到基于路径的点符号的转换方法;《VGE符号模型及基于该模型的地图符号共享系统和方法》(申请号:201019026033.2),提出了一种基于VGE的符号模型和基于该模型的地图符号共享方法。上述所提及的相关专利,都是提出了一种或几种地图符号模型,然后在提出的符号模型基础上阐述其相关的符号共享方法,需要将其他格式的符号模型转换为其提出的符号模型。Aiming at the problem of map symbol sharing, some related patents have appeared, such as: "Path-based point map symbol model and sharing method based on the model" (application number: 201019026032.8), "Path-based linear map symbol model and Sharing method based on this model" (application number: 201019026030.9), "Path-based area map symbol model and sharing method based on this model" (application number: 201019026029.6), the above three invention patents proposed a path-based Map symbol model, and proposed a method for sharing map symbols based on the path model; "AutoCAD block and path-based point map symbol exchange method" (application number: 201019026028.1), "TrueType symbols and path-based point map symbols Exchange Method" (Application No.: 201019026034.7), "Exchange Method for Point Symbols Based on Primitive Method and Point Map Symbols Based on Path" (Application No.: 201019026026.2), the above three patents are based on the path-based point symbol model, Proposes the transformation methods of AutoCAD blocks, TrueType symbols, and primitive point symbols in three different formats to path-based point symbols; "VGE symbol model and map symbol sharing system and method based on the model" (application No.: 201019026033.2), proposed a symbol model based on VGE and a map symbol sharing method based on the model. The relevant patents mentioned above all propose one or several map symbol models, and then elaborate their related symbol sharing methods on the basis of the proposed symbol models. It is necessary to convert symbol models in other formats into their proposed symbols Model.

发明内容 Contents of the invention

本发明主要是解决现有技术所存在的由于不同的系统及制图软件在数据结构、符号模型、绘制方式等方面存在较大的差异,导致各个系统或者制图软件之间很难完成地图符号的共享等的技术问题;提供了一种客户端可以根据自由选择符号化服务端,合理实现网络及符号化服务端负载平衡;符号库服务端可位于符号化服务端,亦可为分布式服务器,客户端亦可自主选择地图符号库的一种基于DCOM技术的地图符号化网络共享服务方法。The present invention mainly solves the problem existing in the prior art that it is difficult to complete the sharing of map symbols between various systems or mapping software due to the large differences in data structures, symbol models, and drawing methods among different systems and mapping software. and other technical issues; provide a client that can freely choose the symbolic server to reasonably achieve load balancing between the network and the symbolic server; the symbol library server can be located at the symbolic server or distributed A DCOM technology-based map symbolization network sharing service method in which the terminal can also independently select the map symbol library.

本发明的上述技术问题主要是通过下述技术方案得以解决的:Above-mentioned technical problem of the present invention is mainly solved by following technical scheme:

一种基于DCOM技术的地图符号化网络共享服务方法,其特征在于,包括以下步骤:A kind of map symbolization network sharing service method based on DCOM technology, it is characterized in that, comprises the following steps:

步骤1、客户端新建地图并指定所建立的地图的比例尺,并加载图层,同时客户端向符号化服务端发出符号化请求,请求符号库对象SymbolDatabase;Step 1. The client creates a new map and specifies the scale of the created map, and loads the layer. At the same time, the client sends a symbolization request to the symbolization server, requesting the symbol database object SymbolDatabase;

步骤2、符号化服务端收到请求并验证客户端权限通过后,在符号化服务端创建符号库对象SymbolDatabase,并向客户端返回一个可访问符号库对象SymbolDatabase的接口ISymbolDB;Step 2. After the symbolization server receives the request and verifies that the client has passed the authorization, it creates a symbol database object SymbolDatabase on the symbolization server, and returns an interface ISymbolDB that can access the symbol database object SymbolDatabase to the client;

步骤3、客户端在收到来自符号化服务端的ISymolDB接口后,确定待符号化的要素,向符号化服务端发送符号化请求,符号化服务端在收到来自客户端封送的符号化请求后,扫描网络内可利用的符号库服务端并向客户端封送可利用的地图符号库信息;Step 3. After receiving the ISymolDB interface from the symbolization server, the client determines the elements to be symbolized, and sends a symbolization request to the symbolization server, and the symbolization server receives the symbolization request marshaled from the client Finally, scan the available symbol library server in the network and marshal the available map symbol library information to the client;

步骤4、客户端根据符号化服务端提供的地图符号库信息,指定所需要的地图符号库,并将所指定的符号库信息发送给符号化服务端;符号化服务端的符号库对象SymbolDatabase根据客户端提供的地图符号库信息导入相应的地图符号库,客户端利用ISymbolDB接口列举出地图符号库对象SymbolDatabase中的所包含的符号信息;Step 4. The client specifies the required map symbol library according to the map symbol library information provided by the symbolization server, and sends the specified symbol library information to the symbolization server; the symbol database object SymbolDatabase of the symbolization server is based on the The map symbol library information provided by the terminal is imported into the corresponding map symbol library, and the client uses the ISymbolDB interface to list the symbol information contained in the map symbol library object SymbolDatabase;

步骤5、客户端根据所指定的待符号化的要素及所使用的地图符号,利用ISymbolDB接口在符号化服务端生成地图符号对象Symbol;Step 5, the client uses the ISymbolDB interface to generate a map symbol object Symbol at the symbolization server according to the specified element to be symbolized and the map symbol used;

步骤6、客户端将待符号化的要素的几何信息通过存根代理程序转换为通用的数据类型,并封送到服务端;Step 6. The client converts the geometric information of the element to be symbolized into a common data type through the stub proxy program, and marshals it to the server;

步骤7、符号化服务端收到客户端封送来的数据后,通过其存根代理将数据进行解封,并将解封后的数据交予符号化服务端的符号对象Symbol进行符号化;Step 7. After receiving the data marshaled by the client, the symbolization server unpacks the data through its stub agent, and hands the unpacked data to the symbol object Symbol of the symbolization server for symbolization;

步骤8、符号化服务端通过存根代理将符号化后的结果封送回客户端,客户端将收到的符号化后的结果进行解封,并转换为客户端可以识别的符号化后的结果;Step 8. The symbolization server marshals the symbolized result back to the client through the stub proxy, and the client unpacks the received symbolized result and converts it into a symbolized result that the client can recognize ;

步骤9、客户端将完成步骤8转换后的符号化结果进行绘制显示,完成符号化过程。Step 9. The client will draw and display the converted symbolization result in step 8, and complete the symbolization process.

在上述的一种基于DCOM技术的地图符号化网络共享服务方法,所述的步骤2中,符号化服务端收到请求后并验证客户端权限,并选择执行以下步骤:In the aforementioned DCOM technology-based map symbolization network sharing service method, in step 2, after the symbolization server receives the request, it verifies the client's authority, and chooses to perform the following steps:

步骤2.1、如果客户端权限未通过符号化服务端验证,则向客户端封送拒绝应答信息,客户端在收到符号化服务端的应答信息后,解封应答信息,如果是来自服务端的拒绝应答信息,则终止向当前符号化服务端发送符号化请求,寻找网络内的其他符号化服务端,重复步骤1;若遍历网络内所有的符号化服务端后,客户端接收到的均为拒绝应答信息,则客户端终止符号化请求,完成整个符号化过程。Step 2.1. If the client’s authority fails to pass the verification of the symbolic server, send a rejection response message to the client. After receiving the response message from the symbolic server, the client unpacks the response message. If it is a rejection response from the server information, stop sending symbolization requests to the current symbolization server, search for other symbolization servers in the network, and repeat step 1; if all symbolization servers in the network are traversed, all received by the client are rejection responses information, the client terminates the symbolization request and completes the entire symbolization process.

步骤2.2、若客户端权限通过符号化服务端验证,则在符号化服务端创建符号库对象SymbolDatabase,并向客户端返回一个可访问SymbolDatabase的接口ISymolDB。Step 2.2. If the client authority is verified by the symbolization server, create a symbol database object SymbolDatabase on the symbolization server, and return an interface ISymolDB that can access the SymbolDatabase to the client.

在上述的一种基于DCOM技术的地图符号化网络共享服务方法,所述步骤2中,客户端收到的符号化服务端封送回的ISymbolDB为用于操作符号化服务端的接口,用以显示符号化服务端的符号库对象SymbolDatabase的有关信息以及操纵符号库对象,包括显示点线面符号、符号个数、符号库比例尺、制作者、制作时间以及进行地图符号化。In the aforementioned DCOM technology-based map symbolization network sharing service method, in step 2, the ISymbolDB received by the client and sent back by the symbolization server is an interface for operating the symbolization server for displaying Symbolize the information about the symbol library object SymbolDatabase on the server side and manipulate the symbol library object, including displaying point, line and surface symbols, the number of symbols, the scale of the symbol library, the creator, the production time, and map symbolization.

在上述的一种基于DCOM技术的地图符号化网络共享服务方法,地图符号库可以由符号化服务端提供或者存在于符号化服务端所在的局域网、广域网或者Internet上。In the aforementioned DCOM technology-based map symbolization network sharing service method, the map symbol library can be provided by the symbolization server or exist on the local area network, wide area network or Internet where the symbolization server is located.

在上述的一种基于DCOM技术的地图符号化网络共享服务方法,所述步骤6中,进行地图符号化时,客户端必须将待符号化的要素的几何信息封送到符号化服务端,并且封送到符号化服务端的数据必须转换为COM通用的数据类型。In the aforementioned DCOM technology-based map symbolization network sharing service method, in step 6, when performing map symbolization, the client must marshal the geometric information of the elements to be symbolized to the symbolization server, and Data marshaled to the symbolic server must be converted to COM-generated data types.

在上述的一种基于DCOM技术的地图符号化网络共享服务方法,所述步骤4中,客户端利用ISymbolDB接口列举出的符号库对象SymbolDatabase中的符号信息包括符号个数、符号库比例尺、符号库制作者、符号库制作时间。In the above-mentioned a kind of map symbolization network sharing service method based on DCOM technology, in described step 4, the symbol information in the symbol library object SymbolDatabase that the client utilizes the ISymbolDB interface to enumerate comprises symbol number, symbol library scale, symbol library Producer, symbol library production time.

因此,本发明具有如下优点:基于微软DCOM技术可提供地图符号化网络共享服务,客户端可以自由选择符号化服务端,合理实现网络及符号化服务端负载平衡;符号库服务端可位于符号化服务端,亦可为分布式服务器,客户端亦可自主选择地图符号库。Therefore, the present invention has the following advantages: based on Microsoft DCOM technology, map symbolization network sharing services can be provided, and the client can freely choose the symbolization server to reasonably achieve load balance between the network and the symbolization server; the symbol library server can be located in the symbolization The server can also be a distributed server, and the client can also choose a map symbol library independently.

附图说明 Description of drawings

图1为本发明实施例的系统体系结构示意图;Fig. 1 is a schematic diagram of the system architecture of an embodiment of the present invention;

图2为传统符号化过程示意图;Figure 2 is a schematic diagram of the traditional symbolization process;

图3为本发明地图符号化服务机制示意图;Fig. 3 is a schematic diagram of the map symbolization service mechanism of the present invention;

图4为本发明符号化过程中各组件对象之间关系的示意图;Fig. 4 is a schematic diagram of the relationship between each component object in the symbolization process of the present invention;

图5为本发明关键步骤示意图;Fig. 5 is a schematic diagram of key steps of the present invention;

具体实施方式 Detailed ways

下面通过实施例,并结合附图,对本发明的技术方案作进一步具体的说明。The technical solutions of the present invention will be further specifically described below through the embodiments and in conjunction with the accompanying drawings.

实施例:Example:

为了便于本领域普通技术人员理解和实施本发明,下面结合附图及实施例对本发明作进一步的详细描述。In order to facilitate those skilled in the art to understand and implement the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

首先介绍一下DCOM,DCOM(Microsoft Distributed Component ObjectModel分布式组件对象模型)是一系列微软的概念和程序接口,利用这个接口,客户端程序对象能够请求来自网络中另一台计算机上的服务器程序对象。DCOM基于组件对象模型(COM),COM提供了一套允许同一台计算机上的客户端和服务器之间进行通信的接口。First introduce DCOM, DCOM (Microsoft Distributed Component Object Model Distributed Component Object Model) is a series of Microsoft concepts and program interfaces. Using this interface, a client program object can request a server program object from another computer in the network. DCOM is based on the Component Object Model (COM), which provides a set of interfaces that allow communication between clients and servers on the same computer.

本发明实施例所运行的系统体系结构,如图1所示,其包含客户端、符号化服务端和符号库服务端三部分。客户端是地图符号化网络共享服务的发起者,负责发起服务请求和最终符号化结果的绘制显示;符号化服务端是地图符号化的提供者,负责应答客户端的符号化请求并将符号化后的符号化结果封送回客户端;符号库服务端提供符号化共享符号所需求的地图符号。The system architecture operated by the embodiment of the present invention, as shown in FIG. 1 , includes three parts: a client, a symbolization server, and a symbol library server. The client is the initiator of the map symbolization network sharing service, responsible for initiating service requests and drawing and display of the final symbolization results; the symbolization server is the provider of map symbolization, responsible for responding to the client’s symbolization request and The symbolization result of is marshaled back to the client; the symbol library server provides the map symbols required for symbolizing shared symbols.

如图2所示,为传统地图符号化的过程,发起符号化请求、应答符号化请求、查询地图符号库都在本机的同一进程内完成。本发明与传统符号化过程的最大区别就是符号化服务发起者、符号化服务应答者可分布在不同机器上的不同进程内。As shown in Figure 2, it is a traditional map symbolization process, initiating a symbolization request, responding to a symbolization request, and querying a map symbol library are all completed in the same process of the machine. The biggest difference between the present invention and the traditional symbolization process is that the symbolization service initiator and symbolization service responder can be distributed in different processes on different machines.

如图3所示,为本发明的地图符号化服务机制。实施例中,以符号化点状要素图层为例,上述基于DCOM的地图符号化网络共享服务方法具体流程如下:As shown in Figure 3, it is the map symbolization service mechanism of the present invention. In the embodiment, taking the symbolized point feature layer as an example, the specific process of the above-mentioned DCOM-based map symbolization network sharing service method is as follows:

1、客户端新建地图并指定所建立的地图的比例尺,然后加载点状要素图层。1. The client creates a new map and specifies the scale of the created map, and then loads the point feature layer.

2、客户端向符号化服务端发出符号化请求,请求符号库对象SymbolDatabase,符号库对象SymbolDatabase是在符号化服务端创建,而非在本地客户端。2. The client sends a symbolization request to the symbolization server, requesting the symbol database object SymbolDatabase, which is created on the symbolization server instead of the local client.

3、符号化服务端接收到客户端符号化请求后,首先验证发出访问请求的客户端权限,地图符号库由符号化服务端提供,而非本地客户端提供;而地图符号库可以由符号化服务端提供,也可以存在于符号化服务端所在的局域网、广域网或者Internet上。3. After receiving the symbolization request from the client, the symbolization server first verifies the permission of the client that issued the access request. The map symbol library is provided by the symbolization server, not the local client; and the map symbol library can be provided by the symbolization Provided by the server, it can also exist on the local area network, wide area network or Internet where the symbolization server is located.

3.1、如果客户端权限未通过符号化服务端验证,则向客户端封送拒绝应答信息,客户端在收到符号化服务端的应答信息后,解封应答信息,如果是来自服务端的拒绝应答信息,则终止向当前符号化服务端发送符号化请求,寻找网络内的其他符号化服务端,重复步骤2。若遍历网络内所有的符号化服务端后,客户端接收到的均为拒绝应答信息,则客户端终止符号化请求,完成整个符号化过程。3.1. If the client's authority fails to pass the verification of the symbolic server, it will send a rejection response message to the client. After receiving the response message from the symbolic server, the client will unpack the response message. If it is a rejection message from the server , then stop sending the symbolization request to the current symbolization server, search for other symbolization servers in the network, and repeat step 2. If after traversing all symbolization servers in the network, the client receives all rejection responses, the client terminates the symbolization request and completes the entire symbolization process.

3.2、若客户端权限通过符号化服务端验证,则在符号化服务端创建符号库对象SymbolDatabase,并向客户端返回一个可访问SymbolDatabase的接口ISymolDB。3.2. If the client permission is verified by the symbolization server, create a symbol database object SymbolDatabase on the symbolization server, and return an interface ISymolDB that can access the SymbolDatabase to the client.

4、客户端在收到来自符号化服务端的ISymolDB接口后,确定待符号化的要素,向符号化服务端封送符号化请求。4. After receiving the ISymolDB interface from the symbolization server, the client determines the elements to be symbolized, and sends a symbolization request to the symbolization server.

5、符号化服务端在收到来自客户端封送的符号化请求后,扫描网络内可利用的符号库服务端并向客户端封送可利用的地图符号库信息。5. After receiving the symbolization request from the client, the symbolization server scans the available symbol library server in the network and marshals the available map symbol library information to the client.

6、客户端根据符号化服务端提供的地图符号库信息,指定所需要的地图符号库,并将所指定的符号库信息封送给符号化服务端,进行地图符号化时,本地客户端必须将待符号化的要素的几何信息封送到符号化服务端,并且封送到符号化服务端的数据必须转换为COM通用的数据类型。6. The client specifies the required map symbol library according to the map symbol library information provided by the symbolization server, and marshals the specified symbol library information to the symbolization server. When performing map symbolization, the local client must The geometry information of the element to be symbolized is marshaled to the symbolization server, and the data marshaled to the symbolization server must be converted into a common data type of COM.

7、符号化服务端的SymbolDatabase对象根据客户端提供的地图符号库信息,导入相应的地图符号库。7. The SymbolDatabase object of the symbolization server imports the corresponding map symbol library according to the map symbol library information provided by the client.

8、客户端利用ISymolDB接口列举出的符号库对象SymbolDatabase中的符号信息,包括符号个数、符号库比例尺、符号库制作者、符号库制作时间等。8. The client uses the ISymolDB interface to enumerate the symbol information in the symbol database object SymbolDatabase, including the number of symbols, the scale of the symbol database, the creator of the symbol database, and the creation time of the symbol database.

9、客户端根据所指定的待符号化的要素及所使用的地图符号,利用ISymolDB接口在符号化服务端生成地图符号对象Symbol。9. The client uses the ISymolDB interface to generate a map symbol object Symbol on the symbolization server according to the specified elements to be symbolized and the map symbols used.

10、客户端将待符号化的要素的定位几何信息通过存根代理程序转换为COM通用的数据类型,并将其封送到符号化服务端。10. The client converts the positioning geometry information of the element to be symbolized into a common COM data type through the stub proxy program, and marshals it to the symbolization server.

11、符号化服务端将来自于客户端封送的数据,通过服务端的存根代理将其解封,并将解封后的数据交予位于符号化服务端的符号对象Symbol进行符号化,地图符号化过程由符号化服务端完成符号化,而非在本地客户端完成符号化。11. The symbolization server unpacks the data marshaled by the client through the stub agent on the server side, and hands the unpacked data to the symbol object Symbol located on the symbolization server for symbolization, map symbolization The process is symbolized by the symbolization server, not by the local client.

12、符号化服务端通过其存根代理将符号化后的结果封送回客户端。12. The symbolization server marshals the symbolized result back to the client through its stub agent.

13、客户端将收到的符号化结果通过其存根代理进行解封,并转换为客户端可以识别的数据类型。13. The client unpacks the received symbolic result through its stub agent and converts it into a data type that the client can recognize.

14、重复步骤4至步骤13,完成所有要素的符号化。14. Repeat step 4 to step 13 to complete the symbolization of all elements.

15、客户端将转换后的所有要素的符号化结果进行绘制显示,完成当前图层的符号化过程。15. The client draws and displays the converted symbolization results of all elements, and completes the symbolization process of the current layer.

如图4所示,说明了符号化过程中各组件对象之间的关系。As shown in Figure 4, the relationship between the various component objects in the symbolization process is illustrated.

如图5所示,简要概括了本发明的关键步骤。As shown in Fig. 5, the key steps of the present invention are briefly summarized.

在本实施例中,地图符号化服务的参与者分为三部分:客户端、符号化服务端和符号库服务端。In this embodiment, the participants of the map symbolization service are divided into three parts: the client, the symbolization server and the symbol library server.

1)客户端是符号化服务的调用者,其提出符号化请求并最终获得符号化结果;1) The client is the caller of the symbolization service, which makes a symbolization request and finally obtains the symbolization result;

2)符号化服务端是符号化服务的提供者,其应答客户端的符号化请求,并最终返回符号化结果;2) The symbolization server is the symbolization service provider, which responds to the client's symbolization request and finally returns the symbolization result;

3)符号库服务端是提供地图符号库的共享平台,并为符号化服务提供地图符号库数据。3) The symbol library server is a shared platform that provides map symbol libraries, and provides map symbol library data for symbolization services.

应当注意的是,符号库服务端是提供符号化共享符号所需求的地图符号,是地图符号库所在的服务器。符号库服务端既可以和符号化服务端位于同一台服务器上,也可以是分布式的。It should be noted that the symbol library server is the map symbol required to provide symbolic shared symbols, and is the server where the map symbol library is located. The symbol library server can be located on the same server as the symbolization server, or it can be distributed.

客户端只负责待符号化数据的提供及最终符号化结果的显示,而符号化过程则由符号化服务端完成。The client is only responsible for providing the data to be symbolized and displaying the final symbolized results, while the symbolization process is completed by the symbolization server.

本文中所描述的具体实施例仅仅是对本发明精神作举例说明。本发明所属技术领域的技术人员可以对所描述的具体实施例做各种各样的修改或补充或采用类似的方式替代,但并不会偏离本发明的精神或者超越所附权利要求书所定义的范围。The specific embodiments described herein are merely illustrative of the spirit of the invention. Those skilled in the art to which the present invention belongs can make various modifications or supplements to the described specific embodiments or adopt similar methods to replace them, but they will not deviate from the spirit of the present invention or go beyond the definition of the appended claims range.

Claims (6)

1. the Cartographic Symbolization network share service method based on the DCOM technology is characterized in that, may further comprise the steps:
Step 1, the newly-built map of client are also specified the engineer's scale of the map of being set up, and load the required sketch map layer of wanting, and client is sent the symbolism request to the symbolism service end simultaneously, asks symbolic library object SymbolDatabase;
Step 2, the symbolism service end request of receiving and after the checking client authority passes through at symbolism service end Create Symbol storehouse object SymbolDatabase, and is returned the interface ISymbolDB of an addressable symbolic library object SymbolDatabase to client;
Step 3, client are behind the ISymolDB interface of receiving from the symbolism service end; Confirm to treat the key element of symbolism; Send the symbolism request to the symbolism service end; The symbolism service end after receiving the symbolism request of sending from client envelope, available symbolic library service end and send available map symbol library information in the scan for networks to the client envelope;
Step 4, client are specified needed map symbols bank according to the map symbol library information that the symbolism service end provides, and specified symbolic library information is sent to the symbolism service end; The symbolic library object SymbolDatabase of symbolism service end imports corresponding map symbols bank according to the map symbol library information that client provides, and client utilizes the ISymbolDB interfaces column to enumerate the symbolic information that is comprised among the map symbols bank object SymbolDatabase;
Step 5, client utilize the ISymbolDB interface to generate map symbol object Symbol in the symbolism service end according to the specified key element of treating symbolism and employed map symbol;
Step 6, client will treat that the geological information of the key element of symbolism converts general data type into through the counterfoil Agent, and envelope is delivered to the symbolism service end;
After step 7, symbolism service end receive that client is sealed the data of sending here, through its counterfoil agency data are carried out deblocking, and will separate the data of being honored as a queen and give the symbol object Symbol of symbolism service end to carry out symbolism;
Step 8, symbolism service end are sent the envelope of the result after the symbolism back to client through the counterfoil agency, and the result of client after with the symbolism of receiving carries out deblocking, and convert the result after the symbolism that client can discern into;
Symbolism result after step 9, client are changed completing steps 8 draws demonstration, accomplishes the symbolism process.
2. a kind of Cartographic Symbolization network share service method based on the DCOM technology according to claim 1 is characterized in that, in the described step 2, the symbolism service end is received request back and checking client authority, and selects to carry out following steps:
If step 2.1 client authority is not verified through the symbolism service end; Then send the information of rejecing response to client envelope, client behind the response message of receiving the symbolism service end, the deblocking response message; If from the information that rejects response of service end; Then stop sending the symbolism request, seek other symbolism service ends in the network, repeating step 1 to the current sign service end; If in the traverses network after all symbolism service end, client receives is the information of rejecing response, and whole symbolism process is accomplished in then client terminate symbolism request;
Step 2.2, if the client authority verify through the symbolism service end, return the interface ISymolDB of an addressable SymbolDatabase then at symbolism service end Create Symbol storehouse object SymbolDatabase, and to client.
3. a kind of Cartographic Symbolization network share service method according to claim 1 based on the DCOM technology; It is characterized in that; In the said step 2; The ISymbolDB that the symbolism service end envelope that client is received is sent back to is the interface that is used for the functional symbol service end; In order to the symbolic library object SymbolDatabase of displaying symbol service end for information about and handle the symbolic library object, comprise showing point-line-surface symbol, symbol numbers, symbolic library engineer's scale, wright, Production Time and carrying out Cartographic Symbolization.
4. a kind of Cartographic Symbolization network share service method according to claim 1 based on the DCOM technology; It is characterized in that map symbols bank can be provided or is present on LAN, wide area network or the Internet at symbolism service end place by the symbolism service end.
5. a kind of Cartographic Symbolization network share service method according to claim 1 based on the DCOM technology; It is characterized in that; In the said step 6; When carrying out Cartographic Symbolization, client must be delivered to the symbolism service end with the geological information of the key element of treating symbolism envelope, and the data that envelope is delivered to the symbolism service end must convert the general data type of COM into.
6. a kind of Cartographic Symbolization network share service method according to claim 1 based on the DCOM technology; It is characterized in that; In the said step 4, client utilizes the symbolic information among the symbolic library object SymbolDatabase that the ISymbolDB interfaces column enumerates to comprise symbol numbers, symbolic library engineer's scale, symbolic library wright, symbolic library Production Time.
CN 201110159210 2011-06-15 2011-06-15 Method for sharing service of map symbolization network based on DCOM (distributing component object model) technology Expired - Fee Related CN102254334B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110159210 CN102254334B (en) 2011-06-15 2011-06-15 Method for sharing service of map symbolization network based on DCOM (distributing component object model) technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110159210 CN102254334B (en) 2011-06-15 2011-06-15 Method for sharing service of map symbolization network based on DCOM (distributing component object model) technology

Publications (2)

Publication Number Publication Date
CN102254334A CN102254334A (en) 2011-11-23
CN102254334B true CN102254334B (en) 2012-12-05

Family

ID=44981575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110159210 Expired - Fee Related CN102254334B (en) 2011-06-15 2011-06-15 Method for sharing service of map symbolization network based on DCOM (distributing component object model) technology

Country Status (1)

Country Link
CN (1) CN102254334B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021436B (en) * 2016-05-16 2017-03-15 武汉大学 A kind of manufacture method of vector tile map

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3514704B2 (en) * 2000-06-28 2004-03-31 株式会社昭文社 Map information distribution system, map information distribution method, server for distributing map information, and server for providing services
US8561069B2 (en) * 2002-12-19 2013-10-15 Fujitsu Limited Task computing
JP4796435B2 (en) * 2006-04-28 2011-10-19 富士フイルム株式会社 Image viewer
JP5386946B2 (en) * 2008-11-26 2014-01-15 ソニー株式会社 Image processing apparatus, image processing method, image processing program, and image processing system
CN101807305A (en) * 2010-02-03 2010-08-18 南京师范大学 Path-based Linear Map Symbol Model and Sharing Method Based on the Model
CN101799932A (en) * 2010-02-03 2010-08-11 南京师范大学 Dot-form map symbol model based on path and sharing method based on model
CN101789030A (en) * 2010-02-03 2010-07-28 南京师范大学 Virtual geographical environment (VGE) symbolic model and map symbol sharing system and method based on same
CN101799933B (en) * 2010-02-03 2012-01-11 南京师范大学 Conversion method of TrueType symbol and spotted map symbol based on path

Also Published As

Publication number Publication date
CN102254334A (en) 2011-11-23

Similar Documents

Publication Publication Date Title
AU2017251816B2 (en) Rendering map images using modifications of non-raster map data
JP6184961B2 (en) Managing map elements using collective feature identifiers
CN105260299A (en) Method, device, and system for software test
CN104798094B (en) Determine the configuration of content item display environment
CN103455338A (en) Method and device for acquiring data
CN107430631A (en) From position, report determines semantic place name
CN110399209A (en) Data processing method, system, electronic equipment and storage medium
CN104239412B (en) The data mapping to thesaurus and correlation technique, system and computer-readable medium are applied in data repository
CN103886773B (en) Under a kind of B/S environment in GIS map the method for Real-Time Monitoring taxi
CN113763514A (en) Method, device and system for generating stroke order animation and electronic equipment
CN102254334B (en) Method for sharing service of map symbolization network based on DCOM (distributing component object model) technology
EP4256758A1 (en) Systems and methods for administrating a federated learning network
CN112667508A (en) Mock method, system and device based on user-defined Mock platform and storage medium
JP2018077816A (en) Customized map generation with real-time messages and locations from concurrent users
CN113870393B (en) Animation generation method, device, equipment and storage medium
CN113919595B (en) Store delivery route planning method, device, equipment and storage medium
US20180189037A1 (en) Method, apparatus, and computer program product for generating updated network application interfaces
CN109683853A (en) A kind of software operation functional definition method and system based on modeling
CN109389271A (en) Application performance management method and system
KR102261906B1 (en) System and method for creating virtual poi
Treyer et al. Lightweight urban computation interchange (LUCI): a system to couple heterogeneous simulations and views
CN115615443B (en) High-precision map data processing method, device, electronic device and storage medium
CN117556795A (en) Method for putting business travel service on shelf and business travel service system
CN114997511A (en) UAV-based remote insurance operation method and system
CN119271909A (en) Improved virtual two-step mobile search method based on online medical data

Legal Events

Date Code Title Description
C06 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
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: 20121205

Termination date: 20180615