Sensor data fusion method, device and storage medium based on graph neural network

Through the sensor data fusion method based on graph neural network, the problem that existing technology cannot make full use of multi-sensor data correlation is solved, more accurate and flexible environment perception is achieved, and the safety and security of intelligent connected vehicles in complex environments are improved. reliability.

CN118364432BActive Publication Date: 2024-10-01CHINA AUTOMOBILE ZHILIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410792343.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-01
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

Existing multi-sensor data fusion technology has limitations when dealing with highly dynamic environments and achieving real-time data fusion. It cannot fully utilize the potential correlation between different types of data, affecting the accuracy and reliability of decision-making.

Method used

The sensor data fusion method based on graph neural network is used to represent the sensor data as a graph structure, calculate the spatial distance and time difference between nodes, determine the edge weight of the edges, dynamically update the graph structure, and use the graph neural network to process the initial characteristics of the nodes. vector to obtain updated feature vectors to determine environmental awareness information.

Benefits of technology

Effectively identify and utilize complex spatial and temporal relationships between sensor data, improve the accuracy of data fusion, enhance the accuracy of environmental perception and system adaptability, and significantly improve the safety and reliability of intelligent connected vehicles in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118364432B_ABST
    Figure CN118364432B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing, and discloses a sensor data fusion method, device and storage medium based on a graph neural network. The method comprises: adding multiple nodes to a preset graph structure, wherein each node represents an environmental feature or object detected by a sensor; determining the spatial distance and time difference between the nodes according to the sensor data collected by the multiple sensors; determining the edge weights of the edges between the nodes according to the spatial distance and the time difference; adding the edges with the edge weights between the corresponding nodes to obtain a target graph structure; processing the target graph structure based on a graph neural network to update the initial feature vector of each node to obtain an updated feature vector; and determining environmental perception information based on the updated feature vector. The present invention can improve the accuracy of data fusion of different types of sensors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a sensor data fusion method, device and storage medium based on graph neural network. Background Art

[0002] With the rapid development of intelligent connected vehicle technology, the demand for advanced driver assistance systems and autonomous driving technology is growing. These systems rely on data collected from a variety of sensors on the vehicle (such as cameras, millimeter wave radars, lidars, and ultrasonic sensors) to achieve accurate perception of the surrounding environment. These sensors provide a variety of data types, including but not limited to visual images, distances, object speeds and angles, etc., which are critical to ensuring the safe operation of the car. However, due to the heterogeneity and complexity of these data in space and time, how to effectively fuse these data to provide a consistent and accurate environmental model has become a major challenge facing intelligent connected vehicle technology.

[0003] At present, multi-sensor data fusion technology still has limitations in dealing with highly dynamic environments, achieving real-time data fusion, and dealing with spatial and temporal data inconsistencies. In particular, existing technologies often fail to fully utilize the potential associations between different types of data, which affects the accuracy and reliability of decision-making in complex environments.

[0004] In view of this, the present invention is proposed. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a sensor data fusion method, device and storage medium based on graph neural network to improve the accuracy of fusion of different types of sensor data.

[0006] An embodiment of the present invention provides a sensor data fusion method based on a graph neural network, the method comprising:

[0007] Adding a plurality of nodes to a preset graph structure, wherein each of the nodes represents an environmental feature or object detected by a sensor;

[0008] Determining the spatial distance and time difference between the nodes based on the sensor data collected by the plurality of sensors;

[0009] According to the spatial distance and the time difference, the edge weight of the edge between the nodes is determined using the following formula:

[0010] ,in, is the spatial distance between node i and node j, is the time difference between node i and node j, is the scale parameter of the space, which is used to control the influence of spatial distance on edge weight. is the time scale parameter, which is used to control the impact of time difference on edge weight;

[0011] Adding edges with the edge weights between corresponding nodes to obtain a target graph structure;

[0012] Processing the target graph structure based on a graph neural network to update an initial feature vector of each node to obtain an updated feature vector;

[0013] Environmental perception information is determined based on the updated feature vector.

[0014] An embodiment of the present invention provides an electronic device, the electronic device comprising:

[0015] Processor and memory;

[0016] The processor is used to execute the steps of the sensor data fusion method based on graph neural network described in any embodiment by calling the program or instructions stored in the memory.

[0017] An embodiment of the present invention provides a computer-readable storage medium, which stores a program or instruction, and the program or instruction enables a computer to execute the steps of the sensor data fusion method based on graph neural network described in any embodiment.

[0018] The embodiments of the present invention have the following technical effects:

[0019] Graph neural networks can effectively identify and utilize complex spatial and temporal relationships between sensor data, thereby improving the accuracy of data fusion. It can better capture the intrinsic connections between sensor data than traditional rule-based or statistical filtering fusion technologies, thereby improving the accuracy of environmental perception. At the same time, graph neural networks can effectively process and fuse high-dimensional and heterogeneous data, thereby providing a unified and accurate representation of the environment. Moreover, the present invention can adapt to rapid changes in the environment by dynamically updating the graph structure. This flexibility allows the system to adjust the data fusion strategy in real time to reflect new sensor information and environmental conditions, thereby improving the ability of autonomous driving vehicles to adapt to dynamic environments. In summary, the present invention can improve the accuracy of data fusion of different types of sensors, significantly improve the safety and reliability of intelligent connected vehicles in complex environments, and reduce the risks in the autonomous driving process. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 It is a flow chart of a sensor data fusion method based on graph neural network provided by an embodiment of the present invention;

[0022] Figure 2 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.

[0024] As a powerful tool that can process complex relational data, graph neural networks have shown great potential in the field of multi-sensor data fusion. By representing data as a graph structure, graph neural networks can naturally simulate the interactions between sensors and the dependencies between data. This approach can not only improve the accuracy of data fusion, but also update the environmental model in real time in a dynamically changing environment. However, there are still several challenges in applying graph neural networks to multi-sensor data fusion for intelligent connected vehicles.

[0025] Based on this, the sensor data fusion method based on graph neural network provided by the embodiment of the present invention is mainly applicable to the situation where intelligent connected vehicles fuse multiple sensor data in complex environments. This solution uses graph neural network to deeply mine and learn the spatial and temporal relationship between sensor data, thereby improving the accuracy and real-time performance of environmental perception of intelligent connected vehicles. The sensor data fusion method based on graph neural network provided by the embodiment of the present invention can be executed by electronic devices integrated in the autonomous driving system.

[0026] Figure 1 is a flow chart of a sensor data fusion method based on a graph neural network provided by an embodiment of the present invention. Figure 1 , the sensor data fusion method based on graph neural network specifically includes:

[0027] S110, adding multiple nodes to a preset graph structure.

[0028] Each node represents an environmental feature or object detected by a sensor. The default graph structure is an empty graph structure so that required nodes and edges can be added to obtain the target graph structure.

[0029] For example, sensors may include cameras, millimeter-wave radars, and lidars, etc. For cameras, nodes are feature vectors of vehicles, pedestrians, or other landmarks detected in images, which can be extracted through image recognition algorithms; for millimeter-wave radars, nodes are the position and speed information of detected objects, which are usually used to detect vehicles and other large objects; for lidars, nodes are the three-dimensional position and shape information of specific objects (such as pedestrians, vehicles, etc.) in point cloud data.

[0030] S120: Determine the spatial distance and time difference between nodes according to the sensor data collected by multiple sensors.

[0031] In some embodiments, the sensor data includes environmental features or objects, and a timestamp when the sensor detects the environmental features or objects. The spatial distance and time difference between nodes are determined based on the sensor data collected by multiple sensors, including: determining time information based on the timestamp when the multiple sensors detect the environmental features or objects; determining the spatial distance and time difference between nodes based on the environmental features or objects, and the time information.

[0032] For example, suppose a pedestrian is detected from the camera, and the millimeter-wave radar and lidar also detect the same pedestrian at a similar time and location. The detection results of the three sensors on the pedestrian will constitute three nodes in the target graph structure. The image recognition results of the camera are used to determine the position of the pedestrian in the image, the millimeter-wave radar provides the distance and angle of the pedestrian relative to the car, and the lidar provides the three-dimensional position information of the pedestrian. The timestamp of each sensor detecting the pedestrian can determine the time information. Based on this information, the spatial distance and time difference between the node corresponding to the camera and the nodes corresponding to the millimeter-wave radar and lidar can be calculated.

[0033] S130: Determine edge weights of edges between nodes according to spatial distance and time difference.

[0034] Among them, an edge represents the relationship between two nodes in the target graph structure. These relationships are based on the spatial positions and timestamps of the nodes. For example, if two nodes are close in space and have similar timestamps, there is an edge between the two nodes.

[0035] According to the spatial distance and time difference, the edge weight of the edge between nodes is determined by the following formula:

[0036] ,in, is the spatial distance between node i and node j, is the time difference between node i and node j, is the scale parameter of the space, which is used to control the influence of spatial distance on edge weight. It is the scale parameter of time, which is used to control the influence of time difference on edge weight. exp() represents an exponential function with the natural constant e (approximately equal to 2.71828) as the base.

[0037] The present invention adopts a statistical method to and Accordingly, in some embodiments, the method further comprises: determining, according to the statistical distribution of the spatial distances of all node pairs (calculating the mean value and standard deviation of the distances), ; According to the statistical distribution of the time difference of all node pairs (calculating the mean and standard deviation of the time difference), determine ; Among them, a node pair includes two adjacent nodes.

[0038] Suppose a set of sensor data, through statistical analysis, it is found that the average spatial distance between all node pairs is 10 meters, and the standard deviation is 5 meters. Based on this information, the spatial scale parameter can be preliminarily set 5 meters means that when calculating edge weights, nodes within 5 meters will be considered to be relatively more closely related. Similarly, if the mean of the time difference is 1 second and the standard deviation is 0.5 seconds, the time scale parameter can be set is 0.5 seconds.

[0039] S140. Add edges with edge weights between corresponding nodes to obtain a target graph structure.

[0040] The target graph structure can reflect the spatial and temporal relationship between the same objects detected by different sensors, providing a basis for subsequent graph neural network processing. In this way, when the environment changes rapidly, the graph structure can be dynamically updated by adjusting the nodes, edges, and edge weights, thereby adapting to the rapid changes in the environment and improving the ability of autonomous vehicles to adapt to dynamic environments.

[0041] S150. Process the target graph structure based on the graph neural network to update the initial feature vector of each node to obtain an updated feature vector.

[0042] In some embodiments, the target graph structure is processed based on a graph neural network, including: extracting an initial feature vector from sensor data; assigning a corresponding initial feature vector to each node; calculating the attention coefficient of each node pair, wherein the node pair includes a current node and an adjacent node adjacent to the current node, and the attention coefficient represents the importance of the initial feature vector of the adjacent node to the update of the initial feature vector of the current node; using the attention coefficient to weight the initial feature vector of the adjacent node to obtain a weighted feature vector; summing the weighted feature vectors of all adjacent nodes of the current node to update the initial feature vector of the current node to obtain an updated feature vector. The designed graph neural network model is used to process the target graph structure constructed above, learn the complex relationship between nodes, and achieve efficient data fusion.

[0043] In some embodiments, the attention coefficient is a standardized attention coefficient, and the method further includes: normalizing the attention coefficient by a softmax function to obtain a standardized attention coefficient, thereby ensuring that for each node, the sum of the attention coefficients of all its adjacent nodes is 1. Then, the initial feature vector of the adjacent node is weighted by the standardized attention coefficient to obtain a weighted feature vector.

[0044] Based on the above implementation, exemplarily, a GNN model with a graph attention network (GAT) as the core is used. GAT uses the attention mechanism to allow different nodes to dynamically allocate attention coefficients according to their relative importance, thereby effectively fusing data from different sensors. Specifically, the GAT layer updates the node state by learning the node features and the weighted features of the adjacent nodes, effectively fusing the data from different sensors. The specific steps are as follows:

[0045] 1) Initialization: Assign an initial feature vector to each node v in the target graph structure , which is a feature vector extracted directly from the sensor data.

[0046] 2) Attention coefficient calculation: For each node pair (including node i and node j), calculate the attention coefficient , this attention coefficient It represents the importance of the initial feature vector of node j to the initial feature vector of node i, and the attention coefficient of each node pair is calculated using the following formula :

[0047]

[0048] in, Represents the initial feature vector of node j The initial feature vector for node i The importance of updating, is the weight matrix used for feature transformation, respectively and Multiply them to get a new feature representation; || represents the concatenation operation; a is the parameter of the learned attention mechanism; LeakyReLU is a nonlinear activation function.

[0049] Weight Matrix The parameters a of the attention mechanism are automatically optimized through the learning process in the graph attention network. This learning process depends on the training of the neural network. The weight matrix The linear transformation used for node features aims to map the original feature space to a new feature space that is more conducive to the task. At the beginning of training, is randomly initialized to a normally distributed random number. During the training process, the loss function is calculated relative to The gradient of is updated using the back-propagation algorithm The loss function measures the difference between the model output and the true label. Through the gradient descent algorithm, the gradient information is used to update , to minimize the loss function. The update formula is as follows:

[0050]

[0051] in, is the learning rate and L is the loss function.

[0052] The parameter a of the attention mechanism is used to calculate the attention coefficient, which directly affects the intensity and mode of interaction between nodes. , a is also randomly initialized at the beginning of training. In each training iteration, the gradient of the loss function relative to a is calculated and a is updated using the gradient descent method to minimize the loss function. The update formula is as follows:

[0053]

[0054] When training the GAT model, and a are learned and updated simultaneously: 1) Forward propagation: Calculate the model output, including performing feature conversion, calculating attention coefficients and feature updates, etc.; 2) Calculate loss: Calculate the loss value using the model output and the true label. 3) Backward propagation: Calculate the gradient of the loss function relative to all model parameters. 4) Parameter update: Update all parameters using the gradient descent method. This process is repeated for multiple training cycles on the entire training set until the model performance reaches a satisfactory level. In this way, and a can be gradually adjusted to the optimal value so that the model can effectively fuse features and make accurate predictions.

[0055] 3) Standardized attention coefficient: Through the softmax function Normalize to ensure that for each node i, the sum of the attention coefficients of all its adjacent nodes is 1:

[0056]

[0057] in, represents the set of adjacent nodes of node i, is the standardized attention coefficient.

[0058] 4) Feature update: using attention coefficient To weight the initial feature vectors of adjacent nodes, and sum the weighted feature vectors of all adjacent nodes to update the initial feature vector of node i:

[0059]

[0060] in, is the updated feature vector of node i, It is a nonlinear activation function. From the above formula, we can see that the updated feature vector of node i is obtained by weighted summing of the feature vectors of all adjacent nodes k of node i and then performing nonlinear transformation through the ReLU activation function.

[0061] S160. Determine environmental perception information based on the updated feature vector.

[0062] In some implementations, determining environmental perception information based on the updated feature vector includes: aggregating the updated feature vector to obtain a global feature vector; and converting the global feature vector into environmental perception information through a decoding operation.

[0063] In some embodiments, a global feature vector is converted into environmental perception information through a decoding operation, including: inputting the global feature into a preset deep network, wherein the preset deep network includes multiple stacked fully connected layers, and the output of the previous fully connected layer is used as the input of the next fully connected layer; and outputting the environmental perception information through the preset deep network.

[0064] For example, the output of the last layer of GAT is converted into specific environmental perception information, such as the precise location and type of obstacles, through the decoding layer. The output decoding steps are as follows:

[0065] First, feature aggregation is performed, the purpose of which is to merge the updated feature vectors of all nodes in the graph into a single global representation for subsequent decoding operations. The present invention can use a maximum pooling aggregation method to select the maximum value from the corresponding dimension of each node feature vector.

[0066]

[0067] in, is the maximum value of the jth dimension of the aggregated global feature vector.

[0068] Then a decoding operation is performed, which converts the aggregated global feature vector into the final output: for example, the type and location of the obstacle. The aggregated global feature vector is input into multiple fully connected layers (FC layers). A preset deep network is constructed by stacking multiple FC layers to learn more complex feature representations. The output of the previous FC layer can be used as the input of the next FC layer. The last FC layer is used as the output layer to directly generate the final prediction result: for example, the type and location of the obstacle. The obstacle type belongs to the classification task, and the output layer uses the softmax function as the activation function to convert the output into a probability distribution. The obstacle location belongs to the regression task, and the output layer does not need to use an activation function.

[0069] Through the above steps, the output decoding process can effectively transform the updated feature vector processed by GAT into specific environmental perception information, supporting decision-making for applications such as intelligent connected vehicles.

[0070] This embodiment has the following technical effects: Based on the graph neural network, it can effectively identify and utilize the complex spatial and temporal relationships between sensor data, thereby improving the accuracy of data fusion. It can better capture the intrinsic connection of sensor data than traditional rule-based or statistical filtering fusion technology, and improve the accuracy of environmental perception. At the same time, the graph neural network can effectively process and fuse high-dimensional and heterogeneous data, thereby providing a unified and accurate environmental representation. Moreover, the present invention can adapt to rapid changes in the environment by dynamically updating the graph structure. This flexibility allows the system to adjust the data fusion strategy in real time to reflect new sensor information and environmental conditions, thereby improving the ability of autonomous driving vehicles to adapt to dynamic environments. In summary, the present invention can improve the accuracy of data fusion of different types of sensors, significantly improve the safety and reliability of intelligent connected vehicles in complex environments, and reduce the risks in the autonomous driving process.

[0071] Figure 2 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 2 As shown, the electronic device 300 includes one or more processors 301 and a memory 302 .

[0072] The processor 301 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 300 to perform desired functions.

[0073] The memory 302 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 301 may run the program instructions to implement the sensor data fusion method based on graph neural network and / or other desired functions of any embodiment of the present invention described above. Various contents such as initial external parameters, thresholds, etc. may also be stored in the computer-readable storage medium.

[0074] In one example, the electronic device 300 may further include: an input device 303 and an output device 304, which are interconnected via a bus system and / or other forms of connection mechanisms (not shown). The input device 303 may include, for example, a keyboard, a mouse, etc. The output device 304 may output various information to the outside, including early warning prompt information, braking force, etc. The output device 304 may include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, etc.

[0075] Of course, to simplify, Figure 2 Only some of the components related to the present invention in the electronic device 300 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application conditions, the electronic device 300 may also include any other appropriate components.

[0076] In addition to the above-mentioned methods and devices, an embodiment of the present invention may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the sensor data fusion method based on graph neural network provided by any embodiment of the present invention.

[0077] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the embodiments of the present invention, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0078] In addition, an embodiment of the present invention may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the sensor data fusion method based on graph neural network provided by any embodiment of the present invention.

[0079] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0080] It should be noted that the terms used in the present invention are only for describing specific embodiments, rather than limiting the scope of the present application. As shown in the present specification, unless the context clearly indicates an exception, the words "one", "a", "a kind of" and / or "the" do not specifically refer to the singular, but may also include the plural. The terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the presence of other identical elements in the process, method or device including the elements.

[0081] It should also be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", etc. should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present invention.

Claims

1. A sensor data fusion method based on graph neural network, characterized in that: include: Adding a plurality of nodes to a preset graph structure, wherein each of the nodes represents an environmental feature or object detected by a sensor; Determining the spatial distance and time difference between the nodes based on the sensor data collected by the plurality of sensors; According to the spatial distance and the time difference, the edge weight of the edge between the nodes is determined using the following formula: ,in, is the spatial distance between node i and node j, is the time difference between node i and node j, is the scale parameter of the space, which is used to control the influence of spatial distance on edge weight. is the time scale parameter, which is used to control the impact of time difference on edge weight; Adding edges with the edge weights between corresponding nodes to obtain a target graph structure; Processing the target graph structure based on a graph neural network to update an initial feature vector of each node to obtain an updated feature vector; Aggregating the updated feature vectors to obtain a global feature vector; Converting the global feature vector into environmental perception information through a decoding operation; The sensor data includes environmental features or objects, and a timestamp when the sensor detects the environmental features or objects. The determining of the spatial distance and time difference between the nodes based on the sensor data collected by the multiple sensors includes: determining time information based on timestamps when the plurality of sensors detect environmental features or objects; The spatial distance and time difference between the nodes are determined according to the environmental features or objects and the time information.

2. The method according to claim 1, characterized in that The method further comprises: According to the statistical distribution of the spatial distances of all node pairs, we can determine ; According to the statistical distribution of the time difference of all node pairs, determine ; The node pair includes two adjacent nodes.

3. The method according to claim 1, characterized in that The processing of the target graph structure based on the graph neural network includes: extracting an initial feature vector from the sensor data; Allocating the corresponding initial feature vector to each node; Calculating an attention coefficient of each node pair, wherein the node pair includes a current node and an adjacent node adjacent to the current node, and the attention coefficient represents the importance of the initial feature vector of the adjacent node to the update of the initial feature vector of the current node; Weighting the initial feature vector of the adjacent node using the attention coefficient to obtain a weighted feature vector; The weighted feature vectors of all adjacent nodes of the current node are summed to update the initial feature vector of the current node to obtain the updated feature vector.

4. The method according to claim 3, characterized in that The attention coefficient of each node pair is calculated using the following formula: : ; in, Represents the initial feature vector of node j The initial feature vector for node i The importance of updating, is a weight matrix used for feature transformation; || represents a concatenation operation; a is the parameter of the learned attention mechanism; LeakyReLU is a nonlinear activation function.

5. The method according to claim 3, characterized in that: The attention coefficient is a standardized attention coefficient, and the method further includes: The attention coefficient is normalized by a softmax function to obtain a normalized attention coefficient.

6. The method according to claim 1, characterized in that The step of converting the global feature vector into environmental perception information through a decoding operation includes: Inputting the global features into a preset deep network, wherein the preset deep network includes a plurality of stacked fully connected layers, and the output of the previous fully connected layer serves as the input of the next fully connected layer; The environmental perception information is outputted through the preset deep network.

7. An electronic device, characterized in that: The electronic device comprises: Processor and memory; The processor is used to execute the steps of the sensor data fusion method based on graph neural network as described in any one of claims 1 to 6 by calling the program or instructions stored in the memory.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or instruction, which enables a computer to execute the steps of the sensor data fusion method based on graph neural network as described in any one of claims 1 to 6.