《電子技術應用》
您所在的位置:首頁 > 其他 > 設計應用 > 基于RESTful Web API服務架構的遙感影像檢索技術研究
基于RESTful Web API服務架構的遙感影像檢索技術研究
2021年電子技術應用第5期
王 昊1,2,特日根1,2,3
1.長光衛(wèi)星技術有限公司,吉林 長春130000; 2.吉林省衛(wèi)星遙感應用技術重點實驗室,吉林 長春130000; 3.中國科學院 長春光學精密機械與物理研究所,吉林 長春130000
摘要: 提出一種RESTful Web API服務架構的技術方案,用以解決海量遙感影像的檢索問題。首先研究了RESTful架構相對于傳統(tǒng)Web架構的優(yōu)勢,它的使用可充分實現(xiàn)前后端分離的思想;然后選取Spring相關框架作為RESTful Web API服務架構的實現(xiàn)方式,并使用經(jīng)典的MVC分層結(jié)構來設計;最后引用數(shù)據(jù)庫拓展Postgis處理空間數(shù)據(jù)的能力,完善服務的空間檢索功能,提出空間查詢的交互方式和服務的應用場景。結(jié)果表明,該架構應用在遙感影像檢索系統(tǒng)中,可以使其更加簡潔和高效。
中圖分類號: 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.
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 引言

    隨著我國對地觀測衛(wèi)星技術不斷的發(fā)展,其空間、時間、譜段分辨率均得到大幅度的提升,影像數(shù)據(jù)呈爆炸式的增長。遙感數(shù)據(jù)本身又有屬性復雜的特點,傳統(tǒng)的管理和檢索方式正面臨著挑戰(zhàn)[1]。當前主流的GIS軟件對于海量的遙感數(shù)據(jù)缺乏高效的統(tǒng)一檢索和管理功能,且無法完成互聯(lián)網(wǎng)用戶直接查詢的需求,基于此種形勢,研究用戶通過網(wǎng)絡檢索和管理遙感影像的技術就變得尤為重要。

    在傳統(tǒng)的Web服務架構中,數(shù)據(jù)的操作和頁面的渲染都由服務端負責處理,這種架構的缺點較為明顯,就是拓展和維護的成本較高,開發(fā)者需要同時擁有兩種差別較大的技術儲備。所以后來出現(xiàn)了將兩者解耦的架構技術——前后端分離技術:兩者通過約定API和數(shù)據(jù)格式進行交互,前端僅僅關心頁面的渲染,后端則負責數(shù)據(jù)的操作。自從表現(xiàn)層狀態(tài)轉(zhuǎn)化(Representational State Transfer,REST)這一概念被提出后,被廣泛認可為Web應用架構設計應遵守的指導原則[2]。而RESTful是使用REST概念構造而來的,是用于規(guī)范API的一種約束,遵循其原則便可以設計出易于理解、方便調(diào)用的API。

    將RESTful Web API作為主要的后端服務架構應用于改善傳統(tǒng)遙感影像檢索的體驗,無論在科研還是商業(yè)化的應用中,都可以提高當前海量遙感數(shù)據(jù)的共享水平和效率。




本文詳細內(nèi)容請下載:http://m.ihrv.cn/resource/share/2000003528




作者信息:

王  昊1,2,特日根1,2,3

(1.長光衛(wèi)星技術有限公司,吉林 長春130000;

2.吉林省衛(wèi)星遙感應用技術重點實驗室,吉林 長春130000;

3.中國科學院 長春光學精密機械與物理研究所,吉林 長春130000)

此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權禁止轉(zhuǎn)載。