CN113495932A - General aerospace big data efficient caching method and device based on OGC standard service - Google Patents
General aerospace big data efficient caching method and device based on OGC standard service Download PDFInfo
- Publication number
- CN113495932A CN113495932A CN202010196929.1A CN202010196929A CN113495932A CN 113495932 A CN113495932 A CN 113495932A CN 202010196929 A CN202010196929 A CN 202010196929A CN 113495932 A CN113495932 A CN 113495932A
- Authority
- CN
- China
- Prior art keywords
- target data
- image request
- ogc
- service
- application
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/54—Browsing; Visualisation therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Remote Sensing (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application provides a general aerospace big data high-efficiency caching method and device based on OGC standard service. The caching method comprises the following steps: receiving an image request from an application; judging whether target data of the image request exists in a local cache, if so, reading the target data from the local cache, and if not, sending the image request to an OGC service and acquiring the target data from the OGC service; and returning the target data to the application. The invention supports various App and Web applications and realizes the function of off-line use.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a general aerospace big data efficient caching method and device based on OGC standard service.
Background
In the big data era, three-dimensional visualization has become an essential key technology in the aspects of terrain analysis, geographic process simulation, auxiliary decision making and the like. GIS is becoming more and more urgent needs of the country and land, surveying and mapping industry. High-reduction simulation and important decision are not separated from the support of large-batch and high-precision aerospace big data. The storage and transmission of data affect the display effect and the timeliness of decision.
The current three-dimensional display mainly comprises two types, one type is a PC segment product taking traditional software as a main part and relying on a PC end App, and the other type is a web page based on a WebGL technology. The former can make full use of system space, so local cache of browsing data can be achieved, but because a cache mechanism of a plurality of PC end software is closely combined with the own software, the cache mechanism cannot be stripped for other Apps, and the latter can only use limited space due to the limitation of a browser and seriously depends on a network.
Disclosure of Invention
The invention aims to provide a general aerospace big data high-efficiency caching method and device based on OGC standard service, which realize the function of supporting various App and Web applications by processing data and can realize off-line use.
Therefore, according to a first aspect of the present invention, a general aerospace big data efficient caching method based on OGC standard service is provided, which includes the following steps:
receiving an image request from an application;
judging whether target data of the image request exists in a local cache, if so, reading the target data from the local cache, and if not, sending the image request to an OGC service and acquiring the target data from the OGC service;
and returning the target data to the application.
Further, the applications include apps and/or Web applications.
Further, after receiving an image request from an application, judging whether the image request conforms to an OGC standard service, if so, judging whether target data of the image request exists in a local cache.
Further, still include:
and storing the target data acquired from the OGC service into a local cache.
According to a second aspect of the present invention, there is provided a general aerospace big data high-efficiency cache device based on OGC standard service, including:
a receiving module for receiving an image request from an application;
a judging module for judging whether the target data of the image request exists in the local cache,
the acquisition module is used for reading the target data from a local cache under the condition that the judgment result is yes, sending the image request to an OGC service under the condition that the judgment result is no, and acquiring the target data from the OGC service;
and the return module is used for returning the target data to the application.
Further, the applications include apps and/or Web applications.
Further, the judging module comprises:
a first judgment unit, configured to judge whether an image request from an application conforms to an OGC standard service after receiving the image request;
and the second judging unit is used for judging whether the target data of the image request exists in the local cache or not under the condition that the judgment result of the first judging unit is yes.
Further, still include:
and the storage module is used for storing the target data acquired from the OGC service into a local cache.
According to a third aspect of the present invention there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the method as set forth in the first aspect.
According to a fourth aspect of the present invention, there is provided a computer readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method as set forth in the first aspect.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
The invention has the beneficial effects that: compared with the prior art, the general cache scheme based on the OGC standard service provided by the invention has the advantages that the data access is carried out by intercepting and capturing the network request of App or Web application, the local storage of the accessed data is supported, and for the data which is accessed once, the data can be stored locally in various forms such as a database, a file and the like, so that when a client cannot be connected with an OGC server, the browsing of the accessed data is not influenced, and the function of offline use is realized.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a general aerospace big data efficient caching method based on OGC standard service according to an embodiment of the present invention.
Fig. 2 is a block diagram of a general aerospace big data high-efficiency cache device based on OGC standard service according to an embodiment of the invention.
Fig. 3 is a schematic structural diagram of a determining module in a general aerospace big data high-efficiency cache device based on OGC standard service according to an embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and detailed description. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
As shown in fig. 1, according to an embodiment of the present invention, a general aerospace big data efficient caching method based on OGC standard service is provided, which includes the following steps:
s11, receiving an image request from an application;
and receiving an image request sent by the App and/or the Web application through the image request agent.
S12, judging whether the target data of the image request exists in the local cache, if so, reading the target data from the local cache, if not, sending the image request to an OGC service, and acquiring the target data from the OGC service;
and judging whether the image request conforms to OGC standard service, if so, judging whether target data of the image request is in a local cache, if so, reading the target data from the local cache, otherwise, sending the image request to the OGC service, and acquiring the target data from the OGC service.
S13, returning the target data to the application;
and acquiring the target data from the OGC service, returning the target data to the application, and storing the returned target data in a local cache.
An embodiment of the present invention further provides a system for efficient caching of general aerospace big data based on OGC standard service, as shown in fig. 2, including:
a receiving module 21, configured to receive an image request from an application;
through the receiving module 21, the image request sent by the App and/or the Web application through the image request agent is received.
A judging module 22, configured to judge whether target data of the image request exists in a local cache;
as shown in fig. 3, the determining module 22 includes:
a first judgment unit 221 configured to, after receiving an image request from an application, judge whether the image request conforms to an OGC standard service;
a second judging unit 222, configured to judge whether the target data of the image request exists in the local cache if a judgment result of the first judging unit is yes.
After receiving the image request, the receiving module 21 firstly determines whether the image request conforms to the OGC standard service through the first determining unit 221, and if so, determines whether the image request is in the local cache through the second determining unit 222.
An obtaining module 23, configured to, if the determination result of the second determining unit 222 is yes, read the target data from the local cache, and if the determination result of the second determining unit 222 is no, send the image request to the OGC service, and obtain the target data from the OGC service;
if the image request judged by the judging unit 222 is in the local cache, the target data is read from the local cache through the obtaining module 23, and if the image request judged by the judging unit 222 is not in the local cache, the image request is sent to the OGC service through the obtaining module 23, and the target data is obtained from the OGC service.
A return module 24, configured to return the target data to the application.
The target data acquired by the acquisition module 23 from the OGC service is returned to the application through the return module 24.
And the storage module 25 is used for storing the target data returned by the return module 24 into a local cache.
According to yet another embodiment of the invention, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method described with reference to fig. 1 when executing the program.
According to yet another embodiment of the invention, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the method described with reference to fig. 1.
Interpretation of terms:
ogc (open Geospatial consortium), open Geospatial consortium, also translated into a Geospatial consortium, originated in 1994, is an international, voluntary negotiation standardization organization.
Application software, short for computer software.
It will be understood by those of ordinary skill in the art that all or part of the steps of the methods of the embodiments described above may be implemented by instructions associated with hardware via a program, and the program may be stored in a computer-readable storage medium, which includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable rewritable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape Memory, or other Memory, Or any other medium which can be used to carry or store data and which can be read by a computer.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A general aerospace big data efficient caching method based on OGC standard service is characterized by comprising the following steps:
receiving an image request from an application;
judging whether target data of the image request exists in a local cache, if so, reading the target data from the local cache, and if not, sending the image request to an OGC service and acquiring the target data from the OGC service;
and returning the target data to the application.
2. The method of claim 1, wherein the application comprises an App and/or a Web application.
3. The method of claim 1, wherein after receiving the image request from the application, determining whether the image request conforms to an OGC standard service, and if so, determining whether target data of the image request exists in a local cache.
4. The method of claim 1, further comprising:
and storing the target data acquired from the OGC service into a local cache.
5. A general aerospace big data high-efficiency cache device based on OGC standard service is characterized by comprising:
a receiving module for receiving an image request from an application;
the judging module is used for judging whether the target data of the image request exists in a local cache or not;
the acquisition module is used for reading the target data from a local cache under the condition that the judgment result is yes, sending the image request to an OGC service under the condition that the judgment result is no, and acquiring the target data from the OGC service;
and the return module is used for returning the target data to the application.
6. The apparatus of claim 4, wherein the application comprises an App and/or a Web application.
7. The apparatus of claim 4, wherein the determining module comprises:
a first judgment unit, configured to judge whether an image request from an application conforms to an OGC standard service after receiving the image request;
and the second judging unit is used for judging whether the target data of the image request exists in the local cache or not under the condition that the judgment result of the first judging unit is yes.
8. The apparatus of claim 4, further comprising:
and the storage module is used for storing the target data acquired from the OGC service into a local cache.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the method of any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010196929.1A CN113495932A (en) | 2020-03-19 | 2020-03-19 | General aerospace big data efficient caching method and device based on OGC standard service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010196929.1A CN113495932A (en) | 2020-03-19 | 2020-03-19 | General aerospace big data efficient caching method and device based on OGC standard service |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113495932A true CN113495932A (en) | 2021-10-12 |
Family
ID=77994301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010196929.1A Pending CN113495932A (en) | 2020-03-19 | 2020-03-19 | General aerospace big data efficient caching method and device based on OGC standard service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113495932A (en) |
-
2020
- 2020-03-19 CN CN202010196929.1A patent/CN113495932A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110046133B (en) | Metadata management method, device and system for storage file system | |
CN110851209B (en) | Data processing method and device, electronic equipment and storage medium | |
CN106909595B (en) | Data migration method and device | |
CN109167840B (en) | Task pushing method, node autonomous server and edge cache server | |
CN105224609A (en) | Index query method and device | |
CN113127420B (en) | Metadata request processing method, device, equipment and medium | |
CN113360519A (en) | Data processing method, device, equipment and storage medium | |
CN112954043A (en) | Method for identifying user based on website access log and computer equipment | |
CN102508892A (en) | System and method for quickly previewing pictures | |
CN109783462B (en) | Data access method and device based on distributed file system | |
CN111767297A (en) | Big data processing method, device, equipment and medium | |
CN103269353A (en) | Web cache and return optimization method and Web cache system | |
CN110674427A (en) | Method, device, equipment and storage medium for responding to webpage access request | |
CN112764874B (en) | Virtual machine server information acquisition method based on CMDB configuration management system | |
CN103067495B (en) | A kind of method of pushed information and device | |
CN113495932A (en) | General aerospace big data efficient caching method and device based on OGC standard service | |
CN111414235A (en) | Method for identifying Android application running in simulator based on symbols | |
CN115374109B (en) | Data access method, device, computing equipment and system | |
CN110769072A (en) | Multimedia resource acquisition method, device and storage medium | |
CN110750602A (en) | Method and device for determining site to which order address belongs | |
CN114519037A (en) | Table online previewing method, device and system | |
CN107679093B (en) | Data query method and device | |
CN112286777A (en) | PC equipment parameter data quality inspection method, system and server | |
CN110717074B (en) | Object persistence methods, apparatus, media and systems | |
CN114201496A (en) | Data updating method and device, electronic equipment, system and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |