Method, apparatus, electronic device and product for vehicle positioning

By utilizing existing vehicle cameras and satellite data combined with map data to correct positioning coordinates, the problems of high cost and insufficient adaptability to complex environments in existing high-precision positioning technologies have been solved, achieving high-precision and low-cost vehicle positioning.

CN123175299APending Publication Date: 2026-11-27MOBILITY ASIA SMART TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611496487.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-23
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing vehicle positioning technologies struggle to simultaneously meet the demands for high precision, low cost, and adaptability to complex environments. In particular, their positioning accuracy is insufficient in complex environments such as urban canyons and tunnels. Furthermore, existing technologies require additional positioning equipment or rely on additional services, increasing vehicle costs.

Method used

By utilizing images captured by the vehicle's existing cameras to determine lane information, and combining this with satellite and map data, the positioning coordinates are corrected to determine the vehicle's offset relative to the lane lines, achieving high-precision positioning without the need for additional positioning equipment.

Benefits of technology

It achieves high-precision positioning in complex environments, reduces system complexity and cost, reduces reliance on additional hardware modules, and improves positioning accuracy and robustness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123175299A_ABST
    Figure CN123175299A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method, device, electronic equipment and product for vehicle positioning. The method comprises determining lane information based on images captured by a camera of the vehicle. The method further comprises determining positioning coordinates of the vehicle based on map data configured for the vehicle and satellite data in response to an available state of the satellite data being available. Furthermore, the method comprises determining an offset of the vehicle relative to a lane line based on the positioning coordinates and the lane information to correct the positioning coordinates, wherein the available state of the satellite data is determined based on a historical corrected positioning coordinates. In this way, precise positioning of the vehicle can be achieved by utilizing existing configurations of the vehicle without additional positioning equipment, thereby reducing the dependence of the positioning system on additional hardware modules and reducing system complexity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of vehicle technology, and more specifically to methods, apparatus, electronic devices and products for vehicle positioning. Background Technology

[0002] With the development of intelligent connected vehicles and autonomous driving technologies, precise vehicle positioning technology has become a crucial foundation for realizing vehicle environmental perception, path planning, and intelligent decision-making. By integrating various technologies such as satellite positioning, sensor data, and communication assistance, precise vehicle positioning technology achieves accurate vehicle location, thereby meeting the needs of applications such as high-precision navigation, autonomous driving, intelligent assisted driving, and vehicle-to-everything (V2X) communication. By accurately determining the vehicle's spatial position in the road environment, vehicles can achieve more reliable path tracking, lane-level navigation, automatic parking, and autonomous decision-making in complex traffic scenarios, improving driving safety, driving efficiency, and user experience. Summary of the Invention

[0003] In a first aspect of the embodiments of this disclosure, a method for vehicle positioning is provided. The method includes determining lane information based on images captured by a camera of the vehicle. The method further includes determining the vehicle's positioning coordinates based on map data configured for the vehicle and the satellite data, in response to the availability of satellite data for the vehicle. Furthermore, the method includes determining an offset of the vehicle relative to lane lines based on the positioning coordinates and the lane information to correct the positioning coordinates, wherein the availability of satellite data is determined based on historically corrected positioning coordinates.

[0004] In a second aspect of the embodiments of this disclosure, an apparatus for vehicle positioning is provided. The apparatus includes a first determining module configured to determine lane information based on images captured by a camera of the vehicle. The apparatus also includes a second determining module configured to determine the vehicle's positioning coordinates based on map data configured for the vehicle and satellite data, in response to the availability of satellite data for the vehicle. Furthermore, the apparatus includes a third determining module configured to determine an offset of the vehicle relative to lane lines based on the positioning coordinates and lane information to correct the positioning coordinates, wherein the availability of satellite data is determined based on historically corrected positioning coordinates.

[0005] In a third aspect of the embodiments of this disclosure, an electronic device is provided. The electronic device includes one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the method provided according to the first aspect of this disclosure.

[0006] In a fourth aspect of embodiments of this disclosure, a computer program product is provided. The computer program product is tangibly stored on a non-transitory computer-readable medium and includes machine-executable instructions that, when executed, cause a machine to implement the method provided according to a first aspect of this disclosure.

[0007] It should be understood that the description in the Summary of the Invention section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0008] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:

[0009] Figure 1 A schematic diagram of an example environment in which several embodiments of the present disclosure may be implemented is shown;

[0010] Figure 2 A schematic diagram of a method for vehicle positioning according to some embodiments of the present disclosure is shown;

[0011] Figure 3 A schematic diagram illustrating an example architecture of a high-precision positioning system according to some embodiments of the present disclosure is shown;

[0012] Figure 4 A schematic diagram illustrating an example flow of a vehicle positioning method according to some embodiments of the present disclosure is shown;

[0013] Figure 5 A schematic diagram illustrating an example of a process for determining the availability status of satellite data based on historically corrected positioning coordinates according to some embodiments of the present disclosure;

[0014] Figure 6 A block diagram of an apparatus for vehicle positioning according to some embodiments of the present disclosure is shown;

[0015] Figure 7 A block diagram of a controller capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation

[0016] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0017] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0018] The specific numerical values ​​used in the following examples are for illustrative purposes only and do not constitute a limitation of this disclosure.

[0019] As mentioned above, accurate vehicle positioning can be used in various traffic scenarios or other tasks. However, current vehicle positioning technologies still have limitations, making it difficult to simultaneously meet the demands for high precision, low cost, and adaptability to complex environments. For example, Real-Time Differential (RTD) positioning solutions typically only achieve sub-meter level positioning accuracy and require the purchase of additional RTD services to meet high-precision positioning requirements. While Precise Point Positioning (PPP) can provide high positioning accuracy, it suffers from long convergence times and insufficient robustness in dynamic scenarios, making it difficult to widely apply to high-speed moving vehicle scenarios. Currently, Real-Time Kinematic (RTK) positioning is widely used in the vehicle field, but it usually requires vehicles to be equipped with additional positioning devices that support RTK calculations and relies on additional RTK services, thus increasing vehicle costs. Furthermore, RTK positioning is susceptible to satellite signal obstruction and may not provide continuous and reliable positioning results in complex environments such as urban canyons, tunnels, and under overpasses. Furthermore, relative positioning information obtained based on environmental perception technologies such as LiDAR and cameras mainly serves intelligent driving functions and is difficult to provide high-precision absolute position information in a unified coordinate system for other vehicle functional modules such as navigation and vehicle-to-everything (V2X).

[0020] To address this, this disclosure proposes a method for vehicle positioning that determines the vehicle's offset relative to lane lines using lane information and positioning coordinates, thereby correcting the positioning coordinates. The lane information is determined using images captured by a camera, and the positioning coordinates are determined using available satellite data and map data. Furthermore, the availability of satellite data is determined by historical adjustments to the positioning coordinates.

[0021] In this way, no additional positioning equipment is required; the vehicle's existing configuration can be used to achieve accurate positioning, thereby reducing the positioning system's dependence on additional hardware modules and lowering system complexity.

[0022] To better understand the methods and related implementation environments of this disclosure, please refer to Figures 1 to 7 Exemplary embodiments of this disclosure are described.

[0023] Figure 1 A schematic diagram of an example environment 100 in which various embodiments of this disclosure may be implemented is shown. For example... Figure 1 As shown, in example environment 100, a vehicle 102 is included. According to embodiments of this disclosure, vehicle 102 refers to any type of motorized or non-motorized vehicle capable of carrying people and / or goods and being mobile. Figure 1 As shown, vehicle 102 is illustrated as a sedan. It should be understood that although vehicle 102 is... Figure 1 The image shown is of a sedan, but this is only an example and is far from limited to this; examples could also include buses, trucks, motorcycles, electric vehicles, and other vehicles equipped with precise vehicle positioning technology.

[0024] In example environment 100, various types of sensors can be deployed inside and outside the vehicle 102 to sense the vehicle's internal environment, surrounding environment, and vehicle speed. These sensors may include, but are not limited to, visual sensors (such as cameras), wheel speed sensors, angle sensors, millimeter-wave radar, lidar, infrared sensors, Global Navigation Satellite System (GNSS), ultrasonic sensors, collision sensors, inertial measurement units, and other sensors.

[0025] like Figure 1As shown, in example environment 100, a high-precision positioning system 104 is also deployed on vehicle 102. The high-precision positioning system 104 can fuse satellite data 118, on-board sensor data (such as images 108 captured by cameras, wheel speed data collected by wheel speed sensors, and acceleration data collected by inertial measurement units), map data 106, etc., to determine high-precision positioning coordinates 110. Furthermore, the high-precision positioning coordinates 110 of vehicle 102 output by the high-precision positioning system 104 can be used to meet other multi-scenario requirements. For example, the high-precision positioning coordinates 110 can be used for lane-level navigation 112, participate in internal or external communication 114 of vehicle 102, and for intelligent driving 116, etc.

[0026] In example environment 100, satellite data 118 can be acquired based on the Global Navigation Satellite System and can provide raw data such as the current latitude and longitude coordinates, heading angle, and speed of vehicle 102. It should be understood that the latitude and longitude coordinates provided by satellite data 118 are relatively coarse and cannot meet the requirements of lane-level navigation 112, internal or external communication 114, and intelligent driving 116. Therefore, a high-precision positioning system 104 is needed for further processing to obtain high-precision positioning coordinates 110. Map data 106 can be obtained from a road map database configured on vehicle 102. The road map database can be updated via over-the-air download technology to ensure timely access to the latest map data 106. Based on map matching, the currently matched road signs and their relative position to the road starting point of vehicle 102 can be determined.

[0027] In example environment 100, high-precision positioning system 104 can determine approximate latitude and longitude coordinates based on satellite data 118. Then, based on the positioning sequence of satellite data 118 and combined with map data 106, it determines the lane number of vehicle 102 (which may also be referred to as the "first lane number" in other embodiments), and determines the initial positioning coordinates of the vehicle through the coordinates of this lane. For example, high-precision positioning system 104 can fuse the satellite data 118 sequence as an observation sequence, use road segments from the road map database as hidden states, and use a hidden Markov model to determine the most likely road matching result in the observation sequence. In addition, high-precision positioning system 104 can also acquire images 108 of the surrounding environment of vehicle 102 through a camera on vehicle 102, and then determine lane information based on the images. Based on the lane information and the initial positioning coordinates, it determines the offset of vehicle 102 relative to the lane, corrects the initial positioning coordinates based on the offset, and finally obtains the high-precision positioning coordinates 110 of vehicle 102. The lane information may include the number of lanes, lane number, and lane line attributes, etc. The lane information determined by the image 108 captured by the camera can be verified and corrected based on the positioning data determined by satellite data 118 and map data 106, thereby obtaining more accurate positioning data to meet the needs of lane-level navigation 112, internal or external communication 114 of participating vehicle 102, and for intelligent driving 116.

[0028] In some examples, the offset of vehicle 102 relative to the lane lines may include lateral distance. High-precision positioning system 104 can determine the lateral distance based on the fitted curve of the lane lines in the image 108 captured by the camera, and determine the deflection angle of vehicle 102 relative to the lane lines based on the heading angle provided by satellite data 118, thereby laterally correcting the positioning coordinates based on the deflection angle and the lateral distance.

[0029] In some embodiments, the offset of vehicle 102 relative to the lane line may also include a longitudinal offset distance. The high-precision positioning system 104 can determine a static reference in image 108, determine the reference coordinates of the static reference based on map data 106, and determine the longitudinal offset distance based on the relative distance of vehicle 102 relative to the static reference and the reference coordinates.

[0030] In addition, in some embodiments, when determining static reference objects, static reference objects within a preset range can be used as a set of reference objects. Bipartite graph matching is performed based on the Hungarian algorithm to obtain the best matching result of the static reference objects. The longitudinal offset distance is determined based on the reference object coordinates of the static reference objects with the best matching result.

[0031] In addition, in some embodiments, the positioning coordinates determined based on map data 106 and satellite data 118 can be initially corrected according to the determined lateral distance to obtain the first coordinates, and then a static reference object within a preset range can be determined with the first coordinate as the center.

[0032] like Figure 1 As shown, in example environment 100, high-precision positioning coordinates 110 can also determine the availability status of satellite data 118, thereby identifying whether satellite data 118 is reliable (e.g., whether it is a spoofing signal). For example, the latest determined corrected positioning coordinates (in some embodiments, they may also be referred to as historical corrected positioning coordinates) are used as reference coordinates to determine the movement information of vehicle 102 based on the current satellite data. In some examples, historical corrected positioning coordinates may include the latest determined corrected positioning coordinates, including corrected positioning coordinates determined in the same frame as the current satellite data, or previously determined corrected positioning coordinates (e.g., corrected positioning coordinates determined in the previous update cycle, or predicted coordinates obtained by extrapolating previous coordinates based on sensor data). When the movement information exceeds a preset offset threshold, the current satellite data is considered unreliable, thus determining that the satellite data is unavailable and cannot be used to determine the next high-precision positioning coordinates 110. At this time, high-precision positioning system 104 can switch positioning modes, such as switching to trajectory extrapolation mode, to update the positioning coordinates of vehicle 102 based on sensor data.

[0033] In this way, there is no need to configure additional positioning equipment for vehicle 102. Accurate positioning of vehicle 102 can be achieved using the existing configuration of vehicle 102, thereby reducing the dependence of the positioning system on additional hardware modules and reducing system complexity.

[0034] To better understand the overall concept for vehicle positioning disclosed herein, Figure 2 A schematic diagram of a method 200 for vehicle positioning according to some embodiments of the present disclosure is shown. Figure 2 As shown, method 200 can be executed by a processor, for example by... Figure 1 The processor of the high-precision positioning system 104 shown executes the commands.

[0035] In box 202, the processor can determine lane information based on images captured by the vehicle's cameras. For example, in Figure 1In the example environment 100 shown, the processor of the high-precision positioning system 104 can determine lane information for vehicle 102 based on images 108 captured by a camera on vehicle 102. This lane information may include the number of lanes, lane numbers, and lane line attributes. Lane line attributes may include the color (e.g., yellow or white) and line type (e.g., solid or dashed lines) of the lane lines, used to indicate traffic information. Lane information determined from images can more accurately reflect the vehicle's current environment. Furthermore, the number of lanes and lane numbers can be identified using algorithms such as edge detection. Lane line attributes can be determined after identification using algorithms such as image recognition.

[0036] In box 204, in response to the availability of satellite data, the processor can determine the vehicle's location coordinates based on map data and satellite data configured for the vehicle. For example, in Figure 1 In the example environment 100 shown, the processor of the high-precision positioning system 104 can determine the initial positioning coordinates of vehicle 102 based on map data 106 of the road map database configured on vehicle 102 and satellite data 118 when satellite data 118 is available. The determination that satellite data is available indicates that the current satellite data has not been subjected to a spoofing attack, and the latitude and longitude coordinates of the vehicle provided by the satellite data are reliable.

[0037] In box 206, based on the positioning coordinates and lane information, the processor can determine the vehicle's offset relative to the lane lines, thereby correcting the positioning coordinates. The availability of satellite data can be determined based on historical positioning coordinate corrections. For example, in... Figure 1 In the example environment 100 shown, the processor of the high-precision positioning system 104 can determine the offset of vehicle 102 relative to the lane line based on the initial positioning coordinates and lane information, and then correct the initial positioning coordinates according to the offset to determine the high-precision positioning coordinates 110. After determining the high-precision positioning coordinates, the vehicle's movement information can be determined based on the most recently determined high-precision positioning coordinates and current satellite data. If the movement information exceeds a preset offset range, it is determined that the current satellite data is unavailable and cannot be used to determine the high-precision positioning coordinates. Conversely, if the movement information is within the preset offset range, it indicates that the current satellite data is available, and the vehicle's positioning coordinates can be determined based on the satellite data and map data.

[0038] In this way, no additional positioning equipment is required; the vehicle's existing configuration can be used to achieve accurate positioning, thereby reducing the positioning system's dependence on additional hardware modules and lowering system complexity.

[0039] Figure 3 A schematic diagram of an example 300 of the architecture of a high-precision positioning system according to some embodiments of the present disclosure is shown. Figure 3As shown in Example 300, the high-precision positioning system includes a sensor layer 301, a fusion positioning and safety monitoring layer 302, a perception and preprocessing layer 303, a map matching layer 304, a high-precision position calculation layer 305, and an output and safety response layer 306. The sensor layer 301 includes various sensors for collecting raw data related to vehicle positioning. The fusion positioning and safety monitoring layer 302 performs fusion processing and safety monitoring on the collected raw data. The perception and preprocessing layer 303 preprocesses the collected image data, such as performing edge detection and image recognition. The map matching layer 304 performs map matching based on the output data of the fusion positioning and safety monitoring layer 302 to obtain the matched lane number. The high-precision position calculation layer 305 determines the high-precision positioning coordinates based on the outputs of the perception and preprocessing layer 303 and the map matching layer 304. The output and safety response layer 306 includes a positioning coordinate output module 363, a feedback interface 361, and a response module 362. The positioning coordinate output module 363 is used to output high-precision positioning coordinates; the feedback interface 361 is used to directly transmit the corrected positioning coordinates output by the high-precision position calculation layer 305 to the attack detection module 324, and feed back the corrected positioning coordinates as additional observations to the filtering fusion module 323 and the trajectory estimation module 325 to obtain fused data for updating subsequent positioning coordinates; the response module 362 is used to generate corresponding responses based on the security monitoring results, including generating prompt information and control commands for the vehicle. The following will provide a detailed description of each architecture layer and its included modules and units.

[0040] Based on the above architecture, the vehicle positioning process can be refined step by step in a cascade manner, with the output accuracy of each level gradually increasing: The first level is based on the fusion positioning of satellite data and sensor data (horizontal accuracy approximately 5-20 meters); the second level is based on road-level positioning using map matching (approximately 3-5 meters); the third level is based on lane-level positioning using lane line matching (lateral accuracy approximately 0.5-1.5 meters, longitudinal accuracy inherited from the second level); the fourth level is based on precise lane-within-lane positioning using geometric deflection projection (lateral accuracy approximately 0.1-0.5 meters, longitudinal accuracy limited by the distance between the vehicle's current position and the road starting point output by map matching, approximately 1-5 meters); the fifth level is based on positioning corrected by static references (lateral accuracy can reach centimeter level, longitudinal accuracy can reach decimeter level, for example, lateral accuracy approximately 0.05-0.15 meters, longitudinal accuracy approximately 0.2-0.45 meters). That is, the lateral accuracy increases step by step, while the longitudinal accuracy experiences a leap in the fifth level—this is also the reason for setting up a fifth-level road reference for longitudinal secondary correction. When the fifth-level longitudinal correction is effective, the radial positioning error in the horizontal plane of the final output positioning coordinates does not exceed 0.5 meters; under unfavorable working conditions (such as insufficient number of available static references, or decreased detection confidence leading to a weakening of the fifth-level longitudinal correction), the lateral positioning error of the final output coordinates does not exceed 0.5 meters, and the longitudinal positioning error can also reach the level of the fourth level (approximately 1 to 5 meters).

[0041] like Figure 3 As shown, the sensor layer 301 includes a GNSS positioning module 311, an inertial measurement unit 312, a wheel speed sensor 313, and a camera 314. The GNSS positioning module 311 provides raw satellite data such as the vehicle's current latitude and longitude coordinates, speed, and heading angle. The GNSS positioning module 311 provides a latitude and longitude coordinate reference for the fusion positioning and safety monitoring layer 302. The inertial measurement unit 312 collects the vehicle's three-axis acceleration and three-axis angular velocity data for short-term vehicle attitude estimation. Furthermore, when GNSS signals are unavailable (e.g., due to signal quality degradation or loss, or malicious attacks), the data collected by the inertial measurement unit 312 is crucial input data for trajectory estimation. The wheel speed sensor 313 provides the rotational speed pulse signals of each wheel, converting the wheel circumference to obtain the vehicle's speed and distance increment, providing odometer constraints and effectively suppressing speed drift during individual integration by the inertial measurement unit 312. The camera 314 is a forward-facing camera mounted behind the vehicle's windshield, capable of capturing images of the road ahead at a fixed frame rate. The camera 314 can be monocular or multi-view.

[0042] In Example 300, the fusion positioning and security monitoring layer 302 includes a signal quality assessment module 321, a positioning mode switching module 322, a filtering and fusion module 323, an attack detection module 324, and a trajectory estimation module 325. The signal quality assessment module 321 can assess the signal status of the satellite data provided by the current GNSS positioning module 311 in real time, thereby determining the signal quality. In some examples, assessment metrics may include: the number of visible satellites, signal-to-noise ratio, positioning solution type (e.g., point positioning / differential positioning / RTK fixed solution), and the estimated standard deviation of the positioning location. Based on the comprehensive score of the assessment metrics, the signal quality of the satellite data can be divided into three levels: "good" (can participate in fusion solution), "poor" (unreliable for reference only), and "none" (completely lost); alternatively, the availability status of the satellite data can be directly determined as "available" or "unavailable." The positioning mode switching module 322 can jointly decide on the positioning mode based on the signal status of the satellite data provided by the GNSS positioning module 311 and the security monitoring results for the satellite data. The positioning mode may include a fusion positioning mode and a trajectory estimation mode. When satellite data is available, the positioning mode is fusion positioning mode, which uses satellite data provided by GNSS positioning module 311, data collected by inertial measurement unit 312, and data collected by wheel speed sensor 313 to determine the vehicle's high-precision positioning coordinates. Otherwise, when satellite data is unavailable, the positioning mode is trajectory extrapolation mode, in which case trajectory extrapolation module 325 can determine the vehicle's positioning coordinates based on inertial measurement unit 312 and wheel speed sensor 313.

[0043] In fusion positioning mode, the filtering and fusion module 323 can employ extended Kalman filtering or unscented Kalman filtering to perform optimal state estimation on the position and velocity observations provided by the GNSS positioning module 311 (in some embodiments, it may also include the raw observations provided by the GNSS positioning module 311, such as pseudorange and / or pseudorange rate, thereby achieving tightly coupled multi-source fusion), the acceleration and angular velocity collected by the inertial measurement unit 312, the mileage increment collected by the wheel speed sensor 313, and the corrected positioning coordinates fed back via the feedback interface 361 when available. The state vector includes the vehicle's position (e.g., longitude, latitude, altitude), velocity components (e.g., east, north, and azimuth), attitude (e.g., roll angle, pitch angle, and yaw angle), and the accelerometer bias and gyroscope bias of the inertial measurement unit 312.

[0044] The attack detection module 324 can use the high-precision positioning coordinates output by the high-precision position calculation layer 305 as the reference coordinates to perform multi-dimensional cross-verification of the satellite data provided by the GNSS positioning module 311 and monitor in real time whether the GNSS positioning module 311 is subjected to spoofing attacks.

[0045] like Figure 3As shown, the perception and preprocessing layer 303 includes an image processing module 331, a lane detection algorithm (LDA) extraction module 332, an attribute recognition module 333, and a reference object detection module 334. Among them, the image processing module 331 can preprocess the raw image captured by the camera 314 (e.g., perform distortion correction, white balance, noise reduction, etc.).

[0046] The LDA extraction module 332 can perform lane line detection and fitting on the preprocessed image output by the image processing module 331, converting the detected lane lines into a mathematical expression of the LDA signal. For example, in the vehicle body coordinate system, each lane line can be represented as a cubic polynomial y(x) = ax 3 + bx 2 + cx + k, where k is the intercept of the lane line in the vehicle coordinate system (i.e., the distance of the lane line from the vehicle). The LDA extraction module 332 can output the mathematical expression of the lane lines and the relative positional relationship between each lane line, which is used by the high-precision position calculation layer 305 to determine the lane number and the number of lanes.

[0047] The attribute recognition module 333 can utilize a deep convolutional neural network to perform fine-grained lane line attribute classification for each lane line corresponding to the LDA signal. Lane line attributes can include line type (e.g., solid line, dashed line, double solid line, left dashed right solid, left solid right dashed), color (e.g., white, yellow, blue), and edge type (e.g., ordinary lane line, curb, guardrail, median strip). This provides crucial semantic dimension information for lane attribute verification in the high-precision location calculation layer 305.

[0048] The reference object detection module 334 can utilize deep learning-based image target detection and semantic segmentation algorithms to detect static reference objects located on the road in front of the vehicle in real time within the image captured by the camera 314. Static reference objects can include ground anchor point reference objects and suspended anchor point reference objects. Ground anchor points are road surface elements located within the road plane, including but not limited to stop lines, pedestrian crossings (zebra crossings), directional arrows, and road surface text markings. Suspended anchor points are fixed infrastructure not located within the road plane, including but not limited to road signs (speed limit signs, directional signs, exit warning signs, etc.), traffic lights, streetlights, gantries, and mileage markers. Based on the configured road map database, the known precise geographic coordinates of the static reference objects (which may also be referred to as "reference object coordinates" in other embodiments) can be determined. Road surface elements are recorded using their point coordinates. For each detected static reference object, the reference object detection module 334 can output the longitudinal distance dx (along the x-axis of the vehicle coordinate system, positive from the front of the vehicle) and the lateral distance dy (along the y-axis of the vehicle coordinate system, positive from the left side of the vehicle) of the static reference object in the vehicle body coordinate system, and associate the category to which the static reference object belongs (ground anchor point reference object or suspended anchor point reference object) and the sub-category to which the static reference object belongs (the sub-category of ground anchor point reference objects can include stop lines, pedestrian crossings, directional arrows, road markings, etc.; the sub-category of suspended anchor point reference objects can include road signs, speed limit signs, traffic lights, street lamp poles, gantries, mileage markers, etc.) and a unique identifier. Among them, the longitudinal distance of the ground anchor point reference object is determined by the homography transformation of the ground plane, and the longitudinal distance of the suspended anchor point reference object can be determined by monocular dimension prior or binocular triangulation method. Furthermore, since the ground anchor points and lane lines coexist on the same plane, the pitch parameters required for longitudinal ranging of the ground anchor points can be self-calibrated using the horizon estimated from the vanishing point of the lane lines within the same frame, thereby reducing the pitch angle calibration error to a smaller order of magnitude. It should be noted that the longitudinal ranging error δd of the ground anchor points is sensitive to the pitch angle height, and can be calculated as δd=(H... 2 +d 2 )·δ / H estimation (where H is the camera's height above the ground, and d is the horizontal distance between the ground anchor point and the camera's projection point on the ground). δ (For pitch angle measurement error), when H is about 1.2 meters, the longitudinal accuracy requirement of 0.45 meters is achieved at 20 meters, with the pitch residual within about 0.08° and within 0.012° at 50 meters. However, the residual of the single-frame estimation using the vanishing point method is usually 0.05°~0.2°, so it should be used after inter-frame filtering. The achievable residual order can be determined in the system calibration.

[0049] like Figure 3As shown, the map matching layer 304 includes a map matching module 341 and a road map database 342 configured on the vehicle. The map matching module 341 uses the coordinate sequence output by the fusion positioning and safety monitoring layer 302 as the observation sequence, and road segments in the road map database 342 as hidden states, utilizing a hidden Markov model to determine the most probable road matching result for the observation sequence. The matching result output by the map matching module 341 may include the matched road sign, matching confidence, the distance D1 of the vehicle's current position along the road direction from the road's start or end point, the coordinates of the vehicle's projection point on the road, and the vehicle's lane number (in other embodiments, it may also be referred to as the "first lane number"). The road map database 342 is a high-precision map configured on the vehicle, providing high-precision road-level coordinate data.

[0050] like Figure 3 As shown, the high-precision position calculation layer 305 includes a lane calculation module 351, an attribute verification module 353, a lateral correction module 352, and a longitudinal correction module 354. The lane calculation module 351 can extract the cubic polynomial coefficients of the left and right lane lines with the highest confidence levels adjacent to the vehicle from the LDA signal, calculate the lateral distance λ between the vehicle and the two lane lines, and the vehicle's relative position on the road cross-section. Based on the output data of the map matching layer 304, it determines the lane number (or "second lane number" in other embodiments), the number of lanes, and the road markings. Furthermore, when the lane calculation module 351 determines, based on the output result of the LDA extraction module 332, that the output result of the map matching layer 304 is inaccurate and therefore cannot obtain an accurate lane number and number of lanes, it can also return preliminary confirmation information, triggering the map matching layer 304 to re-output the matching result.

[0051] The attribute verification module 353 can cross-compare the lane line attributes (line type, color, etc.) output by the attribute recognition module 333 with the number of lanes output by the lane calculation module 351. If they match, the output result of the map matching layer 304 is confirmed to be accurate. Otherwise, the result of the verification is returned to the map matching layer 304, triggering the map matching layer 304 to re-output the matching result, until the attribute verification module 353 passes the verification or all candidate roads have been traversed.

[0052] The lateral correction module 352 can extract the precise geographic coordinates of the corresponding lane line from the map data based on the finally confirmed road signs and lane numbers, thereby performing lateral correction on the positioning coordinates to obtain the first coordinates. For example, the vehicle position is projected onto the lane line along the longitudinal direction of the road to determine the distance of the vehicle relative to the starting point of the road, thus obtaining the coordinates of the projection point. Then, based on the intercept of the lane line fitting curve in the vehicle body coordinate system (for example, the intercept k when x=0 in the aforementioned cubic polynomial, |k| is the lateral distance λ), the lateral distance λ of the vehicle deviating from the lane line is determined; and based on the geometric relationship between the vehicle's heading angle and the lane line direction, the deflection angle Φ of the vehicle relative to the lane line is determined. Finally, according to the Earth's surface model, the projection point coordinates are deflected by the lateral distance λ along the deflection angle Φ to obtain the high-precision positioning coordinates Ch1 after lateral correction (i.e., the "first coordinates" mentioned above).

[0053] The longitudinal correction module 354 is used to longitudinally correct the first coordinates based on static references to obtain high-precision positioning coordinates. For example, when the reference detection module 334 detects a valid static reference in the current frame image, it constructs a bipartite graph matching model between the set of static references (including ground anchor references and suspended anchor references, hereinafter referred to as "detected anchors") and the set of map anchors. A cost matrix is ​​then constructed based on the spatial distance and category consistency between the detected anchors and the map anchors, and the optimal matching relationship is solved using the Hungarian algorithm. Based on successfully matched anchor pairs, the vehicle's coordinates are calculated using the longitudinal distance dx and lateral distance dy of the detected anchor relative to the vehicle, as well as the known coordinates C of the static reference corresponding to the map anchor, with the anchor as a reference, thus obtaining the longitudinal offset distance. The longitudinal offset distance is then fused with the first coordinate Ch1 to obtain the final high-precision positioning coordinates Ch2.

[0054] In some embodiments, the corrected positioning coordinates output by the high-precision position calculation layer 305 can also be fed back to the filtering and fusion module 323 and the trajectory estimation module 325 as additional observations via the feedback interface 361, participating in the positioning calculation at subsequent times, thereby forming a closed loop: during the period when satellite data is available, the filtering and fusion continuously estimates the bias parameters of the inertial measurement unit 312, enabling the trajectory estimation model to be calibrated online; during the period when satellite data is unavailable (e.g., in tunnels, under viaducts, urban canyons, etc.), the camera 314 continues to work, and the high-precision position calculation layer 305 can still output effective corrected positioning coordinates based on lane lines and static references. These coordinates are updated with state estimates as additional observations at a preset frequency, thereby suppressing the cumulative drift of trajectory estimation; and each feedback update can also recalibrate the online bias estimate of the inertial measurement unit 312, reducing the error growth rate in subsequent pure recursive periods.

[0055] use Figure 3The high-precision positioning system shown does not require additional positioning equipment. It can achieve accurate positioning of the vehicle using the vehicle's existing configuration, thereby reducing the system's dependence on additional hardware modules and reducing system complexity.

[0056] To better understand the concept of determining the high-precision positioning coordinates of a vehicle as disclosed in this disclosure, Figure 4 A schematic diagram of an example 400 illustrating the flow of a vehicle positioning method according to some embodiments of the present disclosure is shown. Figure 4 As shown, in box 401, the processor can acquire images of the vehicle's external surroundings using a camera on the vehicle. The acquired images can realistically reflect information about the vehicle's external environment, such as lane lines, crosswalks, road signs, traffic lights, and streetlights. For example, in example 300, camera 314 acquires images of the vehicle's perimeter. Therefore, in box 406, the processor can identify lane lines based on the images. For example, lane line detection can be performed using an edge detection algorithm. For example, in example 300, the LDA extraction module 332 represents each detected lane line as a cubic polynomial in the vehicle's body coordinate system: y(x) = ax 3 + bx 2 + cx +k, where the vehicle's coordinate system is defined as follows: the positive x-axis points forward along the front of the vehicle, the positive y-axis points to the left of the vehicle, and the positive z-axis points directly above the vehicle. During detection and recognition, the lane line signal y with the highest confidence and closest to the vehicle is selected. Let x = 0, then y = (x), (0) = k, where |k| is the lateral distance λ between the vehicle and the lane line. The sign of k indicates whether the lane line is to the left (k>0) or to the right (k<0) of the vehicle.

[0057] Furthermore, based on the acquired images, in box 407, the processor can also determine lane line attributes. For example, in example 300, the attribute recognition module 333 can use a deep convolutional neural network to perform fine-grained lane line attribute classification for each lane line corresponding to the LDA signal. Also, in box 411, the processor can perform static reference object detection based on the acquired images. For example, in example 300, the reference object detection module 334 can use a deep learning-based image object detection and semantic segmentation algorithm to detect static reference objects located in the road ahead of the vehicle in the image acquired by the camera 314 in real time. For the i-th anchor point of the detected static reference object, the following data can be output: anchor point category class_i and its class (e.g., ground anchor point or suspended anchor point); longitudinal distance dx_i of the reference object relative to the vehicle; lateral distance dy_i of the reference object relative to the vehicle; bounding box, feature description, and detection confidence conf_i of the anchor point in the image. This data serves as input data for subsequent longitudinal correction.

[0058] like Figure 4 As shown, in block 402, the processor can also acquire data from multiple sensors. For example, in example 300, the processor can acquire data from the GNSS positioning module 311, the inertial measurement unit 312, and the wheel speed sensor 313. Furthermore, in block 403, the processor fuses the acquired multi-source data. For example, in example 300, the filtering and fusion module 323 can use extended Kalman filtering or unscented Kalman filtering in the fusion positioning mode to perform optimal state estimation on the position and velocity observations provided by the GNSS positioning module 311, the acceleration and angular velocity acquired by the inertial measurement unit 312, and the mileage increment acquired by the wheel speed sensor 313. Based on the fused state estimation output, in block 404, the processor can combine map matching to obtain the vehicle's initial positioning coordinates. For example, in example 300, the map matching module 341 can use the coordinate sequence output by the fusion positioning and safety monitoring layer 302 as the observation sequence, and the road segments in the road map database 342 as the hidden state, and use a hidden Markov model to determine the most probable road matching result for the observation sequence. Furthermore, the matching results may include the matching road sign, the matching confidence level, the distance D1 of the vehicle's current position along the road direction from the start or end of the road, the coordinates of the vehicle's projection point on the road, and the first lane number of the vehicle.

[0059] Therefore, in block 405, the processor can determine the second lane number of the vehicle based on the lane lines recognized by the image and the matching results obtained from map matching. The second lane number is more accurate than the first lane number because it has been verified with the image recognition results. For example, in example 300, the lane calculation module 351 can extract the cubic polynomial coefficients of the left and right lane lines with the highest confidence adjacent to the vehicle from the LDA signal, calculate the lateral distance λ between the vehicle and the two lane lines and the relative position of the vehicle on the road cross section, and determine the second lane number, the number of lanes, and road signs of the vehicle based on the output data of the map matching layer 304.

[0060] The processor may, based on the lane line attribute determined in block 407 and the second lane number determined in block 405, further perform verification in block 408 to determine whether the two are consistent. For example, in example 300, the attribute verification module 353 may cross-compare the lane line attribute (lane line type, color, etc.) output by the attribute recognition module 333 with the lane number output by the lane calculation module 351. If it is determined in block 408 that the two are inconsistent, the procedure returns to block 404, triggering map matching to re-obtain the first lane number based on the ranking. On the contrary, if it is determined in block 408 that the two are consistent, it means that a result based on map matching is accurate. In block 409, the processor extracts a lane coordinate based on a road map database, so as to determine projection point coordinates of the vehicle. For example, based on the road identifier and lane numbering confirmed by map matching, a geographic coordinate sequence (i.e., a set of latitude and longitude coordinate points) of a corresponding lane line is extracted from the configured road map database. Here, the lateral distance λ is determined in block 406, and is obtained from a detected lane line with the highest confidence. A projection point of the vehicle determined in block 409 should fall on a same corresponding lane line as the lane line in the map, so as to ensure that a deflection starting point and the lateral distance λ are based on a same lane line. Along the direction of the lane line, according to a distance D1 of the vehicle from a road starting point (or an end point), piecewise linear interpolation is performed on a point set of the lane line, so as to obtain projection point coordinates of the vehicle along the road direction: (P1H(latitude), P1H(longitude)), where P1H(latitude) represents a latitude coordinate, and P1H(longitude) represents a longitude coordinate, and they may be determined according to the following formulas respectively: P1H(latitude)= lat_start + (lat_end - lat_start) · (D1 - s_start) / (s_end - s_start) P1H(longitude) = lon_start + (lon_end - lon_start) · (D1 - s_start) / (s_end - s_start) Here, lat_start, lon_start, lat_end, and lon_end respectively represent a latitude coordinate and a longitude coordinate at two ends of a polyline segment in the lane line point set that includes a distance D1 of an arc length, s_start and s_end respectively represent cumulative arc lengths (calculated from a starting point of the lane line) at two ends of the polyline segment along a direction of the lane line, and satisfy s_start≤D1<s_end, and D1 represents a distance of a current location of the vehicle from a road starting point (or an end point).

[0061] Then, in box 410, the processor can perform lateral correction on the vehicle's projection point coordinates to obtain the vehicle's first coordinates. For example, in example 300, the lateral correction module 352 can extract the precise geographic coordinates of the corresponding lane line in the map data based on the finally confirmed road signs and lane numbers, thereby performing lateral correction on the positioning coordinates to obtain the first coordinates. For example, the vehicle's deflection angle Φ relative to the lane line can be determined first based on the vehicle's heading angle. The deflection angle Φ is the perpendicular direction angle from the projection point on the target lane line to the vehicle's actual position, determined by the relative geometric relationship between the vehicle's heading angle and the lane line. Considering the geometry of the Earth's ellipsoid, a spherical approximation model (Earth radius R = 6371000 meters) is used to correct the deflection of the projection point coordinates P1H to obtain the first coordinates. For example, the heading angle is first converted to radians: θ_rad = θ·π / 180, where θ is the vehicle's heading angle at the current moment. If the lane line with the highest confidence level is determined to be the right lane line in box 406, then the deflection angle Φ = θ_rad - π / 2, which is a 90° counterclockwise rotation of the heading angle. If the lane line with the highest confidence level is determined to be the left lane line in box 406, then the deflection angle Φ = θ_rad + π / 2, which is a 90° clockwise rotation of the heading angle. Simultaneously, the latitude and longitude coordinates of the projected point P1H are converted to radians, for example, using the following formula: lat_p1h_rad=P1H(latitude)·π / 180 lon_p1h_rad=P1H(longitude)·π / 180 Where lat_p1h_rad represents the latitude in radians of the converted projection point coordinates P1H, and lon_p1h_rad represents the longitude in radians of the converted projection point coordinates P1H. Φ_rad represents the deflection angle Φ in radians, i.e., Φ_rad = Φ (Φ has already been defined in radians in the previous steps and does not need to be converted again here); furthermore, the value of Φ can be normalized to [0, 2π).

[0062] For the latitude coordinates in the first coordinate system, first determine the latitude deflection in radians based on the deflection angle: Ch1_lat_rad=lat_p1h_rad+(λ·cos(Φ_rad)) / R Where Ch1_lat_rad represents the deflected latitude in radians, λ is the lateral distance, and Φ_rad is the deflection angle in radians. Therefore, the radians are further converted to latitude coordinates, for example, by the following formula: Ch1(latitude)=Ch1_lat_rad·180 / π For the longitude coordinates in the first coordinate system, the deflection in radians and the deflected longitude coordinates can be determined in the same way, for example, using the following formulas: Ch1_lon_rad=lon_p1h_rad+(λ·sin(Φ_rad)) / (R·cos(lat_p1h_rad)) Ch1(longitude)=Ch1_lon_rad·180 / π Furthermore, when high-confidence detection results for both the left and right lane lines are simultaneously output in box 406, the first coordinate can also be determined using a weighted fusion method. For example, the first coordinate can be determined using the following formula: Ch1_weighted=w_left·Ch1_left+w_right·Ch1_right Here, w_left and w_right are the normalized weights of the confidence scores of the left and right lane lines, respectively, and Ch1_left and Ch1_right are the deflection coordinates calculated based on the left and right lane lines, respectively. Furthermore, the weights are directly proportional to the lane line detection confidence score and inversely proportional to the distance between the lane line and the vehicle; that is, the higher the confidence score and the closer the distance, the higher the weight.

[0063] Continue to refer to Figure 4 After obtaining the first coordinate by lateral correction of the projected point coordinates, in box 412, the processor can also perform longitudinal correction on the first coordinate based on the set of static references output in box 411, thereby outputting the high-precision coordinates of the vehicle at the current moment in box 413. For example, in example 300, the longitudinal correction module 354 constructs a cost matrix based on the spatial distance and category consistency between the detection anchor point and the map anchor point, and uses the Hungarian algorithm to solve for the optimal matching relationship. Based on the successfully matched anchor point pairs, the coordinates of the vehicle are calculated using the longitudinal distance dx and lateral distance dy of the detection anchor point relative to the vehicle, as well as the known precise coordinates C of the static reference corresponding to the map anchor point, with the anchor point as the reference, thereby obtaining the longitudinal offset distance. The longitudinal offset distance is then fused with the first coordinate Ch1 to obtain the final high-precision positioning coordinates Ch2.

[0064] In some examples, static reference objects can also be determined based on the first coordinate. For example, in single-frame detection, suppose p reference objects O={o1, o2, ..., o_p} are detected. Simultaneously, a set of known reference objects M={m1, m2, ..., m_q} centered at coordinate Ch1 and within a preset range R_range (e.g., 150 meters) is queried from the road map database. Then, a bipartite graph matching model is constructed, defining a cost matrix C∈R^(p×q). The element c_ij in the cost matrix represents the matching cost between the detected reference object o_i and the map reference object m_j, and can be determined by the following formula: c_ij=α1·dist_spatial(o_i, m_j)+α3·dist_appearance(f_i, f_j) Wherein, `dist_spatial(o_i, m_j)` represents the normalized spatial distance cost. It can be calculated by back-calculating the geographic coordinates of the detected reference object using `dx_i`, `dy_i`, and the first coordinate, then calculating the Euclidean distance `d_spatial` with the known coordinates of `m_j`, and finally normalizing it according to the query radius. The spatial distance cost `dist_spatial` ranges from [0, 1] and can be determined using `min(d_spatial / R_range, 1)`. `δ(class_i, class_j)` is the class consistency indicator function, with 1 for the same class and 0 for different classes. `dist_appearance(f_i, f_j)` is the normalized appearance feature distance, which can be determined by normalizing the original feature distance to [0, 1] according to the maximum possible value of the feature space. `α1` and `α3` are the weight coefficients of the spatial distance cost and the appearance feature distance cost, and their sum is 1. To further ensure the physical rationality of the matching, a hard constraint is set as an admission condition for candidate pairs with inconsistent categories: when δ(class_i, class_j)=0, c_ij=+∞ (i.e., the pair is prohibited from participating in the matching), thus avoiding incorrect cross-category matching such as road signs and traffic lights, streetlight poles and gantry frames. Then, the optimal matching of the above bipartite graph is solved using the Hungarian algorithm, which yields the matching reference set {(o_i)}. ,m_j )}. Among them, δ(class_i, class_j) should be determined according to the above subcategories (e.g., road signs, speed limit signs, traffic lights, lampposts, gantries, mileage markers, stop lines, pedestrian crossings, etc.) to truly avoid incorrect matching across subcategories such as road signs and traffic lights, lampposts and gantries. Furthermore, the Hungarian algorithm requires the cost matrix to be a finite real number; therefore, the above hard constraints should be replaced with a sufficiently large finite penalty value instead of +∞, and a virtual column representing "mismatch" should be added for detection references without any class candidates, so that the detection reference can be discarded without making the assignment problem infeasible.

[0065] For each pair of static reference points that are optimally matched, the longitudinal distance dx and lateral distance dy of the static reference point relative to the vehicle are known, and the precise geographic coordinates C(lon, lat) of the static reference point can be obtained from the map database. Therefore, the coordinates calculated based on the reference point (hereinafter referred to as Ch2_j) can be determined using the principle of triangulation.

[0066] For example, the lateral and longitudinal distances in the vehicle's body coordinate system can be transformed to global components in the north-east plane. By the definition of the body coordinate system (x-axis forward, y-axis left), the unit vector of the x-axis (front of the vehicle) in the north-east plane is (cosθ_rad, sinθ_rad), and the unit vector of the y-axis (left of the vehicle) in the north-east plane is (sinθ_rad, -cosθ_rad). Let the vehicle's heading angle in radians be θ_rad. The components of the reference object's position vector relative to the vehicle in the north-east plane are: ΔN = dx·cos(θ_rad) + dy·sin(θ_rad) and ΔE = dx·sin(θ_rad) - dy·cos(θ_rad). Here, ΔN is the offset component of the reference object relative to the vehicle in the due north direction, and ΔE is the offset component of the reference object relative to the vehicle in the due east direction. For example, when θ_rad=0 (i.e., the vehicle is facing due north), the reference point is located 10 meters in front of the vehicle and 2 meters to the right. According to the definition of the body coordinate system (the y-axis is positive to the left), the body coordinates of the reference point are dx=10 and dy=-2. Substituting these values, we get ΔN=10 m and ΔE=+2 m, meaning the reference point is located 10 m north of the vehicle and 2 m east of the vehicle, which is consistent with the actual situation.

[0067] Then, based on the known coordinates C of the reference object, the longitudinal offset distance is determined, and the coordinates Ch2_j calculated based on this reference object are determined. For example, the latitude and longitude coordinates of this coordinate can be determined by the following formula: Ch2_j(latitude)=C(latitude)-ΔN / (R·π / 180) Ch2_j(longitude)=C(longitude)-ΔE / (R·cos(C(latitude)·π / 180)·π / 180) Where Ch2_j(latitude) and Ch2_j(longitude) are the latitude and longitude coordinates respectively, calculated from the j-th reference point. C(latitude) and C(longitude) are the latitude and longitude coordinates of the known coordinates of the static reference point. Furthermore, when multiple static reference points exist, the longitudinally corrected positioning coordinates can be determined using the weighted least squares method, for example, by the following formula: Ch2_ref=Σ(w_j ·Ch2_j ) / Σ(w_j ) Where Ch2_j represents the vehicle's positioning coordinates after longitudinal correction based on the j-th reference object, and for each weight w_j The value can be determined by comprehensively considering the base weight of the reference object category w_base(class_j), the distance factor, the detection quality factor, and the map coordinate uncertainty. For example, it can be determined by the following formula: w_j = w_base(class_j)·(1 / d_j)·q_j·(1 / σ_map,j) Where d_j is the spatial distance of the reference object relative to the vehicle, and σ_map,j is the uncertainty of the map coordinates.

[0068] Furthermore, considering that the longitudinal accuracy of visual ranging decreases with increasing target distance (approximately degrading according to the square of the distance), an effective distance upper limit D_max (e.g., 50 meters) can be set in some embodiments. Static references exceeding this upper limit D_max only participate in candidate matching and are not included in weighted fusion to ensure the longitudinal accuracy of the final positioning coordinates. The specific value of D_max can be determined based on the camera parameters (focal length, resolution, monocular or binocular baseline) and the target accuracy requirements.

[0069] For example, the reliability or availability of the two types of static references mentioned above are somewhat complementary in different scenarios. For instance, in rainy weather or when the road surface is flooded, a water film forms on the surface of road markings, altering their retroreflective properties and causing specular reflection, significantly reducing the detection confidence and ranging quality of road elements. In contrast, suspended targets such as traffic lights are more easily and reliably detected. Furthermore, road elements such as pedestrian crossings may be obscured by vehicles ahead and thus missing. Conversely, on dry roads during the day, and when there are no reliable suspended targets at intersections, the reliability of ground anchors is higher. It should be noted that road traffic markings typically use retroreflective materials containing glass microspheres, so their contrast with the road surface does not decrease at night within the illumination range of vehicle headlights, and may even be higher than during the day. However, the effective illumination distance of vehicle headlights is limited at night, and oncoming headlights may cause glare when meeting oncoming traffic, thus shortening the effective range of ground anchors at night. In this case, close-range ground anchors and distant suspended anchors together constitute the longitudinal reference. Therefore, the weights of each reference are dynamically adjusted according to its current detection quality factor, so that the longitudinal benchmark is always dominated by the most reliable anchor point at present.

[0070] It is understandable that the set of static reference objects participating in the longitudinal correction is dynamically determined. Only when a reference object is detected in the current frame image and successfully matches the map data will it participate in the longitudinal correction.

[0071] Furthermore, the high-precision positioning coordinates Ch2 can also be obtained by dimensional fusion. For example, first, the longitudinally corrected positioning coordinates Ch2_ref are determined based on multiple static references. Then, Ch2_ref is projected onto the lane line confirmed by map matching to obtain its arc length coordinates D_ref along the lane line. D_ref is used to replace the distance D1 from the vehicle to the starting point of the road mentioned above. The longitudinally corrected projection point P1H′ is re-interpolated on the lane line. P1H′ is deflected by a lateral distance λ along the deflection angle Φ to obtain the final high-precision positioning coordinates Ch2.

[0072] As mentioned earlier, the attack detection module can monitor in real time whether the GNSS positioning module is being spoofed based on high-precision positioning coordinates. Figure 5 A schematic diagram of example 500 illustrates a process for determining the availability status of satellite data based on historically corrected positioning coordinates according to some embodiments of the present disclosure.

[0073] like Figure 5 As shown, in block 501, the processor can receive GNSS signals (also referred to as "satellite data" in other embodiments), and in block 502, it acquires historically corrected high-precision positioning coordinates (also referred to as "historically corrected positioning coordinates" in other embodiments). Based on the satellite data and the historically corrected positioning coordinates, in block 503, the processor can determine the vehicle's movement information. This movement information can include at least one of the vehicle's position offset, speed offset, or trajectory offset. For example, in example 300, the attack detection module 324 can compare the satellite data provided by the GNSS positioning module 311 at the current moment with the high-precision positioning coordinates output by the high-precision position calculation layer 305 (as reference coordinates) to determine the vehicle's movement information. The reference high-precision positioning coordinates include corrected positioning coordinates determined in the same frame as the current satellite data, or predicted coordinates extrapolated from previously corrected positioning coordinates using sensor data (see the two methods for determining the position offset detection quantity below). Furthermore, in block 504, the processor can determine whether an attack exists based on the movement information. For example, the processor can determine whether the vehicle's position offset, speed offset, or trajectory offset exceeds a preset offset threshold. If so, an attack is confirmed, and the satellite data at the current moment is deemed unavailable. If the threshold is not exceeded, the satellite data at the current moment is deemed available.

[0074] By determining the bias-type detector and the jitter-type detector, bias-type (slow pull) and jitter-type (position jump) spoofing attacks can be detected respectively.

[0075] In some embodiments, the position offset (i.e., the offset detection quantity) can be determined by the corrected positioning coordinates determined in the same frame as the current satellite data. For example, in Example 300, the corrected positioning coordinates Ch2 (or the first coordinate Ch1) output by the high-precision position calculation layer 305 are directly transmitted to the attack detection module 324 via the feedback interface 361 and subtracted from the satellite data in the same update cycle, i.e., ΔP(t) = P_GNSS(t) - Ch2(t). Here, the lateral component of Ch2 comes from the lateral distance λ obtained by lane line fitting, and the longitudinal component comes from the inverse calculation of the known map coordinates of the static reference object and the image ranging, and the road mileage output without map matching. Therefore, the fused positioning error does not directly enter the value of this coordinate; the satellite data only affects this coordinate in a bounded manner through road binding and the static reference object query set (the query radius is much larger than the expected positioning deviation). In this mode, the nominal covariance matrix Σ_nom is the sum of the nominal positioning error covariance of the satellite data and the visual positioning error covariance, and is calibrated as a static matrix under the nominal working condition (the calibration premise is described below). To ensure this method works, the following prerequisites must also be met. First, satellite data and corrected positioning coordinates from the same update cycle should be aligned to the same time. Due to the difference between satellite data processing delay and image acquisition time, there is a residual delay Δτ between the two, which introduces a residual displacement of v·Δτ (for example, approximately 0.56 meters at 100 km / h and Δτ = 20 milliseconds), which should be eliminated through timestamp alignment or delay compensation. Second, the positioning coordinates provided by the satellite data are the position of the phase center of the satellite navigation antenna, while the corrected positioning coordinates are the position of the vehicle's positioning reference point. There is a lever vector fixed to the vehicle body between the two. The north and east components of this lever in the local metric plane coordinate system vary with the vehicle's heading and cannot be absorbed by the fixed nominal deviation vector μ_D. It should be compensated through factory calibration or online estimation. It should be noted that the vertical component of the first coordinate Ch1 comes from the road mileage output by the map matching, which already includes the fusion positioning error. Therefore, when the first coordinate Ch1 is used to replace the high-precision positioning coordinate Ch2 after vertical correction as the reference coordinate, the satellite positioning error cancels out on both sides of the detection quantity, and the detection sensitivity of the position dimension decreases accordingly. It should only be used as a degradation scheme when the fifth-level vertical correction is unavailable.

[0076] In other embodiments, the position offset can be determined based on a single-step prediction of previously determined corrected positioning coordinates. For example, in Example 300, starting from the historical corrected positioning coordinates Ch2(t-1) (or Ch1(t-1)) at time (t-1), the predicted position at time t is extrapolated based on the acceleration and angular velocity collected by the inertial measurement unit 312 and the mileage increment collected by the wheel speed sensor 313, for example, P_pred(t) = Ch2(t-1) ⊕ Δs_DR(t-1, t), where Δs_DR(t-1, t) is the displacement increment from (t-1) to time t (including the translation component along the heading and the heading angle increment) determined according to the sensor data, and ⊕ indicates that the displacement increment is rotated to the global coordinate system by the heading angle and then combined with the starting coordinates. Accordingly, the position offset is determined as ΔP(t) = P_GNSS(t) - P_pred(t). At this point, ΔP does not include the actual vehicle displacement; it only reflects satellite data errors and single-step extrapolation errors (the track extrapolation error within the extrapolation interval is on the order of centimeters). The nominal covariance matrix Σ_nom is the sum of the nominal error covariance of the satellite data, the visual positioning error covariance, and the single-step extrapolation error covariance. Since this detection quantity can be determined for each satellite data update cycle, the detection of the position dimension can continue even when no effective lane lines or static references are detected in the image. It should be noted that during the period when no effective lane lines or static references are detected in the image, the previously determined corrected positioning coordinates are actually maintained by track extrapolation, and their position uncertainty increases with the time since the most recent visual correction (approximately satisfying σ_pos(t)≈σ0+σ_v·t+0.5·σ_a·t). 2 Where σ0 is the initial position error, σ_v is the error growth rate caused by the random walk of velocity, and σ_a is the acceleration error caused by the accelerometer bias residual), at this time, the error covariance in Σ_nom corresponding to the corrected positioning coordinates should increase synchronously with the uncertainty. That is, in this case, it is advisable to use Σ_nom that varies with time to avoid false alarms caused by the mismatch between the actual information variance and the decision threshold.

[0077] For example, the biased detection quantity ΔP̄(t) can be determined by the following formula: ΔP̄(t) = (1 / N) · Σ_{k=0}^{N-1} ΔP(t - k·Δt) Let Σ_nom be the nominal covariance matrix of the single deviation vector under the no-spoofing condition (equal to the sum of the GNSS nominal positioning error covariance and the high-precision positioning coordinate error covariance, pre-calculated from factory calibration or under stationary / uniform straight-line speed conditions, and not updated online during the attack process). Under the no-spoofing assumption, ΔP̄(t) approximately follows a two-dimensional normal distribution with mean μ_D and covariance Σ_nom / N_eff. Here, N_eff is the equivalent independent sample number within the sliding window (N_eff≤N). Because the errors between satellite data and corrected positioning coordinates are correlated in time, and their correlation time is usually longer than the positioning update cycle, the N samples within the window are not independent of each other. Therefore, N_eff should be determined by the ratio of the measured covariance of ΔP̄(t) under the non-spoofing condition to the nominal covariance matrix of the single deviation vector (e.g., N_eff = trace(Σ_nom) / trace(Cov(ΔP̄(t))), where Cov(ΔP̄(t)) is the measured covariance matrix of ΔP̄(t) under the non-spoofing condition), or directly calibrated by the measured statistical results of ΔP̄(t) during factory calibration. Construct the normalized innovation square M_D(t) based on the bias-type detection quantity: M_D(t) = N_eff · (ΔP̄(t) - μ_D)ᵀ · Σ_nom -1 · (ΔP̄(t) - μ_D) Here, M_D(t) follows a chi-square distribution with 2 degrees of freedom under the no-cheating assumption. When M_D(t)>χ 2 When _{2,0.99} = 9.21, a bias anomaly is determined to exist in the GNSS position. Furthermore, since the sliding window updates periodically according to the positioning update cycle and the results of two adjacent tests are highly correlated, to avoid false alarms caused by a single exceeding the limit, it is also possible to require that M_D(t) (or the position dimension continuous anomaly index x_pos(t) below) continuously exceed the decision threshold for a preset duration (e.g., 0.5 seconds) or a preset number of times (e.g., three consecutive update cycles) before determining that a bias anomaly exists in the GNSS position. This corresponds to the requirement in the velocity dimension that I_vel(t) must continuously exceed T_vel.

[0078] The jitter-type detection quantity E_D(t) can be determined by the following formula: E_D(t) = (1 / N)·Σ_{k=0}^{N-1}‖ΔP(t - k·Δt) -μ_D‖ 2 Where μ_D is the nominal bias vector pre-calibrated before the attack, and N is the window length (e.g., 100 frames, corresponding to 10 seconds per 10Hz). μ_D takes a fixed nominal value and is not estimated online during the detection process (the two detection quantities mentioned above use the same μ_D, and subtracting the constant mean does not change the degrees of freedom of the chi-square distribution). In this way, the constant bias vector introduced by the attack will not be subtracted synchronously, and E_D is calculated as E[‖ΔP-μ_D‖]. 2 ]=trace(Σ_nom)+‖b‖ 2 It increases with the square of the bias magnitude, thus remaining sensitive to constant bias spoofing. E_D(t) > K_threshold·σ 2 _D_normal (K_threshold is the sensitivity coefficient, typically 3~5; σ 2 _D_normal is the nominal mean square magnitude of the position deviation detection quantity under non-deception conditions. It can be defined as the trace of the nominal covariance matrix Σ_nom, i.e., the sum of the nominal variances of the two axes. When trace(Σ_nom) is used, it is determined that there is deception in the position dimension of the GNSS position.

[0079] Furthermore, for continuous anomaly indicators in the location dimension, the bias-type detection quantity and the jitter-type detection quantity can be normalized according to their respective decision thresholds and the larger value can be taken. For example, x_pos(t) = max(M_D(t) / χ 2 _{2, 0.99}, E_D(t) / (K_threshold·trace(Σ_nom))) serves as the basis for determining the position offset.

[0080] When determining the velocity deviation, velocity vectors can be obtained from GNSS and the inertial measurement unit (IMU): the GNSS velocity vector is (v_GNSS(t), θ_GNSS(t)); the vehicle velocity vector is (v_ego(t), θ_ego(t)). The velocity anomaly index is determined by the following formula: Δθ(t)=((θ_GNSS(t)-θ_ego(t)+π)mod2π)–π I_vel(t)=|v_GNSS(t)-v_ego(t)| / max(v_ego(t),v_GNSS(t),v_min)+|Δθ(t)| / π In this calculation, θ_GNSS and θ_ego are both in radians, and v_min is a small value (1-2 m / s) to avoid division by zero. Δθ(t) is the difference in heading angles after periodic normalization, which avoids false jumps at the 0° / 360° north boundary. The denominator is the larger of v_ego and v_GNSS to avoid false alarms caused by excessive amplification of relative errors when the vehicle starts, creeps, or is stationary (v_ego tends to 0). Since both terms of I_vel(t) fall within the range of [0, 1], the value range of I_vel(t) is [0, 2], and it should be close to 0 under normal operating conditions. When I_vel(t) > 0.5 and continues to exceed a predetermined time T_vel (e.g., 2 seconds), deceptive evidence in the velocity dimension is triggered. The continuous anomaly indicator in the velocity dimension is: x_vel(t) = I_vel(t) / 0.5.

[0081] When determining the trajectory offset, the physical feasibility of the GNSS position sequence can be verified based on the vehicle kinematics model. The vehicle acceleration corresponds to the second-order difference of the position sequence; therefore, the implicit GNSS acceleration from time t-2k to t can be defined as: a_GNSS(t) = ‖ P_GNSS(t) - 2 · P_GNSS(tk) + P_GNSS(t-2k) ‖ / (k · Δt) 2 Where Δt is the GNSS positioning update cycle, k is the differential interval coefficient, k·Δt is the differential baseline duration, and ||·|| is the Euclidean norm. P_GNSS needs to be converted from latitude and longitude to local metric plane coordinates first. If a_GNSS(t)>a_max (a_max is a reference threshold, and its value should be higher than the maximum acceleration that the vehicle can actually reach; since this formula is a second-order vector difference, its magnitude includes longitudinal and lateral (centripetal) components, so the threshold should not be set only according to the longitudinal acceleration, such as 10 m / s). 2The event is marked as a "physically infeasible event". Similarly, the implicit curvature of GNSS is defined as: Δθ_GNSS(t) = (( θ_GNSS(t) - θ_GNSS(t-1) + π) mod 2π) – π, κ_GNSS(t) = |Δθ_GNSS(t)| / (v_GNSS(t)·Δt). Where Δθ_GNSS is the difference in heading angles after periodic normalization. If κ_GNSS(t) > κ_max (κ_max is a preset threshold, corresponding to the maximum curvature determined by the minimum turning radius of the vehicle), it is marked as a "physically infeasible event". Then, the proportion of physically infeasible events is counted in a sliding window: R_infeasible(t) = N_infeasible(t) / N_window. When R_infeasible(t) > R_threshold (a preset threshold, such as 0.3), the deception evidence marking of the trajectory dimension is triggered. The selection of the difference interval coefficient k is based on the following: the amplification factor of the position observation noise of the second-order difference pair is √6 / (k·Δt). 2 Therefore, k should be calibrated according to the GNSS position noise level, so that the standard deviation of the acceleration caused by noise is √6·σ / (k·Δt). 2 (σ is the standard deviation of position observation noise) is significantly less than the decision threshold a_max; for example, when σ = 2 meters and k = 20 (baseline 2 seconds), this value is approximately 1.2 meters / second. 2 Relative to a_max (e.g., 10 m / s) 2 With sufficient margin, it is preferable to set the long baseline k·Δt to 1~5 seconds. To balance noise reduction and response speed, a parallel short and long baseline scheme can also be adopted: the short baseline (e.g., k=5) has a fast response but higher noise and is used to generate trigger candidates; the long baseline (e.g., k=20) has low noise but a slow response and is used for confirmation; only when both baselines are determined to exceed the limit is it determined to be a physically infeasible event. As an equivalent alternative, the velocity vector output by the Doppler frequency shift of the GNSS receiver can be directly used for differential: a_GNSS(t)=‖v_GNSS(t)-v_GNSS(tk·Δt)‖ / (k·Δt). The noise of Doppler velocity measurement (typical standard deviation of about 0.1 m / s) is much smaller than the position differential noise, which is the preferred implementation method. In addition, κ_GNSS(t) diverges at low speeds (κ_GNSS approaches infinity when v_GNSS approaches 0), so it is advisable to take max(v_GNSS(t), v_min) for the denominator (v_min can be 1~2 m / s), or to enable the test only when the vehicle speed is higher than the preset threshold, so as to avoid misjudgment when the vehicle starts, creeps or is stationary.

[0082] Furthermore, in some embodiments, anomalies can also be identified using raw GNSS observation data. For example, statistical monitoring of the raw RF and baseband observation characteristics output by the GNSS receiver can detect signal anomaly patterns common in spoofing attacks. Signal anomaly patterns can include signal power anomalies, pseudorange residual anomalies, and clock resolution anomalies. For signal power anomalies, the carrier-to-noise ratio (C / N0) of each satellite channel can be monitored. Spoofed signals are typically several dB to tens of dB stronger than the real signal. When the C / N0 of multiple satellite channels increases synchronously by more than ΔCN0_threshold (e.g., 6 dB) at the same time, it is marked as a power anomaly. For pseudorange residual anomalies, the normalized squared innovation value of each satellite's pseudorange observations can be monitored. When the innovation of multiple satellite channels simultaneously exceeds the 99% confidence interval, it is marked as a residual anomaly. For clock resolution anomalies, abrupt changes in receiver clock bias estimation can be monitored; for example, changes greater than 1 microsecond often accompany a "takeover" process in a spoofing attack.

[0083] In some embodiments, observational data from different dimensions can be fused to construct a multi-dimensional evidence fusion model based on the weighted log-likelihood ratio, and to statistically analyze the increment of the current evidence relative to the nominal state: L_spoof(t) = ln( P_prior / (1 - P_prior) ) + Σ_{i=1}^{4} w_i · [ ln( p_i(t) / (1 - p_i(t)) ) - ln( p_i0 / (1 - p_i0) ) ] Where P_prior is the prior probability of a deception attack occurring within a single detection period (the value can be 0.01); p_i0 is the nominal likelihood of the i-th dimension under the no-deception condition; the weight w_i of each dimension reflects the detection reliability of that dimension. Based on the increment (i.e., the increment of L_spoof(t) relative to the nominal state), a hierarchical response strategy can be implemented, such as generating corresponding control commands to control the vehicle, such as generating a prompt message that the GNSS signal has been attacked, prompting the autonomous driving system to adjust the driving strategy (e.g., reduce vehicle speed, increase following distance, etc.).

[0084] The continuous anomaly indicators x_i(t) for each dimension can be determined by normalization according to their respective decision thresholds (x_i=0 indicates complete normality, x_i=1 indicates that the decision threshold has just been reached): the position dimension can take the larger value of x_pos(t) mentioned above (i.e., the larger value of the bias-type detection quantity and the jitter-type detection quantity after normalization according to their respective thresholds); the velocity dimension can take the larger value of x_vel(t) mentioned above; the trajectory dimension can take the larger value of x_traj(t) = R_infeasible(t) / R_threshold; the original observation dimension can take the maximum value of the normalized indicators of each sub-item (signal power anomaly, pseudorange residual anomaly, clock solution anomaly). Continuous outlier indicators in each dimension can be mapped to dimensional likelihood scores using the Logistic function. For example, p_i(t) = 1 / (1+exp(-s_i·(x_i(t)-1))), where s_i is the mapping steepness coefficient of the i-th dimension (typically 2~6), and the nominal likelihood p_i0 = 1 / (1+e^(s_i)) is the value of this mapping at x_i=0. From logit(p_i(t))-logit(p_i0)=s_i·x_i(t), L_spoof(t) can be equivalently simplified to L_spoof(t)=ln( P_prior / (1 - P_prior) ) + Σ_{i=1}^{4}w_i·s_i·x_i(t). That is, the comprehensive deception risk score is essentially a weighted sum of normalized outlier indicators in each dimension and a superposition of prior bias terms, which is convenient for engineering implementation and parameter tuning. The threshold for graded response can be determined by the following typical calibration: P_prior=0.01, s_i=6 for each dimension, and the weights w_i for the four dimensions of position, velocity, trajectory, and original observations are 0.35, 0.25, 0.20, and 0.20 respectively (the weights can be determined by offline testing or online learning), and the weights and steepness are jointly normalized according to Σ w_i·s_i≈6. Under these typical parameters: when all dimensions are normal (x_i=0), S_spoof≈0.010, which is far below the first threshold; when only the position dimension reaches 3 times the threshold (x_pos=3), S_spoof≈0.846; when both the position and velocity dimensions reach 2 times the threshold, S_spoof≈0.931; and when all four dimensions exactly reach the decision threshold (x_i=1), S_spoof≈0.803, which is not lower than the second threshold. The first threshold (e.g., 0.3) and the second threshold (e.g., 0.7) can be calibrated with reference to the above anchor point values.

[0085] The comprehensive deception risk score can be determined based on the log-likelihood ratio L_spoof(t), for example, S_spoof(t) = 1 / (1+exp(-L_spoof(t))), where S_spoof(t)∈[0,1], and a larger value indicates a higher deception risk. Considering the temporal smoothness requirement of deception detection, an exponential moving average can also be applied to S_spoof(t), for example, S̄_spoof(t) = α·S_spoof(t) + (1-α)·S̄_spoof(t-1), where α is the smoothing coefficient (typically 0.2).

[0086] Based on the smoothed comprehensive deception risk score, a tiered response can be implemented. For example, in response to S̄_spoof(t) being below a first threshold (e.g., 0.3), satellite data participates in the fusion solution normally with the nominal observation covariance. In response to S̄_spoof(t) being not lower than the first threshold but lower than a second threshold (e.g., 0.7), the observation covariance of the satellite data is increased (e.g., R_adjusted = R_nominal / (1-S̄_spoof)) to reduce the weight of satellite data in the fusion and increase the injection frequency of the corrected positioning coordinates as observations. In response to S̄_spoof(t) being not lower than the second threshold, observation updates of satellite data are prohibited (e.g., the observation covariance of the satellite data is set to infinity), the system switches to a positioning mode that does not rely on satellite data (e.g., trajectory extrapolation mode, or a reliable positioning mode based on corrected positioning coordinates and sensor data), and outputs prompt information through the human-machine interface and / or vehicle bus (e.g., prompting the autonomous driving system to reduce speed and increase following distance). In addition, recovery conditions can be continuously monitored. For example, when S̄_spoof(t) is below the first threshold for a continuous preset duration (e.g., 30 seconds), satellite data can be used for fusion calculation and a recovery notification can be issued.

[0087] In some examples, the injection frequency based on camera-acquired data can be adaptively adjusted jointly based on the current position uncertainty and the deception risk score, for example: f_fb = min(f_base·(1+k·σ_pos(t) / σ_max)·(1+2·S̄_spoof(t)), f_max), where f_base is the base feedback frequency (e.g., 0.2Hz), and σ_pos(t) is the current position uncertainty (e.g., extracted from the filter covariance matrix; its time-dependent estimation with the track approximately satisfies σ_pos(t)≈σ0+σ_v·t+0.5·σ_a·t). 2Where σ0 is the initial position error, σv is the error growth rate caused by the velocity random walk, σa is the acceleration error caused by the accelerometer bias residual, t is the time since the most recent effective visual correction or satellite data correction, σmax is the preset maximum permissible uncertainty, k is the adjustment coefficient, S̄_spoof(t) is the smoothed comprehensive deception risk score (set to 0 when no deception risk is detected), and fmax is the upper limit of the injection frequency (determined by the maximum output frequency of the visual processing link). In this formula, the position uncertainty factor and the deception risk factor are multiplicatively synthesized and then truncated by fmax, so that the feedback frequency is determined according to the superposition requirements of the two and has an upper limit.

[0088] Continue to refer to Figure 5 When an attack on the GNSS signal is determined in block 504, the processor switches the positioning mode to the trajectory estimation mode in block 505, and acquires sensor data such as inertial measurement data in block 506. Then, in block 507, the positioning coordinates are updated based on the sensor data and historical correction coordinates. For example, in Example 300, when it is determined that the GNSS signal is under attack, the positioning mode switching module 322 controls the positioning mode to switch to the trajectory estimation mode, and controls the trajectory estimation module 325 to acquire the measurement data of the inertial measurement unit 312 and the wheel speed sensor 313, as well as the high-precision positioning coordinates of the previous moment, to perform trajectory estimation to update the vehicle's positioning coordinates.

[0089] If it is determined in box 504 that the GNSS signal has not been attacked, it means that the satellite data provided by the GNSS signal is reliable and can be used to determine the high-precision positioning coordinates of the vehicle.

[0090] Furthermore, in Example 500, after receiving a GNSS signal in box 501, the processor can determine the signal status based on the received signal in box 508, and evaluate the signal quality in box 509 to determine whether the satellite data can be used to determine high-precision positioning coordinates. When it is determined that the GNSS signal is available in box 509, the processor uses the satellite data to participate in determining the high-precision positioning coordinates in box 510. Otherwise, it switches to the trajectory extrapolation mode. Additionally, when determining the signal status in box 508, it can determine whether the GNSS signal is lost, or determine the signal quality based on the current GNSS signal evaluation metrics, thereby determining the availability of satellite data. It should be noted that using satellite data to participate in determining high-precision positioning coordinates is conditional upon both "no attack detected" and "signal quality available" being met simultaneously. Therefore, after determining in box 504 that no attack has occurred, the signal quality evaluation result from box 509 should still be considered. Box 510 is only entered when it is determined that the satellite data is available in box 509; otherwise, it switches to the trajectory extrapolation mode.

[0091] This approach not only allows for the detection of attacks on GNSS signals using historical high-precision positioning coordinates, but also enables switching to trajectory extrapolation mode when an attack is detected or the GNSS signal quality is poor, making high-precision positioning using satellite data impossible. Trajectory extrapolation mode updates positioning coordinates based on historically corrected coordinates and integrates sensor data such as inertial measurement data. This ensures reliable vehicle positioning coordinates even when the vehicle loses GNSS signal due to entering a tunnel or when the GNSS signal is unavailable due to an attack. Essentially, in trajectory extrapolation mode, the trajectory extrapolation module replaces the filtering and fusion module. The initial positioning coordinates output by the trajectory extrapolation module can still be used for subsequent map matching and for the high-precision position calculation layer to verify and correct the initial positioning coordinates.

[0092] Figure 6 A block diagram of a vehicle positioning device 600 according to some embodiments of the present disclosure is shown. Figure 6 As shown, device 600 includes a first determining module 602 configured to determine lane information based on images captured by a vehicle's camera. Device 600 also includes a second determining module 604 configured to determine the vehicle's positioning coordinates based on map data configured for the vehicle and satellite data, in response to the availability of satellite data for the vehicle. Furthermore, device 600 includes a third determining module 606 configured to determine the vehicle's offset relative to lane lines based on the positioning coordinates and lane information to correct the positioning coordinates, wherein the availability of satellite data is determined based on historically corrected positioning coordinates.

[0093] In some embodiments, the offset includes a lateral distance, and the device 600 further includes: a lateral distance determination module configured to determine the lateral distance of the vehicle relative to the lane line based on the absolute value of the intercept of the fitted curve of the lane line in the image in the vehicle's body coordinate system; and a coordinate correction module configured to correct the positioning coordinates based on the positioning coordinates, the vehicle's yaw angle, and the lateral distance, wherein the yaw angle is determined based on the vehicle's heading angle.

[0094] In some embodiments, the offset further includes a longitudinal offset distance, and the apparatus 600 further includes: a reference object determination module configured to determine a static reference object in an image; a reference object coordinate determination module configured to determine the reference object coordinates of the static reference object based on map data; and a longitudinal offset distance determination module configured to determine the longitudinal offset distance based on the reference object coordinates.

[0095] In some embodiments, the longitudinal offset distance determination module is further configured to: correct the positioning coordinates based on the lateral distance to obtain a first coordinate; determine a set of reference objects within a preset range from the map data with the first coordinate as the center; determine the matching result of the static reference objects and the set of reference objects; and determine the longitudinal offset distance based on the matching result.

[0096] In some embodiments, lane information includes the number of lanes and lane number, and the device 600 further includes: a first lane number determination module configured to determine a first lane number for the vehicle based on map data; a second lane number determination module configured to determine a second lane number where the vehicle is located based on the number of lanes, lane number and first lane number; and the second determination module is further configured to determine positioning coordinates based on the coordinates of the second lane number.

[0097] In some embodiments, the lane information further includes lane line attributes, which are used to indicate traffic flow information, and the device 600 further includes: a verification result determination module configured to determine the verification result of the second lane number based on the lane line attributes; and a third determination module 606 further configured to determine an offset based on the positioning coordinates in response to a verification result that is passed.

[0098] In some embodiments, the second determining module 604 includes: a data acquisition module configured to acquire sensor data of the vehicle and satellite data based on a global navigation satellite system; and the second determining module 604 is further configured to determine positioning coordinates based on the sensor data, satellite data, and map data.

[0099] In some embodiments, the apparatus 600 further includes: a status determination module configured to determine the availability status of satellite data; a historical coordinate acquisition module configured to acquire historical corrected positioning coordinates of the vehicle in response to the availability status of satellite data being unavailable; and an update module configured to update the positioning coordinates based on the historical corrected positioning coordinates and sensor data.

[0100] In some embodiments, the state determination module includes: a motion information determination module configured to determine the vehicle's motion information based on historical corrected positioning coordinates and satellite data, wherein the motion information includes at least one of position offset, speed offset, or trajectory offset; and the state determination module is further configured to determine the available state based on the motion information and a preset offset threshold.

[0101] In some embodiments, the device 600 further includes: a fourth determining module configured to determine that the availability of satellite data is unavailable in response to the movement information exceeding a preset offset threshold; and an instruction generating module configured to generate control instructions for the vehicle, wherein the control instructions include at least one of reducing the weight of satellite data in determining positioning coordinates, prohibiting the observation and updating of satellite data, or outputting a prompt message prompting the autonomous driving system to adjust the driving strategy.

[0102] In some embodiments, the state determination module includes: a signal state determination module configured to determine the signal state of the global navigation satellite system; and the state determination module is further configured to determine the availability of satellite data based on the signal state.

[0103] In some embodiments, the update module includes: an observation determination module, configured to determine the offset-corrected positioning coordinates as observations; a fusion module, configured to fuse the observations with historical corrected positioning coordinates and sensor data; and the update module is further configured to update the positioning coordinates based on the fused data.

[0104] It is understood that by utilizing the apparatus 600 of this disclosure, at least one of the many advantages that can be achieved by the methods or processes described above can be realized.

[0105] Figure 7 A block diagram of a controller 700 that can implement various embodiments of the present disclosure is shown. The controller 700 may, for example, be arranged in... Figure 1 In vehicle 102 shown. (Reference) Figure 7 As shown, the controller 700 includes a processor 701, which can perform various appropriate actions and processes according to a computer program stored in read-only memory (ROM) 702 or loaded into random access memory (RAM) 703. The RAM 703 may also store various programs and data required for the operation of the controller 700. The processor 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0106] Processor 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 701 performs the various methods and processes described above, such as method 200. For example, in some embodiments, method 200 may be implemented as a computer software program tangibly contained in a machine-readable medium. In some embodiments, part or all of the computer program may be loaded and / or mounted to controller 700 via ROM 702. When the computer program is loaded into RAM 703 and executed by processor 701, one or more steps of method 200 described above may be performed. Alternatively, in other embodiments, processor 701 may be configured to perform method 200 by any other suitable means (e.g., by means of firmware).

[0107] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.

[0108] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0109] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. Furthermore, although operations are depicted in a specific order, this should be understood as requiring that such operations be performed in the specific order shown or in sequential order, or requiring that all illustrated operations be performed to achieve the desired result. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the foregoing discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single implementation. Conversely, various features described in the context of a single implementation may also be implemented individually or in any suitable sub-combination in multiple implementations.

[0110] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A method for vehicle positioning, comprising: Lane information is determined based on images captured by the vehicle's cameras; In response to the availability of satellite data for the vehicle, the vehicle's location coordinates are determined based on the map data configured for the vehicle and the satellite data. as well as Based on the positioning coordinates and the lane information, the offset of the vehicle relative to the lane line is determined to correct the positioning coordinates, wherein the availability of the satellite data is determined based on historically corrected positioning coordinates.

2. The method of claim 1, wherein the offset includes a lateral distance, and the method further comprises: The lateral distance of the vehicle relative to the lane line is determined based on the absolute value of the intercept of the fitted curve of the lane line in the image in the vehicle's body coordinate system. as well as The positioning coordinates are corrected based on the positioning coordinates, the vehicle's yaw angle, and the lateral distance, wherein the yaw angle is determined based on the vehicle's heading angle.

3. The method of claim 2, wherein the offset further includes a longitudinal offset distance, and the method further includes: Identify static reference objects in the image; Based on the map data, determine the coordinates of the static reference object; as well as The longitudinal offset distance is determined based on the coordinates of the reference object.

4. The method of claim 3, wherein determining the longitudinal offset distance comprises: The positioning coordinates are corrected based on the lateral distance to obtain the first coordinates; Using the first coordinate as the center, determine a set of reference objects within a preset range from the map data; Determine the matching result between the static reference object and the set of reference objects; as well as The longitudinal offset distance is determined based on the matching result.

5. The method according to claim 1, wherein the lane information includes the number of lanes and the lane number, and the method further includes: Determine the first lane number for the vehicle based on the map data; Based on the number of lanes, the lane number, and the first lane number, the second lane number of the vehicle is determined; and The positioning coordinates are determined based on the coordinates of the second lane number.

6. The method of claim 5, wherein the lane information further includes lane line attributes, the lane line attributes being used to indicate traffic flow information, and the method further includes: The verification result for determining the second lane number based on the lane line attributes; as well as In response to the verification result being passed, the offset is determined based on the positioning coordinates.

7. The method according to claim 1, wherein determining the positioning coordinates comprises: Acquire sensor data of the vehicle and satellite data based on the Global Navigation Satellite System; as well as The positioning coordinates are determined based on the sensor data, the satellite data, and the map data.

8. The method according to claim 7, further comprising: Determine the availability status of the satellite data; In response to the satellite data being unavailable, the historical corrected positioning coordinates of the vehicle are obtained; as well as The positioning coordinates are updated based on the historical corrected positioning coordinates and the sensor data.

9. The method of claim 8, wherein determining the available state comprises: Based on the historical corrected positioning coordinates and the satellite data, the movement information of the vehicle is determined, and the movement information includes at least one of position offset, speed offset, or trajectory offset; as well as The available status is determined based on the movement information and the preset offset threshold.

10. The method of claim 9, further comprising: In response to the movement information exceeding the preset offset threshold, the availability status of the satellite data is determined to be unavailable; as well as Generate control commands for the vehicle, wherein the control commands include at least one of the following: reducing the weight of the satellite data in determining the positioning coordinates, prohibiting the observation and updating of the satellite data, or outputting a prompt message to the autonomous driving system to adjust the driving strategy.

11. The method of claim 8, wherein determining the available state comprises: Determine the signal status of the global navigation satellite system; as well as The availability status of the satellite data is determined based on the signal status.

12. The method of claim 8, wherein updating the positioning coordinates further comprises: The positioning coordinates, corrected based on the offset, are determined as the observations. The observed measurements, the historical corrected positioning coordinates, and the sensor data are fused to obtain fused data; as well as The positioning coordinates are updated based on the fused data.

13. A device for vehicle positioning, comprising: The first determining module is configured to determine lane information based on images captured by the vehicle's cameras; The second determining module is configured to determine the vehicle's location coordinates based on the map data configured for the vehicle and the satellite data in response to the availability status of the vehicle's satellite data. as well as The third determining module is configured to determine the vehicle's offset relative to the lane line based on the positioning coordinates and the lane information, so as to correct the positioning coordinates, wherein the availability status of the satellite data is determined based on historically corrected positioning coordinates.

14. An electronic device, comprising: processor; as well as A memory coupled to the processor, the memory having instructions stored therein, which, when executed by the processor, cause the electronic device to perform the method according to any one of claims 1 to 12.

15. A computer program product tangibly stored on a non-transitory computer-readable medium and comprising machine-executable instructions that, when executed, cause a machine to perform the method according to any one of claims 1 to 12.