Image management methods
By receiving the geographic location information of user terminals and publishing image service identifiers, image slicing technology is used to solve the problem of low browsing efficiency in traditional image services, and realize the effect of efficient, dynamic, and spatiotemporal online image query.
Patent Information
- Application Number
- CN202110446366.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-23
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2041-04-23
AI Technical Summary
Traditional massive time-series image services use discrete time nodes, which makes it impossible to effectively browse multiple images of the same area at different times. Static versioned services process large amounts of data, affecting browsing efficiency and lacking continuous scalability, making it difficult to meet the needs of efficient, dynamic, spatiotemporal query and browsing in the era of big data images.
By receiving the geographic location information of user terminals, the system obtains and publishes the service identifier for each image. Using image slicing technology, the images are published as multiple services and sent to user terminals for display based on the service identifiers, supporting efficient online image query and browsing.
It enables efficient online image query and browsing, improves user experience, and can accurately obtain target images based on information such as the image's shooting time, type, resolution, and spatial range, meeting the dynamic and spatiotemporal query needs of the image big data era.
Smart Images

Figure CN113139074B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of imaging technology, and more specifically, to an image management method. Background Technology
[0002] Traditional massive time-series image services are mainly based on version management mode, which uses discrete time nodes in terms of time. Images with similar times or a certain time period are often regarded as a version, i.e. a time point. The originally continuously acquired images are constructed into discrete time nodes. When there are many images corresponding to the same version, (1) when there are multiple images with different times in the same area, the static version image service can only display the top image, and the lower images are overlaid and cannot be effectively browsed; (2) when there are multiple images in the same year, the static version service only has one version time, which is generally an image of a certain year. It is difficult to express the real time of different images in the service; (3) when there are too many images corresponding to a service, the static version image service processes too much data, which seriously affects the browsing efficiency and does not have continuous scalability, making it difficult to meet the needs of online efficient, dynamic, spatiotemporal query and browsing of massive images in the era of big data images.
[0003] Application content
[0004] Therefore, the purpose of this application is to provide an image management method to achieve efficient online, spatiotemporal, and dynamic image query and browsing.
[0005] In a first aspect, embodiments of this application provide an image management method, the method comprising: receiving a request instruction sent by a user terminal, wherein the request instruction includes: geographic location information corresponding to the content of an image to be displayed; obtaining a service identifier for each image to be displayed corresponding to the geographic location information based on the geographic location information; wherein at least two images to be displayed have different service identifiers; and obtaining and sending the image to be displayed corresponding to the service identifier to the user terminal for display.
[0006] In the above implementation process, for multiple images belonging to the same geographic location information, each of the multiple images is published as a service, wherein at least two of the images have different service identifiers. Then, after obtaining the geographic location information corresponding to the content of the image to be displayed, the service identifier of each image to be displayed corresponding to the geographic location information is obtained according to the geographic location information, and then the image corresponding to the service identifier is obtained according to the service identifier. Since the number of images corresponding to each service is small, efficient online image query and browsing can be achieved.
[0007] Based on the first aspect, in one possible design, acquiring and sending the image to be displayed corresponding to the service identifier to the user terminal for display includes: acquiring the image identifier of each image corresponding to the service identifier; wherein, the image identifiers of different images are different; acquiring and sending the image to be displayed corresponding to the image identifier of each image to the user terminal for display.
[0008] Based on the first aspect, in one possible design, obtaining the service identifier of each image to be displayed corresponding to the geographic location information includes: obtaining the image corresponding to the geographic location information; slicing the corresponding image to obtain multiple images to be displayed; publishing a service based on the multiple images to be displayed; wherein at least two of the images to be displayed publish different services; and identifying each service to obtain the service identifier of each service.
[0009] In the above implementation process, after obtaining the geographic location information, the image corresponding to the geographic location information is sliced in real time and published as a service, reducing the space required to store the image slices.
[0010] Based on the first aspect, in one possible design, obtaining the service identifier of each image to be displayed corresponding to the geographic location information includes: obtaining the service identifier of each image to be displayed corresponding to the geographic location information from a pre-stored correspondence between image service identifiers and location information. In the above implementation, after obtaining the geographic location information corresponding to the content of the image to be displayed, the service identifier of each image to be displayed corresponding to the geographic location information is quickly obtained from the pre-stored correspondence between image service identifiers and location information, thereby enabling the rapid acquisition of the image corresponding to the service identifier.
[0011] Based on the first aspect, in one possible design, obtaining the service identifier of each image to be displayed corresponding to the geographical location information from the pre-stored correspondence between image service identifiers and location information includes: obtaining the service identifier and time information of each image to be displayed corresponding to the geographical location information from the pre-stored correspondence between image service identifiers, image capture time and location information; obtaining and sending the image to be displayed corresponding to the service identifier to the user terminal for display includes: obtaining and sending the image to be displayed corresponding to the service identifier to the user terminal for display in sequence based on the time sequence of the time information of each image to be displayed.
[0012] In the above implementation process, images with the same geographical location information may correspond to different shooting times. Therefore, the service identifier, shooting time, and location information of each image are stored accordingly. When multiple images to be displayed are obtained, the service identifiers corresponding to the multiple time information are loaded sequentially according to their chronological order. The images to be displayed, corresponding to the service identifiers, are then retrieved and sent to the user terminal for display. This method enables the display of images according to their shooting time chronologically, improving the user experience.
[0013] Based on the first aspect, in one possible design, obtaining the service identifier of each image to be displayed corresponding to the geographic location information from a pre-stored correspondence between image service identifiers and location information includes: obtaining the service identifier and time information of each image to be displayed corresponding to the geographic location information from a pre-stored correspondence between image service identifiers, image capture time, and location information; obtaining and sending the image to be displayed corresponding to the service identifier to the user terminal for display includes: sending the time information of each image to be displayed to the user terminal for display; receiving an instruction from the user terminal indicating the selection of a target time point among multiple time information; and responding to the instruction by obtaining and sending the image to be displayed corresponding to the target time point to the user terminal for display.
[0014] In the above implementation process, by sending the time information of all images to be displayed to the user terminal for display, the user terminal can freely adjust the order of image display by selecting target time points from multiple time information.
[0015] Based on the first aspect, in one possible design, sending the time information of each of the images to be displayed to the user terminal for display includes: sending the time information of each of the images to be displayed to the user terminal so that the user terminal displays the time information of each of the images to be displayed in the form of a timeline.
[0016] In the above implementation process, by displaying the time information of each image to be displayed in the form of a timeline on the user terminal, the user can more intuitively understand the time information of the image to be displayed. In turn, the user can obtain the image to be displayed corresponding to any time point by clicking on any time point on the timeline, thereby improving the user experience.
[0017] Based on the first aspect, in one possible design, the request instruction further includes: the image type of the image to be displayed, obtaining the service identifier of each image to be displayed corresponding to the geographic location information from a pre-stored correspondence between image service identifiers and location information, including: obtaining the service identifier of each image to be displayed corresponding to the geographic location information and the image type from a pre-stored correspondence between image service identifiers and types and location information.
[0018] In the above implementation process, since the image types of all images to be displayed that belong to the same location information may be different, the correspondence between image service identifiers and type and location information is established and stored. Then, after obtaining the geographic location information of all images to be displayed, the service identifier of each image to be displayed corresponding to the geographic location information and the image type can be obtained from the pre-stored correspondence between image service identifiers and type and location information. In this way, the target image to be displayed can be obtained more accurately from all images to be displayed.
[0019] Based on the first aspect, in one possible design, the request instruction further includes: the image resolution of the image to be displayed; obtaining the service identifier of each image to be displayed corresponding to the geographic location information from a pre-stored correspondence between image service identifiers and type and location information, including: obtaining the service identifier of each image to be displayed corresponding to the geographic location information and the image resolution from a pre-stored correspondence between image service identifiers and resolution and location information.
[0020] In the above implementation process, since the image resolutions of all images to be displayed that belong to the same location information may be different, it is necessary to establish and store the correspondence between image service identifiers and resolution and location information. Then, after obtaining the geographic location information of all images to be displayed, the service identifier of each image to be displayed can be obtained from the pre-stored correspondence between image service identifiers and type, resolution and location information, which corresponds to the geographic location information, the image type and the image resolution. In this way, the target image to be displayed can be obtained more accurately from all images to be displayed.
[0021] Based on the first aspect, in one possible design, obtaining the service identifier of each image to be displayed corresponding to the geographic location information from the pre-stored correspondence between image service identifiers and location information includes: obtaining target geographic location information that has a spatial range that intersects with the geographic location information from the pre-stored location information; and obtaining the service identifier of each image to be displayed corresponding to the target geographic location information from the pre-stored correspondence between image service identifiers and location information.
[0022] In the above implementation process, by acquiring location information that represents the spatial range of each image and storing it in a one-to-one correspondence with the service identifier of the image, when the spatial range of the geographic location information is acquired, the target geographic location information that intersects with the spatial range of the geographic location information is obtained from the pre-stored location information. Then, the service identifier of each image to be displayed corresponding to the target geographic location information can be obtained from the pre-stored correspondence between image service identifiers and location information. In this way, all images to be displayed that intersect with the spatial range of the geographic location information can be acquired.
[0023] Secondly, embodiments of this application provide an image management device, the device comprising: a request instruction receiving unit, configured to receive a request instruction sent by a user terminal, wherein the request instruction includes: geographic location information corresponding to the content of an image to be displayed; a URL acquisition unit, configured to acquire, based on the geographic location information, a service identifier for each image to be displayed corresponding to the geographic location information; wherein at least two images to be displayed have different service identifiers; and an image display unit, configured to acquire and send the image to be displayed corresponding to the service identifier to the user terminal for display.
[0024] Based on the second aspect, in one possible design, the image display unit is specifically used to acquire the image identifiers of each image corresponding to the service identifier; wherein, the image identifiers of different images are different; and to display the image to be displayed corresponding to the image identifiers of each image on the user terminal.
[0025] Based on the second aspect, in one possible design, the URL acquisition unit is specifically used to acquire an image corresponding to the geographic location information; slice the corresponding image to obtain multiple images to be displayed; publish a service based on the multiple images to be displayed; wherein at least two of the images to be displayed publish different services; and identify each service to obtain a service identifier for each service.
[0026] Based on the second aspect, in one possible design, the URL acquisition unit is further configured to obtain, based on the geographic location information, the service identifier of each image to be displayed corresponding to the geographic location information from a pre-stored correspondence between image service identifiers and location information.
[0027] Based on the second aspect, in one possible design, the URL acquisition unit is further configured to acquire the service identifier and time information of each image to be displayed corresponding to the geographic location information from a pre-stored correspondence between image service identifiers, image capture time and location information; the image display unit is further configured to sequentially acquire and send the images to be displayed corresponding to the service identifiers to the user terminal for display based on the chronological order of the time information of each image to be displayed.
[0028] Based on the second aspect, in one possible design, the URL acquisition unit is further configured to acquire, from a pre-stored correspondence between image service identifiers, image capture time, and location information, the service identifier and time information of each image to be displayed corresponding to the geographic location information; the image display unit includes: a time information display unit, configured to send the time information of each image to be displayed to the user terminal for display; a time instruction receiving unit, configured to receive an instruction sent by the user terminal representing the selection of a target time point among multiple time information; and an instruction response unit, configured to respond to the instruction, acquire and send the image to be displayed corresponding to the target time point to the user terminal for display.
[0029] Based on the second aspect, in one possible design, the time information display unit is further configured to send the time information of each of the images to be displayed to the user terminal, so that the user terminal displays the time information of each of the images to be displayed in the form of a timeline.
[0030] Based on the second aspect, in one possible design, the request instruction further includes: the image type of the image to be displayed; the URL acquisition unit is further configured to obtain the service identifier of each image to be displayed corresponding to the geographic location information and the image type from a pre-stored correspondence between image service identifiers and type and location information.
[0031] Based on the second aspect, in one possible design, the request instruction further includes: the image resolution of the image to be displayed; the URL acquisition unit is further configured to obtain the service identifier of each image to be displayed corresponding to the geographic location information and the image resolution from a pre-stored correspondence between image service identifiers and resolution and location information.
[0032] Based on the second aspect, in one possible design, the URL acquisition unit is further configured to acquire target geographic location information that intersects with the geographic location information in terms of spatial range from the pre-stored location information; and to acquire the service identifier of each image to be displayed corresponding to the target geographic location information from the pre-stored correspondence between image service identifiers and location information.
[0033] Thirdly, embodiments of this application provide an electronic device, including a processor and a memory connected to the processor, wherein a computer program is stored in the memory, and when the computer program is run by the processor, the electronic device performs the method described in the first aspect.
[0034] Fourthly, embodiments of this application provide a storage medium storing a computer program that, when run on a computer, causes the computer to execute the method described in the first aspect.
[0035] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description or may be learned by practicing embodiments of this application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description
[0036] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;
[0038] Figure 2 A flowchart illustrating the image management method provided in the first embodiment of this application;
[0039] Figure 3 This is a schematic diagram of the time axis provided in the first embodiment of this application;
[0040] Figure 4 Another structural schematic diagram of the time axis provided in the first embodiment of this application;
[0041] Figure 5 This is a schematic diagram of the image management device provided in the second embodiment of this application.
[0042] Icons: 100 - Electronic device; 110 - Memory; 120 - Memory controller; 130 - Processor; 140 - Peripheral interface; 150 - Input / output unit; 160 - Audio unit; 170 - Display unit; 400 - Image management device; 410 - Request instruction receiving unit; 42 - URL acquisition unit; 430 - Image display unit. Detailed Implementation
[0043] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0044] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0045] This application provides a schematic diagram of the structure of an electronic device 100, which may be a personal computer (PC), tablet computer, smartphone, personal digital assistant (PDA), etc.
[0046] like Figure 1 As shown, the electronic device 100 may include: an image management device 400, a memory 110, a memory controller 120, a processor 130, a peripheral interface 140, an input / output unit 150, an audio unit 160, and a display unit 170.
[0047] The memory 110, storage controller 120, processor 130, input / output unit 150, audio unit 160, and display unit 170 are electrically connected directly or indirectly to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The invalid resource detection device includes at least one software function module that can be stored in the memory 110 in the form of software or firmware or embedded in the operating system (OS) of the client device. The processor 130 is used to execute executable modules stored in the memory 110, such as the software function modules or computer programs included in the image management device 400.
[0048] The memory 110 may be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), etc. The memory 110 stores programs, and the processor 130 executes these programs upon receiving execution instructions. The methods executed by the electronic device 100 according to the process definition disclosed in any of the foregoing embodiments of this application can be applied to the processor 130, or implemented by the processor 130.
[0049] Processor 130 may be an integrated circuit chip with signal processing capabilities. The aforementioned processor 130 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), Application-Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor.
[0050] Peripheral interface 140 couples various input / output devices to processor 130 and memory 110. In some embodiments, peripheral interface 140, processor 130, and memory controller 120 may be implemented on a single chip. In other instances, they may be implemented on separate chips.
[0051] The input / output unit 150 is used to provide user input data to enable interaction between the user and the electronic device 100. The input / output unit 150 may be, but is not limited to, a mouse and a keyboard.
[0052] The audio unit 160 provides an audio interface to the user, which may include one or more microphones, one or more speakers, and audio circuitry.
[0053] The display unit 170 provides an interactive interface (e.g., a user interface) between the electronic device 100 and the user, or displays image data for the user's reference. In this embodiment, the display unit 170 may be a liquid crystal display or a touch display. If it is a touch display, it may be a capacitive touch screen or a resistive touch screen that supports single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations generated simultaneously from one or more locations on the touch display, and pass the sensed touch operations to the processor 130 for calculation and processing.
[0054] First Embodiment
[0055] Please refer to Figure 2 , Figure 2 A flowchart of an image management method provided in the first embodiment of this application, the method being applied to, for example... Figure 1 The electronic device 100 shown below will be discussed in detail below. Figure 2 The process shown is described in detail, and the method includes steps S100, S200 and S300.
[0056] S100: Receive a request instruction sent by a user terminal, wherein the request instruction includes: geographical location information corresponding to the content of the image to be displayed.
[0057] S200: Based on the geographic location information, obtain the service identifier of each image to be displayed corresponding to the geographic location information; wherein, at least two of the images to be displayed have different service identifiers.
[0058] S300: Obtain and send the image to be displayed corresponding to the service identifier to the user terminal for display.
[0059] The above methods will be described in detail below.
[0060] In actual implementation, S100 can be implemented as follows: When a user needs to browse the image to be displayed, the user logs into the image management method's (Application, APP) application or function page through the electronic device 100. The APP or function page has a function prompt box. The user only needs to manually input or select the geographic location information used to represent the content of the image to be displayed in the corresponding function prompt box and click the complete icon to send the request instruction to the server corresponding to the APP or function page. As one implementation method, the user inputs the geographic location information through the input / output unit 150 of the electronic device 100. The geographic information includes, but is not limited to, the geographic coordinates of the four vertices of the image to be displayed.
[0061] S200: Based on the geographic location information, obtain the service identifier of each image to be displayed corresponding to the geographic location information; wherein, at least two of the images to be displayed have different service identifiers.
[0062] As one implementation, S200 includes steps A1, A2, A3 and A4.
[0063] A1: Based on the geographic location information, obtain the image corresponding to the geographic location information.
[0064] After obtaining the geographic location information, the image corresponding to the geographic location information is found based on the pre-stored correspondence between geographic location information and images.
[0065] A2: Slice the corresponding image to obtain multiple images to be displayed.
[0066] For each image in the corresponding image, the image is sliced to obtain multiple images of the same size to be displayed.
[0067] A3: Based on the multiple images to be displayed, publish a service; wherein at least two of the images to be displayed publish different services.
[0068] After obtaining the multiple images to be displayed, the server publishes each of the multiple images as a Web Map Tile Service (WMTS) or a Web Map Service (WMS) to obtain the service URL of each service. Alternatively, at least two images can be published as a single service, wherein at least two of the multiple images to be displayed are published using different services.
[0069] When publishing services, the backend can use multiple servers for service publishing, that is, to use load balancing. Each server undertakes a part of the real-time service publishing task, thereby supporting more online image services and improving service publishing efficiency. The number of servers can be set according to needs.
[0070] A4: Identify each service to obtain the service identifier for each service.
[0071] After obtaining the service URLs of each service, each service is identified to obtain a service identifier, which is then saved as an attribute of the image. The service identifier can be the service URL of the service.
[0072] When the service identifier is not a service URL, the mapping between the service identifier and the service URL is stored.
[0073] It is worth mentioning that when there are at least two images corresponding to the same service, different and unique image identifiers are needed to identify each image belonging to the same service.
[0074] As one implementation, S200 includes: obtaining the service identifier of each image to be displayed corresponding to the geographical location information from a pre-stored correspondence between image service identifiers and location information, based on the geographical location information.
[0075] Before acquiring the geographic location information of the image to be displayed, the pre-acquired images are sliced and published as a service. For each image, geographic location information representing the spatial range of the image content is acquired. The geographic location information and service identifier of each image are stored as attributes of the image. Therefore, when it is necessary to display images corresponding to certain geographic location information, it is only necessary to look up the service identifier of each image to be displayed corresponding to the acquired geographic location information from the pre-stored correspondence between image service identifiers and location information. S300: Acquire and send the image to be displayed corresponding to the service identifier to the user terminal for display.
[0076] After obtaining the service identifier for each image to be displayed, if the service identifier is not a service URL, the service URL corresponding to each service identifier is obtained and loaded based on the correspondence between service identifiers and service URLs. If the service identifier is a service URL, the service identifier is loaded directly to obtain the image to be displayed corresponding to the geographic location information. For example, the service identifier for the first image with geographic location information A is a1, the service identifier for the second image with geographic location information A is a2, and the service identifier for the image with geographic location information B is b. After obtaining geographic location information A, the service identifiers a1 and a2 of the image corresponding to geographic location information A are obtained from the pre-stored correspondence between image service identifiers and location information. Service identifiers a1 and a2 are loaded respectively to obtain the images corresponding to service identifiers a1 and a2, and the corresponding images are sent to the display unit 170 of the electronic device for display according to the current window size. Since the number of images corresponding to each service is small, efficient online image query and browsing can be achieved.
[0077] When there are at least two image identifiers corresponding to the service identifier, as one implementation, S300 includes: acquiring the image identifiers of each image corresponding to the service identifier; wherein, the image identifiers of different images are different; acquiring and sending the image to be displayed corresponding to the image identifiers of each image, and sending the image to be displayed to the window of the user terminal for display.
[0078] After obtaining the service identifier of each image to be displayed, if the service identifier is not a service URL, the service URL corresponding to the service identifier is obtained and loaded based on the correspondence between the service identifier and the service URL. If there are at least two image identifiers corresponding to the service identifier, the image to be displayed corresponding to the image identifier corresponding to the service identifier is obtained, and the corresponding image is sent to the display unit 170 of the electronic device for display according to the current window size.
[0079] For each service identifier, if there are at least two image identifiers corresponding to the service identifier, and the service identifier is a service URL, then the service identifier is directly loaded to obtain the image to be displayed corresponding to the image identifier corresponding to the service identifier, and the corresponding image is sent to the display unit 170 of the electronic device for display according to the current window size.
[0080] As one implementation method, S200 includes:
[0081] From the pre-stored correspondence between image service identifiers, image capture time and location information, obtain the service identifier and time information of each image to be displayed that corresponds to the geographical location information.
[0082] In practical implementation, images with the same geographic location information may be captured at different times. For example, three images might be taken at the same location with identical geographic location information. However, the first image might be taken at 8:00 AM on February 10, 2019, the second at 12:00 PM, and the third at 6:00 PM. Therefore, to more accurately distinguish each image, it's necessary to obtain the capture time of each image and store the capture time, geographic location information, and service identifier as attributes of each image. In this way, when a user only wants to obtain the image taken at 6:00 PM, they can accurately retrieve the service identifier corresponding to the time information based on the captured image's capture time and the service identifier of the three images, from the pre-stored correspondence between image service identifiers and image capture time and location information. This improves the user experience.
[0083] As one implementation, the request instruction further includes: the image type of the image to be displayed, S200 including:
[0084] From the pre-stored correspondence between image service identifiers and type and location information, obtain the service identifier of each image to be displayed that corresponds to the geographic location information and the image type.
[0085] In actual implementation, images with the same geographical location information and the same shooting time may have different image types. In this embodiment, the image type can be ZY3, GF1, GF2, or BJ2. For example, three images may be taken at the same location, and the geographical location information corresponding to the image content of the three images may be exactly the same. However, the image type of the first image is ZY3, the image type of the second image is GF2, and the image type of the third image is BJ2. Therefore, in order to more accurately distinguish each image, it is also necessary to obtain the image type of each image and store the image type, geographical location information, and service identifier of each image as image attributes in a one-to-one correspondence. In this way, when a user only wants to obtain images of the Beijing-2BJ2 satellite from the three images mentioned above, the service identifier of the image corresponding to the geographical location information and the image type can be accurately obtained from the pre-stored correspondence between image service identifiers, types, and location information based on the image type and the service identifier of the three images. This allows for the accurate acquisition of the image corresponding to the service identifier, thus improving the user experience.
[0086] In practical implementation, images with the same geographical location and shooting time may have different image types. In this embodiment, the image type could be ZY3, GF1, GF2, or BJ2. For example, three images might be taken at the same location with identical geographical location information. However, the first image might be ZY3, the second GF2, and the third BJ2. Therefore, to more accurately distinguish each image, it's necessary to obtain the image type for each image and store the shooting time, image type, geographical location information, and service identifier as corresponding image attributes. In this way, when a user only wants the image with the BJ2 image type, they can accurately obtain the service identifier of the BJ2 image based on its image type, and then obtain the image corresponding to that service identifier, thus improving the user experience.
[0087] As one implementation, the request instruction further includes: the image resolution of the image to be displayed, S200 including:
[0088] From the pre-stored correspondence between image service identifiers and resolution and location information, obtain the service identifier of each image to be displayed that corresponds to the geographic location information and the image resolution.
[0089] In practical implementation, images with the same geographic location information may have different resolutions. For example, three images might be taken at the same location, with identical geographic location information. However, the first image might have a resolution of 40cm, the second 80cm, and the third 1.5m. Therefore, to more accurately distinguish each image, it's necessary to obtain the resolution of each image and store the image resolution, geographic location information, and service identifier as corresponding attributes. In this way, when a user only wants the image with a resolution of 80cm, they can retrieve the service identifier corresponding to the geographic location information and image resolution from a pre-stored mapping between image service identifiers, resolutions, and location information, based on the image resolution and the service identifiers of the three images, thus improving the user experience.
[0090] In practical implementation, images with the same geographical location, shooting time, and image type may have different resolutions. For example, three images might be taken at the same location with identical geographical location information. However, the first image might have a resolution of 40cm, the second 80cm, and the third 1.5m. Therefore, to more accurately distinguish each image, it's necessary to obtain the resolution of each image and store the shooting time, image type, resolution, geographical location information, and service identifier as corresponding attributes. In this way, when a user only wants the image with a resolution of 80cm, they can accurately obtain the service identifier based on the resolution and then retrieve that image, improving the user experience.
[0091] As one implementation, the request instruction further includes: the satellite name corresponding to the image to be displayed, and S200 includes:
[0092] From the pre-stored correspondence between image service identifiers, names, and location information, obtain the service identifier for each image to be displayed, which corresponds to the geographic location information and the satellite name.
[0093] In practical implementation, images with the same geographic location information may correspond to different satellite names. In this embodiment, the satellite name could be GeoEye-1, QuickBird, WorldView-1, WorldView-2, IKONOS, etc. For example, three images might be taken at the same location with identical geographic location information. However, the first image might be associated with GeoEye-1, the second with QuickBird, and the third with WorldView-1. Therefore, to more accurately distinguish each image, it's necessary to obtain the satellite name and store the satellite name, geographic location information, and service identifier of each image as corresponding attributes. In this way, when a user only wants to obtain an image from a GeoEye-1 satellite, they can accurately obtain the service identifier based on the satellite type, thus improving the user experience.
[0094] In practical implementation, images with the same geographical location, shooting time, image type, and image resolution may correspond to different satellite names. In this embodiment, the satellite name could be GeoEye-1, QuickBird, WorldView-1, WorldView-2, or IKONOS. For example, three images might be taken at the same location with identical geographical location information. However, the first image might be associated with GeoEye-1, the second with QuickBird, and the third with WorldView-1. Therefore, to more accurately distinguish each image, it's necessary to obtain the satellite name and store the shooting time, image type, image resolution, satellite name, geographical location information, and service identifier as corresponding image attributes. In this way, when a user only wants to obtain an image from the GeoEye-1 satellite, they can accurately obtain the service identifier based on the satellite type, thus improving the user experience.
[0095] As one implementation method, S200 includes:
[0096] Obtain target geographic location information that intersects with the geographic location information from pre-stored location information.
[0097] In practical implementation, a general framework for online image services is constructed based on a network geographic information system (GIS), and online image browsing is achieved through map windows, such as Baidu Maps and Gaode Maps. This involves storing geographic location information representing the spatial extent of each image's content. Then, when browsing images via electronic device 100, the spatial extent of the geographic location information corresponding to the current map window is obtained from the display unit 170, and target geographic location information intersecting with this spatial extent is retrieved from pre-stored location information. As one implementation method, a first label is obtained from the pre-stored location information, corresponding to the target geographic location information intersecting with the spatial extent of the geographic location information. Based on the first label, the target geographic location information of the image corresponding to the first label is retrieved from the pre-stored image label-location information correspondence. In this way, all images corresponding to the spatial extent of the current map window can be obtained without the user manually inputting the geographic location corresponding to the image content.
[0098] The service identifier of each image to be displayed is obtained from the pre-stored correspondence between image service identifiers and location information, and is corresponding to the target geographic location information.
[0099] Since each image's service identifier and location information are stored in a one-to-one correspondence, the service identifier of each image to be displayed can be obtained based on the target geographic location information. Since there may be multiple images corresponding to the target geographic location information, there may be multiple service identifiers for the images obtained based on the target geographic location information.
[0100] S300: Obtain and send the image to be displayed corresponding to the service identifier to the user terminal for display.
[0101] As one implementation, S300 includes:
[0102] Based on the chronological order of the time information of each of the images to be displayed, service identifiers corresponding to multiple time information are loaded sequentially to obtain and send the images to be displayed corresponding to the time information to the user terminal for display.
[0103] In actual implementation, based on the target geographic location information, the service identifier and time information of each image to be displayed corresponding to the target geographic location information are first obtained from the pre-stored correspondence between image service identifiers, image capture time and location information. Then, based on the chronological order of the time information of each image to be displayed, the service identifiers corresponding to multiple time information are loaded sequentially to obtain the image to be displayed corresponding to the time information. For example, the time of the first image to be displayed A is 2019.2.10, the time of the second image to be displayed B is 2018.2.9, and the time of the third image to be displayed C is 2019.2.12. Therefore, based on the chronological order, the service identifiers of the second image to be displayed B, the first image to be displayed A, and the third image to be displayed C are loaded sequentially. From the images to be displayed corresponding to the time information, the target image content that intersects with the spatial range of the geographic location information corresponding to the current map window is extracted, and the target image content is sent to the display unit 170 of the electronic device for display.
[0104] As one implementation method, after obtaining the service identifier and time information of each image to be displayed corresponding to the target geographical location information, service identifiers corresponding to multiple time information are loaded sequentially based on a preset time interval and the time sequence of the time information of each image to be displayed. The preset time interval can be 30 seconds, 1 minute, 2 minutes, etc. In this embodiment, the preset time interval is 1 minute. Example 1: After obtaining the service identifier and time information of each image to be displayed corresponding to the target geographical location information, calculation begins until 1 minute later, and service identifiers corresponding to multiple time information are loaded sequentially based on the time sequence of the time information of each image to be displayed. Example 2: After obtaining the service identifier and time information of each image to be displayed corresponding to the target geographical location information, calculation begins until 1 minute later, and service identifiers corresponding to multiple time information are loaded sequentially based on the time sequence of the time information of each image to be displayed. After loading the first service identifier, a 1-minute wait is made before loading the second service identifier.
[0105] As one implementation, after obtaining the service identifier and time information of each image to be displayed corresponding to the geographical location information from the pre-stored correspondence between the image service identifier, image shooting time and location information, S300 includes: S310, S320 and S330.
[0106] S310: Send the time information of each of the images to be displayed to the user terminal for display.
[0107] As one implementation, S310 includes:
[0108] The time information of each of the images to be displayed is sent to the user terminal so that the user terminal displays the time information of each image in the form of a timeline.
[0109] Please refer to Figure 3 The time of the first image to be displayed, A, is February 10, 2019; the time of the second image to be displayed, B, is February 9, 2018; and the time of the third image to be displayed, C, is February 12, 2019. In actual implementation, after obtaining the time information of all images to be displayed, the time information of each image is sent to the electronic device 100 so that the display unit 170 of the electronic device 100 can display the time information of each image in chronological order from left to right on the timeline. In this embodiment, the timeline only includes the time information of images A, B, and C to be displayed.
[0110] Please refer to Figure 4 In one implementation, when there are at least two images to be displayed with the same time information, the user terminal displays the time information of each image to be displayed in the form of a timeline. When the user clicks on a time node where there are at least two images to be displayed, the unique image identifier of each of the at least two images to be displayed is displayed vertically in a direction perpendicular to the timeline. The unique image identifier of each image to be displayed is different.
[0111] As one implementation, S310 includes:
[0112] The time information of each of the images to be displayed is sent to the user terminal so that the user terminal displays the time information of each image to be displayed in the form of a time list.
[0113] In actual implementation, after obtaining the time information of all images to be displayed, the time information of each image to be displayed is sent to the electronic device 100 so that the display unit 170 of the electronic device 100 can display the time information of each image in the time list from top to bottom in chronological order. In this embodiment, the time list only includes the time information of all images to be displayed.
[0114] S320: Receive an instruction sent by the user terminal indicating that a target time point among multiple time information items has been selected.
[0115] During implementation, after obtaining the time information of the image to be displayed, the target time point on the time axis or the time list is clicked with a mouse or manually touched. The target time point changes from gray to red to send an instruction indicating that the target time point has been selected to the processor 130 of the electronic device 100. The color change of the time point on the time axis or the time list is not limited.
[0116] S330: In response to the instruction, load the service identifier corresponding to the target time point, and obtain and send the image to be displayed corresponding to the target time point to the user terminal for display.
[0117] After obtaining the target time point, the service identifier corresponding to the target time point is obtained from the pre-stored correspondence between time information and service identifier, and the service identifier corresponding to the target time point is loaded, so as to obtain and send the image to be displayed corresponding to the target time point to the display unit 170 of the electronic device 100 for display.
[0118] After obtaining the time information of all images to be displayed, the actual time of each image is displayed according to the time point on the time axis or time list. Then, when a target time point is selected on the time axis, the service identifier corresponding to the target time point is loaded to dynamically adjust the order of image viewing.
[0119] Second Embodiment
[0120] Please refer to Figure 5 The second embodiment of this application provides a unit schematic diagram of an image management device 400, the device comprising:
[0121] The request instruction receiving unit 410 is used to receive a request instruction sent by a user terminal, wherein the request instruction includes: geographical location information corresponding to the content of the image to be displayed.
[0122] The URL acquisition unit 420 is used to acquire the service identifier of each image to be displayed corresponding to the geographical location information, wherein at least two of the images to be displayed have different service identifiers.
[0123] The image display unit 430 is used to acquire and send the image to be displayed corresponding to the service identifier to the user terminal for display.
[0124] The image display unit 430 is specifically used to acquire the image identifiers of each image corresponding to the service identifier; wherein, the image identifiers of different images are different; and to display the images to be displayed corresponding to the image identifiers of each image on the user terminal.
[0125] In one implementation, the URL acquisition unit 420 is specifically used to acquire an image corresponding to the geographic location information; slice the corresponding image to obtain multiple images to be displayed; publish a service based on the multiple images to be displayed; wherein at least two of the images to be displayed publish different services; and identify each service to obtain a service identifier for each service.
[0126] In one implementation, the URL acquisition unit 420 is further configured to acquire, based on the geographic location information, the service identifier of each image to be displayed corresponding to the geographic location information from a pre-stored correspondence between image service identifiers and location information.
[0127] As one implementation, the URL acquisition unit 420 is further configured to acquire the service identifier and time information of each image to be displayed corresponding to the geographic location information from the pre-stored correspondence between the image service identifier, the image shooting time and the location information; the image display unit 430 is further configured to acquire and send the images to be displayed corresponding to the time information to the user terminal for display based on the time sequence of the time information of each image to be displayed.
[0128] As one implementation, the URL acquisition unit 420 is further configured to acquire the service identifier and time information of each image to be displayed corresponding to the geographic location information from a pre-stored correspondence between image service identifiers, image capture time and location information; the image display unit 430 includes: a time information display unit, configured to send the time information of each image to be displayed to the user terminal for display; a time instruction receiving unit, configured to receive an instruction sent by the user terminal indicating the selection of a target time point among multiple time information; and an instruction response unit, configured to respond to the instruction, acquire and send the image to be displayed corresponding to the target time point to the user terminal for display.
[0129] In one implementation, the time information display unit is further configured to send the time information of each of the images to be displayed to the user terminal, so that the user terminal displays the time information of each of the images to be displayed in the form of a timeline.
[0130] As one implementation, the request instruction further includes: the image type of the image to be displayed; the URL acquisition unit 420 is also used to obtain the service identifier of each image to be displayed corresponding to the geographic location information and the image type from the pre-stored correspondence between image service identifiers and type and location information.
[0131] As one implementation, the request instruction further includes: the image resolution of the image to be displayed; the URL acquisition unit 420 is also used to obtain the service identifier of each image to be displayed corresponding to the geographic location information and the image resolution from a pre-stored correspondence between image service identifiers and resolution and location information.
[0132] In one implementation, the URL acquisition unit is further configured to acquire target geographic location information that intersects with the geographic location information in terms of spatial range from the pre-stored location information; and to acquire the service identifier of each image to be displayed corresponding to the target geographic location information from the pre-stored correspondence between image service identifiers and location information.
[0133] For the process of implementing the respective functions of each functional unit of the image management device 400 in this embodiment, please refer to the above. Figure 2 The content described in the illustrated embodiments will not be repeated here.
[0134] Furthermore, embodiments of this application also provide a storage medium storing a computer program, which, when run on a computer, causes the computer to execute the image management method provided in any embodiment of this application.
[0135] In summary, the image management method proposed in the embodiments of this application includes: receiving a request instruction sent by a user terminal, wherein the request instruction includes: geographic location information corresponding to the content of an image to be displayed; obtaining a service identifier for each image to be displayed corresponding to the geographic location information based on the geographic location information; wherein at least two of the images to be displayed have different service identifiers; and obtaining and sending the image to be displayed corresponding to the service identifier to the user terminal for display. For multiple images belonging to the same geographic location information, each of the multiple images is published as a service, wherein at least two of the images have different service identifiers. After obtaining the geographic location information corresponding to the content of the image to be displayed, the service identifier for each image to be displayed corresponding to the geographic location information is obtained based on the geographic location information, and then the image corresponding to the service identifier is obtained based on the service identifier. Since the number of images corresponding to each service is small, efficient online image query and browsing can be achieved.
[0136] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using dedicated hardware-based apparatus that performs the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.
[0137] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
Claims
1. An image management method, characterized in that, The method includes: The system receives a request instruction sent by a user terminal, wherein the request instruction includes: geographic location information corresponding to the content of the image to be displayed; the geographic location information is used to characterize the spatial range of the content of the image to be displayed. Based on the geographic location information, obtain the service identifier for each image to be displayed that corresponds to the geographic location information; wherein at least two of the images to be displayed have different service identifiers. Acquire and send the image to be displayed corresponding to the service identifier to the user terminal for display; The service identifier is either the service URL of the service or has a corresponding relationship with the service URL of the service. The service is a network map tile service or a network map service; the service identifier is obtained by slicing the image corresponding to the geographic location information and publishing multiple sliced images of the same size as the service to be displayed, wherein at least two images to be displayed are published with different services.
2. The method according to claim 1, characterized in that, The step of acquiring and sending the image to be displayed corresponding to the service identifier to the user terminal for display includes: Obtain the image identifier of each image corresponding to the service identifier; wherein, the image identifiers of different images are different; The corresponding image identifier of each image is obtained and sent to the user terminal for display.
3. The method according to claim 1, characterized in that, Based on the geographic location information, obtain the service identifier for each image to be displayed corresponding to the geographic location information, including: Based on the geographic location information, obtain the image corresponding to the geographic location information; The corresponding images are sliced to obtain multiple images to be displayed. Based on the multiple images to be displayed, a service is published; wherein, at least two of the images to be displayed publish different services. Each service is identified to obtain its service identifier.
4. The method according to claim 1, characterized in that, Based on the geographic location information, obtain the service identifier for each image to be displayed corresponding to the geographic location information, including: Based on the geographic location information, the service identifier of each image to be displayed is obtained from the pre-stored correspondence between image service identifiers and location information.
5. The method according to claim 4, characterized in that, From the pre-stored correspondence between image service identifiers and location information, obtain the service identifier for each image to be displayed that corresponds to the geographic location information, including: From the pre-stored correspondence between image service identifiers, image capture time and location information, obtain the service identifier and time information of each image to be displayed that corresponds to the geographic location information; Acquiring and sending the image to be displayed corresponding to the service identifier to the user terminal for display includes: Based on the chronological order of the time information of each of the images to be displayed, the images to be displayed corresponding to the service identifier are sequentially acquired and sent to the user terminal for display.
6. The method according to claim 4, characterized in that, From the pre-stored correspondence between image service identifiers and location information, obtain the service identifier for each image to be displayed that corresponds to the geographic location information, including: From the pre-stored correspondence between image service identifiers, image capture time and location information, obtain the service identifier and time information of each image to be displayed that corresponds to the geographic location information; The process of acquiring and sending the image to be displayed corresponding to the service identifier to the user terminal for display includes: The time information of each of the images to be displayed is sent to the user terminal for display. Receive an instruction sent by the user terminal that represents selecting a target time point from multiple time information items; In response to the instruction, the image to be displayed corresponding to the target time point is acquired and sent to the user terminal for display.
7. The method according to claim 6, characterized in that, Sending the time information of each of the images to be displayed to the user terminal for display includes: The time information of each of the images to be displayed is sent to the user terminal so that the user terminal displays the time information of each image in the form of a timeline.
8. The method according to claim 4, characterized in that, The request instruction further includes: the image type of the image to be displayed, and obtaining the service identifier of each image to be displayed corresponding to the geographical location information from the pre-stored correspondence between image service identifiers and location information, including: From the pre-stored correspondence between image service identifiers and type and location information, obtain the service identifier of each image to be displayed that corresponds to the geographic location information and the image type.
9. The method according to claim 4, characterized in that, The request instruction further includes: the image resolution of the image to be displayed; and obtaining the service identifier of each image to be displayed corresponding to the geographic location information from a pre-stored correspondence between image service identifiers and location information, including: From the pre-stored correspondence between image service identifiers and resolution and location information, obtain the service identifier of each image to be displayed that corresponds to the geographic location information and the image resolution.
10. The method according to claim 4, characterized in that, Retrieve the service identifier of each image to be displayed from the pre-stored correspondence between image service identifiers and location information, including: Obtain target geographic location information that intersects with the geographic location information from pre-stored location information; The service identifier of each image to be displayed is obtained from the pre-stored correspondence between image service identifiers and location information, and is corresponding to the target geographic location information.
Citation Information
Patent Citations
Mixed loading method and device for network gaps
CN105718498A
Data processing method and server
CN107305572A