Vector data processing method and device, electronic equipment and storage medium

By converting vector data into raster images to process large amounts of data, the problem of long request response time and poor data transmission stability in existing technologies is solved, resulting in faster loading speed and higher data transmission stability.

CN121858765APending Publication Date: 2026-04-14BEIJING JINGDONG YUANSHENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

Existing technologies suffer from long request response times, degraded system performance, and data transmission stability issues when processing large volumes of vector data, which may lead to interface timeouts and service unavailability.

Method used

By converting vector data into raster images, users can edit map images, acquire and update vector data, reducing data transfer volume and improving loading speed.

Benefits of technology

It reduces request response time, avoids system performance degradation, improves data transmission stability, and prevents service unavailability issues caused by interface timeouts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121858765A_ABST
    Figure CN121858765A_ABST
Patent Text Reader

Abstract

The invention provides a vector data processing method and device, electronic equipment and a storage medium, and relates to the technical field of vector data processing methods and devices, electronic equipment and storage media. The method comprises the steps of displaying a corresponding map picture according to a query request of a user; when a user edits the map picture, obtaining vector data corresponding to the map picture; updating the vector data corresponding to the map picture to obtain updated vector data; and determining an updated map picture according to the updated vector data. According to the method and the device, the map picture can be displayed to the user to avoid transmission of the vector data, and the user can edit through the map picture to update the vector data corresponding to the map picture. The picture data is small in size and high in loading speed, so that the request response time can be shortened, reduction of system performance is avoided, the stability of data transmission is improved, and the problem of service unavailability caused by interface timeout can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a vector data processing method, apparatus, electronic device, and storage medium. Background Technology

[0002] Vector data refers to data represented using mathematical vectors. Common vector data types include points, lines, and surfaces, and are widely used in spatial analysis and geometric operations. With the development of computer science, the volume of vector data is constantly expanding, thus necessitating the querying, transmission, and processing of large amounts of vector data.

[0003] In related technologies, spatial index structures can be used to manage vector data to accelerate spatial queries and filtering. By establishing spatial indexes, the system can quickly identify data blocks that intersect or overlap with the current view and load the relevant data, thereby improving the processing performance of vector data.

[0004] However, when processing vector data of several megabytes, tens of megabytes, or even hundreds of megabytes, related technologies still lead to issues such as high latency, memory pressure, computational complexity, and data transmission problems. These shortcomings can result in longer request response times, degraded system performance, and data transmission instability, and may even cause interface timeouts, leading to service unavailability.

[0005] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0006] This disclosure provides a vector data processing method, apparatus, electronic device, and storage medium, which at least to some extent overcomes the problems of longer request response time, degraded system performance, and unstable data transmission caused by related technologies, and may even lead to interface timeouts, resulting in service unavailability.

[0007] Other features and advantages of this disclosure will become apparent from the following detailed description, or may be learned in part by practice of this disclosure.

[0008] According to one aspect of this disclosure, a vector data processing method is provided, comprising: displaying a corresponding map image according to a user's query request; when the user edits the map image, obtaining vector data corresponding to the map image; updating the vector data corresponding to the map image to obtain updated vector data; and determining the updated map image based on the updated vector data.

[0009] In some exemplary embodiments, the map image is used to describe the region corresponding to the target fence. Before displaying the corresponding map image according to the user's query request, the method further includes: determining the code corresponding to the target fence, wherein the target fence includes at least one level; determining the raster image corresponding to the target fence according to the code; and rendering the raster image to obtain the map image.

[0010] In some exemplary embodiments, determining the raster image corresponding to the target fence based on the code includes: determining the vector data corresponding to the target fence based on the code; and generating the raster image based on the vector data corresponding to the target fence.

[0011] In some exemplary embodiments, after determining the vector data corresponding to the target fence according to the code, the method further includes: matching the vector data corresponding to the target fence with a corresponding mapping identifier, wherein the mapping identifier includes at least one of a map identifier and a layer identifier; and storing the vector data corresponding to the target fence according to the mapping identifier.

[0012] In some exemplary embodiments, displaying a corresponding map image based on a user's query request includes: determining a mapping identifier corresponding to the query request; obtaining a raster image corresponding to the query request based on the mapping identifier; and rendering the raster image to display the obtained map image.

[0013] In some exemplary embodiments, the vector data processing method provided in this disclosure may further include: when a user grants AOI (Area of ​​Interest) data permission for a target area, obtaining a raster image corresponding to the target area, wherein the target area is located within the region covered by the map image; when it is determined that the raster image corresponding to the target area will be edited, obtaining vector data corresponding to the target area; updating the vector data corresponding to the target area to obtain updated vector data; and determining the updated raster image corresponding to the target area based on the updated vector data.

[0014] According to another aspect of this disclosure, a vector data processing apparatus is also provided, comprising: a map image display module for displaying a corresponding map image according to a user's query request; a vector data acquisition module for acquiring vector data corresponding to the map image when the user edits the map image; a vector data update module for updating the vector data corresponding to the map image to obtain updated vector data; and a map image update module for determining an updated map image based on the updated vector data.

[0015] In some exemplary embodiments, the map image is used to describe the area corresponding to the target fence. The vector data processing apparatus provided in this disclosure further includes: a map image determination module, used to determine the code corresponding to the target fence, wherein the target fence includes at least one level; determine the raster image corresponding to the target fence according to the code; and render the raster image to obtain a map image.

[0016] In some exemplary embodiments, the map image determination module is used to determine the vector data corresponding to the target fence according to the code; and generate a raster image based on the vector data corresponding to the target fence.

[0017] In some exemplary embodiments, the map image determination module is used to match the vector data corresponding to the target fence with a corresponding mapping identifier, the mapping identifier including at least one of a map identifier and a layer identifier; and to store the vector data corresponding to the target fence according to the mapping identifier.

[0018] In some exemplary embodiments, the map image display module is used to determine the mapping identifier corresponding to the query request; obtain the raster image corresponding to the query request based on the mapping identifier; and render the raster image to display the obtained map image.

[0019] In some exemplary embodiments, the vector data update module is further configured to: when a user grants AOI data permission for a target area, obtain a raster image corresponding to the target area, wherein the target area is located within the region covered by the map image; when it is determined that the raster image corresponding to the target area will be edited, obtain vector data corresponding to the target area; update the vector data corresponding to the target area to obtain updated vector data; and determine the updated raster image corresponding to the target area based on the updated vector data.

[0020] According to another aspect of this disclosure, an electronic device is also provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform a vector data processing method of any of the above by executing the executable instructions.

[0021] According to another aspect of this disclosure, a computer-readable storage medium is also provided, on which a computer program is stored, which, when executed by a processor, implements the vector data processing method of any of the above.

[0022] According to another aspect of this disclosure, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the vector data processing method provided in various alternative embodiments of this disclosure.

[0023] The technical solution provided by the embodiments of this disclosure can display map images to users to avoid the transmission of vector data. Furthermore, users can edit the map images to update the corresponding vector data. Because the image data is small in size and loads quickly, the embodiments of this disclosure can reduce request response time, avoid system performance degradation, improve data transmission stability, and prevent service unavailability issues caused by interface timeouts.

[0024] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0025] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0026] Figure 1 A schematic diagram of a system architecture according to an embodiment of this disclosure is shown;

[0027] Figure 2 This diagram illustrates a flowchart of a vector data processing method according to an embodiment of the present disclosure.

[0028] Figure 3 This diagram illustrates a vector data processing procedure according to an embodiment of the present disclosure.

[0029] Figure 4 This diagram illustrates a process for loading vector data corresponding to a target fence in an embodiment of the present disclosure.

[0030] Figure 5 This diagram illustrates a map image according to an embodiment of the present disclosure;

[0031] Figure 6 This diagram illustrates a vector data processing procedure according to an embodiment of the present disclosure.

[0032] Figure 7This diagram illustrates a map image according to an embodiment of the present disclosure;

[0033] Figure 8 This diagram illustrates a vector data processing apparatus according to an embodiment of the present disclosure.

[0034] Figure 9 This diagram illustrates a structural block diagram of an electronic device according to an embodiment of the present disclosure;

[0035] Figure 10 A schematic diagram of a computer-readable storage medium is shown in an embodiment of the present disclosure. Detailed Implementation

[0036] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided so that this disclosure will be more comprehensive and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0037] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0038] The specific implementation methods of the embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.

[0039] Figure 1 A schematic diagram of an exemplary application system architecture to which the methods of the embodiments of this disclosure can be applied is shown. For example... Figure 1 As shown, the system architecture 100 may include a terminal device 101, a network 102, and a server 103.

[0040] The terminal device 101 can receive query requests sent by users and obtain the map image corresponding to the query request based on the server 103. Furthermore, the terminal device 101 can display the map image.

[0041] Then, when the user edits the map image, the terminal device 101 can obtain the vector data corresponding to the map image.

[0042] Then, the terminal device 101 can update the vector data corresponding to the map image to obtain the updated vector data.

[0043] Finally, the terminal device 101 can determine the updated map image based on the updated vector data.

[0044] Network 102 is a medium used to provide a communication link between terminal device 101 and server 103, and can be a wired network or a wireless network.

[0045] Optionally, the aforementioned wireless or wired networks use standard communication technologies and / or protocols. The network is typically the Internet, but can also be any network, including but not limited to Local Area Networks (LANs), Metropolitan Area Networks (MANs), Wide Area Networks (WANs), mobile, wired or wireless networks, private networks, or any combination of virtual private networks. In some embodiments, technologies and / or formats including Hyper Text Markup Language (HTML), Extensible Markup Language (XML), etc., are used to represent data exchanged over the network. Furthermore, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Networks (VPNs), and Internet Protocol Security (IPSec) can be used to encrypt all or some links. In other embodiments, custom and / or dedicated data communication technologies can be used to replace or supplement the aforementioned data communication technologies.

[0046] Terminal device 101 can be various electronic devices, including but not limited to smartphones, tablets, laptops, desktop computers, smart speakers, smartwatches, wearable devices, augmented reality devices, virtual reality devices, etc.

[0047] Optionally, the client of the application installed on different terminal devices 101 may be the same, or the client of the same type of application based on different operating systems. Depending on the terminal platform, the specific form of the application client may also be different; for example, the application client may be a mobile client, a PC client, etc.

[0048] Server 103 can be a server that provides various services, such as a backend management server that supports the device operated by the user using terminal device 101. The backend management server can analyze and process received requests and other data, and feed the processing results back to the terminal device.

[0049] Optionally, the server can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0050] Those skilled in the art will know that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative; any number of terminal devices, networks, and servers can be included depending on actual needs. This disclosure does not limit the scope of the embodiments.

[0051] Under the above system architecture, this disclosure provides a vector data processing method that can be executed by any electronic device with computing capabilities.

[0052] In some embodiments, the vector data processing method provided in this disclosure can be executed by a terminal device of the system architecture described above; in other embodiments, the vector data processing method provided in this disclosure can be executed by a server in the system architecture described above; in still other embodiments, the vector data processing method provided in this disclosure can be implemented by the terminal device and the server in the system architecture described above through interaction.

[0053] Figure 2 A flowchart of a vector data processing method according to an embodiment of this disclosure is shown, such as... Figure 2 As shown, the vector data processing method provided in this embodiment includes the following steps S202 to S208.

[0054] S202, Display the corresponding map image based on the user's query request.

[0055] In an exemplary embodiment, the query request can be used to request a map image of a certain area. For example, the map image may include at least one primary fence, and each primary fence may include at least one secondary fence, and so on, the map image may consist of multiple levels of fences.

[0056] In some exemplary embodiments, map images are used to describe the region corresponding to the target fence. This disclosure does not limit the level of the target fence. In one possible implementation, the fence level may include levels one to four, wherein a provincial-level fence may be level one, a city-level fence may be level two, a district / county-level fence may be level three, and a street-level fence may be level four.

[0057] In this case, before displaying the corresponding map image according to the user's query request, the vector data processing method provided in this embodiment may further include: determining the code corresponding to the target fence, wherein the target fence includes at least one level; determining the raster image corresponding to the target fence according to the code; and rendering the raster image to obtain a map image.

[0058] Taking a target fence comprising four levels of fences as an example, the codes corresponding to each level of target fence in the map image can be obtained. For instance, if the target fence contains a level-one fence A, and level-one fence A contains level-two fences B1 and B2, then A, B1, and B2 can each correspond to a code.

[0059] In one possible implementation, the system front-end can display the names corresponding to the target fences at various levels, which users can select. The system can then determine the corresponding code based on the selected name and retrieve the corresponding vector data from the database based on the code.

[0060] In an exemplary embodiment, the code can correspond to vector data. Furthermore, the raster image can be obtained by loading vector data; therefore, the code can correspond to the raster image.

[0061] In some exemplary embodiments, determining the raster image corresponding to the target fence based on the code includes: determining the vector data corresponding to the target fence based on the code; and generating the raster image based on the vector data corresponding to the target fence.

[0062] For example, a lowest level fence corresponds to one vector data. Taking the fence level as an example, which can include levels one to four, a level four fence corresponds to one vector data, while a level one to three fence can correspond to multiple vector data.

[0063] This disclosure does not limit the method of generating raster images from vector data. For example, the corresponding raster image can be obtained by loading the vector data into GIS (Geographic Information System) software or a programming environment.

[0064] In some exemplary embodiments, after determining the vector data corresponding to the target fence according to the code, the vector data processing method provided in this disclosure may further include: matching the vector data corresponding to the target fence with a corresponding mapping identifier, the mapping identifier including at least one of map ID (Identity) and layer ID; and storing the vector data corresponding to the target fence according to the mapping identifier.

[0065] In some embodiments, both map identifiers and layer identifiers can be business attributes created by the user through the system, and each user can have a unique map ID and a unique layer ID.

[0066] In one possible implementation, after obtaining the corresponding vector data via a code, the vector data can be mapped using a map ID and a layer ID, thereby storing the vector data using the map ID and layer ID. Furthermore, the vector data can be loaded to obtain the corresponding raster image.

[0067] In some exemplary embodiments, displaying a corresponding map image based on a user's query request includes: determining a mapping identifier corresponding to the query request; obtaining a raster image corresponding to the query request based on the mapping identifier; and rendering the raster image to display the resulting map image.

[0068] For example, when a user's query request is received, the corresponding raster image can be queried using the map ID and layer ID. Then, the map image can be obtained from the raster image to display the map image.

[0069] Alternatively, when a user's query request is received, the corresponding vector data can be queried using the map ID and layer ID. Then, the vector data can be loaded to obtain the corresponding raster image, which can then be rendered on the map to display the map image.

[0070] S204: When a user edits a map image, obtain the vector data corresponding to that map image.

[0071] In some exemplary embodiments, users can select and edit the fenced area in a map image. After the user completes the editing, the updated vector data can be obtained.

[0072] For example, a user can edit a map image using map tools. The fence area to be edited can include at least one fence, and the fence can be of any level.

[0073] S206, Update the vector data corresponding to the map image to obtain the updated vector data.

[0074] In an exemplary embodiment, vector data can be updated based on user editing operations. Exemplarily, the editing operation may include at least one of dragging, splitting, and merging.

[0075] S208. Based on the updated vector data, determine the updated map image.

[0076] In an exemplary embodiment, the updated vector data can be loaded and rendered to obtain an updated raster image. Then, an updated map image can be obtained based on the updated raster image.

[0077] For example, the method provided in this disclosure embodiment further includes: displaying the updated map image.

[0078] In some exemplary embodiments, the vector data processing method provided in this disclosure may further include: when the user grants AOI data permission for a target area, obtaining a raster image corresponding to the target area, wherein the target area is located within the region covered by the map image; when it is determined that the raster image corresponding to the target area will be edited, obtaining vector data corresponding to the target area; updating the vector data corresponding to the target area to obtain updated vector data; and determining the raster image corresponding to the updated target area based on the updated vector data.

[0079] For example, the target area can be any area covered by the map image. This disclosure does not limit the target area. For example, the target area can be a shopping mall, park, residential area, etc.

[0080] Taking a residential community as an example, users can activate access to the corresponding city's community AOI data through the system. After activation, users can query the raster images of the corresponding community AOI. Then, users can edit the raster images of the community AOI. For example, users can use the selection function to load the vector data corresponding to the community AOI, edit the community AOI image using map tools, and save the updated vector data. Then, an updated raster image can be generated based on the updated vector data. Finally, an updated community AOI image can be obtained from this updated raster image.

[0081] Optionally, the updated AOI image of the community can be displayed, allowing users to view it and determine whether further editing is needed.

[0082] The method provided in this disclosure can display map images to users, avoiding the transmission of vector data. Furthermore, users can edit the map images to update the corresponding vector data. Because the image data is small in size and loads quickly, this disclosure can reduce request response time, prevent system performance degradation, improve data transmission stability, and avoid service unavailability issues caused by interface timeouts.

[0083] For example, a schematic diagram of a vector data processing process can be as follows: Figure 3 As shown.

[0084] In Figure 3 In the system, users can create maps and polygon layers. For example, this polygon layer can be an overlayable polygon layer. An overlayable polygon layer can be a two-dimensional or multi-dimensional polygon layer that is displayed together with other layers in a GIS system. Such layers typically contain geospatial data and can be overlaid with other types of layers to create a richer and more detailed geospatial view.

[0085] Then, you can load target fences at various levels. First, confirm whether to load the first-level target fence. If not, you can view the fence information. If yes, proceed to confirm whether to load the second-level target fence. If no, you can view the fence information. If yes, proceed to confirm whether to load the third-level target fence. If no, you can view the fence information. If yes, proceed to confirm whether to load the fourth-level target fence.

[0086] Next, users can view the fence information to determine whether to edit the fence. If so, they can load the vector data and then edit it to update it. Finally, the vector data can be published as a map image and saved.

[0087] For example, a schematic diagram of a process for loading vector data corresponding to a target fence can be as follows: Figure 4 As shown.

[0088] In Figure 4 The process begins by acquiring target fences at each level. Then, the first-level target fence is loaded, and a raster image of that fence is generated. The user can then view the loaded first-level target fence and decide whether to edit it. If not, the process ends. If yes, the user selects the fence area to be edited using a selection box, and vector data is returned. Editing can then be performed based on the returned vector data, and a new raster image of the first-level target fence is generated after editing.

[0089] In an exemplary embodiment, a map image can be as follows: Figure 5 As shown. In this Figure 5 The system can display target fences at various levels. For example, a provincial fence can be a level one fence, a city-level fence can be a level two fence, a district / county-level fence can be a level three fence, and a street-level fence can be a level four fence.

[0090] For example, a schematic diagram of a vector data processing process can be as follows: Figure 6 As shown.

[0091] In Figure 6 First, users can grant access to the AOI data for their chosen city and view the AOI raster image fence. Then, a decision is made whether to edit; if not, the process ends. If so, the AOI to be edited is selected using a selection box, and vector data is returned. Editing can then be performed based on the returned vector data, and the vector data for that city's AOI is saved after editing. A new raster image of the corresponding fence is then generated. Users can then view the updated AOI raster image fence.

[0092] Among them, AOI vector data can be preprocessed and published as raster images, and when viewing the AOI raster image fence, the corresponding image set can be segmented according to the front-end scaling level.

[0093] For example, a map image can be as follows Figure 7 As shown. In this Figure 7 The black portion in the diagram can represent the area of ​​the target fence after it has been edited and updated. For example, different levels of target fences can also be distinguished by different colors or different shades of gray, but this disclosure does not limit this aspect.

[0094] The method provided in this disclosure allows the system to process and convert vector data after acquisition, transforming it into a visualized image format. By converting vector data into images, the system can significantly reduce the amount of data transmitted. Since transmitting vector data requires a large data bandwidth, converting it into images only requires transmitting the image data, resulting in a substantial reduction in data volume compared to the original vector data. This effectively reduces bandwidth pressure during transmission, improving service performance and response speed. Furthermore, during queries, the system loads and displays corresponding raster images based on the user's needs. Because raster images have a small file size and load relatively quickly, users can rapidly obtain the required geographic information data. Simultaneously, since the image data is already in a visualized form, users can intuitively observe and analyze geographic information, eliminating the need for complex processing and parsing of vector data.

[0095] It should be noted that the vector data transmission and loading method provided in this disclosure can improve the performance of geographic information services and the user experience. This disclosure achieves image-based geographic information display by combining raster images and vector data. Users can quickly obtain the required geographic information through simple data interaction and query operations, reducing the complexity of data transmission and processing, and improving the efficiency and accuracy of data display. This method can effectively optimize the performance of geographic information services, enabling users to more conveniently obtain target information.

[0096] It should be noted that the acquisition, storage, use, and processing of data in this disclosed technical solution comply with the relevant provisions of national laws and regulations. The various types of data, such as personal identity data, operational data, and behavioral data related to individuals, customers, and groups, obtained in the embodiments of this disclosure have all been authorized.

[0097] Based on the same inventive concept, this disclosure also provides a vector data processing apparatus, as described in the following embodiments. Since the principle by which this apparatus solves the problem is similar to that of the method embodiments described above, the implementation of this apparatus embodiment can refer to the implementation of the method embodiments described above, and repeated details will not be repeated.

[0098] Figure 8 This diagram illustrates a vector data processing apparatus according to an embodiment of the present disclosure, such as... Figure 8 As shown, the device includes:

[0099] The map image display module 801 is used to display the corresponding map image according to the user's query request;

[0100] The vector data acquisition module 802 is used to acquire the vector data corresponding to the map image when the user edits the map image;

[0101] The vector data update module 803 is used to update the vector data corresponding to the map image to obtain the updated vector data.

[0102] The map image update module 804 is used to determine the updated map image based on the updated vector data.

[0103] In some exemplary embodiments, the map image is used to describe the area corresponding to the target fence. The vector data processing apparatus provided in this disclosure also includes:

[0104] The map image determination module is used to determine the code corresponding to the target fence, wherein the target fence includes at least one level; determine the raster image corresponding to the target fence based on the code; and render the raster image to obtain a map image.

[0105] In some exemplary embodiments, the map image determination module is used to determine the vector data corresponding to the target fence according to the code; and generate a raster image based on the vector data corresponding to the target fence.

[0106] In some exemplary embodiments, the map image determination module is used to match the vector data corresponding to the target fence with a corresponding mapping identifier, the mapping identifier including at least one of a map identifier and a layer identifier; and to store the vector data corresponding to the target fence according to the mapping identifier.

[0107] In some exemplary embodiments, the map image display module 801 is used to determine the mapping identifier corresponding to the query request; obtain the raster image corresponding to the query request based on the mapping identifier; and render the raster image to display the obtained map image.

[0108] In some exemplary embodiments, the vector data update module 803 is further configured to: when the user grants AOI data permission for the target area, obtain a raster image corresponding to the target area, wherein the target area is located within the region covered by the map image; when it is determined that the raster image corresponding to the target area will be edited, obtain vector data corresponding to the target area; update the vector data corresponding to the target area to obtain updated vector data; and determine the raster image corresponding to the updated target area based on the updated vector data.

[0109] The apparatus provided in this disclosure can display map images to users to avoid the transmission of vector data. Furthermore, users can edit the map images to update the corresponding vector data. Because the image data is small in size and loads quickly, this disclosure can reduce request response time, prevent system performance degradation, improve data transmission stability, and avoid service unavailability issues caused by interface timeouts.

[0110] It should be noted that the map image display module 801, vector data acquisition module 802, vector data update module 803, and map image update module 804 mentioned above correspond to S202 to S208 in the method embodiment. The examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in the above method embodiment. It should be noted that the above modules, as part of the device, can be executed in a computer system such as a set of computer-executable instructions.

[0111] Those skilled in the art will understand that various aspects of this disclosure can be implemented as a system, method, or program product. Therefore, various aspects of this disclosure can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, collectively referred to herein as a "circuit," "module," or "system."

[0112] This disclosure provides an electronic device, which, exemplarily, includes a processor and a memory. The memory can be used to store executable instructions of the processor. The processor is configured to perform the vector data processing method provided in this disclosure by executing the executable instructions.

[0113] The following reference Figure 9 To describe an electronic device 900 according to such an embodiment of the present disclosure. Figure 9 The electronic device 900 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.

[0114] like Figure 9 As shown, the electronic device 900 is presented in the form of a general-purpose computing device. The components of the electronic device 900 may include, but are not limited to: at least one processing unit 910, at least one storage unit 920, and a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910).

[0115] The storage unit stores program code that can be executed by the processing unit 910, causing the processing unit 910 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure. For example, the processing unit 910 can perform the following steps of the above method embodiments:

[0116] Display the corresponding map image based on the user's query request; when the user edits the map image, obtain the vector data corresponding to the map image; update the vector data corresponding to the map image to obtain the updated vector data; determine the updated map image based on the updated vector data.

[0117] Storage unit 920 may include readable media in the form of volatile storage units, such as random access memory (RAM) 9201 and / or cache memory 9202, and may further include read-only memory (ROM) 9203.

[0118] Storage unit 920 may also include a program / utility 9204 having a set (at least one) program module 9205, such program module 9205 including but not limited to: operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.

[0119] Bus 930 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.

[0120] Electronic device 900 can also communicate with one or more external devices 940 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 900, and / or with any device that enables electronic device 900 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 950. Furthermore, electronic device 900 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 960. As shown, network adapter 960 communicates with other modules of electronic device 900 via bus 930. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0121] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.

[0122] In particular, according to embodiments of this disclosure, the process described above with reference to the flowchart can be implemented as a computer program product, which includes a computer program that, when executed by a processor, implements the above-described vector data processing method.

[0123] In exemplary embodiments of this disclosure, a computer-readable storage medium is also provided, on which a computer program is stored. When executed by a processor, the computer program can implement the vector data processing method provided in the embodiments of this disclosure. The computer-readable storage medium may be a readable signal medium or a readable storage medium.

[0124] Figure 10 This illustration shows a schematic diagram of a computer-readable storage medium according to an embodiment of the present disclosure, such as... Figure 10 As shown, the computer-readable storage medium 1000 stores a program product capable of implementing the methods described above. In some possible embodiments, various aspects of this disclosure may also be implemented as a program product comprising program code that, when run on a terminal device, causes the terminal device to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure.

[0125] More specific examples of computer-readable storage media in this disclosure may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0126] In this disclosure, a computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of transmitting, propagating, or transmitting a program for use by or in connection with an instruction execution system, apparatus, or device.

[0127] Optionally, the program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.

[0128] In practical implementation, program code for performing the operations of this disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0129] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0130] Furthermore, although the steps of the method in this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple steps.

[0131] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, mobile terminal, or network device, etc.) to execute the methods according to the embodiments of this disclosure.

[0132] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope of this disclosure is indicated by the appended claims.

Claims

1. A vector data processing method, characterized in that, include: Display the corresponding map image based on the user's query request; When a user edits the map image, the vector data corresponding to the map image is obtained; The vector data corresponding to the map image is updated to obtain the updated vector data; Based on the updated vector data, the updated map image is determined.

2. The vector data processing method according to claim 1, characterized in that, The map image is used to describe the area corresponding to the target fence. Before displaying the corresponding map image according to the user's query request, the process also includes: Determine the code corresponding to the target fence, wherein the target fence includes at least one level; The code determines the grid image corresponding to the target fence; The raster image is rendered to obtain the map image.

3. The vector data processing method according to claim 2, characterized in that, The step of determining the raster image corresponding to the target fence based on the code includes: The vector data corresponding to the target fence is determined based on the code; A raster image is generated based on the vector data corresponding to the target fence.

4. The vector data processing method according to claim 3, characterized in that, After determining the vector data corresponding to the target fence based on the code, the process further includes: Match the vector data corresponding to the target fence with a corresponding mapping identifier, wherein the mapping identifier includes at least one of a map identifier and a layer identifier; The vector data corresponding to the target fence is stored according to the mapping identifier.

5. The vector data processing method according to claim 1 or 4, characterized in that, The step of displaying the corresponding map image based on the user's query request includes: Determine the mapping identifier corresponding to the query request; Obtain the raster image corresponding to the query request based on the mapping identifier; The raster image is rendered to display the resulting map image.

6. The vector data processing method according to claim 1, characterized in that, The method further includes: When the user grants access to the AOI data of the target area, the raster image corresponding to the target area is obtained, and the target area is located within the area covered by the map image; When it is determined that the raster image corresponding to the target area will be edited, the vector data corresponding to the target area will be obtained; The vector data corresponding to the target region is updated to obtain the updated vector data; Based on the updated vector data, determine the raster image corresponding to the updated target area.

7. A vector data processing device, characterized in that, include: The map image display module is used to display the corresponding map image based on the user's query request; The vector data acquisition module is used to acquire the vector data corresponding to the map image when the user edits the map image; The vector data update module is used to update the vector data corresponding to the map image to obtain the updated vector data; The map image update module is used to determine the updated map image based on the updated vector data.

8. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the vector data processing method according to any one of claims 1 to 6 by executing the executable instructions.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the vector data processing method according to any one of claims 1 to 6.

10. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the vector data processing method as described in any one of claims 1 to 6.