Early warning method, device and equipment for vehicle abnormity and storage medium
By combining UWB technology and trilateration with a risk detection model, the problem of insufficient GPS accuracy in closed environments is solved, achieving high-precision and interference-resistant vehicle monitoring. This enables real-time identification of vehicle anomalies, reducing costs and improving safety.
Patent Information
- Application Number
- CN202511402402.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-28
- Publication Date
- 2026-01-13
AI Technical Summary
In existing technologies, GPS signals are easily interfered with in enclosed environments, have limited accuracy, cannot effectively monitor vehicle position and attitude, and are easily interfered with and removed, making it impossible to identify abnormal behavior in real time.
A global spatial coordinate system is established using ultra-wideband (UWB) technology. Through communication between multiple anchor point devices and tag devices, combined with trilateration and a pre-trained risk detection model, the vehicle's position, attitude, and abnormal conditions, including door status and displacement of key components, are monitored in real time.
It achieves high-precision and interference-resistant vehicle monitoring in closed environments, accurately identifying vehicle position, attitude, and abnormal behavior, reducing hardware costs, and improving the reliability and security of monitoring.
Smart Images

Figure CN121330950A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a method, apparatus, device, and storage medium for early warning of vehicle anomalies. Background Technology
[0002] In the automotive industry, 4S stores and dealerships typically need to maintain large inventory levels. However, due to the high cost of vehicle procurement, dealerships often need to apply for funding from institutions such as banks to purchase vehicles in bulk. After disbursing these funds, banks and other institutions need to effectively monitor the vehicles to ensure the safety of funds and prevent them from being transferred, mortgaged, or sold before the funding is settled, thereby reducing risk.
[0003] Currently, banks and other institutions mainly rely on GPS positioning and electronic fence technology to monitor vehicles. However, GPS signals are easily interfered with in enclosed environments (such as warehouses and underground parking garages), resulting in limited accuracy.
[0004] Therefore, there is an urgent need for a high-precision, interference-resistant, and real-time vehicle observation solution that can continuously monitor vehicle position and attitude and automatically identify abnormal behavior. Summary of the Invention
[0005] This application provides a method, device, equipment, and storage medium for early warning of vehicle anomalies. It can accurately identify the location and posture of a vehicle, and can also automatically identify whether a vehicle has an abnormal situation and issue an early warning, thereby achieving effective supervision of the vehicle and preventing risks such as the vehicle being transferred, mortgaged, or sold before the resources are settled.
[0006] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:
[0007] Firstly, a method for early warning of vehicle anomalies is provided. This method includes: First, establishing a global spatial coordinate system based on multiple anchor point devices supporting Ultra-Wideband (UWB) technology, and recording the spatial coordinates of the multiple anchor point devices. The multiple anchor point devices are arranged within a detection area, which includes at least one vehicle. Multiple UWB-enabled tag devices are installed at key locations on the vehicle, including at least the front, rear, roof, undercarriage, side doors, and critical components. The anchor point devices and tag devices can communicate via UWB technology. Next, based on the spatial coordinates of the multiple anchor point devices, the spatial coordinates of the multiple tag devices are analyzed using trilateration. Based on the spatial coordinates of at least four tag devices, the vehicle's position and attitude are determined, including its yaw, pitch, and roll angles. Then, based on the coordinate offsets of the tag devices on the vehicle's side doors, the open / closed state of the vehicle doors is determined. Based on the spatial coordinates of the tag devices installed on critical components, the position of the critical components is determined. Based on the relative positional changes between the multiple tag devices, it is determined whether the tag devices have been removed from the vehicle. Finally, based on the vehicle detection results, a pre-trained risk detection model is used to determine whether an anomaly warning is triggered. The detection results include the vehicle's position, attitude, the opening and closing status of the vehicle doors, the position of key components, and whether the tag device has been removed from the vehicle.
[0008] This application utilizes multiple UWB anchor point devices and UWB multi-tag devices for positioning, combined with trilateration, to accurately obtain the spatial coordinates of key points on the vehicle. This allows for precise calculation of the vehicle's position and attitude (yaw, pitch, roll angles), and real-time monitoring of door status, key component displacement, and tag removal. UWB technology is characterized by strong anti-interference capabilities, the ability to transmit signals in enclosed environments (such as warehouses and underground parking garages), and high ranging accuracy (up to centimeter level). Combined with the layout of multiple tag devices on the vehicle, this effectively improves the reliability of vehicle status monitoring. Furthermore, this application employs a pre-trained risk detection model that comprehensively analyzes the vehicle's position, attitude, door status, key component displacement, and tag removal, automatically identifying potential anomalies (such as vehicle rollover, abnormal door opening, and theft of key components) and triggering anomaly warnings, thereby achieving effective observation of vehicle safety.
[0009] In one possible implementation of the first aspect, the determination of the vehicle's position and attitude based on the spatial coordinates of at least four tag devices, including the vehicle's yaw, pitch, and roll angles, may specifically include: First, determining the vehicle's position based on the spatial coordinates of tag devices located on the roof, under, in front of, or behind the vehicle; or, determining the vehicle's position based on the center point of the spatial coordinates of multiple tag devices. Then, determining the spatial coordinates of the centroids of the four tag devices based on their spatial coordinates. Subtracting the centroid's spatial coordinates from each of the four tag device spatial coordinates yields the spatial coordinates of the four tag devices relative to the centroid. Constructing a data matrix based on the spatial coordinates of the four tag devices relative to the centroid, and determining the covariance matrix of the data matrix. Performing eigenvalue decomposition on the covariance matrix to obtain eigenvalues and corresponding eigenvectors. Sorting the eigenvalues in ascending order, and selecting the eigenvectors corresponding to the first three eigenvalues as the vehicle's principal direction, secondary direction, and vertical direction. Constructing a rotation matrix for the vehicle's current attitude based on the first three eigenvectors. Finally, the rotation matrix is converted into yaw, pitch, and roll angles, which are used to characterize the vehicle's horizontal steering, forward and backward tilt, and left and right tilt states, respectively.
[0010] This application can determine the vehicle's location using coordinate data from one or more UWB tag devices, achieving higher accuracy than traditional GPS. Furthermore, this application requires only coordinate data from four tag devices to quickly calculate the vehicle's attitude through matrix operations, eliminating the need for additional inertial sensors, thus reducing hardware costs while ensuring low-latency attitude output.
[0011] In another possible implementation of the first aspect, the above-mentioned method of resolving the spatial coordinates of multiple tag devices based on the spatial coordinates of multiple anchor devices using trilateration can specifically include: measuring the Time-of-Flight (ToF) of the UWB signals between at least three anchor devices and each tag device using trilateration to determine the distance between the tag device and each anchor device. For each tag device, a distance constraint relationship is constructed with the spatial coordinates of each anchor device as the center of a sphere and the distance as the radius of the sphere. Based on the distance constraint relationship corresponding to at least three anchor devices, the spatial coordinates of each tag device in the global spatial coordinate system are determined.
[0012] This application calculates the precise distance between the tag device and the anchor point device by measuring the Time-of-Flight (ToF) of the UWB signal. Utilizing trilateration and spherical geometric constraints, centimeter-level positioning accuracy can be achieved, ensuring the accuracy of coordinate measurements for critical vehicle components. Furthermore, this application requires only three anchor point devices to locate a single tag device. Increasing the number of anchor point devices further improves positioning accuracy and robustness. This allows for dynamic adjustment of the anchor point device layout according to actual scenario requirements, enabling more precise and rapid vehicle observation.
[0013] In another possible implementation of the first aspect, the content of determining the open / closed state of the vehicle doors based on the coordinate offset of the tag devices on both sides of the vehicle may specifically include: recording the initial coordinates of the tag devices on both sides of the vehicle doors when the doors are closed; obtaining the current coordinates of the tag devices on both sides of the vehicle doors; determining the coordinate offset between the current coordinates and the initial coordinates; if the coordinate offset is greater than a first threshold, then determining that the doors are in an open state; if the coordinate offset is less than or equal to the first threshold, then determining that the doors are in a closed state.
[0014] This application determines the door status by directly calculating the displacement by comparing the initial coordinates and current coordinates of the door label. This avoids the shortcomings of traditional mechanical switches or magnetic induction sensors that are easily affected by dust and vibration, thereby improving the reliability of the detection.
[0015] In another possible implementation of the first aspect, the above-mentioned determination of whether a tag device has been removed from a vehicle based on the relative position change between multiple tag devices may specifically include: recording the initial relative distance between each tag device when the vehicle is stationary; periodically calculating the current relative distance between each tag device; if the current relative distance between a tag device and multiple other tag devices is greater than the initial relative distance, then the tag device is determined to be in an abnormal state; if the duration of the tag device being in an abnormal state is greater than a first preset duration, then the tag device is determined to have been removed.
[0016] This application uses the relative distance change between tag devices rather than the absolute position to determine the removal behavior. It does not rely on external positioning base stations (such as GPS). Monitoring can be achieved only by the communication between the tag devices, which reduces the system cost. At the same time, since the tag devices have no exposed mechanical structure or obvious sensing components, it is necessary to destroy multiple hidden tag devices at the same time when removing the tag devices installed on the vehicle. This greatly increases the difficulty of illegal removal and thus improves the security of vehicle monitoring.
[0017] In another possible implementation of the first aspect, the above-mentioned vehicle-based detection results are used to determine whether to trigger an anomaly warning through a pre-trained risk detection model. Specifically, this includes: triggering an anomaly warning when the vehicle is detected leaving the detection area by the pre-trained risk detection model based on the vehicle detection results; triggering an anomaly warning when the door is detected to be open for a period of more than a second preset time by the pre-trained risk detection model based on the vehicle detection results; and triggering an anomaly warning when a tag device or key component is detected to be removed by the pre-trained risk detection model based on the vehicle detection results. The key component includes at least one of the following: wheels, battery pack, fuel tank, engine, engine hood, or trunk lid.
[0018] This application uses a pre-trained risk detection model to comprehensively analyze the vehicle's status (such as leaving the detection area, door opening timeout, removal of key components, etc.), which can provide timely warnings and avoid losses.
[0019] In another possible implementation of the first aspect, the above method further includes: determining whether the warning information of the abnormal warning is falsely triggered based on the warning information of the abnormal warning and the preset rules or manual review results; if it is determined to be falsely triggered, recording the false trigger sample, which includes the positioning data of the tag device and the detection results of the vehicle; and adjusting the judgment threshold of the risk detection model based on the false trigger sample to optimize the judgment logic of the risk detection model.
[0020] This application avoids frequent false alarms by recording false trigger samples and dynamically adjusting the judgment threshold of the risk detection model (such as extending the judgment time for door opening).
[0021] Secondly, a vehicle anomaly warning device is provided. The method includes: a spatial anchoring module for establishing a global spatial coordinate system based on multiple anchoring devices supporting Ultra-Wideband (UWB) technology, and recording the spatial coordinates of the multiple anchoring devices; wherein the multiple anchoring devices are arranged within a detection area, which includes at least one vehicle, and multiple tag devices supporting UWB technology are installed at key locations on the vehicle, including at least the front, rear, roof, undercarriage, side doors, and key components of the vehicle; the anchoring devices and tag devices are connected via UWB technology. A coordinate calculation module is used to analyze the spatial coordinates of the multiple tag devices using trilateration based on the spatial coordinates of the multiple anchoring devices. A pose calculation module is used to determine the vehicle's position and attitude based on the spatial coordinates of at least four tag devices, including yaw, pitch, and roll angles. A judgment module is used to determine the opening / closing state of the vehicle doors based on the coordinate offset of the tag devices on the side doors; and to determine the position of the key components based on the spatial coordinates of the tag devices installed on the key components; and to determine whether the tag devices have been removed from the vehicle based on the relative position changes between the multiple tag devices. The risk detection module is used to determine whether to trigger relevant warnings based on the vehicle detection results through a pre-trained risk detection model. The detection results include the vehicle's position, attitude, the opening and closing status of the vehicle doors, the position of key components, and whether the tag device has been removed from the vehicle.
[0022] Thirdly, an electronic device is provided, the method comprising: a memory and at least one processor. The memory is communicatively connected to the processor. The memory is used to store computer program code, the computer program code including computer instructions. When the processor executes the computer instructions, it causes the electronic device to perform the method as described in the first aspect and any possible implementation thereof.
[0023] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer instructions. When executed by a processor, these computer instructions are used to implement the method described in the first aspect and any possible implementation thereof.
[0024] Fifthly, embodiments of this application provide a computer program product that, when run on a computer or executed by a computer's processor, implements the method described in the first aspect and any possible design thereof. The computer may be the electronic device described in the second aspect and any possible implementation thereof.
[0025] It is understood that the beneficial effects achieved by the warning device described in the second aspect, the electronic device described in the third aspect, the computer-readable storage medium described in the fourth aspect, and the computer program product described in the fifth aspect can be referred to as the beneficial effects in the first aspect and any possible implementation thereof, which will not be repeated here. Attached Figure Description
[0026] Figure 1 A schematic diagram of a GPS positioning system provided in an embodiment of this application;
[0027] Figure 2 A schematic diagram of the architecture of an early warning device based on ultra-wideband technology provided in this application embodiment;
[0028] Figure 3 A flowchart illustrating a vehicle anomaly warning method provided in an embodiment of this application;
[0029] Figure 4 This is a schematic diagram of the layout of an anchor point device and a tag device provided in an embodiment of this application;
[0030] Figure 5 A left view of a tag-mounting device on a vehicle provided in an embodiment of this application;
[0031] Figure 6 A top view of a tag-mounting device on a vehicle provided in an embodiment of this application;
[0032] Figure 7 This is a schematic diagram of another early warning device provided in an embodiment of this application;
[0033] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0034] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this embodiment, unless otherwise stated, "a plurality of" means two or more.
[0035] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0036] The technical solutions provided in this application, including the collection, storage, use, processing, transmission, provision, and disclosure of financial data or user data, comply with relevant laws and regulations and do not violate public order and good morals.
[0037] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, they do not mean that the applicant has used or necessarily used the solution.
[0038] To facilitate understanding of the technical solution of this application, we will first introduce some relevant terms involved in this application.
[0039] 1. Ultra-wideband (UWB) technology is a carrier-free communication technology that uses non-sinusoidal narrow pulses in the nanosecond to microsecond range to transmit data. UWB technology features high-precision surveillance (e.g., UWB can provide centimeter-level surveillance accuracy, suitable for applications requiring high-precision surveillance positions), indoor surveillance capabilities (e.g., UWB can provide reliable surveillance in indoor environments, compensating for the shortcomings of GPS in indoor surveillance), low latency (e.g., UWB communication has low latency, suitable for applications requiring real-time surveillance), security (UWB signals have high bandwidth, making them difficult to interfere with or spoof, improving surveillance security), and strong anti-interference capabilities (UWB technology has strong resistance to multipath effects, maintaining good surveillance performance even in complex electromagnetic environments).
[0040] 2. Anchor devices are fixed in known locations, typically installed in fixed positions within the environment (e.g., at the four corners of a warehouse), and their location information is known in advance and stored in the system. Anchor devices can be used to transmit signals and usually have high-precision clocks and location information, serving as reference points to measure and calculate the position of the tag devices. Furthermore, anchor devices typically communicate with each other and with the tag devices via wireless communication (such as ultra-wideband technology signals) to coordinate and synchronize the positioning calculations of the tag devices.
[0041] 3. Tag Devices: Tags are mobile devices, typically attached to objects requiring monitoring (such as vehicles). Tag devices receive signals from anchor points and perform positioning calculations based on these signals to determine their location. However, tag devices generally lack high-precision clock and location information, thus relying on anchor points for positioning.
[0042] In the automotive industry, 4S stores and dealerships typically need to maintain large inventory levels. However, due to the high cost of vehicle procurement, dealerships often need to apply for funding from institutions such as banks to purchase vehicles in bulk. After disbursing these funds, banks and other institutions need to effectively monitor the vehicles to ensure the safety of funds and prevent them from being illegally transferred, mortgaged, or sold before the funds are settled, thereby mitigating risk.
[0043] Currently, banks and other institutions primarily rely on GPS positioning and electronic fence technology to monitor vehicles. For example, Figure 1 This is a schematic diagram of a GPS positioning system provided in an embodiment of this application. The system may include an in-vehicle GPS module and a big data early warning module. The in-vehicle GPS module, installed in the vehicle, can receive signals from GPS satellites and calculate the vehicle's position, providing information such as latitude and longitude coordinates, speed, and direction. The big data early warning module automatically sends alarms or notifications to relevant parties when the vehicle exceeds a predetermined range or abnormal activity is detected. The system may also include a communication module for transmitting data acquired by the in-vehicle GPS module to a remote server (i.e., the big data early warning module) via a wireless network.
[0044] The current method of using GPS technology to monitor these vehicles has the following drawbacks:
[0045] 1. Limited monitoring accuracy: GPS monitoring accuracy is usually between a few meters and a dozen meters, which may not be accurate enough for applications that require high-precision monitoring.
[0046] 2. Poor indoor signal: GPS signals are almost impossible to receive indoors, which means that effective monitoring cannot be provided in garages or other enclosed spaces.
[0047] 3. Susceptible to interference: GPS signals are easily interfered with, especially in densely populated urban areas, mountainous areas, or places with a large number of electronic devices, where signal quality may degrade.
[0048] 4. Low update frequency: GPS location updates relatively frequently, usually once per second, which may not be timely enough for applications that require real-time location updates.
[0049] 5. Security issues: GPS signals are easily interfered with or spoofed, especially civilian GPS signals, which are more vulnerable to attack.
[0050] 6. Cannot prevent removal: The GPS module can be removed and installed on other vehicles, and this situation cannot be detected.
[0051] Therefore, there is an urgent need for a high-precision, interference-resistant, and real-time vehicle observation solution that can continuously track the vehicle's position and attitude in enclosed environments (such as warehouses and underground parking garages) and automatically identify abnormal behaviors (such as vehicle rollover, abnormal door opening, and theft of key components).
[0052] To address the aforementioned issues, this application proposes a technical solution that can accurately identify the position and attitude of a vehicle, and automatically detect and issue warnings regarding any abnormal conditions. The specific technical solution is as follows: First, a global spatial coordinate system is established based on multiple anchor point devices supporting Ultra-Wideband (UWB) technology, and the spatial coordinates of these anchor point devices are recorded. These anchor point devices are arranged within a detection area, which includes at least one vehicle. Multiple UWB-enabled tag devices are installed at key locations on the vehicle, including at least the front, rear, roof, undercarriage, side doors, and critical components. The anchor point devices and tag devices can communicate via UWB technology. Next, based on the spatial coordinates of the multiple anchor point devices, the spatial coordinates of the multiple tag devices are analyzed using trilateration. The vehicle's position and attitude, including yaw, pitch, and roll angles, are determined based on the spatial coordinates of at least four tag devices. Then, the open / closed state of the vehicle doors is determined based on the coordinate offsets of the tag devices on the side doors. Finally, the position of the critical components is determined based on the spatial coordinates of the tag devices installed on the critical components. Based on the relative positional changes of multiple tag devices, it is determined whether the tag devices have been removed from the vehicle. Finally, based on the vehicle's detection results, a pre-trained risk detection model is used to determine whether an anomaly warning has been triggered. These detection results include the vehicle's position, attitude, the opening and closing status of the vehicle doors, the position of key components, and whether the tag devices have been removed from the vehicle.
[0053] This application utilizes multiple UWB anchor point devices and UWB multi-tag devices for positioning, combined with trilateration, to accurately obtain the spatial coordinates of key points on the vehicle. This allows for precise calculation of the vehicle's position and attitude (yaw, pitch, roll angles), and real-time monitoring of door status, key component displacement, and tag removal. UWB technology is characterized by strong anti-interference capabilities, the ability to transmit signals in enclosed environments (such as warehouses and underground parking garages), and high ranging accuracy (up to centimeter level). Combined with the layout of multiple tag devices on the vehicle, this effectively improves the reliability of vehicle status monitoring. Furthermore, this application employs a pre-trained risk detection model that comprehensively analyzes the vehicle's position, attitude, door status, key component displacement, and tag removal, automatically identifying potential anomalies (such as vehicle rollover, abnormal door opening, and theft of key components) and triggering anomaly warnings, thereby achieving effective observation of vehicle safety.
[0054] The following section, with reference to the accompanying drawings, details a method for early warning of vehicle anomalies provided in this application.
[0055] Figure 2 This is a schematic diagram of the architecture of an early warning device based on ultra-wideband technology, provided in an embodiment of this application.
[0056] like Figure 2 As shown, the early warning device includes a coordinate set module, a pose calculation module, an anomaly detection module, a monitoring big data model, and a big data early warning module. The coordinate set module is responsible for collecting and organizing coordinate information, including the spatial coordinates of anchor point devices and tag devices. The pose calculation module uses the data from the coordinate set module to calculate the vehicle's position and attitude. The anomaly detection model analyzes the data from the pose calculation module, identifies abnormal or unusual situations, and issues early warnings. The monitoring big data model collects the early warning information data issued by the anomaly detection model into the system and marks the accuracy of the warning information data. The big data early warning module is the core of the entire device, responsible for integrating the data and analysis results from various modules, providing comprehensive observation and management functions.
[0057] The warning device can be used to execute a vehicle anomaly warning method provided in this application. The warning device can be implemented on hardware devices such as servers, computers, and electronic devices, or on hardware platforms such as chip systems.
[0058] Figure 3 This is a flowchart illustrating a vehicle anomaly warning method provided in an embodiment of this application.
[0059] S101. Based on multiple anchor point devices supporting Ultra-Wideband (UWB) technology, establish a global spatial coordinate system and record the spatial coordinates of the multiple anchor point devices; wherein, the multiple anchor point devices are arranged in the detection area, which includes at least one vehicle, and multiple tag devices supporting UWB technology are installed at key locations of the vehicle.
[0060] Figure 4 This is a schematic diagram of the layout of an anchor point device and a label device provided in an embodiment of this application.
[0061] like Figure 4 As shown, Figure 4The "vehicles" in this system are equipped with multiple tag devices. "Anchor point devices" around the vehicles can be positioned at the four corners of the detection area (e.g., a warehouse, underground parking garage) to receive and process signals from the tag devices, achieving high-precision positioning. Multiple anchor point devices distributed around the vehicle ensure signal coverage across the entire detection area, providing more comprehensive signal reception, reducing blind spots, and improving positioning accuracy. The anchor point devices can communicate or work together. Applications of this ultra-wideband technology typically include warehouse management (e.g., real-time monitoring of vehicles in a warehouse to track vehicle movement), item inspection, and smart logistics, improving operational efficiency and accuracy.
[0062] The aforementioned key locations may include, but are not limited to, the front, rear, roof, undercarriage, side doors, and key components of the vehicle.
[0063] Tag devices installed at the front or rear of a vehicle can provide the coordinates of the vehicle's front and rear ends; in addition, combined with anchor point devices, they can monitor the distance between the vehicle and obstacles in front and behind, and provide timely warnings in the event of a collision; in some scenarios, such as when the vehicle is in motion, they can also record the vehicle's travel path.
[0064] Tagging devices installed on the roof or under the vehicle can provide the coordinates of the vehicle's upper and lower ends. Tagging devices under the vehicle can also be used to detect ground clearance and determine whether the vehicle is in contact with the ground. Tagging devices on the roof are more accurate and faster when communicating with anchor point devices because they are free from obstructions.
[0065] Tag devices installed at the front, rear, roof, and under the vehicle can also be used to calculate yaw, pitch, and roll angles, as well as the vehicle's position.
[0066] Labeling devices installed on both side doors can determine the door's open / closed status, for example, by judging the door opening angle based on the relative offset between the door label and the vehicle body label. These labeling devices can also be installed on the door handles.
[0067] Tagging devices installed on critical components (such as the engine and chassis) can work in conjunction with other tagging devices on the vehicle to detect whether these critical components have been removed from the vehicle.
[0068] Figure 5 and Figure 6 These are left and top views of a tag-installing device on a vehicle, as provided in an embodiment of this application.
[0069] like Figure 5The image shows a left view of a vehicle, highlighting the marking devices installed in different locations. These include: Front-mounted tagging device: located at the front of the vehicle, used to identify and locate the front of the vehicle. Roof-mounted tagging device: installed on the roof, providing additional positioning information. Left door-mounted tagging device: located on the left door of the vehicle, helping to identify side information. Under-mounted tagging device: installed at the bottom of the vehicle, typically used to detect the underside of the vehicle, providing information about the ground or bottom. Rear-mounted tagging device: located at the rear of the vehicle, used to identify and locate the rear of the vehicle. This layout facilitates a comprehensive view of the vehicle from different directions and positions. By installing marking devices in different locations, the vehicle's positioning accuracy can be improved, ensuring effective acquisition of vehicle information in various situations.
[0070] like Figure 6 The image shows a top-down view of a vehicle, highlighting the tagging devices installed in different locations. Specifically: Front tagging device: located at the front of the vehicle, responsible for identifying information about the environment ahead. Rear tagging device: located at the rear of the vehicle, used to monitor the situation behind the vehicle. Roof tagging device: installed on the roof, providing additional positioning information. Left door tagging device and right door tagging device: installed on the left and right doors of the vehicle respectively, helping to identify side information. This layout facilitates the collection of information about the vehicle from multiple directions, enhancing the vehicle's perception capabilities and its surrounding environment.
[0071] This application addresses disadvantages 1 to 5 of the GPS-based method by using ultra-wideband technology. Furthermore, disadvantage 6 of the GPS-based method can be addressed by utilizing the distance between multiple tag devices.
[0072] S102. Based on the spatial coordinates of multiple anchor point devices, the spatial coordinates of multiple tag devices are analyzed using the trilateration method.
[0073] In one possible implementation, the method specifically includes: measuring the Time-of-Flight (ToF) of the UWB signals between at least three anchor devices and each tag device using trilateration to determine the distance between the tag device and each anchor device. For each tag device, a distance constraint relationship is constructed with the spatial coordinates of each anchor device as the center of a sphere and the distance as the radius of the sphere. Based on the distance constraint relationship corresponding to at least three anchor devices, the spatial coordinates of each tag device in the global spatial coordinate system are determined.
[0074] For example, firstly, UWB technology is used for bilateral, bidirectional ranging. The anchor devices calculate the precise distance between each anchor device and the tag device based on the timestamps of signal interaction. Then, a spherical equation is established with the coordinates of each anchor device as the center and the corresponding distance as the radius. When there are at least three anchor devices, the three-dimensional coordinates of the tag device are obtained by solving the system of spherical equations. To improve the accuracy of the coordinates, when there are more anchor devices, the least squares method can be used for optimization, and interference can be eliminated by removing abnormal distances, ultimately determining the accurate position of the tag device in the global coordinate system.
[0075] This application calculates the precise distance between the tag device and the anchor point device by measuring the time of flight (ToF) of the UWB signal. Utilizing trilateration and spherical geometric constraints, centimeter-level positioning accuracy can be achieved, ensuring the accuracy of coordinate measurements for critical vehicle components. Furthermore, this application requires only three anchor points to locate a single tag device. Increasing the number of anchor points further improves positioning accuracy and robustness, allowing for dynamic adjustment of the anchor point layout based on actual scenario requirements, enabling more precise and rapid vehicle observation.
[0076] S103. Determine the position and attitude of the vehicle based on the spatial coordinates of at least four tag devices, including yaw angle, pitch angle and roll angle.
[0077] In one possible implementation, the method specifically includes: First, determining the vehicle's position based on the spatial coordinates of tag devices located on the roof, under the vehicle, in front of the vehicle, or behind the vehicle; or, determining the vehicle's position based on the center point of the spatial coordinates of multiple tag devices. Then, determining the spatial coordinates of the centroids of the four tag devices based on their spatial coordinates. Subtracting the centroid's spatial coordinates from each of the four tag device's spatial coordinates yields the spatial coordinates of the four tag devices relative to the centroid. Constructing a data matrix based on the four tag devices' spatial coordinates relative to the centroid and determining its covariance matrix. Performing eigenvalue decomposition on the covariance matrix to obtain eigenvalues and corresponding eigenvectors. Sorting the eigenvalues in ascending order and selecting the eigenvectors corresponding to the first three eigenvalues as the vehicle's primary direction, secondary direction, and vertical direction. Constructing a rotation matrix for the vehicle's current attitude based on the first three eigenvectors. Finally, converting the rotation matrix into yaw, pitch, and roll angles to characterize the vehicle's horizontal steering, forward / backward tilt, and left / right tilt states, respectively.
[0078] For example, the steps for calculating vehicle attitude are as follows: 1. Calculate the centroid: Calculate the centroid C of the positions of the tag devices on the roof, underside, front, and rear of the vehicle. 2. Construct the data matrix: Subtract the position of the centroid from the position of the tag device to obtain their new coordinates relative to the centroid, and construct the data matrix M. 3. Calculate the covariance matrix: Calculate the covariance matrix Σ of the data matrix M. 4. Calculate eigenvalues and eigenvectors: Solve for the eigenvalues λ and eigenvectors V of the covariance matrix Σ. 5. Select principal components: Sort the eigenvectors according to the magnitude of the eigenvalues, and select the top three eigenvectors as the axes of the new coordinate system. 6. Construct the rotation matrix: Use the three selected eigenvectors as column vectors of the rotation matrix R. 7. Calculate Euler angles: Convert the rotation matrix R into Euler angles (yaw, pitch, and roll).
[0079] This application can determine the vehicle's location using coordinate data from one or more UWB tag devices, achieving higher accuracy than traditional GPS. Furthermore, this application requires only coordinate data from four tag devices to quickly calculate the vehicle's attitude through matrix operations, eliminating the need for additional inertial sensors, thus reducing hardware costs while ensuring low-latency attitude output.
[0080] S104. Determine the open / closed status of the vehicle doors based on the coordinate offset of the label devices on both sides of the doors.
[0081] In one possible implementation, the method may specifically include: recording the initial coordinates of the tag devices on both sides of the vehicle door when the door is closed; obtaining the current coordinates of the tag devices on both sides of the vehicle door; determining the coordinate offset between the current coordinates and the initial coordinates; if the coordinate offset is greater than a first threshold, then determining that the door is in an open state; if the coordinate offset is less than or equal to the first threshold, then determining that the door is in a closed state.
[0082] This application determines the door status by directly calculating the displacement by comparing the initial coordinates and current coordinates of the door label. This avoids the shortcomings of traditional mechanical switches or magnetic induction sensors that are easily affected by dust and vibration, thereby improving the reliability of the detection.
[0083] S105. Determine the location of the critical component based on the spatial coordinates of the tag device installed on the critical component.
[0084] In another possible implementation of the first aspect, the method may specifically include:
[0085] S106. Based on the relative position changes between multiple tag devices, determine whether the tag device has been removed from the vehicle.
[0086] In one possible implementation, the method may specifically include: recording the initial relative distance between each tag device when the vehicle is stationary; periodically calculating the current relative distance between each tag device; if the current relative distance between a tag device and multiple other tag devices is simultaneously greater than the initial relative distance, then the tag device is determined to be in an abnormal state; if the duration of the tag device being in an abnormal state is greater than a first preset duration, then the tag device is determined to be removed.
[0087] This application uses the relative distance change between tag devices rather than the absolute position to determine the removal behavior. It does not rely on external positioning base stations (such as GPS). Monitoring can be achieved only by the communication between the tag devices, which reduces the system cost. At the same time, since the tag devices have no exposed mechanical structure or obvious sensing components, it is necessary to destroy multiple hidden tag devices at the same time when removing the tag devices installed on the vehicle. This greatly increases the difficulty of illegal removal and thus improves the security of vehicle monitoring.
[0088] S107. Based on the vehicle detection results, determine whether an abnormal warning is triggered through a pre-trained risk detection model. The detection results include the vehicle's position, attitude, the opening and closing status of the vehicle doors, the position of key components, and whether the tag device has been removed from the vehicle.
[0089] In one possible implementation, the method may specifically include: triggering an anomaly warning when a pre-trained risk detection model detects that a vehicle has left the detection area based on the vehicle detection results; triggering an anomaly warning when a pre-trained risk detection model detects that a door has been in an open state for a period of more than a second preset time based on the vehicle detection results; and triggering an anomaly warning when a pre-trained risk detection model detects that a tag device or a key component has been removed based on the vehicle detection results, wherein the key component includes at least one of wheels, battery pack, fuel tank, engine, engine hood, or trunk lid.
[0090] This application uses a pre-trained risk detection model to comprehensively analyze the vehicle's status (such as leaving the detection area, door opening timeout, removal of key components, etc.), which can provide timely warnings and avoid losses.
[0091] In one possible implementation, the above method further includes: determining whether the warning information of the abnormal warning is falsely triggered based on the warning information of the abnormal warning and the preset rules or manual review results; if it is determined to be falsely triggered, recording the false trigger sample, which includes the positioning data of the tag device and the detection results of the vehicle; and adjusting the judgment threshold of the risk detection model based on the false trigger sample to optimize the judgment logic of the risk detection model.
[0092] This application avoids frequent false alarms by recording false trigger samples and dynamically adjusting the judgment threshold of the risk detection model (such as extending the judgment time for door opening).
[0093] Figure 7 This is a schematic diagram of another early warning device provided in an embodiment of this application. Figure 7 As shown, the early warning device 10 includes a spatial anchor point module 11, a coordinate calculation module 12, a pose calculation module 13, a judgment module 14, and a risk detection module 15.
[0094] The spatial anchor module 11 is used to establish a global spatial coordinate system based on multiple anchor devices supporting Ultra Wideband (UWB) technology, and to record the spatial coordinates of the multiple anchor devices. The multiple anchor devices are arranged in the detection area, which includes at least one vehicle. Multiple tag devices supporting UWB technology are installed at key locations on the vehicle. The key locations include at least the front, rear, roof, under, side doors, and key components of the vehicle. The anchor devices and tag devices are connected via UWB technology.
[0095] The coordinate calculation module 12 is used to analyze the spatial coordinates of multiple tag devices based on the spatial coordinates of multiple anchor point devices using the trilateration method.
[0096] The pose calculation module 13 is used to determine the position and attitude of the vehicle based on the spatial coordinates of at least four tag devices. The attitude includes yaw angle, pitch angle and roll angle.
[0097] The judgment module 14 is used to determine the opening and closing status of the vehicle doors based on the coordinate offset of the label devices on both sides of the vehicle doors; and to determine the position of the key components based on the spatial coordinates of the label devices installed on the key components; and to determine whether the label devices have been removed from the vehicle based on the relative position changes between multiple label devices.
[0098] The risk detection module 15 is used to determine whether to trigger relevant warnings based on the vehicle detection results through a pre-trained risk detection model. The detection results include the vehicle's position, attitude, the opening and closing status of the vehicle doors, the position of key components, and whether the tag device has been removed from the vehicle.
[0099] In other embodiments, the pose calculation module 13 is further used to determine the vehicle's position based on the spatial coordinates of tag devices located on the roof, under, in front of, or behind the vehicle; or, based on the center point of the spatial coordinates of multiple tag devices. The spatial coordinates of the centroids of the four tag devices are determined based on their spatial coordinates. The spatial coordinates of the centroids of the four tag devices are subtracted from each of their spatial coordinates to obtain the spatial coordinates of the four tag devices relative to the centroid. A data matrix is constructed based on the spatial coordinates of the four tag devices relative to the centroid, and the covariance matrix of the data matrix is determined. Eigenvalues and corresponding eigenvectors are obtained from the covariance matrix. The eigenvalues are sorted in ascending order, and the eigenvectors corresponding to the first three eigenvalues are selected as the vehicle's principal direction, secondary direction, and vertical direction. A rotation matrix of the vehicle's current attitude is constructed based on the first three eigenvectors. The rotation matrix is converted into yaw, pitch, and roll angles, which are used to characterize the vehicle's horizontal steering state, forward / backward tilt state, and left / right tilt state, respectively.
[0100] In other embodiments, the coordinate calculation module 12 is further configured to measure the time-of-flight (ToF) of the UWB signals between at least three anchor devices and each tag device using trilateration to determine the distance between the tag device and each anchor device; for each tag device, a distance constraint relationship is constructed with the spatial coordinates of each anchor device as the center of a sphere and the distance as the radius of the sphere; and based on the distance constraint relationship corresponding to at least three anchor devices, the spatial coordinates of each tag device in the global spatial coordinate system are determined.
[0101] In other embodiments, the aforementioned determination module 14 is further configured to record the initial coordinates of the tag devices on both sides of the vehicle door when the door is closed; obtain the current coordinates of the tag devices on both sides of the vehicle door; determine the coordinate offset between the current coordinates and the initial coordinates; if the coordinate offset is greater than a first threshold, determine that the vehicle door is in an open state; if the coordinate offset is less than or equal to the first threshold, determine that the vehicle door is in a closed state.
[0102] In other embodiments, the judgment module 14 is further configured to record the initial relative distance between each tag device when the vehicle is stationary; periodically calculate the current relative distance between each tag device; if the current relative distance between a tag device and multiple other tag devices is greater than the initial relative distance, then the tag device is determined to be in an abnormal state; if the duration of the tag device being in an abnormal state is greater than a first preset duration, then the tag device is determined to be removed.
[0103] In other embodiments, the risk detection module 15 is further configured to trigger an abnormal warning when the vehicle leaves the detection area based on the vehicle detection results and the pre-trained risk detection model; trigger an abnormal warning when the door is in the open state for a period of more than a second preset time based on the vehicle detection results and the pre-trained risk detection model; and trigger an abnormal warning when the tag device or key component is removed based on the vehicle detection results and the pre-trained risk detection model. The key component includes at least one of the following: wheels, battery pack, fuel tank, engine, engine hood, or trunk lid.
[0104] In other embodiments, such as Figure 7 As shown, the aforementioned early warning device 10 may also include a model optimization module 16.
[0105] The model optimization module 16 is used to determine whether the warning information of the abnormal warning is falsely triggered based on the warning information of the abnormal warning and the preset rules or manual review results; if it is determined to be falsely triggered, the false trigger sample is recorded, including the positioning data of the tag device and the detection results of the vehicle; based on the false trigger sample, the judgment threshold of the risk detection model is adjusted to optimize the judgment logic of the risk detection model.
[0106] The early warning device 10 provided in this application embodiment can execute the method shown in the above method embodiment. Its implementation principle and beneficial effects can be referred to the relevant description in the method embodiment, and will not be repeated here.
[0107] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 8 As shown, the electronic device 20 includes a memory 21 and at least one processor 22.
[0108] The memory 21 stores computer program code, which includes computer instructions. These computer instructions run in the electronic device 20 to implement the method described in the above-described method embodiments. For example, the memory may include high-speed random access memory (RAM), and may also include non-volatile memory (NVM), such as at least one disk drive, or a USB flash drive, portable hard drive, read-only memory, magnetic disk, or optical disk, etc.
[0109] Processor 22 can be a general-purpose processor, including a Central Processing Unit (CPU), a network processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. Processor 22 can also be other general-purpose processors. The general-purpose processor can be a microprocessor or any conventional processor.
[0110] The memory 21 and processor 22 are connected for communication. For example, the memory 21 and transceiver 502 can be connected to the processor 22 via a system bus to communicate with each other. The system bus can be a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, an industry standard architecture (ISA) bus, etc. The system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the figure, but this does not mean that there is only one bus or one type of bus.
[0111] Optionally, the memory 21 can be either standalone or integrated with the processor 22. When the memory 21 is set up independently, it is connected to the processor 22 via the system bus.
[0112] The electronic device 20 provided in this application embodiment can be used to execute the technical solution of the vehicle abnormality warning method in the above embodiment.
[0113] This application also provides a chip for executing instructions, which is used to execute the technical solution of the vehicle anomaly warning method in the above embodiments.
[0114] This application also provides a computer-readable storage medium storing computer instructions. When these computer instructions are executed by a processor, they are used to implement the technical solution of the vehicle anomaly warning method described in the above embodiments. Specifically, when the computer instructions are executed by a processor, the electronic device 20 can execute the technical solution of the vehicle anomaly warning method described in the above embodiments.
[0115] This application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When the at least one processor executes the computer program, it can implement the technical solution of the vehicle abnormality warning method in the above embodiments.
[0116] The aforementioned computer-readable storage media can be implemented from any type of volatile or non-volatile storage device or a combination thereof, such as Static Random-Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The computer-readable storage media can be any available medium accessible to a general-purpose or special-purpose computer.
[0117] An exemplary computer-readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the computer-readable storage medium can also be a component of the processor. The processor and the computer-readable storage medium can reside in an application-specific integrated circuit (ASIC). Alternatively, the processor and the computer-readable storage medium can exist as discrete components in an electronic control unit or main control device; this application does not limit this.
[0118] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.
[0119] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to implement the solution of this embodiment according to actual needs.
[0120] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The unit composed of the above modules can be implemented in hardware or in the form of hardware plus software functional units.
[0121] The integrated modules described above, implemented as software functional modules, can be stored in a computer-readable storage medium. These software functional modules, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods of the various embodiments of this application.
[0122] It should be understood that the steps of the method disclosed in the embodiments of this application can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
[0123] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0124] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A method of warning of an anomaly of a vehicle, characterized by, The application relates to a method for determining the position and attitude of a vehicle, comprising the following steps: establishing a global spatial coordinate system based on a plurality of anchor point devices supporting ultra-wideband (UWB) technology and recording the spatial coordinates of the plurality of anchor point devices; wherein the plurality of anchor point devices are arranged in a detection area, the detection area comprises at least one vehicle, a plurality of tag devices supporting UWB technology are installed on key positions of the vehicle, the key positions at least include the front, rear, roof, bottom, two side doors and key components of the vehicle, and the anchor point devices and the tag devices are connected in communication through the UWB technology; resolving the spatial coordinates of the plurality of tag devices through a trilateration method based on the spatial coordinates of the plurality of anchor point devices; determining the position and attitude of the vehicle according to the spatial coordinates of at least four tag devices, wherein the attitude comprises a yaw angle, a pitch angle and a roll angle; judging the opening and closing state of the vehicle door based on the coordinate offset of the tag device on the two side doors; determining the position of the key component based on the spatial coordinates of the tag device installed on the key component; judging whether the tag device is removed from the vehicle based on the relative position change between the plurality of tag devices; determining whether to trigger an abnormal early warning through a pre-trained risk detection model based on the detection result of the vehicle, wherein the detection result comprises the position, attitude, opening and closing state of the vehicle door, position of the key component and whether the tag device is removed from the vehicle.
2. The method of claim 1, wherein, The method for determining the position and attitude of the vehicle according to the spatial coordinates of at least four tag devices, wherein the attitude comprises a yaw angle, a pitch angle and a roll angle, specifically comprises: determining the position of the vehicle based on the spatial coordinates of the tag device located on the roof, the bottom, the front or the rear of the vehicle; or determining the position of the vehicle based on the center point of the spatial coordinates of the plurality of tag devices; determining the spatial coordinates of the center of mass of the four tag devices based on the spatial coordinates of the four tag devices; subtracting the spatial coordinates of the center of mass from each of the spatial coordinates of the four tag devices to obtain the spatial coordinates of the four tag devices relative to the center of mass; constructing a data matrix based on the spatial coordinates of the four tag devices relative to the center of mass and determining the covariance matrix of the data matrix; performing eigenvalue decomposition on the covariance matrix to obtain eigenvalues and corresponding eigenvectors; sorting the eigenvalues in ascending order and selecting the eigenvectors corresponding to the first three eigenvalues as the main direction, the secondary direction and the vertical direction of the vehicle; constructing a rotation matrix of the current attitude of the vehicle based on the first three eigenvectors; converting the rotation matrix into a yaw angle, a pitch angle and a roll angle for respectively representing the horizontal steering state, the front and rear inclination state and the left and right inclination state of the vehicle.
3. The method of claim 1, wherein, The method for resolving the spatial coordinates of the plurality of tag devices through a trilateration method based on the spatial coordinates of the plurality of anchor point devices specifically comprises: determining distances between the tag device and each of the anchor devices by measuring time of flight (ToF) of UWB signals between at least three of the anchor devices and each of the tag devices through trilateration; for each of the tag devices, constructing a distance constraint relationship with the spatial coordinates of each of the anchor devices as the center of a sphere and the distance as the radius of the sphere; determining spatial coordinates of each of the tag devices in the global spatial coordinate system based on the distance constraint relationships corresponding to the at least three of the anchor devices.
4. The method of claim 1, wherein, determining the opening and closing state of the vehicle door based on the coordinate offset of the tag devices on the two side doors, specifically including: recording initial coordinates of the tag devices on the two side doors in a closed state of the vehicle door; obtaining current coordinates of the tag devices on the two side doors; determining a coordinate offset between the current coordinates and the initial coordinates; if the coordinate offset is greater than a first threshold, determining that the vehicle door is in an open state; if the coordinate offset is less than or equal to the first threshold, determining that the vehicle door is in a closed state.
5. The method of claim 1, wherein, determining whether the tag device is removed from the vehicle based on changes in relative positions between a plurality of the tag devices, specifically including: recording initial relative distances between each of the tag devices in a stationary state of the vehicle; periodically calculating current relative distances between each of the tag devices; if the current relative distance between the tag device and a plurality of other tag devices is greater than the initial relative distance at the same time, determining that the tag device is in an abnormal state; if the duration of the tag device in the abnormal state is greater than a first preset time length, determining that the tag device is removed.
6. The method of claim 1, wherein, determining whether to trigger an abnormal warning based on the detection result of the vehicle through a pre-trained risk detection model, specifically including: triggering an abnormal warning when the pre-trained risk detection model detects that the vehicle drives away from the detection area based on the detection result of the vehicle; triggering an abnormal warning when the pre-trained risk detection model detects that the vehicle door is in an open state for more than a second preset time length based on the detection result of the vehicle; triggering an abnormal warning when the pre-trained risk detection model detects that the tag device or the key component is removed based on the detection result of the vehicle, the key component including at least one of a wheel, a battery pack, a fuel tank, an engine, an engine hood, or a trunk lid.
7. The method of claim 1, wherein, The method further includes: determining whether the warning information of the abnormal warning is a false trigger based on the warning information of the abnormal warning and a preset rule or an artificial review result; if it is determined to be a false trigger, recording a false trigger sample, the false trigger sample including positioning data of the tag device and the detection result of the vehicle; adjusting a determination threshold of the risk detection model based on the false trigger sample to optimize the determination logic of the risk detection model.
8. An abnormality early warning device for a vehicle, characterized by comprising: The space anchor module is configured to establish a global space coordinate system based on a plurality of anchor devices supporting ultra-wideband (UWB) technology and record space coordinates of the plurality of anchor devices. The plurality of anchor devices are arranged in a detection area, and the detection area includes at least one vehicle. A plurality of tag devices supporting UWB technology are installed at key positions of the vehicle, and the key positions include at least a front of the vehicle, a back of the vehicle, a roof of the vehicle, a bottom of the vehicle, two side doors of the vehicle, and key components. The anchor devices and the tag devices are communicatively connected through the UWB technology. The coordinate calculation module is configured to analyze space coordinates of the plurality of tag devices through a trilateration method based on the space coordinates of the plurality of anchor devices. The pose calculation module is configured to determine a position and a pose of the vehicle based on the space coordinates of at least four tag devices. The pose includes a yaw angle, a pitch angle, and a roll angle. The judgment module is configured to determine an opening and closing state of the vehicle door based on a coordinate offset of the tag devices on the two side doors. The position of the key component is determined based on the space coordinates of the tag devices installed on the key component. Whether the tag device is removed from the vehicle is determined based on a relative position change between the plurality of tag devices. The risk detection module is configured to determine whether to trigger a related early warning through a pre-trained risk detection model based on a detection result of the vehicle. The detection result includes the position and the pose of the vehicle, the opening and closing state of the vehicle door, the position of the key component, and whether the tag device is removed from the vehicle.
9. An electronic device, comprising: The electronic device includes a memory and at least one processor. The memory is communicatively connected to the processor. The memory is configured to store computer program code including computer instructions. When the processor executes the computer instructions, the electronic device performs the method according to any one of claims 1-7. The computer readable storage medium stores computer instructions. When the computer instructions are executed by a processor, the method according to any one of claims 1-7 is implemented.
10. A computer-readable storage medium, characterized in that, When the computer program product is running on a computer / being executed by a processor of a computer, the method according to any one of claims 1-7 is implemented.
11. A computer program product, characterised in that,
