Map generation method and device and related equipment

High-precision navigation maps are generated through three-dimensional reconstruction technology, which solves the problem of low map accuracy in AR navigation and improves the accuracy of navigation routes and user experience, especially in indoor and occlusion environments.

CN118548873APending Publication Date: 2024-08-27MIGU COMIC CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410608734.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In existing AR navigation technology, map accuracy is low, especially indoors or when there is occlusion, resulting in reduced accuracy of navigation routes and affecting user experience.

Method used

Collect point cloud data of the target area through 3D reconstruction technology, connect trajectory points and target points to generate navigation line segments, and segment the navigation line segments into multiple navigation points to form a high-precision navigation map and reduce dependence on GPS data.

Benefits of technology

It improves the accuracy of AR navigation routes, enhances the user experience during navigation, and can provide high-precision navigation support in indoor and occlusion environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118548873A
    Figure CN118548873A
Patent Text Reader

Abstract

The invention provides a map generation method and device and related equipment, and relates to the technical field of AR navigation, and the method comprises the steps: carrying out the three-dimensional reconstruction of a target region based on a three-dimensional reconstruction material collected by target equipment, so as to obtain first data representing the movement track of the target equipment, and second data representing the position of a navigation target; connecting a plurality of track points indicated by the first data with at least one target point indicated by the second data to obtain a navigation line segment set; based on a preset distance, each navigation line segment in the navigation line segment set is segmented, a plurality of navigation points are obtained, and the distance between every two adjacent navigation points is smaller than or equal to the preset distance; and generating a navigation map according to the plurality of navigation points. According to the invention, based on the three-dimensional reconstruction result, the fine-grained road supporting the passage of the user is determined in a connection line and segment segmentation mode, so that the accuracy of the AR navigation route output based on the AR navigation map can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of AR navigation, and in particular to a map generation method, apparatus and related equipment. Background Art

[0002] To meet the AR navigation needs of users, relevant technologies need to access the application programming interface (API) built into the map application. The use of the above API relies on the global positioning system (GPS) data. Due to the limitations of GPS accuracy, when the user is indoors or there are obstructions (such as roadside trees and buildings) at the user's location, the accuracy of the AR navigation route will be significantly reduced;

[0003] Moreover, during the AR navigation process, road signs may not fit the road surface or pass through walls, which seriously affects the user experience during navigation.

[0004] That is to say, the map accuracy provided by the relevant technology for AR navigation is low. Summary of the invention

[0005] The purpose of the present disclosure is to provide a map generation method, device and related equipment to solve the technical problem of low map accuracy for AR navigation provided by related technologies.

[0006] In a first aspect, the present disclosure provides a map generation method, the method comprising:

[0007] Based on the three-dimensional reconstruction material collected by the target device, a target area is three-dimensionally reconstructed to obtain a point cloud data set of the target area, wherein the point cloud data set includes first data for representing a movement trajectory of the target device and second data for representing a location of a navigation target;

[0008] Connecting multiple track points indicated by the first data and at least one target point indicated by the second data to obtain a navigation line segment set, wherein the track point is a projection point of the moving track on a horizontal plane of the target area, the target point is a projection point of the navigation target on the horizontal plane, and the navigation line segment set is used to represent roads in the target area that support user passage;

[0009] Based on a preset distance, each navigation line segment in the navigation line segment set is divided to obtain a plurality of navigation points, wherein the spacing between adjacent navigation points is less than or equal to the preset distance;

[0010] A navigation map is generated according to the multiple navigation points.

[0011] In a second aspect, the present disclosure provides a map generating device, the device comprising:

[0012] A three-dimensional reconstruction module, used to perform three-dimensional reconstruction of a target area based on the three-dimensional reconstruction material collected by the target device, and obtain a point cloud data set of the target area, wherein the point cloud data set includes first data for representing a movement trajectory of the target device and second data for representing a location of a navigation target;

[0013] a line segment acquisition module, configured to connect multiple track points indicated by the first data and at least one target point indicated by the second data to obtain a navigation line segment set, wherein the track point is a projection point of the moving track on a horizontal plane of the target area, the target point is a projection point of the navigation target on the horizontal plane, and the navigation line segment set is used to represent roads in the target area that support user passage;

[0014] A line segmentation module, configured to segment each navigation line segment in the navigation line segment set based on a preset distance to obtain a plurality of navigation points, wherein the spacing between adjacent navigation points is less than or equal to the preset distance;

[0015] The map generation module is used to generate a navigation map according to the multiple navigation points.

[0016] In a third aspect, the present disclosure provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method described in the first aspect.

[0017] In a fourth aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0018] In a fifth aspect, the present disclosure provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0019] In the present disclosure, based on the three-dimensional reconstruction result of the target area, the roads in the target area that support user passage are determined in a connecting manner, and the determined roads are represented in the form of a navigation segment set. Thereafter, each navigation segment in the navigation segment set is divided to obtain multiple navigation points, and a high-precision AR navigation map is formed based on the multiple navigation points. In this way, the dependence of related technologies on GPS data can be avoided, and the accuracy of AR navigation routes based on the output of the AR navigation map can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a flowchart of a map generation method provided by an embodiment of the present disclosure;

[0021] Figure 2 is a schematic diagram of the positional relationship between a first navigation line segment and a target point provided by an embodiment of the present disclosure;

[0022] Figure 3 is a schematic diagram of a second navigation line segment provided by an embodiment of the present disclosure;

[0023] Figure 4 is a schematic diagram of line segmentation provided by an embodiment of the present disclosure;

[0024] Figure 5 is a schematic diagram of a redundant line segment provided by an embodiment of the present disclosure;

[0025] Figure 6 is a flowchart of another map generation method provided by an embodiment of the present disclosure;

[0026] Figure 7 is a schematic diagram of a process for generating a navigation segment group provided by an embodiment of the present disclosure;

[0027] Figure 8 It is a schematic diagram of a process of segmenting a line provided by an embodiment of the present disclosure;

[0028] Fig. 9 is a schematic diagram of an AR navigation path provided by an embodiment of the present disclosure;

[0029] Fig.10 is a structural schematic diagram of a map generating device provided by an embodiment of the present disclosure;

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

[0031] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0032] The present disclosure provides a map generation method. Figure 1 As shown, the map generation method includes:

[0033] Step 101: Perform three-dimensional reconstruction on a target area based on the three-dimensional reconstruction material collected by the target device to obtain a point cloud data set of the target area.

[0034] The point cloud data set includes first data for representing the movement trajectory of the target device and second data for representing the location of the navigation target, and the three-dimensional reconstruction material includes multiple images collected in the target area.

[0035] The target device is a device with an image acquisition function, or the target device is a mobile device with an image acquisition function, such as a camera, or a vehicle equipped with a camera.

[0036] For example, when the target device is a camera, the data collector can hold the camera and complete the collection of three-dimensional reconstruction materials by walking or riding a mobile tool; and when the target device is a vehicle equipped with a camera, the vehicle equipped with the camera can complete the collection of three-dimensional reconstruction materials in an autonomous driving manner.

[0037] It should be noted that the movement trajectory of the target device should cover all areas in the target area that can support AR navigation, that is, the movement trajectory of the target device should cover all roads in the target area that can support user traffic.

[0038] In a preferred embodiment, the movement of the target device can be controlled along the center line of the road that can support user traffic in the target area, which can not only ensure the integrity and reliability of the collected three-dimensional reconstruction materials, but also reduce the probability that the AR navigation trajectory output by the AR navigation map generated thereby does not fit the road surface or passes through the wall.

[0039] The target area is any area that supports the AR navigation function, and the navigation target is a target that the user is interested in within the target area. For example, the target area may be a shopping mall, in which case the navigation target may be understood as shops in the shopping mall, shopping mall entrances and exits, etc.; the target area may also be a scenic spot, in which case the navigation target may be understood as specific attractions in the scenic spot, functional buildings (such as a ticket office), etc.

[0040] Step 102: connect the multiple trajectory points indicated by the first data and the at least one target point indicated by the second data to obtain a navigation line segment set.

[0041] Among them, the trajectory point is the projection point of the moving trajectory on the horizontal plane of the target area, the target point is the projection point of the navigation target on the horizontal plane, and the navigation line segment set is used to represent the roads in the target area that support user passage.

[0042] Step 103: based on a preset distance, segment each navigation line segment in the navigation line segment set to obtain a plurality of navigation points.

[0043] The distance between adjacent navigation points is less than or equal to a preset distance.

[0044] In an example, if the preset distance is 1 meter and the actual length of a navigation line segment A1-B1 is 5 meters, the navigation line segment A1-B1 can be evenly divided into 6 navigation points.

[0045] In another example, if the preset distance is still 1 meter and the actual length of the navigation segment A2-B2 is 4.5 meters, the first 4 meters or the last 4 meters of the navigation segment A2-B2 can be evenly divided into 5 navigation points, and the remaining 0.5 meters of the navigation segment A2-B2 can be divided into 1 navigation point.

[0046] Step 104: Generate a navigation map according to the multiple navigation points.

[0047] By dividing navigation segments into navigation points, fine-grained navigation map construction can be achieved.

[0048] It should be understood that the three-dimensional reconstruction action in step 101, in addition to obtaining the point cloud data set of the target area, can also obtain a positioning map of the target area. In the application, based on the image collected by the user terminal in the target area, spatial positioning can be performed through the positioning map to determine the coordinates of the user terminal in the three-dimensional point cloud model of the target area; then the nearest point of the coordinate in the AR navigation map is determined as the starting point, and the nearest point of the navigation target set by the user in the AR navigation map is determined as the end point. The shortest path from the starting point to the end point (that is, the path with the least number of navigation points passed) is searched in the AR navigation map, and the shortest path is used as the AR navigation path. Combined with AR rendering technology, the AR navigation path is animated in the image displayed on the user terminal.

[0049] Based on the three-dimensional reconstruction result of the target area, the present invention determines the roads in the target area that support user passage in a connecting manner, and represents the determined roads in the form of a navigation segment set. Thereafter, each navigation segment in the navigation segment set is segmented to obtain multiple navigation points, and a high-precision AR navigation map is formed based on the multiple navigation points. In this way, the dependence of related technologies on GPS data can be avoided, and the accuracy of AR navigation routes based on the output of the AR navigation map can be improved.

[0050] In one embodiment, connecting the multiple track points indicated by the first data and the at least one target point indicated by the second data to obtain a navigation line segment set includes:

[0051] Connecting and editing a plurality of track points indicated by the first data to obtain a plurality of first navigation line segments;

[0052] Determine, according to the at least one target point and the plurality of first navigation line segments, a second navigation line segment corresponding to each of the target points, wherein the second navigation line segment is the shortest connecting line segment of each of the target points among the plurality of first navigation line segments;

[0053] The navigation segment set is generated based on the plurality of first navigation segments and the at least one second navigation segment.

[0054] Exemplarily, the coordinate data indicating the non-gravity direction in the first data can be extracted to obtain the multiple trajectory points, and the aforementioned line editing operation can be completed based on the point and line editing software, wherein the point and line editing software can be QGIS software, or other self-developed / customized / open source point and line editing software.

[0055] Among them, Figure 2 and Figure 3 As shown, the process of determining the second navigation line segment corresponding to the target point may be:

[0056] Determine, among the plurality of first navigation line segments, a first navigation line segment which is closest to the target point;

[0057] A perpendicular line between the target point and a first navigation line segment closest to the target point is determined as a second navigation line segment corresponding to the target point.

[0058] In one embodiment, generating the navigation line segment set based on the plurality of first navigation line segments and the at least one second navigation line segment comprises:

[0059] generating an initial segment set based on the plurality of first navigation segments and the at least one second navigation segment;

[0060] According to the line segment intersection points in the initial line segment set, multiple line segments in the initial line segment set are segmented to obtain a transition line segment set, wherein the transition line segment set does not include line segment endpoints located within the line segment;

[0061] The redundant line segments satisfying the filtering condition in the transition line segment set are filtered out to obtain the navigation line segment set, wherein the redundant line segments are line segments corresponding to areas that do not support user passage.

[0062] Exemplarily, the line segment intersections in the initial line segment set include: intersections generated by drawing a perpendicular line from the target point to the nearest first navigation line segment, intersections generated by the intersection of multiple first guide line segments, and intersections generated due to connection errors.

[0063] The process of segmenting the multiple line segments in the initial line segment set can be understood as a process of segmenting a longer line segment into multiple shorter line segments using the line segment intersection as the break point. Therefore, the segmented transition line segment set does not include the line segment endpoints located within the line segment.

[0064] For example, if Figure 4 As shown, for the line segment Pj1-Pj2 and the line segment Li1-Pi2, through segmentation processing, the line segment Pj1-CP, the line segment Pj2-CP, the line segment Li1-CP, and the line segment Li2-CP can be obtained.

[0065] By executing the aforementioned line segmentation action and setting filtering conditions, redundant line segments caused by connection errors can be identified and filtered out to avoid mixing map parts that do not support user traffic into the subsequently formed AR map.

[0066] Specifically, the filtering conditions include: the length of the line segment is less than a preset length, both endpoints of the line segment do not include the target point, and one endpoint of the line segment is an isolated endpoint.

[0067] It should be understood that if Figure 5 As shown ( Figure 5 The line segment surrounded by the circle is the redundant line segment). The redundant line segment caused by the connection error is a short line extending outward from the end point of the connection. Therefore, the length of this redundant line segment will be significantly shorter than the length of the normal line segment, and this redundant line segment does not intersect with other line segments.

[0068] In view of the above characteristics of redundant line segments, a combination of length determination and endpoint status determination is adopted to accurately identify redundant line segments in the transition line segment set, while avoiding the situation where normal line segments are mistakenly identified as redundant line segments.

[0069] The above-mentioned isolated endpoint should be understood as an endpoint that has one and only one other endpoint to form a line segment with it.

[0070] As for the determination of redundant line segments, the further addition of the determination of whether the line segment endpoints include the target point is to avoid the situation where the second navigation line segment corresponding to the target point is misjudged, thereby avoiding the problem of missing the target point in the subsequently formed AR map.

[0071] In one embodiment, forming a navigation map according to the multiple navigation points includes:

[0072] Determine the height data of each navigation point according to the point cloud data set;

[0073] A navigation map is generated according to the multiple navigation points and the altitude data of each navigation point.

[0074] By recording the altitude data of each navigation point in the navigation map, it is possible to avoid the situation where the rendering animation of the navigation path sinks into the ground due to missing altitude data.

[0075] In some implementations, when the target device moves and collects three-dimensional reconstruction materials, a height positioning module can be used to adaptively record the collection height corresponding to each collection position of the target device, and form the height data of each navigation point accordingly.

[0076] In one embodiment, determining the height data of each navigation point according to the point cloud data set includes:

[0077] In the first data, a height value of the point cloud data closest to a target navigation point is determined as an initial height value of the target navigation point, and the target navigation point is any one of the multiple navigation points;

[0078] Determining a search area for the target navigation point according to an initial altitude value of the target navigation point, a preset altitude fluctuation value, and a search radius;

[0079] Determine, among the point cloud data sets, point cloud data located in a search area of ​​the target navigation point as candidate data;

[0080] The height average of the candidate data corresponding to the target navigation point is determined as the height data of the target navigation point.

[0081] In this embodiment, the distance between the point cloud data and the target navigation point can be calculated using the coordinates of the point cloud data in the non-gravity direction (generally the X and Y axes) and the coordinates of the target navigation point.

[0082] Among them, the sum of the initial height value and the preset height fluctuation value is the maximum height value, the difference between the initial height value and the preset height fluctuation value is the minimum height value, the coordinates of the target navigation point are taken as the base point, and the three-dimensional point of the minimum height value is extended upward along the direction of gravity as the lower center point, and the coordinates of the target navigation point are taken as the base point, and the three-dimensional point of the maximum height value is extended upward along the direction of gravity as the upper center point. At this time, the line connecting the upper center point and the lower center point can be obtained as the central axis, and the radius is the cylindrical area of ​​the search radius, that is, the search area of ​​the target navigation point is obtained.

[0083] For example, when the target device is held by a data collector, the initial height value is the height of the data collector; and when the target device is mounted on a mobile device, the initial height value is the height of the mounting position of the target device from the ground.

[0084] The height fluctuation value and the search radius may be adaptively selected according to actual needs, and the present disclosure does not limit this.

[0085] Based on the construction of the above search area and the calculation of the height average of multiple point cloud data located in the search area, the actual height of the corresponding target navigation point can be accurately restored, thereby ensuring that the output AR trajectory is always suspended in the air, so as to present a better navigation guidance effect in the camera image of the user terminal.

[0086] For ease of explanation, the examples are as follows:

[0087] like Figure 6 As shown, the present disclosure also provides another map generation method, and its implementation process includes:

[0088] The data collector holds a camera and collects scene modeling data (that is, collects 3D reconstruction materials) in the target area. During the collection process, the data collector is not only required to cover all roads in the target area that can be navigated by AR, but also to travel along the center line of the road.

[0089] Then, the target area is reconstructed in three dimensions according to the collected scene modeling data, and the positioning map, point cloud model and trajectory of the acquisition camera (i.e., the aforementioned first data) of the target area are output, wherein the point cloud model is consistent with the scale of the real scene and the gravity direction is aligned, and the acquisition camera trajectory is a discrete three-dimensional point, defined as {C a}, a∈[0,M), M is the number of images used to reconstruct the point cloud model.

[0090] According to the pre-acquired AR navigation requirements, determine the navigation points that need to be supported in the target area, which are defined as {D b},b∈[0,K), where Traverse all navigation points and obtain the position of each navigation point in the point cloud model (ie, determine the aforementioned second data).

[0091] Edit the lines using the xy 2D coordinates of the camera trajectory in the non-gravity direction to generate Figure 7 The smooth navigation line (i.e., the first navigation line segment) shown in FIG. 1 and the navigation point {D b} and the shortest link between the navigation route (i.e., the second navigation segment) to form a navigation segment group {L i}, i∈[0,N), N is the number of line segments, where L i It can be expressed as (P i1 ,P i2 ), P i1 ,P i2 is line segment L i The two endpoints of

[0092] Reference Figure 4The segment segmentation process shown in the figure is for the navigation segment group L i Intersecting lines are interrupted, where the segmented line segments are divided from L i , and the segmented line segments will be added to L i middle.

[0093] Interrupt the navigation line group L through the intersection line i (i.e., transition segment set) to remove redundant segments.

[0094] For the navigation line segment group L after the intersection line is interrupted and the redundant line segments are removed i , take the endpoint of each navigation line segment as the navigation map point (i.e. the aforementioned navigation point), and traverse each navigation line segment at the same time, such as Figure 8 As shown, a new navigation map point is generated according to the distance interval d (ie, the preset distance) and added to the navigation map point set {N c}, and maintain the connection relationship NP_con between each navigation map point and other navigation map points, wherein there may be multiple connection lines between two different navigation map points.

[0095] It should be understood that, since the navigation point is in the navigation line segment, the navigation point is included in the navigation map point.

[0096] like Fig. 9 As shown, in AR navigation, the image currently collected by the user terminal is used for spatial positioning based on the aforementioned positioning map, so as to obtain the position P of the user's current position in the point cloud model. At the aforementioned navigation map point {N c} to find the point closest to P, recorded as SNT; obtain the target navigation point set by the user and map it to {N c}, get the position of the target navigation point in the navigation map, recorded as DNT;

[0097] In the navigation map G (consisting of the navigation map point set {N c} and the connection relationship NP_con together constitute) and calculate the shortest path from SNT to DNT, which is recorded as the planned path of AR navigation. This path is the route of AR navigation.

[0098] Among them, when the navigation map is generated by the navigation map points, the height calculation of the navigation map points can be added to make the AR navigation trajectory based on the navigation map output more accurate. The process of determining the height of the navigation map points can refer to the description of the height data of the aforementioned navigation points. To avoid repetition, it will not be repeated.

[0099] It should be understood that the application of the method described in this application is not limited by the scene. Whether it is indoors or outdoors in scenes with many obstructions, it can provide high-precision AR navigation support and provide users with a high-precision AR navigation experience. For example, the method described in this application can be applied in projects such as AR tours of scenic spots and exhibition demonstrations.

[0100] See also Fig.10 , Fig.10 A map generating device provided by an embodiment of the present disclosure is Figure 3 As shown, the map generating device 1000 includes:

[0101] The three-dimensional reconstruction module 1001 is used to perform three-dimensional reconstruction on the target area based on the three-dimensional reconstruction material collected by the target device, and obtain a point cloud data set of the target area, wherein the point cloud data set includes first data for representing the movement trajectory of the target device and second data for representing the location of the navigation target;

[0102] A line segment acquisition module 1002 is used to connect multiple track points indicated by the first data and at least one target point indicated by the second data to obtain a navigation line segment set, wherein the track point is a projection point of the moving track on the horizontal plane of the target area, the target point is a projection point of the navigation target on the horizontal plane, and the navigation line segment set is used to represent roads in the target area that support user passage;

[0103] The line segmentation module 1003 is used to segment each navigation line segment in the navigation line segment set based on a preset distance to obtain a plurality of navigation points, wherein the distance between adjacent navigation points is less than or equal to the preset distance;

[0104] The map generation module 1004 is used to generate a navigation map according to the multiple navigation points.

[0105] In one embodiment, the line segment acquisition module 1002 includes:

[0106] A line editing unit, used for performing line editing on a plurality of track points indicated by the first data to obtain a plurality of first navigation line segments;

[0107] A point-line connection unit, configured to determine, based on the at least one target point and the plurality of first navigation line segments, a second navigation line segment corresponding to each of the target points, wherein the second navigation line segment is the shortest connecting line segment of each of the target points among the plurality of first navigation line segments;

[0108] A set generating unit is used to generate the navigation line segment set based on the multiple first navigation line segments and the at least one second navigation line segment.

[0109] In one embodiment, the set generation unit is specifically used to:

[0110] generating an initial segment set based on the plurality of first navigation segments and the at least one second navigation segment;

[0111] According to the line segment intersection points in the initial line segment set, multiple line segments in the initial line segment set are segmented to obtain a transition line segment set, wherein the transition line segment set does not include line segment endpoints located within the line segment;

[0112] The redundant line segments satisfying the filtering condition in the transition line segment set are filtered out to obtain the navigation line segment set, wherein the redundant line segments are line segments corresponding to areas that do not support user passage.

[0113] In one embodiment, the filtering conditions include: the length of the line segment is less than a preset length, both endpoints of the line segment do not include the target point, and one endpoint of the line segment is an isolated endpoint.

[0114] In one embodiment, the map generation module 1004 includes:

[0115] A height acquisition unit, used for determining the height data of each navigation point according to the point cloud data set;

[0116] The map generating unit is used to generate a navigation map according to the plurality of navigation points and the altitude data of each of the navigation points.

[0117] In one embodiment, the height acquisition unit is specifically used to:

[0118] In the first data, a height value of the point cloud data closest to a target navigation point is determined as an initial height value of the target navigation point, and the target navigation point is any one of the multiple navigation points;

[0119] Determining a search area for the target navigation point according to an initial altitude value of the target navigation point, a preset altitude fluctuation value, and a search radius;

[0120] Determine, among the point cloud data sets, point cloud data located in a search area of ​​the target navigation point as candidate data;

[0121] The height average of the candidate data corresponding to the target navigation point is determined as the height data of the target navigation point.

[0122] The map generating device 1000 provided in the embodiment of the present disclosure can implement each process in the above-mentioned map generating method embodiment, and will not be described again here to avoid repetition.

[0123] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.

[0124] Fig.11 A schematic block diagram of an example electronic device 1100 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0125] like Fig.11 As shown, the device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from a storage unit 1108 to a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the device 1100 can also be stored. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0126] A number of components in the device 1100 are connected to the I / O interface 1105, including: an input unit 1106, such as a keyboard, a mouse, etc.; an output unit 1107, such as various types of displays, speakers, etc.; a storage unit 1108, such as a disk, an optical disk, etc.; and a communication unit 1109, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1109 allows the device 1100 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0127] The computing unit 1101 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSP), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1101 performs the various methods and processes described above, such as the map generation method. For example, in some embodiments, the map generation method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1108. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1100 via the ROM 1102 and / or the communication unit 1109. When the computer program is loaded into the RAM 1103 and executed by the computing unit 1101, one or more steps of the map generation method described above may be performed. Alternatively, in other embodiments, the computing unit 1101 may be configured to execute the map generating method in any other appropriate manner (eg, by means of firmware).

[0128] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0129] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0130] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0131] As used herein, the term "machine-readable medium" refers to any computer program product, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0132] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0133] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0134] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0135] The present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above Figure 1 or Figure 6 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0136] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0137] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A map generation method, characterized in that: The method comprises: Based on the three-dimensional reconstruction material collected by the target device, a target area is reconstructed in three dimensions to obtain a point cloud data set of the target area, wherein the point cloud data set includes first data for representing a movement trajectory of the target device and second data for representing a location of a navigation target; Connecting multiple track points indicated by the first data and at least one target point indicated by the second data to obtain a navigation line segment set, wherein the track point is a projection point of the moving track on a horizontal plane of the target area, the target point is a projection point of the navigation target on the horizontal plane, and the navigation line segment set is used to represent roads in the target area that support user passage; Based on a preset distance, each navigation line segment in the navigation line segment set is divided to obtain a plurality of navigation points, wherein the spacing between adjacent navigation points is less than or equal to the preset distance; A navigation map is generated according to the multiple navigation points.

2. The method according to claim 1, characterized in that The step of connecting the plurality of trajectory points indicated by the first data and the at least one target point indicated by the second data to obtain a navigation line segment set includes: Connecting and editing a plurality of track points indicated by the first data to obtain a plurality of first navigation line segments; Determine, according to the at least one target point and the plurality of first navigation line segments, a second navigation line segment corresponding to each of the target points, wherein the second navigation line segment is the shortest connecting line segment of each of the target points among the plurality of first navigation line segments; The navigation segment set is generated based on the plurality of first navigation segments and the at least one second navigation segment.

3. The method according to claim 2, characterized in that The generating the navigation line segment set based on the plurality of first navigation line segments and the at least one second navigation line segment comprises: generating an initial segment set based on the plurality of first navigation segments and the at least one second navigation segment; According to the line segment intersection points in the initial line segment set, multiple line segments in the initial line segment set are segmented to obtain a transition line segment set, wherein the transition line segment set does not include line segment endpoints located within the line segment; The redundant line segments satisfying the filtering condition in the transition line segment set are filtered out to obtain the navigation line segment set, wherein the redundant line segments are line segments corresponding to areas that do not support user passage.

4. The method according to claim 3, characterized in that The filtering conditions include: the length of the line segment is less than a preset length, both endpoints of the line segment do not include the target point, and one endpoint of the line segment is an isolated endpoint.

5. The method according to claim 1, characterized in that The forming of a navigation map according to the plurality of navigation points comprises: Determine the height data of each navigation point according to the point cloud data set; A navigation map is generated according to the multiple navigation points and the altitude data of each navigation point.

6. The method according to claim 5, characterized in that Determining the height data of each navigation point according to the point cloud data set includes: In the first data, a height value of the point cloud data closest to a target navigation point is determined as an initial height value of the target navigation point, and the target navigation point is any one of the multiple navigation points; Determining a search area for the target navigation point according to an initial altitude value of the target navigation point, a preset altitude fluctuation value, and a search radius; Determine, among the point cloud data sets, point cloud data located in a search area of ​​the target navigation point as candidate data; The height average of the candidate data corresponding to the target navigation point is determined as the height data of the target navigation point.

7. A map generating device, characterized in that: The device comprises: A three-dimensional reconstruction module, used to perform three-dimensional reconstruction of a target area based on the three-dimensional reconstruction material collected by the target device, and obtain a point cloud data set of the target area, wherein the point cloud data set includes first data for representing a movement trajectory of the target device and second data for representing a location of a navigation target; a line segment acquisition module, configured to connect multiple track points indicated by the first data and at least one target point indicated by the second data to obtain a navigation line segment set, wherein the track point is a projection point of the moving track on a horizontal plane of the target area, the target point is a projection point of the navigation target on the horizontal plane, and the navigation line segment set is used to represent roads in the target area that support user passage; A line segmentation module, configured to segment each navigation line segment in the navigation line segment set based on a preset distance to obtain a plurality of navigation points, wherein the spacing between adjacent navigation points is less than or equal to the preset distance; The map generation module is used to generate a navigation map according to the multiple navigation points.

8. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the method according to any one of claims 1 to 6 when executed by the processor.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 6.