Vehicle searching method, apparatus, device, and storage medium
Through the combination of ultra-wideband technology and electronic compass, precise vehicle positioning and navigation in parking lots are achieved, solving the problem of difficulty in finding cars in large parking lots, improving user experience and car-finding efficiency, and reducing construction costs.
Patent Information
- Application Number
- PCT/CN2023/122443
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-13
- Filing Date
- 2023-09-28
- Publication Date
- 2024-10-17
AI Technical Summary
In large parking lots, it is difficult for users to accurately find the parking location of vehicles, especially in environments with poor GPS signal coverage. Existing indoor navigation solutions have problems such as poor positioning accuracy, unstable network signals, and high construction costs.
Using ultra-wideband (UWB) technology combined with an electronic compass to obtain the relative position information between the mobile terminal and the vehicle terminal, determine the position information of the mobile terminal and the vehicle terminal in the set coordinate system, and calculate the target pointing to the icon based on the steering angle Orientation information enables precise vehicle positioning and navigation.
It improves the accuracy and efficiency of finding cars in the parking lot, reduces dependence on GPS signals, reduces construction costs, has stronger applicability and better user experience.
Smart Images

Figure CN2023122443_17102024_PF_FP_ABST
Abstract
Description
Vehicle search method, device, equipment and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 13, 2023, with application number 202310391846.1, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present disclosure relate to the field of vehicle technology, for example, to a vehicle search method, device, equipment, and storage medium. Background Art
[0003] With the increasing popularity of private cars, large and complex parking lots have become commonplace. When users return to find their parked vehicles, relying on memory is the most common method. However, large parking lots have many floors, large spaces, vague directions, and difficult to discern directions. Users struggle to remember their specific parking locations in these maze-like parking lots. Consequently, the difficulty of finding a car is widespread, and it has become a major pain point for users.
[0004] Typically, users can use the Global Positioning System (GPS) to find their vehicle's parking location using their mobile phone navigation. However, GPS also has significant limitations: it can only accurately locate the vehicle's location outdoors with a good GPS signal. If the user parks in areas with poor GPS coverage, such as underground parking lots or closed parking garages, the GPS positioning error can reach over 100 meters. However, parking lots often experience poor signal strength, or even no mobile phone or GPS signal at all, making it impossible to locate the vehicle using GPS.
[0005] To address the difficulty of finding a car, traditional large underground parking lots have offered some temporary solutions, such as indoor navigation and license plate location tracking. However, these solutions remain immature. Indoor parking lot navigation technologies suffer from significant route deviations, poor network signals, significant interactive response delays, and poor positioning accuracy. Furthermore, these solutions are not universally applicable and require both software and hardware support from parking lots, resulting in high construction and maintenance costs, making them difficult to popularize.
[0006] Summary of the Invention
[0007] The embodiments of the present disclosure provide a vehicle search method, apparatus, device, and storage medium, which can achieve accurate vehicle search and improve vehicle search efficiency, thereby improving user experience.
[0008] In a first aspect, an embodiment of the present disclosure provides a method for finding a vehicle, comprising: obtaining relative position information of a mobile terminal relative to a vehicle terminal; determining first position information of the mobile terminal in a set coordinate system and second position information of the vehicle terminal in a set coordinate system based on the relative position information; wherein the set coordinate system is located in the interface of the mobile terminal; determining target orientation information of a pointing icon based on the first position information, the second position information and the steering angle of the mobile terminal; wherein the pointing icon is used to indicate that the mobile terminal points to the vehicle terminal; based on the first position information, the second position information and the target orientation information, a mobile terminal icon, a vehicle terminal icon and the pointing icon are displayed in the interface of the mobile terminal, so that the user can find the vehicle according to the pointing icon; wherein the pointing icon is located above the mobile terminal icon.
[0009] In the second aspect, the embodiment of the present disclosure also provides a vehicle-finding device, including: a relative position information acquisition module, used to obtain the relative position information of the mobile terminal relative to the vehicle terminal; a position information determination module, used to determine the first position information of the mobile terminal in the set coordinate system and the second position information of the vehicle terminal in the set coordinate system based on the relative position information; wherein the set coordinate system is located in the interface of the mobile terminal; a target orientation information determination module, used to determine the target orientation information of the pointing icon based on the first position information, the second position information and the steering angle of the mobile terminal; wherein the pointing icon is used to indicate that the mobile terminal points to the vehicle terminal; a display module, used to display the mobile terminal icon, the vehicle terminal icon and the pointing icon in the interface of the mobile terminal based on the first position information, the second position information and the target orientation information, so that the user can find the car according to the pointing icon; wherein the pointing icon is located above the mobile terminal icon.
[0010] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0011] one or more processors;
[0012] a storage device for storing one or more programs,
[0013] When the one or more programs are executed by the one or more processors, the one or more processors implement the vehicle-finding method as described in the embodiment of the present disclosure.
[0014] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer-executable instructions, which, when executed by a computer processor, are used to execute the vehicle-finding method as described in an embodiment of the present disclosure.
[0015] The technical solution disclosed in this embodiment obtains relative position information of a mobile terminal relative to a vehicle terminal; determines first position information of the mobile terminal in a set coordinate system and second position information of the vehicle terminal in a set coordinate system based on the relative position information; wherein the set coordinate system is located in the interface of the mobile terminal; determines target orientation information of a pointing icon based on the first position information, the second position information, and the steering angle of the mobile terminal; wherein the pointing icon is used to indicate that the mobile terminal is pointing to the vehicle terminal; based on the first position information, the second position information, and the target orientation information, a mobile terminal icon, a vehicle terminal icon, and the pointing icon are displayed in the interface of the mobile terminal, so that the user can find the vehicle based on the pointing icon. In the embodiment of the present disclosure, by determining the target orientation information of the pointing icon based on the first position information, the second position information, and the steering angle of the mobile terminal, and displaying the mobile terminal icon, the vehicle terminal icon, and the pointing icon in the interface of the mobile terminal based on the first position information, the second position information, and the target orientation information, accurate vehicle finding can be achieved, vehicle finding efficiency can be improved, and thus user experience can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
[0017] FIG1 is a flow chart of a method for finding a vehicle according to an embodiment of the present application;
[0018] FIG2 is a schematic diagram of the ranging process between the mobile terminal and the vehicle terminal provided in an embodiment of the present application;
[0019] FIG3 is a flow chart of another vehicle search method provided by an embodiment of the present application;
[0020] FIG4 is a schematic diagram of a car search interface provided by an embodiment of the present application;
[0021] FIG5 is a schematic diagram of a car search interface provided by an embodiment of the present application;
[0022] FIG6 is a schematic diagram of another car search interface provided in an embodiment of the present application;
[0023] FIG7 is a schematic effect diagram of a second movement trajectory curve provided in an embodiment of the present application;
[0024] FIG8 is a schematic structural diagram of a vehicle-finding device provided by an embodiment of the present disclosure;
[0025] FIG9 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] The following will describe embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only.
[0027] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown.
[0028] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0029] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0030] It should be noted that the modifications of “one” and “multiple” mentioned in the present disclosure are illustrative, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as “one or more”.
[0031] It is understandable that the data involved in this technical solution (including the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.
[0032] FIG1 is a flow chart of a vehicle search method provided in an embodiment of the present application. This embodiment is applicable to searching for a target vehicle in a parking lot (including indoor and outdoor parking lots). The method can be performed by a vehicle search device and specifically includes the following steps:
[0033] S110. Obtain relative position information of the mobile terminal relative to the vehicle terminal.
[0034] The relative position information can be understood as the position information of the mobile terminal relative to the vehicle terminal. The mobile terminal can be understood as a mobile terminal device, which includes mobile phones with display functions, watches, bracelets, smart keys, etc. Specifically, both the vehicle terminal and the mobile terminal are equipped with ultra-wideband (UWB) technology.
[0035] Ultra-wideband (UWB) technology is a wireless carrier communication technology that uses nanosecond-scale, non-sinusoidal, narrow pulses to transmit data. UWB's wide spectrum and low power spectral density make it insensitive to channel fading, has low interception capabilities, and offers high positioning accuracy. It is suitable for wireless access in dense multipath environments, such as indoor locations.
[0036] In this embodiment, when a mobile terminal with a UWB module approaches a vehicle terminal with a UWB module within a set distance, the UWB modules of the two terminals will automatically establish a connection, and the vehicle terminal obtains the positioning information of the two terminals and calculates the distance information between the two terminals. As shown in Figure 2, Figure 2 is a schematic diagram of the ranging process of the mobile terminal and the vehicle terminal provided in the embodiment of the present application. The vehicle terminal ranging method is mainly: the mobile terminal requests the vehicle terminal to establish a connection, the vehicle terminal sends a verification digital certificate to the mobile terminal, after the verification is passed, the mobile terminal and the vehicle terminal establish an encrypted communication channel, after the establishment is successful, the vehicle terminal polls UWB data, responds to the round-trip time measurement of the data packet, etc. Each time the vehicle terminal obtains the positioning information of the vehicle terminal and the mobile terminal through UWB technology, determines the relative position information of the mobile terminal relative to the vehicle terminal through the positioning information, the vehicle terminal sends the relative position information to the mobile terminal, and the mobile terminal receives the relative position information of the mobile terminal relative to the vehicle terminal.
[0037] Optionally, obtaining the relative position information of the mobile terminal relative to the vehicle terminal includes: receiving the relative position information of the mobile terminal relative to the vehicle terminal sent by the vehicle terminal.
[0038] The relative position information is obtained by the vehicle based on an ultra-wideband chip. In this embodiment, both the mobile and vehicle terminals are equipped with ultra-wideband chips, enabling communication between the mobile terminal and the vehicle terminal. Accurate information about the relative position of the mobile terminal relative to the vehicle terminal, as well as the distance and direction between the two terminals, can be obtained, thereby enabling precise vehicle search and improving vehicle search efficiency.
[0039] Optionally, obtaining the relative position information of the mobile terminal relative to the vehicle terminal includes: obtaining the relative position information of the mobile terminal relative to the vehicle terminal at set time intervals.
[0040] It should be noted that since the user needs to dynamically search for the target vehicle, that is, the mobile terminal is moving and the vehicle terminal is stationary, the relative position information of the mobile terminal relative to the vehicle terminal can be obtained at a set time interval. The specific set time interval can be set according to actual needs, for example, 50 milliseconds.
[0041] S120. Determine first position information of the mobile terminal in the set coordinate system and second position information of the vehicle terminal in the set coordinate system based on the relative position information.
[0042] Among them, the set coordinate system can be understood as a plane Cartesian coordinate system. The set coordinate system is located in the interface of the mobile terminal. Specifically, the mobile terminal or the vehicle terminal can be used as the origin. If the vehicle terminal is used as the origin, the second position information of the vehicle terminal in the set coordinate system is the origin, and the first position information of the mobile terminal in the set coordinate system can be determined based on the relative position information and the origin. If the mobile terminal is used as the origin, the first position information of the mobile terminal in the set coordinate system is the origin, and the second position information of the vehicle terminal in the set coordinate system can be determined based on the relative position information and the origin. The positions of the mobile terminal and the vehicle terminal in the interface of the mobile terminal are determined based on the first position information and the second position information, and displayed to the user through the interface.
[0043] Optionally, determining the first position information of the mobile terminal in the set coordinate system based on the relative position information includes: determining the first position information of the mobile terminal in the set coordinate system based on the relative position information at set time intervals to obtain multiple first position information.
[0044] In this embodiment, the relative position information of the mobile terminal relative to the vehicle terminal is obtained by setting a time interval. Accordingly, if the vehicle terminal is used as the origin, the first position information of the mobile terminal in the set coordinate system can be determined based on the relative position information at set time intervals to obtain multiple first position information. Alternatively, if the mobile terminal is used as the origin, the second position information of the vehicle terminal in the set coordinate system can be determined based on the relative position information to obtain multiple second position information. In this embodiment, by obtaining relative position information at set time intervals and determining the first position information and the second position information at set time intervals, the relative position information of the mobile terminal relative to the vehicle terminal can be continuously and accurately obtained, thereby continuously and accurately updating the positions of the mobile terminal and the vehicle terminal in the set coordinate system.
[0045] S130: Determine target orientation information of the pointing icon according to the first position information, the second position information, and the turning angle of the mobile terminal.
[0046] Among them, the pointing icon is used to indicate that the mobile terminal is pointing to the vehicle terminal. Among them, the pointing icon can be an icon with a pointing function, for example, it can be an arrow icon. In this embodiment, the mobile terminal is provided with an electronic compass, and the steering angle of the mobile terminal can be obtained through the electronic compass. Among them, the electronic compass, also called a digital compass, is mainly made of a magnetoresistive sensor and a fluxgate. The electronic compass measures the earth's electromagnetic field through the magnetoelectric effect and solves the plane orientation. The global positioning system GPS signal is often blocked by terrain and objects, resulting in a significant reduction in accuracy, and the global positioning system GPS cannot provide heading information when it is stationary. The electronic compass can effectively compensate for the global positioning system GPS signal to ensure that the navigation and orientation information is valid. A major advantage of the electronic compass is that it can work normally even after the GPS signal is lost.
[0047] The steering angle can be understood as the angle of the mobile terminal relative to true north in the real world. In this embodiment, the target orientation information of the pointing icon can be accurately determined based on the first position information, the second position information, and the steering angle of the mobile terminal. This allows the pointing icon to accurately point to the vehicle based on the target orientation information, allowing the user to accurately find the vehicle based on the pointing icon.
[0048] S140. Displaying a mobile terminal icon, a vehicle terminal icon, and a pointing icon in the mobile terminal interface based on the first position information, the second position information, and the target orientation information, so that the user can find the vehicle according to the pointing icon.
[0049] In this embodiment, the mobile terminal icon is displayed on the mobile terminal interface based on the first position information, the vehicle terminal icon is displayed on the mobile terminal interface based on the second position information, and the pointing icon is displayed on the mobile terminal interface based on the target direction information.
[0050] The technical solution disclosed in this embodiment obtains the relative position information of the mobile terminal relative to the vehicle terminal; determines the first position information of the mobile terminal in the set coordinate system and the second position information of the vehicle terminal in the set coordinate system based on the relative position information; wherein the set coordinate system is located in the interface of the mobile terminal; determines the target orientation information of the pointing icon based on the first position information, the second position information and the steering angle of the mobile terminal; wherein the pointing icon is used to indicate that the mobile terminal is pointing to the vehicle terminal; based on the first position information, the second position information and the target orientation information, the mobile terminal icon, the vehicle terminal icon and the pointing icon are displayed in the interface of the mobile terminal, so that the user can find the car according to the pointing icon. In the embodiment disclosed in this embodiment, by determining the target orientation information of the pointing icon based on the first position information, the second position information and the steering angle of the mobile terminal, and displaying the mobile terminal icon, the vehicle terminal icon and the pointing icon in the interface of the mobile terminal based on the first position information, the second position information and the target orientation information, it is possible to achieve accurate car finding, improve car finding efficiency, and thus improve user experience.
[0051] FIG3 is a flow chart of another method for finding a car provided by an embodiment of the present application. The present embodiment is a refinement of the above embodiment. Referring to FIG3 , the method provided by the present embodiment specifically includes the following steps:
[0052] S210: Obtain relative position information of the mobile terminal relative to the vehicle terminal.
[0053] Optionally, before obtaining the relative position information of the mobile terminal relative to the vehicle terminal, it also includes: obtaining the initial relative position information of the mobile terminal relative to the vehicle terminal; determining the third position information of the mobile terminal in the set coordinate system and the fourth position information of the vehicle terminal in the set coordinate system based on the initial relative position information; obtaining the initial steering angle of the mobile terminal; wherein the initial steering angle is the angle of the mobile terminal relative to the set direction; obtaining the first angle of the vehicle terminal relative to the set direction; determining the second angle based on the initial steering angle and the first angle; determining the first particle angle based on the third position information and the fourth position information; the first particle angle is the angle between the line connecting the vehicle terminal and the mobile terminal and the set direction; determining the initial orientation information of the pointing icon based on the second angle and the first particle angle; displaying the mobile terminal icon, vehicle terminal icon and pointing icon in the mobile terminal interface based on the third position information, the fourth position information and the initial orientation information.
[0054] In this embodiment, the initial relative position information of the mobile terminal relative to the vehicle terminal is obtained, wherein the initial relative position information can be understood as the initial relative position information when the mobile terminal is close to the vehicle terminal. The third position information of the mobile terminal in the set coordinate system and the fourth position information of the vehicle terminal in the set coordinate system are determined based on the initial relative position information. The initial steering angle of the mobile terminal is obtained through an electronic compass. The initial steering angle is the angle of the mobile terminal relative to the north direction. The first angle of the vehicle terminal's front facing relative to the north direction can be obtained through the UWB data of the vehicle terminal. The second angle is determined based on the initial steering angle and the first angle. For example, for the vehicle search mode with the vehicle terminal icon as the origin, assuming that the initial steering angle is α, the first angle is β, and the second angle can be θ diff =|α-β|. For the vehicle search mode with the mobile terminal icon as the origin, the calculation method is the same as that of the vehicle search mode with the vehicle terminal icon as the origin, but the coordinates in the set coordinate system need to be inverted.
[0055] In this embodiment, the first particle angle is determined based on the third position information and the fourth position information; the first particle angle is the angle between the line connecting the vehicle end and the mobile end and the positive direction of the y-axis (i.e., the north direction) in the set coordinate system.
[0056] Assuming that the positive direction of the y-axis is the starting point, the movement of the icon and the angle of rotation of the pointing icon are calculated based on the positive direction of the y-axis. When initializing the mobile terminal icon position, the vehicle terminal icon position and the pointing icon angle (target orientation information), it is necessary to calculate the initial particle angle θ0, that is, both the vehicle terminal and the mobile terminal are regarded as particles without mass and size, and the first particle angle in the set coordinate system is calculated. Taking the vehicle search mode with the vehicle terminal as the origin as an example, the third position information is (x, y), the fourth position information is (0, 0), and the calculation formula of the first particle angle θ0 is shown as follows:
[0057] Critical value (i.e. x=0 and / or y=0):
[0058] If x=0, y=0, then θ0=0; if x=0, y>0, then θ0=π; if x=0, y<0, then θ0=0; if x>0, y=0, then If x<0, y=0, then
[0059] Non-critical value: If x>0, y>0, then θ0=θ+π; if x>0, y<0, then If x<0, y>0, then If x<0, y<0, then θ0=θ.
[0060] in,
[0061] In this embodiment, the calculated first particle angle θ0 is only the angle formed when the mobile end and the vehicle end are regarded as particles. The orientation of the vehicle head and the steering angle of the mobile end itself are not taken into account, and the orientation relationship between the mobile end device and the vehicle end cannot be displayed. Therefore, the initial orientation information of the pointing icon can also be determined based on the second angle and the first particle angle. The mobile end icon is displayed in the interface of the mobile end based on the third position information, the vehicle end icon is displayed in the interface of the mobile end based on the fourth position information, and the pointing icon is displayed in the interface of the mobile end based on the initial orientation information. For example, the initial orientation information is recorded as θ′0, and the specific calculation formula of the initial orientation information is as follows: θ′0=θ0+θ diff =θ0+|α-β|
[0062] In the formula, θ′0∈[0,2π), α∈[0,2π), β∈[0,2π)
[0063] Wherein θ′0 is the initial orientation information (ie, the initial angle) after taking into account the steering angles of the vehicle side and the mobile side, so that the directional icon is displayed in the interface of the mobile side according to the initial orientation information.
[0064] Exemplarily, after receiving the location and distance information from the vehicle, the mobile terminal will display it to the user via icons. Key elements included in the mobile terminal interface include the vehicle terminal icon, the mobile terminal icon (i.e., the user location icon), and the indicator icon. As shown in Figure 4, Figure 4 is a schematic diagram of a vehicle search interface provided by an embodiment of the present application. In the set coordinate system in the mobile terminal interface, the y-axis is generally parallel to the longitudinal direction of the mobile terminal, the positive direction of the y-axis is directly above the mobile terminal, and the x-axis follows the positional relationship of the right-hand coordinate system. As shown in Figure 4, the vehicle terminal icon is placed at the origin of the coordinate system, with the vehicle's orientation being the positive direction of the y-axis, i.e., due north. The vehicle terminal icon is scaled proportionally based on the actual vehicle size and the size of the mobile terminal interface display area, with the geometric center of the vehicle terminal icon coinciding with the origin of the coordinate system. The mobile terminal calculates and processes the location and distance data synchronized from the vehicle terminal to the mobile terminal and converts them into coordinate points in the set coordinate system. The mobile terminal icon and the pointing icon are placed according to the coordinate points and restored to the scale of the real scene. The pointing icon points to the vehicle terminal icon, starting from the mobile terminal icon.
[0065] As shown in Figure 4, the vehicle icon, mobile icon, pointing icon, and distance indicator icon are displayed. The distance indicator icon can be directly accessed by the mobile terminal. The vehicle terminal determines distance information based on the positioning information of both the mobile terminal and the vehicle terminal. The mobile terminal displays this distance information through the distance indicator icon. The distance indicator icon always displays the distance information at its initial position, which can be above the set coordinate system, as shown in Figure 4. The icon size, relative coordinates, and distance are displayed proportionally to clearly reflect the real-world situation. Furthermore, in the vehicle search mode shown in Figure 4, the coordinates of the mobile terminal icon change as the mobile terminal moves, centered on the vehicle icon, always corresponding to the relative position of the mobile terminal and the vehicle in the real-world situation. When the mobile terminal rotates, the pointing icon always faces the vehicle terminal, while the mobile terminal icon moves in a circular motion centered on the vehicle icon. The distance indicator icon displays the precise distance between the mobile terminal and the vehicle in real time. The map scale can also be automatically scaled based on the distance and the mobile terminal's screen display capacity.
[0066] For example, Figure 5 is a schematic diagram of a car search interface provided by an embodiment of the present application. As shown in Figure 5, the vehicle icon, mobile icon, pointing icon, and distance indicator icon are displayed. The distance indicator icon always displays distance information at its initial position, which can be above the set coordinate system, as shown in Figure 5. Icon size, relative coordinates, and distance are displayed proportionally to clearly reflect the real-world scenario. Furthermore, in the car search mode shown in Figure 5, with the mobile icon as the center, the coordinates of the vehicle icon change as the UWB mobile device moves, always corresponding to the relative positional relationship between the mobile and vehicle in the real-world scenario. When the mobile device is rotated, the pointing icon always points in the direction of the vehicle, while the vehicle icon moves in a circular motion centered around the mobile icon. The distance indicator icon can display the precise distance between the mobile and vehicle in real time. The map scale can also be automatically scaled based on the distance and the mobile screen's display capabilities. For example, Figure 6 is a schematic diagram of another car search interface provided by an embodiment of the present application. Compared to Figure 5, the vehicle's front direction has changed in Figure 6.
[0067] In this embodiment, the mobile terminal interface can be effectively initialized by displaying the mobile terminal icon, vehicle terminal icon and pointing icon in the mobile terminal interface based on the third position information, the fourth position information and the initial orientation information.
[0068] S220. Determine first position information of the mobile terminal in the set coordinate system and second position information of the vehicle terminal in the set coordinate system based on the relative position information.
[0069] Among them, the setting coordinate system is located in the mobile interface.
[0070] In this embodiment, if the vehicle end is taken as the origin, the first position information of the mobile end in the set coordinate system can be determined according to the relative position information at every set time interval, and multiple first position information can be obtained, which is recorded as (x i, y i ).
[0071] S230: Determine a second particle angle according to the first position information and the second position information.
[0072] It should be noted that when the user moves the mobile terminal, the corresponding position information and orientation information change synchronously in real time, the relative position information changes in real time, and the mobile terminal calculates the new orientation information in real time and displays it through the interface.
[0073] In this embodiment, the method for calculating the second particle angle is the same as the method for calculating the first particle angle described above (replace θ0 in the calculation formula of the first particle angle θ0 with the second particle angle), and will not be repeated here.
[0074] S240: Determine first orientation information of the pointing icon according to the second particle angle and the second angle.
[0075] In this embodiment, the first orientation information of the pointing icon can be obtained by adding the second particle angle and the second angle.
[0076] S250: Obtain a turning angle of the mobile terminal corresponding to the first position information.
[0077] In this embodiment, the turning angle of the mobile terminal corresponding to the first position information is obtained through an electronic compass.
[0078] S260: Determine a rotation change angle according to the steering angle and the initial steering angle.
[0079] In this embodiment, the rotation change angle can be obtained by subtracting the steering angle from the initial steering angle.
[0080] S270: Determine target orientation information according to the first orientation information and the rotation change angle.
[0081] In this embodiment, the target orientation information can be obtained by adding the first orientation information and the rotation change angle.
[0082] For example, the vehicle end icon is taken as the origin, and the angle of the second particle is recorded as θ″0. The steering angle is α i , α i Indicates the turning angle of the mobile terminal corresponding to the first position information of the i-th position. The rotation change angle Δθ, the rotation change angle represents α i The angle of change relative to the initial steering angle α. The first orientation information is recorded as θ i The target orientation information is recorded as θ′ i .
[0083] The method for calculating the rotation change angle is: Δθ=|α i -α|, where Δθ∈[0,2π).
[0084] Calculate the target orientation information θ′ i The method is: θ′ i =θ i +Δθ=θ″0+θ diff +Δθ, where θ′ i ∈[0,2π).
[0085] S280: Based on the first position information, the second position information and the target orientation information, a mobile terminal icon, a vehicle terminal icon and a pointing icon are displayed in the mobile terminal interface, so that the user can find the vehicle according to the pointing icon.
[0086] The pointing icon is located above the mobile terminal icon. In this embodiment, the mobile terminal icon is displayed on the mobile terminal interface based on the first position information, the vehicle terminal icon is displayed on the mobile terminal interface based on the second position information, and the pointing icon is displayed on the mobile terminal interface based on the target orientation information. The mobile terminal interface uses a conversion based on factors such as the mobile terminal screen size, display area size, and real-world scene distance to display the position and orientation relationship between the mobile terminal and the vehicle terminal in proportion. The orientation relationship is represented by the pointing icon.
[0087] It should be noted that as the user's handheld mobile device continuously moves, the user obtains the relative position information of the mobile device relative to the vehicle at set time intervals, thereby updating the position information of the mobile device and the vehicle in the mobile interface. Furthermore, the direction (i.e., orientation) of the pointing icon in the mobile interface is continuously updated according to the target orientation information calculation formula, thereby enabling the pointing icon to continuously point to the vehicle's position corresponding to the real-world situation. In addition, the mobile device icon and vehicle icon displayed on the mobile interface always correspond to the relative position relationship of the mobile device and the vehicle in the real scene, and the pointing icon provides the user with correct orientation guidance.
[0088] In this embodiment, by determining the target orientation information based on the first orientation information and the rotation change angle and displaying the pointing icon in the mobile terminal interface based on the target orientation information, the accuracy of the pointing icon pointing to the vehicle terminal can be further improved, thereby achieving accurate vehicle search.
[0089] Optionally, after determining the first position information of the mobile terminal in the set coordinate system based on the relative position information, it also includes: fitting the first movement trajectory curve of the mobile terminal based on multiple first position information; optimizing the first movement trajectory curve based on multiple first position information to obtain a second movement trajectory curve; and displaying the second movement trajectory curve in the interface.
[0090] It should be noted that after the mobile terminal establishes a connection with the vehicle terminal, the first position information of the mobile terminal, i.e., the positioning coordinates of the mobile terminal, is continuously recorded to obtain a series of discrete positioning coordinate points of the mobile terminal, which are recorded as: (x 1, y1),(x 2, y2)…(x n, y n ), these coordinate points will be used to calculate the first movement trajectory of the user holding the mobile terminal. Assume that the fitting curve equation is: y=Ax 2 +Bx+C
[0091] Among them, A, B, and C are constants;
[0092] Substituting the coordinate points, we get:
[0093] Convert to a matrix:
[0094] For all coordinate points:
[0095] Substituting the actual n discrete mobile terminal positioning coordinates into the equation, we can solve for the constants A, B, and C, and thus the fitting curve equation. This yields the first movement trajectory curve, which, combined with the movement trend of the mobile terminal positioning coordinates, can be used to determine the user's continuous travel direction.
[0096] In this embodiment, the total number of positioning coordinate points transmitted from the vehicle end to the mobile end per second is very large. Compared with directly using all the coordinate points (i.e., the first position information) transmitted from the vehicle end to construct the first moving trajectory curve, the method of using the fitting curve to construct the moving trajectory curve can make the trajectory curve displayed on the mobile end interface smoother, more beautiful and easier to understand.
[0097] In this embodiment, after obtaining the first movement trajectory curve, multiple first position information is substituted into the first movement trajectory curve to obtain predicted position information. The first position information is used as the actual position information, and error information is determined based on the predicted position information and the actual position information. The target first position information is filtered based on the error information, and a second movement trajectory curve is fitted based on the target first position information, and the second movement trajectory curve is displayed in the interface. In addition, the user's movement direction can also be calculated based on the second movement trajectory curve. For example, if the second movement trajectory curve is a straight line, the direction corresponding to the straight line is the user's movement direction; if the second movement trajectory curve is a curve, the curve tangent can be determined based on the second movement trajectory curve, and the direction corresponding to the curve tangent is used as the user's movement direction.
[0098] In this embodiment, by fitting the first movement trajectory curve of the mobile terminal according to multiple first position information, and optimizing the first movement trajectory curve according to the multiple first position information, a second movement trajectory curve is obtained and the second movement trajectory curve is displayed in the interface, so that the user can determine his own movement direction and movement trajectory according to the movement trajectory curve, thereby further improving the accuracy and efficiency of car search, and thus improving the user experience.
[0099] Optionally, the first movement trajectory curve is optimized according to multiple first position information to obtain the second movement trajectory curve, including: determining multiple first predicted position information according to the first movement trajectory curve; using the multiple first position information as the first real position information; determining error information according to the first predicted position information and the first real position information; if the error information is less than the set error threshold, retaining the first real position information corresponding to the error information; if the error information is greater than or equal to the set error threshold, discarding the first real position information corresponding to the error information; and fitting the second movement trajectory curve of the mobile terminal according to the retained first real position information.
[0100] It should be noted that since the UWB signal is transmitted through the ultra-wideband chip, the accuracy of the transmitted first position information (coordinates) will be affected by the interference of the environmental channel. At the same time, when the user holds the mobile device, the device itself will not be in a completely stationary state. Therefore, some unnecessary first position information (coordinates) can be screened out through error analysis.
[0101] In this embodiment, multiple first position information are brought into the first movement trajectory curve, and the first movement trajectory curve determines multiple first predicted position information. For example, the first position information is (x, y), x is brought into the first movement trajectory curve, predicted y' is output, and (x, y') is used as the predicted position information. The multiple first position information is used as the first real position information. The error information is determined based on the first predicted position information and the first real position information. The error information can be the root mean square error. If the error information is less than the set error threshold, the first real position information corresponding to the error information is retained; if the error information is greater than or equal to the set error threshold, the first real position information corresponding to the error information is discarded; and the second movement trajectory curve of the mobile terminal is fitted based on the retained first real position information.
[0102] The calculation formula for determining the error information is as follows:
[0103] Among them, RMSE is the root mean square error, MSE is the mean square error, and SSE is the residual sum of squares. is the predicted position information (predicted coordinate value), p i is the first real position information (actual coordinate value). The calculation steps for selecting coordinate points through the error information calculation formula are as follows:
[0104] Step 1: According to the discrete coordinate points (x 1, y1),(x 2, y2)…(x n, y n ) Calculate the fitting curve equation of the first moving trajectory, such as y = Ax 2+Bx+C, but it is not the final curve displayed on the mobile interface.
[0105] Step 2: Starting from the starting point, take N consecutive recorded coordinate points (first position information); or starting from the starting time, take all N coordinate points between a certain fixed time interval (x 1, y1),(x 2, y2)…(x N, y N ). The number N can be determined according to the actual data calibration situation.
[0106] Step 3: Take N coordinate points as set A and substitute them into the error information calculation formula to calculate the error, where the actual coordinate value p i Corresponding to each real coordinate point in set A, predict the coordinate value The fitting equation is substituted into each coordinate value p i Calculated.
[0107] Step 4: After calculating the root mean square error value of set A, compare it with the set error threshold. If the error information is less than the set error threshold, set A is retained; otherwise, set A is discarded.
[0108] Generally, the closer the root mean square error value is to 0, the better the curve fitting effect can be considered. However, the actual error threshold value needs to be determined through data calibration testing to obtain better results.
[0109] Step 5: Continue to take N coordinate points (x N, y N ),(x N+1, y N+1 )…(x 2N, y 2N ) to perform calculations;
[0110] Step 6: Repeat steps 2 to 5.
[0111] The fitting curve equation is cut into multiple small segments, leaving only the first position information within the error range.
[0112] In this embodiment, the method of optimizing the first movement trajectory curve through error information to obtain the second movement trajectory curve can effectively optimize the mobile terminal position and trajectory curve display effect. As shown in Figure 7, Figure 7 is a schematic effect diagram of the second movement trajectory curve provided in this embodiment of the application.
[0113] According to the technical solution disclosed in this embodiment, after the UWB module on the vehicle side is connected to the UWB module built into the mobile side, the mobile side can obtain real-time and accurate location information between the mobile side and the vehicle side. Combined with the electronic compass on the mobile side, the orientation information of the pointing icon can be accurately calculated. Through the plane Cartesian coordinate system, the position and angle of the mobile side relative to the vehicle side are calculated on the mobile side and displayed on the screen of the mobile device. A "pointing needle" pointing to the vehicle side with a compass-like effect is realized by pointing to the icon, and then by integrating the distance information provided by UWB, the car search function is presented on the mobile side interface. Through the "pointing needle", users can quickly locate the location and distance of the target vehicle, achieve accurate car search, and improve car search efficiency.
[0114] In this embodiment, a solution combining UWB technology with electronic compass technology is adopted, so that the mobile terminal can display the relative position of the mobile terminal and the vehicle terminal, the direction of the icon, the distance prompt, the movement trajectory, etc., and this information can change in real time as the user's position (mobile terminal position) and direction change, helping the user to quickly find the place where the vehicle is parked.
[0115] The technical solution disclosed in this embodiment also has the following effects: (1) The solution of accurate car search using UWB technology combined with a mobile electronic compass improves the problem of difficulty and low efficiency in finding a car caused by users relying solely on memory to find the car. (2) This technical solution avoids the problem of difficulty in finding a car due to the influence of terrain, walls, obstacles, etc. on positioning accuracy, and also avoids the problem of being unable to use GPS to find a car due to the lack of network signals. It reduces the dependence on GPS network signals and has stronger applicability. (3) This technical solution avoids the problems of poor parking lot navigation accuracy, difficulty in use, high construction cost, and difficulty in promotion in related technologies. This technical solution does not require the parking lot to invest money in construction. (4) The mobile terminal interface designed by this technical solution realizes a function similar to outdoor GPS navigation, with high ease of use, zero learning cost, and good user experience.
[0116] FIG8 is a schematic diagram of the structure of a vehicle-finding device provided by an embodiment of the present disclosure. As shown in FIG8 , the device includes: a relative position information acquisition module 810 , a position information determination module 820 , a target orientation information determination module 830 , and a display module 840 ;
[0117] The relative position information acquisition module 810 is used to obtain the relative position information of the mobile terminal relative to the vehicle terminal;
[0118] a position information determination module 820 for determining, based on the relative position information, first position information of the mobile terminal in a set coordinate system and second position information of the vehicle terminal in a set coordinate system; wherein the set coordinate system is located in an interface of the mobile terminal;
[0119] a target orientation information determining module 830 configured to determine target orientation information of a pointing icon based on the first position information, the second position information, and the steering angle of the mobile terminal; wherein the pointing icon is configured to indicate that the mobile terminal is pointing toward the vehicle terminal;
[0120] The display module 840 is used to display the mobile terminal icon, the vehicle terminal icon and the pointing icon in the interface of the mobile terminal based on the first position information, the second position information and the target orientation information, so that the user can find the vehicle according to the pointing icon; wherein the pointing icon is located above the mobile terminal icon.
[0121] The technical solution disclosed in this embodiment is to obtain relative position information of a mobile terminal relative to a vehicle terminal through a relative position information acquisition module; determine first position information of the mobile terminal in a set coordinate system and second position information of the vehicle terminal in a set coordinate system based on the relative position information through a position information determination module; wherein the set coordinate system is located in the interface of the mobile terminal; determine target orientation information of a pointing icon based on the first position information, the second position information, and the steering angle of the mobile terminal through a target orientation information determination module; wherein the pointing icon is used to indicate that the mobile terminal is pointing to the vehicle terminal; and display a mobile terminal icon, a vehicle terminal icon, and the pointing icon in the interface of the mobile terminal based on the first position information, the second position information, and the target orientation information, so that a user can find a vehicle based on the pointing icon. In this disclosed embodiment, by determining the target orientation information of the pointing icon based on the first position information, the second position information, and the steering angle of the mobile terminal, and displaying the mobile terminal icon, the vehicle terminal icon, and the pointing icon in the interface of the mobile terminal based on the first position information, the second position information, and the target orientation information, accurate vehicle finding can be achieved, vehicle finding efficiency can be improved, and user experience can be enhanced.
[0122] Optionally, the above-mentioned device also includes an initialization module, which is specifically used to: obtain the initial relative position information of the mobile terminal relative to the vehicle terminal; determine the third position information of the mobile terminal in the set coordinate system and the fourth position information of the vehicle terminal in the set coordinate system based on the initial relative position information; obtain the initial steering angle of the mobile terminal; wherein the initial steering angle is the angle of the mobile terminal relative to the set direction; obtain the first angle of the vehicle terminal relative to the set direction; determine the second angle based on the initial steering angle and the first angle; determine the first particle angle based on the third position information and the fourth position information; the first particle angle is the angle between the line connecting the vehicle terminal and the mobile terminal and the set direction; determine the initial orientation information of the pointing icon based on the second angle and the first particle angle; display the mobile terminal icon, the vehicle terminal icon and the pointing icon in the interface of the mobile terminal based on the third position information, the fourth position information and the initial orientation information.
[0123] Optionally, the target orientation information determination module is specifically used to: determine the second particle angle based on the first position information and the second position information; determine the first orientation information of the pointing icon based on the second particle angle and the second angle; obtain the steering angle of the mobile terminal corresponding to the first position information; determine the rotation change angle based on the steering angle and the initial steering angle; determine the target orientation information based on the first orientation information and the rotation change angle.
[0124] Optionally, the relative position information acquisition module is specifically used to: receive relative position information of the mobile terminal relative to the vehicle terminal sent by the vehicle terminal; wherein, the relative position information is obtained by the vehicle terminal based on a set ultra-wideband chip.
[0125] Optionally, the relative position information acquisition module is further used to: acquire the relative position information of the mobile terminal relative to the vehicle terminal at every set time interval.
[0126] Optionally, the position information determination module is specifically configured to determine the first position information of the mobile terminal in a set coordinate system according to the relative position information at set time intervals to obtain a plurality of first position information.
[0127] Optionally, the above-mentioned device also includes a movement trajectory curve fitting module, which is specifically used to: fit the first movement trajectory curve of the mobile terminal according to the multiple first position information; optimize the first movement trajectory curve according to the multiple first position information to obtain a second movement trajectory curve; and display the second movement trajectory curve in the interface.
[0128] Optionally, the movement trajectory curve fitting module is further configured to: determine a plurality of first predicted position information according to the first movement trajectory curve; and use the plurality of first position information as the first real position information;
[0129] Determine error information based on the first predicted position information and the first real position information; if the error information is less than a set error threshold, retain the first real position information corresponding to the error information; if the error information is greater than or equal to the set error threshold, discard the first real position information corresponding to the error information; fit the second movement trajectory curve of the mobile terminal based on the retained first real position information.
[0130] The vehicle-finding device provided in the embodiments of the present disclosure can execute the vehicle-finding method provided in any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method.
[0131] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, as long as they can realize the corresponding functions; in addition, the specific names of the functional units are only for the convenience of distinguishing them from each other.
[0132] FIG9 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. Referring to FIG9 , a schematic diagram of the structure of an electronic device (e.g., a terminal device or server in FIG9 ) 500 suitable for implementing an embodiment of the present disclosure is shown below. The terminal device in the embodiment of the present disclosure may include mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., as well as fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG9 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
[0133] As shown in Figure 9, the electronic device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. Various programs and data required for the operation of the electronic device 900 are also stored in the RAM 903. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0134] Typically, the following devices may be connected to the I / O interface 905: an input device 906 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or by wire to exchange data. Although FIG9 shows an electronic device 900 with various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0135] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 909, or installed from the storage device 908, or installed from the ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0136] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0137] The electronic device provided in the embodiment of the present disclosure and the vehicle-finding method provided in the above embodiment belong to the same application concept. Technical details not fully described in this embodiment can be found in the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0138] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the vehicle-finding method provided in the above embodiment.
[0139] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may, for example, be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal can take a variety of forms, including electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including: wires, optical cables, radio frequency (RF), etc., or any suitable combination thereof.
[0140] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as the HyperText Transfer Protocol (HTTP), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), internets (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
[0141] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0142] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains the relative position information of the mobile terminal relative to the vehicle terminal; determines the first position information of the mobile terminal in the set coordinate system and the second position information of the vehicle terminal in the set coordinate system based on the relative position information; wherein the set coordinate system is located in the interface of the mobile terminal; determines the target orientation information of the pointing icon based on the first position information, the second position information and the steering angle of the mobile terminal; wherein the pointing icon is used to indicate that the mobile terminal points to the vehicle terminal; based on the first position information, the second position information and the target orientation information, the mobile terminal icon, the vehicle terminal icon and the pointing icon are displayed in the interface of the mobile terminal, so that the user can find the vehicle according to the pointing icon; wherein the pointing icon is located above the mobile terminal icon.
[0143] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0144] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the boxes can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified functions or operations, or can be implemented using a combination of dedicated hardware and computer instructions.
[0145] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."
[0146] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that may be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Parts (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), and the like.
[0147] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Claims
1. A method for finding a vehicle, comprising: Obtain the relative position information of the mobile terminal relative to the vehicle terminal; Determine, according to the relative position information, first position information of the mobile terminal in a set coordinate system and second position information of the vehicle terminal in a set coordinate system; wherein the set coordinate system is located in an interface of the mobile terminal; Determine the target orientation information of the pointing icon according to the first position information, the second position information and the steering angle of the mobile terminal; wherein the pointing icon is used to indicate that the mobile terminal is pointing to the vehicle terminal; Based on the first position information, the second position information and the target direction information, the mobile terminal icon, the vehicle terminal icon and the pointing icon are displayed in the interface of the mobile terminal, so that the user can find the vehicle according to the pointing icon; wherein the pointing icon is located above the mobile terminal icon.
2. The method according to claim 1, before obtaining the relative position information of the mobile terminal with respect to the vehicle terminal, the method further comprises: Acquiring initial relative position information of the mobile terminal relative to the vehicle terminal; Determine, according to the initial relative position information, third position information of the mobile terminal in the set coordinate system and fourth position information of the vehicle terminal in the set coordinate system; Acquire an initial steering angle of the mobile terminal; wherein the initial steering angle is an angle between the mobile terminal and a set direction; Acquire a first angle of the vehicle end relative to a set direction; Determining a second angle according to the initial steering angle and the first angle; Determine a first particle angle according to the third position information and the fourth position information; the first particle angle is an angle between a line connecting the vehicle end and the mobile end and a set direction; Determining initial orientation information of the pointing icon according to the second angle and the first particle angle; The mobile terminal icon, the vehicle terminal icon and the pointing icon are displayed in the interface of the mobile terminal based on the third position information, the fourth position information and the initial orientation information.
3. The method according to claim 2, wherein: Determining target orientation information of the pointing icon according to the first position information, the second position information, and the steering angle of the mobile terminal includes: Determine a second particle angle according to the first position information and the second position information; Determining first orientation information of the pointing icon according to the second particle angle and the second angle; Obtaining a steering angle of the mobile terminal corresponding to the first position information; Determining a rotation change angle according to the steering angle and the initial steering angle; The target orientation information is determined according to the first orientation information and the rotation change angle.
4. The method according to claim 1, wherein: Obtaining relative position information of the mobile terminal relative to the vehicle terminal, including: Relative position information of the mobile terminal relative to the vehicle terminal is received and sent by the vehicle terminal; wherein the relative position information is obtained by the vehicle terminal based on a set ultra-wideband chip.
5. The method according to claim 1, wherein: Obtaining relative position information of the mobile terminal relative to the vehicle terminal, including: Acquire the relative position information of the mobile terminal with respect to the vehicle terminal at every set time interval; Correspondingly, determining the first position information of the mobile terminal in the set coordinate system according to the relative position information includes: The first position information of the mobile terminal in the set coordinate system is determined according to the relative position information at every set time interval to obtain a plurality of first position information.
6. The method according to claim 5, after determining the first position information of the mobile terminal in the set coordinate system according to the relative position information, the method further comprises: Fitting a first movement trajectory curve of the mobile terminal according to the plurality of first position information; Optimizing the first movement trajectory curve according to the plurality of first position information to obtain a second movement trajectory curve; The second movement trajectory curve is displayed in the interface.
7. The method according to claim 6, wherein: Optimizing the first movement trajectory curve according to the plurality of first position information to obtain a second movement trajectory curve includes: Determine a plurality of first predicted position information according to the first moving trajectory curve; Using the multiple first location information as first real location information; Determine error information according to the first predicted position information and the first actual position information; If the error information is less than the set error threshold, retaining the first real position information corresponding to the error information; If the error information is greater than or equal to the set error threshold, discarding the first real position information corresponding to the error information; A second movement trajectory curve of the mobile terminal is fitted according to the retained first real position information.
8. A vehicle finding device, comprising: A relative position information acquisition module is used to obtain the relative position information of the mobile terminal relative to the vehicle terminal; A position information determination module, used to determine the first position information of the mobile terminal in a set coordinate system and the second position information of the vehicle terminal in a set coordinate system according to the relative position information; wherein the set coordinate system is located in the interface of the mobile terminal; a target orientation information determination module, configured to determine target orientation information of a pointing icon according to the first position information, the second position information and the steering angle of the mobile terminal; wherein the pointing icon is used to indicate that the mobile terminal is pointing to the vehicle terminal; A display module is used to display a mobile terminal icon, a vehicle terminal icon and the pointing icon in the interface of the mobile terminal based on the first position information, the second position information and the target orientation information, so that the user can find the vehicle according to the pointing icon; wherein the pointing icon is located above the mobile terminal icon.
9. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the vehicle searching method as described in any one of claims 1-7.
10. A storage medium comprising computer executable instructions, wherein the computer executable instructions are used to perform the vehicle finding method according to any one of claims 1 to 7 when executed by a computer processor.
Citation Information
Patent Citations
Method for correcting positioning track in real time
CN110631589A
Positioning method and device and vehicle
CN113093104A
Radar target amplitude-based least square tracking processing method and system
CN114779204A
Vehicle searching method, device and equipment and storage medium
CN116416820A
