Method, apparatus, and electronic device for updating map images

By obtaining a subset of map images and analyzing its slice range, the problem of low online update efficiency of geospatial information is solved, and efficient and rapid release of local updates is achieved, saving computing resources and time.

CN114998171BActive Publication Date: 2025-07-18GEO COMPASS BEIJING GEOGRAPHIC INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210585705.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-26
Publication Date
2025-07-18
Estimated Expiration
2042-05-26

AI Technical Summary

Technical Problem

The prior art is less efficient in large-scale online update of geospatial information, especially for areas covered by massive data, resulting in waste of resources and excessive time consumption.

Method used

By obtaining the subset of map images to be updated, analyzing its slice range, and updating local images based on the slice range, including attribute analysis, slice attribute determination, slice range division and fusion processing, local update is achieved.

Benefits of technology

It improves the efficiency of online update of map images, saves computing resources and time, is suitable for local updates of large data volumes, and reduces the overall update time and resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114998171B_ABST
    Figure CN114998171B_ABST
Patent Text Reader

Abstract

The present invention provides a method, apparatus, and electronic device for updating map images, relating to the technical field of online updating of geographic information, and alleviating the technical problem of low online updating efficiency of map images in the prior art. The method includes: obtaining a subset of map images to be updated; analyzing the subset of map images to determine the corresponding tile range; and updating the local images corresponding to the tile range in the map images based on the tile range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of online updating of geographic information, and in particular to a method, device and electronic device for updating map images. Background Art

[0002] At present, the common technical method for updating online geospatial information services is to first replace the corresponding part of the full data set with an updated data subset, then slice the updated full data set, and then publish it.

[0003] However, when the data coverage of the data set is relatively large, it will lead to a technical problem of low efficiency in online updating of map images. Summary of the invention

[0004] The purpose of the present application is to provide a method, device and electronic device for updating a map image, so as to alleviate the technical problem of low efficiency of online updating of map images in the prior art.

[0005] In a first aspect, an embodiment of the present application provides a method for updating a map image, the method comprising:

[0006] Get the map image subset to be updated;

[0007] Analyze the map image subset to determine the slice range corresponding to the map image subset;

[0008] Based on the slice range, a local image corresponding to the slice range in the map image is updated.

[0009] The map image subset includes a plurality of sub-images; the step of analyzing the map image subset to determine the slice range corresponding to the map image subset includes:

[0010] Performing attribute analysis on the sub-images in the map image subset to obtain slice attributes of the sub-images;

[0011] A slice range corresponding to the sub-image is determined based on the slice attribute.

[0012] In a possible implementation, the map image subset includes a plurality of sub-images; the step of updating the local image corresponding to the slice range in the map image based on the slice range includes:

[0013] Based on the slice range corresponding to the sub-image, a local image corresponding to the slice range in the map image is locally updated.

[0014] In a possible implementation, the slice attribute includes any one or more of the following:

[0015] Pixel resolution, size, slice level, and spatial range.

[0016] In a possible implementation, the step of performing attribute analysis on the sub-images in the map image subset to obtain the slice attributes of the sub-images includes:

[0017] Performing attribute analysis on the sub-images in the map image subset to obtain the resolution and size of the sub-images;

[0018] Determining the maximum slice level of the sub-images according to the resolution;

[0019] Determining the minimum slice level of the sub-images according to the size.

[0020] In a possible implementation, the step of locally updating the local image corresponding to the slice range in the map image based on the slice range corresponding to the sub-image includes:

[0021] Dividing the sub-image into a slice range boundary part and a slice range internal part based on the slice range and the map image; wherein, the slice range boundary part is the part where the slice range boundary of the sub-image overlaps with the slice range boundary of the map image at the same slice level;

[0022] Fusing the slice range boundary part of the sub-image with the slice range boundary part of the map image;

[0023] Replacing the map image with the slice range internal part.

[0024] In a possible implementation, the step of fusing the slice range boundary part of the sub-image with the slice range boundary part of the map image includes:

[0025] Fusing the slice range boundary part of the sub-image with the slice range boundary part of the map image through a pixel filling algorithm based on a preset fusion order.

[0026] In a second aspect, an embodiment of the present application provides an updating device for a map image, and the device includes:

[0027] An obtaining module, configured to obtain a map image subset to be updated;

[0028] An analysis module, configured to analyze the map image subset to determine the slice range corresponding to the map image subset;

[0029] An updating module, configured to locally update the local image corresponding to the slice range in the map image based on the slice range.

[0030] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor. A computer program that can run on the processor is stored in the memory. When the processor executes the computer program, the steps of the method described in the first aspect above are implemented.

[0031] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and run by a processor, the computer-executable instructions cause the processor to run the method described in the first aspect above.

[0032] The embodiments of the present application bring the following beneficial effects:

[0033] A method, device, and electronic device for updating a map image provided by an embodiment of the present application first obtain a subset of the map image to be updated, and then analyze the subset of the map image to determine the corresponding slice range of the subset of the map image, so as to update the local image corresponding to the slice range in the map image based on the slice range. In the embodiments of the present application, after the system obtains the data of the subset of the map image that needs to be updated, it analyzes and calculates the subset of the map image to be updated to obtain the slice range that can be updated corresponding to the subset of the map image, so as to perform local update on the local image corresponding to the slice range in the map image. It can realize the rapid release of local update data services when the amount of data to be processed is large, greatly improve the efficiency of local update of image data, save computing resources and time, and alleviate the technical problem of low online update efficiency of map images in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0035] Figure 1 It is a schematic flowchart of a method for updating a map image provided by an embodiment of the present application;

[0036] Figure 2 It is a schematic diagram of a method for updating a map image provided by an embodiment of the present application;

[0037] Figure 3 It is a schematic diagram of another method for updating a map image provided by an embodiment of the present application;

[0038] Figure 4 A schematic diagram of another method for updating a map image provided in an embodiment of the present application;

[0039] Figure 5 A schematic diagram of the structure of a map image updating device provided in an embodiment of the present application;

[0040] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0042] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0043] At present, the update of geospatial information online services is usually implemented by first replacing the corresponding part of the full data set with the updated data subset, then slicing the updated full data set, and then publishing it. When the data coverage of the full data set is wide and the data is massive, such as high-resolution images covering the whole world, the traditional data fusion and then slicing technology is very time-consuming and computer resource-intensive to slice the full data set, which is a great waste of software and hardware resources and time, and there is a technical problem of low efficiency in online updating of map images.

[0044] Based on this, the embodiment of the present application provides a method, device and electronic device for updating map images. The core idea is to calculate the spatial range of the updated map image subset, and calculate its corresponding online service level according to the resolution of the map image, and then calculate the slice range corresponding to the map image subset at each level according to the spatial range and service level, and use the map image subset to generate its service slices at different levels, and finally merge the slices on the boundary of the spatial range of the map image subset with the slices corresponding to the full set of map images to form a slice service for the updated full set of images. This method can alleviate the technical problem of low efficiency of online updating of map images in the existing technology.

[0045] The embodiments of the present application will be further introduced below in conjunction with the accompanying drawings.

[0046] Figure 1 It is a schematic flowchart of a method for updating a map image provided by an embodiment of the present application. As Figure 1 shown, the method includes:

[0047] Step S110, obtaining a subset of the map image to be updated.

[0048] Exemplarily, the system can first obtain a subset of the map image to be updated through means such as local upload or satellite download. The subset of the map image can be composed of one or more sub-images. Based on this subset of the map image, the system performs online partial updates on the map image. For example, if the map image is a map image of a certain city, and the image corresponding to the subset of the map image is an image of a certain building in the city, then the system only needs to update the image of the building in the city map image, rather than reprocessing the entire city map image for a full update.

[0049] Step S120, analyzing the subset of the map image to determine the slice range corresponding to the subset of the map image.

[0050] Exemplarily, the system can analyze the subset of the map image to determine the slice range corresponding to the subset of the map image. For example, the system can analyze the building image to determine the slice range corresponding to the building image, which is convenient for subsequent update processing.

[0051] Step S130, updating the local image corresponding to the slice range in the map image based on the slice range.

[0052] Exemplarily, after the system determines the slice range corresponding to the subset of the map image, it can update the local image corresponding to the slice range in the map image based on the slice range. For example, after the system analyzes the building image and determines the slice range corresponding to the building image, it can update the building image in the city map image.

[0053] In the embodiments of the present application, after the system obtains the data of the subset of the map image that needs to be updated, it analyzes and calculates the subset of the map image to be updated, and obtains the slice range that can be updated corresponding to the subset of the map image. Then, based on the slice range, it performs local updates on the local image corresponding to the slice range in the map image. This can achieve the rapid release of local update data services in the case of a large amount of data to be processed, greatly improve the efficiency of local updates of image data, save computing resources and time, and alleviate the technical problem of the low online update efficiency of map images in the prior art.

[0054] The above steps will be introduced in detail below.

[0055] In some embodiments, a map image subset may include multiple sub-images. The system can accurately determine the slice range corresponding to each sub-image based on the multiple sub-images, so as to accurately determine the slice range corresponding to the map image subset, and then facilitate local updating of the map image according to these slice ranges, effectively improving the online updating efficiency of the map image. As an example, the map image subset includes several sub-images; the above step S120 may specifically include the following steps:

[0056] Step a), perform attribute analysis on the sub-images in the map image subset to obtain the slice attributes of the sub-images.

[0057] Step b), determine the slice range corresponding to the sub-image based on the slice attributes.

[0058] Exemplarily, as Figure 2 shown, A is an image slice, B is a map image, and C is a sub-image in the map image subset to be updated. The map image subset may be composed of one or more sub-images. Therefore, calculating the slice range of the image subset is to calculate the slice ranges of the respective sub-images that make up the image subset. Taking the city image and the building image as an example, as Figure 2 shown, the system slices all images based on grid type A, which can be understood as establishing a coordinate system with grid type A as the base; the city image is composed of 16 map images B; the building image is composed of 4 C's. First, the system performs attribute analysis on the 4 sub-images C in the map image subset to obtain the respective slice attributes of the 4 sub-images C, and then based on these slice attributes, the slice range corresponding to the sub-image can be determined.

[0059] By enabling the system to first perform attribute analysis on the sub-images in the map image subset to obtain the slice attributes of the sub-images, and then determine the slice range corresponding to the sub-image based on the slice attributes, the system can accurately determine the slice range corresponding to each sub-image based on multiple sub-images, so as to accurately determine the slice range corresponding to the map image subset, and then facilitate local updating of the map image according to these slice ranges, effectively improving the online updating efficiency of the map image.

[0060] Based on the above steps a) and b), a map image subset may include multiple sub-images. The system can flexibly perform local updating of the map image according to the slice ranges corresponding to the multiple sub-images, without having to re-slice the entire map image, effectively improving the online updating efficiency of the map image. As an example, the map image subset includes several sub-images; the above step S130 may specifically include the following steps:

[0061] Step c): Based on the slice range corresponding to the sub-image, locally update the local image corresponding to the slice range in the map image.

[0062] Exemplarily, the system can locally update the local image corresponding to the slice range in the map image based on the slice range corresponding to the sub-image. For example, Figure 2 as shown, taking the city image and the building image as an example, after the system determines the slice range corresponding to each sub-image C, it can determine the slice range of the building image, and the system can then locally update the city map image based on each sub-image C.

[0063] By enabling the system to locally update the local image corresponding to the slice range in the map image based on the slice range corresponding to the sub-image, it is realized that the system can more flexibly locally update the map image according to the slice ranges corresponding to multiple sub-images, without having to re-slice the entire map image, effectively improving the online update efficiency of the map image.

[0064] Based on the above steps a) and b), the slice attributes of the sub-image can include various types. By making the slice attributes of the sub-image be multiple, the system can accurately determine the slice range corresponding to the sub-image, and can more flexibly locally update the map image, effectively improving the online update efficiency of the map image. As an example, the slice attributes include any one or more of the following:

[0065] Pixel resolution, size, slice level, spatial range.

[0066] Exemplarily, the slice attributes of the sub-image can include various types, including but not limited to the pixel resolution, size, slice level, and spatial range of the sub-image. For example, taking the upper left corner of sub-image C as the slice origin, the slice origin defines the position of sub-image C in the A-type grid. Each of the one or more sub-images included in the image subset has its pixel resolution, and in the case of multiple sub-images, their resolutions are often the same. For example, Figure 2 as shown, the 4 sub-images C all have their respective pixel resolutions (for example, 256×256), and their resolutions are often the same. The pixel resolution affects what the actual coordinates of a 256×256 picture are at that resolution. Image slices can be divided into many levels to support display at different zoom levels. The spatial range is the range covered by sub-image C.

[0067] By making the slice attributes of the sub-image be multiple, the system can accurately determine the slice range corresponding to the sub-image, can flexibly locally update the map image, and effectively improves the online update efficiency of the map image.

[0068] In some embodiments, the system can calculate the corresponding online service level according to the resolution and size of the sub-image, so that the corresponding tile range of the map image subset at each level can be calculated according to the spatial range and service level, and then it is convenient to perform local updates on the sub-image and the map image at different levels, improving the online update efficiency. As an example, step a) above may specifically include the following steps:

[0069] Step d), perform attribute analysis on the sub-images in the map image subset to obtain the resolution and size of the sub-images.

[0070] Step e), determine the maximum tile level of the sub-image according to the resolution.

[0071] Step f), determine the minimum tile level of the sub-image according to the size.

[0072] Exemplarily, each of the one or more sub-images included in the image subset has its own resolution, and in the case of multiple sub-images, their resolutions are often the same. According to the resolution of each sub-image, the closest maximum tile level corresponding to its resolution can be converted. Then, according to the range of each sub-image, according to the proportional relationship of contraction in length and width respectively, the minimum tile level corresponding to each sub-image is obtained. Calculate the maximum and minimum levels (level values, for example, a sub-image may be at levels 7 - 12) corresponding to each image. As for the tiles, they can be pre-generated or generated in real time. However, the level where the image is located will be calculated in advance. According to the spatial range of each sub-image included in the image subset, according to the tile attributes such as tile level, pixel resolution, and its size, and combined with the spatial range of each tile at each level, the tile range corresponding to each sub-image is calculated, that is, the range of tiles covered in the horizontal and vertical directions. For example, as Figure 3 shown, sub-image C in the image subset to be updated 1,1 under the A-class tiles (A 1,1 -A 10,11 ), covers A 3,4 to A 5,6 .

[0073] By first performing attribute analysis on the sub-images in the map image subset to obtain the resolution and size of the sub-images, and then determining the maximum tile level of the sub-images according to the resolution and the minimum tile level of the sub-images according to the size, it is possible to perform local updates on the sub-images and the map image at different levels, improving the online update efficiency.

[0074] Based on the above step c), the local update of the sub-image to the map image can be achieved in a more scientific way. For example, the sub-image can be divided into the boundary part of the slice range and the internal part of the slice range. By fusing the two parts in different ways, high-quality fusion of the sub-image and the map image can be achieved, improving the online update effect. As an example, the above step c) can specifically include the following steps:

[0075] Step g), based on the slice range and the map image, divide the sub-image into the boundary part of the slice range and the internal part of the slice range.

[0076] Step h), fuse the boundary part of the slice range of the sub-image with the boundary part of the slice range of the map image.

[0077] Step i), use the internal part of the slice range to replace the map image.

[0078] For the above step g), the boundary part of the slice range is the part where the slice range boundary of the sub-image overlaps with the slice range boundary of the map image at the same slice level.

[0079] Exemplarily, the sub-image contained in the image subset can be used to fuse the slices of its spatial range boundary part with the corresponding slices in the map image, and the slices in the image subset that are not in the spatial range boundary part can replace the slices with the same number in the map image. It can be simply understood that the local update is achieved by the method of boundary fusion and internal replacement.

[0080] As Figure 4 shown, at the same slice level (level A), sub-image C 1,1 and map image B 1,1 , map image B 1,2 and map image B 2,1 have overlapping parts and non-overlapping parts. Therefore, at the A slice level, sub-image C 1,1 can be divided into the boundary part of the slice range and the internal part of the slice range. The boundary part of the slice range in sub-image C 1,1 is fused with the boundary part of the slice range of map image (B 1,1 , B 1,2 and B 2,1 ), and the A-level slices of the internal part of the slice range in sub-image C 1,1 replace the slices with the same number in the map image. Similarly, at the C slice level, C 1,1 will be divided into the boundary part of the slice range, and sub-image C 1,1 can be fused with map image B 1,1 , map image B 1,2 and map image B2,1 Perform fusion.

[0081] By first dividing the sub-image into a slice range boundary part and a slice range internal part based on the slice range and the map image, fusing the slice range boundary part of the sub-image with the slice range boundary part of the map image, and using the slice range internal part to replace the map image. By fusing the two parts in different ways, high-quality fusion of the sub-image and the map image can be achieved, improving the online update effect.

[0082] Based on the above steps g), h), and i), a special fusion technique can be used to achieve high-quality fusion at the boundary between the sub-image and the map image, making it unobtrusive for users to view. For example, the slice range boundary part of the sub-image is fused with the slice range boundary part of the map image according to a preset fusion order and a pixel filling algorithm. As an example, the above step h) can specifically include the following steps:

[0083] Step j), based on the preset fusion order, fuse the slice range boundary part of the sub-image with the slice range boundary part of the map image through a pixel filling algorithm.

[0084] Exemplarily, there can be multiple preset fusion orders. In the embodiments of the present application, the order from top to bottom and from left to right is used for illustration. As Figure 4 shown, the system can calculate the parts of B 1,1 , B 2,1 , B 1,2 , C 1,1 that each cover A 3,4 respectively, and cover them in the order from top to bottom and from left to right (i.e., the order of B 1,1 , B 2,1 , B 1,2 , C 1,1 ) to achieve the fusion of the slice range boundary part of the sub-image and the slice range boundary part of the map image, and further achieve the local update of the map image.

[0085] By making the system fuse the slice range boundary part of the sub-image with the slice range boundary part of the map image based on the preset fusion order through a pixel filling algorithm, high-quality fusion of the sub-image and the map image is achieved, improving the fusion effect.

[0086] Figure 5 It is a schematic structural diagram of an update device 500 for a map image provided by an embodiment of the present application. As Figure 5 shown, the device includes:

[0087] An acquisition module 501, configured to acquire a subset of the map image to be updated.

[0088] An analysis module 502 is configured to analyze a subset of map images and determine a slice range corresponding to the subset of map images.

[0089] An update module 503 is configured to update a local image corresponding to the slice range in the map image based on the slice range.

[0090] In some embodiments, the subset of map images includes a plurality of sub-images; the analysis module 502 is specifically configured to:

[0091] Perform attribute analysis on the sub-images in the subset of map images to obtain slice attributes of the sub-images;

[0092] Determine the slice range corresponding to the sub-images based on the slice attributes.

[0093] In some embodiments, the subset of map images includes a plurality of sub-images; the update module 503 is specifically configured to:

[0094] Perform local update on the local image corresponding to the slice range in the map image based on the slice range corresponding to the sub-images.

[0095] In some embodiments, the slice attributes include any one or more of the following:

[0096] Pixels, size, slice level, spatial range.

[0097] In some embodiments, the analysis module 502 is specifically configured to:

[0098] Perform attribute analysis on the sub-images in the subset of map images to obtain the resolution and size of the sub-images;

[0099] Determine the maximum slice level of the sub-images according to the resolution;

[0100] Determine the minimum slice level of the sub-images according to the size.

[0101] In some embodiments, the update module 503 is specifically configured to:

[0102] Divide the sub-images into a slice range boundary part and a slice range internal part based on the slice range and the map image; wherein, the slice range boundary part is the part where the slice range boundary of the sub-images overlaps with the slice range boundary of the map image at the same slice level;

[0103] Fuse the slice range boundary part of the sub-images with the slice range boundary part of the map image;

[0104] Replace the map image with the slice range internal part.

[0105] In some embodiments, the update module 503 is specifically configured to:

[0106] Based on a preset fusion order, the boundary part of the slice range of the sub-image and the boundary part of the slice range of the map image are fused through a pixel filling algorithm.

[0107] The device provided by the embodiment of the present invention has the same implementation principle and technical effects as those of the foregoing method embodiment. For the sake of brief description, for the parts not mentioned in the system embodiment, reference may be made to the corresponding content in the foregoing method embodiment.

[0108] The embodiment of the present invention provides an electronic device. Specifically, the electronic device includes a processor and a storage device; a computer program is stored on the storage device, and when the computer program is run by the processor, it executes the method according to any one of the above embodiments.

[0109] Figure 6 FIG. is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. The electronic device includes: a processor 601, a memory 602, a bus 603, and a communication interface 604. The processor 601, the communication interface 604, and the memory 602 are connected through the bus 603; the processor 601 is used to execute an executable module stored in the memory 602, such as a computer program.

[0110] Among them, the memory 602 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory (Non-volatile Memory), such as at least one disk memory. Through at least one communication interface 604 (which may be wired or wireless), a communication connection between the system network element and at least one other network element is realized, and the Internet, a wide area network, a local area network, a metropolitan area network, etc. can be used.

[0111] The bus 603 may be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 6 only a bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0112] Among them, the memory 602 is used to store a program. After receiving an execution instruction, the processor 601 executes the program. The method executed by the device defined by the flow process disclosed in any one of the foregoing embodiments of the present invention can be applied to the processor 601 or implemented by the processor 601.

[0113] The processor 601 may be an integrated circuit chip with the ability to process signals. During implementation, the steps of the above method can be completed by the integrated logic circuit in the hardware of the processor 601 or instructions in the form of software. The above-mentioned processor 601 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present invention can be directly embodied as being executed and completed by a hardware decoding processor, or can be executed and completed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and combines its hardware to complete the steps of the above method.

[0114] The computer program product of the readable storage medium provided by the embodiments of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the methods in the foregoing method embodiments. For the specific implementation, reference can be made to the foregoing method embodiments and will not be elaborated here.

[0115] If a function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or a part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.

[0116] Finally, it should be noted that the above embodiments are only specific implementation manners of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting it. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any technician familiar with the technical field of the present invention can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes, or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims

1. A method for updating a map image, characterized in that, The method includes: Obtaining a subset of map images to be updated; wherein, the subset of map images contains a number of sub-images; Performing attribute analysis on the sub-images in the subset of map images to obtain the slice attributes of the sub-images, including: performing attribute analysis on the sub-images in the subset of map images to obtain the resolution and size of the sub-images; determining the maximum slice level of the sub-images according to the resolution; determining the minimum slice level of the sub-images according to the size; wherein, the sub-image slices are divided into many levels to support display at different zoom levels; Determining the slice range corresponding to the sub-images based on the slice attributes; wherein, calculating the corresponding online service level according to the resolution and size of the sub-images, and calculating the slice range corresponding to the subset of map images at each level according to the spatial range and the online service level, facilitating local update of the sub-images and the map images at different levels; Dividing the sub-images into a slice range boundary part and a slice range internal part based on the slice range and the map images; wherein, the slice range boundary part is the part where the slice range boundary of the sub-images overlaps with the slice range boundary of the map images at the same slice level; Fusing the slice range boundary part of the sub-images with the slice range boundary part of the map images; Replacing the map images with the slice range internal part.

2. The method according to claim 1, wherein The slice attributes include any one or more of the following: Pixel resolution, size, slice level, spatial range.

3. The method according to claim 1, wherein The step of fusing the slice range boundary part of the sub-images with the slice range boundary part of the map images includes: Fusing the slice range boundary part of the sub-images with the slice range boundary part of the map images through a pixel filling algorithm based on a preset fusion order.

4. An update device for map images, characterized in that, The device includes: An obtaining module, configured to obtain a subset of map images to be updated; wherein, the subset of map images contains a number of sub-images; An analysis module, specifically configured to: perform attribute analysis on the sub-images in the subset of map images to obtain the slice attributes of the sub-images, including: performing attribute analysis on the sub-images in the subset of map images to obtain the resolution and size of the sub-images; determining the maximum slice level of the sub-images according to the resolution; determining the minimum slice level of the sub-images according to the size; wherein, the sub-image slices are divided into many levels to support display at different zoom levels; determining the slice range corresponding to the sub-images based on the slice attributes; wherein, calculating the corresponding online service level according to the resolution and size of the sub-images, and calculating the slice range corresponding to the subset of map images at each level according to the spatial range and the online service level, facilitating local update of the sub-images and the map images at different levels; An update module, specifically configured to: divide the sub-image into a slice range boundary part and a slice range internal part based on the slice range and the map image; wherein, the slice range boundary part is the part where the slice range boundary of the sub-image overlaps with the slice range boundary of the map image at the same slice level; fuse the slice range boundary part of the sub-image with the slice range boundary part of the map image; and replace the map image with the slice range internal part.

5. An electronic device, comprising a memory and a processor, wherein a computer program that can run on the processor is stored in the memory, and is characterized in that When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 3 above.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and run by the processor, the computer-executable instructions cause the processor to run the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Remote sensing image map tile real-time fusion and online updating method

    CN110502594A

  • Road network data updating method and device, electronic equipment and storage medium

    CN113434526A