Vehicle positioning method, vehicle searching method, electronic device, and vehicle
By collecting driving trajectory and image data in the vehicle, combined with the inertial measurement unit and wheel speed sensor, the location information of the indoor parking lot is calculated, which solves the problem of poor GNSS signals and achieves efficient positioning and convenient vehicle finding in the indoor parking lot. .
Patent Information
- Application Number
- PCT/CN2024/089758
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-28
- Filing Date
- 2024-04-25
- Publication Date
- 2024-10-31
AI Technical Summary
In indoor parking lots, GNSS signals are poor, making it difficult for vehicles to be positioned through global navigation satellite systems, and it is difficult for users to easily find vehicles parked in indoor parking lots.
By installing a camera in the vehicle, the driving trajectory and images are collected, and combined with the inertial measurement unit and wheel speed sensor data, the location information of the vehicle in the indoor parking lot is calculated, including floors and areas, and the parking space location information is output and displayed using text messages or applications. to users.
It achieves the accuracy and convenience of vehicle positioning in indoor parking lots, reduces positioning costs, improves user experience, allows users to learn the vehicle location in a short time, and simplifies the process of finding a car.
Smart Images

Figure CN2024089758_31102024_PF_FP_ABST
Abstract
Description
Vehicle positioning method, vehicle finding method, electronic device and vehicle
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on April 28, 2023, with application number 202310485846.8 and application name “Vehicle Positioning Method, Vehicle Searching Method, Electronic Device and Vehicle”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of information technology (IT), and in particular to a vehicle positioning method, a vehicle finding method, an electronic device, and a vehicle. Background Art
[0003] Currently, when parking in outdoor parking lots, vehicles can be easily located using global navigation satellite systems (GNSS), such as the BeiDou navigation satellite system (BDS), the global positioning system (GPS), and the Galileo satellite navigation system, making it easy to find the vehicle. However, when parking in indoor parking lots (such as underground garages), it is difficult to use GNSS for positioning due to the poor GNSS signal in indoor parking lots. This makes it difficult for users to find their vehicles when parked in indoor parking lots. Therefore, how to enable users to easily find their vehicles when parked in indoor parking lots is a technical problem that urgently needs to be solved.
[0004] Summary of the Invention
[0005] The present application provides a vehicle positioning method, a vehicle finding method, an electronic device, a vehicle, a computer storage medium, and a computer product, which can enable a user to conveniently find the vehicle when parking in an indoor parking lot.
[0006] In a first aspect, the present application provides a vehicle positioning method, comprising: when a vehicle enters an indoor parking lot, using a camera in the vehicle to collect images of track points included in the vehicle's driving trajectory during the vehicle's driving process; obtaining a first driving trajectory of the vehicle on a target floor in the indoor parking lot, where the target floor is the floor where the vehicle is currently located; based on the semantic information contained in the image at the track point on the first driving trajectory, calculating the location information of the vehicle's current position in the indoor parking lot, where the location information includes the floor and / or area; when the vehicle's current position is a parking space, outputting the location information of the parking space in the indoor parking lot. Exemplarily, the vehicle's current position can be the vehicle's real-time location in the indoor parking lot, such as a position 10 meters from the entrance on the negative 1 floor of the indoor parking lot; the location information of the vehicle's current position in the indoor parking lot can be the vehicle's current target floor in the indoor parking lot and / or a certain area on the target floor, such as Area A on the negative 1 floor. In addition, the area included in the location information can be understood as one of the multiple areas into which the parking area on a certain floor is divided. For example, when the parking area on the negative 1st floor of an indoor parking lot is divided into three areas A, B, and C, if the vehicle is currently located in area B, the area included in the location information can be area B. For example, the location of a parking space can be understood as the position of the vehicle when the vehicle is in the parking gear.
[0007] Therefore, by combining the vehicle's driving trajectory with the images collected by the vehicle's camera, the vehicle can be positioned in an indoor parking lot. While ensuring positioning accuracy, the cost of vehicle positioning in an indoor parking lot is reduced, and users can know the location of their vehicle within a short time after parking, thereby improving the user experience.
[0008] In a possible implementation, when the gear position of the vehicle is the parking gear, it is determined that the current position of the vehicle is a parking space.
[0009] In one possible implementation, outputting the location information of the parking space in the indoor parking lot specifically includes outputting the location information of the parking space in the indoor parking lot via a text message or an application. In this way, the user can conveniently view the location information of the vehicle's parking location in the indoor parking lot via the text message or application, thereby improving the user experience.
[0010] In one possible implementation, the method further includes: based on the vehicle's driving trajectory in the indoor parking lot, outputting information about floor height changes while the vehicle is driving in the indoor parking lot, and / or at least a portion of the vehicle's driving trajectory in the indoor parking lot, wherein the trajectory points on at least a portion of the driving trajectory include the vehicle's current location. This allows users to view their driving trajectory and / or height changes during driving, thereby improving the user experience.
[0011] In one possible implementation, different lines are used in both the floor height change information and at least a portion of the driving trajectory to indicate the vehicle's travel on different floors. The line indicating the first floor in the floor height change information is the same as the line indicating the first floor in at least a portion of the driving trajectory, where the first floor is any floor in the indoor parking lot. This allows users to easily view the trajectories of different floors, improving the user experience.
[0012] In one possible implementation, the method further includes: using a camera to capture a target image in the indoor parking lot, where the target image represents target information of the parking space in the indoor parking lot, where the target information includes one or more of environmental information surrounding the parking space, the floor level, and the area in which the parking space is located; and outputting the target image. This allows a user to quickly obtain environmental information, floor level information, or area information about the parking location of the vehicle through the image, and can use this information as a reference when searching for the vehicle, thereby further facilitating rapid vehicle retrieval.
[0013] In one possible implementation, before calculating the vehicle's current location within the parking lot based on semantic information contained in the image at the point on the first driving trajectory, the method further includes: identifying semantic information contained in the image at the point on the first driving trajectory; filtering the semantic information to obtain text representing floor categories and area categories; and obtaining semantic information related to the parking lot based on the floor and area categories. By filtering the semantic information in the image, some interfering information is eliminated, allowing the semantic information related to the parking lot to more accurately reflect the correct floor and area, thereby improving the accuracy of the position calculation.
[0014] In one possible implementation, the location information of the vehicle's current location in the indoor parking lot is calculated based on the semantic information contained in the images at the trajectory points on the first driving trajectory. Specifically, the method includes: statistically analyzing the semantic information contained in the images at different trajectory points on the first driving trajectory, wherein the semantic information corresponding to different trajectory points on the first driving trajectory has different weights, and the weights are determined based on the distance between the trajectory points on the first driving trajectory and the vehicle's current location; calculating the distribution probability of floors and regions corresponding to different trajectory points on the first driving trajectory based on the statistical results; and calculating the location information of the vehicle's current location in the indoor parking lot based on the distribution probability of floors and regions corresponding to different trajectory points on the first driving trajectory. In this way, by assigning different weights to the parking lot semantic information at different trajectory points, the statistical parking lot semantic information can be associated with the vehicle's location, thereby improving the accuracy of the calculation.
[0015] On the second aspect, the present application provides a method for finding a vehicle, which is applied to an electronic device, comprising: obtaining a user's viewing operation for the location of a vehicle, wherein the vehicle is located in an indoor parking lot; and displaying the location information of the vehicle in the indoor parking lot, wherein the location information includes the floor and / or area. In this way, when a user searches for a vehicle, he or she can quickly obtain the location information of his or her vehicle in the indoor parking lot from the electronic device, such as the floor or area, so that the vehicle can be found at the corresponding location information, thereby improving the user experience. Exemplarily, the location information of the vehicle in the indoor parking lot can be calculated based on the semantic information contained in the image of at least a portion of the track points on the vehicle's driving trajectory in the target floor in the indoor parking lot. The target floor is the floor where the vehicle is currently located.
[0016] In one possible implementation, the method further includes displaying a driving route from the user's location to the vehicle's location, or displaying at least a portion of facilities along the driving route, or displaying both the user's location and the vehicle's location. This allows the user to know the driving route from their current location to the vehicle's location, thereby facilitating quick locating of the vehicle and improving user experience.
[0017] In one possible implementation, the system further includes displaying information about floor height changes as the vehicle travels through the parking lot, and / or at least a portion of the vehicle's driving trajectory within the parking lot, wherein at least a portion of the trajectory includes the vehicle's current location. This allows users to intuitively understand the changes in floor height within the parking lot and a portion of the vehicle's driving trajectory, enhancing the user experience.
[0018] In one possible implementation, different lines are used in both the floor height change information and at least a portion of the driving trajectory to indicate the different floors the vehicle is traveling on. The line indicating the first floor in the floor height change information is the same as the line indicating the first floor in at least a portion of the driving trajectory, where the first floor is any floor in the indoor parking lot. This allows the user to be informed of the floor on which the currently displayed driving trajectory is located, improving the user experience.
[0019] In one possible implementation, the system further includes displaying at least a portion of the facilities within the building where the indoor parking lot is located, such as an elevator or escalator, and / or displaying the driving path from the vehicle's parking location in the indoor parking lot to the elevator / escalator in the building. This allows users to quickly find the route into the building, improving the user experience.
[0020] In one possible implementation, the system further includes displaying an image of the vehicle's parking location in the indoor parking lot and / or displaying an image representing the vehicle's location information in the indoor parking lot. This allows the user to obtain environmental information about their parking location, such as the floor or area where the vehicle is located, thereby improving the user experience.
[0021] In one possible implementation, the method further includes: displaying a first image, the first image being an image of the vehicle at the parking position in the indoor parking lot, or the first image being used to represent the vehicle's position information in the indoor parking lot; and switching the first image to a second image, in response to a first user operation, the first image being different from the second image and the second image being an image of the vehicle at the parking position in the indoor parking lot, or the second image being used to represent the vehicle's position information in the indoor parking lot. Thus, the user can view the desired image by switching images, thereby improving the user experience.
[0022] In one possible implementation, the system further includes: displaying a first image, the first image representing the floor or area of the vehicle in the indoor parking lot; and, in response to a first user operation, switching the first image to a second image, the first image being different from the second image and representing the floor or area of the vehicle in the indoor parking lot. Thus, the user can view the desired image by switching images, thereby improving the user experience.
[0023] In one possible implementation, the viewing operation is: when the electronic device obtains a new message, the user opens the new message; or, the user opens the target message from the message list of the electronic device, and the target message includes the location information of the vehicle in the indoor parking lot; or, the user selects the location of the vehicle in the application on the electronic device.
[0024] In a third aspect, the present application provides a vehicle positioning device, comprising: an image acquisition module and a processing module. The image acquisition module is used to, when the vehicle enters an indoor parking lot, use the camera in the vehicle to capture images at track points included in the vehicle's driving trajectory during the vehicle's driving process. The processing module is used to obtain a first driving trajectory of the vehicle in a target floor in the indoor parking lot, where the target floor is the floor where the vehicle is currently located; and, based on the semantic information contained in the image at the track point on the first driving trajectory, calculate the location information of the vehicle's current location in the indoor parking lot, where the location information includes the floor and / or area. The processing module is also used to output the location information of the parking space in the indoor parking lot when the vehicle's current location is a parking space.
[0025] In a possible implementation, when the gear position of the vehicle is the parking gear, the current position of the vehicle is a parking space.
[0026] In one possible implementation, the processing module is further used to: output floor height change information of the vehicle when it is driving in the indoor parking lot, and / or at least a portion of the driving trajectory of the vehicle in the indoor parking lot, based on the driving trajectory of the vehicle in the indoor parking lot, wherein the trajectory points on at least a portion of the driving trajectory include the current position of the vehicle.
[0027] In one possible implementation, the image acquisition module is further configured to capture a target image in the indoor parking lot using a camera. The target image is used to represent target information of the parking space in the indoor parking lot. The target information includes one or more of the environmental information surrounding the parking space, the floor level, and the area in which the parking space is located. The processing module is further configured to output the target image.
[0028] In one possible implementation, when the processing module calculates the position information of the vehicle's current position in the indoor parking lot based on the semantic information contained in the image at the trajectory point on the first driving trajectory, the processing module is specifically used to: count the semantic information contained in the image at different trajectory points on the first driving trajectory, wherein the semantic information corresponding to different trajectory points on the first driving trajectory has different weights, and the weight is determined based on the distance between the trajectory point on the first driving trajectory and the current position of the vehicle; calculate the distribution probability of the floors and the distribution probability of the areas corresponding to different trajectory points on the first driving trajectory based on the statistical results; calculate the position information of the vehicle's current position in the indoor parking lot based on the distribution probability of the floors and the distribution probability of the areas corresponding to different trajectory points on the first driving trajectory.
[0029] In a fourth aspect, the present application provides a vehicle-finding device that can be deployed in an electronic device, such as a mobile phone. The vehicle-finding device includes an acquisition module and a display module. The acquisition module is configured to acquire a user's query operation regarding the location of a vehicle located in an indoor parking lot. The display module is configured to display the vehicle's location information within the indoor parking lot, including the floor and / or zone.
[0030] In one possible implementation, the display module is further used to: display the driving path from the user's location to the vehicle's location, or display at least a portion of the facilities on the driving path, or display the user's location and the vehicle's location at the same time.
[0031] In one possible implementation, the display module is also used to display floor height change information when the vehicle is driving in an indoor parking lot, and / or at least a portion of the vehicle's driving trajectory in the indoor parking lot, wherein the trajectory points on at least a portion of the driving trajectory include the current location of the vehicle.
[0032] In one possible implementation, different lines are used in both the floor height change information and the at least a portion of the driving trajectory to indicate that the vehicle is traveling on different floors. The line indicating the first floor in the floor height change information is the same as the line indicating the first floor in the at least a portion of the driving trajectory, where the first floor is any floor in the indoor parking lot.
[0033] In one possible implementation, the display module is further used to: display at least a portion of the facilities in the building where the indoor parking lot is located, and / or display the travel path from the parking position of the vehicle in the indoor parking lot to the elevator / escalator in the building.
[0034] In a possible implementation, the display module is further configured to: display an image of the vehicle at the parking position in the indoor parking lot, and / or display an image representing position information of the vehicle in the indoor parking lot.
[0035] In one possible implementation, the display module is further used to: display a first image, the first image is an image of the vehicle at the parking position in the indoor parking lot, or the first image is used to represent the position information of the vehicle in the indoor parking lot; in response to a first operation of the user, switch the first image to a second image, the first image is different from the second image, and the second image is an image of the vehicle at the parking position in the indoor parking lot, or the second image is used to represent the position information of the vehicle in the indoor parking lot.
[0036] In one possible implementation, the display module is further used to: display a first image, where the first image is used to represent the floor information or area information of the vehicle in the indoor parking lot; in response to a first operation of the user, switch the first image to a second image, where the first image is different from the second image, and the first image is used to represent the floor information or area information of the vehicle in the indoor parking lot.
[0037] In one possible implementation, the viewing operation is: when the electronic device obtains a new message, the user opens the new message; or, the user opens the target message from the message list of the electronic device, and the target message includes the location information of the vehicle in the indoor parking lot; or, the user selects the location of the vehicle in the application on the electronic device.
[0038] In a fifth aspect, the present application provides an electronic device comprising: at least one memory for storing programs; and at least one processor for executing the programs stored in the memory; wherein, when the programs stored in the memory are executed, the processor is used to execute the method described in the first aspect or any possible implementation of the first aspect, or to execute the method described in the second aspect or any possible implementation of the second aspect.
[0039] In a sixth aspect, the present application provides a vehicle, comprising the electronic device described in the third aspect. In this case, the processor in the electronic device can be used to execute the method described in the first aspect or any possible implementation of the first aspect.
[0040] In the seventh aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a processor, the processor executes the method described in the first aspect or any possible implementation of the first aspect, or executes the method described in the second aspect or any possible implementation of the second aspect.
[0041] In an eighth aspect, the present application provides a computer program product, which, when the computer program product runs on a processor, enables the processor to execute the method described in the first aspect or any possible implementation of the first aspect, or to execute the method described in the second aspect or any possible implementation of the second aspect.
[0042] It can be understood that the beneficial effects of the third to eighth aspects mentioned above can be found in the relevant descriptions in the first or second aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The following is a brief introduction to the drawings required for describing the embodiments or prior art.
[0044] FIG1 is a schematic structural diagram of a vehicle provided in an embodiment of the present application;
[0045] FIG2 is a schematic diagram of the direction of acceleration in the z-axis direction in three-dimensional space when a vehicle is traveling on an inclined road and a non-inclined road, provided by an embodiment of the present application;
[0046] FIG3 is a schematic diagram of a floor height change after a vehicle enters an indoor parking lot from an outdoor location, according to an embodiment of the present application;
[0047] FIG4 is a schematic diagram of a change in pitch angle of a vehicle while traveling on a road, provided by an embodiment of the present application;
[0048] FIG5 is a schematic diagram of a lateral rotation angle change and a corresponding driving trajectory of a vehicle when traveling on a road provided by an embodiment of the present application;
[0049] FIG6 is a schematic diagram showing a comparison of the direction of a vehicle's driving trajectory before and after correction using the vehicle's position information, provided by an embodiment of the present application;
[0050] FIG7 is a schematic diagram of steps for identifying semantic information contained in an image provided by an embodiment of the present application;
[0051] FIG8 is a schematic diagram of segmenting regions containing semantic information in an image according to an embodiment of the present application;
[0052] FIG9 is a schematic diagram of a driving trajectory provided by an embodiment of the present application, and a diagram of a map after the driving trajectory and the calculated position information of each trajectory point in an indoor parking lot are integrated into a map;
[0053] FIG10 is a schematic diagram of a process for selecting an area where a parking position is located based on a driving trajectory and calculating the area of each trajectory point on a certain floor of an indoor parking lot, provided by an embodiment of the present application;
[0054] FIG11 is a schematic diagram of an interface display on an electronic device provided in an embodiment of the present application;
[0055] FIG12 is a schematic diagram of an interface display on an electronic device provided in an embodiment of the present application;
[0056] FIG13 is a schematic diagram of an interface display on an electronic device provided in an embodiment of the present application;
[0057] FIG14 is a flow chart of a vehicle positioning method provided in an embodiment of the present application;
[0058] FIG15 is a flow chart of a vehicle search method according to an embodiment of the present application;
[0059] FIG16 is a schematic structural diagram of a vehicle positioning device provided in an embodiment of the present application;
[0060] FIG17 is a schematic structural diagram of a vehicle-finding device provided in an embodiment of the present application;
[0061] FIG18 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] The term "and / or" as used herein describes an association between related objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. The symbol " / " as used herein indicates that the related objects are in an "or" relationship, for example, A / B means either A or B.
[0063] The terms "first" and "second" in this specification and claims are used to distinguish different objects rather than to describe a specific order of objects. For example, "first response message" and "second response message" are used to distinguish different response messages rather than to describe a specific order of response messages.
[0064] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0065] In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more, for example, multiple processing units means two or more processing units, etc.; multiple elements means two or more elements, etc.
[0066] Typically, cameras are installed above parking spaces in indoor parking lots, and servers for data processing are deployed at locations such as the parking lot's management center. When a vehicle enters the indoor parking lot and parks in a space, the camera captures an image of the vehicle's license plate, and the server identifies the license plate number in the image. When a user needs to find their vehicle, they enter the license plate number on a car search terminal in the parking lot. The car search terminal then requests the server's location information for the vehicle corresponding to the license plate number. The server sends this location information to the car search terminal, which then displays the vehicle's specific location, allowing the user to easily find the vehicle. While this method allows users to easily find their vehicle, it requires a large number of additional cameras, making it very costly. Furthermore, users often need to first access the car search terminal in the parking lot, making the search process cumbersome and providing a poor user experience.
[0067] In addition, a map of the indoor parking lot can be pre-stored in the vehicle. In this case, after the vehicle enters the indoor parking lot, the parking position of the vehicle on the map can be calculated based on the vehicle's speed, heading angle, etc. Although this method allows the user to observe the parking position of the vehicle on the parking lot map, the user can only observe the position of the vehicle on the map and cannot obtain the floor area level location information (that is, which area on which floor the vehicle is parked). When the user is not familiar with the parking lot, it is difficult for the user to quickly find the vehicle. In addition, this method requires the pre-construction of a map of the indoor parking lot, resulting in a high cost.
[0068] In view of this, an embodiment of the present application provides a method for positioning a vehicle in an indoor parking lot. By combining the vehicle's driving trajectory with the image captured by the vehicle's camera, the vehicle can be positioned in an indoor parking lot. While ensuring positioning accuracy, the cost of vehicle positioning in an indoor parking lot is reduced, and the user can know the floor and / or area where his vehicle is located in the indoor parking lot within a short time after parking, thereby improving the user experience.
[0069] For example, Figure 1 shows a schematic diagram of the structure of a vehicle provided in an embodiment of the present application. As shown in Figure 1, the vehicle 100 may include: a camera 110, an inertial measurement unit (IMU) 120, a wheel speed sensor 130, a GNSS 140, and a controller 150.
[0070] The camera 110 is mainly used to collect static images or videos in front of the vehicle 100. The camera 110 can be installed on the front windshield of the vehicle 100, or installed at other locations of the vehicle 100, which is not limited here.
[0071] IMU 120 is primarily used to measure the acceleration and angular velocity signals of vehicle 100 in three-dimensional space. IMU 120 may primarily consist of an accelerometer and a gyroscope. The accelerometer primarily detects the acceleration signals of vehicle 100 in three-dimensional space. The gyroscope primarily detects the angular velocity signals of vehicle 100 in three-dimensional space.
[0072] The wheel speed sensor 130 is mainly used to measure the rotation speed of the wheels of the vehicle 100. For example, the wheel speed sensor 130 can be a magnetoelectric wheel speed sensor or a Hall-type wheel speed sensor.
[0073] The GNSS 140 is mainly used to locate the vehicle 100 outdoors.
[0074] Controller 150 can be configured to determine whether vehicle 100 has entered an indoor parking lot based on the signal strength of GNSS 140. Specifically, when vehicle 100 enters an indoor parking lot, the signal strength of GNSS 140 (e.g., carrier-to-noise ratio, signal-to-noise ratio, etc.) often falls below a preset value due to the indoor space. Therefore, when the signal strength of GNSS 140 falls below a preset value, controller 150 can determine that vehicle 100 has entered an indoor parking lot.
[0075] In this embodiment, the controller 150 may also be configured to calculate the driving trajectory of the vehicle 100 based on the data detected by the IMU 120 and the wheel speed sensor 130, and output the driving trajectory of the vehicle 100. Specifically, when calculating the driving trajectory of the vehicle 100, the controller 150 may use a certain moment when the vehicle 100 is parked as a starting point and calculate the driving trajectory based on the data output by the IMU 120 and the wheel speed sensor 130. Taking vehicle 100 traveling on a road with an inclination angle of 0° as an example, as shown in FIG2(A), when vehicle 100 travels from its position at time t1 to its position at time t2, the change in angular velocity of vehicle 100 in three-dimensional space indicates that vehicle 100 has turned right by an angle α, and the data from the wheel speed sensors between time t2 and time t1 indicates that the distance traveled by vehicle 100 is L1. When vehicle 100 travels from its position at time t2 to its position at time t3, the change in angular velocity of vehicle 100 in three-dimensional space indicates that vehicle 100 has turned right by an angle β, and the data from the wheel speed sensors between time t3 and time t2 indicates that the distance traveled by vehicle 100 is L2. In FIG2(A), assuming that the position of vehicle 100 at time t1 is known, the driving trajectory of vehicle 100 can be calculated as shown in FIG2(B).
[0076] Furthermore, the controller 150 can also be used to correct the direction of the calculated driving trajectory based on the positioning results of the GNSS 140. Specifically, when the controller 150 calculates the driving trajectory of the vehicle 100, when the position of the vehicle 100 at some time is unknown, although the controller 150 can calculate the driving trajectory of the vehicle 100, it is difficult to know the direction of the driving trajectory. Therefore, the positioning information output by the outdoor GNSS 140 can be used to correct the direction of the driving trajectory calculated by the controller 150 so that the driving trajectory can better reflect the actual driving conditions of the vehicle 100. For example, as shown in (A) of Figure 3, area 31 shows the driving trajectory of the vehicle 100 from time t1 to time t4, and area 32 shows the position of the vehicle 100 at time t1 and time t2. As can be seen in FIG3(A), there is a deviation between the position and trajectory of vehicle 100 at time t1, but there is a significant deviation between the position and trajectory at time t2. Therefore, the trajectory at times t1 and t2 can be corrected using the position at times t1 and t2, as shown in FIG3(B). Combining FIG3(A) and FIG3(B), it can be seen that the direction of the driving trajectory shown in FIG3(B) is significantly deviated to the left relative to the direction of the driving trajectory shown in FIG3(A), and the driving trajectory shown in FIG3(B) better reflects the actual driving conditions of vehicle 100. In some embodiments, before vehicle 100 enters the parking lot, controller 150 may correct the direction of vehicle 100's driving trajectory at least once based on the positioning information output by GNSS 140. Thereafter, controller 150 may use the last corrected direction as a reference and calculate the driving trajectory of vehicle 100 based on the data detected by IMU 120 and wheel speed sensor 130 while vehicle 100 is driving in the parking lot. In this way, it is ensured that the driving trajectory of the vehicle 100 in the indoor parking lot is consistent with the actual driving process of the vehicle 100.
[0077] In this embodiment, the controller 150 can also be used to calculate the ride height of the vehicle 100 during driving based on the data detected by the IMU 120 and the wheel speed sensor 130, and output the changes in the ride height of the vehicle 100 during driving. Specifically, the controller 150 can determine whether the vehicle 100 is on a road with an inclination angle based on the acceleration of the vehicle 100 in three-dimensional space. For example, as shown in FIG4 (A), when the vehicle 100 is on a road with an inclination angle of 0° (i.e., a road with no slope), the direction of the gravitational acceleration g experienced by the vehicle 100 is parallel to the z-axis direction in the spatial coordinate system. In this case, the gravitational acceleration g has no components on both the z-axis and the y-axis, where the z-axis is perpendicular to the ground. As shown in FIG4 (B), when the vehicle 100 is on a road with a certain inclination angle (i.e., a road with a slope), the direction of the gravitational acceleration g experienced by the vehicle 100 is at a certain angle to the z-axis direction in the spatial coordinate system. In this case, the gravitational acceleration g has components on both the z-axis and the y-axis. Therefore, when the acceleration of vehicle 100 on the z-axis is detected to be g, it can be determined that vehicle 100 is on a road with an inclination angle of 0°; when the acceleration of vehicle 100 on the z-axis is detected to be less than g, it can be determined that vehicle 100 is on a road with an inclination angle greater than 0°. Furthermore, when it is calculated that vehicle 100 is traveling on a road with a certain inclination angle, the wheel speed data detected by wheel speed sensor 130 can be used to calculate the distance traveled by vehicle 100 on the road with that inclination angle. Furthermore, based on the distance traveled and the magnitude of the inclination angle, and using trigonometric formulas, the height of descent or ascent of vehicle 100 can be calculated.
[0078] Furthermore, when the vehicle 100 is traveling in the indoor parking lot, the controller 150 can determine whether the vehicle 100 is traveling on the i-th floor, or whether it is traveling from the i-th floor to the (i-1)-th floor, based on the difference between the vehicle 100's descending height and a preset height value. Simultaneously, the controller 150 can also determine whether the vehicle 100 is traveling on the i-th floor, or whether it is traveling from the i-th floor to the (i+1)-th floor, based on the difference between the vehicle 100's ascending height and a preset height value. Furthermore, after determining whether the vehicle 100 is traveling on a certain floor or traveling from a certain floor to another floor, the controller 150 can generate a diagram of the changes in floor heights during the vehicle 100's driving in the indoor parking lot based on the results of its calculations. For example, a diagram showing a change in floor height can be shown in FIG5 . In FIG5 , from time t0 to t1, the vehicle 100 is traveling on the ground (i.e., floor 0); from time t1 to t2, the vehicle 100 goes downhill and enters the first underground floor; from time t2 to t3, the vehicle 100 is traveling on the first underground floor; from time t3 to t4, the vehicle 100 goes downhill and enters the second underground floor; from time t4 to t5, the vehicle 100 is traveling on the second underground floor; from time t5 to t6, the vehicle 100 goes uphill and enters the first underground floor; from time t6 to t7, the vehicle 100 is traveling on the first underground floor; from time t7 to t8, the vehicle 100 goes uphill and enters the ground (i.e., floor 0), and travels on the ground after time t8. It should be understood that FIG5 shows virtual floors, not absolute floors, and there may be errors between them and the absolute floors.
[0079] In some embodiments, real-time calculation of vehicle height changes often places high demands on the computing power of controller 150. Considering that changes in the pitch angle of vehicle 100 can reflect whether vehicle 100 is traveling on a flat surface, moving up one level, or down one level, to reduce the computing power requirements of controller 150, the timing for calculating vehicle 100 height changes can be selected based on changes in the vehicle's pitch angle. Controller 150 can combine at least the acceleration and angular velocity of vehicle 100 in three-dimensional space to determine the pitch angle of vehicle 100. Specifically, when the acceleration of vehicle 100 in three-dimensional space indicates that the vehicle is on a road with a 0° inclination angle, the pitch angle of vehicle 100 can be determined to be 0°. Subsequently, the pitch angle of vehicle 100 can be calculated based on the angular velocity of vehicle 100 in three-dimensional space, using the pitch angle of 0° as a reference. For example, as shown in Figure 6, at time t1, it can be calculated that the pitch angle of the vehicle 100 is 0, and the vehicle 100 is traveling on a level floor; at time t2, the angle at which the vehicle 100 tilts upward is α, so it can be determined that the pitch angle of the vehicle 100 at this moment is 0+α=α, and the vehicle 100 is traveling to the upper floor; at time t3, the angle at which the vehicle 100 tilts downward is α, so it can be determined that the pitch angle of the vehicle 100 at this moment is α-α=0, and the vehicle 100 is traveling on a level floor; at time t4, the angle at which the vehicle 100 tilts downward is β, so it can be determined that the pitch angle of the vehicle 100 at this moment is 0-β=-β, and the vehicle 100 is traveling to the lower floor; at time t5, the angle at which the vehicle 100 tilts upward is β, so it can be determined that the pitch angle of the vehicle 100 at this moment is -β+β=β, and the vehicle 100 is traveling on a level floor.
[0080] In this embodiment, the controller 150 can calculate the vehicle's speed based on the wheel speed data detected by the wheel speed sensor 130 in the vehicle 100. For example, the controller 150 can process the wheel speed data output by the wheel speed sensor 130 using an average wheel speed method, a maximum vehicle speed method, a simulation algorithm based on a dynamic model, or a recursive algorithm based on a Kalman filter method to obtain the vehicle's speed. Furthermore, the controller 150 can calculate the distance traveled by the vehicle 100 over a period of time based on the relationship between speed, time, and distance.
[0081] In this embodiment, the controller 150 can also be used to identify semantic information contained in the image based on the image captured by the camera 110, and, when the vehicle 100 is parked in an indoor parking lot, output the floor and / or area where the parking position of the vehicle 100 is located in the parking lot. After determining that the vehicle 100 has entered the indoor parking lot, the controller 150 can recognize the image captured by the camera 110 in real time or periodically (for example, every 0.5 seconds, 1 second, etc.). For example, as shown in Figure 7, in S701, the controller 150 can first identify the areas containing semantic information in the image captured by the camera 110 through a neural network, and segment these areas and output them. For example, when the image captured by the camera 110 is the image shown in Figure 8 (A), the segmented areas can be shown in Figure 8 (B). In S702, the controller 150 can continue to use the neural network to identify the segmented areas containing semantic information to identify the semantics contained in each area. For example, continuing to refer to (B) of Figure 8, the semantics recognized at this time can be two As, two B1s, a left turn arrow, and a B2. In S703, the controller 150 can use empirical parking guidance knowledge (for example, Bx and Px usually represent floors, Vx and Zx usually represent areas, etc.) to filter the recognized semantics to filter out the text representing floors and areas, and remove the direction-type identifier and the text next to it (because the text next to the direction-type identifier is often used to explain the direction-type identifier, so it needs to be removed), or filter out the text representing floors and areas, and identify the relationship between the direction-type identifier and the text next to it, and record the semantics of the direction-type identifier. For example, taking the example of filtering out the text representing floors and areas, and removing the direction-type identifier and the text next to it, continuing to refer to (B) of Figure 8, the results of the screening are: two B1s representing floors and two A's representing areas. In S704, the controller 150 can generate structured semantic information related to the parking lot based on the screening results. For example, taking the example of filtering out the text representing floors and areas, and removing the direction-related symbols and the text next to them, and continuing to refer to Figure 8 (B), the filtering results are: two B1s representing floors and two A's representing areas. Therefore, the structured semantic information related to the parking lot can be generated as follows: Floor category: B1 x2 times, Area category: A x2 times. Taking the example of filtering out the text representing floors and areas, and identifying the relationship between the direction-related symbols and the text next to them, and recording the semantics of the direction-related symbols, and continuing to refer to Figure 8 (B), the filtering results are: two B1s representing floors, A representing areas, a left-turn arrow, and a B2 representing a floor, and the left-turn arrow is related to B2. Therefore, the structured semantic information related to the parking lot can be generated as follows: Floor category: B1 x2 times, Area category: A x2 times, Direction category: B2 turns left.
[0082] Furthermore, the controller 150 can combine the calculated semantic information related to the parking lot with the driving trajectory of the vehicle 100. The driving trajectory of the vehicle 100 in the indoor parking lot can be consistent with its corresponding position in the parking lot. Therefore, each time the controller 150 calculates semantic information related to the parking lot at a certain point on the driving trajectory, it can associate this information with the position of the vehicle 100. For example, the controller 150 can merge the driving trajectory of the vehicle 100 on a certain floor and the semantic information related to the parking lot at the point on the driving trajectory on that floor into a single map. After the IMU 120 and wheel speed sensor 130 calculate that the vehicle 100 has moved from one floor to another, the data in the map can be updated, thereby ensuring that the data in the map is always data for the same floor. For example, the size of the map is preset, such as 100 meters long and 100 meters wide, and the real-time position of the vehicle 100 (i.e., the current location, or the location at the current moment) is displayed at the center of the map. Among them, in this map, when a certain trajectory point in the driving trajectory has semantic information related to the parking lot, the trajectory point can be marked. For example, as shown in Figure 9, when the driving trajectory of vehicle 100 in a certain floor of the parking lot is shown in Figure 9 (A), the driving trajectory in this floor (i.e., line 91) and the semantic information related to the parking lot at each trajectory point calculated in this floor are integrated into a map. The result can be shown in Figure 9 (B). In Figure 9 (A), line 91 is obtained by connecting multiple trajectory points, and point 92 indicates the parking position or the current position of the vehicle (i.e., the real-time position of the vehicle). In Figure 9 (B), point 92 indicates the parking position or the current position of the vehicle, and point 93 in Figure 9 (B) is the trajectory point that has semantic information related to the parking lot.
[0083] Furthermore, after a user parks vehicle 100 at a certain location in the parking lot, a vote can be performed based on the regions in the semantic information related to the parking lot at each trajectory point in the map corresponding to the parking location. Based on the voting results, the region in the parking lot where vehicle 100 is located can be determined. Considering that regions closer to the parking location have higher credibility, weights can be assigned to each region based on the proximity of the region in the map corresponding to the parking location to the parking location of vehicle 100 before voting on each region, thereby improving the accuracy of the voting results. In some embodiments, the parking location of vehicle 100 can be the position when the gear lever of vehicle 100 is in the parking gear (P gear). In some embodiments, to improve the accuracy of the determined region, a distribution probability of each region can be determined based on the number of votes in each region in the voting results. When the maximum distribution probability is greater than a preset probability value, the region corresponding to that distribution probability is used as the final result. This avoids selecting the wrong region when the distribution probability is uniform.
[0084] For example, referring to FIG10 , in FIG10 (A), if the region at track point 1 is Z1, the region at track point 2 is Z1, the region at track point 3 is Z2, the region at track point 4 is Z2, the region at track point 5 is Z3, and the region at track point 6 is Z3. As shown in FIG10 (B), when assigning weights to each region, the weight assigned to the region at track point 1 may be 10, the weight assigned to the region at track point 2 may be 8, the weight assigned to the region at track point 3 may be 5, the weight assigned to the region at track point 4 may be 6, the weight assigned to the region at track point 5 may be 5, and the weight assigned to the region at track point 6 may be 1. After the weight assignment is completed, as shown in FIG10 (C), the number of votes for Z1 can be calculated based on the assigned weights as follows: 10 + 8 = 18, the number of votes for Z2 is 5 + 6 = 11, and the number of votes for Z3 is 5 + 1 = 6. Finally, the voting results can be used to determine that the vehicle's parking location is located in zone Z1. For example, when the semantic information related to the parking lot at a trajectory point contains multiple zones, the weights of these multiple zones are the weights assigned to the trajectory point. Multiplying these multiple zones by their corresponding weights yields the number of votes for these multiple zones at the trajectory point. This result is then combined with the other votes for statistical analysis to yield the final voting result.
[0085] The floor where the parking location of the vehicle 100 in the indoor parking lot is located can be determined by the floor currently located by the vehicle 100 calculated by the IMU 120 and the wheel speed sensor 130, or by the floor in the map corresponding to the parking location of the vehicle 100, such as selecting the floor with the most appearances as the floor, or a combination of the two. For example, when there are fewer floors in the map corresponding to the parking location of the vehicle 100, the floor currently located by the vehicle 100 calculated above can be used for determination. When there are more floors in the map corresponding to the parking location of the vehicle 100, the floor in the map corresponding to the parking location of the vehicle 100 can be used for determination. For example, when determining the floor of the parking location from the floor in the map corresponding to the parking location of the vehicle 100, reference can be made to the aforementioned content of determining the area where the parking location is located from the area in the map corresponding to the parking location of the vehicle 100, which will not be repeated here. In some embodiments, considering that the current floor of the vehicle 100 calculated by the IMU 120 and the wheel speed sensor 130 is a virtual floor, not an absolute floor, and the floor determined by the floor in the map corresponding to the parking position of the vehicle 100 is a real floor, when determining the floor, it is best to determine it by the floor in the map corresponding to the parking position of the vehicle 100.
[0086] In this embodiment, after determining the location information (i.e., floor and / or zone) of the parking location of the vehicle 100 in the indoor parking lot, the controller 150 may output the location information. For example, the controller 150 may push the location information to a user's electronic device, such as a mobile phone. In this way, the user can quickly obtain the floor and / or zone of the parking lot where the vehicle is parked from the electronic device.
[0087] For example, a user can perform a viewing operation on an electronic device for the location of a vehicle. After that, the electronic device, after obtaining the viewing operation, can display the location information of the vehicle in the indoor parking lot on its display component such as a display screen. The location information may include floors and / or areas. For example, as shown in Figure 11, in Figure 11 (A), if the application xxx on the electronic device is specifically used to view the location of the vehicle, the user can click on the application, and then the electronic device can display an interface as shown in Figure 11 (B). In Figure 11 (B), area 1103 displays the location information of the vehicle in the indoor parking lot.
[0088] In addition, the controller 150 may also push the calculated driving trajectory of the vehicle 100, the floor height change information during driving, an image of the surrounding environment of the parking location, or an image that can represent the location information of the parking location in the indoor parking lot to the electronic device used by the user. Afterwards, the user can view this information through an application (APP) installed on the electronic device. For example, referring to FIG11 (B), when the electronic device displays the location information of the vehicle in the indoor parking lot in area 1103, it can display the vehicle's driving trajectory in area 1101, display the vehicle's driving height change in area 1102, and display an image of the surrounding environment of the vehicle's parking location in area 1104. In addition, when displaying the vehicle's driving trajectory, the location of some or all facilities (such as elevators, escalators, etc.) inside the building where the vehicle is parked can also be displayed. For example, referring to FIG11 (B), the locations of escalators E1 and E2 in the building can be displayed in area 1101. Furthermore, when the location of the elevator / escalator within the building where the vehicle is parked is displayed, the user's travel path from the parking location to the nearest elevator / escalator can also be displayed, allowing the user to quickly reach the elevator / escalator and avoid wasting time searching for the elevator / escalator. Continuing with FIG11(B), area 1101 displays escalators E1 and E2, as well as line L1. Line L1 indicates the route the user takes from parking location P to the nearest escalator E1.
[0089] In some embodiments, the controller 150 can simultaneously push an image of the parking location's surroundings and an image representing the floor information / area information at the parking location to the user's electronic device. The user can then select the image to view on the electronic device based on their needs. For example, the image of the parking location can be referred to as a "parking perspective image," and the image representing the floor information / area information at the parking location can be referred to as a "floor / area perspective image." For example, as shown in FIG12(A), when displaying the vehicle's location information in an indoor parking lot, the electronic device can display a control 1203 for viewing the "parking perspective" image and a control 1202 for viewing the "floor / area perspective" image in area 1201. After the user clicks control 1202 for viewing the "floor / area perspective" image, the "floor / area perspective" image can be displayed in area 1201, in which the "B2-A Zone" logo can be intuitively seen. Of course, the electronic device can also display the "floor / area perspective" image by default when the user views the vehicle's location. In FIG12(A), when the user clicks control 1203 for viewing the "parking perspective" image, as shown in FIG12(B), the "parking perspective" image may be displayed in area 1201, in which the user can intuitively see the environmental information in front of the vehicle. Of course, when the user does not click a control, one or more default images corresponding to the control may also be displayed, for example, displaying both the "parking perspective" image and the "floor / area perspective" image, or displaying only the "parking perspective" image, or displaying only the "floor / area perspective" image, etc. For other information displayed in FIG12(A) and (B), please refer to the description in FIG11(B) above, which will not be repeated here.
[0090] Additionally, in FIG12(B), the control for viewing the "floor / area perspective" image can be replaced with a "control for viewing the "floor perspective" image" and a "control for viewing the "area perspective" image." In this case, when the user clicks the control for viewing the "floor perspective" image, an image representing the floor of the vehicle in the indoor parking lot can be displayed. When the user clicks the control for viewing the "area perspective" image, an image representing the area of the vehicle in the indoor parking lot can be displayed. In other embodiments, an image of the parking location's surroundings and an image representing the floor / area of the parking location can be displayed simultaneously on the electronic device. The user can then select the image they want to view based on their needs, such as viewing the image of the parking location's surroundings. For example, the image of the parking location's surroundings can be used to represent environmental information surrounding the parking location, such as objects in front of the vehicle when the vehicle is parked. That is, in this embodiment, when the electronic device is displaying a certain image and detects the user's operation to view another image, the electronic device can switch the currently displayed image to the image the user desires to view.
[0091] Furthermore, to facilitate the user's understanding of the relationship between the vehicle 100's driving trajectory and changes in driving height, the vehicle's driving trajectory at different heights may be marked with different colors or lines. For example, referring to FIG11(B), in region 1102, the vehicle's trajectory at different driving heights may be marked with different lines, and different driving heights in region 1102 are also marked with corresponding lines.
[0092] In some embodiments, when a user views the location information of a vehicle in a parking lot, the electronic device may also display the driving path from the user's location to the vehicle's location, or display at least a portion of the facilities on the driving path, or simultaneously display the user's location and the vehicle's location. In this way, the user can be informed of the driving path from their current location to the vehicle's location, thereby facilitating the user's quick locating of the vehicle and improving the user experience. For example, as shown in FIG13 , the user's location 1302, the vehicle's location 1303, and the driving path 1304 from the user's location 1302 to the vehicle's location 1303 may be displayed in area 1301 of the display interface on the electronic device. In addition, FIG13 may also display facilities such as escalators / elevators within the building to which the vehicle belongs in the indoor parking lot, such as escalators 1305 and 1306. For other information displayed in FIG13 , please refer to the description in FIG11 (B) above, which will not be repeated here.
[0093] It should be understood that in this embodiment, when the electronic device displays the location information of the vehicle in the indoor parking lot, it can simultaneously display the various types of information described above, or it can display them in time. For example, when the user chooses to display a certain information, the information will be displayed. The specific information can be determined according to the actual situation and is not limited here.
[0094] The above is an introduction to the vehicle 100 and the like provided in the embodiments of the present application. Next, based on the contents of the above embodiments, a vehicle positioning method and a vehicle finding method provided in the embodiments of the present application are introduced. Part or all of the following contents can be referred to the relevant description above.
[0095] For example, FIG14 shows a flow chart of a vehicle positioning method provided by an embodiment of the present application. As shown in FIG14 , the vehicle positioning method may include the following steps:
[0096] S1401: When a vehicle enters an indoor parking lot, use a camera in the vehicle to collect images of track points included in the vehicle's driving track during the vehicle's driving process.
[0097] In this embodiment, after a vehicle enters an indoor parking lot, the camera in the vehicle can be used to capture images of the track points included in the vehicle's driving trajectory during the vehicle's driving process. For example, during the vehicle's driving process, the camera in the vehicle can capture images in front of the vehicle in real time or periodically to obtain images of the vehicle at the track points included in its driving trajectory. For example, the track points on the driving trajectory can be used to represent the vehicle's position during driving. For example, since the quality of communication signals in indoor parking lots is often poor, when the signal strength of the GNSS in the vehicle is lower than a preset value, it can be determined that the vehicle has entered an indoor parking lot.
[0098] S1402: Obtain a first driving trajectory of the vehicle on a target floor in the indoor parking lot, where the target floor is the floor where the vehicle is currently located.
[0099] In this embodiment, the vehicle's driving trajectory can be calculated using data detected by the vehicle's inertial measurement unit and wheel speed sensors. The direction of the driving trajectory can be determined based on GNSS positioning information when the vehicle is driving outdoors. After calculating the vehicle's driving trajectory, the first driving trajectory can be obtained from the driving trajectories on the floor the vehicle is currently located. For example, the first driving trajectory can be a trajectory within a preset range centered around the vehicle's current location within the calculated driving trajectory.
[0100] S1403: Calculate the location information of the vehicle's current position in the indoor parking lot based on the semantic information contained in the image at the trajectory point on the first driving trajectory, where the location information includes the floor and / or area.
[0101] In this embodiment, after obtaining the first driving trajectory, the semantic information contained in the image at each trajectory point on the driving trajectory can be identified to obtain semantic information related to the parking lot contained in the image, such as floor information, area information, etc. After calculating the semantic information related to the parking lot contained in the image at each trajectory point, the obtained semantic information related to the parking lot can be statistically analyzed to obtain the location information of the vehicle's current position in the indoor parking lot. This location information includes floor and / or area. For details about the calculation process, please refer to the description of controller 150 in Figure 1 above, which will not be repeated here. For example, the vehicle's current position can be the vehicle's real-time location in the indoor parking lot, such as a position 10 meters from the entrance on the negative 1 floor of the indoor parking lot; the vehicle's current location information in the indoor parking lot can be the vehicle's current target floor in the indoor parking lot and / or a certain area on the target floor, such as Area A on the negative 1 floor. In addition, the area included in the location information can be understood as one of the multiple areas into which the parking area on a certain floor is divided. For example, when the parking area on the negative 1st floor of an indoor parking lot is divided into three areas A, B, and C, if the vehicle is currently located in area B, the area included in the location information can be area B. For example, the location of a parking space can be understood as the position of the vehicle when the vehicle is in the parking gear.
[0102] S1404: When the current location of the vehicle is a parking space, output location information of the parking space in the indoor parking lot.
[0103] In this embodiment, when a vehicle is parked in a parking space in an indoor parking lot, that is, when the vehicle's current location is a parking space, the location information of the vehicle's parking space in the indoor parking lot can be output. For example, the location information of the parking space in the indoor parking lot can be output via a text message or an application. This allows users to quickly learn the floor and / or area of the indoor parking lot where their vehicle is parked, allowing them to quickly find the vehicle. For example, during vehicle use, after the vehicle is parked and the engine is turned off, the driver is often required to shift the vehicle's gear to park. Therefore, if the vehicle's gear is in park, the vehicle's current location can be considered a parking space.
[0104] Therefore, by combining the vehicle's driving trajectory with the images collected by the vehicle's camera, the vehicle can be positioned in an indoor parking lot. While ensuring positioning accuracy, the cost of vehicle positioning in an indoor parking lot is reduced, and users can know the location of their vehicle within a short time after parking, thereby improving the user experience.
[0105] In some embodiments, in addition to outputting the location information of the vehicle's parking space in the indoor parking lot, information about the floor height change of the vehicle while driving in the indoor parking lot and / or at least a portion of the vehicle's driving trajectory while in the indoor parking lot can also be output based on the vehicle's driving trajectory. This allows the user to view their driving trajectory and / or the height change during driving, improving the user experience. The floor height change information can be determined based on images at different points along the driving trajectory, or it can be determined based on data from the vehicle's IMU and wheel speed sensors during driving. For details, please refer to the aforementioned description of controller 150 in Figure 1 and will not be repeated here.
[0106] In some embodiments, to further facilitate users' quick vehicle search, a camera can be used to capture a target image within an indoor parking lot. This target image can be used to represent the target information of the parking space where the vehicle is located within the indoor parking lot. This target information includes one or more of: information about the parking space's surroundings, the floor level, or the area where the parking space is located. Furthermore, the captured target image is output. This allows users to quickly obtain environmental information, such as the floor level or area, of the vehicle's parking location through the target image, and can use this information as a reference when searching for the vehicle.
[0107] For example, FIG15 shows a flow chart of a method for finding a car provided by an embodiment of the present application. The method can be, but is not limited to, executed by an electronic device used by a user (such as a mobile phone). As shown in FIG15 , the method for finding a car can include the following steps:
[0108] S1501: Obtain a user's viewing operation on a vehicle's location, where the vehicle is located in an indoor parking lot.
[0109] In this embodiment, a user can perform an operation to view the vehicle's location on an electronic device. The electronic device can then access this operation. The vehicle being viewed is located in an indoor parking lot. For example, the viewing operation can include opening a new message received by the terminal device; or opening a target message from the terminal device's message list, where the target message includes the vehicle's location information in the indoor parking lot; or selecting the vehicle's location in an application on the terminal device.
[0110] S1502: Display the location information of the vehicle in the indoor parking lot, where the location information includes the floor and / or area.
[0111] In this embodiment, after the electronic device obtains the user's viewing operation, it can display the location information of the vehicle in the indoor parking lot on its display screen. Among them, the location information includes the floor and / or area of the vehicle in the indoor parking lot. For example, the content shown in area 1103 in (B) of Figure 11 is displayed. Exemplarily, the location information of the vehicle in the indoor parking lot can be calculated based on the semantic information contained in the image of at least a part of the track points on the driving trajectory of the vehicle in the target floor in the indoor parking lot. See the above description for details and will not be repeated here. Among them, the target floor is the floor where the vehicle is currently located.
[0112] In this way, when a user is looking for a car, he or she can quickly obtain the location information of his or her vehicle in the indoor parking lot from the electronic device, such as the floor or area, so that he or she can find the vehicle at the corresponding location information, thereby improving the user experience.
[0113] In some embodiments, the electronic device may also display information about changes in floor height while the vehicle is traveling in the parking lot, such as the content shown in area 1102 in FIG. 11(B); and / or at least a portion of the vehicle's driving trajectory in the parking lot, where at least a portion of the trajectory points include the vehicle's current location, such as the content shown in area 1101 in FIG. This allows the user to intuitively understand changes in floor height and a portion of the vehicle's driving trajectory within the parking lot, thereby enhancing the user experience.
[0114] Furthermore, when floor height change information and at least a portion of the driving trajectory are displayed simultaneously, different lines are used in both the floor height change information and the at least a portion of the driving trajectory to indicate the different floors the vehicle is traveling on. The line indicating the first floor in the floor height change information is the same as the line indicating the first floor in the at least a portion of the driving trajectory, where the first floor is any floor in the indoor parking lot. This facilitates informing the user of the floor on which the currently displayed driving trajectory is located, improving the user experience.
[0115] In some embodiments, the electronic device may also display an image of the vehicle's parking location in the indoor parking lot (i.e., the image from the aforementioned parking perspective), such as the content shown in area 1201 in FIG. 12(B); and / or an image representing the vehicle's location in the indoor parking lot, such as the content shown in area 1201 in FIG. 12(A). This allows the user to obtain environmental information about their parking location, such as the floor / area the vehicle is located in, thereby enhancing the user experience.
[0116] In some embodiments, the electronic device may further display a first image. The first image is an image of the vehicle at the parking position in the indoor parking lot, or the first image is used to represent the location information of the vehicle in the indoor parking lot. Afterwards, the user may issue an instruction to switch the image or perform this type of operation. After receiving the user's operation or instruction, the electronic device may switch the first image to the second image. The first image is different from the second image, and the second image is an image of the vehicle at the parking position in the indoor parking lot, or the second image is used to represent the location information of the vehicle in the indoor parking lot. Thus, the user can view the image they need by switching images, thereby improving the user experience. For example, referring to FIG. 12 , the image shown in area 1201 in FIG. 12 (A) may be a “first image”, and the image shown in area 1201 in FIG. 12 (B) may be a “second image”.
[0117] In some embodiments, the electronic device may also display a first image. This first image represents the floor or area of the vehicle in the indoor parking lot. Subsequently, the user may issue an instruction to switch images or perform such an operation. Upon receiving the user's operation or instruction, the electronic device may switch the first image to a second image, which is different from the second image and represents the floor or area of the vehicle in the indoor parking lot. Thus, the user can view the desired image by switching images, improving the user experience.
[0118] It is understood that the order of execution of the steps in the above embodiments does not necessarily imply a specific order of execution. The order of execution of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of this application. In addition, in some possible implementations, the steps in the above embodiments can be selectively executed according to actual circumstances, which is not limited here.
[0119] The above is an introduction to the vehicle positioning method and vehicle finding method provided by the embodiments of the present application. Next, based on the methods in the above embodiments, a vehicle positioning device provided by the embodiments of the present application is introduced.
[0120] Exemplarily, FIG16 shows a structural diagram of a vehicle positioning device provided in an embodiment of the present application. As shown in FIG16 , the vehicle positioning device 1600 may include: an image acquisition module 1601 and a processing module 1602. Among them, the image acquisition module 1601 is used to use the camera in the vehicle to capture images at track points included in the vehicle's driving trajectory during the vehicle's driving process when the vehicle enters the indoor parking lot. The processing module 1602 is used to obtain a first driving trajectory of the vehicle in the target floor in the indoor parking lot, where the target floor is the floor where the vehicle is currently located; and, based on the semantic information contained in the image at the track point on the first driving trajectory, calculate the location information of the vehicle's current location in the indoor parking lot, where the location information includes the floor and / or area. The processing module 1602 is also used to output the location information of the parking space in the indoor parking lot when the vehicle's current location is a parking space.
[0121] In some embodiments, when the gear position of the vehicle is the parking gear, the current position of the vehicle is a parking space.
[0122] In some embodiments, the processing module 1602 is further used to: output floor height change information of the vehicle when it is driving in the indoor parking lot based on the driving trajectory of the vehicle in the indoor parking lot, and / or at least a portion of the driving trajectory of the vehicle in the indoor parking lot, wherein the trajectory points on at least a portion of the driving trajectory include the current position of the vehicle.
[0123] In some embodiments, image acquisition module 1601 is further configured to use a camera to capture a target image in an indoor parking lot. The target image is used to represent target information of a parking space in the indoor parking lot. The target information includes one or more of environmental information surrounding the parking space, the floor level, and the area in which the parking space is located. Processing module 1602 is further configured to output the target image.
[0124] In some embodiments, when the processing module 1602 calculates the position information of the current position of the vehicle in the indoor parking lot based on the semantic information contained in the image at the trajectory point on the first driving trajectory, it is specifically used to: count the semantic information contained in the image at different trajectory points on the first driving trajectory, wherein the semantic information corresponding to different trajectory points on the first driving trajectory has different weights, and the weight is determined based on the distance between the trajectory point on the first driving trajectory and the current position of the vehicle; calculate the distribution probability of the floors and the distribution probability of the areas corresponding to different trajectory points on the first driving trajectory based on the statistical results; calculate the position information of the current position of the vehicle in the indoor parking lot based on the distribution probability of the floors and the distribution probability of the areas corresponding to different trajectory points on the first driving trajectory.
[0125] It should be understood that the above-mentioned device is used to execute the vehicle positioning method in the above-mentioned embodiment. The implementation principle and technical effect of the corresponding program module in the device are similar to those described in the above-mentioned method. The working process of the device can refer to the corresponding process in the above-mentioned method and will not be repeated here.
[0126] For example, Figure 17 illustrates a schematic diagram of the structure of a vehicle-finding device provided in an embodiment of the present application. As shown in Figure 17 , the vehicle-finding device 1700 may include an acquisition module 1701 and a display module 1702. Acquisition module 1701 is configured to acquire a user's query operation regarding the location of a vehicle located in an indoor parking lot. Display module 1702 is configured to display the vehicle's location information within the indoor parking lot, including the floor and / or area.
[0127] In some embodiments, the display module 1702 is further used to: display the driving path from the user's location to the vehicle's location, or display at least a portion of the facilities on the driving path, or display the user's location and the vehicle's location at the same time.
[0128] In some embodiments, the display module 1702 is also used to display floor height change information when the vehicle is driving in the indoor parking lot, and / or at least a portion of the driving trajectory of the vehicle in the indoor parking lot, wherein the trajectory points on at least a portion of the driving trajectory include the current location of the vehicle.
[0129] In some embodiments, different lines are used in both the floor height change information and the at least a portion of the driving trajectory to indicate that the vehicle is traveling on different floors. The line indicating the first floor in the floor height change information is the same as the line indicating the first floor in the at least a portion of the driving trajectory, where the first floor is any floor in the indoor parking lot.
[0130] In some embodiments, the display module 1702 is further used to: display at least a portion of the facilities in the building where the indoor parking lot is located, and / or display the driving path from the parking position of the vehicle in the indoor parking lot to the elevator / escalator in the building.
[0131] In some embodiments, the display module 1702 is further configured to: display an image of the vehicle at the parking position in the indoor parking lot, and / or display an image representing the position information of the vehicle in the indoor parking lot.
[0132] In some embodiments, the display module 1702 is further used to: display a first image, where the first image is an image of the vehicle at the parking position in the indoor parking lot, or the first image is used to represent the location information of the vehicle in the indoor parking lot; in response to a first operation of the user, switch the first image to a second image, where the first image is different from the second image, and the second image is an image of the vehicle at the parking position in the indoor parking lot, or the second image is used to represent the location information of the vehicle in the indoor parking lot.
[0133] In some embodiments, the display module 1702 is further used to: display a first image, where the first image is used to represent the floor information or area information of the vehicle in the indoor parking lot; in response to a first operation of the user, switch the first image to a second image, where the first image is different from the second image, and the first image is used to represent the floor information or area information of the vehicle in the indoor parking lot.
[0134] In some embodiments, the user's viewing operation is: when the electronic device obtains a new message, the user opens the new message; or, the user opens the target message from the message list of the electronic device, and the target message includes the location information of the vehicle in the indoor parking lot; or, the user selects the location of the vehicle in the application on the electronic device.
[0135] It should be understood that the above-mentioned device is used to execute the vehicle-finding method in the above-mentioned embodiment. The implementation principle and technical effect of the corresponding program module in the device are similar to those described in the above-mentioned method. The working process of the device can refer to the corresponding process in the above-mentioned method and will not be repeated here.
[0136] Based on the method in the above embodiment, the embodiment of the present application further provides an electronic device 1800. As shown in Figure 18, the electronic device 1800 includes: a bus 1802, a processor 1804, a memory 1806, and a communication interface 1808. The processor 1804, the memory 1806, and the communication interface 1808 communicate with each other via the bus 1802. The electronic device 1800 can be, but is not limited to, the vehicle described above, an on-board terminal or on-board computer, a chip, or a mobile phone in the vehicle. It should be understood that the present application does not limit the number of processors and memories in the electronic device 1800, nor the specific type of the electronic device.
[0137] Bus 1802 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, among others. Buses may be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG18 shows only one line, but this does not imply that there is only one bus or only one type of bus. Bus 1804 may include a path for transmitting information between various components of electronic device 1800 (e.g., memory 1806, processor 1804, and communication interface 1808).
[0138] The processor 1804 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0139] The memory 1806 may include volatile memory, such as random access memory (RAM). The processor 1804 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).
[0140] Memory 1806 stores executable program code, which processor 1804 executes to implement the functions of the modules described above in FIG. 16 or 17 , thereby performing all or part of the steps of the method in the above-described embodiment. In other words, memory 1806 stores instructions for executing all or part of the steps of the method in the above-described embodiment.
[0141] Alternatively, the memory 1806 stores executable code, and the processor 1804 executes the executable code to implement the functions of the vehicle positioning device 1600 or the vehicle finding device 1700 described above, thereby implementing all or part of the steps in the above-described method. In other words, the memory 1806 stores instructions for executing all or part of the steps in the above-described method.
[0142] The communication interface 1803 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the electronic device 1800 and other devices or a communication network.
[0143] Based on the methods in the above embodiments, embodiments of the present application provide a vehicle. The vehicle may include electronic device 1800 as described in FIG18 . A processor in electronic device 1800 may be used to execute the aforementioned vehicle positioning method. For example, the vehicle may be vehicle 100 as described in FIG1 .
[0144] Based on the method in the above embodiment, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a processor, the processor executes the method in the above embodiment.
[0145] Based on the method in the above embodiment, an embodiment of the present application provides a computer program product. When the computer program product runs on a processor, the processor executes the method in the above embodiment.
[0146] It should be understood that each step of the above method embodiment can be completed by a hardware-based logic circuit or a software-based instruction in a processor.
[0147] It is understood that the processor in the embodiments of the present application may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.
[0148] The method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC.
[0149] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted via the computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)).
[0150] It will be understood that the various numerical numbers involved in the embodiments of the present application are merely distinctions for the convenience of description and are not intended to limit the scope of the embodiments of the present application.
Claims
1. A vehicle positioning method, characterized in that: include: When a vehicle enters an indoor parking lot, using a camera in the vehicle to collect images of track points included in a driving track of the vehicle during the driving of the vehicle; Acquire a first driving trajectory of the vehicle on a target floor in the indoor parking lot, where the target floor is the floor where the vehicle is currently located; Calculating location information of the current location of the vehicle in the indoor parking lot based on semantic information contained in the image at the trajectory point on the first driving trajectory, wherein the location information includes a floor and / or an area; When the current location of the vehicle is a parking space, the location information of the parking space in the indoor parking lot is output.
2. The method according to claim 1, characterized in that When the gear position of the vehicle is the parking gear, the current position of the vehicle is a parking space.
3. The method according to claim 1 or 2, characterized in that: The outputting the location information of the parking space in the indoor parking lot specifically includes: The location information of the parking space in the indoor parking lot is outputted via a text message or an application.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Based on the driving trajectory of the vehicle in the indoor parking lot, the floor height change information when the vehicle is driving in the indoor parking lot is output, and / or at least a portion of the driving trajectory of the vehicle in the indoor parking lot, wherein the trajectory points on the at least a portion of the driving trajectory include the current position of the vehicle.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Using the camera to collect a target image in the indoor parking lot, the target image is used to represent target information of the parking space in the indoor parking lot, the target information including: environmental information around the parking space, one or more of the floor and area where the parking space is located; The target image is output.
6. The method according to any one of claims 1 to 5, characterized in that: The calculating, based on the semantic information contained in the image at the track point on the first driving track, the position information of the current position of the vehicle in the indoor parking lot specifically includes: Counting semantic information contained in images at different track points on the first driving track, wherein the semantic information corresponding to different track points on the first driving track has different weights, and the weights are determined based on the distance between the track point on the first driving track and the current position of the vehicle; Based on the statistical results, calculating the distribution probability of floors and the distribution probability of areas corresponding to different trajectory points on the first driving trajectory; Based on the distribution probabilities of floors and areas corresponding to different trajectory points on the first driving trajectory, the location information of the current location of the vehicle in the indoor parking lot is calculated.
7. A method for finding a vehicle, characterized in that: Used in electronic equipment, including: Acquiring a viewing operation of a user on a location of a vehicle, wherein the vehicle is located in an indoor parking lot; The location information of the vehicle in the indoor parking lot is displayed, where the location information includes a floor and / or an area.
8. The method according to claim 7, characterized in that Also includes: The driving path from the user's location to the vehicle's location is displayed, or at least a portion of facilities on the driving path is displayed, or the user's location and the vehicle's location are displayed simultaneously.
9. The method according to claim 7 or 8, characterized in that: Also includes: Displaying floor height change information when the vehicle is traveling in the indoor parking lot, and / or at least a portion of the driving trajectory of the vehicle in the indoor parking lot, wherein the trajectory points on the at least a portion of the driving trajectory include the current position of the vehicle.
10. The method according to claim 9, characterized in that In the floor height change information and the at least a portion of the driving trajectory, different lines are used to indicate that the vehicle is driving on different floors; The line of the first floor identified in the floor height change information is the same as the line of the first floor identified in the at least part of the driving trajectory, and the first floor is any floor in the indoor parking lot.
11. The method according to any one of claims 7 to 10, characterized in that: Also includes: At least a portion of the facilities in the building where the indoor parking lot is located is displayed, and / or a travel path from the parking position of the vehicle in the indoor parking lot to the elevator / escalator in the building is displayed.
12. The method according to any one of claims 7 to 11, characterized in that: Also includes: An image of the vehicle at a parking position in the indoor parking lot is displayed, and / or an image representing position information of the vehicle in the indoor parking lot is displayed.
13. The method according to any one of claims 7 to 11, characterized in that: Also includes: Displaying a first image, where the first image is an image of the vehicle at a parking position in the indoor parking lot, or the first image is used to represent position information of the vehicle in the indoor parking lot; In response to a first operation by the user, the first image is switched to a second image, wherein the first image is different from the second image, and the second image is an image of the vehicle at the parking position in the indoor parking lot, or the second image is used to represent the position information of the vehicle in the indoor parking lot.
14. The method according to any one of claims 7 to 11, characterized in that: Also includes: displaying a first image, wherein the first image is used to represent a floor or area of the vehicle in the indoor parking lot; In response to a first operation of the user, the first image is switched to a second image, the first image is different from the second image, and the first image is used to represent a floor or area of the vehicle in the indoor parking lot.
15. The method according to any one of claims 7 to 11, characterized in that: The viewing operation is: When the electronic device obtains a new message, the user opens the new message; Alternatively, the user opens a target message from a message list of the electronic device, wherein the target message includes the location information of the vehicle in the indoor parking lot; Alternatively, the user selects an operation of the vehicle's location in an application on the electronic device.
16. An electronic device, characterized in that: include: at least one memory for storing a program; at least one processor, configured to execute the program stored in the memory; Wherein, when the program stored in the memory is executed, the processor is used to execute the method according to any one of claims 1-6, or to execute the method according to any one of claims 7-15.
17. A vehicle, characterized in that: The electronic device comprises the electronic device as claimed in claim 19, wherein the processor in the electronic device is used to execute the method as claimed in any one of claims 1-6.
18. A computer-readable storage medium storing a computer program, wherein when the computer program is executed on a processor, the processor executes the method according to any one of claims 1 to 6, or executes the method according to any one of claims 7 to 15.
19. A computer program product, characterized in that When the computer program product runs on a processor, the processor is enabled to execute the method according to any one of claims 1 to 6, or to execute the method according to any one of claims 7 to 15.
Citation Information
Patent Citations
Vehicle positioning method, vehicle searching method, electronic equipment and vehicle
CN118865727A
Vehicle positioning method and device, equipment and storage medium
CN109637177A
Indoor pedestrian positioning and tracking method without map
CN110631578A
Systems and methods for determining vehicle location in parking structures
CN111105640A
Vehicle searching guiding method and device, equipment and computer readable storage medium
CN113012464A
Cited By
Intelligent parking management method and system based on video recognition
CN121354052A
Intelligent parking management method and system based on video recognition
CN121354052B
Method for operating a parking assistance system, computer program product, parking assistance system, and vehicle having a parking assistance system
WO2026209333A1
