Method, system and device for providing map service, medium and chip

By generating and managing task identifiers and determining task raster map data, the problem of low efficiency in user acquisition of raster data in the prior art is solved, and efficient map services and optimized storage and rendering effects are achieved.

CN119901273AActive Publication Date: 2025-04-29CORECHENG (BEIJING) TECHNOLOGY CO LTD

Patent Information

Application Number
CN202411897590.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-29
Estimated Expiration
2044-12-20

AI Technical Summary

Technical Problem

In the prior art, the operation efficiency of users obtaining raster data is low, and traditional map services have limitations in rendering effects and application scenarios.

Method used

By obtaining environment-aware data and task attribute information, generate original raster map data and task identification, determine the task raster map data, and send task raster map data to the client in response to the client's request.

Benefits of technology

The task-based raster map service is realized, which improves user operation efficiency, reduces storage redundancy, and optimizes data transmission and rendering effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119901273A_ABST
    Figure CN119901273A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method, system and equipment for providing map service, a medium and a chip, and relates to the field of computers. The method for providing the map service comprises the steps that environment perception data and task attribute information which are used for generating task raster map data are obtained, and the task attribute information comprises a target geographic range; generating original raster map data and a task identifier according to the environment perception data and the task attribute information, wherein the task identifier is used for indicating the original raster map data and the task attribute information; determining task raster map data according to the original raster map data, wherein the task identifier is also used for indicating the task raster map data; and in response to a map data request indication containing the task identifier sent by the client, sending task raster map data corresponding to the task identifier to the client, so as to provide map service for the client. Therefore, the client can conveniently obtain the task raster map data based on the task identifier, and the operation efficiency of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and more specifically, to a method, system, device, medium and chip for providing map services. Background Art

[0002] With the development of computer technology, map services have played an increasingly important role in many fields such as user navigation, autonomous driving, traffic management, and urban planning. Map service is a service that provides map data to users, allowing users to access and use map data through the Internet. In the process of map production or updating, users can obtain map data of a specific area based on map services and edit, manage and publish map data to generate high-precision maps. Map data may include raster data and / or vector data, wherein raster data can divide geographic space into regular grid cells, each grid cell represents a specific spatial area, and can be presented in the form of pixels or cells. Vector data can be composed of geometric elements such as points, lines, and surfaces, and can be organized using topological structures to describe the spatial position and attributes of geographic entities through coordinates and topological relationships. In related technologies, there is a problem of low operating efficiency when users obtain raster data through map services. Summary of the invention

[0003] In view of this, the embodiments of the present disclosure propose a new technical solution for providing map services.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for providing a map service is provided, which is applied to a server, and the method includes:

[0005] Acquire environmental perception data and task attribute information for generating task raster map data, wherein the task attribute information includes a target geographic range;

[0006] Generate original grid map data and a task identifier according to the environment perception data and the task attribute information, wherein the task identifier is used to indicate the original grid map data and the task attribute information;

[0007] Determine task grid map data according to the original grid map data, wherein the task identifier is also used to indicate the task grid map data;

[0008] In response to a map data request indication including the task identifier sent by the client, task grid map data corresponding to the task identifier is sent to the client to provide map services to the client.

[0009] Optionally, the task attribute information further includes task requirements; the original grid map data includes a plurality of original grids; and determining the task grid map data according to the original grid map data includes:

[0010] According to the task requirement, determining whether each of the original grids has valid data matching the task requirement;

[0011] The original grid containing the valid data is used as the target grid;

[0012] The task grid map data is generated according to the target grid.

[0013] Optionally, the boundary of the original grid map data is a regular rectangle, the boundary of the task grid map data is an irregular polygon, and the grid area of ​​the task grid map data is smaller than the area of ​​the original grid map data.

[0014] Optionally, after generating original grid map data and task identification according to the environment perception data and the task attribute information, the method further includes:

[0015] According to the task identifier, the original grid map data is stored in a data container; wherein different task identifiers correspond to different data containers;

[0016] Mounting the data container to the file system service of the server to generate a data directory; wherein one data directory includes one or more data containers;

[0017] Logical data source indication information is generated according to the data directory to determine the storage location of the data container based on the logical data source indication information.

[0018] Optionally, a plurality of task grid map data are stored in a first memory of the server, the first memory is a non-volatile memory, and different task grid map data correspond to different task identifiers; the method further includes:

[0019] Count the access frequency of task grid map data corresponding to different task identifiers in the historical time period;

[0020] One or more task identifiers with the highest access frequency in the historical time period are used as target task identifiers;

[0021] The task grid map data corresponding to the target task identifier is stored in the second memory of the server; wherein the second memory is a volatile memory.

[0022] Optionally, the environmental perception data includes multiple layers of environmental perception data in a height direction; and generating original grid map data and a task identifier according to the environmental perception data and the task attribute information includes:

[0023] Each layer of the multi-layer environmental perception data is used to generate different original grid map data and task identifiers.

[0024] Optionally, the method further comprises at least one of the following:

[0025] In response to a map data cleanup instruction corresponding to the task identifier sent by the client, deleting the task grid map data corresponding to the task identifier;

[0026] In response to a map data update indication corresponding to the task identifier sent by the client, updating the task grid map data according to the original grid map data stored in the data container, and sending the updated task grid map data to the client;

[0027] In response to a map data status query indication corresponding to the task identifier sent by the client, status information on whether the task grid map data is generated or updated is sent to the client.

[0028] According to a second aspect of an embodiment of the present disclosure, a method for providing a map service is provided, which is applied to a client, and the method includes:

[0029] Sending a map data request indication to the server based on the task identifier;

[0030] Receiving task grid map data corresponding to the task identifier sent by the server;

[0031] Displaying the task grid map data to provide map services to users;

[0032] Among them, the task raster map data is data determined by the server based on the original raster map data, the original raster map data and the task identifier are generated based on the environmental perception data and the task attribute information, the task attribute information includes the target geographical range, and the task identifier is used to indicate the original raster map data, the task attribute information and the task raster map data.

[0033] According to a third aspect of an embodiment of the present disclosure, a map service system is provided, the map service system comprising a server and a client; wherein:

[0034] The server is used to obtain environmental perception data and task attribute information for generating task raster map data, wherein the task attribute information includes a target geographical range; generate original raster map data and a task identifier according to the environmental perception data and the task attribute information, wherein the task identifier is used to indicate the original raster map data and the task attribute information; determine task raster map data according to the original raster map data, wherein the task identifier is also used to indicate the task raster map data; and in response to a map data request indication including the task identifier sent by a client, send the task raster map data corresponding to the task identifier to the client, so as to provide a map service to the client;

[0035] The client is used to send a map data request indication to the server based on the task identifier; receive the task grid map data corresponding to the task identifier sent by the server; and display the task grid map data to provide map services to users.

[0036] According to a fourth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute a method as described in any one of the first aspect and / or the second aspect.

[0037] According to a fifth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in any one of the first aspect and / or the second aspect is implemented.

[0038] According to a sixth aspect of an embodiment of the present disclosure, a chip is provided, comprising a processing unit, wherein the processing unit is configured to execute a method as described in any one of the first aspect and / or the second aspect.

[0039] Based on the method for providing map services provided by the embodiments of the present disclosure, a task-based raster map service can be implemented, which makes it convenient for the client to obtain task raster map data based on the task identifier. There is no need for the user to provide additional auxiliary information such as the map operation range through the client, thereby improving the user's operating efficiency. In addition, since only one task raster map data needs to be created for one task identifier, there is no need to temporarily copy the data when the client applies for the map service, which reduces unnecessary storage redundancy caused by temporary copying, reduces the storage space occupied, and further improves the operating efficiency.

[0040] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0042] Figure 1 It is a structural diagram of a map service system provided by an embodiment of the present disclosure.

[0043] Figure 2 It is a flowchart of a method for providing map services provided by an embodiment of the present disclosure.

[0044] Figure 3 It is a schematic diagram of original grid map data and task grid map data provided by an embodiment of the present disclosure.

[0045] Figure 4 It is a flowchart of a map data storage method provided by an embodiment of the present disclosure.

[0046] Figure 5 It is a structural schematic diagram of a map data storage system provided by an embodiment of the present disclosure.

[0047] Figure 6 It is a flowchart of a method for providing map services provided by an embodiment of the present disclosure.

[0048] Figure 7 It is a flowchart of a method for providing map services provided by an embodiment of the present disclosure.

[0049] Figure 8 It is a structural diagram of a map service system provided by an embodiment of the present disclosure.

[0050] Fig. 9 It is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0051] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0052] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0053] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the above-mentioned technologies, methods, and equipment should be considered as part of the specification.

[0054] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0055] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0056] First, the application scenarios of the embodiments of the present disclosure are described.

[0057] Map service is a service that provides map data to users, allowing users to access and use map data through the Internet. In the process of map production or updating, users can obtain map data of a specific area based on map services and edit, manage and publish map data to generate high-precision maps. Map services can also be called geographic information services, and map data can also be called geographic information data. The system that provides map services can be a Geographic Information System (GIS). GIS can analyze and process spatial information, integrating the unique visualization effect and geographic analysis function of maps with general database operations (such as query and statistical analysis).

[0058] WebGIS is a technology that combines Web technology with geographic information systems (GIS) to enhance and expand the functions of geographic information systems. WebGIS can be based on the B / S (Browser / Server) architecture of the network, so that the server and the client can achieve efficient information exchange through the Internet. The OpenGeospatial Consortium (OGC) focuses on the research of geographic information services, content, information processing and data sharing. Its members have jointly developed the interoperability standard for open geographic data - OpenGIS. According to this standard, developers can flexibly mount and use distributed stored geographic data, especially high-precision maps and raster data, in a unified environment and workflow to build a localized geographic information service software system. In the OGC specification, Web Map Service (WMS), Web Feature Service (WFS) and Web Map Tile Service (WMTS) are particularly important and widely used service specifications in WebGIS.

[0059] The traditional WebGIS architecture performs well in supporting vector data, but with the development of technology, raster data is increasingly used in high-precision maps. When providing raster data map services based on the traditional WebGIS architecture, there is a problem of low operational efficiency when users obtain raster data. Therefore, how to efficiently store, transmit and analyze massive raster data has become an urgent problem to be solved.

[0060] In related technologies, raster data services (such as remote sensing images) can be encapsulated through a software development kit (SDK) to provide a unified interface, so that application layer software can implement map service related functions by calling the map engine interface. This can provide a unified service interface, so that users do not need to understand the underlying implementation details when interacting with spatial locations, greatly improving the speed of project delivery. This mechanism not only improves development efficiency, but also enhances application compatibility, laying a solid foundation for the development of industry applications.

[0061] However, although this kind of map service is convenient for users, it still has some significant defects. First, the client must provide auxiliary information such as range when specifying the display content, such as drawing a frame on the map to confirm the target range, which requires overlaying layers on the raster layer, wasting computing resources and reducing user experience. And with the rapid development of artificial intelligence technology, the importance of raster data is increasing day by day, especially in laser mapping, high-precision remote sensing data analysis and high-precision map production. The cache management scheme of existing map services is too rough, and it is urgent to introduce a more refined data distribution mechanism to improve efficiency and reliability when processing massive map data.

[0062] In addition, the existing unified interface is mainly applicable to general scenarios, but for layers with overlapping relationships (such as viaducts and roads under bridges), the covered data is difficult to display effectively due to the hierarchical relationship of the logical hierarchy. These problems lead to poor rendering effects of current map publishing services and limited application scenarios.

[0063] The rule-based temporary storage mechanism in related technologies may cause unnecessary storage redundancy, and a large amount of data transmission and I / O operations bring significant performance pressure. In order to better meet user needs, it is particularly urgent to comprehensively optimize and improve map services.

[0064] Figure 1 FIG. 1 is a schematic diagram of the structure of a map service system 100 provided in an embodiment of the present disclosure. Figure 1 As shown, the map service system 100 may include: a server 101 and a client 102 .

[0065] In some examples, the server 101 can be a single server or a distributed server cluster composed of multiple servers, and its deployment method can include a local server or a cloud server. The server 101 can communicate with the client 102 based on the communication network 103 to provide map services for the client 102. For example, the server can provide a raster map service based on WebGIS. The communication network 103 may include one or more networks of any type. For example, the communication network 103 may include the Internet, a local area network (LAN), a wide area network (WAN), a virtual private network (VPN), a public switched telephone network (PSTN), a satellite communication network, Wi-Fi, 2G, 3G, 4G, 5G, 6G, NB-IoT, eMTC, infrared, Bluetooth, NFC, etc., or a combination of the above multiple networks. The server can be used to complete the publication and management of map services. For example, the server may include a map service center and / or a data provider center. The data of the map service is provided by the data provider center. With the support of the map service center and the data service center, the distributed map publishing service architecture design is realized. It should be noted that the map service center and the data provider center can be different hardware entities or different software modules on the same hardware entity.

[0066] In some examples, the client 102 can be any form of electronic device that provides services to users, such as a personal computer, a laptop computer, a smart tablet, a smart phone, a smart wearable device, etc. The user can interact with the server 101 through the client 102. For example, the client runs an application based on the map service system to interact with the server. The application can be a local application, a web application, or a small program, etc., which is not limited here. Optionally, the above application running on the client can provide authentication or authorization services for users. Users who are successfully authenticated and granted corresponding permissions can view and / or edit the map data on the server within the scope of the granted permissions.

[0067] In some examples, the server 101 can also provide map services for the vehicle, which can be a vehicle with an automatic driving function. Among them, automatic driving is also called unmanned driving or intelligent driving. Vehicles with automatic driving functions can achieve driving tasks such as environmental perception, decision planning and control execution. The level of automatic driving can refer to the automobile intelligence classification standard formulated by the Society of Automotive Engineers (SAE). For example, L0 is manual driving, L1 is assisted driving, L2 is partial automatic driving, L3 is conditional automatic driving, L4 is highly automatic driving, and L5 is fully automatic driving. The above division method of automatic driving levels is only used as an example. The present disclosure embodiment does not limit the division standards and levels of automatic driving. For example, the vehicle can download the required map data from the server for path planning or navigation.

[0068] It should be noted that Figure 1 The structure of the map service system 100 shown in the figure is only illustrative. The map service system in the embodiment of the present disclosure is not limited to the above structure, and may include more or fewer devices as needed, and may also combine or split the devices. For example, the map service system may not include a client; for another example, the client and the server may be deployed together.

[0069] Figure 2 is a flow chart of a method for providing map services provided by an embodiment of the present disclosure. The method for providing map services may be Figure 1 The server side of the map service system shown in the figure is executed. Figure 2 As shown, the method for providing map services in this embodiment may include the following steps S210 to S240.

[0070] Step S210, obtaining environmental perception data and task attribute information for generating task raster map data.

[0071] The task attribute information may be a relevant attribute of a map making or updating task, for example, it may include at least one of a target geographic range, a task requirement, a data layer identifier, an image format, and a reference coordinate type. For example, the task attribute information may include a target geographic range, and for another example, the task attribute information may include a target geographic range and a task requirement.

[0072] The target geographical range may be a geographical area range specified by a user or a preset geographical area range, such as a city, a community, a street or a specific area.

[0073] The task requirement may be used to indicate a map operation requirement of a map making or updating task that needs to be provided to a user. For example, the task requirement is a road map making requirement, a building map making requirement, or other task requirements.

[0074] The data layer identifier may be a unique identifier used to distinguish different data layers in a geographic information system (GIS). Different data layer identifiers may respectively compare different types of geographic data, such as roads, buildings, water bodies, etc.

[0075] The image format may be used to indicate the encoding method of the digital image in the map data, which determines the image storage, compression, color depth and other characteristics. For example, the image format may be at least one of JPG, PNG, TIFF and other formats.

[0076] The reference coordinate type can be used to indicate a coordinate system for positioning and describing a map location. For example, the reference coordinate type can be a Cartesian coordinate system, a geographic coordinate system, etc.

[0077] The environmental perception data may include real-scene scanning data within the target geographic range. Here, the "real scene" in the real-scene scanning data refers to the real world or the scene in the real world, that is, the target geographic range as the data collection object is the target geographic range that exists in the real world; and the "scan" in the real-scene scanning data is intended to reflect that the sensor collects data for the target geographic range to achieve the scanning of the target geographic range, and is not intended to limit the specific way in which the sensor collects data. Among them, the real-scene scanning data may include at least one of the image data collected by the visual sensor (such as camera, satellite, etc.) for the target geographic range (for example, environmental images collected by vehicle sensors, aerial images, satellite images, etc.) and the point cloud data collected by the radar for the target geographic range.

[0078] For example, the above-mentioned environmental perception data may include image data collected by a visual sensor and / or point cloud data collected by a radar.

[0079] In some examples, the environment perception data and task attribute information may be input by a user. For example, the user may directly input the environment perception data and task attribute information through the server, or the user may input the environment perception data and task attribute information to the server through the client.

[0080] In some examples, a user may initiate a task creation request through a client and input environmental perception data and task attribute information to trigger the server to execute steps S210 to S230, create a corresponding task and generate task raster map data.

[0081] Optionally, when a user initiates a task creation request, the task attribute information may include specific parameters, such as at least one of environmental perception data, target geographic range, data layer identifier, image format, and reference coordinate type. After receiving the task creation request, the server may parse these parameters and extract the required map data from the environmental perception data according to the target geographic range and / or data layer identifier.

[0082] Step S220, generating original raster map data and task identification according to the environment perception data and task attribute information.

[0083] The original raster map data and the task identifier may correspond one to one.

[0084] In some examples, the task identifier can be used to indicate the original raster map data and task attribute information. For example, the task identifier can be a unique identifier assigned by the server to characterize a map job task, and the map job task can be a map job task for creating, viewing, updating, publishing, and other operations on map data within a target geographic range. Based on the task identifier, it can be used to identify the target geographic range and the original raster map data corresponding to the target geographic range. For example, the server can generate a task identifier based on one or more of the information such as the source of the environmental perception data, the time when the environmental perception data is collected or processed, and the characteristics of the target geographic range, and index the target geographic range and the original raster map data corresponding to the target geographic range through the task identifier.

[0085] In some examples, the task identifier can be used to indicate any one or more information in the task attribute information. For example, if the above task attribute information also includes task requirements, the task identifier can also be used to indicate the task requirements. For another example, if the above task attribute information also includes a data layer identifier, the task identifier can also be used to indicate a data layer identifier.

[0086] In some examples, the same target geographic range may include multiple task identifiers, and each task identifier may be used to indicate its own original grid map data and task attribute information. For example, if the environmental perception data within the target geographic range may include multiple layers of environmental perception data in the height direction, the server may generate different original grid map data and task identifiers for each layer of environmental perception data.

[0087] In some examples, the original raster map data may be raster map data corresponding to the target geographic range in the task attribute information. The raster map data may be a data format that stores geographic information in the form of raster cells, each of which may represent a small area on the ground and contain geographic information of the area.

[0088] In some examples, the environment perception data may be rasterized to obtain raster map data. For example, the spatial resolution of the raster map data, i.e., the actual ground area covered by each grid cell, may be set, and the environment perception data may be projected into a map coordinate system to generate accurate and complete original raster map data.

[0089] In other examples, the environmental perception data may be preprocessed before being rasterized to obtain the original raster map data. The preprocessing may include denoising, enhancing, classifying, and other operations on the environmental perception data to improve data quality and extract useful information; the preprocessing may also include fusing multiple types of environmental perception data to obtain fused perception data.

[0090] In some examples, the environmental perception data may include real-scene scanning data outside the target geographic range. In this step, the data outside the target geographic range may be eliminated, and only the data within the target geographic range may be retained to generate original raster map data and task identification corresponding to the target geographic range.

[0091] Step S230, determining task grid map data according to the original grid map data.

[0092] Among them, the task grid map data and the task identifier can correspond one to one.

[0093] In some examples, the above-mentioned task identification can also be used to indicate the task raster map data. For example, the task identification can be used to indicate at least one of the original raster map data, the task raster map data and the task attribute information, and the task attribute information can include at least one of the target geographic range, task requirements, data layer identification, image format and reference coordinate type. In this way, the task-related data and / or information can be easily indexed through the task identification, thereby improving the convenience of map task operation.

[0094] The task raster map data and the original raster map data may be the same or different. For example, the original raster map data may be directly used as the task raster map data; or the raster with valid data in the original raster map data may be used as the task raster map data, that is, the raster range contained in the task raster map data may be less than or equal to the original raster map data. Optionally, the boundary of the original raster map data may be a regular rectangle (e.g., a continuous rectangular area), and the boundary of the task raster map data may be an irregular polygon within the regular rectangle.

[0095] In some examples, the task identification and the task raster map data may be used to provide raster map services to users.

[0096] In some examples, the above-mentioned server may include multiple distributed data service units (also referred to as database service units); a target data service unit may be determined from the multiple distributed data service units of the server according to the load information of the distributed data service units; and task raster map data corresponding to the task identifier may be determined based on the target data service unit. For example, the distributed data service unit with the lowest current load may be used as the target data service unit, and the target data service unit generates task raster map data according to the original raster map data and provides raster map services to users. In this way, load balancing of multiple distributed data service units may be achieved.

[0097] Step S240 , in response to the map data request indication including the task identifier sent by the client, sending the task grid map data corresponding to the task identifier to the client, so as to provide map service to the client.

[0098] In this step, the map data request is managed in the form of tasks, and the task raster map data is obtained through a unique task identifier. The client user does not need to tediously specify the display area content, which greatly simplifies the front-end operation and makes the user experience more friendly and efficient.

[0099] In some examples, the server can provide raster map services to the client based on the OGC protocol. For example, the client sends a map data request indication including a task identifier to the server based on the OGC protocol, and the server can send task raster map data corresponding to the task identifier to the client based on the OGC protocol.

[0100] In some examples, after the client obtains the task raster map data, it can perform the next map operation, such as browsing the data, modifying the data, or annotating based on the raster map data to generate vector map data.

[0101] The client may be one or more. In some examples, multiple clients may use the same task identifier to obtain the same task grid map data, without generating separate map data for each client, thereby reducing storage space usage. Optionally, the server may also generate separate cached map data for each client.

[0102] Based on the implementation example of steps S210 to S240, a task-based raster map service can be implemented, which facilitates the client to obtain task raster map data based on the task identifier. There is no need for the user to provide additional auxiliary information such as the map operation range through the client, thereby improving the user's operating efficiency. In addition, only one task raster map data needs to be created for one task identifier, and there is no need to temporarily copy data when the client applies for map services, thereby reducing unnecessary storage redundancy caused by temporary copying, reducing storage space occupancy, and further improving operating efficiency.

[0103] In some embodiments, the above-mentioned task attribute information may include task requirements, and the above-mentioned original grid map data may include multiple original grids; the above-mentioned step S230 may include: according to the task requirements, determining whether each original grid has valid data matching the task requirements; using the original grid with valid data as the target grid; and generating task grid map data according to the target grid.

[0104] For example, if the task requirement is a road map production requirement, then the valid data that matches the task requirement is the road data, that is, the original grid with road data is used as the target grid, and the task grid map data is generated based on the target grid. It should be noted that the task requirement can also be other, for example, if the task requirement is a building map production requirement, then the valid data that matches the task requirement is the building data.

[0105] Figure 3 Schematic diagram of original grid map data and task grid map data provided by the embodiment of the present disclosure. Figure 3 As shown, the original grid map data 301 includes grids with road data and grids without road data, wherein roads are represented by white and non-roads are represented by gray, that is, all-gray grids are grids without road data, and white grids are grids with road data. Based on the above method, grids without road data can be eliminated to obtain task grid map data 302.

[0106] In this way, after slicing using the grid (ie, virtual grid), only the main road data is rendered, and the surrounding unimportant or blank data is cleared, which can reduce the storage of redundant data.

[0107] In some examples, tiles in raster map data can be divided into multiple grids based on virtual grids, and significant feature points (such as edges, corners, etc.) are extracted for each grid. Then, the similarity and geometric relationship of these feature points are used to establish the correspondence between images, and multiple images with overlapping areas are accurately matched and aligned in space to eliminate the differences between images caused by shooting time, viewing angle, light, etc.; finally, all tiles in the processed virtual grids are fused to form a complete high-definition picture with blank areas removed, which not only improves the comparability and visualization of data, but also reduces the amount of redundant map data. In raster map data, tiles can be a data organization method that divides a map area into multiple small areas. For example, the entire map area can be divided into multiple tiles, each tile is an independent image, so as to quickly load and display map data. These tiles usually have a fixed size and position, and can be dynamically loaded according to different zoom levels and map areas, so that users can quickly browse the map area.

[0108] It should be noted that when constructing a spatial index based on virtual grid technology and calculating the distribution range of geographic information, the related technology can construct the spatial range of the circumscribed rectangle for multiple raster data files. In the embodiment of the present disclosure, a spatial grid can be created based on geographic spatial information, and the grid information where multiple raster data files are distributed can be obtained to calculate the distribution range of geographic information, which is then used for standard tile processing. By removing unnecessary blank tile data, the amount of data for map slices is reduced, and the amount of redundant map data is reduced.

[0109] Continue to see Figure 3 The boundary of the original raster map data may be a regular rectangle, the boundary of the task raster map data may be an irregular polygon, and the grid area of ​​the task raster map data may be smaller than the area of ​​the original raster map data.

[0110] In this way, data irrelevant to task requirements can be eliminated, invalid data can be reduced, and the storage space occupied by task raster map data can be reduced.

[0111] In some embodiments, the above-mentioned original grid map data may be stored based on a data container. Figure 4 is a flowchart of a map data storage method provided by an embodiment of the present disclosure, such as Figure 4 As shown, the method may include at least one of the following steps S410 to S430:

[0112] Step S410: storing the original raster map data in a data container according to the task identifier.

[0113] Different task identifiers correspond to different data containers. For example, each task identifier may correspond to a separate data container.

[0114] In this way, different tasks can be distinguished through the data container, so that the server can obtain, update or delete the original raster map data stored in the corresponding data container based on the task identifier.

[0115] In some examples, the server can use cloud storage or distributed storage systems, and the data container can be a bucket, which can provide high scalability and high availability to store a large amount of original raster map data. Optionally, the bucket can also provide data permission control, shared access, organization and management, provide a flexible and reliable data storage mechanism, and improve the efficiency and security of data access.

[0116] Step S420: Mount the data container to the file system service of the server to generate a data directory.

[0117] A data directory includes one or more data containers.

[0118] In some examples, mounting can be implemented based on Kubernetes (K8S). For example, the data container can be mounted to the file system service based on K8S-Pod. Pod is the smallest deployment unit in Kubernetes. The data container can be mounted to the mount point in the Pod to generate a data directory.

[0119] Step S430: Generate logical data source indication information according to the data directory to determine the storage location of the data container based on the logical data source indication information.

[0120] The logical data source indication information and the task identifier may correspond one to one, that is, the task identifier may also be used to indicate the logical data source indication information. That is, the logical data source indication information may be indexed according to the task identifier.

[0121] For example, the logical data source indication information may be used to describe the location and properties of the data container in the file system, and may include, for example, the path, name, storage format, etc. of the data container, wherein the path of the data container may be a relative path or an absolute path.

[0122] In this way, the server can quickly and efficiently determine the location of the data container based on the logical data source indication information corresponding to the task identifier, so as to obtain the original raster map data corresponding to the task identifier stored in the data container, thereby improving data access efficiency and reducing the storage space occupied by data copies.

[0123] In some examples, the map data storage method can be Figure 2 Step S220 of the illustrated embodiment is then executed to store the original raster map data based on the data container and generate logical data source indication information.

[0124] Figure 5 : is a structural schematic diagram of a map data storage system provided by an embodiment of the present disclosure. The map data storage system can be deployed on the server side and execute the above-mentioned map data storage method. The map data storage system includes a data container Bucket, a file system service and a data service, wherein: the data container can be used to store the original raster map data corresponding to n task identifiers respectively, for example, data 1, data 2, data 3, data 4, ... data n in the figure are the original raster map data corresponding to the tasks of task identifiers 1-n respectively, and each original raster map data corresponds to the task identifier one by one. The file system service can include m data directories, m can be less than or equal to n, and a data directory can contain the original raster map data corresponding to one or more task identifiers to facilitate the storage and management of a large amount of data. The data service can provide logical directory and logical data source indication information. Among them, the logical directory can be a common parent directory of multiple data directories, and each data directory can be indexed through the logical directory. The logical data source indication information can include logical data source 1, logical data source 2, ... logical data source n in the figure, and each logical data source indication information corresponds to a task identifier and also corresponds to a data container.

[0125] In this way, the correspondence between tasks and data storage paths is realized through the file service system, and tasks are mounted in a distributed manner. The logical data source is used to obtain the data directory under the file service system, perform data feature analysis and spatial index calculation. The file system service architecture enhances the efficiency of data management and the scalability of the system. By creating a file system with a unified namespace, the independent spatial mapping relationship between the data directory and the task node is realized. Each node can collaborate to maintain the mapping relationship between tasks and data, enhancing the stability and fault tolerance of the system. The logical data source provides virtual data storage information, reduces physical storage space, and alleviates the pressure of layer data storage and data transmission.

[0126] In some embodiments, a plurality of task grid map data are stored in the first memory of the above-mentioned server, and the first memory is a non-volatile memory, such as a disk or a disk array, and different task grid map data correspond to different task identifiers; the server can count the access frequency of the task grid map data corresponding to different task identifiers in a historical time period; take one or more task identifiers with the highest access frequency in the historical time period as the target task identifier; and store the task grid map data corresponding to the target task identifier in the second memory of the server; wherein the second memory is a volatile memory, such as a memory.

[0127] In this way, the strategy of generating task grid map data in advance is adopted, and the task grid map data corresponding to the most frequently accessed tasks is stored in the memory. In combination with the dynamic cleanup strategy based on the access frequency, the map response speed of users in high-frequency access areas can be effectively improved, while avoiding excessive occupation of system resources.

[0128] In some embodiments, the above-mentioned environmental perception data may include multiple layers of environmental perception data in the height direction; the server may generate different original raster map data and task identifiers for each layer of environmental perception data in the multiple layers of environmental perception data.

[0129] In the related art, for map layers with complex overlay logic, such as viaduct scenes, there is a problem of poor rendering effect due to the protrusion of the bottom layer being covered. To this end, this embodiment processes the map data of different layers in the form of tasks. For example, for map data with an overlay relationship (such as the rendering of the road under the viaduct), the server will identify it as an independent task, thereby storing the covered layer separately in the file system, and generating different original raster map data and task identifiers for each layer of environmental perception data. In this way, when the map service request involves the covered layer, the system will only render the data of the layer, and ignore the viaduct data that blocks it, thereby solving the problem of the bottom layer being covered.

[0130] In some embodiments, the server may perform different operations based on instructions from the client to provide flexible and diverse raster map services.

[0131] In some examples, the server may send task grid map data corresponding to the task identifier to the client in response to a map data request indication including the task identifier sent by the client.

[0132] In this way, the client can obtain and browse the task raster map data based on the task identifier, thereby improving the client's operating efficiency.

[0133] In some examples, the server may delete the task grid map data corresponding to the task identifier in response to a map data cleanup instruction corresponding to the task identifier sent by the client.

[0134] In other examples, the server may update the task raster map data according to the original raster map data stored in the data container in response to the map data update indication corresponding to the task identifier sent by the client, and send the updated task raster map data to the client.

[0135] In some other examples, the server may send to the client status information on whether the task grid map data is generated or updated in response to a map data status query indication corresponding to the task identifier sent by the client.

[0136] In this way, the server provides the client with corresponding operations such as browsing, deleting, updating, and status querying the task raster map data based on the task identifier, providing the client with flexible and diverse raster map services and improving user operation efficiency.

[0137] Figure 6 is a flow chart of a method for providing map services provided by an embodiment of the present disclosure. The method for providing map services may be Figure 1 The client executes as shown. Figure 6 As shown, the method for providing map services in this embodiment may include the following steps S610 to S630.

[0138] Step S610: the client sends a map data request indication to the server based on the task identifier.

[0139] The map data request indication includes a task identifier. The server may send task grid map data corresponding to the task identifier to the client in response to the map data request indication.

[0140] Step S620: the client receives the task grid map data corresponding to the task identifier sent by the server.

[0141] Step S630: The client displays the task grid map data to provide map services to the user.

[0142] Among them, the task raster map data is data determined by the server based on the original raster map data, the original raster map data and the task identifier are generated based on the environmental perception data and the task attribute information, and the task identifier is used to indicate the original raster map data, the task raster map data and the task attribute information, and the task attribute information includes the target geographical range.

[0143] It should be noted that the specific manner in which the server generates the task grid map data can refer to the description in the aforementioned embodiment of the present disclosure, and will not be repeated here.

[0144] In this way, the client can obtain and display the task grid map data to the user based on the task identifier, thereby improving the client's operating efficiency.

[0145] In some embodiments, multiple clients may send map data request indications corresponding to the same task identifier to the server respectively. The server may provide services to the clients based on the same task raster map data, without generating separate map data for each client, thereby reducing storage space usage.

[0146] In some examples, the client may send a map data cleanup instruction corresponding to the task identifier to the server to instruct the server to delete the task grid map data corresponding to the task identifier.

[0147] In other examples, the client may send a map data update indication corresponding to the task identifier to the server to instruct the server to update the task raster map data according to the original raster map data stored in the data container and send the updated task raster map data to the client.

[0148] In some other examples, the client can send a map data status query indication corresponding to the task identifier to the server to instruct the server to send the status information of whether the task raster map data has been generated or updated to the client. In this way, the client can confirm whether the task raster map data has been generated or updated through asynchronous query of the status information. If the task raster map data has been generated or updated, the next step can be performed, such as browsing data, modifying data, or annotating based on the raster map data to generate vector map data.

[0149] By adopting the above method, the client can browse, delete, update, query the status and perform other corresponding operations on the task raster map data based on the task identifier, thereby improving the user operation efficiency.

[0150] Figure 7 is a flow chart of a method for providing map services provided by an embodiment of the present disclosure. The method for providing map services may be Figure 1 The map service system shown is executed. Figure 7 As shown, the method for providing map services in this embodiment may include the following steps S710 to S790.

[0151] Step S710: The first client sends a task creation instruction to the server.

[0152] The task creation instruction may include environmental perception data and task attribute information. The task attribute information may include at least one of a target geographic range, task requirements, a data layer identifier, an image format, and a reference coordinate type. The target geographic range may be a user-specified geographic area range, or a pre-set geographic area range, such as a city, a community, a street, or a specific area. The environmental perception data may include image data collected based on a visual sensor and / or point cloud data collected based on a radar.

[0153] Step S720: The server generates original raster map data and task identification according to the environment perception data and task attribute information.

[0154] The task identifier may be used to indicate the original raster map data and the task identifier.

[0155] Step S730: the server stores the original raster map data in a data container according to the task identifier.

[0156] In step S740, the server mounts the data container to the file system service of the server to generate a data directory.

[0157] Step S750: The server generates logical data source indication information corresponding to the task identifier according to the data directory, so as to determine the storage location of the data container based on the logical data source indication information.

[0158] Step S760: The server determines the task grid map data based on the original grid map data.

[0159] The task identifier may also be used to indicate task grid map data and / or logical data source indication information.

[0160] In some examples, the server may include multiple distributed data service units (also referred to as database service units); a target data service unit may be determined from the multiple distributed data service units of the server based on the load information of the distributed data service units; logical data source indication information is constructed based on the target data service unit, a service is created, and task raster map data is generated, which may also be referred to as cached data. The server may provide raster map services to the client based on the OGC protocol and cached data.

[0161] The specific implementation of the above steps S720 to S760 can also refer to the description in the previous embodiments of the present disclosure, which will not be repeated here.

[0162] Step S770: The second client sends a map data request indication including a task identifier to the server.

[0163] Step S780: the server sends the task grid map data corresponding to the task identifier to the second client.

[0164] Step S790: The second client displays the task grid map data to provide the user with a grid map service.

[0165] In some embodiments, the server may also provide functions such as clearing cache, deleting services, deleting logical data source indication information, and status query.

[0166] The above method can realize task-based raster map service, which is convenient for the client to obtain task raster map data based on the task identifier, without the need for the user to provide additional auxiliary information such as map operation range through the client, thereby improving the user's operation efficiency.

[0167] In some examples, the client may send a map data cleanup instruction corresponding to a task identifier to the server. In response to the map data cleanup instruction, the server may delete the task raster map data corresponding to the task identifier, and may also delete the logical data source indication information and map service corresponding to the task identifier.

[0168] In other examples, the client may send a map data update indication corresponding to the task identifier to the server. In response to the map data update indication, the server may update the task raster map data according to the original raster map data stored in the data container and send the updated task raster map data to the client.

[0169] In some other examples, the client may send a map data status query indication corresponding to the task identifier to the server, and the server may send status information on whether the task grid map data is generated or updated to the client in response to the map data status query indication.

[0170] By adopting the above method, the client can browse, delete, update, query the status and perform other corresponding operations on the task raster map data based on the task identifier, thereby improving the user operation efficiency.

[0171] Figure 8 Schematic diagram of a map service system provided by an embodiment of the present disclosure. Figure 8 As shown, the map service system may include a server 101 and a client 102, wherein:

[0172] The server 101 can be used to obtain environmental perception data and task attribute information for generating map data; generate original raster map data and a task identifier corresponding to a target geographic range according to the environmental perception data; determine task raster map data corresponding to the task identifier according to the original raster map data; and send task raster map data corresponding to the task identifier to the client in response to a map data request indication including the task identifier sent by the client;

[0173] The client 102 can be used to send a map data request indication to the server based on the task identifier; receive task raster map data corresponding to the task identifier sent by the server; and display the task raster map data to provide raster map services to users.

[0174] In some examples, the client may send multiple map data request indications to the server, such as Figure 8 Request 1, request 2, ... request n in the , so that n tasks can be processed in parallel.

[0175] In some examples, the server may include a map service, a data service, a file system service, and a data container. The data container may be used to store the original raster map data corresponding to n task identifiers, for example, data 1, data 2, data 3, data 4, ... data n in the figure are the original raster map data corresponding to the tasks of task identifiers 1-n, and each original raster map data corresponds to the task identifier one by one. The file system service may include m data directories, m may be less than or equal to n, and a data directory may contain the original raster map data corresponding to one or more task identifiers to facilitate the storage and management of a large amount of data. The data service may provide logical directory and logical data source indication information. Among them, the logical directory may be a common parent directory of multiple data directories, and each data directory may be indexed through the logical directory. The logical data source indication information may include logical data source 1, logical data source 2, ... logical data source n in the figure, and each logical data source indication information corresponds to a task identifier and also corresponds to a data container. The map service may provide raster map services to the client based on the OGC protocol and the virtual grid.

[0176] In some examples, the map service system can implement the data service construction mechanism, file system service and task distribution mechanism based on the OGC protocol. The file system service consists of a distributed file system interface and a data storage mechanism, which ensures the consistency of the job content and the published service, optimizes the data processing process and simplifies the data distribution mechanism through refined management of map slices and data services, thereby significantly improving the efficiency and operability of the overall service.

[0177] The data service construction mechanism of the map service system may include the following contents:

[0178] Get rendering data: Build data sources from raster spatial data such as LiDAR mapping or GeoTIFF (Geographically Tagged Image FileFormat), process and aggregate multiple raster data files, organize multiple images into a logical unit for efficient access and processing, and use a spatial index (R-Tree) to quickly locate tiles. The spatial index can record the geographic extent and other properties of each raster block so that eligible tiles can be quickly found when the user requests it. Optionally, the server can dynamically stitch different raster fragments into the requested image. The stitching process takes into account the resolution, transparency, overlapping areas, etc. of the image.

[0179] Virtual grid construction: When constructing a spatial index and calculating the distribution range of geographic information, the traditional method constructs the spatial range of the circumscribed rectangle for multiple raster data files. However, in this embodiment, a spatial grid can be created based on geographic spatial information, and the grid information where multiple raster data files are distributed can be obtained to calculate the distribution range of geographic information, which is then used for standard tile processing. By removing unnecessary blank tile data, the amount of data in the map slice is reduced.

[0180] Map data transmission: Based on the WMS (Web Map Service) and WMTS (WebMap Tile Service) standards of the OGC protocol, the processed raster data (such as task raster map data) is sent to the client through HTTP (HyperTextTransfer Protocol) based on backend rendering. Through the virtual grid, data of different resolutions and projection methods can be unified into a standard grid format, and data conversion and optimization can be completed using reprojection and resampling algorithms. This map data transmission can be achieved through the above-mentioned map services.

[0181] The data storage mechanism of the map service system can realize the correspondence between tasks and data storage paths and distributed mounting tasks through the file service system. The logical data source is used to obtain the data directory under the file service system, perform data feature analysis and spatial index calculation. In this way, by creating a file system with a unified namespace, an independent spatial mapping relationship between the data directory and the computing node is realized. Each node can collaborate to maintain the mapping relationship between tasks and data, enhancing the stability and fault tolerance of the system. The file system service architecture enhances the efficiency of data management and the scalability of the system. The logical data source provides virtual data storage information, reduces physical storage space, and alleviates the pressure of layer data storage and data transmission.

[0182] The task distribution mechanism of the map service system includes: when the client requests map data rendering, the request is processed through the task mechanism. This mechanism enables the system to flexibly create services, and can generate corresponding caches for client data requests based on task identifiers to optimize data access efficiency. The task distribution mechanism also provides status quantities and asynchronous task distribution functions. The status quantity can be used for status query to confirm the success or failure of task creation; the asynchronous task distribution function can obtain the data directory in the file system through the task identifier, and unsuccessful tasks will be restarted asynchronously to ensure efficient processing of all requests and efficient use of resources.

[0183] This task rule-based map service system effectively solves the rendering problem in the data source coverage relationship, while reducing the performance pressure caused by input and output operations, ensuring the neatness and high performance of system resources. The system is no longer like the traditional architecture solution, which requires building an entity data source and obtaining data through a long link composed of S3 protocol and distributed calls, and then organizing and processing the data obtained from distributed nodes and publishing data services, thereby effectively improving the comprehensive management capabilities of large-scale raster data storage, organization, publication, management and other services in urban high-precision map scenarios.

[0184] The following further describes the technical effects of the map service system provided by the embodiments of the present disclosure in combination with scenarios:

[0185] Scenario 1: Management and recording of coverage relationships.

[0186] In the related art, for map layers with complex overlay logic, such as viaduct scenes, there is a problem of poor rendering effect due to the protrusion of the bottom layer being covered. To this end, the map service system of the embodiment of the present disclosure processes the map data of different layers in the form of tasks. For example, for map data with an overlay relationship (such as the rendering of the road under the viaduct), the server will identify it as an independent task, thereby storing the covered layer separately in the file system, and generating different original raster map data and task identifiers for each layer of environmental perception data. In this way, when the map service request involves the covered layer, the system will only render the data of the layer, and ignore the viaduct data that blocks it, thereby solving the problem of the bottom layer being covered.

[0187] Scenario 2: Simplified user experience.

[0188] Based on this map service system, users do not need to tediously specify the display area content when using map services through the client. This map service system manages map data requests in the form of tasks, and creates logical data source indication information and task raster map data through a unique task representation, successfully achieving automatic acquisition of data directories in the file system, greatly simplifying front-end operations and making the user experience more friendly and efficient.

[0189] Scenario 3: Real-time editing and updating requirements

[0190] Based on this map service system, the WMS protocol is used to request map images, and on this basis, a set of efficient task-based image generation and management mechanisms are built, which not only meets the immediate needs of map data editing, but also ensures the accuracy and timeliness of map data in scenarios that require rapid response and real-time updates.

[0191] Scenario 4: Reasonable WMS cache management

[0192] For regular access requests, the map service system adopts a WMS-based cache strategy to effectively manage resources by regularly clearing the cache and setting cache thresholds. This mechanism ensures efficient operation of the system while optimizing the use of storage resources.

[0193] Scenario 5: Intelligent key area processing

[0194] For key areas of concern, the map service system adopts a strategy of generating offline slices in advance, storing these slices in memory, and combining them with a dynamic cleanup strategy based on access frequency. This method can effectively improve the map response speed in high-frequency access areas for users, while avoiding excessive occupation of system resources.

[0195] Fig. 9 Schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Fig. 9 As shown, the electronic device 1000 may include a memory 1010 and a processor 1020. The memory 1010 may be used to store computer instructions, and the processor 1020 may be used to call computer instructions from the memory 1010 to execute all or part of the steps of any method in the aforementioned embodiments of the present disclosure. The processor may be one or more, and the one or more processors may execute instructions individually or together. The memory may also be one or more, and the one or more memories may store the above-mentioned computer instructions individually or together. Optionally, the electronic device may be Figure 1 The server and / or client in .

[0196] The embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any method in the aforementioned embodiments of the present disclosure is implemented. Optionally, the computer-readable storage medium may be a non-transitory storage medium, but is not limited thereto, and may also be a transient storage medium.

[0197] The present disclosure also provides a chip, which may include a processing unit, which may be used to execute all or part of the steps of any method in the foregoing embodiments of the present disclosure. The chip may be a chip in the form of an application-specific integrated chip ASIC, a system on chip SOC, a field programmable gate array FPGA, etc., which is not limited in the present embodiment. Optionally, the chip may also include a storage unit, which may be used to store computer instructions, and the processing unit may be used to call computer instructions from the storage unit to execute all or part of the steps of any method in the foregoing embodiments of the present disclosure.

[0198] The embodiments of the present disclosure further provide a computer program product, which may include a computer program. When the computer program is executed by a processor, any method in the aforementioned embodiments of the present disclosure may be implemented.

[0199] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement any method in the foregoing embodiments of the present disclosure.

[0200] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0201] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0202] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, which may include object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0203] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0204] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so as to produce a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device for implementing the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions make the computer, programmable data processing device, and / or other equipment work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0205] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0206] The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and the module, the program segment or a part of the instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It should be noted that it is equivalent to implement it by hardware, implement it by software, and implement it by a combination of software and hardware.

[0207] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.

Claims

1. A method for providing map services, characterized in that: Applied to the server, the method includes: Acquire environmental perception data and task attribute information for generating task raster map data, wherein the task attribute information includes a target geographic range; Generate original grid map data and a task identifier according to the environment perception data and the task attribute information, wherein the task identifier is used to indicate the original grid map data and the task attribute information; Determine task grid map data according to the original grid map data, wherein the task identifier is also used to indicate the task grid map data; In response to a map data request indication including the task identifier sent by the client, task grid map data corresponding to the task identifier is sent to the client to provide map services to the client.

2. The method according to claim 1, characterized in that The task attribute information also includes task requirements; the original grid map data includes a plurality of original grids; and determining the task grid map data according to the original grid map data includes: According to the task requirement, determining whether each of the original grids has valid data matching the task requirement; The original grid containing the valid data is used as the target grid; The task grid map data is generated according to the target grid.

3. The method according to claim 2, characterized in that The boundary of the original grid map data is a regular rectangle, the boundary of the task grid map data is an irregular polygon, and the grid area of ​​the task grid map data is smaller than the area of ​​the original grid map data.

4. The method according to claim 1, characterized in that: After generating original grid map data and task identification according to the environment perception data and the task attribute information, the method further includes: According to the task identifier, the original grid map data is stored in a data container; wherein different task identifiers correspond to different data containers; Mounting the data container to the file system service of the server to generate a data directory; wherein one data directory includes one or more data containers; Logical data source indication information is generated according to the data directory to determine the storage location of the data container based on the logical data source indication information.

5. The method according to claim 1, characterized in that A plurality of task grid map data are stored in a first memory of the server, the first memory is a non-volatile memory, and different task grid map data correspond to different task identifiers; the method further includes: Count the access frequency of task grid map data corresponding to different task identifiers in the historical time period; One or more task identifiers with the highest access frequency in the historical time period are used as target task identifiers; The task grid map data corresponding to the target task identifier is stored in the second memory of the server; wherein the second memory is a volatile memory.

6. The method according to claim 1, characterized in that The environmental perception data includes multi-layer environmental perception data in the height direction; the generating of original grid map data and task identification according to the environmental perception data and the task attribute information includes: Each layer of the multi-layer environmental perception data is used to generate different original grid map data and task identifiers.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises at least one of the following: In response to a map data cleanup instruction corresponding to the task identifier sent by the client, deleting the task grid map data corresponding to the task identifier; In response to a map data update indication corresponding to the task identifier sent by the client, updating the task grid map data according to the original grid map data stored in the data container, and sending the updated task grid map data to the client; In response to a map data status query indication corresponding to the task identifier sent by the client, status information on whether the task grid map data is generated or updated is sent to the client.

8. A method for providing map services, characterized in that: Applied to a client, the method comprises: Sending a map data request indication to the server based on the task identifier; Receiving task grid map data corresponding to the task identifier sent by the server; Displaying the task grid map data to provide map services to users; Among them, the task raster map data is data determined by the server based on the original raster map data, the original raster map data and the task identifier are generated based on the environmental perception data and the task attribute information, the task attribute information includes the target geographical range, and the task identifier is used to indicate the original raster map data, the task attribute information and the task raster map data.

9. A map service system, characterized in that: The map service system includes a server and a client; wherein: The server is used to obtain environmental perception data and task attribute information for generating task raster map data, wherein the task attribute information includes a target geographical range; generate original raster map data and a task identifier according to the environmental perception data and the task attribute information, wherein the task identifier is used to indicate the original raster map data and the task attribute information; determine task raster map data according to the original raster map data, wherein the task identifier is also used to indicate the task raster map data; and in response to a map data request indication including the task identifier sent by a client, send the task raster map data corresponding to the task identifier to the client, so as to provide a map service to the client; The client is used to send a map data request indication to the server based on the task identifier; receive the task grid map data corresponding to the task identifier sent by the server; and display the task grid map data to provide map services to users.

10. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute: the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the computer program implements: the method according to any one of claims 1 to 8.

12. A chip, characterized in that: The chip comprises: the chip comprises a processing unit, and the processing unit is used to execute the method as claimed in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Positioning method and navigation method of mobile robot and grid map establishing method

    CN109459032A

  • Map display method, remote sensing map display method, computing equipment and storage medium

    CN115375868A

  • Context based path planning for vector navigation in hexagonal spatial maps

    IN201821007023A

  • A method and system for managing maps

    KR102262378B1

  • Method and system for free space detection in a cluttered environment

    US20200097013A1

Cited By

  • Cross-platform collaborative loading method for CAD drawing

    CN120315778A