4D space memory mapping method and device for dynamic update

By synchronizing multi-source sensor data in time and space and constructing a four-dimensional voxel model, the problem of handling dynamic changes in dynamic environment mapping is solved, enabling efficient updating of static structures and dynamic targets and accurate prediction of environmental conditions.

CN123181738APending Publication Date: 2026-11-27NANJING JIANGXING LIANJIA INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611589106.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-14
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing mapping technologies struggle to effectively handle dynamic changes in dynamic environments, resulting in maps that fail to reflect the true state of the environment and lack the ability to remember and predict long-term dynamic patterns of the environment.

Method used

By synchronizing the sensing data from multiple sources in time and space, a multidimensional data stream with a unified timestamp is generated. This enables the three-dimensional geometric reconstruction of static structures and the extraction and tracking of dynamic targets, thus constructing a four-dimensional spatiotemporal voxel model. The model is then updated through incremental fusion to achieve dynamic maintenance of the 4D spatial memory map.

Benefits of technology

It achieves unified representation and efficient updating of static structures and dynamic targets in complex environments over time, improving the continuity, completeness and timeliness of environmental perception.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181738A_ABST
    Figure CN123181738A_ABST
Patent Text Reader

Abstract

The application discloses a 4D space memory mapping method and device for dynamic updating, and relates to the technical field of dynamic modeling.The method comprises the following steps: synchronizing the perception data of a plurality of source sensors in space and time to form a multi-dimensional data stream with a unified timestamp; performing three-dimensional geometric reconstruction of a static structure based on the data stream to generate a basic static map, and extracting and tracking a dynamic target to obtain a three-dimensional motion trajectory sequence; fusing the static map and the dynamic trajectory to construct a four-dimensional voxel model describing the space-time evolution of the environment state; and after new data is acquired, updating the model through incremental fusion to realize dynamic maintenance of the 4D space memory map. Through the above method, the method can realize unified representation and efficient updating of the static structure and the dynamic target in a complex environment over time, and improves the continuity, integrity and timeliness of environment perception.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of dynamic modeling technology, and in particular to a 4D spatial memory mapping method and apparatus for dynamic updates. Background Technology

[0002] In fields such as robot navigation, autonomous driving, and augmented reality, accurate and comprehensive perception and modeling of the environment are fundamental to achieving intelligent decision-making and interaction. Existing mapping technologies, such as Simultaneous Localization and Mapping (SLAM), primarily focus on building static 3D maps of the environment, making it difficult to effectively handle the dynamic changes prevalent in the real world. When moving objects such as pedestrians and vehicles are present in the environment, traditional methods typically treat them as noise and filter them out, resulting in maps that fail to reflect the true evolution of the environment. Furthermore, existing dynamic scene modeling methods often emphasize short-term target tracking and obstacle avoidance, lacking the ability to memorize and summarize long-term, periodic dynamic patterns of the environment, making it impossible for intelligent agents to predict the environmental state at future moments. Summary of the Invention

[0003] The main objective of this application is to provide a 4D spatial memory mapping method and apparatus for dynamic updates, which can solve the technical problem in the prior art that dynamic environments are difficult to model uniformly and update in real time.

[0004] To achieve the above objectives, this application provides a method for dynamically updated 4D spatial memory mapping, the method comprising: Spatiotemporal synchronization of environmental sensing data from multiple sources is performed to obtain a multidimensional sensing data stream with a unified timestamp. Based on the multidimensional sensing data stream, a three-dimensional geometric reconstruction is performed on the static structure in the environment to obtain a basic static map; Dynamic target extraction and tracking are performed on the multidimensional sensing data stream to obtain a three-dimensional motion trajectory sequence of the dynamic target; Based on the basic static map and the three-dimensional motion trajectory sequence, a four-dimensional spatiotemporal voxel model of environmental state changes over time is generated. Upon receiving a new multidimensional sensing data stream, the four-dimensional spatiotemporal voxel model is incrementally fused based on the new multidimensional sensing data stream to obtain a target 4D spatial memory map.

[0005] In one embodiment, the step of performing three-dimensional geometric reconstruction of static structures in the environment based on the multi-dimensional sensing data stream to obtain a basic static map includes: Continuous point cloud data at consecutive moments are extracted from the multidimensional sensing data stream, and the continuous point cloud data is registered and denoised to obtain a dense three-dimensional point cloud. The dense 3D point cloud is voxelized and its surface reconstructed to obtain an initial 3D mesh model; Extract image data at the corresponding time from the multidimensional sensing data stream, and extract texture information from the image data; The texture information is mapped onto the surface of the initial 3D mesh model to obtain a 3D texture model; Key structural features are extracted from the three-dimensional texture model to obtain a basic static map.

[0006] In one embodiment, the step of extracting key structural features from the three-dimensional texture model to obtain a basic static map includes: Planar and edge feature detection is performed on the three-dimensional texture model to obtain the key structural contours; Based on the key structural contours, the three-dimensional texture model is geometrically modified to obtain the basic shape of the map. Extract semantic information from the image data, and generate semantic tags based on the semantic information; By associating the semantic tags with the basic shape of the map, a basic static map is obtained.

[0007] In one embodiment, the step of dynamically extracting and tracking the multidimensional sensing data stream to obtain a three-dimensional motion trajectory sequence of the dynamic target includes: Continuous image frames are extracted from the multidimensional sensing data stream, and differential processing is performed on the continuous image frames to obtain potential motion regions; The point cloud data corresponding to the time of the consecutive image frames is determined, and the potential motion region is subjected to three-dimensional point cloud clustering and segmentation to obtain candidate dynamic target point cloud clusters. Determine the thermal radiation data in the multidimensional sensing data stream, perform thermal feature analysis on the candidate dynamic target point cloud cluster based on the thermal radiation data, and obtain the dynamic target type of the dynamic target; Under continuous timestamps, the position information of the dynamic target in three-dimensional space is associated with the dynamic target type, and the position information is smoothed to obtain the three-dimensional motion trajectory sequence of the dynamic target.

[0008] In one embodiment, the dynamic target type includes living organisms and non-living organisms. The step of determining the thermal radiation data in the multidimensional sensing data stream and performing thermal feature analysis on the candidate dynamic target point cloud clusters based on the thermal radiation data to obtain the dynamic target type of the dynamic target includes: Determine the thermal radiation data in the multidimensional sensing data stream, and extract thermal features from the thermal radiation data corresponding to the candidate dynamic target point cloud cluster to obtain thermal radiation intensity distribution data; The matching degree is obtained by matching the thermal radiation intensity distribution data with the thermal radiation patterns of typical living organisms. When the matching degree is greater than the first threshold, the dynamic target is identified as a living organism, and the living organism is classified according to the thermal radiation intensity distribution data to obtain the living organism type; When the matching degree is less than the second threshold, the dynamic target is identified as a non-living object, and the non-living object is classified according to the thermal radiation intensity distribution data to obtain the non-living object type.

[0009] In one embodiment, the step of generating a four-dimensional spatiotemporal voxel model of environmental state changes over time based on the base static map and the three-dimensional motion trajectory sequence includes: The basic static map is discretized into a three-dimensional voxel mesh; Divide the time dimension into equally spaced time slices; Determine the position information of each dynamic target in the three-dimensional motion trajectory sequence; The location information is mapped to voxels in the three-dimensional voxel grid corresponding to the time slice, and dynamic attribute information is added to the voxels to obtain a three-dimensional voxel network slice. The three-dimensional voxel network slices are superimposed and integrated in chronological order to obtain an initial four-dimensional spatiotemporal voxel model. The initial four-dimensional spatiotemporal voxel model is repaired by void repair to obtain a four-dimensional spatiotemporal voxel model.

[0010] In one embodiment, after the step of repairing the holes in the initial four-dimensional spatiotemporal voxel model to obtain the four-dimensional spatiotemporal voxel model, the method further includes: The observation data within the preset observation period of the four-dimensional spatiotemporal voxel model are analyzed to identify the periodically occupied spatial regions. Determine the frequency and duration of occupancy of the space region; The occupancy frequency and duration are used as occupancy pattern attributes of the spatial region, and the corresponding voxels in the four-dimensional spatiotemporal voxel model are updated based on the occupancy pattern attributes.

[0011] In one embodiment, the step of incrementally fusing the four-dimensional spatiotemporal voxel model based on the new multidimensional sensing data stream after receiving the new multidimensional sensing data stream to obtain the target 4D spatial memory map includes: After receiving a new multidimensional sensing data stream, dynamic target extraction and tracking are performed on the new multidimensional sensing data stream to obtain a new target dynamic trajectory sequence; The new multidimensional sensing data stream is compared with the four-dimensional spatiotemporal voxel model to obtain the static environment change area. Based on the newly added target dynamic trajectory sequence and the static environment change area, the update area is determined; The four-dimensional spatiotemporal voxel model is locally updated based on the updated region to obtain the target 4D spatial memory map.

[0012] In one embodiment, the step of spatiotemporally synchronizing environmental sensing data from multiple sources to obtain a multidimensional sensing data stream with a unified timestamp includes: Based on a high-precision clock source, the original image data acquired by the video sensor, the original thermal radiation data acquired by the infrared sensor, and the original point cloud data acquired by the lidar are time-stamped to obtain the time-stamped image frame sequence, thermal radiation frame sequence, and point cloud frame sequence. Based on the internal and external parameters of each sensor, the image frame sequence, the thermal radiation frame sequence, and the point cloud frame sequence are subjected to spatial coordinate system one to obtain spatially aligned data frames; The spatially aligned data frames are matched and packaged based on timestamps to obtain a multidimensional sensing data stream with a unified timestamp.

[0013] Furthermore, to achieve the above objectives, this application also proposes a 4D spatial memory mapping device for dynamic updates, which includes: The data synchronization module is used to perform spatiotemporal synchronization of environmental sensing data from multiple source sensors to obtain a multidimensional sensing data stream with a unified timestamp. The static mapping module is used to perform three-dimensional geometric reconstruction of static structures in the environment based on the multi-dimensional perception data stream to obtain a basic static map. The dynamic processing module is used to extract and track dynamic targets from the multidimensional sensing data stream to obtain a three-dimensional motion trajectory sequence of the dynamic targets. The spatiotemporal fusion module is used to generate a four-dimensional spatiotemporal voxel model of environmental state changes over time based on the basic static map and the three-dimensional motion trajectory sequence. The incremental update module is used to incrementally fuse the four-dimensional spatiotemporal voxel model based on the new multidimensional sensing data stream after receiving it, so as to obtain the target 4D spatial memory map.

[0014] Furthermore, to achieve the above objectives, this application also proposes a 4D spatial memory mapping device for dynamic updates, the 4D spatial memory mapping device for dynamic updates comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the 4D spatial memory mapping method for dynamic updates as described above.

[0015] In addition, to achieve the above objectives, the present invention also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of the dynamically updated 4D spatial memory mapping method described above.

[0016] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the dynamically updated 4D spatial memory mapping method described above.

[0017] This application provides a 4D spatial memory mapping method for dynamic updates. It achieves spatiotemporal synchronization of sensing data from multiple sensors, forming a multi-dimensional data stream with a unified timestamp. Based on this data stream, it performs 3D geometric reconstruction of static structures to generate a basic static map, and extracts and tracks dynamic targets to obtain 3D motion trajectory sequences. By fusing the static map and dynamic trajectories, a 4D voxel model describing the spatiotemporal evolution of the environment is constructed. After acquiring new data, the model is updated incrementally through fusion, enabling dynamic maintenance of the 4D spatial memory map. Through this approach, the method achieves unified representation and efficient updating of the changes in static structures and dynamic targets over time in complex environments, improving the continuity, completeness, and timeliness of environmental perception. Attached Figure Description

[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a flowchart illustrating an embodiment of the dynamically updated 4D spatial memory mapping method of this application. Figure 2 This is a schematic diagram of a local update of a spatiotemporal voxel model according to an embodiment of the dynamically updated 4D spatial memory mapping method of this application. Figure 3 This is a schematic diagram of the global process of an embodiment of the dynamically updated 4D spatial memory mapping method of this application; Figure 4 This is a schematic diagram of the module structure of a dynamically updated 4D spatial memory mapping device according to an embodiment of this application. Figure 5This is a schematic diagram of the device structure of the hardware operating environment involved in the dynamically updated 4D spatial memory mapping method in the embodiments of this application.

[0021] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0022] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0023] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0024] The main solution of this application embodiment is to perform spatiotemporal synchronization of environmental sensing data from multiple source sensors to obtain a multidimensional sensing data stream with a unified timestamp. Based on the multidimensional sensing data stream, a three-dimensional geometric reconstruction is performed on the static structure in the environment to obtain a basic static map; Dynamic target extraction and tracking are performed on the multidimensional sensing data stream to obtain a three-dimensional motion trajectory sequence of the dynamic target; Based on the basic static map and the three-dimensional motion trajectory sequence, a four-dimensional spatiotemporal voxel model of environmental state changes over time is generated. Upon receiving a new multidimensional sensing data stream, the four-dimensional spatiotemporal voxel model is incrementally fused based on the new multidimensional sensing data stream to obtain a target 4D spatial memory map.

[0025] In fields such as robot navigation, autonomous driving, and augmented reality, accurate and comprehensive perception and modeling of the environment are fundamental to achieving intelligent decision-making and interaction. Existing mapping technologies, such as Simultaneous Localization and Mapping (SLAM), primarily focus on building static 3D maps of the environment, making it difficult to effectively handle the dynamic changes prevalent in the real world. When moving objects such as pedestrians and vehicles are present in the environment, traditional methods typically treat them as noise and filter them out, resulting in maps that fail to reflect the true evolution of the environment. Furthermore, existing dynamic scene modeling methods often emphasize short-term target tracking and obstacle avoidance, lacking the ability to memorize and summarize long-term, periodic dynamic patterns of the environment, making it impossible for intelligent agents to predict the environmental state at future moments.

[0026] This application provides a solution that synchronizes the sensing data from multiple sensors in time and space to form a multi-dimensional data stream with a unified timestamp. Based on the data stream, it performs 3D geometric reconstruction of static structures to generate a basic static map, and extracts and tracks dynamic targets to obtain 3D motion trajectory sequences. The static map and dynamic trajectories are then fused to construct a 4D voxel model describing the spatiotemporal evolution of the environment. After acquiring new data, the model is updated incrementally through fusion, achieving dynamic maintenance of the 4D spatial memory map. Through this approach, the method can achieve a unified representation and efficient updating of the changes in static structures and dynamic targets over time in complex environments, improving the continuity, completeness, and timeliness of environmental perception.

[0027] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device capable of performing the above functions, such as a 4D spatial memory mapping device for dynamic updates, etc. This embodiment does not specifically limit it. The following uses a 4D spatial memory mapping device for dynamic updates as an example to describe this embodiment and the following embodiments.

[0028] This application provides a method for dynamically updated 4D spatial memory mapping, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the dynamically updated 4D spatial memory mapping method of this application.

[0029] In this embodiment, the 4D spatial memory mapping method for dynamic updates includes steps S10~S40: Step S10: Spatiotemporally synchronize the environmental perception data from multiple source sensors to obtain a multidimensional perception data stream with a unified timestamp.

[0030] It should be noted that multi-source sensors typically include LiDAR, cameras, infrared thermal imagers, etc., each providing different types of environmental perception data such as point clouds, images, and thermal radiation data. Spatiotemporal synchronization refers to unifying these heterogeneous data on timestamps and spatial coordinate systems through hardware triggering or software calibration, forming a data stream in which all information in a data packet corresponds to the same time and the same spatial reference, i.e., a multidimensional perception data stream.

[0031] In practical implementation, the first step is to use hardware synchronization or software synchronization based on a high-precision clock (such as the PTP protocol) to assign a unified timestamp to all sensor data. This ensures data alignment in the time dimension and resolves the time inconsistency caused by differences in sensor sampling frequencies and data processing delays. Subsequently, based on pre-calibrated extrinsic parameter matrices of each sensor relative to a master sensor (such as LiDAR), all sensing data is transformed into a unified coordinate system. For example, pixels in a camera image are mapped to the 3D space of the LiDAR point cloud through coordinate transformation, achieving spatial alignment. Finally, the system packages multiple spatially aligned data sets within the same time window (such as a point cloud frame, an image frame, and a thermal radiation frame) into a single data unit and arranges them into a continuous multidimensional sensing data stream in chronological order.

[0032] In one feasible implementation, the step of spatiotemporally synchronizing environmental sensing data from multiple sources to obtain a multidimensional sensing data stream with a unified timestamp includes: Based on a high-precision clock source, the original image data acquired by the video sensor, the original thermal radiation data acquired by the infrared sensor, and the original point cloud data acquired by the lidar are time-stamped to obtain the time-stamped image frame sequence, thermal radiation frame sequence, and point cloud frame sequence. Based on the internal and external parameters of each sensor, the image frame sequence, the thermal radiation frame sequence, and the point cloud frame sequence are subjected to spatial coordinate system one to obtain spatially aligned data frames; The spatially aligned data frames are matched and packaged based on timestamps to obtain a multidimensional sensing data stream with a unified timestamp.

[0033] It should be noted that a high-precision clock source refers to a hardware device that can provide a precise, stable, and consistent time reference, such as a GPS-disciplined crystal oscillator or a precision clock generator. Intrinsic and extrinsic parameters are calibration parameters describing the sensor's inherent characteristics and its spatial position. Intrinsic parameters include focal length, principal point coordinates, and lens distortion coefficients, while extrinsic parameters are the sensor's rotation matrix and translation vector relative to a common reference coordinate system. A spatial coordinate system refers to the process of transforming observation data from different sensors, originally existing in their respective independent coordinate systems, into a single world coordinate system through coordinate transformation.

[0034] In its implementation, during the timestamp calibration phase, the system connects to a high-precision clock source as a common time reference for all sensors. Each sensor, the instant it acquires a frame of data (such as an image or point cloud), immediately obtains a timestamp accurate to the microsecond level from this clock source and binds it to the data. This ensures that even if the acquisition frequencies and startup times of the various sensors differ, their data can be accurately sorted on a unified timeline. For example, a LiDAR might scan at a frequency of 10Hz, while a camera might expose at a frequency of 30Hz, but each frame of data has a precisely comparable absolute timestamp.

[0035] The spatial coordinate system transformation is then performed. This process relies on the extrinsic parameter matrix obtained from the pre-calibrated work on each sensor. The formula for spatial coordinate system transformation is expressed as follows:

[0036] in, The representative point has three-dimensional coordinates in the sensor's local coordinate system. It is The rotation matrix describes the orientation rotation from the sensor coordinate system to the world coordinate system. It is The translation vector describes the position of the origin of the sensor coordinate system in the world coordinate system. These are the coordinates of the transformed point in the world coordinate system. By applying this transformation to each point in the LiDAR point cloud and applying the same principle (through the camera model) to image pixels, all sensing data can be unified into the same world coordinate system, achieving spatial alignment.

[0037] Finally, based on a unified timestamp, the system matches all spatially aligned data frames within a very small time window (e.g., milliseconds) together and packages them into a single data packet. For example, it combines a point cloud frame, an image frame, and a thermal radiometry frame with the closest timestamps. This data packet constitutes a multidimensional sensing data stream unit with a unified timestamp.

[0038] Step S20: Based on the multidimensional perception data stream, perform three-dimensional geometric reconstruction of the static structure in the environment to obtain a basic static map.

[0039] It should be noted that static structures refer to long-term stable objects in the environment that do not move or deform, such as walls, floors, buildings, and fixed furniture. 3D geometric reconstruction refers to the process of generating a 3D model describing the surface contours and spatial positions of these static objects using spatiotemporal data collected by sensors and algorithms such as point cloud registration and surface reconstruction. A basic static map specifically refers to a 3D representation of the environment primarily or entirely composed of static structures. It does not include transiently existing dynamic objects and provides a stable and reliable reference frame for the system. A basic static map is a 3D geometric model of the environment constructed from sensor data, excluding temporary dynamic obstacles, and is typically represented by a grid or point cloud.

[0040] Understandably, the SLAM (Simultaneous Localization and Mapping) algorithm based on LiDAR point clouds is used as the core when constructing the basic static map. The system first extracts point cloud frames from the multi-dimensional perception data stream and uses Iterative Closest Point (ICP) or its variants to register the current frame with existing map point clouds, thereby accurately estimating the robot's pose changes. Subsequently, the registered point clouds are fused into the global map, and methods such as voxel filtering are used for noise reduction and simplification. To separate static structures from dynamic objects, the algorithm combines multi-frame observation data and removes point clouds corresponding to dynamic objects through point cloud comparison or semantic segmentation results based on camera images (such as identifying dynamic targets like pedestrians and vehicles). Finally, the accumulated static point clouds may be represented using patch meshing (such as Poisson reconstruction) or occupancy grids to generate an accurate, dense, and clean basic static 3D map.

[0041] In one feasible implementation, the step of performing three-dimensional geometric reconstruction of the static structure in the environment based on the multi-dimensional sensing data stream to obtain a basic static map includes: Continuous point cloud data at consecutive moments are extracted from the multidimensional sensing data stream, and the continuous point cloud data is registered and denoised to obtain a dense three-dimensional point cloud. The dense 3D point cloud is voxelized and its surface reconstructed to obtain an initial 3D mesh model; Extract image data at the corresponding time from the multidimensional sensing data stream, and extract texture information from the image data; The texture information is mapped onto the surface of the initial 3D mesh model to obtain a 3D texture model; Key structural features are extracted from the three-dimensional texture model to obtain a basic static map.

[0042] It should be noted that registration is the process of unifying point cloud data collected at different times and from different perspectives into the same coordinate system through rotation and translation transformations. Denoising is the process of eliminating outliers and noise data in the point cloud caused by sensor errors or environmental interference. Dense 3D point cloud refers to a dataset of points that, after fusion and cleaning, can densely and continuously cover the shape of an object's surface. Voxelization is the process of discretizing a continuous 3D space into uniform 3D mesh units. Surface reconstruction is the process of generating a continuous 3D curved surface mesh model based on discrete point cloud data. Texture information refers to surface visual features such as color and pattern extracted from images. Mapping is the process of projecting pixel color information from a 2D image onto the surface of a 3D model according to geometric correspondences. Key structural features refer to geometric or semantic elements in the environment that have recognizability and stability, such as wall edges, door and window outlines, and the edges of fixed equipment.

[0043] In the specific implementation, the continuous point cloud data is first processed. Registration typically employs the Iterative Closest Point (ICP) algorithm, which iteratively calculates the optimal rigid body transformation to minimize the distance between corresponding points in two point cloud datasets. The objective function can be expressed as:

[0044] in, These are points in the source point cloud. In the target point cloud Corresponding points It is a rotation matrix. It is a translation vector. Denoising often uses methods such as statistical filtering to remove outliers that are sparsely distributed in the neighborhood, thereby obtaining a high-quality 3D point cloud.

[0045] Next, 3D modeling is performed. Voxelization divides the point cloud space into a cubic grid with side length v. Surface reconstruction may use the Poisson reconstruction algorithm, which fits an indicator function by solving the Poisson equation; the isosurface of this function is the reconstructed surface. This process can be summarized as solving:

[0046] in, It is a vector field derived from point cloud data. It is the Laplace operator. It is a divergence operator, and the solution is a scalar function. The isosurface is the reconstructed mesh model.

[0047] Then, texture mapping is performed. The system uses camera calibration parameters to establish the projection relationship between image pixels and 3D mesh vertices. For each triangular facet on the mesh, by calculating the projection coordinates of its vertices on the image, the color information (texture) from the image is filled onto the facet through an affine transformation, thus giving the 3D model a realistic visual effect.

[0048] Finally, key structural features are extracted. Based on the texture model, three-dimensional edge detection algorithms (such as detection based on the change of normal vectors of adjacent mesh faces) and two-dimensional semantic information extracted from the image (such as door and window areas identified by neural networks) can be used to filter out stable and prominent geometric contours and semantic objects in the environment. These can then be stored as feature points, feature lines, or semantic labels in the basic static map, greatly enhancing the map's recognizability and practicality.

[0049] In one feasible implementation, the step of extracting key structural features from the three-dimensional texture model to obtain a basic static map includes: Planar and edge feature detection is performed on the three-dimensional texture model to obtain the key structural contours; Based on the key structural contours, the three-dimensional texture model is geometrically modified to obtain the basic shape of the map. Extract semantic information from the image data, and generate semantic tags based on the semantic information; By associating the semantic tags with the basic shape of the map, a basic static map is obtained.

[0050] It's important to note that planar and edge features are the most fundamental geometric elements in a 3D model. Planar features refer to large, flat areas on the model's surface, while edge features refer to the contour lines where two planes intersect or where surfaces undergo drastic changes. Key structural contours refer to the set of lines selected from the detected features that represent the main framework of the environment. Geometric trimming utilizes the detected precise contours to cut, complete, and smooth potentially rough or incomplete model surfaces reconstructed directly from point clouds, ensuring regular boundaries and accurate shapes. Semantic information refers to the higher-level meanings such as object categories and functions identified from images. Semantic labels are textual or symbolic identifiers assigned to specific geometric structures. Association is the process of establishing a binding relationship between semantic labels and corresponding geometric shapes in the map.

[0051] In practical implementation, plane and edge feature detection are the first steps. For plane detection, Random Sample Consensus (RANSAC) or region growing methods are commonly used. The RANSAC algorithm fits the optimal plane model by iteratively sampling a set of random points. Its goal is to find a plane containing the most interior points, and the plane equation can be expressed as:

[0052] in, It is the normal vector of the plane. It is a constant term. These are points in space that satisfy the equation. For edge detection, the change in the normal vector of the mesh vertex or the curvature value can be calculated; regions with high curvature usually correspond to edges. By setting a threshold, these key structural contours can be extracted.

[0053] Next, geometric refinement is performed. The initial mesh is optimized using extracted key contours (such as wall boundary lines) as constraints. This may involve constraint-based mesh cutting, i.e., dividing the mesh into different planar regions along detected edges. Simultaneously, these precise contours can be used to refit and straighten irregular boundaries, resulting in a well-defined, angular, and more realistically geometric base shape for the map.

[0054] Then, semantic information is extracted from the image data. This is achieved using a pre-trained deep neural network (such as the semantic segmentation model SegNet or DeepLab). The deep neural network performs pixel-level classification on the input image, assigning a semantic label to each pixel. Its output can be represented as a semantic segmentation map.

[0055] Finally, semantic labels are associated with the basic shape of the map. Using a camera imaging model, the semantic segmentation results from the image are back-projected onto the corresponding surface of the basic 3D map shape. For example, a pixel region identified as a "window" will have its corresponding 3D mesh patch assigned the semantic label "window." This association ensures that the basic static map not only contains geometric information but also rich semantic information, achieving an upgrade from a simple "shape map" to an understandable "semantic map."

[0056] Step S30: Dynamic target extraction and tracking are performed on the multidimensional sensing data stream to obtain a three-dimensional motion trajectory sequence of the dynamic target.

[0057] It should be noted that dynamic targets refer to objects in the environment that move relative to static structures, such as pedestrians and vehicles. Dynamic target extraction is the process of separating and identifying these moving objects from the static background from multidimensional sensor data. Tracking refers to continuously locating the same dynamic target across a continuous time series and establishing its identity association. A three-dimensional motion trajectory sequence refers to an ordered sequence of position points formed by the change of the three-dimensional spatial position of a dynamic target over a period of time.

[0058] Understandably, the process begins with fusion sensing using LiDAR point clouds and camera images. A 3D target detection algorithm (such as PointRCNN) or a fusion of 2D image detection results and point cloud clustering is employed to identify and locate dynamic targets in the environment in real time, obtaining their 3D bounding boxes. Subsequently, a multi-target tracking algorithm (such as the SORT / DeepSORT framework based on Kalman filtering or the Hungarian algorithm) is used for data association and state estimation. Specifically, the Kalman filter predicts the target's position in the next frame, and then the Hungarian algorithm optimally matches the prediction with the actual detection results of the current frame, thereby associating the same target's identity ID across different frames and smoothing out temporary loss due to occlusion. Finally, a 3D coordinate system with consecutive timestamps is output for each successfully tracked dynamic target. A high-precision motion trajectory sequence is formed.

[0059] In one feasible implementation, the step of dynamically extracting and tracking the multidimensional sensing data stream to obtain a three-dimensional motion trajectory sequence of the dynamic target includes: Continuous image frames are extracted from the multidimensional sensing data stream, and differential processing is performed on the continuous image frames to obtain potential motion regions; The point cloud data corresponding to the time of the consecutive image frames is determined, and the potential motion region is subjected to three-dimensional point cloud clustering and segmentation to obtain candidate dynamic target point cloud clusters. Determine the thermal radiation data in the multidimensional sensing data stream, perform thermal feature analysis on the candidate dynamic target point cloud cluster based on the thermal radiation data, and obtain the dynamic target type of the dynamic target; Under continuous timestamps, the position information of the dynamic target in three-dimensional space is associated with the dynamic target type, and the position information is smoothed to obtain the three-dimensional motion trajectory sequence of the dynamic target.

[0060] It should be noted that differential processing is a method for detecting changing regions in an image by calculating the differences in pixel intensity between consecutive image frames. A potential motion region refers to a two-dimensional image region identified through differential processing that may contain moving objects. 3D point cloud clustering and segmentation is the process of grouping points belonging to the same object into an independent set based on the spatial distribution characteristics of the point cloud. Thermal radiation data refers to information captured by infrared sensors that reflects the temperature distribution of an object's surface. Thermal feature analysis is the process of inferring the category attributes of a target by analyzing its thermal radiation patterns. Dynamic target type is the classification of dynamic targets (such as vehicles, pedestrians, and animals) based on information such as thermal features. Smoothing is the process of using filtering algorithms to process noisy raw position data to obtain a more stable trajectory that better conforms to physical laws.

[0061] In practical implementation, the first step is to extract potential motion regions from consecutive image frames. One method is the inter-frame difference method, which extracts motion regions by calculating the absolute difference in grayscale values ​​of corresponding pixels in two adjacent frames and comparing it to a set threshold. Its mathematical expression is:

[0062]

[0063] in, and Representing time respectively and Image in pixel coordinates The grayscale value at that location. It is a difference image. It is a preset threshold. It is the generated binary motion mask, and the region with a value of 1 is the potential motion region.

[0064] Next, 3D point cloud clustering and segmentation are performed. The system utilizes the calibration parameters of the camera and LiDAR to project potential motion regions detected in the image onto the corresponding 3D point cloud, forming a 3D search space. Within this space, a clustering algorithm (such as Euclidean clustering) is used to segment the point cloud. This algorithm is based on the Euclidean distance between points, segmenting points with distances less than a threshold. The points are grouped into the same cluster, thus separating the candidate dynamic target point cloud clusters.

[0065] Then, thermal feature analysis is performed based on the thermal radiation data to identify the target type. Each candidate dynamic target point cloud cluster corresponds to a region of thermal radiation data. By analyzing the thermal characteristics of this region (such as average temperature, temperature distribution variance, and shape of high-temperature areas), and combining this with predefined classification rules or machine learning models, the type of dynamic target can be determined. For example, the thermal profile and average body temperature of pedestrians are usually significantly different from those of vehicles.

[0066] Finally, trajectory generation and smoothing are performed. Using continuous timestamps, data association algorithms (such as nearest neighbor association) are used to match the positions of dynamic targets of the same type at different times. For each successfully tracked target, its original position sequence is generated. (in It may contain measurement noise. Therefore, smoothing algorithms such as the Kalman filter are often used to combine motion model predictions and actual observations to output a smoother and more reliable three-dimensional motion trajectory sequence. .

[0067] In one feasible implementation, the dynamic target type includes living organisms and non-living organisms. The step of determining the thermal radiation data in the multidimensional sensing data stream, and performing thermal feature analysis on the candidate dynamic target point cloud clusters based on the thermal radiation data to obtain the dynamic target type of the dynamic target includes: Determine the thermal radiation data in the multidimensional sensing data stream, and extract thermal features from the thermal radiation data corresponding to the candidate dynamic target point cloud cluster to obtain thermal radiation intensity distribution data; The matching degree is obtained by matching the thermal radiation intensity distribution data with the thermal radiation patterns of typical living organisms. When the matching degree is greater than the first threshold, the dynamic target is identified as a living organism, and the living organism is classified according to the thermal radiation intensity distribution data to obtain the living organism type; When the matching degree is less than the second threshold, the dynamic target is identified as a non-living object, and the non-living object is classified according to the thermal radiation intensity distribution data to obtain the non-living object type.

[0068] It should be noted that "living organism type" refers to dynamic target categories with metabolic and thermoregulatory capabilities, such as humans and dogs. "Non-living organism type" refers to dynamic target categories without autonomous life characteristics, such as vehicles and robots. Thermal radiation intensity distribution data refers to the spatial distribution of infrared radiation intensity at various points on the target surface. Typical living organism thermal radiation patterns are models pre-established based on the isothermal characteristics of living organisms, characterizing their typical surface temperature distribution. The matching degree is a numerical indicator that quantifies the similarity between the thermal radiation pattern of the target and the thermal pattern of a typical living organism. The first threshold and the second threshold are critical values ​​used for decision-making; typically, the first threshold is greater than the second threshold to form a clear classification boundary within the matching degree range.

[0069] In the specific implementation, thermal feature extraction is performed first. The system maps the three-dimensional coordinates of the candidate dynamic target point cloud clusters onto the synchronously acquired thermal radiation data, extracts the thermal radiation intensity value corresponding to each pixel or point cloud within that region, and forms a dataset describing the temperature distribution of the target surface. This dataset can be represented as a function of thermal radiation values ​​with respect to spatial location, or simplified as a statistical histogram. ,in This represents a range of temperature or radiation intensity.

[0070] Next, matching calculations are performed. The extracted thermal radiation intensity distribution data is compared with a pre-established template of typical living organism thermal radiation patterns. Matching calculations can be performed using methods that calculate distribution similarity, such as the histogram intersection method.

[0071] in, The candidate dynamic target is in the first Normalized statistical values ​​for each temperature range These are normalized statistical values ​​of typical life form templates within the same interval. This is the calculated matching score, and its value range is... The higher the value, the higher the similarity.

[0072] Finally, decisions and classifications are made based on the matching degree. The system sets two thresholds. (First threshold) and (Second threshold), and When the matching degree When the target is identified as a living organism, a classifier (such as an SVM classifier based on body temperature range and thermal profile shape features) is used to refine it into a specific life form type (e.g., "adult" or "pet"). When the matching degree... When the target is determined to be a non-living entity, it is classified based on its thermal characteristics (such as overall temperature and uniformity of heat source distribution) (e.g., "fuel-powered vehicle" or "electric vehicle"). When the value falls between the two thresholds, the target can be marked as "type pending" and treated specially.

[0073] Step S40: Based on the basic static map and the three-dimensional motion trajectory sequence, generate a four-dimensional spatiotemporal voxel model of the environmental state changing over time.

[0074] It should be noted that the four-dimensional spatiotemporal voxel model is a data structure that discretizes three-dimensional space into voxels (three-dimensional pixels) and introduces a time dimension, used to comprehensively represent the state evolution of static environments and dynamic targets in spatiotemporal space.

[0075] Understandably, the basic static map is first discretized into a fixed-resolution 3D voxel grid, with each voxel storing its occupancy status (e.g., idle, occupied, unknown) and static attributes. For dynamic information, the system discretizes the acquired 3D motion trajectory sequence into equally spaced time slices along the time axis. On each slice corresponding to a timestamp, the corresponding spatiotemporal voxel is marked based on the 3D bounding box position of the dynamic target at that moment, recording its occupancy status and dynamic attributes such as the target's ID, type, and motion vector. By integrating the data from all time slices, a coverage space is finally formed. A four-dimensional voxel model with time (T). This model can be viewed as a stack of voxel sequences on the time axis, enabling efficient querying and analysis of the state (static structure or dynamic object) of the environment at any spatiotemporal coordinate (x, y, z, t).

[0076] In one feasible implementation, the step of generating a four-dimensional spatiotemporal voxel model of environmental state changes over time based on the basic static map and the three-dimensional motion trajectory sequence includes: The basic static map is discretized into a three-dimensional voxel mesh; Divide the time dimension into equally spaced time slices; Determine the position information of each dynamic target in the three-dimensional motion trajectory sequence; The location information is mapped to voxels in the three-dimensional voxel grid corresponding to the time slice, and dynamic attribute information is added to the voxels to obtain a three-dimensional voxel network slice. The three-dimensional voxel network slices are superimposed and integrated in chronological order to obtain an initial four-dimensional spatiotemporal voxel model. The initial four-dimensional spatiotemporal voxel model is repaired by void repair to obtain a four-dimensional spatiotemporal voxel model.

[0077] It should be noted that a 3D voxel mesh is a discretized representation formed by dividing 3D space into regular and uniform cubic units along the X, Y, and Z axes. A time slice discretizes a continuous time axis into a series of equally spaced instants or short time intervals, each instant or time interval being called a slice. Position information refers to the coordinates and attitude of a dynamic target in 3D space at a specific point in time. Dynamic attribute information is metadata labeled on voxels that describes the dynamic state, such as target ID, type, velocity vector, etc. A 3D voxel network slice is a 3D voxel mesh instance containing static occupancy information and dynamic attribute information for a specific time slice. The initial 4D spatiotemporal voxel model is the original 4D dataset composed of the 3D voxel network slices corresponding to all time slices arranged in chronological order. Hole repair is a post-processing procedure that fills in and completes spatiotemporal data gaps in the initial model caused by perceptual occlusion or data loss using interpolation or inference.

[0078] In the specific implementation, firstly, spatial and temporal discretization is performed. The three-dimensional spatial range covered by the basic static map is divided into cubic voxels with side length r, generating a fixed three-dimensional voxel mesh. At the same time, the total observation time will be... At fixed intervals Divide into, and obtain The first time slice, the... The time points corresponding to each time slice are ( from arrive ).

[0079] Next, a three-dimensional voxel network slice is generated for each time slice. For the th time slice... In each time slice, the system first fills the voxel grid with the occupancy information of the static map. This forms the background. Then, all dynamic targets are acquired. Positional information at any given time (usually represented by a 3D bounding box or centroid). Using a spatial mapping function, the spatial region occupied by each dynamic target (i.e., all voxels within its bounding box) is marked as dynamically occupied, and these voxels are then mapped... Add dynamic attribute information It can be represented as a tuple. This yields the three-dimensional voxel network slice of that time slice. .

[0080] Then, an initial model is formed by overlaying and integrating all time slices. Stacked in chronological order, they form a four-dimensional tensor. Its dimensions are ,in This tensor This is the initial four-dimensional spatiotemporal voxel model, which records each spatiotemporal unit ( The state of ).

[0081] Finally, void repair is performed. This is due to sensor obstruction or tracking loss. The trajectories of some dynamic targets may be interrupted, forming holes in the spatiotemporal volume. Repair algorithms detect these holes and fill them based on spatiotemporal continuity. For example, for a trajectory where time... arrive Data lost between points can be recovered using the timeframes before and after it. and Known location and Linear interpolation is used to estimate each time point within the missing period. Location :

[0082] in, It is obtained by interpolation in time. The position vector. This method is used to complete the occupancy information of the dynamic target for each missing time slice, ultimately resulting in a complete and continuous four-dimensional spatiotemporal voxel model. .

[0083] In one feasible implementation, after the step of repairing the holes in the initial four-dimensional spatiotemporal voxel model to obtain the four-dimensional spatiotemporal voxel model, the method further includes: The observation data within the preset observation period of the four-dimensional spatiotemporal voxel model are analyzed to identify the periodically occupied spatial regions. Determine the frequency and duration of occupancy of the space region; The occupancy frequency and duration are used as occupancy pattern attributes of the spatial region, and the corresponding voxels in the four-dimensional spatiotemporal voxel model are updated based on the occupancy pattern attributes.

[0084] It should be noted that the preset observation period refers to a continuous time period, such as one day or one week, set for analyzing space occupancy patterns. The periodically occupied space area is the physical space range that is repeatedly occupied according to a certain time pattern within the preset observation period. Occupancy frequency is the number of times a space area is occupied or the periodic repetition rate within the preset observation period. Duration is the length of time a space area is continuously occupied in a single occupancy event. Occupancy pattern attributes are a set of features used to describe the pattern of space area occupancy, including frequency, duration, and occurrence time.

[0085] In the specific implementation, periodic region identification first identifies each spatial voxel in the time dimension ( The occupancy status sequence of voxels is analyzed. For a preset observation period T (e.g., 24 hours), the occupancy status of voxels can be regarded as a time series. Periodic signals in a sequence can be detected through frequency domain transformation (such as Fast Fourier Transform, FFT) or time domain autocorrelation analysis.

[0086]

[0087] in It is voxels in time The occupancy state (e.g., 0 / 1), FFT is the Fast Fourier Transform. It is frequency The corresponding power spectral density value. At a certain frequency The power spectral density value exceeds the threshold. At that time, it was believed that the voxel existed with A periodic occupancy mode.

[0088] For the identified periodic regions, their occupancy characteristics are further quantified. The occupancy frequency F is calculated as follows:

[0089] in This represents the number of complete occupied periods within the observation period T. Duration analysis then calculates the average duration of each occupied event.

[0090] in It is the duration of a single use. It represents the total number of events occupied.

[0091] Finally, the obtained occupancy pattern attribute (frequency) Average duration (etc.) are associated as new metadata with the corresponding voxels in the four-dimensional spatiotemporal voxel model. These attributes can be used to predict future occupancy probabilities:

[0092] in Indicates the period Time position within, function Calculated based on historical patterns The occupancy probability at any given time. The model improves its ability to predict the future by adapting historical observations in this way. The corresponding voxels in the four-dimensional spatiotemporal voxel model are updated based on the occupancy pattern attribute.

[0093] Step S50: After receiving a new multidimensional sensing data stream, incremental fusion is performed on the four-dimensional spatiotemporal voxel model based on the new multidimensional sensing data stream to obtain the target 4D spatial memory map.

[0094] It should be noted that the target 4D spatial memory map is a four-dimensional spatiotemporal model that is built through continuous learning and integrates the static structure of the environment, the dynamic historical trajectory of the target, and long-term spatiotemporal semantic patterns (such as periodicity).

[0095] Understandably, the system first performs time synchronization, coordinate registration, and feature extraction on the newly arrived multidimensional sensing data stream, separating point cloud fragments describing static environmental changes from the motion trajectories of dynamic targets. Subsequently, for static environment updates, the system converts the new point cloud data into a current-moment observation voxel grid and, using Bayesian update rules or TSDF fusion algorithms, updates only the voxel occupancy probability or distance field values ​​of affected areas in the four-dimensional spatiotemporal voxel model, thus efficiently correcting the map without global reconstruction. For dynamic information, data association algorithms (such as nearest neighbor matching) are used to associate new trajectories with existing trajectories in the model, and filtering algorithms (such as Kalman filtering) are used to smooth and expand the trajectories, while simultaneously updating dynamic attributes such as target velocity and frequency of occurrence. Finally, the system manages historical data based on a sliding time window mechanism, ensuring that the target's 4D spatial memory map reflects the latest environmental state in real time while preserving valuable long-term spatiotemporal patterns.

[0096] In one feasible implementation, the step of incrementally fusing the four-dimensional spatiotemporal voxel model based on the new multidimensional sensing data stream after receiving the new multidimensional sensing data stream to obtain the target 4D spatial memory map includes: After receiving a new multidimensional sensing data stream, dynamic target extraction and tracking are performed on the new multidimensional sensing data stream to obtain a new target dynamic trajectory sequence; The new multidimensional sensing data stream is compared with the four-dimensional spatiotemporal voxel model to obtain the static environment change area. Based on the newly added target dynamic trajectory sequence and the static environment change area, the update area is determined; The four-dimensional spatiotemporal voxel model is locally updated based on the updated region to obtain the target 4D spatial memory map.

[0097] It should be noted that dynamic target extraction and tracking is the process of identifying independently moving objects such as vehicles and pedestrians from continuous multi-dimensional sensor data and associating their positions across time frames to form trajectories. A target dynamic trajectory sequence is a continuous record of the spatial position (set of coordinate points) of a dynamic target over a period of time. The static environment change region refers to the local spatial range in which stationary objects (such as roadblocks or parked vehicles) in the scene have been added, disappeared, or their shapes have changed compared to the historical model. The update region is the spatiotemporal range in which data modification of the four-dimensional spatiotemporal voxel model is required, and it is jointly determined by the spatial voxels involved in the dynamic trajectory and the static change region.

[0098] In the specific implementation, refer to Figure 2 Dynamic target extraction first uses background subtraction or deep learning detectors (such as YOLO and PointPillars) to separate potential dynamic targets from the current frame's point cloud or image, and assigns a temporary ID to each target. Then, multi-target tracking algorithms (such as SORT and DeepSort) are used to perform inter-frame correlation to form a trajectory sequence.

[0099]

[0100] Where id is the target unique identifier. The target is at the timestamp The three-dimensional center coordinates, It is the time window covered by the current data stream.

[0101] Static environment change detection compares the occupancy point cloud of the current frame with the four-dimensional spatiotemporal voxel model at the most recent moment. Static occupancy is achieved. A common method is voxel-level difference calculation.

[0102]

[0103] in, It is the static point cloud of the current frame after removing dynamic targets. Is the model in A static map of time. It is a point cloud voxelization operation. This represents the symmetric difference operation, used to find the sets of newly added and disappeared voxels. .

[0104] Update area It consists of the spatiotemporal union of voxels occupied by dynamic trajectories and voxels with static changes.

[0105]

[0106] in, All newly added tracks The set of voxels covered in space, It refers to the specific time interval affected by the current update operation.

[0107] During the partial update phase, for For each voxel within the voxel, its properties are updated based on new observation data. For static voxels, their occupancy probability is corrected using a Bayesian update rule.

[0108]

[0109] in, It integrates current observations The probability of occupancy after that, It is the prior probability. This is the observation model. For voxels involved in the dynamic trajectory, information such as target ID and velocity is written or updated in the attribute layer at the corresponding timestamp t, completing the incremental construction of the target's 4D spatial memory map.

[0110] This embodiment provides a 4D spatial memory mapping method for dynamic updates. It achieves spatiotemporal synchronization of sensor data from multiple sources, forming a multi-dimensional data stream with a unified timestamp. Based on this data stream, it performs 3D geometric reconstruction of static structures to generate a basic static map, and extracts and tracks dynamic targets to obtain 3D motion trajectory sequences. By fusing the static map and dynamic trajectories, it constructs a 4D voxel model describing the spatiotemporal evolution of the environment. After acquiring new data, it incrementally updates the model through fusion, achieving dynamic maintenance of the 4D spatial memory map. Through this approach, the method can achieve unified representation and efficient updating of static structures and dynamic targets in complex environments over time, improving the continuity, completeness, and timeliness of environmental perception.

[0111] For example, to help understand the implementation process of the 4D spatial memory mapping method for dynamic updates obtained in this embodiment in conjunction with the above embodiments, please refer to... Figure 3 , Figure 3A simplified flowchart of a 4D spatial memory mapping method for dynamic updates is provided. Specifically, the new data stream containing dynamic vehicles and static buildings is semantically segmented and then split. One stream extracts dynamic targets and performs multi-target correlation tracking to generate new trajectory lines with arrows pointing to them. The other stream compares the static background with the existing historical 4D model (voxel mesh and historical trajectory) voxel by voxel to accurately identify static change areas such as new roadblocks. In the fusion and update stage, the system inputs the newly generated dynamic trajectory, the detected static change information, and the original historical 4D model into the fusion engine, and finally outputs the target 4D spatial memory map. This map follows the incremental update principle, and without destroying the original historical information, it uses highlight colors to significantly integrate the dynamic trajectory and add voxels of the changed areas, thus fully realizing the closed-loop process from data input to dynamic map update.

[0112] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the 4D spatial memory mapping method for dynamic updates in this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0113] This application also provides a 4D spatial memory mapping device for dynamic updates, please refer to... Figure 4 The 4D spatial memory mapping device for dynamic updates includes: The data synchronization module 10 is used to perform spatiotemporal synchronization of environmental sensing data from multiple source sensors to obtain a multidimensional sensing data stream with a unified timestamp. The static mapping module 20 is used to perform three-dimensional geometric reconstruction of static structures in the environment based on the multi-dimensional perception data stream to obtain a basic static map. The dynamic processing module 30 is used to extract and track dynamic targets from the multidimensional sensing data stream to obtain a three-dimensional motion trajectory sequence of the dynamic targets. The spatiotemporal fusion module 40 is used to generate a four-dimensional spatiotemporal voxel model of environmental state changes over time based on the basic static map and the three-dimensional motion trajectory sequence. The incremental update module 50 is used to incrementally fuse the four-dimensional spatiotemporal voxel model based on the new multidimensional sensing data stream after receiving the new multidimensional sensing data stream, so as to obtain the target 4D spatial memory map.

[0114] In one feasible implementation, the static mapping module 20 is further configured to extract continuous point cloud data at continuous time intervals from the multidimensional sensing data stream, and perform registration and denoising processing on the continuous point cloud data to obtain a dense three-dimensional point cloud. The dense 3D point cloud is voxelized and its surface reconstructed to obtain an initial 3D mesh model; Extract image data at the corresponding time from the multidimensional sensing data stream, and extract texture information from the image data; The texture information is mapped onto the surface of the initial 3D mesh model to obtain a 3D texture model; Key structural features are extracted from the three-dimensional texture model to obtain a basic static map.

[0115] In one feasible implementation, the static mapping module 20 is further used to perform planar and edge feature detection on the three-dimensional texture model to obtain key structural contours; Based on the key structural contours, the three-dimensional texture model is geometrically modified to obtain the basic shape of the map. Extract semantic information from the image data, and generate semantic tags based on the semantic information; By associating the semantic tags with the basic shape of the map, a basic static map is obtained.

[0116] In one feasible implementation, the dynamic processing module 30 is further configured to extract continuous image frames from the multidimensional sensing data stream, perform differential processing on the continuous image frames, and obtain potential motion regions. The point cloud data corresponding to the time of the consecutive image frames is determined, and the potential motion region is subjected to three-dimensional point cloud clustering and segmentation to obtain candidate dynamic target point cloud clusters. Determine the thermal radiation data in the multidimensional sensing data stream, perform thermal feature analysis on the candidate dynamic target point cloud cluster based on the thermal radiation data, and obtain the dynamic target type of the dynamic target; Under continuous timestamps, the position information of the dynamic target in three-dimensional space is associated with the dynamic target type, and the position information is smoothed to obtain the three-dimensional motion trajectory sequence of the dynamic target.

[0117] In one feasible implementation, the dynamic processing module 30 is further configured to determine the thermal radiation data in the multidimensional sensing data stream, and extract the thermal features of the thermal radiation data corresponding to the candidate dynamic target point cloud cluster to obtain thermal radiation intensity distribution data. The matching degree is obtained by matching the thermal radiation intensity distribution data with the thermal radiation patterns of typical living organisms. When the matching degree is greater than the first threshold, the dynamic target is identified as a living organism, and the living organism is classified according to the thermal radiation intensity distribution data to obtain the living organism type; When the matching degree is less than the second threshold, the dynamic target is identified as a non-living object, and the non-living object is classified according to the thermal radiation intensity distribution data to obtain the non-living object type.

[0118] In one feasible implementation, the spatiotemporal fusion module 40 is further configured to discretize the basic static map into a three-dimensional voxel grid. Divide the time dimension into equally spaced time slices; Determine the position information of each dynamic target in the three-dimensional motion trajectory sequence; The location information is mapped to voxels in the three-dimensional voxel grid corresponding to the time slice, and dynamic attribute information is added to the voxels to obtain a three-dimensional voxel network slice. The three-dimensional voxel network slices are superimposed and integrated in chronological order to obtain an initial four-dimensional spatiotemporal voxel model. The initial four-dimensional spatiotemporal voxel model is repaired by void repair to obtain a four-dimensional spatiotemporal voxel model.

[0119] In one feasible implementation, the spatiotemporal fusion module 40 is further used to analyze the observation data within a preset observation period of the four-dimensional spatiotemporal voxel model and identify the periodically occupied spatial regions. Determine the frequency and duration of occupancy of the space region; The occupancy frequency and duration are used as occupancy pattern attributes of the spatial region, and the corresponding voxels in the four-dimensional spatiotemporal voxel model are updated based on the occupancy pattern attributes.

[0120] In one feasible implementation, the incremental update module 50 is further configured to perform dynamic target extraction and tracking on the new multidimensional sensing data stream after receiving the new multidimensional sensing data stream, so as to obtain a newly added target dynamic trajectory sequence. The new multidimensional sensing data stream is compared with the four-dimensional spatiotemporal voxel model to obtain the static environment change area. Based on the newly added target dynamic trajectory sequence and the static environment change area, the update area is determined; The four-dimensional spatiotemporal voxel model is locally updated based on the updated region to obtain the target 4D spatial memory map.

[0121] In one feasible implementation, the data synchronization module 10 is further used to timestamp the original image data collected by the video sensor, the original thermal radiation data collected by the infrared sensor, and the original point cloud data collected by the lidar based on a high-precision clock source, so as to obtain the time-stamped image frame sequence, thermal radiation frame sequence, and point cloud frame sequence. Based on the internal and external parameters of each sensor, the image frame sequence, the thermal radiation frame sequence, and the point cloud frame sequence are subjected to spatial coordinate system one to obtain spatially aligned data frames; The spatially aligned data frames are matched and packaged based on timestamps to obtain a multidimensional sensing data stream with a unified timestamp.

[0122] The 4D spatial memory mapping device for dynamic updates provided in this application employs the 4D spatial memory mapping method for dynamic updates described in the above embodiments, which can solve the technical problem of difficulty in uniformly modeling and real-time updating dynamic environments. Compared with the prior art, the beneficial effects of the 4D spatial memory mapping device for dynamic updates provided in this application are the same as those of the 4D spatial memory mapping method for dynamic updates provided in the above embodiments, and other technical features in the 4D spatial memory mapping device for dynamic updates are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0123] This application provides a 4D spatial memory mapping device for dynamic updates. The 4D spatial memory mapping device for dynamic updates includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the 4D spatial memory mapping method for dynamic updates in the first embodiment described above.

[0124] The following is for reference. Figure 5 This document illustrates a structural schematic diagram of a dynamically updated 4D spatial memory mapping device suitable for implementing embodiments of this application. The dynamically updated 4D spatial memory mapping device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, tablets, digital broadcast receivers, PDAs (Personal Digital Assistants), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The illustrated 4D spatial memory mapping device for dynamic updates is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0125] like Figure 5As shown, a dynamically updated 4D spatial memory mapping device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes based on programs stored in ROM (Read Only Memory) 1002 or programs loaded from storage device 1003 into RAM (Random Access Memory) 1004. RAM 1004 also stores various programs and data required for the operation of the dynamically updated 4D spatial memory mapping device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via bus 1005. Input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, LCDs (Liquid Crystal Displays), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the dynamically updated 4D spatial memory mapping device to exchange data with other devices wirelessly or via wired communication. Although the figure shows a dynamically updated 4D spatial memory mapping device with various systems, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems can be implemented alternatively.

[0126] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0127] The 4D spatial memory mapping device for dynamic updates provided in this application employs the 4D spatial memory mapping method for dynamic updates described in the above embodiments, and can solve the technical problems of 4D spatial memory mapping for dynamic updates. Compared with the prior art, the beneficial effects of the 4D spatial memory mapping device for dynamic updates provided in this application are the same as the beneficial effects of the 4D spatial memory mapping method for dynamic updates provided in the above embodiments, and other technical features in this 4D spatial memory mapping device for dynamic updates are the same as those disclosed in the method of the previous embodiment, and will not be repeated here.

[0128] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0129] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0130] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the dynamically updated 4D spatial memory mapping method in the above embodiments.

[0131] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, RAM (Random Access Memory), ROM (Read Only Memory), EPROM (Erasable Programmable Read Only Memory or Flash Memory), optical fibers, CD-ROM (CD-Read Only Memory), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0132] The aforementioned computer-readable storage medium may be included in a dynamically updated 4D spatial memory mapping device; or it may exist independently and not be assembled into a dynamically updated 4D spatial memory mapping device.

[0133] The aforementioned computer-readable storage medium carries one or more programs that, when executed by a dynamically updated 4D spatial memory mapping device, cause the dynamically updated 4D spatial memory mapping device to: perform spatiotemporal synchronization of environmental perception data from multiple source sensors to obtain a multidimensional perception data stream with a unified timestamp; Based on the multidimensional sensing data stream, a three-dimensional geometric reconstruction is performed on the static structure in the environment to obtain a basic static map; Dynamic target extraction and tracking are performed on the multidimensional sensing data stream to obtain a three-dimensional motion trajectory sequence of the dynamic target; Based on the basic static map and the three-dimensional motion trajectory sequence, a four-dimensional spatiotemporal voxel model of environmental state changes over time is generated. Upon receiving a new multidimensional sensing data stream, the four-dimensional spatiotemporal voxel model is incrementally fused based on the new multidimensional sensing data stream to obtain a target 4D spatial memory map.

[0134] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including LAN (Local Area Network) or WAN (Wide Area Network)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0135] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0136] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0137] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described 4D spatial memory mapping method for dynamic updates, thereby solving the technical problem of 4D spatial memory mapping for dynamic updates. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the 4D spatial memory mapping method for dynamic updates provided in the above embodiments, and will not be repeated here.

[0138] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the dynamically updated 4D spatial memory mapping method described above.

[0139] The computer program product provided in this application can solve the technical problem of difficulty in unified modeling and real-time updating of dynamic environments. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the 4D spatial memory mapping method for dynamic updates provided in the above embodiments, and will not be repeated here.

[0140] The above are only some embodiments of this application and do not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method for dynamically updated 4D spatial memory mapping, characterized in that, The 4D spatial memory mapping method for dynamic updates includes: Spatiotemporal synchronization of environmental sensing data from multiple sources is performed to obtain a multidimensional sensing data stream with a unified timestamp. Based on the multidimensional sensing data stream, a three-dimensional geometric reconstruction is performed on the static structure in the environment to obtain a basic static map; Dynamic target extraction and tracking are performed on the multidimensional sensing data stream to obtain a three-dimensional motion trajectory sequence of the dynamic target; Based on the basic static map and the three-dimensional motion trajectory sequence, a four-dimensional spatiotemporal voxel model of environmental state changes over time is generated. Upon receiving a new multidimensional sensing data stream, the four-dimensional spatiotemporal voxel model is incrementally fused based on the new multidimensional sensing data stream to obtain a target 4D spatial memory map.

2. The method as described in claim 1, characterized in that, The step of performing three-dimensional geometric reconstruction of the static structure in the environment based on the multi-dimensional sensing data stream to obtain a basic static map includes: Continuous point cloud data at consecutive moments are extracted from the multidimensional sensing data stream, and the continuous point cloud data is registered and denoised to obtain a dense three-dimensional point cloud. The dense 3D point cloud is voxelized and its surface reconstructed to obtain an initial 3D mesh model; Extract image data at the corresponding time from the multidimensional sensing data stream, and extract texture information from the image data; The texture information is mapped onto the surface of the initial 3D mesh model to obtain a 3D texture model; Key structural features are extracted from the three-dimensional texture model to obtain a basic static map.

3. The method as described in claim 2, characterized in that, The step of extracting key structural features from the three-dimensional texture model to obtain a basic static map includes: Planar and edge feature detection is performed on the three-dimensional texture model to obtain the key structural contours; Based on the key structural contours, the three-dimensional texture model is geometrically modified to obtain the basic shape of the map. Extract semantic information from the image data, and generate semantic tags based on the semantic information; By associating the semantic tags with the basic shape of the map, a basic static map is obtained.

4. The method as described in claim 1, characterized in that, The steps of dynamically extracting and tracking the multidimensional sensing data stream to obtain a three-dimensional motion trajectory sequence of the dynamic target include: Continuous image frames are extracted from the multidimensional sensing data stream, and differential processing is performed on the continuous image frames to obtain potential motion regions; The point cloud data corresponding to the time of the consecutive image frames is determined, and the potential motion region is subjected to three-dimensional point cloud clustering and segmentation to obtain candidate dynamic target point cloud clusters. Determine the thermal radiation data in the multidimensional sensing data stream, perform thermal feature analysis on the candidate dynamic target point cloud cluster based on the thermal radiation data, and obtain the dynamic target type of the dynamic target; Under continuous timestamps, the position information of the dynamic target in three-dimensional space is associated with the dynamic target type, and the position information is smoothed to obtain the three-dimensional motion trajectory sequence of the dynamic target.

5. The method as described in claim 4, characterized in that, The dynamic target type includes living organisms and non-living organisms. The step of determining the thermal radiation data in the multidimensional sensing data stream, and performing thermal feature analysis on the candidate dynamic target point cloud clusters based on the thermal radiation data to obtain the dynamic target type of the dynamic target includes: Determine the thermal radiation data in the multidimensional sensing data stream, and extract thermal features from the thermal radiation data corresponding to the candidate dynamic target point cloud cluster to obtain thermal radiation intensity distribution data; The matching degree is obtained by matching the thermal radiation intensity distribution data with the thermal radiation patterns of typical living organisms. When the matching degree is greater than the first threshold, the dynamic target is identified as a living organism, and the living organism is classified according to the thermal radiation intensity distribution data to obtain the living organism type; When the matching degree is less than the second threshold, the dynamic target is identified as a non-living object, and the non-living object is classified according to the thermal radiation intensity distribution data to obtain the non-living object type.

6. The method as described in claim 1, characterized in that, The step of generating a four-dimensional spatiotemporal voxel model of environmental state changes over time based on the basic static map and the three-dimensional motion trajectory sequence includes: The basic static map is discretized into a three-dimensional voxel mesh; Divide the time dimension into equally spaced time slices; Determine the position information of each dynamic target in the three-dimensional motion trajectory sequence; The location information is mapped to voxels in the three-dimensional voxel grid corresponding to the time slice, and dynamic attribute information is added to the voxels to obtain a three-dimensional voxel network slice. The three-dimensional voxel network slices are superimposed and integrated in chronological order to obtain an initial four-dimensional spatiotemporal voxel model. The initial four-dimensional spatiotemporal voxel model is repaired by void repair to obtain a four-dimensional spatiotemporal voxel model.

7. The method as described in claim 6, characterized in that, After the step of repairing the holes in the initial four-dimensional spatiotemporal voxel model to obtain the four-dimensional spatiotemporal voxel model, the method further includes: The observation data within the preset observation period of the four-dimensional spatiotemporal voxel model are analyzed to identify the periodically occupied spatial regions. Determine the frequency and duration of occupancy of the space region; The occupancy frequency and duration are used as occupancy pattern attributes of the spatial region, and the corresponding voxels in the four-dimensional spatiotemporal voxel model are updated based on the occupancy pattern attributes.

8. The method as described in claim 1, characterized in that, The step of incrementally fusing the four-dimensional spatiotemporal voxel model based on the new multidimensional sensing data stream after receiving it to obtain the target 4D spatial memory map includes: After receiving a new multidimensional sensing data stream, dynamic target extraction and tracking are performed on the new multidimensional sensing data stream to obtain a new target dynamic trajectory sequence; The new multidimensional sensing data stream is compared with the four-dimensional spatiotemporal voxel model to obtain the static environment change area. Based on the newly added target dynamic trajectory sequence and the static environment change area, the update area is determined; The four-dimensional spatiotemporal voxel model is locally updated based on the updated region to obtain the target 4D spatial memory map.

9. The method as described in claim 1, characterized in that, The step of synchronizing environmental sensing data from multiple sources in time and space to obtain a multi-dimensional sensing data stream with a unified timestamp includes: Based on a high-precision clock source, the original image data acquired by the video sensor, the original thermal radiation data acquired by the infrared sensor, and the original point cloud data acquired by the lidar are time-stamped to obtain the time-stamped image frame sequence, thermal radiation frame sequence, and point cloud frame sequence. Based on the internal and external parameters of each sensor, the image frame sequence, the thermal radiation frame sequence, and the point cloud frame sequence are subjected to spatial coordinate system one to obtain spatially aligned data frames; The spatially aligned data frames are matched and packaged based on timestamps to obtain a multidimensional sensing data stream with a unified timestamp.

10. A 4D spatial memory mapping device for dynamic updates, characterized in that, The 4D spatial memory mapping device for dynamic updates includes: The data synchronization module is used to perform spatiotemporal synchronization of environmental sensing data from multiple source sensors to obtain a multidimensional sensing data stream with a unified timestamp. The static mapping module is used to perform three-dimensional geometric reconstruction of static structures in the environment based on the multi-dimensional perception data stream to obtain a basic static map. The dynamic processing module is used to extract and track dynamic targets from the multidimensional sensing data stream to obtain a three-dimensional motion trajectory sequence of the dynamic targets. The spatiotemporal fusion module is used to generate a four-dimensional spatiotemporal voxel model of environmental state changes over time based on the basic static map and the three-dimensional motion trajectory sequence. The incremental update module is used to incrementally fuse the four-dimensional spatiotemporal voxel model based on the new multidimensional sensing data stream after receiving it, so as to obtain the target 4D spatial memory map.