一种三维GIS通用型的RPC设计方法及实现
A General RPC Design Method and Implementation for 3D GIS
王俊勇 1詹勇 1刘一臻1
作者信息
- 1. 重庆市测绘科学技术研究院,重庆 400020
- 折叠
摘要
基于Protobuf协议构建了一套远程调用三维GIS程序的通用型API指令,根据三维GIS特点分为渲染、分析、创建、管理、导览、工程等六大单例模式部件.在浏览器客户端通过继承、异步等技术实现了JavaScript语言的编程接口,在服务端使用具有中间件作用的通信模块和置于具体三维GIS程序的插件模块,形成了一套具有三维GIS特点的响应式RPC系统.通过实践,确保了该方法在实际应用场景中的可行性、扩展性和通用性,客户在浏览器端操作时就如同操作桌面三维GIS应用程序一样.
Abstract
Based on Protobuf protocol,this paper constructs a set of general API instructions for calling 3D GIS programs remotely.Ac-cording to the characteristics of 3D GIS,it is divided into six single instance mode components,including rendering,analysis,creation,manage-ment,navigation,and engineering.The JavaScript programming interface is implemented by inheritance and asynchrony technology in the browser client.The communication module with middleware function and the plug-in module placed in the specific 3D GIS program are used in the server to form a set of responsive RPC system with 3D GIS characteristics.Through practice,the feasibility,expansibility and universali-ty of this method in the actual application scenario are ensured.When the customer operates on the browser side,it is just like operating the desktop 3D GIS application.
关键词
三维GIS/Protobuf/RPC/APIKey words
3D GIS/Protobuf/RPC/API引用本文复制引用
基金项目
重庆英才计划项目(cstc2022ycjhbgzxm0270)
重庆市科技计划项目(cstc2022ycjhbgzxm0229)
出版年
2024