基于RESTful Web API服務架構的遙感影像檢索技術研究
2021年電子技術應用第5期
王 昊1,2,特日根1,2,3
1.長光衛星技術有限公司,吉林 長春130000; 2.吉林省衛星遙感應用技術重點實驗室,吉林 長春130000; 3.中國科學院 長春光學精密機械與物理研究所,吉林 長春130000
摘要: 提出一種RESTful Web API服務架構的技術方案,用以解決海量遙感影像的檢索問題。首先研究了RESTful架構相對于傳統Web架構的優勢,它的使用可充分實現前后端分離的思想;然后選取Spring相關框架作為RESTful Web API服務架構的實現方式,并使用經典的MVC分層結構來設計;最后引用數據庫拓展Postgis處理空間數據的能力,完善服務的空間檢索功能,提出空間查詢的交互方式和服務的應用場景。結果表明,該架構應用在遙感影像檢索系統中,可以使其更加簡潔和高效。
中圖分類號: TN06
文獻標識碼: A
DOI:10.16157/j.issn.0258-7998.200249
中文引用格式: 王昊,特日根. 基于RESTful Web API服務架構的遙感影像檢索技術研究[J].電子技術應用,2021,47(5):82-85,91.
英文引用格式: Wang Hao,Te Rigen. Research on remote sensing image retrieval based on RESTful Web API service architecture[J]. Application of Electronic Technique,2021,47(5):82-85,91.
文獻標識碼: A
DOI:10.16157/j.issn.0258-7998.200249
中文引用格式: 王昊,特日根. 基于RESTful Web API服務架構的遙感影像檢索技術研究[J].電子技術應用,2021,47(5):82-85,91.
英文引用格式: Wang Hao,Te Rigen. Research on remote sensing image retrieval based on RESTful Web API service architecture[J]. Application of Electronic Technique,2021,47(5):82-85,91.
Research on remote sensing image retrieval based on RESTful Web API service architecture
Wang Hao1,2,Te Rigen1,2,3
1.Changguang Satellite Technology Co.,Ltd.,Changchun 130000,China; 2.Key Laboratory of Satellite Remote Sensing Application Technology in Jilin Province,Changchun 130000,China; 3.Changchun Institute of Optics,Fine Mechanics and Physics,Chinese Academy of Sciences,Changchun 130000,China
Abstract: A technical scheme of RESTful Web API service architecture is presented to solve the problem of retrieving massive remote sensing images.Firstly, the advantages of RESTful architecture over traditional Web architecture are studied, and its use fully implements the idea of front-end and back-end separation. Then Spring related framework is taken as the implementation of RESTful Web API service architecture, and the classic MVC hierarchy is used to design.Finally, it refers to Postgis′s ability to process spatial data, improves the spatial retrieval function of services, and puts forward the interactive mode of spatial query and the scenario of application of services.The results show that this architecture can be used in remote sensing image retrieval system to make it more concise and efficient.
Key words : RESTful Web API;remote sensing image retrieval;Postgis;front and back end separation;Spring framework
0 引言
隨著我國對地觀測衛星技術不斷的發展,其空間、時間、譜段分辨率均得到大幅度的提升,影像數據呈爆炸式的增長。遙感數據本身又有屬性復雜的特點,傳統的管理和檢索方式正面臨著挑戰[1]。當前主流的GIS軟件對于海量的遙感數據缺乏高效的統一檢索和管理功能,且無法完成互聯網用戶直接查詢的需求,基于此種形勢,研究用戶通過網絡檢索和管理遙感影像的技術就變得尤為重要。
在傳統的Web服務架構中,數據的操作和頁面的渲染都由服務端負責處理,這種架構的缺點較為明顯,就是拓展和維護的成本較高,開發者需要同時擁有兩種差別較大的技術儲備。所以后來出現了將兩者解耦的架構技術——前后端分離技術:兩者通過約定API和數據格式進行交互,前端僅僅關心頁面的渲染,后端則負責數據的操作。自從表現層狀態轉化(Representational State Transfer,REST)這一概念被提出后,被廣泛認可為Web應用架構設計應遵守的指導原則[2]。而RESTful是使用REST概念構造而來的,是用于規范API的一種約束,遵循其原則便可以設計出易于理解、方便調用的API。
將RESTful Web API作為主要的后端服務架構應用于改善傳統遙感影像檢索的體驗,無論在科研還是商業化的應用中,都可以提高當前海量遙感數據的共享水平和效率。
本文詳細內容請下載:http://m.xxav2194.com/resource/share/2000003528
作者信息:
王 昊1,2,特日根1,2,3
(1.長光衛星技術有限公司,吉林 長春130000;
2.吉林省衛星遙感應用技術重點實驗室,吉林 長春130000;
3.中國科學院 長春光學精密機械與物理研究所,吉林 長春130000)
此內容為AET網站原創,未經授權禁止轉載。