CN112416930A - Query method, storage method and related device for mixed time phase image map data - Google Patents

Query method, storage method and related device for mixed time phase image map data Download PDF

Info

Publication number
CN112416930A
CN112416930A CN202011293517.6A CN202011293517A CN112416930A CN 112416930 A CN112416930 A CN 112416930A CN 202011293517 A CN202011293517 A CN 202011293517A CN 112416930 A CN112416930 A CN 112416930A
Authority
CN
China
Prior art keywords
map
temporal
tile
image
stored
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
Application number
CN202011293517.6A
Other languages
Chinese (zh)
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.)
NATIONAL GEOMATICS CENTER OF CHINA
Original Assignee
NATIONAL GEOMATICS CENTER OF CHINA
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 NATIONAL GEOMATICS CENTER OF CHINA filed Critical NATIONAL GEOMATICS CENTER OF CHINA
Priority to CN202011293517.6A priority Critical patent/CN112416930A/en
Publication of CN112416930A publication Critical patent/CN112416930A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results

Abstract

The embodiment of the invention provides a query method, a storage method and a related device of mixed time phase image map data, and relates to the technical field of map services. The query method of the mixed time phase image map data comprises the steps of responding to a query instruction and matching target map tiles according to a browsing area; if the target map tile comprises a multi-temporal map set, obtaining a map image tile with a latest label from each group of multi-temporal map sets; and generating a query output result according to the acquired map image tiles so as to be displayed conveniently. The method and the system have the advantages that the multi-temporal image map service and the conventional image map service are considered, the related data of the two types of services do not need to be stored independently, and the storage redundancy of the image map data is avoided.

Description

Query method, storage method and related device for mixed time phase image map data
Technical Field
The invention relates to the technical field of map service, in particular to a query method, a storage method and a related device of mixed time phase image map data.
Background
In recent years, with the more prominent functions of remote sensing image data in the fields of national economic development, government management decision, resource environment monitoring, disaster prediction and evaluation and the like, providing a line remote sensing image map service has become an important requirement of the current geographic information public service.
Currently, the video map service is divided into a conventional video map service and a multi-temporal video map service. The conventional image map service generally adopts the latest image data to construct a set of image map aiming at a certain area; the multi-temporal video map is a video map service constructed by using a set of video data of different time series for a certain area. Although both services are video map services, data independent storage and services independent release and management have certain redundancy problems and bring additional storage and management costs.
Disclosure of Invention
In view of the above, the present invention provides a method for querying hybrid temporal image map data, a method for storing hybrid temporal image map data, and a related device.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, the present invention provides a method for querying mixed time-phase image map data, where the method for querying mixed time-phase image map data includes:
matching the target map tiles according to the browsing area in response to the query instruction;
if the target map tile comprises a multi-temporal map set, obtaining a map image tile with a latest label from each group of multi-temporal map sets; wherein the map image tiles with the latest acquisition time in the same group of multi-temporal map sets have the latest tags;
and generating a query output result according to the acquired map image tile so as to be displayed.
In an optional embodiment, the method for querying mixed-phase video map data further includes:
and if the target map tile comprises a multi-temporal map set and the query instruction comprises query time, obtaining the map image tile with the same temporal characteristics as the query time from the multi-temporal map set.
In an alternative embodiment, the step of matching the target map tile according to the browsing area comprises:
determining a map display area according to the browsing area;
obtaining the spatial range attribute corresponding to the existing map image tile; the query attribute features of the existing map image tiles meet query attribute information carried by the query instruction;
and determining the target map tile from the existing map image tiles according to the display map area and the spatial range attribute so as to enable the map area represented by the target map tile to be overlapped with the display map area.
In a second aspect, the present invention provides a method for storing mixed time-phase image map data, the method comprising:
obtaining map image tiles to be stored and corresponding metadata; the metadata comprises query attribute features, spatial range attributes and time phase information of the map image tiles to be stored;
inquiring whether a multi-temporal map set matched with the map image tile to be stored exists or not according to the metadata;
if the matched multi-temporal map set exists, comparing the map image tiles to be stored with temporal information of top-level image tiles in the multi-temporal map set; wherein the top-level image tile is a map image tile with a latest label;
under the condition that the time phase information of the map image tile to be stored is later than the top layer image tile, canceling the latest label of the top layer image tile, and endowing the latest label to the map image tile to be stored;
and storing the to-be-stored map image tiles to the matched multi-temporal map set.
In an alternative embodiment, the method further comprises:
and if the matched multi-temporal map set does not exist, creating a new multi-temporal map set based on the to-be-stored map image tile, and giving the latest label to the to-be-stored map image tile.
In a third aspect, the present invention provides an apparatus for querying mixed time-phase video map data, including:
the matching module is used for responding to the query instruction and matching the target map tiles according to the browsing area;
an obtaining module, configured to obtain a map image tile with a latest tag from each group of multi-temporal map sets if the target map tile includes the multi-temporal map set; wherein the map image tiles with the latest acquisition time in the same group of multi-temporal map sets have the latest tags;
and the generating module is used for generating a query output result according to the acquired map image tile so as to display the query output result.
In an optional embodiment, the apparatus for querying mixed-temporal image map data further includes:
the obtaining module is further configured to obtain a map image tile with a time phase feature that is the same as the query time from the multi-time phase map set if the target map tile includes the multi-time phase map set and the query instruction includes the query time.
In a fourth aspect, the present invention provides a storage device for hybrid time-phase video map data, the storage device for hybrid time-phase video map data including:
the acquisition module is used for acquiring the map image tiles to be stored and corresponding metadata; the metadata comprises query attribute features, spatial range attributes and time phase information of the map image tiles to be stored;
the query module is used for querying whether a multi-temporal map set matched with the map image tile to be stored exists or not according to the metadata;
the comparison module is used for comparing the map image tiles to be stored with the time phase information of the top image tiles in the multi-time phase map set if the matched multi-time phase map set exists; wherein the top-level image tile is a map image tile with a latest label;
an update module, configured to cancel the latest tag of the top-level image tile and assign the latest tag to the to-be-stored map image tile when the time phase information of the to-be-stored map image tile is later than the top-level image tile;
and the storage module is used for storing the to-be-stored map image tiles into the matched multi-temporal map set.
In a fifth aspect, the present invention provides an electronic device, including a processor and a memory, where the memory stores machine executable instructions capable of being executed by the processor, and the processor can execute the machine executable instructions to implement the method for querying mixed-phase temporal image map data according to any one of the foregoing embodiments; alternatively, the processor may execute the machine executable instructions to implement the method for storing hybrid temporal video map data according to the foregoing embodiment.
In a sixth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the method for querying mixed-time phase image map data according to any one of the foregoing embodiments; or when executed, implement the method for storing mixed-time-phase video map data as described in the foregoing embodiments.
Compared with the prior art, the query method of the mixed temporal image map data provided by the embodiment of the invention is used for matching the target map tiles according to the browsing area by responding to the query instruction; if the target map tile comprises a multi-temporal map set, obtaining a map image tile with a latest label from each group of multi-temporal map sets; and generating a query output result according to the acquired map image tiles so as to be displayed conveniently. The latest label is used as a medium, the multi-temporal image map service and the conventional image map service can be provided at the same time, the related data of the two services do not need to be stored separately, and the storage redundancy of the image map data is also avoided.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 shows a schematic diagram of an electronic device provided by an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a step of a method for storing hybrid temporal image map data according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a second step of the method for storing mixed-time-phase image map data according to the embodiment of the present invention.
Fig. 4 is a flowchart illustrating a method for querying mixed-phase image map data according to an embodiment of the present invention.
Fig. 5 is a schematic diagram illustrating a storage device for hybrid temporal image map data according to an embodiment of the present invention.
Fig. 6 is a schematic diagram illustrating an apparatus for querying mixed-time-phase image map data according to an embodiment of the present invention.
Icon: 100-an electronic device; 101-a memory; 102-a communication interface; 103-a processor; 104-a bus; 400-storage means of mixed-phase image map data; 401-an acquisition module; 402-a query module; 403-a comparison module; 404-an update module; 405-a storage module; 500-query means of mixed temporal image map data; 501-matching module; 502-an acquisition module; 503 — a generation module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Currently, the video map service is divided into a conventional video map service and a multi-temporal video map service. The conventional image map service generally adopts the latest image data to construct a set of image map aiming at a certain area; the multi-temporal video map is a video map service constructed by using a set of video data of different time series for a certain area. Although both services are video map services, data independent storage and services independent release and management have certain redundancy problems and bring additional storage and management costs. With the increasing of image data, the occupied space of data storage is larger and larger, and the traditional method has the problems of low efficiency, complex management, repeated investment and the like in the aspects of storage cost, data management and access efficiency.
In order to solve the above problem, embodiments of the present invention provide a method for querying multi-temporal image map data, a method for storing the multi-temporal image map data, and a related device.
Referring to fig. 1, fig. 1 is a block diagram illustrating an electronic device 100 according to an embodiment of the invention. The electronic device 100 may be, but is not limited to, a Personal Computer (PC), a server, a distributed deployment computer, and the like. It is to be understood that the electronic device 100 is not limited to a physical device, and may also be a computer that is laid out on the physical device, a virtual machine built on a cloud platform, or the like and can provide the same function as the server or the virtual machine.
The operating system of the electronic device 100 may be, but is not limited to, a Windows system, a Linux system, and the like. The above-mentioned electronic device 100 comprises a memory 101, a communication interface 102, a processor 103 and a bus 104, said memory 101, communication interface 102 and processor 103 being connected via the bus 104, the processor 103 being adapted to execute executable modules, such as computer programs, stored in the memory 101. The Memory 101 may include a high-speed Random Access Memory 101 (RAM) and may also include a non-volatile Memory 101 (e.g., at least one disk Memory 101). The communication connection between the electronic device 100 and external devices is realized through at least one communication interface 102 (which may be wired or wireless).
The bus 104 may be an ISA bus, PCI bus, EISA bus, or the like. Only one bi-directional arrow is shown in fig. 1, but this does not indicate only one bus or one type of bus.
In some embodiments, the memory 101 is used for storing a program, such as the query device 500 of the mixed-phase video map data shown in fig. 6. The query device 500 for hybrid phase image map data includes at least one software functional module, which may be stored in the memory 101 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the electronic device 100. After receiving the execution instruction, the processor 103 executes the program to implement the method for querying the hybrid temporal video map data disclosed in the above embodiment of the present invention.
In some embodiments, the memory 101 is used for storing a program, such as the storage device 400 of mixed-phase video map data shown in fig. 5. The storage device 400 of the hybrid phase image map data includes at least one software functional module that can be stored in the memory 101 in the form of software or firmware (firmware) or is fixed in an Operating System (OS) of the electronic device 100. After receiving the execution instruction, the processor 103 executes the program to implement the method for storing the hybrid temporal image map data according to the above embodiment of the present invention.
The processor 103 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 103. The Processor 103 may be a general-purpose Processor 103, and includes a Central Processing Unit (CPU) 103, a Network Processor 103 (NP), and the like; but may also be a digital signal processor 103(DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
It should be understood that the structure shown in fig. 1 is only a schematic structural diagram of the electronic device 100, and the electronic device 100 may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 2, fig. 2 shows a method for storing hybrid temporal image map data according to an embodiment of the present invention. The method for storing the hybrid temporal image map data can be applied to the electronic device 100. As shown in fig. 2, the method for storing mixed-time phase image map data may include the following steps:
step S101, obtaining the map image tiles to be stored and the corresponding metadata.
The map image tiles to be stored are map blocks divided from the map image information to be stored. In other words, the map image information to be stored may be divided into a plurality of map data blocks, each of which is a to-be-stored map image tile.
The map image tile to be stored comprises basic information such as a data volume, time phase information, Tag, a line number, a column number, a grade, a map layer, projection and the like. The data volume may represent geographical information of a region pointed by the map image tile to be stored. The time phase information is used for representing the acquisition time and the azimuth angle of the map image tile to be stored. The Tag, the line number and the column number are used for representing the position of the map image tile to be stored in the corresponding map image information, and can be uniquely mapped to a geographical area in the actual space. Generally, a map service may be divided into a plurality of levels (currently, it is common to divide the map service into 1 to 20 levels) according to the corresponding collection resolution of the map image, and the levels of the map image information collected by adopting the collection resolutions of different intervals are also different. Meanwhile, the levels corresponding to the map image tiles to be stored, which are divided by the same map image information, are the same.
The metadata comprises query attribute characteristics, spatial range attributes and time phase information of the map image tiles to be stored. The query attribute features may include, but are not limited to, information including level, administrative region, satellite type, resolution, and the like. The spatial range attribute is used for representing the range of the actual space pointed by the map image tile.
In some embodiments, the to-be-stored map image tiles and the corresponding metadata may be obtained from the received map image information.
Step S102, whether a multi-temporal map set matched with the map image tiles to be stored exists or not is inquired according to the metadata.
The multi-temporal map set includes map image tiles representing map images with matching temporal information and the same query attribute features, for example, map image tiles with the same level, administrative division, satellite type, and resolution.
In some embodiments, map image tiles may be stored in a distributed file database, MongoDB, with the metadata corresponding to the map image tiles stored in a spatial database, PostgreSQL.
In some embodiments, the step S102 may be to query the spatial database PostgreSQL with the metadata corresponding to the to-be-stored map image tile, and if the spatial database PostgreSQL queries the matching stored metadata, determine that the multi-temporal map set matching the to-be-stored map image tile exists.
It can be understood that if the metadata corresponding to the to-be-stored map image tile matches the metadata of the map image tile stored in the multi-temporal map set, the to-be-stored map image tile matches the multi-temporal map set.
In the case that a multi-temporal map set matching the map image tile to be stored exists, the metadata is used for accessing a storage space for storing the multi-temporal map set in a distributed file database MongoDB so as to read the map image tile stored in the multi-temporal map set from the storage space.
Step S103, if the matched multi-temporal map set exists, comparing the map image tiles to be stored with the temporal information of the top image tiles corresponding to the multi-temporal map set.
The top image tile is a map image tile with a latest label. Meanwhile, the corresponding top-level image tile may be an image tile having a latest tag among map image tiles located at the same position (the same row number, column number, and level) as the to-be-stored map image tile.
Usually, in the same multi-temporal map set, at the same position (the same row number, column number and level), the temporal information represents that the map image tile with the closest acquisition time has the latest label.
Therefore, before storing the to-be-stored map image tiles into the multi-temporal map set, the to-be-stored map image tiles need to be compared with the acquisition time of the top-level image tiles corresponding to the multi-temporal map set to determine whether to change the attribution of the latest identifier.
In some embodiments, the multi-temporal map set may be queried to determine whether there is a map image tile located at the same position as the to-be-stored map image tile. If so, the corresponding top-level image tile is obtained, and the flow proceeds to step S104. If not, the latest label is given to the map image tile to be stored without comparison, and the latest label is stored in the storage space corresponding to the multi-temporal map set.
And step S104, under the condition that the time phase information of the map image tile to be stored is later than the corresponding top-level image tile, canceling the latest label of the top-level image tile and endowing the latest label to the map image tile to be stored.
In some embodiments, the most recently identified attribution is not changed if the temporal information of the pending map image tile is earlier than the top-level image tile.
Step S105, storing the map image tiles to be stored into the matched multi-temporal map set.
In some embodiments, after determining whether the latest identifier needs to be assigned to the to-be-stored map image tile, the to-be-stored map image tile is stored in the storage space corresponding to the multi-temporal map set, so that the to-be-stored map image tile is added to the multi-temporal map set.
In some embodiments, as shown in fig. 3, the method may further include the steps of:
step S201, if there is no matching multi-temporal map set, a new multi-temporal map set is created based on the to-be-stored map image tile, and the latest tag is assigned to the to-be-stored map image tile.
Therefore, after the map image tiles are stored in the above manner, the map image tiles corresponding to a plurality of map areas can be queried by using the latest tags, the advantages of the multi-temporal image map can be retained, and the query can be performed according to time. Meanwhile, two pieces of map image information do not need to be stored, and redundancy of stored data is avoided.
Referring to fig. 4, fig. 4 shows a method for querying hybrid temporal image map data according to an embodiment of the present invention. The method for storing the hybrid temporal image map data can be applied to the electronic device 100. As shown in fig. 4, the method for storing mixed-time phase image map data may include the following steps:
step S301, responding to the query instruction, and matching the target map tiles according to the browsing area.
The query instruction may be generated in response to an operation by a user. The operation of the user may be, but is not limited to, specifying a browsing area on the interactive interface, or directly determining the entire display area of the interactive interface as the browsing area.
In some embodiments, the above-mentioned way of matching the target map tile according to the browsing area may be:
firstly, a display map area is determined according to a browsing area. For example, map data is displayed on the interactive interface, and when a user draws a browsing area on the interactive interface, the corresponding displayed map area can be obtained.
And secondly, acquiring the spatial range attribute corresponding to the existing map image tile. The query attribute features of the existing map image tiles satisfy the query attribute information carried by the query instruction. For example, the information of the level, the administrative region, the satellite type, the resolution, etc. is the same.
And finally, determining a target map tile from the existing map image tiles according to the attributes of the map display area and the space range.
And the map area represented by the target map tile is overlapped with the display map area. The map area represented by the target map tile can be determined according to the spatial range attribute corresponding to the target map tile.
Step S302, if the target map tiles include multi-temporal map sets, map image tiles with the latest labels are obtained from each group of multi-temporal map sets.
It is understood that there may be image tiles with phase features among the stored map image tiles, or there may be image tiles without phase features, which exist in the form of a multi-phase map set with respect to image tiles with phase features. Of course, image tiles without temporal features may also have spatial range information and may therefore be matched.
The map image tiles with the latest acquisition time in the map image tiles representing the same position in the same group of multi-temporal map sets have the latest labels.
Step S303, generating a query output result according to the obtained map image tile, so as to display the query output result.
The steps are all triggered under the scene that the user selects the conventional image map service. Of course, the user may also select a multi-temporal video map service, that is, select to present video map data acquired at different times.
In this way, in some embodiments, the method for querying mixed-phase image map data further includes: and if the target map tile comprises the multi-temporal map set and the query instruction comprises query time, obtaining the map image tile with the temporal characteristics matched with the query time from the multi-temporal map set. The phase feature may be an acquisition time in the phase information.
In order to execute the corresponding steps in the above-described embodiment and various possible manners, an implementation manner of the storage device 400 of mixed time-phase image map data is given below, and optionally, the storage device 400 of mixed time-phase image map data may adopt the device structure of the electronic device 100 shown in fig. 1. Further, referring to fig. 5, fig. 5 is a functional block diagram of a storage apparatus 400 for hybrid temporal image map data according to an embodiment of the present invention. It should be noted that the basic principle and the resulting technical effects of the storage device 400 for mixed-time phase image map data provided in the present embodiment are the same as those of the above embodiments, and for the sake of brief description, reference may be made to corresponding contents in the above embodiments for parts that are not mentioned in the present embodiment. The storage device 400 for mixed-phase video map data includes: the device comprises an acquisition module 401, a query module 402, a comparison module 403, an update module 404 and a storage module 405.
An obtaining module 401, configured to obtain a map image tile to be stored and corresponding metadata; the metadata comprises query attribute features, spatial range attributes and time phase information of the map image tiles to be stored.
A query module 402, configured to query whether a multi-temporal map set matching the to-be-stored map image tile exists according to the metadata.
A comparing module 403, configured to compare the map image tile to be stored with time phase information of a top-level image tile in the multi-time phase map set if the matched multi-time phase map set exists; wherein the top-level image tile is a map image tile with a latest label.
An updating module 404, configured to cancel the latest tag of the top-level image tile and assign the latest tag to the to-be-stored map image tile when the time phase information of the to-be-stored map image tile is later than the top-level image tile.
A storage module 405, configured to store the to-be-stored map image tile to the matched multi-temporal map set.
In addition, an implementation manner of the query apparatus 500 for hybrid time-phase video map data is also provided, and optionally, the query apparatus 500 for hybrid time-phase video map data may adopt the device structure of the electronic device 100 shown in fig. 1. Further, referring to fig. 6, fig. 6 is a functional block diagram of an apparatus 500 for querying mixed temporal image map data according to an embodiment of the present invention. It should be noted that the basic principle and the resulting technical effects of the query device 500 for mixed-time-phase image map data provided in the present embodiment are the same as those of the above embodiments, and for the sake of brief description, reference may be made to corresponding contents in the above embodiments for parts that are not mentioned in the present embodiment. The apparatus 500 for querying mixed-phase image map data includes: a matching module 501, an obtaining module 502 and a generating module 503.
And the matching module 501 is configured to, in response to the query instruction, match the target map tile according to the browsing area.
An obtaining module 502, configured to obtain a map image tile with a latest label from each group of multi-temporal map sets if the target map tile includes a multi-temporal map set; and the map image tiles with the latest acquisition time in the same group of multi-temporal map sets have the latest labels.
A generating module 503, configured to generate a query output result according to the obtained map image tile, so as to display the query output result.
Alternatively, the modules may be stored in the memory 101 shown in fig. 1 in the form of software or Firmware (Firmware) or be fixed in an Operating System (OS) of the electronic device 100, and may be executed by the processor 103 in fig. 1. Meanwhile, data, codes of programs, and the like required to execute the above modules may be stored in the memory 101.
In summary, the query method, the storage method and the related apparatus for hybrid temporal image map data according to the embodiments of the present invention provide that the query method for hybrid temporal image map data includes responding to a query instruction, and matching a target map tile according to a browsing area; if the target map tile comprises a multi-temporal map set, obtaining a map image tile with a latest label from each group of multi-temporal map sets; and generating a query output result according to the acquired map image tiles so as to be displayed conveniently. The method and the system have the advantages that the multi-temporal image map service and the conventional image map service are considered, the related data of the two types of services do not need to be stored independently, and the storage redundancy of the image map data is avoided.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by 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 method for querying mixed time-phase image map data, the method comprising:
matching the target map tiles according to the browsing area in response to the query instruction;
if the target map tile comprises a multi-temporal map set, obtaining a map image tile with a latest label from each group of multi-temporal map sets; wherein the map image tiles with the latest acquisition time in the same group of multi-temporal map sets have the latest tags;
and generating a query output result according to the acquired map image tile so as to be displayed.
2. The method for querying mixed-phase video map data according to claim 1, further comprising:
and if the target map tile comprises a multi-temporal map set and the query instruction comprises query time, obtaining a map image tile with temporal features matched with the query time from the multi-temporal map set.
3. The method as claimed in claim 1, wherein the step of matching the target map tile according to the browsing area comprises:
determining a map display area according to the browsing area;
obtaining the spatial range attribute corresponding to the existing map image tile; the query attribute features of the existing map image tiles meet query attribute information carried by the query instruction;
and determining the target map tile from the existing map image tiles according to the display map area and the spatial range attribute so as to enable the map area represented by the target map tile to be overlapped with the display map area.
4. A method for storing hybrid time-phase image map data, the method comprising:
obtaining map image tiles to be stored and corresponding metadata; the metadata comprises query attribute features, spatial range attributes and time phase information of the map image tiles to be stored;
inquiring whether a multi-temporal map set matched with the map image tile to be stored exists or not according to the metadata;
if the matched multi-temporal map set exists, comparing the map image tiles to be stored with temporal information of top-level image tiles in the multi-temporal map set; wherein the top-level image tile is a map image tile with a latest label;
under the condition that the time phase information of the map image tile to be stored is later than the top layer image tile, canceling the latest label of the top layer image tile, and endowing the latest label to the map image tile to be stored;
and storing the to-be-stored map image tiles to the matched multi-temporal map set.
5. The method for storing hybrid temporal video map data according to claim 4, further comprising:
and if the matched multi-temporal map set does not exist, creating a new multi-temporal map set based on the to-be-stored map image tile, and giving the latest label to the to-be-stored map image tile.
6. An apparatus for searching for hybrid temporal image map data, the apparatus comprising:
the matching module is used for responding to the query instruction and matching the target map tiles according to the browsing area;
an obtaining module, configured to obtain a map image tile with a latest tag from each group of multi-temporal map sets if the target map tile includes the multi-temporal map set; wherein the map image tiles with the latest acquisition time in the same group of multi-temporal map sets have the latest tags;
and the generating module is used for generating a query output result according to the acquired map image tile so as to display the query output result.
7. The apparatus for searching for hybrid temporal video map data according to claim 6, further comprising:
the obtaining module is further configured to obtain a map image tile with a time phase feature that is the same as the query time from the multi-time phase map set if the target map tile includes the multi-time phase map set and the query instruction includes the query time.
8. A storage device for hybrid time-phase video map data, the storage device for hybrid time-phase video map data comprising:
the acquisition module is used for acquiring the map image tiles to be stored and corresponding metadata; the metadata comprises query attribute features, spatial range attributes and time phase information of the map image tiles to be stored;
the query module is used for querying whether a multi-temporal map set matched with the map image tile to be stored exists or not according to the metadata;
the comparison module is used for comparing the map image tiles to be stored with the time phase information of the top image tiles in the multi-time phase map set if the matched multi-time phase map set exists; wherein the top-level image tile is a map image tile with a latest label;
an update module, configured to cancel the latest tag of the top-level image tile and assign the latest tag to the to-be-stored map image tile when the time phase information of the to-be-stored map image tile is later than the top-level image tile;
and the storage module is used for storing the to-be-stored map image tiles into the matched multi-temporal map set.
9. An electronic device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor to implement the method of querying hybrid temporal video map data according to any one of claims 1 to 3; alternatively, the processor may execute the machine executable instructions to implement the method of storing mixed-phase video map data according to claim 4 or 5.
10. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing a method of querying mixed-phase image map data according to any one of claims 1 to 3; or when executed, implement the method for storing mixed-phase video map data according to claim 4 or 5.
CN202011293517.6A 2020-11-18 2020-11-18 Query method, storage method and related device for mixed time phase image map data Pending CN112416930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011293517.6A CN112416930A (en) 2020-11-18 2020-11-18 Query method, storage method and related device for mixed time phase image map data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011293517.6A CN112416930A (en) 2020-11-18 2020-11-18 Query method, storage method and related device for mixed time phase image map data

Publications (1)

Publication Number Publication Date
CN112416930A true CN112416930A (en) 2021-02-26

Family

ID=74774513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011293517.6A Pending CN112416930A (en) 2020-11-18 2020-11-18 Query method, storage method and related device for mixed time phase image map data

Country Status (1)

Country Link
CN (1) CN112416930A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342916A (en) * 2021-06-22 2021-09-03 中煤航测遥感集团有限公司 Geographic label image file format data processing method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342916A (en) * 2021-06-22 2021-09-03 中煤航测遥感集团有限公司 Geographic label image file format data processing method and device and electronic equipment
CN113342916B (en) * 2021-06-22 2024-01-26 中煤航测遥感集团有限公司 Geographic tag image file format data processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US8352480B2 (en) Methods, apparatuses and computer program products for converting a geographical database into a map tile database
CN110502599B (en) Map data query method and device and computer readable storage medium
CN108712519B (en) Method and device for positioning IP address and storage medium
US20070213929A1 (en) Computer readable medium storing a map data updating program and map data updating terminal
KR20100068468A (en) Method, apparatus and computer program product for performing a visual search using grid-based feature organization
US8996551B2 (en) Managing geographic region information
CN102257493A (en) Geocoding personal information
CN111767407A (en) Encoding knowledge graph entries with searchable geo-temporal values to assess transitive geo-temporal proximity of entity mentions
CN108920476B (en) Map retrieval route calculation engine test system and test method thereof
CN104252495A (en) Method and system for grading road sections
US10161753B2 (en) In-vehicle apparatus and map data management system
CN112417199A (en) Remote sensing image retrieval method, device, system and storage medium
CN112416930A (en) Query method, storage method and related device for mixed time phase image map data
CN110287344B (en) Image product data acquisition method and device
WO2009017847A1 (en) Apparatus, and an associated method, for forming a traffic route visualization
CN105556510B (en) Map information processing device, data generation method, and program
US20150248192A1 (en) Semi-Automated Generation of Address Components of Map Features
CN113505139B (en) Remote sensing image automatic updating and history backtracking method and device based on single service
US9436715B2 (en) Data management apparatus and data management method
CN116150295A (en) Local updating method, device and equipment of tile data and storage medium
CN114357318A (en) Multi-dimensional track data display method and device and electronic equipment
KR20120000327A (en) Partial updating system of map data
JP6370082B2 (en) Information processing apparatus, information processing method, and program
CN113590907A (en) Camera management method and device, electronic equipment and storage medium
CN108255931B (en) Website navigation method and server

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