Method, device, electronic device and storage medium for managing map data
By adopting a multi-level index structure and block management in map data, the problem of low efficiency of map data version management in the existing technology is solved, and a quickly updated and accurately managed map data version is achieved.
Patent Information
- Application Number
- CN202010825236.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-17
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
It is difficult to effectively manage multiple versions of map data with existing technology, which may result in the need to roll back to a previous version when updating, and there is a lack of efficient data management methods.
It adopts a multi-level index structure to manage point cloud data in a geographical area through root nodes, child nodes and leaf nodes, divides blocks according to the trajectory of the collection device, and stores the point cloud data identifier, collection date, version and collection pose to achieve quick updates and searches.
It achieves fine-grained management of map data, quickly finds and replaces corresponding point cloud data, improves the efficiency and accuracy of map data updates, and avoids the risk of version rollback.
Smart Images

Figure CN111966773B
Abstract
Description
Technical Field
[0001] Implementations of the present disclosure relate to map management, and more specifically, to a method, apparatus, electronic device, and storage medium for managing point cloud-based map data. Background Art
[0002] With the development of computer technology and navigation technology, high-definition map services and vehicle navigation services based on high-definition map data have been developed. Here, high-definition map data can include three-dimensional data of roads and surrounding facilities. Roads and surrounding facilities may be repaired and new roads may be built, so the map data must be updated accordingly. This results in multiple versions of map data. High-precision map data is the basis for other upper-level applications, and the accuracy of map data is crucial. At this time, how to manage map data in a more effective way has become a research hotspot. Summary of the invention
[0003] It is expected that a technical solution for managing map data in a more effective manner can be developed and implemented. It is expected that the technical solution can be compatible with the existing application environment, so as to manage map data of various versions in a more effective manner.
[0004] According to a first aspect of the present disclosure, a method for managing map data is provided. In the method, an index is created for map data of a geographic area, the map data includes a plurality of point cloud data collected at a plurality of locations in the geographic area, and the index includes a root node, a child node, and a leaf node representing the map data. Based on a block among a plurality of blocks included in the geographic area, at least one child node representing the block is added to the root node. A group of leaf nodes representing a group of point cloud data among the plurality of point cloud data are added to a child node among at least one child node, and the group of point cloud data is collected at a group of locations located within the block among the plurality of locations.
[0005] According to a second aspect of the present disclosure, a device for managing map data is provided. The device includes: an index creation module configured to create an index for map data of a geographic area, the map data including a plurality of point cloud data collected at a plurality of locations in the geographic area, the index including a root node, a child node, and a leaf node representing the map data; a child node creation module configured to add at least one child node representing the block to the root node based on a block among a plurality of blocks included in the geographic area; and a leaf node creation module configured to add a group of leaf nodes representing a group of point cloud data among the plurality of point cloud data to a child node among the at least one child node, the group of point cloud data being collected at a group of locations located within the block among the plurality of locations.
[0006] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to the first aspect of the present disclosure.
[0007] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which one or more computer instructions are stored, wherein the one or more computer instructions are executed by a processor to implement the method according to the first aspect of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The features, advantages and other aspects of various implementations of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings, which illustrate several implementations of the present disclosure in an exemplary and non-limiting manner. In the accompanying drawings:
[0009] Figure 1 A block diagram schematically illustrates an application environment in which an exemplary implementation according to the present disclosure may be used;
[0010] Figure 2 A block diagram schematically illustrates a process for managing map data according to an exemplary implementation of the present disclosure;
[0011] Figure 3 A flowchart of a method for managing map data according to an exemplary implementation of the present disclosure is schematically shown;
[0012] Figure 4 A block diagram schematically illustrates a format of point cloud data according to an exemplary implementation of the present disclosure;
[0013] Figure 5 A block diagram schematically illustrates a trajectory of a collection device for collecting point cloud data according to an exemplary implementation of the present disclosure;
[0014] Fig. 6A A block diagram schematically illustrates a structure of an index before updating according to an exemplary implementation of the present disclosure;
[0015] Figure 6B A block diagram schematically illustrates the structure of an updated index according to an exemplary implementation of the present disclosure; and
[0016] Figure 7 A block diagram of a computing device / server is shown in which one or more implementations of the present disclosure may be implemented. DETAILED DESCRIPTION
[0017] The preferred implementations of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the preferred implementations of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the implementations set forth herein. On the contrary, these implementations are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0018] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example implementation" and "an implementation" mean "at least one example implementation". The term "another implementation" means "at least one additional implementation". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0019] See first Figure 1 The application environment of the exemplary implementation of the present disclosure is described. Figure 1 A block diagram 100 schematically illustrates an application environment in which an exemplary implementation according to the present disclosure may be used. Figure 1 In the example, the collection device 110 can move along the road 120 to collect road information and information about the surrounding environment. Generally speaking, the data collected once can be used to generate a version of map data. As the road and the surrounding environment change, the road and surrounding environment information can be collected again.
[0020] At present, a technical solution has been proposed to update existing map data and form a new version using newly collected information. However, the existing technical solution cannot effectively manage the map data of each version. An incorrect update may result in having to roll back the map data to the previous version. Therefore, it is desired to manage the map data in a more convenient and effective manner to facilitate the update operation.
[0021] In order to at least partially solve the above-mentioned deficiencies in the prior art, the exemplary implementation of the present disclosure proposes a technical solution for establishing a multi-level index for map data. Figure 2 An overview of an exemplary implementation of the present disclosure is described. Figure 2 A block diagram 200 of a process for managing map data according to an exemplary implementation of the present disclosure is schematically shown. In the context of the present disclosure, the map data may cover a certain geographic area and may include a plurality of point cloud data collected at a plurality of locations in the geographic area. Figure 2 As shown, the geographic area covered by the map data 240 can be divided into a plurality of blocks. Figure 2Only one block 250 is schematically shown, and the structures of other blocks are similar. The block 250 may include point cloud data 260 and 262, etc. Here, the point cloud data 260 and 262 are collected at a position located in the block 250 among a plurality of positions.
[0022] An index may be created for the map data 240, and the index may include a root node 210 pointing to the map data 240. In the lower layer of the root node 210, child nodes 220, ..., 230, etc. may be created respectively according to the various blocks included in the geographical area. Here, each child node may represent a block, for example, the child node 230 may represent the block 250, and the child node 220 may represent another block. Further, the index may include a set of leaf nodes for representing a set of point cloud data among a plurality of point cloud data. Here, a set of point cloud data is collected at a set of positions located within a block among a plurality of positions. Specifically, the leaf node 240 may represent the point cloud data 260, the leaf node 242 may represent the point cloud data 262, and so on.
[0023] will understand, Figure 2 The index in is only illustrative. According to an exemplary implementation of the present disclosure, the block 250 may be divided into smaller blocks, and the sub-node may further include one or more layers of sub-nodes representing smaller blocks. Figure 2 The nodes in the multi-level index shown may represent relevant point cloud data of different geographic blocks in the entire geographic area. Using the exemplary implementation of the present disclosure, map data may be managed at a finer granularity so that corresponding point cloud data may be quickly found and replaced during the map update process.
[0024] In the following, we will refer to Figure 3 More details of exemplary implementations of the present disclosure are described. Figure 3 The flowchart of a method 300 for managing map data according to an exemplary implementation of the present disclosure is schematically shown. At block 310, an index is created for the map data 240 of a geographic area, and the index includes a root node 210, child nodes, and leaf nodes representing the map data. Here, the map data 240 includes a plurality of point cloud data collected at a plurality of locations in the geographic area. In the following, see Figure 4 Describes the format of point cloud data. Figure 4 A block diagram 400 schematically shows a format of point cloud data according to an exemplary implementation of the present disclosure. The collection device 110 may collect information along a trajectory 440. The collection device 110 may collect information at collection points 430, 432, and so on.
[0025] It will be understood that the acquisition device 110 may have a different acquisition posture at each acquisition point. For example, at the acquisition point 430, the acquisition device 110 may have the acquisition posture 420; at the acquisition point 432, the acquisition device 110 may have the acquisition posture 422, and so on. Generally speaking, the acquisition device 110 may collect information on one side or both sides of the road while moving along the trajectory 440. Therefore, the acquisition posture here may include both position and direction. The acquisition posture may include, for example, (x, y, z) coordinates defining the position and (pitch, yaw, roll) coordinates defining the direction.
[0026] The acquisition device 110 may acquire a point cloud frame 410 at an acquisition posture 420, may acquire a point cloud frame 412 at an acquisition posture 422, and so on. For ease of management, point cloud frames with adjacent acquisition postures may be stored as one point cloud data 260. According to an exemplary implementation of the present disclosure, the point cloud data 260 may be established based on different methods. For example, the number of point cloud frames included in the point cloud data 260 may be specified (such as 10 frames or other values). For another example, the point cloud frames acquired during the movement of the acquisition device 110 for a predetermined distance (for example, 2 meters or other values) may be stored in one point cloud data.
[0027] According to an exemplary implementation of the present disclosure, multiple point cloud data in the map data can be stored in a database. One or more of the following information can be stored for each point cloud data: identifier, acquisition date, version, storage address, and acquisition posture, etc. According to an exemplary implementation of the present disclosure, each acquisition posture in the point cloud data can be converted to an intermediate coordinate system, and the center of each acquisition posture is used as the acquisition posture of the point cloud data. A data table can be established for the point cloud data to store the above information.
[0028] A root node may be created, and the root node may include: an identifier of the map data. Here, the identifier of the map data may uniquely represent the map data. Further, the root node may include at least any one of the following: a version of the map data, a collection time, and an identifier of a geographic area. The version of the map data may represent a version of the map data during multiple updates; the collection time may represent a time when the map data was collected to support searching for map data collected at a specific time; and the geographic area identifier may represent a geographic area where the map data is located.
[0029] The information about the root node has been described, and will be returned below. Figure 3 Describes information about the child nodes of an index. Figure 3At box 320, at least one child node representing a block is added to the root node 210 based on a block among the multiple blocks included in the geographical area. It will be understood that the number of child nodes is not limited here. Based on a block, one child node may be added to the root node 210, or multiple child nodes may be added to the root node 210. According to an exemplary implementation of the present disclosure, the blocks may be divided according to the trajectory of the acquisition device, for example, the blocks may be set as bounding boxes of each point acquired.
[0030] First, the situation where blocks correspond to subnodes one by one is described. According to an exemplary implementation of the present disclosure, a subnode 230 representing a block 250 may be added to a root node. At this time, the subnode 230 may include: an identifier of the block 250 so as to uniquely identify the block 250. Further, the subnode 230 may include location information of the block 250 so as to indicate the location of the block 250 in a geographic area. According to an exemplary implementation of the present disclosure, the location information may be stored directly in the subnode. Alternatively and / or additionally, the above information may be stored in a database, and the identifier in the subnode may be used to search for related information in the database.
[0031] According to the exemplary implementation of the present disclosure, the location information of the block can be represented in a variety of ways. For example, the location of the block 250 can be represented by an absolute position such as a geographic coordinate. Specifically, the coordinates of the upper left corner of the block, the length and width of the block can be used to represent the geographic location of the block 250. For another example, the location of the block 250 can be represented by the relative position of the row and column where the block is located in the geographic area. Using the exemplary implementation of the present disclosure, the subnode 230 can clearly indicate various aspects of information associated with the block. In this way, it is easy to find more information associated with each block from the index.
[0032] According to an exemplary implementation of the present disclosure, if the scope of block 250 is large, and / or for other reasons such as ease of management, block 250 can be divided into multiple smaller sub-blocks. One or more sub-nodes can be added to the next level of sub-node 230 to represent multiple sub-blocks. In this case, block 250 will involve multiple sub-nodes located at multiple levels. Using the exemplary implementation of the present disclosure, block 250 can be managed at a desired granularity in a more flexible manner. According to an exemplary implementation of the present disclosure, root node 210 can further include the addresses of each sub-node. For example, Figure 2 The root node 210 in may include addresses of child nodes 220, ... and 230. Using the exemplary implementation of the present disclosure, starting from the root node 210 of the index, the child nodes pointing to each block in the geographical area may be quickly found.
[0033] According to an exemplary implementation of the present disclosure, the version and acquisition time of the map data, the identifier of the geographic area, and the address of each sub-node can be directly stored in the root node. Alternatively and / or additionally, the above information can be stored in a database, and the identifier of the map data in the root node can be used to search for related information in the database.
[0034] The information associated with the child nodes has been described. Figure 3 Describes adding leaf nodes to an index in more detail. Figure 3 At block 330 of the embodiment, a group of leaf nodes are added to the child nodes of at least one child node, each representing a group of point cloud data in the plurality of point cloud data. Here, the group of point cloud data is collected at a group of positions located within the block in the plurality of positions. Figure 2 In the example shown, addresses of leaf nodes 240 , . . . , 242 may be added to child node 230 .
[0035] It will be understood that if multiple acquisitions are performed along the same road, the blocks can be divided according to the path of the acquisition device. At this time, there may be intersections between multiple blocks. For leaf nodes related to newly acquired data, even if the location of the leaf node is within the previous block range, the block is still divided according to the new acquisition trajectory, and the leaf node is not added to the previous block. In this way, different versions of map data are located in different subnodes, which can facilitate the management of multiple versions of map data.
[0036] According to an exemplary implementation of the present disclosure, a leaf node may include an identifier of the point cloud data represented by the leaf node. Here, the identifier is used to uniquely indicate the point cloud data, and the identifier can be used to find the specific storage location of the point cloud data in the database in order to access the point cloud data. According to an exemplary implementation of the present disclosure, the leaf node may further include at least one of the following: the storage address of the point cloud data, the version of the point cloud data, and the pose for collecting the point cloud data. The storage address of the point cloud data indicates where the point cloud data is stored, and in this way, the point cloud data can be accessed directly via the storage address. The version of the point cloud data can represent the version of the point cloud data during multiple updates, and the acquisition time can represent the time when the point cloud data is collected to support the search for point cloud data collected at a specific time. The pose can represent the pose of the acquisition device 110 when collecting point cloud data.
[0037] It will be understood that the format of the leaf node described above is merely illustrative. According to an exemplary implementation of the present disclosure, a leaf node may include only an identifier of the point cloud data, and other information may be stored in a database. The identifier may be used to search for a variety of related information of a certain point cloud data in a database. Using the exemplary implementation of the present disclosure, when it is desired to access information associated with a certain block, the relevant information of all the point cloud data collected in the block may be quickly obtained through the child nodes and leaf nodes in the index.
[0038] The multi-level structure of the index has been described above, and the following will describe how to use the index to manage the update of map data. When the roads and surrounding information in the geographical area change, the information of the changed part can be obtained from the acquisition device. Specifically, based on the trajectory of the acquisition device when collecting new map data, a set of leaf nodes corresponding to the changed part can be obtained. If it is determined that the posture in the trajectory matches the posture of a given leaf node of the index, the given leaf node is added to the set of leaf nodes. In other words, if the acquisition posture of a given leaf node matches the new acquisition trajectory, the given leaf node is the leaf node to be updated. The acquisition device used to collect the changed point cloud data here can be the same device as the acquisition device used to collect the original point cloud data, or it can be a different device.
[0039] In the following, see Figure 5 The description has more information about the set of identified leaf nodes. Figure 5 A block diagram 500 schematically shows the trajectory of a collection device for collecting point cloud data according to an exemplary implementation of the present disclosure. Assume that collection trajectory 510 is the movement trajectory of the collection device when collecting existing map data, and collection trajectory 520 is the movement trajectory of the collection device when collecting new map data. There is an overlapping portion 530 between the two collection trajectories. At this time, the portion of the existing point cloud data associated with the overlapping portion 530 is the point cloud data to be updated. Based on the point cloud data to be updated, the set of leaf nodes corresponding to the changed portion can be determined. It will be understood that when determining the set of leaf nodes, both position and direction need to be considered. In this way, the leaf nodes to be updated can be accurately determined.
[0040] After the set of leaf nodes to be updated has been determined, the index can be updated using the set of new point cloud data of the newly collected modified portion (i.e., the portion of the newly collected point cloud data associated with the overlapping portion 530). Based on the geographical distribution of the multiple leaf nodes that are updated, a variety of situations may occur. In one case, the parent node of the multiple leaf nodes that are updated may be the same child node. At this time, if the modified portion involves all leaf nodes in a given child node, the given child node can be replaced by a new child node created based on the set of point cloud data. Specifically, a new child node can be created according to the method described above, and the newly collected point cloud data can be added to the new child node. Subsequently, the replaced given child node can be deleted.
[0041] In one case, the modified portion may only involve some leaf nodes in a given child node of the index, in which case a new child node needs to be added to the root node. Fig. 6A and Figure 6B Describes more details on updating the index. Fig. 6A A block diagram 600A schematically shows the structure of an index before updating according to an exemplary implementation of the present disclosure. Fig. 6A , the index includes a root node 210, and the root node 210 has child nodes 220, ..., and a child node 230. The child node 230 has leaf nodes 240, ..., and 242. At this time, the leaf node 240 points to the point cloud data 260, and the leaf node 242 points to the point cloud data 262. Assuming that the point cloud data 262 has been determined to be modified based on the comparison of the pose, the leaf node 242 is the leaf node to be updated at this time, and the point cloud data represented by the other leaf nodes in the child node 230 have not been modified.
[0042] Figure 6B A block diagram 600B schematically shows the structure of an updated index according to an exemplary implementation of the present disclosure. Figure 6B As shown, a new child node 640 may be created, and a leaf node 620 associated with the updated point cloud data 630 may be added to the new child node 640. Further, Fig. 6A The leaf node 242 associated with the updated part is deleted from the original child node 230 in (that is, only the leaf node 240 associated with the unmodified part is retained, etc.), and the original child node 230 will be updated to Figure 6B After the index is updated, the new child node 610 will include the leaf nodes 240, ..., and the new child node 640 will include the leaf node 620. At this time, the leaf node 620 will represent the newly collected point cloud data 630. After the original child node 230 has been replaced with the new child node 610, the original child node 230 can be deleted from the index. Further, the following can be updated: Figure 6B Information related to the version and acquisition date in each node in the index shown.
[0043] It will be understood that the above only schematically illustrates the operation process for one leaf node to be updated, and multiple leaf nodes to be updated may involve different parent nodes. Each leaf node to be updated in the set of leaf nodes can be processed in a similar manner, which will not be described in detail below. In this way, all the content to be updated in the index can be updated, thereby providing map data representing the current latest version.
[0044] It will be appreciated that in this exemplary implementation, the child nodes 230 and leaf nodes 242 have been deleted from the index, and the index represents the current latest version of the map data. Fig. 6A The index shown can be used to restore the original point cloud data 262. In this way, the index of the historical version stored in the database and the related point cloud data can be used to restore the map data of the historical version.
[0045] According to an exemplary implementation of the present disclosure, a query request for querying historical versions of map data may be received. At this time, historical versions of map data may be provided based on the stored index and multiple point cloud data. Assuming that it is desired to obtain Fig. 6A The index represents the historical version of the map data. Since the following Fig. 6A The index shown can be used to find the point cloud data corresponding to each leaf node in the index based on the stored index. Specifically, each child node 220, ..., and 230 of the root node 210 is traversed to find the point cloud data corresponding to each block. Taking the child node 230 as an example, the point cloud data 260 can be found via the child node 240, ..., and the point cloud data 262 can be found via the child node 242. In this way, all the point cloud data in the map data can be found.
[0046] See above for Figure 2An example of a method according to the present disclosure is described in detail to Figure 6, and an implementation of a corresponding device will be described below. According to an exemplary implementation of the present disclosure, a device for managing map data is provided, including: an index creation module, configured to create an index for map data of a geographic area, the map data including a plurality of point cloud data collected at a plurality of locations in the geographic area, the index including a root node, child nodes, and leaf nodes representing the map data; a child node creation module, configured to add at least one child node representing a block to a root node based on a block among a plurality of blocks included in the geographic area; and a leaf node creation module, configured to add a group of leaf nodes respectively representing a group of point cloud data among the plurality of point cloud data to a child node among at least one child node, the group of point cloud data being collected at a group of locations located within a block among a plurality of locations.
[0047] According to an exemplary implementation of the present disclosure, the root node includes: an identifier of the map data.
[0048] According to an exemplary implementation of the present disclosure, the root node further includes at least any one of the following: a version of the map data, a collection time, an identifier of the geographic area, and addresses of multiple child nodes.
[0049] According to an exemplary implementation of the present disclosure, a child node includes: an identifier of a block and addresses of a group of leaf nodes.
[0050] According to an exemplary implementation of the present disclosure, the child node further includes at least any one of the following: location information of the block and the version and collection time of the block.
[0051] According to an exemplary implementation of the present disclosure, a leaf node in a group of leaf nodes includes: an identifier of the point cloud data represented by the leaf node.
[0052] According to an exemplary implementation of the present disclosure, a leaf node in a group of leaf nodes includes at least any one of the following: a storage address of point cloud data, a version of point cloud data, a collection time, and a position and posture of a collection device used to collect point cloud data.
[0053] According to an exemplary implementation of the present disclosure, the posture of the acquisition device includes the position and orientation of the acquisition device.
[0054] According to an exemplary implementation of the present disclosure, the device further includes: a leaf node determination module, configured to determine a set of leaf nodes corresponding to a portion of the map data if the portion is modified; and an update module, configured to update the index based on a set of point cloud data of the modified portion and a set of leaf nodes.
[0055] According to an exemplary implementation of the present disclosure, the leaf node determination module further includes: a trajectory determination module, configured to determine the trajectory of a collection device used to collect the modified part; and a set update module, configured to add a given leaf node to the set of leaf nodes if the posture of the collection device in the determined trajectory matches the posture of the indexed given leaf node.
[0056] According to an exemplary implementation of the present disclosure, the update module includes: a replacement module configured to replace a given child node with a new child node created based on a set of point cloud data if it is determined that the set of leaf nodes involves all leaf nodes in a given child node of the index.
[0057] According to an exemplary implementation of the present disclosure, the update module includes: a child node adding module, configured to add a new child node to the index if it is determined that the set of point cloud data involves some leaf nodes in a given child node; a child node updating module, adding leaf nodes associated with the set of point cloud data to the new child node; and a deletion module, configured to delete the leaf nodes associated with the modified part in the given child node.
[0058] According to an exemplary implementation of the present disclosure, the device further includes: a storage module configured to store an index before updating the index; a receiving module configured to receive a query request for querying a historical version of map data; and a providing module configured to provide a historical version of map data based on the stored index and multiple point cloud data.
[0059] According to an exemplary implementation of the present disclosure, an electronic device is provided, including: a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method described above.
[0060] Figure 7 1 shows a block diagram of a computing device / server 700 in which one or more implementations of the present disclosure may be implemented. It should be understood that Figure 7 The computing device / server 700 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the implementations described herein.
[0061] like Figure 7As shown, computing device / server 700 is in the form of a general-purpose computing device. Components of computing device / server 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit 710 may be an actual or virtual processor and is capable of performing various processes according to a program stored in memory 720. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to increase the parallel processing capabilities of computing device / server 700.
[0062] The computing device / server 700 typically includes a plurality of computer storage media. Such media may be any available media accessible to the computing device / server 700, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 720 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 730 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the computing device / server 700.
[0063] The computing device / server 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 7 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 720 may include a computer program product 725 having one or more program modules that are configured to perform various methods or actions of various implementations of the present disclosure.
[0064] The communication unit 740 enables communication with other computing devices via a communication medium. Additionally, the functions of the components of the computing device / server 700 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the computing device / server 700 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0065] Input device 750 may be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 may be one or more output devices, such as a display, speaker, printer, etc. Computing device / server 700 may also communicate with one or more external devices (not shown) as needed, such as storage devices, display devices, etc., with one or more devices that enable users to interact with computing device / server 700, or with any device that enables computing device / server 700 to communicate with one or more other computing devices (e.g., network card, modem, etc.) through communication unit 740. Such communication may be performed via an input / output (I / O) interface (not shown).
[0066] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which one or more computer instructions are stored, wherein the one or more computer instructions are executed by a processor to implement the method described above.
[0067] 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 implemented according to 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.
[0068] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements 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 cause the computer, programmable data processing device, and / or other equipment to 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.
[0069] 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.
[0070] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0071] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the marketplace, or to enable other persons of ordinary skill in the art to understand the implementations disclosed herein.
Claims
1. A method for managing map data, include: Creating an index for map data of a geographic area, the map data comprising a plurality of point cloud data collected at a plurality of locations in the geographic area, the index comprising a root node, child nodes, and leaf nodes representing the map data; Based on a block among a plurality of blocks included in the geographical area, adding at least one child node representing the block to the root node; as well as Adding a group of leaf nodes, each representing a group of point cloud data among the plurality of point cloud data, to a child node among the at least one child node, wherein the group of point cloud data is collected at a group of positions located within the block among the plurality of positions; If a portion of the map data is modified, determining a set of leaf nodes corresponding to the modified portion; as well as Based on the set of the modified portion of the point cloud data and the set of leaf nodes, updating the index; Before updating the index, storing the index; Receive a query request for querying historical versions of map data; as well as Providing the historical version of map data based on the stored index and the plurality of point cloud data; The leaf nodes in the group of leaf nodes further include at least any one of the following: a storage address of the point cloud data, a version of the point cloud data, a collection time, and a position and posture of a collection device used to collect the point cloud data; The pose of the acquisition device includes the position and direction of the acquisition device; The acquisition device has different postures at different positions; Determining the set of leaf nodes includes: determining a trajectory of a capture device used to capture the modified portion; and If it is determined that the position and posture of the acquisition device in the trajectory matches the position and posture of the given leaf node of the index, adding the given leaf node to the set of leaf nodes; Wherein updating the index comprises: If it is determined that the set of point cloud data involves some leaf nodes in a given child node, adding a new child node to the index; adding a leaf node associated with the set of point cloud data to the new child node; and A leaf node in the given child node that is associated with the modified portion is deleted.
2. The method according to claim 1, wherein the root node include: An identifier of the map data. 3 . The method according to claim 2 , wherein the root node further includes at least any one of the following: a version of the map data, a collection time, an identifier of the geographic area, and addresses of the plurality of child nodes.
4. The method according to claim 1, wherein the child node include: An identifier of the block and addresses of the set of leaf nodes.
5. The method according to claim 4, wherein the subnode further includes at least any one of the following: location information of the block and version and collection time of the block.
6. The method of claim 1, wherein a leaf node in the set of leaf nodes include: The identifier of the point cloud data represented by the leaf node.
7. The method according to claim 1, wherein updating the index include: If it is determined that the set of leaf nodes involves all leaf nodes in a given child node of the index, the given child node is replaced with a new child node created based on the set of point cloud data.
8. A device for managing map data, include: An index creation module configured to create an index for map data of a geographic area, the map data comprising a plurality of point cloud data collected at a plurality of locations in the geographic area, the index comprising a root node, a child node, and a leaf node representing the map data; A child node creation module configured to add at least one child node representing a block to the root node based on a block among a plurality of blocks included in the geographical area; as well as a leaf node creation module configured to add a group of leaf nodes respectively representing a group of point cloud data among the plurality of point cloud data to a child node of the at least one child node, the group of point cloud data being collected at a group of positions located within the block among the plurality of positions; a leaf node determination module configured to determine a set of leaf nodes corresponding to a portion of the map data that has been modified if the portion is modified; as well as An updating module configured to update the index based on the set of point cloud data of the modified portion and the set of leaf nodes; A storage module, configured to store the index before updating the index; A receiving module configured to receive a query request for querying historical versions of map data; as well as Providing a module configured to provide the historical version of the map data based on the stored index and the plurality of point cloud data; The leaf nodes in the group of leaf nodes further include at least any one of the following: the storage address of the point cloud data, the version of the point cloud data, the acquisition time, and the posture of the acquisition device used to acquire the point cloud data; wherein the posture of the acquisition device includes the position and direction of the acquisition device; the acquisition device has different postures at different positions; The leaf node determination module is configured to determine the trajectory of the acquisition device used to acquire the modified portion; the device also includes a set updating module, configured to add the given leaf node to the set of leaf nodes if it is determined that the pose of the acquisition device in the trajectory matches the pose of the given leaf node of the index; The update module includes: a child node adding module, configured to add a new child node to the index if it is determined that the set of point cloud data involves some leaf nodes in a given child node; a child node updating module, configured to add a leaf node associated with the set of point cloud data to the new child node; and a deletion module, configured to delete the leaf node associated with the modified part in the given child node.
9. An electronic device, include: Memory and processor; The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having one or more computer instructions stored thereon, wherein the one or more computer instructions are executed by a processor to implement the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
System and method for updating data of navigation system and navigation system
CN101354261A
Method and device used for obtaining maps, equipment and computer readable storage medium
CN109141446A
High-precision electronic map update method and device and readable storage medium
CN109612475A
A method, an apparatus for managing a storage system, and a computer program product
CN110807028A
Map data management and electronic map rollback method and device
CN111444163A
