Indoor navigation method and electronic equipment
The user's walking trajectory in the underground parking lot is recorded through the electronic equipment carried by the user and provided direction and distance guidance, which solves the problem that users find it difficult to accurately locate the vehicle position and realizes a convenient vehicle search process.
Patent Information
- Application Number
- CN202311734633.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-15
- Publication Date
- 2025-06-17
AI Technical Summary
In underground parking lots, it is difficult for users to accurately locate the vehicle, which makes it a long time to find the vehicle.
Various data information is obtained through the electronic devices carried by the user, and the user's trajectory from getting off the vehicle to the marked position is recorded, and direction and distance guidance are provided to help the user find the vehicle position.
It enables users to find the vehicle location conveniently, reduces the time to find the vehicle, and improves the user experience.
Smart Images

Figure CN120160623A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technologies, and more particularly, to a method and an electronic device for indoor navigation. Background Art
[0002] Currently, many indoor parking lots are located in basements (such as the first basement floor, the second basement floor). The positioning signal is weak in the underground garage, resulting in the inability to accurately locate the vehicle after the user parks the car. Since the underground parking lot generally has a relatively large area, when the user needs to use the car again, they generally need to rely on memory to find the vehicle, and it is difficult and time-consuming for the user to accurately find the location of the vehicle. Summary of the Invention
[0003] This application provides a method and an electronic device for indoor navigation. This technical solution can use the electronic device carried by the user to obtain various data information to record the trajectory of the user from getting off the car to the marked position; thus, when the user comes to the marked position again later, the electronic device can provide corresponding direction and distance guidance for the user according to the previously obtained walking trajectory, so that the user can conveniently find the location of the vehicle.
[0004] In a first aspect, a method for indoor navigation is provided. When a first preset condition is met, first data information is obtained. The first data information includes the attitude information and direction information of the electronic device, and / or, position fingerprint information; according to the first data information, a first trajectory of the electronic device is recorded; the starting point of the first trajectory is the position point determined by the electronic device according to the first data information when the first preset condition is met; when a second preset condition is met, the end point of the first trajectory is determined according to second data information, where the end point of the first trajectory and the starting point form the first trajectory of the electronic device; when a third preset condition is met, a first display interface is displayed. The first display interface includes a first prompt message, and the first prompt message is used to indicate the direction from the position of the electronic device to the starting point.
[0005] It should be understood that the starting point of the first trajectory is the location of the vehicle.
[0006] The position fingerprint information may include information formed by one or more of data such as the strength of WI-FI signals, the strength of Bluetooth signals, and the data of magnetometers.
[0007] Optionally, the first prompt message may also be used to indicate the distance from the position of the electronic device to the starting point.
[0008] After the electronic device detects that the user gets out of the vehicle, it can obtain data from various sensors and record the user's walking trajectory, i.e., the first trajectory. When the second preset condition is met, the electronic device can determine the end point of the first trajectory (such as an elevator hall). When the user searches for the vehicle later, if the electronic device determines that the user's position is at the end point of the first trajectory, or the user passes through the end point of the first trajectory, the electronic device can start trajectory backtracking and can display the direction from the user's current position to the starting point of the first trajectory on the first display interface.
[0009] This technical solution can use the electronic device carried by the user to obtain various data information to record the trajectory of the user from getting out of the vehicle to the marked position (such as an elevator hall). Thus, when the user comes to or passes through the marked position again later, the electronic device can provide corresponding direction guidance for the user according to the previously obtained walking trajectory, so that the user can conveniently find the location of the vehicle.
[0010] Combined with the first aspect, in some implementation manners of the first aspect, the satisfying the third preset condition and displaying the first display interface includes:
[0011] Satisfying the third preset condition and, in response to the user's first operation, displaying the first display interface.
[0012] Exemplarily, the first operation may be an operation in which the user clicks some function buttons.
[0013] Based on the embodiments of the present application, the electronic device can display the above-mentioned first display interface according to the user's operation to provide car-finding guidance for the user.
[0014] Combined with the first aspect, in some implementation manners of the first aspect, the third preset condition includes at least one of the following conditions: the position of the electronic device is at the end point of the first trajectory; the second trajectory of the electronic device includes the end point of the first trajectory, where the second trajectory is determined by the electronic device according to the third data information, and the third data information includes the attitude information and direction information of the electronic device, and / or, position fingerprint information, where the second trajectory and the first trajectory are in the same coordinate system; or, when a floor change is detected, the difference between the last obtained position of the electronic device and the target key point is less than a threshold.
[0015] It can be understood that the types included in the third data information may be the same as those included in the first data information, that is, they may be data information of various sensors and wireless fingerprint information.
[0016] This second trajectory is the walking trajectory of the user recorded by the electronic device during the car-finding stage.
[0017] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: in response to a second operation of the user, displaying a second display interface, where the second display interface includes the first trajectory, indication information of the position and orientation of the electronic device, and / or the second trajectory.
[0018] Based on the embodiments of the present application, the electronic device can, in response to a second operation of the user, display a second display interface including the first trajectory and indication information of the position and orientation of the electronic device, thereby providing the user with real-time guidance on the location of the vehicle and the current location of the user. In addition, the second display interface may further include a second trajectory, which is beneficial for the user to determine whether the walking trajectory during the vehicle search phase deviates from the originally recorded trajectory.
[0019] In combination with the first aspect, in certain implementations of the first aspect, recording the first trajectory of the electronic device according to the first data information includes: determining, according to the first data information, relative displacement, direction, and / or position fingerprint information of a target moment relative to the starting point moment or the previous moment of the target moment; recording the first trajectory according to the relative displacement, direction, and / or position fingerprint information.
[0020] It should be understood that the target moment may be the moment when the sensor of the electronic device samples.
[0021] Based on the embodiments of the present application, the electronic device can determine relative displacement, direction, and / or position fingerprint information of a target moment relative to the starting point moment or the previous moment of the target moment according to various data to record the walking trajectory of the user.
[0022] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: during the movement of the electronic device, updating the direction in the first prompt information in real time according to the first trajectory.
[0023] Based on the embodiments of the present application, during the process of the user carrying the electronic device and moving, the electronic device can also update the direction in the first prompt information in real time. Thereby, real-time direction guidance can be provided to the user.
[0024] In combination with the first aspect, in certain implementations of the first aspect, updating the direction in the first prompt information in real time according to the first trajectory includes: determining displacement, direction, and / or position fingerprint information of the position of the electronic device relative to the first trajectory according to fourth data information; updating the direction in the first prompt information in real time according to the displacement, direction, and / or position fingerprint information of the position relative to the first trajectory and the first trajectory.
[0025] When the user moves while carrying the electronic device, the electronic device can determine information such as the current displacement and direction of the electronic device based on the acquired fourth data information, so as to update the direction in the first prompt information in real time.
[0026] In combination with the first aspect, in some implementation manners of the first aspect, before displaying the first display interface, the method further includes: if the position of the electronic device is not at the end point of the first trajectory, in response to the user's third operation, display a third display interface, where the third display interface includes the position where the end point of the first trajectory is located.
[0027] Exemplarily, the end point of the first trajectory may be the junction of the underground garage and the mall, or the end point of the first trajectory may be the junction from the underground garage to the outdoors.
[0028] Based on the embodiments of the present application, if the user is not at the end point of the first trajectory, the user can also view the position where the end point of the first trajectory is located through the third operation, so as to provide the user with guidance on the position where the end point of the trajectory is located.
[0029] In combination with the first aspect, in some implementation manners of the first aspect, determining the end point of the first trajectory according to the second data information includes: determining the position information of the target key point; determining the end point of the first trajectory according to the position information of the target key point and the second data information; the method further includes: if the position of the electronic device is not at the end point of the first trajectory, in response to the user's third operation, display a third display interface, where the third display interface includes the position information of the target key point.
[0030] Exemplarily, if the user takes an elevator from the basement, the target key point may be the position where the user gets out of the elevator. Since the user enters the mall after getting out of the elevator, the electronic device can obtain the position information at this position, such as longitude and latitude coordinates; the end point of the first trajectory may be a position near where the user enters the elevator.
[0031] Based on the embodiments of the present application, the electronic device can display the position of the target key point according to the user's operation, so as to provide the user with guidance on the position of the target key point, which is beneficial for the user to find the target key point according to the guidance and facilitates the subsequent accurate search for the vehicle.
[0032] In combination with the first aspect, in some implementation manners of the first aspect, the method further includes:
[0033] In response to the user's fourth operation, display a fourth display interface, where the fourth display interface includes the first trajectory of the electronic device.
[0034] Based on the embodiments of the present application, the electronic device can, through the operation of the user, display the first trajectory of the electronic device, so that the user can view the trajectory from getting off the vehicle to the key identification point.
[0035] In combination with the first aspect, in some implementation manners of the first aspect, the fourth display interface further includes the location and direction of the electronic device.
[0036] Based on the embodiments of the present application, the fourth display interface may further include the current location and direction of the electronic device, which is beneficial for the user to determine the relative relationship between his own location and the first trajectory.
[0037] In combination with the first aspect, in some implementation manners of the first aspect, the true direction of a section of the first trajectory with a determined direction is the first direction, and the direction of the section of the first trajectory with a determined direction after rotation in the third display interface is displayed as the second direction, where the second direction is perpendicular to the side where the status bar of the electronic device is located.
[0038] For example, if the first direction is the direction of entering the elevator, then the second direction is downward. Or, if the first direction is the direction of exiting the elevator, then the second direction is upward.
[0039] In combination with the first aspect, in some implementation manners of the first aspect, the method further includes: obtaining fifth data information of the electronic device; if the similarity between the fifth data information and the second data information is greater than a first threshold, determining that the location of the electronic device is at the end point of the first trajectory; or, if the similarity between the fifth data information and the second data information is less than or equal to the first threshold, determining that the location of the electronic device is not at the end point of the first trajectory.
[0040] Based on the embodiments of the present application, the electronic device can determine whether the current location of the electronic device is at the end point of the first trajectory according to the relationship between the obtained fifth data information and the second data information, which is beneficial for the electronic device to determine whether to start recording the user's trajectory again, so as to provide direction and distance guidance for the user.
[0041] In combination with the first aspect, in some implementation manners of the first aspect, the method further includes: in response to a fifth operation of the user, determining that the location of the electronic device is at the end point of the first trajectory.
[0042] In some cases, the judgment of the electronic device may also be biased, and there may be a situation where the user is already at the end point of the first trajectory, but the electronic device determines that the user is not at the end point of the first trajectory. Then the user can perform a fifth operation to enable the electronic device to determine that the user is currently at the end point of the first trajectory.
[0043] For example, the fifth operation may be an operation in which the user checks an option box indicating the end point of the first trajectory.
[0044] In combination with the first aspect, in some implementations of the first aspect, the first prompt information further includes the distance from the position to the starting point.
[0045] Based on the embodiments of the present application, the first prompt information may further include the distance from the current position of the electronic device to the starting point of the first trajectory, which helps the user understand how far the current position is from the parking position.
[0046] In combination with the first aspect, in some implementations of the first aspect, the electronic device is communicatively connected to the intelligent driving device, and the first preset condition includes at least one of the following conditions: the gear of the intelligent driving device is in the parking gear; the communication connection between the electronic device and the intelligent driving device is disconnected; the intelligent driving device is in a locked state; an operation of recording a trajectory is detected; or, the distance between the electronic device and the intelligent driving device is greater than a preset distance, where the preset distance is calculated by the electronic device through a wireless communication method.
[0047] Exemplarily, the wireless communication method may include Bluetooth, UWB, etc.
[0048] In combination with the first aspect, in some implementations of the first aspect, the second preset condition includes at least one of the following conditions: the change value of the data of the magnetometer acquired by the electronic device is greater than a second threshold; the absolute value of the change of the barometer data acquired by the electronic device is greater than a third threshold, or the change value of the barometer data acquired by the electronic device within a preset time is greater than a fourth threshold; the change of the data of the inertial sensor acquired by the electronic device conforms to a first law, and the inertial sensor includes at least one of an accelerometer, a gyroscope or a magnetometer; the signal strength of the communication signal of the electronic device conforms to a second law, and the communication signal includes at least one of a Wi-Fi signal, a Bluetooth signal, a cellular signal or a positioning signal; the electronic device can acquire accurate positioning information; or, the floor where the electronic device is located changes.
[0049] Second aspect, a method for indoor navigation is provided. The method is applied to an electronic device and includes: determining first position information of an intelligent driving device, second position information of a target key point, and a target floor where the intelligent driving device is located; obtaining third position information of the electronic device; if it is determined that the electronic device is located on the target floor, recording a third trajectory of the electronic device according to second information, where a starting point of the third trajectory is a position corresponding to the third position information, and the second information includes attitude information and direction information of the electronic device, and / or, position fingerprint information; in response to a first operation of a user, displaying a first display interface, where the first display interface includes first prompt information for indicating a direction from a current position of the electronic device to the intelligent driving device.
[0050] Exemplarily, the first position information, the second position information, and the third position information may be longitude and latitude information.
[0051] Based on the embodiments of the present application, the electronic device may first determine the first position information of the intelligent driving device (such as a vehicle), the second position information of the target key point, and the target floor where the vehicle is parked. When the user is looking for the vehicle subsequently, the electronic device may continuously obtain the third position information of the electronic device when accurate position information can be obtained. If it is further determined that the electronic device is located on the target floor, the third trajectory of the electronic device may be recorded according to the second information, and the last obtained third position information of the electronic device is used as the starting point of the third trajectory. Thus, when the user hopes that the electronic device provides guidance, the electronic device may display the first display interface through the first operation to provide the user with a direction guidance from the current position to the position where the vehicle is located.
[0052] In this technical solution, after getting off the vehicle, the electronic device has determined the longitude and latitude where the vehicle is located, the target floor where the vehicle is located, and the longitude and latitude of the target key point (such as an elevator hall); when looking for the vehicle subsequently, the electronic device may continuously obtain the third position information of the electronic device when accurate position information can be obtained. When the user arrives at the target floor, the electronic device may start recording the trajectory and use the third position information as the starting point. Since the recorded trajectory also has a direction and a distance, and the longitude and latitude coordinates of the vehicle are known, the electronic device can provide the user with direction and distance guidance.
[0053] In combination with the second aspect, in some implementations of the second aspect, determining that the electronic device is located on the target floor includes: if the difference between the first data and the second data of the barometer is less than a fifth threshold, determining that the electronic device is located on the target floor; where the first data is the value of the barometer currently obtained by the electronic device, and the second data is the value of the barometer obtained by the electronic device and recorded on the target floor; or, determining that the electronic device is located on the target floor according to the obtained floor information.
[0054] Based on the embodiments of the present application, an electronic device can determine whether it is located on the target floor in various ways.
[0055] In combination with the second aspect, in some implementations of the second aspect, before determining that the electronic device is located on the target floor, the method further includes: determining that the difference between the third location information and the second location information is less than or equal to a sixth threshold; or, determining that the third location information is the location information last obtained by the electronic device.
[0056] Based on the embodiments of the present application, if the difference between the third location information and the second location information is less than or equal to the sixth threshold, it can be determined that the user has come out of the previous elevator hall; the third location information being the location information last obtained by the electronic device may be when the user comes out of other locations. In both cases, the technical solution of the present application is applicable.
[0057] In combination with the second aspect, in some implementations of the second aspect, the method further includes: in response to a second operation of the user, displaying a second display interface, where the second display interface includes the first location information, the second location information, indication information of the current location and direction of the electronic device, and / or, the third trajectory.
[0058] Based on the embodiments of the present application, the user can also view the specific location of the vehicle, as well as the current location and direction of the electronic device, and / or, the third trajectory after the user is on the target floor through a convenient operation. This is conducive to the user clarifying their own location and the location of the vehicle.
[0059] In combination with the second aspect, in some implementations of the second aspect, recording the third trajectory of the electronic device according to the second information includes: determining the location, direction, and / or location fingerprint information at the current moment according to the second information and the third location information; recording the third trajectory according to the location, direction, and / or location fingerprint information at the current moment.
[0060] Based on the embodiments of the present application, an electronic device can determine the location, direction, and / or location fingerprint information at the current moment according to various data and the third location information of the electronic device to record the walking trajectory of the user.
[0061] In combination with the second aspect, in some implementations of the second aspect, the first prompt information further includes the distance from the current position to the intelligent driving device.
[0062] Based on the embodiments of the present application, the first prompt information may further include the distance from the current position of the electronic device to the starting point of the first trajectory, which helps the user understand how far the current position is from the parking position.
[0063] In combination with the second aspect, in some implementations of the second aspect, determining the first position information of the intelligent driving device includes: satisfying a first preset condition and obtaining first data information, where the first data information includes the attitude information and direction information of the electronic device, and / or, location fingerprint information; recording the first trajectory of the electronic device according to the first data information; the starting point of the first trajectory is the position point determined by the electronic device according to the first data information under the condition of satisfying the first preset condition; satisfying a second preset condition and determining the end point of the first trajectory according to second data information, and the end point of the first trajectory and the starting point form the first trajectory of the electronic device; determining the first position information of the intelligent driving device according to the direction of the first trajectory or the direction of part of the trajectories in the first trajectory and the second position information of the target key point.
[0064] Based on the embodiments of the present application, after the user gets out of the vehicle, the electronic device can record the first trajectory of the user walking while carrying the electronic device, and determine the first position information of the vehicle according to the direction of the first trajectory or the direction of part of the trajectories and the second position information of the target key point. For example, the second position information is longitude and latitude coordinates, and the longitude and latitude coordinates can be inversely deduced according to the longitude and latitude coordinates of the target key point and the exact direction in the first trajectory.
[0065] In a third aspect, an electronic device is provided, including: one or more processors; one or more memories; the one or more memories store one or more programs, and when the one or more programs are executed by the one or more processors, the indoor navigation method as described in the first aspect, the second aspect, and any possible implementation manner is executed.
[0066] In a fourth aspect, an indoor navigation is provided, including: modules for implementing the indoor navigation method as described in the first aspect, the second aspect, and any possible implementation manner.
[0067] In a fifth aspect, a chip is provided, which includes a processor and a communication interface. The communication interface is configured to receive a signal and transmit the signal to the processor, and the processor processes the signal such that the indoor navigation method described in the first aspect, the second aspect, and any possible implementation manner is executed.
[0068] In a sixth aspect, a readable storage medium is provided, in which instructions are stored. When the instructions run on an electronic device, the indoor navigation method described in the first aspect, the second aspect, and any possible implementation manner is executed.
[0069] In a seventh aspect, a computer program product is provided, which enables the execution of the indoor navigation method described in the first aspect, the second aspect, and any possible implementation manner. Description of the Drawings
[0070] Figure 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
[0071] Figure 2 is a schematic software structure diagram of an electronic device provided by an embodiment of the present application.
[0072] Figure 3 is a schematic diagram of an electronic device recording a trajectory provided by an embodiment of the present application.
[0073] Figure 4 is a schematic diagram of another electronic device recording a trajectory provided by an embodiment of the present application.
[0074] Figure 5 is a schematic flowchart of a method for recording a trajectory provided by an embodiment of the present application.
[0075] Figure 6 is a schematic diagram of a group of GUIs provided by an embodiment of the present application.
[0076] Figure 7 is a schematic diagram of another group of GUIs provided by an embodiment of the present application.
[0077] Figure 8 is a schematic diagram of another group of GUIs provided by an embodiment of the present application.
[0078] Figure 9 is a schematic diagram of another group of GUIs provided by an embodiment of the present application.
[0079] Figure 10 is a schematic diagram of another group of GUIs provided by an embodiment of the present application.
[0080] Figure 11 is a schematic diagram of another group of GUIs provided by an embodiment of the present application.
[0081] Figure 12 It is a schematic diagram of another group of GUIs provided by the embodiments of the present application.
[0082] Figure 13 It is a schematic diagram of another group of GUIs provided by the embodiments of the present application.
[0083] Figure 14 It is a schematic flow chart of a trajectory backtracking provided by the embodiments of the present application.
[0084] Figure 15 It is a schematic flow chart of a method for indoor navigation provided by the embodiments of the present application.
[0085] Figure 16 It is a schematic flow chart of another method for indoor navigation provided by the embodiments of the present application.
[0086] Figure 17 It is a schematic block diagram of an electronic device provided by the embodiments of the present application. Detailed implementation manners
[0087] Next, the technical solutions in the present application will be described in conjunction with the accompanying drawings.
[0088] The method for indoor navigation in the embodiments of the present application can be applied to electronic devices such as smart phones, tablet computers, notebook computers, personal computers (PCs), ultra-mobile personal computers (UMPCs), netbooks, vehicle-mounted devices, wearable devices, foldable devices, and Internet of Things (IoT) devices.
[0089] Figure 1The structural schematic diagram of the electronic device 100 is shown. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0090] It can be understood that the structure schematically shown in the embodiments of this application does not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0091] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0092] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
[0093] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory may store the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the said memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0094] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus interface, etc.
[0095] The I2C interface is a two-way synchronous serial bus, including a serial data line (SDA) and a serial clock line (derail clock line, SCL).
[0096] The I2S interface may be used for audio communication. In some embodiments, the processor 110 may include multiple groups of I2S buses. The processor 110 may be coupled to the audio module 170 through the I2S bus to enable communication between the processor 110 and the audio module 170.
[0097] The PCM interface may also be used for audio communication to sample, quantize, and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through the PCM bus interface.
[0098] The UART interface is a universal serial data bus for asynchronous communication. This bus may be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160.
[0099] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193.
[0100] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc.
[0101] The USB interface 130 is an interface that complies with the USB standard specification. Specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices.
[0102] It can be understood that the interface connection relationships between the modules illustrated in the embodiments of the present application are only illustrative descriptions and do not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0103] The charging management module 140 is used to receive a charging input from a charger. Among them, the charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive the wireless charging input through the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device through the power management module 141.
[0104] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
[0105] The wireless communication function of the electronic device 100 can be implemented through antenna 1, antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.
[0106] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc. applied to the electronic device 100.
[0107] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be disposed in the same device as the mobile communication module 150 or other functional modules.
[0108] The wireless communication module 160 may provide wireless communication solutions applied to the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Bluetooth low energy (BLE), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.
[0109] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technologies.
[0110] The electronic device 100 realizes the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
[0111] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), or can be a display panel made of one of materials such as organic light-emitting diode (OLED), active-matrix organic light emitting diode (AMOLED), flex light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, or quantum dot light emitting diodes (QLED). In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0112] The electronic device 100 can implement the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.
[0113] The ISP is used to process the data fed back by the camera 193. The camera 193 is used to capture still images or videos.
[0114] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals.
[0115] The video codec is used to compress or decompress digital videos.
[0116] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to implement the storage capacity expansion of the electronic device 100.
[0117] The internal memory 121 can be used to store computer-executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121.
[0118] The electronic device 100 can implement the audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor, etc.
[0119] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert analog audio input into digital audio signals.
[0120] The speaker 170A, also known as the "loudspeaker", is used to convert an audio electrical signal into a sound signal.
[0121] The receiver 170B, also known as the "earpiece", is used to convert an audio electrical signal into a sound signal.
[0122] The microphone 170C, also known as the "microphone" or "transmitter", is used to convert a sound signal into an electrical signal.
[0123] The headphone jack 170D is used to connect a wired headphone.
[0124] Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, an acceleration sensor 180E, a distance sensor 180F, a fingerprint sensor 180H, a touch sensor 180K, a bone conduction sensor 180M, etc.
[0125] The keys 190 include a power-on key, volume keys, etc.
[0126] The motor 191 can generate a vibration prompt.
[0127] The indicator 192 can be an indicator light, which can be used to indicate the charging state, power change, and can also be used to indicate messages, missed calls, notifications, etc.
[0128] The SIM card interface 195 is used to connect a SIM card.
[0129] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of this application, taking the operating system with a layered architecture as an example, the software structure of the electronic device 100 is exemplarily described.
[0130] Figure 2 It is the software structure block diagram of the electronic device 100 in the embodiments of this application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into four layers, from top to bottom are the application layer, the application framework layer, the system library, and the kernel layer. The application layer may include a series of application packages.
[0131] Such as Figure 2 shown, the application packages may include applications such as a camera, a gallery, a calendar, a call, a map, a navigation, WLAN, Bluetooth, music, video, short message, wallet, etc.
[0132] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.
[0133] As Figure 2 shown, the application framework layer may include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, etc.
[0134] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0135] The content provider is used to store and obtain data, and enable these data to be accessible by applications. The data may include videos, images, audio, dialed and received calls, browsing history and bookmarks, phone books, etc.
[0136] The view system includes visible controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a short message notification icon may include a view for displaying text and a view for displaying pictures.
[0137] The telephone manager is used to provide the communication function of the electronic device 100. For example, the management of call states (including connection, disconnection, etc.).
[0138] The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, etc.
[0139] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the completion of a download, message reminder, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or a scroll bar text, such as a notification of a background-running application, or a notification that appears on the screen in the form of a dialogue window. For example, prompting text information in the status bar, emitting a prompt tone, vibrating the electronic device, flashing the indicator light, etc.
[0140] The core library contains two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core library.
[0141] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0142] The system library can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0143] The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
[0144] The media library supports the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0145] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.
[0146] The 2D graphics engine is a drawing engine for 2D drawing.
[0147] The kernel layer is the layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.
[0148] Before introducing the technical solution of this application, the following is a brief introduction to some professional terms that this application may involve.
[0149] Location fingerprint information: Associates a location in the actual environment with a certain "fingerprint", where one location corresponds to a unique fingerprint. The fingerprint can be information formed by one or more of the WI-FI signal strength, Bluetooth signal strength, magnetometer data, barometer data, etc. that an electronic device can recognize at a certain location.
[0150] Currently, many indoor parking lots are located in the basement (such as the first basement floor, the second basement floor). The positioning signal is weak in the underground garage, resulting in the inability to accurately locate the vehicle after the user parks the car. Since the underground parking lot is generally large in area, when the user needs to use the car again, they generally need to rely on memory to find the vehicle, and it is difficult and time-consuming for the user to accurately find the location where the vehicle is located.
[0151] In view of this, the present application provides a method and an electronic device for indoor navigation. This technical solution can utilize the electronic device carried by the user to obtain various data information, so as to record the trajectory of the user from getting off the vehicle to the marked position; thus, when the user comes to this marked position again later, the electronic device can provide corresponding direction and distance guidance for the user according to the previously obtained walking trajectory, so that the user can conveniently find the location of the vehicle.
[0152] The method for indoor navigation in the present application can mainly be divided into a trajectory recording stage and a trajectory backtracking stage. In the trajectory recording stage, the electronic device can record the trajectory of the user from getting off the vehicle to the position mark (such as an elevator hall, escalator entrance, staircase entrance, mall entrance); in the trajectory backtracking stage, when the user comes to this position mark (the end point of the trajectory) again, the electronic device can, in response to the user's operation, provide the direction and distance guidance to the vehicle position for the user, so that the user can quickly find the vehicle according to the guidance of the electronic device; or, in the trajectory backtracking stage, when the electronic device detects that the user passes by this position mark, the electronic device has already started trajectory backtracking. When the user views the recorded trajectory later, the electronic device can display the user's current position and the trajectory obtained in the trajectory recording stage, so that the user can quickly find the vehicle according to the guidance of the electronic device.
[0153] It can be understood that this position mark can also be understood as the position where the user's traveling state changes.
[0154] The following will combine Figures 3 - 5 to introduce the technical solution in the trajectory recording stage of the present application.
[0155] Figure 3 It is a schematic diagram of an electronic device in an embodiment of the present application for determining the trajectory of the user after getting off the vehicle.
[0156] As Figure 3 shown in (a) of, the user's vehicle is parked on the first basement floor of the underground garage, and there is no positioning signal or the positioning error is large on the first basement floor. In this scenario, the user needs to take the elevator from the first basement floor to the first floor. At this time, the user has the need to determine the vehicle position.
[0157] In the present application, when it is determined that the preset condition A is met, the electronic device can start recording the user's walking trajectory, and when the user enters the target elevator hall, the electronic device stops recording the user's walking trajectory. In this case, the position where the vehicle is located is the starting point of the trajectory, and the position where this target elevator hall is located is the end point of the user's walking trajectory.
[0158] In some examples, the preset condition A may include but is not limited to the following conditions:
[0159] Condition 1: The vehicle gear is in the parking gear (P gear).
[0160] Condition 2: The communication connection between the electronic device and the vehicle is disconnected.
[0161] Condition 3: The vehicle is in the locked state.
[0162] Exemplarily, the electronic device is communicatively connected to the vehicle, so that the electronic device can obtain various states of the vehicle. When the electronic device detects that the vehicle is in the P gear, or the locked state, or the communication connection between the electronic device and the vehicle is disconnected, the electronic device can start recording the user's walking trajectory.
[0163] Condition 4: Detect an operation in which the user clicks to start recording the trajectory.
[0164] In some examples, when the electronic device detects an operation in which the user clicks to start recording the trajectory, it can start recording the user's walking trajectory.
[0165] It can be understood that since the user wears the electronic device, or holds the electronic device in the hand, or places the electronic device in the pocket or bag, the walking trajectory of the user recorded by the electronic device is also the movement trajectory of the electronic device.
[0166] In this application, the electronic device can record the trajectory through the data of the sensor; alternatively, the electronic device can also record the trajectory through the data of the sensor and the location fingerprint information.
[0167] As an example, the electronic device can record the trajectory through the data of the sensor.
[0168] For example, the electronic device may include sensors such as an accelerometer, a gyroscope, a magnetometer, and a barometer. When the electronic device starts to record the trajectory, it can obtain the data of sensors such as the accelerometer, the gyroscope, and the magnetometer, so as to determine the pose, movement direction, and the user's step length and number of steps of the electronic device, etc., so that the electronic device can determine the relative displacement with respect to the starting position at each moment, and thus record the movement trajectory of the electronic device, that is, the walking trajectory of the user.
[0169] Alternatively, the electronic device can also determine the relative displacement with respect to the previous moment at each moment according to the data of various sensors, so as to record the movement trajectory of the electronic device, that is, the walking trajectory of the user. The moment here can be the frequency at which the electronic device obtains the sensor data, or the moment of a preset time period, which is not limited in the embodiments of this application.
[0170] The pose of the electronic device may include that the electronic device is located in front of the user's chest, in the pocket, in the phone pose, in the hand-held pose, etc.
[0171] It can be understood that the starting point (or starting position) of the trajectory is the position where the electronic device starts to acquire the data recording trajectory of various sensors. The starting point of this trajectory can be considered as the position of the vehicle. It can be understood that due to the weak positioning signal or large positioning error in the underground garage, this position does not refer to the position with longitude and latitude information, but this position can correspond to the data of various sensors acquired, and the electronic device cannot acquire specific longitude and latitude information.
[0172] The end point of the trajectory can be located at the entrance of the target elevator shaft or staircase. It can be understood that the end point of the trajectory is not a point, but can be understood as an area, such as the area near the entrance of the target elevator shaft.
[0173] In some embodiments, the electronic device can determine the location of the end point through the data change of the magnetometer. For example, at a position far from the elevator shaft, the change amount acquired by the electronic device through the magnetometer is small, and at a position close to the elevator shaft, the change amount acquired by the electronic device through the magnetometer is large; when the electronic device enters the elevator or is in the elevator, the value acquired by the magnetometer is the smallest, so that the electronic device can determine the approximate location of the end point of the trajectory through the data change of the magnetometer.
[0174] In some embodiments, the electronic device can determine the location of the end point through the data change of the barometer or accelerometer, or target information.
[0175] In one example, the electronic device can determine the event of the user getting on or off the elevator (or staircase, escalator) through the data change of the barometer conforming to the following rules.
[0176] Case 1: The absolute reading of the barometer rises or falls by more than threshold 1.
[0177] For example, if the absolute reading of the barometer rises by more than threshold 1, the electronic device can determine that the user gets off the elevator or the staircase or the escalator; if the absolute reading of the barometer falls by more than threshold 1, the electronic device can determine that the user gets on the elevator or the staircase or the escalator.
[0178] Case 2: The reading of the barometer rises or falls by more than threshold 2 within a period of time.
[0179] For example, if the reading of the barometer rises by more than threshold 2 within a period of time, the electronic device can determine that the user gets off the elevator or the staircase or the escalator; if the reading of the barometer falls by more than threshold 2 within a period of time, the electronic device can determine that the user gets on the elevator or the staircase or the escalator.
[0180] In this case, the electronic device may determine the position (and / or fingerprint information, air pressure / altitude information at this position) at a period of time T1 before the moment when the above-mentioned situation 1 or situation 2 is detected as the end point of the trajectory.
[0181] It should be understood that the time T1 may be a fixed duration or a period of time during which the electronic device does not detect long-distance movement. For example, long-distance movement can be understood as the movement distance of the electronic device being greater than a preset value.
[0182] In another example, the electronic device can also determine the events of the user going up and down the elevator or stairs according to the data change of the accelerometer conforming to the following rules.
[0183] Situation 1: The change of the three-axis values of the accelerometer in the vertical direction conforms to the target rule. For example, for target rule 1, the acceleration first increases (weight gain) and then decreases (weight loss) in the vertical direction, and it can be determined that the user is taking the elevator upward; for target rule 2, the acceleration first decreases (weight loss) and then increases (weight gain) in the vertical direction, and it can be determined that the user is taking the elevator downward.
[0184] In this case, the electronic device may determine the position (and / or fingerprint information, air pressure / altitude information at this position) at a period of time T2 before the moment when the above-mentioned situation 1 is detected as the end point of the trajectory.
[0185] It should be understood that the time T2 may be a fixed duration or a period of time during which the electronic device does not detect long-distance movement. For example, long-distance movement can be understood as the movement distance of the electronic device being greater than a preset value.
[0186] In another example, when the target information includes the cellular network signal strength or floor information, the electronic device can also determine the end point of the trajectory through the cellular network signal strength or floor information.
[0187] Situation 1: The change of the cellular network signal strength conforms to target rule 2. For example, target rule 2 is that within a period of time, the cellular network signal strength first decreases and then increases.
[0188] Situation 2: The location information obtained by the electronic device contains floor information, and the floor change can be directly judged based on this floor information.
[0189] For example, some shopping malls or buildings will provide information about each floor. When the electronic device is located on different floors, it can obtain this floor information.
[0190] In this case, the electronic device may determine the position (and / or fingerprint information, air pressure / altitude information at this position) at a period of time T1 before the moment when the above-mentioned situation 1 or situation 2 is detected as the end point of the trajectory.
[0191] It should be understood that the time T1 can be a fixed duration or a period of time during which the electronic device does not detect a long-distance movement. For example, a long-distance movement can be understood as the movement distance of the electronic device being greater than a preset value.
[0192] In this way, the electronic device can record the trajectory of the user from getting off the vehicle to the location identifier (such as the target elevator shaft, staircase, escalator). It should be understood that the trajectory records the relative position between the location where the vehicle is located and the location identifier.
[0193] As another example, the electronic device can also record the trajectory through sensor data and location fingerprint information.
[0194] For example, the sensor can include the above-mentioned accelerometer, gyroscope, magnetometer, barometer, etc., and the location fingerprint information can include the intensity of the above-mentioned wireless signals obtained by the electronic device, such as the intensity of WI-FI signals, the intensity of Bluetooth signals, and can also include the intensity of geomagnetic signals. The way for the electronic device to record the trajectory can refer to the relevant descriptions in the previous text. Since the electronic device obtains more data, the trajectory of the user from the getting-off location to the location where the target elevator shaft or staircase is located recorded by the electronic device is more accurate.
[0195] It should be understood that since there is no positioning signal or the positioning signal is weak on the basement floor and there is a positioning signal on the first floor, when the user takes the elevator from the basement floor to the first floor and after the user gets out of the elevator, the electronic device can obtain an accurate positioning signal (such as longitude and latitude information), so that the electronic device can use the location where the user gets out of the elevator as the target key point, and thus can provide guidance on the location of the elevator shaft for the user in the subsequent process.
[0196] In the embodiments of the present application, since the electronic device has recorded the trajectory 1 of the user from getting off the vehicle to the target elevator shaft and the electronic device has recorded the location where the user gets out of the target elevator shaft (i.e., the target key point), when the user looks for the vehicle in the subsequent process, the user can smoothly reach the location where the elevator is located according to the location of the target elevator shaft. After taking the elevator and getting out of the elevator, the electronic device can provide direction and distance guidance for the user based on the current location and the previously recorded trajectory 1.
[0197] As Figure 3 shown in (b) of , the user's vehicle is parked on the basement floor of the underground garage, and there is no positioning signal or the positioning error is large on the basement floor. After the user gets off the vehicle, the user needs to take the escalator or staircase to the shopping mall on the first floor. At this time, the user has a need to determine the location of the vehicle.
[0198] Similarly, the electronic device can record the walking trajectory of the user through sensor data; or the electronic device can also record the trajectory through sensor data and location fingerprint information.
[0199] During the process of an electronic device recording a user's walking trajectory, when the user is not on an escalator, the data change of the barometer obtained by the electronic device is relatively small; when the user is on an escalator, the data change of the barometer obtained by the electronic device is relatively large. Thus, the electronic device can determine the position where the user gets on the escalator based on the data change of the barometer, and can use the position where the user gets on the escalator as the end point of the recorded trajectory 1.
[0200] It should be understood that since there is no positioning signal in the basement floor - 1 while there is a positioning signal on the first floor, when the user takes the escalator from the basement floor - 1 to the first floor, after the user gets off the escalator, the electronic device can obtain an accurate positioning signal (such as longitude and latitude information). Thus, the electronic device can use the position where the user gets off the escalator as the target key point, and can provide guidance on the location of this escalator for the user subsequently.
[0201] In the embodiments of the present application, since the electronic device has already recorded the trajectory 1 of the user from getting off the vehicle to before getting on the escalator, and the electronic device has recorded the position where the user gets off the escalator (i.e., the target key point), when the user is looking for the vehicle subsequently, the user can reach this escalator smoothly according to the location of this escalator. After taking the escalator and getting off the escalator, the electronic device can provide direction and distance guidance for the user based on the current location and the previously recorded trajectory 1.
[0202] It can be understood that Figure 3 the basement floor - 1 and the first floor mentioned above are merely illustrative. In an actual scenario, the vehicle can be located on any floor without a positioning signal. For example, the vehicle can also be located on the basement floor - 2, basement floor - 3, etc. The first floor with a positioning signal can also be any floor with a positioning signal, and the embodiments of the present application do not limit this.
[0203] It can be understood that when the user walks up the stairs from the basement floor - 1 to the first floor, the electronic device can determine the position where the user gets on the stairs according to the variation law of the accelerometer, and can use the position where the user gets on the stairs as the end point of the trajectory and the position where the user gets off the stairs as the target key point.
[0204] In some cases, the end point of the trajectory and the target key point may also be the same position. The following will introduce this technical solution in combination with Figure 4 introduce this technical solution.
[0205] Figure 4 is a schematic diagram of an electronic device in the embodiments of the present application for determining the trajectory of the user after getting off the vehicle. As Figure 4 shown, the user's vehicle is parked on the basement floor - 1 of the underground garage, and there is no positioning signal or a large positioning error on the basement floor - 1. After getting off the vehicle, the user does not need to take an elevator or an escalator and can directly enter the mall from the basement floor - 1. At this time, the user has a need to determine the position of the vehicle.
[0206] It can be understood that when the user enters the mall with the electronic device, accurate positioning information (such as longitude and latitude information) can be obtained, while accurate positioning information cannot be obtained before entering the mall. Therefore, the electronic device can take the end point of the trajectory where accurate positioning information can be obtained.
[0207] It can be understood that since there may also be some errors in the positioning information, the end point of this trajectory may correspond to a small area rather than a single point.
[0208] It should be understood that the electronic device can record trajectory 1 using the same method of recording trajectories as described above. In this case, the target key point and the end point of the trajectory can be the same point.
[0209] When the user needs to use the vehicle again later, if the user is located at other positions, the electronic device can provide guidance to the location of the mall entrance for the user, so that the user can smoothly reach the mall entrance, which is also the end point of the trajectory; afterwards, based on the current location and the previously recorded trajectory 1, the electronic device provides direction and distance guidance for the user, which is conducive to the user quickly finding the vehicle.
[0210] Figure 5 It is a schematic flowchart of a method for recording a trajectory provided by an embodiment of the present application. As Figure 5 shown, this method 400 can be applied to an electronic device, and this method 400 includes steps 410 to 430.
[0211] 410. When the first preset condition is met, the electronic device obtains data information A.
[0212] Exemplarily, the first preset condition can be the preset condition A in the foregoing, and specific details can refer to the relevant descriptions in the foregoing.
[0213] When the first preset condition is met, the electronic device can obtain data information A, and this data information A can be various data obtained through sensors. For example, the sensors can include the accelerometer, gyroscope, magnetometer, barometer, etc. in the foregoing.
[0214] This data information A can also include the location fingerprint information obtained by the electronic device. For example, the location fingerprint information can be the strength of wireless signals, such as the strength of WI-FI signals and Bluetooth signals obtained by the electronic device at the current location.
[0215] It should be understood that other information may also be included in this data information A, such as ultra-wideband UWB signals, etc., which are not limited in the embodiments of the present application.
[0216] 420. The electronic device starts to record the trajectory A of the electronic device according to the data information A.
[0217] The electronic device can start recording the trajectory A of the electronic device according to the acquired data information A. The starting point of the trajectory A can be considered as the location of the vehicle. As the user moves, the data information A acquired by the electronic device changes, and the electronic device can record the trajectory A of the electronic device in real time according to the latest acquired data information.
[0218] As an example, the electronic device can determine a position point according to the data information A acquired at each moment, and record the relative displacement between this position point and the starting position point, so that the trajectory of the electronic device from the starting moment to this moment can be obtained.
[0219] As another example, the electronic device can determine a position point according to the data information A acquired at each moment, and record the relative displacement between this moment and the position point at the previous moment, so that the trajectory of the electronic device from the starting moment to this moment can be obtained.
[0220] As another example, the electronic device can also record each adoption point during the user's walking process, and use the method of curve fitting to determine the trajectory of the electronic device.
[0221] It should be understood that each moment here can be the moment when the sensor of the electronic device collects data. Or, this moment can also be the moment at every 1 second, every 2 seconds, etc.
[0222] In some examples, the trajectory A can also be displayed in real time on the display interface of the electronic device, which is beneficial for the user to determine their walking trajectory.
[0223] It can be understood that the trajectory A can also be understood as the walking trajectory of the user.
[0224] 430, satisfying the second preset condition, the electronic device determines the end point of the trajectory A.
[0225] Exemplarily, the second preset condition can include but is not limited to at least one of the following conditions:
[0226] The change value of the data of the magnetometer acquired by the electronic device is greater than the second threshold;
[0227] The change of the data of the accelerometer acquired by the electronic device conforms to the law;
[0228] The electronic device can obtain accurate positioning information;
[0229] The floor where the electronic device is located changes.
[0230] Among them, the change of the floor where the electronic device is located can be determined by the change of the data of the barometer by the electronic device, or it can also be determined by the electronic device by obtaining the floor information provided by the mall.
[0231] For example, an electronic device can determine the end point of trajectory A based on the change in the data obtained from a magnetometer. As shown in (a) of Figure 3 , the end point of this trajectory A can be the position where the user was before entering the target elevator shaft. For specific details, please refer to the description in the previous text.
[0232] Alternatively, the electronic device can also determine the end point of trajectory A by detecting a change in floor level. As shown in (b) of Figure 3 , the end point of this trajectory A can be the position where the user was before entering the escalator. For specific details, please refer to the description in the previous text.
[0233] Alternatively, the electronic device can also determine the end point of trajectory A based on the change in the data obtained from an accelerometer. The end point of this trajectory A can be the position where the user was before entering the staircase.
[0234] Alternatively, the electronic device can also determine the end point of trajectory A by being able to obtain accurate positioning information. As shown in Figure 4 , the end point of this trajectory A can be the position of the mall entrance. For specific details, please refer to the description in the previous text.
[0235] Based on the embodiments of the present application, an electronic device can, when meeting a first preset condition, obtain data information of various sensors and / or data information of wireless signals, and record the movement trajectory A of the electronic device based on the obtained data information. When meeting a second preset condition, the electronic device can determine the end point of trajectory A, so that the electronic device can obtain the walking trajectory of the user from getting off the vehicle to the marked position (the end point of the trajectory). Subsequently, when the user is looking for a vehicle, when the user reaches the end point of this trajectory or passes by a technical point of this trajectory, the electronic device can start recording the user's trajectory again to determine the relative position between the user's current position and trajectory A, thereby providing direction and distance guidance for the user to find the vehicle.
[0236] Figure 6 FIGs. are schematic diagrams of a set of graphical user interfaces (GUIs) provided by the embodiments of the present application. Among them, from Figure 3 (a) to (c) show the process of providing elevator shaft position guidance to the user.
[0237] Referring to Figure 6 (a), this GUI can be the display interface 210 of the electronic device 200. This display interface 210 can be the display desktop of the electronic device 200, and multiple application programs installed on the electronic device 200 can be included in this display interface 210.
[0238] Exemplarily, after the electronic device 200 detects an operation of a user clicking on the application icon 211 of Application (App) 1, a GUI as shown in Figure 6 sub - figure (b) can be displayed.
[0239] Exemplarily, this App1 can be used for the user to manage parking. The user can view the parking location of the vehicle, the parking duration, and the trajectory from parking to taking the elevator through this App1, etc.
[0240] Referring to Figure 6 sub - figure (b), this GUI can be the display interface 220 in App1 regarding the parking location. This display interface 220 can at least include a prompt card 221 and a parking details card 222.
[0241] Among them, the prompt card 221 can include a prompt content "Currently not at the elevator entrance where you went upstairs before", and a go - to - elevator function button 2211.
[0242] It should be understood that the text content included in this prompt content is merely illustrative. In other examples, the text content included in this prompt content can also be other content. For example, the prompt content can also be "Your current location is not where you went upstairs just now", "Your current location is not at the correct elevator entrance", etc. The embodiments of this application do not limit this.
[0243] Exemplarily, the electronic device 200 can determine whether the current location is at the end point of the trajectory.
[0244] The ways for the electronic device 200 to determine whether the current location is at the end point of the trajectory can include at least one of the following:
[0245] Method 1: Matching based on fingerprint information (such as Wi - Fi, Bluetooth, geomagnetism).
[0246] If the similarity between the fingerprint information 1 of the current location and the fingerprint information 2 of the trajectory end point is greater than the threshold, it can be determined that the current location is at the end point of the trajectory. Otherwise, the electronic device can determine that the current location is not at the end point of the trajectory.
[0247] Method 2: Matching based on barometric pressure data.
[0248] If the difference between the barometric pressure data 1 of the current location and the barometric pressure data 2 of the trajectory end point is less than the threshold, it can be determined that the current location is at the end point of the trajectory. Otherwise, the electronic device can determine that the current location is not at the end point of the trajectory.
[0249] In other examples, the electronic device can also determine that the current location is not at the end point of the trajectory based on altitude information.
[0250] Method 3: When the electronic device can obtain accurate positioning data, continuously obtain (or obtain at certain time intervals according to specific rules) the longitude and latitude coordinates of the electronic device; when detecting a floor change event, compare whether the distance between the last obtained position of the electronic device and the target key point is less than the threshold. If it is less than the threshold, it is determined that the current position is at the end point of the trajectory.
[0251] It should be understood that Method 3 can also be combined with Method 1 or Method 2 so that the electronic device can accurately obtain the floor where the vehicle is located.
[0252] The parking details card 222 may include a rough positioning of the location where the vehicle is located, a local map including the rough location of the vehicle, the walking distance from the user getting off the vehicle to the elevator entrance, and a view track function button 2221.
[0253] It should be understood that the trajectory may be the walking trajectory of the user from getting off the vehicle to the elevator entrance (or escalator, staircase). Or, the trajectory may also be the walking trajectory of the user from getting off the vehicle to the place where accurate positioning signals can be obtained.
[0254] Exemplarily, after the electronic device 200 detects the operation of the user clicking the go-to-elevator function button 221, it can display the GUI as shown in Figure 6 (c) therein.
[0255] Refer to Figure 6 (c) therein. The GUI may be a display interface 230 of the electronic device 200 for displaying the location of the elevator entrance. The display interface 230 may include an indication icon 231 of the elevator shaft and an indication icon 232 of the user's current location.
[0256] In this way, when the electronic device determines that the user's current location is not at the previously recorded location of the elevator shaft, it can provide corresponding guidance to the user, and the user can determine the position of the indication icon of the elevator shaft on the map, which is beneficial for the user to quickly clarify the orientation of the elevator shaft and bring a good experience to the user.
[0257] Since the electronic device determines whether the position of the electronic device is at the end point of the trajectory by obtaining data from sensors (such as magnetometers) or location fingerprint information, in some cases, due to position deviation or building interference, there may be some errors, resulting in a situation where the user has reached the place of the target elevator shaft for going upstairs before, but the electronic device determines through data that the user is not at the target elevator shaft. At this time, the electronic device can provide a manual selection option in the display interface, thereby improving a certain degree of fault tolerance.
[0258] Therefore, the display interface 230 may further include a prompt content "Elevator hall on the parking floor reached" 233, a function option box 2331, and a backtracking car-finding function button 234.
[0259] It can be understood that the user can manually select the function option box 2331 to enable the electronic device 200 to determine that the user's current position is already located in the target elevator hall. After the electronic device 200 detects the operation of the user clicking the backtracking car-finding function button 234, it can display the direction guidance, distance indication, etc. from the current position to the vehicle position in a new display interface.
[0260] Figure 7 It is a schematic diagram of another group of GUIs provided by the embodiments of the present application. Among them, from Figure 7 (a) to (e) in it show the process of the electronic device providing the vehicle position guidance to the user.
[0261] It should be understood that Figure 7 (a) in it can refer to the relevant description of (a) in Figure 6 For the sake of brevity, it will not be elaborated here.
[0262] When the electronic device determines that the user's current location is at the elevator entrance of the previous upstairs, after the electronic device 200 detects the operation of the user clicking the application icon 211 of App1, it can display the GUI as shown in Figure 7 (b) in it.
[0263] Refer to Figure 7 (b) in it. The GUI can be the display interface 240 of App1 regarding the parking position. The display interface 240 may at least include a prompt card 241 and a parking details card 242.
[0264] Among them, the prompt card 242 may display an elevator hall icon, the text content "Arrived at the elevator entrance of the previous upstairs", and a backtracking car-finding function button 2411.
[0265] It should be understood that the parking details card 242 can refer to the relevant description of the card 222.
[0266] It can be understood that the text content is only illustrative.
[0267] After the electronic device 200 detects the operation of the user clicking the backtracking car-finding function button 2411, it can display the GUI as shown in Figure 7 (c) in it.
[0268] Refer to Figure 7 (c) in it. The GUI can be the display interface 250 of the electronic device for displaying prompt information. The display interface 250 may include a card 251 and an icon 252 for prompting the direction.
[0269] The card 251 may include icons of an elevator hall and a vehicle, as well as the distance between the elevator hall and the vehicle. Exemplarily, the text content displayed on the card 251 may be "about 85 meters from the parking position". It should be understood that the distance displayed here is the distance from the parking position previously recorded by the electronic device 200 to the elevator hall, that is, the length of the walking trajectory after the user gets out of the vehicle.
[0270] The icon 252 of the prompt direction may be the direction guiding the vehicle parking position, so as to provide a certain indication for the user to find the vehicle.
[0271] In some other examples, the display interface 250 may not include the card 251.
[0272] When the user moves following the direction prompted by the electronic device 200, the direction and distance in the display interface 250 can be updated in real time.
[0273] See Figure 7 In (d) below, the distance from the vehicle position in the card 251 in the display interface 250 is updated to 60 meters, and the direction indicated by the icon 252 of the prompt direction always points to the vehicle position.
[0274] After the electronic device 200 detects the operation of the user clicking the card 251, a GUI as shown in Figure 7 (e) below may be displayed.
[0275] See Figure 7 In (e) below, the GUI is a display interface 260 for displaying the walking trajectory of the user from getting out of the vehicle to the elevator hall.
[0276] The display interface 260 may include a distance prompt card 261, a walking trajectory 262, and a backtracking to find the vehicle function button 263.
[0277] The display interface 260 may further include an icon 2621 (the end point of the trajectory) of the elevator hall location and an icon 2622 (the starting point of the trajectory) of the vehicle location, as well as an indication icon 2623 of the user's current location and direction.
[0278] Since the vehicle is parked in an underground garage or indoors, and the positioning signal of the vehicle in the underground garage or indoors is weak or there is no positioning signal, it is impossible to accurately locate the vehicle. In this application, when the first preset condition is met, the electronic device can obtain the data of multiple sensors and / or the location fingerprint information of the location where the electronic device is located, so as to determine the trajectory 1 of the movement of the electronic device. The starting point of the trajectory 1 can be considered as the location of the vehicle, and the ending point of the trajectory 1 can be the location where the user gets on the elevator or escalator or enters the mall. When the user subsequently arrives at the location (such as the elevator entrance) where the ending point of the trajectory 1 is located, the electronic device can display the above-mentioned trajectory 1 by viewing the trajectory operation. During the process of the user moving according to the trajectory 1, the electronic device can also determine the location and the current forward direction of the user according to the data of multiple sensors and / or the location fingerprint information of the location where the electronic device is located. After comparing with the previously generated trajectory 1, the location where the user is currently located can be displayed in the trajectory 1.
[0279] In this way, even if the vehicle has no accurate positioning signal, the user can conveniently view the location of the vehicle and the location where the user is currently located, so as to provide the user with car-finding guidance. When the user is looking for the car by retracing, the electronic device can provide the user with the direction and distance indication of the location of the vehicle, which is beneficial for the user to conveniently find the vehicle.
[0280] In other examples, after the electronic device 200 detects the operation of the user clicking the view trajectory function button 2421 on the parking details card 242 in the display interface 240, it can also display the GUI as shown in Figure 7 (e) in. In this case, the text content "The elevator entrance is about 85 meters away from the parking location" is displayed in the card 261 displayed in the display interface 260, and the icon 2623 for indicating the user's location is located near the icon 2621.
[0281] In some other examples, after the technical solution shown in Figure 6 (c), when the user walks to the location where the elevator is located according to the guidance of the elevator hall and the electronic device 200 detects the operation of returning to the previous interface, it can display the GUI as shown in Figure 7 (b).
[0282] In Figures 6 - 7 the illustrated embodiment, the user can enter the display interface for managing the vehicle by clicking the application icon of App1. In some cases, the entrance for managing the vehicle can also be located on the negative first screen of the electronic device.
[0283] Exemplarily, Figure 8 is a schematic diagram of another group of GUIs provided by the embodiments of the present application. Among them, from Figure 8Among (a) to (d) shows the process of the electronic device providing vehicle position guidance to the user.
[0284] Refer to Figure 8 In (a), the GUI is the display interface 310 of the negative first screen of the electronic device 300. The display interface 310 may at least include a parking card 311, an application usage card 312, a search function box, etc.
[0285] Among them, the parking card 311 may include information such as the parking location, parking duration, and a thumbnail map of the vehicle's location.
[0286] After the electronic device 300 detects the operation of the user clicking on the parking card 311, it may display the GUI as shown in Figure 8 (b).
[0287] It should be understood that Figure 8 (b) can refer to the relevant description of Figure 6 (b). For the sake of brevity, it will not be elaborated here.
[0288] After the electronic device 300 detects the operation of the user clicking on the view track 2221, it may display the GUI as shown in Figure 8 (c).
[0289] Since the electronic device determines whether its position is at the end point of the track by obtaining data from sensors (such as magnetometers) or location fingerprint information, in some cases, due to position deviation or building interference, there may be some errors, resulting in a situation where the user has reached the target elevator hall where they went upstairs before, but the electronic device determines through data that the user is not in the target elevator hall. At this time, the electronic device can provide the user with a manual selection option in the display interface, thereby improving a certain degree of fault tolerance.
[0290] Refer to Figure 8 (c). The GUI may be the display interface 330 for displaying the user's getting-off track. The display interface 330 may include a distance prompt card 331, a walking track 332, a prompt content "Have reached the elevator hall on the parking floor" 333, a function option box 3331, and a backtracking to find the car function button 334.
[0291] To make the vehicle indication more clear, the display interface 330 may also include an icon 3321 (the end point of the track) of the elevator hall location and an icon 3322 (the starting point of the track) of the vehicle location. Thus, the user can determine the relative position between the elevator hall and the vehicle.
[0292] If the user determines that the current location is already in the target elevator lobby, the user can click on the function option box 3331. In response to the user's operation of clicking on the function option box 3331, the electronic device can determine that the current location is in the target elevator lobby, and thus can provide direction guidance for the user.
[0293] After the electronic device detects the user's operation of clicking on the backtracking to find the vehicle function button 334, it can display the GUI as shown in Figure 8 (d) in.
[0294] See Figure 8 (d) in. This GUI can be a display interface 340 for the electronic device to display prompt information. The display interface 340 can include a card 341 and an icon 342 indicating the direction.
[0295] The card 341 can include an icon of the elevator lobby and an icon of the vehicle, as well as the distance between the elevator lobby and the vehicle. Exemplarily, the text content displayed on the card 341 can be "About 85 meters from the parking location". It should be understood that the distance displayed here is the distance from the previously recorded parking location of the electronic device 300 to the elevator lobby, that is, the length of the walking trajectory after the user gets off the vehicle.
[0296] The icon 342 indicating the direction can be the direction guiding the parking location of the vehicle, so as to provide a certain indication for the user to find the vehicle.
[0297] In some other examples, the display interface 340 may not include the card 341.
[0298] When the user moves in the direction prompted by the electronic device 300, the direction and distance in the display interface 340 can be updated in real time.
[0299] Based on the embodiments of the present application, when the electronic device determines that there is a certain error, the user can manually confirm that the current location is near the target elevator lobby, thereby improving the fault tolerance of the electronic device.
[0300] In some cases, when the electronic device determines that the user's current location is not in the target elevator lobby (the end point of the trajectory), when the user clicks on the parking card to enter the display interface for managing the vehicle location, the display interface can also be displayed in other forms. The following will be combined with Figures 6 - 7 to introduce this technical solution.
[0301] Exemplarily, Figure 9 is a schematic diagram of another group of GUIs provided by the embodiments of the present application. Among them, from Figure 9 (a) to (c) in shows the process of the electronic device providing elevator lobby location guidance for the user.
[0302] It should be understood that Figure 9For the description of (a) in Figure 8 reference can be made to the relevant description of (a) in
[0303] Figure 9 After the electronic device 300 detects the operation of the user clicking on the parking card 311, it can display a GUI as shown in (b) in
[0304] See Figure 9 In (b), this GUI can be the display interface 350 of the electronic device. This display interface can include a particle cloud map 351, a prompt content "Have reached the elevator hall on the parking floor" 352, a function selection box 3521, and a backtracking car-finding function button 353.
[0305] Exemplarily, the particle cloud map 351 can include text content "Doesn't seem to be in the elevator hall where you went upstairs just now" and a go-to-elevator function button 3512.
[0306] After the electronic device 300 detects the operation of the user clicking on the go-to-elevator function button 3512, it can display a GUI as shown in (c) in Figure 9
[0307] See Figure 9 In (c), this GUI can be the display interface 360 of the electronic device 300 for displaying the location of the elevator shaft. This display interface 360 can include an indication icon 361 of the elevator shaft and an indication icon 362 of the user's current location.
[0308] In this way, when the electronic device determines that the user's current location is not at the location of the elevator shaft recorded previously, it can provide corresponding guidance to the user, and the user can determine the location of the indication icon of the elevator shaft on the map, which is beneficial for the user to quickly clarify the orientation of the elevator shaft and bring a good experience to the user.
[0309] Exemplarily, Figure 10 is a schematic diagram of another group of GUIs provided by an embodiment of the present application. Among them, from Figure 10 (a) to (c) in
[0310] It should be understood that Figure 10 For (a) to (b) in Figure 9 reference can be made to the relevant description of (a) to (b) in
[0311] After the electronic device 300 detects the operation of the user clicking the function option box 3521, the electronic device 300 may determine that the current location of the user is near the target elevator hall. In this case, after the electronic device 300 detects the operation of the user clicking the backtracking to find the vehicle function button 353, it may display the GUI as shown in Figure 10 as shown in (c) below.
[0312] See Figure 10 In (c) below, this GUI may be a display interface 370 for the electronic device to display prompt information. The display interface 340 may include a card 371 and an icon 372 indicating the direction of the prompt.
[0313] The card 371 may include an icon of the elevator hall and an icon of the vehicle, as well as the distance between the elevator hall and the vehicle. Exemplarily, the text content displayed on the card 371 may be "about 85 meters from the parking position". It should be understood that the distance displayed here is the distance from the previously recorded parking position of the electronic device 300 to the elevator hall, that is, the length of the walking trajectory after the user gets off the vehicle.
[0314] The icon 372 indicating the direction of the prompt may be the direction guiding the parking position of the vehicle, so as to provide a certain indication for the user to find the vehicle.
[0315] In some other examples, the display interface 370 may not include the card 371 or the icon 372.
[0316] When the user moves following the direction prompted by the electronic device 300, the direction and distance in the display interface 370 may be updated in real time.
[0317] Based on the embodiments of the present application, when the electronic device determines that there is a certain error, the user may manually confirm that the current position is near the target elevator hall, thereby improving the fault tolerance of the electronic device. When the user performs backtracking to find the vehicle, the electronic device may provide the user with the direction and distance indication of the vehicle, which is beneficial for the user to conveniently find the vehicle.
[0318] In some cases, when the user is near the target elevator hall, for example, when the user gets off the elevator and is about to look for the vehicle, if the electronic device determines that the current position of the user is near the target elevator hall (the end point of the trajectory), when the user clicks the parking card, the electronic device may directly display the display interface indicating the direction of the vehicle for the user.
[0319] Exemplarily, Figure 11 is a schematic diagram of another group of GUIs provided by the embodiments of the present application. Among them, from Figure 11 in (a) to (b) below shows the process of the electronic device providing the vehicle position guidance for the user.
[0320] Among them,Figure 11 For (a) in Figure 8 please refer to the relevant description of (a).
[0321] If the electronic device 300 determines that the user's current location is near the target elevator lobby, after the electronic device 300 detects the user's operation of clicking on the parking card 311, it can display a GUI as shown in Figure 11 (b) therein.
[0322] Among them, Figure 11 For (b) in Figure 10 please refer to the relevant description of (c). For the sake of brevity, it will not be elaborated here.
[0323] In this way, when the user's current location is near the target elevator lobby, the user can click on the parking card to make the electronic device directly display a display interface for indicating the direction of the vehicle's location, thereby improving the efficiency of the user's operation.
[0324] In some cases, when the user is near the target elevator lobby, for example, when the user gets off the elevator and is about to look for the vehicle, if the electronic device determines that the user's current location is near the target elevator lobby (the end point of the trajectory), the electronic device can actively pop up a reminder message. For example, if the electronic device is in the locked screen state, the reminder message can be popped up on the locked screen interface; if the electronic device is displaying the desktop or the display interface of other application programs, a reminder message can be popped up to inform the user.
[0325] Exemplarily, Figure 12 is a schematic diagram of another group of GUIs provided by an embodiment of the present application. Among them, from Figure 12 (a) to (b) therein shows the process of the electronic device popping up a reminder message.
[0326] Refer to Figure 12 (a) therein. If the electronic device 300 determines that the user's current location is near the target elevator lobby (the end point of the trajectory), a reminder message display card 381 can be popped up on the locked screen display interface 380 of the electronic device.
[0327] The display card 381 may include the text content "Have arrived at the elevator entrance where you went upstairs before. Do you want to start backtracking?" and a backtracking to find the vehicle function button 3811.
[0328] After the electronic device detects the user's operation of clicking on the backtracking to find the vehicle function button 3811, it can display a GUI as shown in Figure 12 (b) therein.
[0329] Among them, Figure 12 For (b) in Figure 10Regarding the relevant description in (c) herein, for the sake of brevity, it will not be elaborated further here.
[0330] Based on the embodiments of the present application, if the electronic device determines that the current location of the user is near the target elevator shaft (the end point of the trajectory), the electronic device can actively pop up a reminder message to inform the user that they can start trajectory backtracking to quickly find the vehicle.
[0331] It can be understood that in some cases, when the electronic device detects that the user passes by the target elevator shaft, the reminder message can also be popped up. The embodiments of the present application do not limit this.
[0332] It can be understood that the Figures 6 - 12 technical solutions in the various embodiments shown above can be combined with each other or partially combined to form new technical solutions, and such technical solutions should not be considered to exceed the protection scope of the present application.
[0333] In some cases, due to magnetic field interference, when the user views their walking trajectory at different positions, the electronic device can present different display modes for the user according to whether there is magnetic field interference at the current location.
[0334] Figure 13 is a schematic diagram of another group of GUIs provided by the embodiments of the present application.
[0335] When the user views the walking trajectory, if the electronic device determines that there is no magnetic field interference or the interference is small at the current location, the electronic device can directly display the trajectory based on the earth coordinate system.
[0336] Among them, the electronic device can determine whether there is magnetic field interference by obtaining the data of the magnetometer. For example, when the value of the magnetometer obtained by the electronic device is less than or equal to the threshold, it can be determined that there is no magnetic field interference; or when the value of the magnetometer obtained by the electronic device is greater than the threshold, it can be determined that there is magnetic field interference.
[0337] Exemplarily, referring to Figure 13 in (a), the GUI can be the display interface 280 of the electronic device. The display interface 280 can include the user's walking trajectory 281, the icon 282 of the location of the elevator shaft (the end point of the trajectory), the icon 283 of the location of the vehicle (the starting point of the trajectory), as well as the icon 284 of the user's current location and the direction indication icon 285. Thus, the user can clearly know their own location and the location of the vehicle.
[0338] If the electronic device determines that there is magnetic field interference or relatively strong interference at the current location, the electronic device may display a trajectory in the display interface according to a preset presentation rule. For example, the electronic device may rotate the direction of the entire trajectory according to the direction of a section of the trajectory determined during the trajectory recording stage (such as a section of the trajectory entering the target elevator hall), so that the direction of this section of the trajectory points to the bottom (or below) of the display interface.
[0339] Exemplarily, referring to Figure 13 in (b) thereof, the GUI may be the display interface 290 of the electronic device. The display interface 290 may include a walking trajectory 291 of the user, an icon 292 indicating the location of the elevator hall (the end point of the trajectory), an icon 293 indicating the location of the vehicle (the starting point of the trajectory), and a direction indication icon 294.
[0340] Among them, the direction indication icon 294 may point to the bottom (or below) of the display interface 290. In some other examples, the direction indication icon 294 may also point to other directions, such as the top (or above) of the display interface 290, which is not limited in the embodiments of the present application.
[0341] Based on the embodiments of the present application, the electronic device may present different display modes for the user according to whether there is magnetic field interference at the current location, so that the direction guidance of the location of the vehicle can be provided for the user in various situations, thereby improving the user experience.
[0342] The following will be combined with Figure 14 to introduce the technical solutions in the trajectory backtracking stage of the present application. In the trajectory backtracking stage, the user can quickly find the location of the vehicle according to the guidance of the electronic device.
[0343] Exemplarily, Figure 14 is a schematic flowchart of a trajectory backtracking provided by an embodiment of the present application. As Figure 14 shown, the method 500 may include steps 510 to 540.
[0344] 510, the electronic device determines whether the current location is at the end point of trajectory A.
[0345] Exemplarily, the electronic device may determine whether the current location is at the end point of trajectory A according to the acquired data information.
[0346] It can be understood that the manner in which the electronic device determines whether the current location is at the end point of trajectory A may refer to the relevant descriptions in the foregoing text.
[0347] 520, if the current location of the electronic device is at the end point of trajectory A, determine the trajectory B of the electronic device.
[0348] If the current position of the electronic device is at the end point of trajectory A, the electronic device can determine trajectory B of the electronic device. It can be understood that the way for the electronic device to determine trajectory B can be the same as the way to determine trajectory A. For example, taking the end point of trajectory A as the starting point of trajectory B and implementing the recording of the trajectory from the starting point according to various acquired data information, so that the electronic device can determine the relative position between the current position of the electronic device and trajectory A.
[0349] It should be understood that the electronic device can map the determined trajectory A and trajectory B to the same coordinate system. Since the data information acquired by the electronic device at the same position is almost the same and the error of the data is also almost the same, mapping trajectory A and trajectory B to the same coordinate system can more accurately reflect the location of the user.
[0350] It should be understood that this step 520 can be an optional step. In other examples, this step 520 may not be executed, and the embodiments of the present application do not limit this.
[0351] In the case where this step 520 is not executed, the electronic device can directly display the direction indication from the current position to the starting point of trajectory A, thereby providing a general way guidance for the user to help the user find the vehicle in the correct direction and increasing the possibility for the user to successfully find the vehicle.
[0352] 530. In response to operation A of the user, display display interface A, where display interface A includes the direction indication from the current position of the electronic device to the starting point of trajectory A.
[0353] Exemplarily, this operation A can be an operation where the user clicks on trajectory backtracking. Refer to Figure 7 in (c), this display interface A can be display interface 250, and this direction indication can be icon 252. This icon 252 can indicate the direction in which the user needs to move forward, thereby guiding the user to find the vehicle.
[0354] In some examples, this display interface A may also include the distance indication from the current position of the electronic device to the parking position. This is beneficial for the user to determine how far away from the vehicle they are.
[0355] In some examples, as the electronic device or the user moves, the direction indication and distance indication in this display interface A can be updated in real time.
[0356] 540. If the current position of the electronic device is not at the end point of trajectory A, display prompt message A, where prompt message A includes the location of the target key point.
[0357] Exemplarily, refer to Figure 6In (c) thereof, the display interface corresponding to the prompt message A may be the display interface 230. When the electronic device determines that the current position is not at the end point of the trajectory A, the electronic device may display the prompt message A according to the user's operation, so as to provide the user with a guide to the location of the target key point, which is beneficial for the user to reach the target key point according to the guide and further reach the end point of the trajectory A.
[0358] Exemplarily, referring to Figure 3 in (a), the target key point may be the location of the ground elevator lobby on the first floor. Referring to Figure 3 in (b), the target key point may be the location of the ground escalator on the first floor. Referring to Figure 4 , the target key point may be the same as the end point of the trajectory A, which is the location where entering the mall on the basement floor.
[0359] In this way, when the position of the electronic device is not at the end point of the trajectory A, the electronic device may display the prompt message A to indicate the location of the target key point to the user, which is beneficial for guiding the user to reach the end point of the trajectory A.
[0360] In some other examples, when the user passes by the end point of the trajectory A with the electronic device, the user may not immediately turn on the electronic device to view the original trajectory A. It is possible that the user has walked a certain distance before turning on the electronic device to view the trajectory.
[0361] In this case, in the present application, when the electronic device detects that the electronic device passes by the end point of the trajectory A, the electronic device may determine the trajectory B of the electronic device, or may start recording the trajectory B of the electronic device, with the end point of the trajectory A as the starting point of the trajectory B. It can be understood that the electronic device may map the trajectory A and the trajectory B to the same coordinate system, so that when the user turns on the electronic device at any time T later, the electronic device may determine the position T and the moving direction of the electronic device at time T, and the electronic device may display the relative position of the position T and the trajectory A.
[0362] As an example, the position T may be located on the trajectory A, so that the user may determine how far the position T is from the parking position and whether the user has gone in the wrong direction, etc.
[0363] For example, during the movement of the electronic device, if the moving direction of the electronic device is generally correct, the data obtained by the electronic device at the same position T of the trajectory A and the trajectory B may be the same. Therefore, the electronic device may compare the data information obtained with the data information in the trajectory A. If the difference or similarity between the two is less than the threshold, the electronic device may display the position T in the trajectory A.
[0364] As another example, the electronic device can also display both trajectory A and trajectory B in the display interface, so that the user can determine whether the current trajectory of looking for the vehicle is correct.
[0365] It should be understood that the way the electronic device starts to record the trajectory B of the electronic device can refer to the relevant description in the previous text.
[0366] In the above embodiments, the electronic device cannot obtain the longitude and latitude information of the parking position, so it is necessary to help the user trace back to find the vehicle through the walking trajectory (relative displacement) after getting off the vehicle. In another case, if the vehicle starts to record its own trajectory when entering the basement (where satellite positioning is unavailable), based on the satellite positioning information before entering the basement and the trajectory information of the vehicle, the longitude and latitude information of the parking position can be obtained.
[0367] It should be understood that the vehicle or sensors in the vehicle (such as, accelerometers, gyroscopes, magnetometers, etc.), and / or combined with the wheel speed information, steering information, etc. uploaded by the vehicle can obtain the displacement and displacement direction of the vehicle at each moment, so as to determine the position of the vehicle.
[0368] In this case, after the user gets off the vehicle, the electronic device can not start recording the walking trajectory, but only record the air pressure value after parking, and this air pressure value can correspond to the target floor of the parking position; and, the electronic device can judge the above floor change events (including walking out of the parking lot), and obtain the corresponding position information based on this floor change event to get the position information (such as longitude and latitude) of the target key point (such as the elevator hall). When the user is looking for the vehicle subsequently, the electronic device can start recording the trajectory C of the electronic device after determining that the user is on the target floor; the electronic device can also, in response to the user's operation, display the direction and distance from the current position of the electronic device to the parking position in the display interface. The electronic device can also display the trajectory C, the direction of the user's current location, and the location of the vehicle.
[0369] It can be understood that the way the electronic device records the trajectory C can be the same as the way it records the trajectory B, and will not be elaborated here.
[0370] In this way, it is not necessary to rely on the walking trajectory of the user getting off the vehicle to obtain the relative position between the parking position and the target key point, and implement the above-mentioned vehicle-finding process to help the user find the parking position.
[0371] Specifically, taking the elevator hall as the target key point as an example, since the electronic device has determined the position information A of the vehicle and the position information B of the elevator hall, as well as the information of the target floor where the vehicle is located (through the barometer or the position information provided by the mall).
[0372] In one implementation, when the user is looking for the vehicle, the user continues to take the previous elevator. Then the process of the user tracing back to find the vehicle can be executed by the electronic device, including the following steps:
[0373] Step 1: When the electronic device can obtain an accurate positioning signal, obtain the position information C of the electronic device.
[0374] For example, when the user is in a shopping mall and can obtain an accurate positioning signal, at this time, the electronic device can obtain the longitude and latitude coordinates of the electronic device in real time or intermittently.
[0375] Step 2: Determine whether the difference between the position information C and the position information B is less than the threshold.
[0376] For example, the position information C and the position information B can be longitude and latitude coordinates, and the electronic device can determine whether the difference between the longitude and latitude of the position information C and the position information B is less than the threshold.
[0377] Step 3: If the difference between the position information C and the position information B is less than the threshold, determine whether the electronic device is located on the target floor.
[0378] If the difference between the longitude and latitude of the position information C and the position information B is less than the threshold, it can be determined that the electronic device is currently located in the previous elevator shaft. Then the electronic device can further determine whether the electronic device is located on the target floor.
[0379] For example, the electronic device can compare the value of the barometer obtained currently with the value of the barometer obtained after getting off the vehicle to determine whether it is located on the target floor; or, the electronic device can also determine whether it is located on the target floor by the obtained floor information; or, the electronic device can also compare the current obtained altitude information with the altitude information obtained after getting off the vehicle to determine whether it is located on the target floor.
[0380] Step 4: If the electronic device is located on the target floor, record the trajectory C of the electronic device.
[0381] It should be understood that if the electronic device is located on the target floor, the position where the electronic device is currently located is on the same floor as the vehicle, then the electronic device can start recording the trajectory C.
[0382] For the recording method of this trajectory C, reference can be made to the relevant description of the electronic device recording the trajectory B in the previous text. For example, the electronic device records the trajectory C through the data of various sensors.
[0383] Step 5: Display the prompt information C, and the prompt information C is used to indicate the direction from the current position of the electronic device to the position information A of the vehicle.
[0384] The electronic device can display this prompt information C on the display interface in response to the user's operation.
[0385] The prompt message C can also be used to indicate the distance from the current position to the vehicle's position information A.
[0386] Since the parking position and the elevator position are both longitude and latitude coordinates in the Earth coordinate system, in another implementation, when the user retraces to find the vehicle and does not take the previous elevator, the process of the user retracing to find the vehicle can be executed by an electronic device, including the following steps:
[0387] Step 1: When the electronic device can obtain an accurate positioning signal, obtain the position information C of the electronic device.
[0388] For example, when there is an accurate positioning signal, the electronic device can continuously obtain (or obtain at intervals in a certain way) the position information of the electronic device. This position information can be the longitude and latitude coordinates of the electronic device.
[0389] Step 2: Determine whether the electronic device is located on the target floor.
[0390] Exemplarily, when the electronic device detects the above floor change event, it can determine whether the electronic device is located on the target floor according to the data of the barometer or the obtained floor information.
[0391] Step 3: When it is determined that the electronic device is located on the target floor, record the trajectory C of the electronic device.
[0392] Exemplarily, the electronic device can use the last obtained position information C as the starting point, and determine the longitude and latitude coordinates of the electronic device at the current moment based on the data of various sensors obtained, so as to record the trajectory C of the electronic device.
[0393] Step 4: Display the prompt message C, and the prompt message C is used to indicate the direction from the current position of the electronic device to the vehicle's position information A.
[0394] The electronic device can display this prompt message C on the display interface in response to the user's operation.
[0395] The prompt message C can also be used to indicate the distance from the current position to the vehicle's position information A.
[0396] In this way, the user does not need to start looking for the vehicle from the previous elevator. After the user comes to the target floor from other elevators, the electronic device can also provide vehicle search guidance for the user to help the user quickly find the vehicle.
[0397] In some other examples, the electronic device can also determine the position of the vehicle based on the direction of the trajectory 1 determined by the electronic device in the previous embodiment or the direction of a part of the trajectory in the trajectory 1, as well as the position information of the target key point.
[0398] For example, according to the longitude and latitude information of the target key point and the direction of trajectory 1 or the direction before the user enters the elevator in trajectory 1, trajectory 1 is mapped to the coordinate system, so that the longitude and latitude coordinates where the starting point of trajectory 1 is located can be determined, that is, the position of the vehicle.
[0399] Figure 15 It is a schematic flowchart of a method for indoor navigation provided by an embodiment of the present application. As Figure 15 shown, this method 600 can be applied to an electronic device, and this method 600 may include steps 610 to step 640.
[0400] 610. When the first preset condition is satisfied, the electronic device acquires first data information, where the first data information includes the attitude information and direction information of the electronic device, and / or, position fingerprint information.
[0401] Exemplarily, the electronic device is communicatively connected to an intelligent driving device, and the first preset condition may include at least one of the following:
[0402] The gear of the intelligent driving device is in the parking gear;
[0403] The communication connection between the electronic device and the intelligent driving device is disconnected;
[0404] The intelligent driving device is in a locked state;
[0405] An operation of starting to record a trajectory is detected; or,
[0406] The distance between the electronic device and the intelligent driving device is greater than a preset distance, where the preset distance is calculated by the electronic device through a wireless communication method (such as Bluetooth, UWB, etc.).
[0407] It should be understood that the electronic device is communicatively connected to an intelligent driving device (such as a vehicle), so that the electronic device can obtain various states of the intelligent driving device.
[0408] When the first preset condition is satisfied, the electronic device can acquire first data information, where the first data information includes the attitude information and direction information of the electronic device, and / or, position fingerprint information.
[0409] For example, the electronic device acquires attitude information through an accelerometer and a gyroscope, and acquires direction information through a gyroscope and a magnetometer. The position fingerprint information may include the strength of the wireless signals acquired by the electronic device, such as the strength of WI-FI signals, the strength of Bluetooth signals, and may also include the strength of geomagnetic signals.
[0410] 620. The electronic device records a first trajectory of the electronic device according to the first data information, and the starting point of the first trajectory is the position point determined by the electronic device according to the first data information when the first preset condition is satisfied.
[0411] It should be understood that for the specific implementation of the electronic device recording the first trajectory of the electronic device according to the first data information, reference may be made to the relevant descriptions in the foregoing text.
[0412] The starting point of the first trajectory can be understood as the position where the vehicle is located. The first trajectory is the walking trajectory after the user gets off the vehicle.
[0413] 630, satisfying the second preset condition, the electronic device determines the end point of the first trajectory according to the second data information, wherein, an end point of the first trajectory and a starting point form the first trajectory of the electronic device.
[0414] Exemplarily, the second preset condition is at least one of the following conditions:
[0415] The change value of the data of the magnetometer acquired by the electronic device is greater than a second threshold;
[0416] The absolute value of the change of the barometer data acquired by the electronic device is greater than a third threshold, or the change value of the barometer data acquired by the electronic device within a preset time is greater than a fourth threshold;
[0417] The change of the data of the inertial sensor acquired by the electronic device conforms to a first law, and the inertial sensor includes at least one of an accelerometer, a gyroscope or a magnetometer;
[0418] The signal strength of the communication signal of the electronic device conforms to a second law, and the communication signal includes at least one of a Wi-Fi signal, a Bluetooth signal, a cellular signal or a positioning signal;
[0419] The electronic device can acquire accurate positioning information; or,
[0420] The floor where the electronic device is located changes.
[0421] It should be understood that the electronic device can determine the end point of the first trajectory when the second preset condition is satisfied.
[0422] Exemplarily, referring to Figure 3 in (a), the end point can be the position where the target elevator lobby is located. Referring to Figure 3 in (b), the end point can also be the position of getting on the escalator. Referring to Figure 4 , the end point can also be the position where the mall entrance is located.
[0423] Exemplarily, the first law can be the data change law of events such as the electronic device determining that the user gets on or off an elevator, a staircase, an escalator, etc. through the inertial sensor. This law can be a law preset in the electronic device.
[0424] It should be understood that the electronic device can also determine events such as getting on or off an elevator, staircase, escalator, etc. alone through one of the inertial sensors. For example, the change pattern of the accelerometer is used to determine whether the user gets on or off the elevator.
[0425] Exemplarily, the second pattern can be that the signal strength first decreases and then increases after a period of time. Alternatively, the second pattern can also be a preset pattern in the electronic device.
[0426] Among them, the type of data included in the second data information can be the same as that included in the first data information. For example, data of various sensors. In some examples, the second data information is the same as the first data information.
[0427] It should be understood that the embodiments of the present application do not limit the specific values of the second threshold, the third threshold, and the fourth threshold. When the absolute value of the change in the barometer data obtained by the electronic device is greater than the third threshold, or the change value of the barometer data obtained by the electronic device within a preset time is greater than the fourth threshold, it can be determined that the floor where the electronic device is located has changed.
[0428] This step 630 can also be understood as that when the second preset condition is met, the electronic device stops recording the user's walking trajectory, and the point where the walking trajectory stops is the end point.
[0429] 640. When the third preset condition is met, the electronic device displays a first display interface, and the first display interface includes a first prompt message for indicating the direction from the position of the electronic device to the starting point.
[0430] Exemplarily, the third preset condition includes at least one of the following conditions:
[0431] Condition 1: The position of the electronic device is located at the end point of the first trajectory;
[0432] Condition 2: The second trajectory of the electronic device includes the end point of the first trajectory, where the second trajectory is determined by the electronic device according to the third data information, and the third data information includes the attitude information and direction information of the electronic device, and / or, position fingerprint information, and the second trajectory and the first trajectory are in the same coordinate system; or,
[0433] Condition 3: When a floor change is detected, the difference between the last obtained position of the electronic device and the target key point is less than the threshold.
[0434] In Condition 1, when the user is looking for a vehicle, after the current position of the electronic device is located at the end point of the first trajectory, the electronic device also needs to start recording the trajectory of the electronic device, and the electronic device can display the first display interface to provide the user with a direction guide to the location of the vehicle.
[0435] In Condition 2, when the user is searching for the vehicle, after the user passes the end point of the first trajectory, the user may not check the mobile phone and only checks the mobile phone after walking a certain distance. In this case, when the user passes the end point of the first trajectory, the electronic device starts to record the second trajectory and can display the first display interface when the user checks the mobile phone to provide the user with the direction guidance of the location of the vehicle.
[0436] In Condition 3, when the floor change is detected and the difference between the position last obtained by the electronic device and the target key point is less than the threshold value, it can be understood that when the user takes the elevator down from the target key point during vehicle searching and arrives at the corresponding floor, the electronic device can display the first display interface to provide the user with the direction guidance of the location of the vehicle.
[0437] Based on the embodiments of the present application, after the electronic device detects that the user gets off the vehicle, it can obtain the data of various sensors and record the walking trajectory of the user, that is, the first trajectory; when the second preset condition is met, the electronic device can determine the end point of the first trajectory (such as the elevator hall); when the user searches for the vehicle subsequently, if the electronic device determines that the user's position is at the end point of the first trajectory, or the user passes the end point of the first trajectory, the electronic device can start to perform trajectory backtracking (record the trajectory again) and can display the direction from the user's current position to the starting point of the first trajectory in the first display interface.
[0438] This technical solution can use the electronic device carried by the user to obtain various data information to record the trajectory of the user from getting off the vehicle to the marked position (such as the elevator hall); thus, when the user comes to or passes the marked position again later, the electronic device can provide the corresponding direction guidance for the user according to the previously obtained walking trajectory, so that the user can conveniently find the location of the vehicle.
[0439] In some embodiments, when the third preset condition is met and the electronic device displays the first display interface, it includes:
[0440] When the third preset condition is met, in response to the first operation of the user, the electronic device displays the first display interface.
[0441] When the third preset condition is met, the electronic device can also display the first display interface according to the operation of the user.
[0442] For example, referring to Figure 7 (b) and (c) in, the first operation may be the operation of the user clicking the backtracking car-finding function button 2411, and the first display interface may be the display interface 250.
[0443] In some embodiments, the method 600 further includes:
[0444] In response to a second operation of the user, a second display interface is displayed, and the second display interface includes a first trajectory, indication information of the position and orientation of the electronic device, and / or a second trajectory.
[0445] Exemplarily, referring to Figure 7 (e) in, this second operation may be an operation in which the user clicks on card 251, and this second display interface may be display interface 260. This first trajectory is trajectory 262, and the indication information of the position and orientation of the electronic device is 2623.
[0446] Optionally, the second display interface may further include an indication of the location where the vehicle is located and an indication of the location where the end point of the first trajectory is located.
[0447] Optionally, the second display interface may not include the first trajectory. In this case, the second display interface includes an indication of the position and orientation of the electronic device and an indication of the location where the vehicle is located.
[0448] Based on the embodiments of the present application, the electronic device can, in response to a second operation of the user, display a second display interface including a first trajectory and indication information of the position and orientation of the electronic device, thereby providing real-time guidance to the user on the location where the vehicle is located and the location where the user is currently located. In addition, the second display interface may further include a second trajectory, which is beneficial for the user to determine whether the walking trajectory during the vehicle search phase deviates from the originally recorded trajectory.
[0449] In some embodiments, recording the first trajectory of the electronic device according to the first data information includes:
[0450] Determining relative displacement, direction, and / or position fingerprint information of the target moment relative to the starting point moment or the previous moment of the target moment according to the first data information;
[0451] Recording the first trajectory according to the relative displacement, direction, and / or position fingerprint information.
[0452] It should be understood that the target moment may be the moment when the sensor of the electronic device samples.
[0453] Based on the embodiments of the present application, the electronic device can determine relative displacement, direction, and / or position fingerprint information of the target moment relative to the starting point moment or the previous moment of the target moment according to various data to record the walking trajectory of the user.
[0454] In some embodiments, the method 600 further includes:
[0455] During the movement of the electronic device, the direction in the first prompt information is updated in real time according to the first trajectory.
[0456] When backtracking the trajectory, the electronic device records the trajectory again, so that the position and direction at each moment can be determined, and thus the direction in the first prompt information can be updated in real time. It should be understood that the way the electronic device records the trajectory again is the same as the way it records the first trajectory.
[0457] Based on the embodiments of the present application, during the process of the user carrying the electronic device to move, the electronic device can also update the direction in the first prompt information in real time. Thus, real-time direction guidance can be provided for the user.
[0458] In some embodiments, updating the direction in the first prompt information according to the first trajectory includes:
[0459] Determining the displacement, direction, and / or position fingerprint information of the position of the electronic device relative to the first trajectory according to the fourth data information;
[0460] Updating the direction in the first prompt information in real time according to the displacement, direction, and / or position fingerprint information of the position of the electronic device relative to the first trajectory and the first trajectory.
[0461] During the process of the user carrying the electronic device to move, the electronic device can determine the current displacement, direction, and other information of the electronic device according to the acquired fourth data information, so that the direction in the first prompt information can be updated in real time.
[0462] In some embodiments, before displaying the first display interface, method 600 further includes:
[0463] If the position of the electronic device is not at the end point of the first trajectory, in response to the third operation of the user, displaying a third display interface, where the third display interface includes the position where the end point of the first trajectory is located.
[0464] Exemplarily, the end point of the first trajectory may be the junction of the underground garage and the mall, or the end point of the first trajectory may be the junction from the underground garage to the outdoors.
[0465] Based on the embodiments of the present application, if the user is not at the end point of the first trajectory, the user can also view the position where the end point of the first trajectory is located through the third operation, so as to provide guidance on the position where the end point of the trajectory is located for the user.
[0466] In some embodiments, determining the end point of the first trajectory according to the second data information includes:
[0467] Determining the position information of the target key point;
[0468] Determining the end point of the first trajectory according to the position information of the target key point and the second data information;
[0469] Method 600 further includes:
[0470] If the position of the electronic device is not at the end point of the first trajectory, in response to a third operation by the user, a third display interface is displayed, and the third display interface includes the position information of the target key point.
[0471] Exemplarily, referring to Figure 6 (b) and (c) in, the third operation may be an operation in which the user clicks the elevator function button 2211, the third display interface may be the display interface 230, and the position information of the target key may be the indication icon 232.
[0472] Exemplarily, if the user takes the elevator from the basement, the target key point may be the position where the user gets out of the elevator. Since the user gets out of the elevator and enters the mall, the electronic device can obtain the position information at this position, such as longitude and latitude coordinates; the end point of the first trajectory may be a position near where the user enters the elevator.
[0473] Based on the embodiments of the present application, the electronic device can display the position of the target key point according to the operation of the user, so as to provide the user with a position guidance of the target key point, which is beneficial for the user to find the target key point according to the guidance and facilitates the subsequent accurate search for the vehicle.
[0474] In some embodiments, the method 600 further includes:
[0475] In response to a fourth operation by the user, a fourth display interface is displayed, and the fourth display interface includes the first trajectory of the electronic device.
[0476] Exemplarily, referring to Figure 8 (b) and (c) in, the fourth operation may be an operation in which the user clicks the view trajectory function button 2221, and the fourth display interface may be the display interface 330.
[0477] Based on the embodiments of the present application, the electronic device can display the first trajectory of the electronic device through the operation of the user, so that the user can view the trajectory from getting off the vehicle to the key identification point.
[0478] In some embodiments, the fourth display interface further includes the position and direction where the electronic device is currently located.
[0479] Based on the embodiments of the present application, the position and direction where the electronic device is currently located may also be included in the fourth display interface, which is beneficial for the user to determine the relative relationship between the position where the user is currently located and the first trajectory.
[0480] In some embodiments, the true direction of a segment of the first trajectory with a determined direction is the first direction, and the direction of a segment of the first trajectory in the third display interface after rotation is displayed as the second direction, where the second direction is perpendicular to the side where the status bar of the electronic device is located.
[0481] For example, if the first direction is the direction of entering the elevator, then the second direction is downward. Or, if the first direction is the direction of exiting the elevator, then the second direction is upward.
[0482] In some embodiments, the method 600 further includes:
[0483] Obtaining fifth data information of the electronic device;
[0484] If the similarity between the fifth data information and the second data information is greater than the first threshold, determining that the position of the electronic device is at the end point of the first trajectory;
[0485] Or, if the similarity between the fifth data information and the second data information is less than or equal to the first threshold, determining that the position of the electronic device is not at the end point of the first trajectory.
[0486] Exemplarily, the fifth data information and the second data information are location fingerprint information.
[0487] Based on the embodiments of the present application, the electronic device can determine whether the current position of the electronic device is at the end point of the first trajectory according to the relationship between the obtained fifth data information and the second data information, which is beneficial for the electronic device to determine whether to start recording the user's trajectory again, so as to provide direction and distance guidance for the user.
[0488] In some embodiments, the method 600 further includes:
[0489] In response to a fifth operation of the user, determining that the position of the electronic device is at the end point of the first trajectory.
[0490] Exemplarily, referring to Figure 8 (c) therein, the fifth operation may be an operation in which the user clicks on the function option box 3331.
[0491] In some embodiments, the first prompt information further includes the distance from the position to the starting point.
[0492] Based on the embodiments of the present application, the first prompt information may further include the distance from the current position of the electronic device to the starting point of the first trajectory, which helps the user understand how far away from the parking position they are currently.
[0493] In some embodiments, the end point of the first trajectory is an elevator lobby.
[0494] In some cases, the electronic device can obtain the latitude and longitude information of the parking location. Figure 16 Introduce the technical solution.
[0495] Figure 16 FIG. 1 is a schematic flow chart of another indoor navigation method provided by an embodiment of the present application. Figure 16 As shown, the method 700 may be applied to an electronic device, and the method 700 may include steps 710 to 740.
[0496] At 710 , the electronic device determines first position information of the intelligent driving device, second position information of the target key point, and the target floor where the intelligent driving device is located.
[0497] Exemplarily, the electronic device can obtain the displacement and displacement direction of the vehicle at each moment with the help of sensors of the vehicle or electronic device (such as accelerometers, gyroscopes, magnetometers, etc.), and / or in combination with wheel speed information, steering information, etc. uploaded by the vehicle, so as to determine the position of the vehicle after entering the basement (such as longitude and latitude coordinates).
[0498] For example, the second position information of the target key point may be the longitude and latitude coordinates acquired by the electronic device, such as the longitude and latitude coordinates when the user exits the elevator.
[0499] Exemplarily, the target floor where the intelligent driving device is located may be obtained by the electronic device through a barometer, or may be determined by the electronic device through floor information.
[0500] 720. The electronic device obtains third location information of the electronic device.
[0501] When the user subsequently searches for the car, the electronic device can continue to obtain the third location information of the electronic device, such as the latitude and longitude coordinates, when accurate location information can be obtained.
[0502] 730. If it is determined that the electronic device is located at the target floor, the electronic device records a third trajectory of the electronic device according to the second information, wherein the starting point of the third trajectory is the position corresponding to the third position information, and the second information includes posture information and direction information of the electronic device, and / or position fingerprint information.
[0503] If the electronic device determines that it is located at the target floor, it means that the user has currently arrived at the floor where the vehicle was parked before. At this time, the user may have a need to find the vehicle, and the electronic device may start recording the third trajectory of the electronic device, and the starting point of the trajectory is the position corresponding to the third position information.
[0504] 740. In response to a first operation of the user, a first display interface is displayed. The first display interface includes a first prompt message, and the first prompt message is used to indicate the direction from the current position of the electronic device to the intelligent driving device.
[0505] In other examples, the first prompt message can also be used to indicate the distance from the current position of the electronic device to the intelligent driving device.
[0506] Based on the embodiments of the present application, the electronic device can first determine the first position information of the intelligent driving device (such as a vehicle), the second position information of the target key point, and the target floor where the vehicle is parked. When the user is looking for the vehicle subsequently, when the electronic device can obtain accurate position information, it can continuously obtain the third position information of the electronic device. If it is further determined that the electronic device is located on the target floor, it can record the third trajectory of the electronic device according to the second information, and use the last obtained third position information of the electronic device as the starting point of the third trajectory. Thus, when the user hopes that the electronic device provides guidance, through the first operation, the electronic device can display the first display interface to provide the user with the direction guidance from the current position to the position where the vehicle is located.
[0507] In this technical solution, after getting off the vehicle, the electronic device has determined the longitude and latitude where the vehicle is located, the target floor where the vehicle is located, and the longitude and latitude of the target key point (such as the elevator hall); when looking for the vehicle subsequently, when the electronic device can obtain accurate position information, it can continuously obtain the third position information of the electronic device. When the user arrives at the target floor, the electronic device can start recording the trajectory and use the third position information as the starting point. Since the recorded trajectory also has a direction and a distance, and the longitude and latitude coordinates of the vehicle are known, the electronic device can provide the user with direction and distance guidance.
[0508] In some embodiments, determining that the electronic device is located on the target floor includes:
[0509] If the difference between the first data and the second data of the barometer is less than a fifth threshold, it is determined that the electronic device is located on the target floor; where the first data is the value of the barometer currently obtained by the electronic device, and the second data is the value of the barometer recorded by the electronic device on the target floor; or,
[0510] Determine that the electronic device is located on the target floor according to the obtained floor information.
[0511] It should be understood that the specific value of the fifth threshold in the embodiments of the present application is not limited.
[0512] Based on the embodiments of the present application, the electronic device can determine whether it is located on the target floor in various ways.
[0513] In some embodiments, before determining that the electronic device is located on the target floor, the method 700 further includes:
[0514] Determining that the difference between the third position information and the second position information is less than or equal to a sixth threshold; or,
[0515] Determining that the third position information is the position information last obtained by the electronic device.
[0516] It should be understood that the specific value of the sixth threshold is not limited in the embodiments of the present application.
[0517] Based on the embodiments of the present application, if the difference between the third position information and the second position information is less than or equal to the sixth threshold, it can be determined that the user comes out of the previous elevator; if the third position information is the position information last obtained by the electronic device, it may be that the user comes out of other positions. In both cases, the technical solutions of the present application are applicable.
[0518] In some embodiments, the method 700 further includes:
[0519] In response to a second operation of the user, a second display interface is displayed, and the second display interface includes the first position information, the second position information, an indication information of the current position and direction of the electronic device, and / or a third trajectory.
[0520] Based on the embodiments of the present application, the user can also view the specific position of the vehicle, as well as the current position and direction of the electronic device, and / or the third trajectory after the user is on the target floor through a convenient operation. This is beneficial for the user to clarify their own position and the position of the vehicle.
[0521] In some embodiments, recording the third trajectory of the electronic device according to the second information includes:
[0522] Determining the position, direction, and / or position fingerprint information at the current moment according to the second information and the third position information;
[0523] Recording the third trajectory according to the position, direction, and / or position fingerprint information at the current moment.
[0524] Based on the embodiments of the present application, the electronic device can determine the position, direction, and / or position fingerprint information at the current moment according to various data and the third position information of the electronic device to record the walking trajectory of the user.
[0525] In some embodiments, determining the first position information of the intelligent driving device includes:
[0526] When a first preset condition is satisfied, first data information is obtained, and the first data information includes the attitude information and direction information of the electronic device, and / or position fingerprint information;
[0527] Record the first trajectory of the electronic device according to the first data information; the starting point of the first trajectory is the position point determined by the electronic device according to the first data information under the condition of meeting the first preset condition;
[0528] When the second preset condition is met, determine the end point of the first trajectory according to the second data information, and a first trajectory of the electronic device is formed between the end point and the starting point of the first trajectory;
[0529] Determine the first position information of the intelligent driving device according to the direction of the first trajectory or the direction of part of the trajectories in the first trajectory and the second position information of the target key point.
[0530] It should be understood that the above first preset condition, second preset condition, first trajectory, etc. can refer to the relevant descriptions in the foregoing text.
[0531] Based on the embodiments of the present application, after the user gets out of the vehicle, the electronic device can record the first trajectory of the user walking while carrying the electronic device, and determine the first position information of the vehicle according to the direction in the first trajectory or the direction of part of the trajectories and the second position information of the target key point. For example, the second position information is longitude and latitude coordinates, and the longitude and latitude coordinates can be inversely deduced according to the longitude and latitude coordinates of the target key point and the exact direction in the first trajectory.
[0532] Figure 17 is an exemplary block diagram of an electronic device provided by an embodiment of the present application. As Figure 17 shown, the electronic device 1000 may include one or more processors 1010; one or more memories 1020; the one or more memories 1020 store one or more programs, and when the one or more programs are executed by the one or more processors 1010, the indoor navigation method described in any of the foregoing possible implementation manners is executed.
[0533] For example, the electronic device 1000 can be used to execute the foregoing methods 400, 500, 600, and 700. The electronic device 1000 can also be the foregoing electronic device 100, electronic device 200, electronic device 300, etc.
[0534] An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the indoor navigation method described in any of the foregoing possible implementation manners is executed.
[0535] It can be understood that, in order for the device to implement the above functions, it includes the corresponding hardware and / or software modules for executing each function. Combining the algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and software. Whether a certain function is executed in the form of hardware or software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the present application.
[0536] In this embodiment, the device can be divided into functional modules according to the above method examples. For example, each functional module can be corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, only a logical function division, and there can be other division methods in actual implementation.
[0537] This embodiment also provides a device, including modules for implementing the method of indoor navigation in the above embodiment.
[0538] This embodiment also provides a readable storage medium, in which instructions are stored. When the instructions run on an electronic device, the electronic device is enabled to execute the above relevant method steps to implement the method of indoor navigation in the above embodiment.
[0539] This embodiment also provides a program product. When the program product runs on an electronic device, the electronic device is enabled to execute the above relevant steps to implement the method of indoor navigation in the above embodiment.
[0540] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, a component or a module. The device can include a processor and a memory connected to each other; wherein, the memory is used to store execution instructions. When the device runs, the processor can execute the execution instructions stored in the memory to enable the chip to execute the method of indoor navigation in the above method embodiments.
[0541] Among them, the device, equipment, readable storage medium, program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be elaborated here.
[0542] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0543] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0544] In several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0545] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0546] In addition, the functional units in each embodiment of this application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0547] When the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs that can store program codes.
[0548] As described above, the above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by this application can easily think of changes or substitutions, which should all be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims
1. A method for indoor navigation, characterized in that, The method is applied to an electronic device, and the method includes: When a first preset condition is satisfied, first data information is obtained, where the first data information includes the attitude information and direction information of the electronic device, and / or location fingerprint information; According to the first data information, a first trajectory of the electronic device is recorded; the starting point of the first trajectory is the position point determined by the electronic device according to the first data information when the first preset condition is satisfied; When a second preset condition is satisfied, an end point of the first trajectory is determined according to second data information, where an end point of the first trajectory and the starting point form the first trajectory of the electronic device; When a third preset condition is satisfied, a first display interface is displayed, where the first display interface includes first prompt information for indicating the direction from the position of the electronic device to the starting point.
2. The method according to claim 1, characterized in that, The step of when the third preset condition is satisfied and displaying the first display interface includes: When the third preset condition is satisfied, in response to a first operation of the user, the first display interface is displayed.
3. The method according to claim 1 or 2, characterized in that, The third preset condition includes at least one of the following conditions: The position of the electronic device is located at the end point of the first trajectory; A second trajectory of the electronic device includes the end point of the first trajectory, where the second trajectory is determined by the electronic device according to third data information, and the third data information includes the attitude information and direction information of the electronic device, and / or location fingerprint information, and the second trajectory and the first trajectory are in the same coordinate system; or, When a floor change is detected, the difference between the position last obtained by the electronic device and a target key point is less than a threshold.
4. The method according to claim 3, characterized in that, The method further includes: In response to a second operation of the user, a second display interface is displayed, where the second display interface includes the first trajectory, indication information of the position and direction of the electronic device, and / or the second trajectory.
5. The method according to claim 3, characterized in that, Recording the first trajectory of the electronic device according to the first data information includes: Determining relative displacement, direction, and / or location fingerprint information of a target moment relative to the moment when the starting point is located or the previous moment of the target moment according to the first data information; Recording the first trajectory according to the relative displacement, direction, and / or location fingerprint information.
6. The method according to any one of claims 1-5, characterized in that, The method further includes: During the movement of the electronic device, the direction in the first prompt information is updated in real time according to the first trajectory.
7. The method according to claim 6, characterized in that, The step of updating the direction in the first prompt information in real time according to the first trajectory includes: Determining displacement, direction, and / or location fingerprint information of the position of the electronic device relative to the first trajectory according to fourth data information; Updating the direction in the first prompt information in real time according to the displacement, direction, and / or location fingerprint information of the position relative to the first trajectory and the first trajectory.
8. The method according to any one of claims 1-7, characterized in that, Before the first display interface is displayed, the method further includes: If the position of the electronic device is not located at the end point of the first trajectory, in response to a third operation of the user, a third display interface is displayed, where the third display interface includes the position where the end point of the first trajectory is located.
9. The method according to any one of claims 1-7, characterized in that, Determining the end point of the first trajectory according to the second data information includes: Determining the position information of the target key point; Determining the end point of the first trajectory according to the position information of the target key point and the second data information; The method further includes: If the position of the electronic device is not at the end point of the first trajectory, in response to a third operation of the user, a third display interface is displayed, and the third display interface includes the position information of the target key point.
10. The method according to any one of claims 1-9, characterized in that, The method further includes: In response to a fourth operation of the user, a fourth display interface is displayed, and the fourth display interface includes the first trajectory of the electronic device.
11. The method according to claim 10, wherein The fourth display interface further includes the position and direction of the electronic device.
12. The method according to claim 10, wherein The true direction of a section of the trajectory with a determined direction in the first trajectory is the first direction, and the direction of the section of the trajectory with a determined direction in the first trajectory in the third display interface after rotation is the second direction, where the second direction is perpendicular to the side where the status bar of the electronic device is located.
13. The method according to any one of claims 1 - 12, wherein The method further includes: Obtaining fifth data information of the electronic device; If the similarity between the fifth data information and the second data information is greater than a first threshold, determining that the position of the electronic device is at the end point of the first trajectory; or, If the similarity between the fifth data information and the second data information is less than or equal to the first threshold, determining that the position of the electronic device is not at the end point of the first trajectory.
14. The method according to any one of claims 1 - 13, wherein The method further includes: In response to a fifth operation of the user, determining that the position of the electronic device is at the end point of the first trajectory.
15. The method according to any one of claims 1 - 14, wherein The first prompt information further includes the distance from the position to the starting point.
16. The method according to any one of claims 1 - 15, wherein The position where the end point of the first trajectory is located is the position of the elevator hall.
17. The method according to any one of claims 1 - 16, wherein The electronic device is communicatively connected to the intelligent driving device, and the first preset condition includes at least one of the following conditions: The gear of the intelligent driving device is in the parking gear; The communication connection between the electronic device and the intelligent driving device is disconnected; The intelligent driving device is in a locked state; An operation of starting to record the trajectory is detected; Or, The distance between the electronic device and the intelligent driving device is greater than a preset distance, where the preset distance is calculated by the electronic device through wireless communication.
18. The method according to any one of claims 1 - 17, wherein The second preset condition includes at least one of the following conditions: The change value of the data of the magnetometer obtained by the electronic device is greater than a second threshold; The absolute value of the change of the barometer data obtained by the electronic device is greater than a third threshold, or the change value of the barometer data obtained by the electronic device within a preset time is greater than a fourth threshold; The change of the data of the inertial sensor obtained by the electronic device conforms to a first law, and the inertial sensor includes at least one of an accelerometer, a gyroscope or a magnetometer; The signal strength of the communication signal of the electronic device conforms to a second law, and the communication signal includes at least one of a Wi-Fi signal, a Bluetooth signal, a cellular signal or a positioning signal; The electronic device can obtain accurate positioning information; or, The floor where the electronic device is located changes.
19. A method for indoor navigation, wherein The method is applied to an electronic device, and the method includes: Determine the first position information of the intelligent driving device, the second position information of the target key point, and the target floor where the intelligent driving device is located; Obtain the third position information of the electronic device; If it is determined that the electronic device is located on the target floor, record the third trajectory of the electronic device according to the second information, where the starting point of the third trajectory is the position corresponding to the third position information, and the second information includes the attitude information and direction information of the electronic device, and / or, position fingerprint information; In response to the user's first operation, display a first display interface, where the first display interface includes first prompt information for indicating the direction from the current position of the electronic device to the intelligent driving device.
20. The method according to claim 19, wherein, The determining that the electronic device is located on the target floor includes: If the difference between the first data and the second data of the barometer is less than a fifth threshold, determine that the electronic device is located on the target floor; where the first data is the value of the barometer currently obtained by the electronic device, and the second data is the value of the barometer recorded by the electronic device when it was on the target floor; or, Determine that the electronic device is located on the target floor according to the obtained floor information.
21. The method according to claim 19 or 20, wherein, Before the determining that the electronic device is located on the target floor, the method further includes: Determine that the difference between the third position information and the second position information is less than or equal to a sixth threshold; or, Determine that the third position information is the position information last obtained by the electronic device.
22. The method according to any one of claims 19-21, wherein, The method further includes: In response to the user's second operation, display a second display interface, where the second display interface includes the first position information, the second position information, the indication information of the current position and direction of the electronic device, and / or, the third trajectory.
23. The method according to any one of claims 19-22, wherein, The recording the third trajectory of the electronic device according to the second information includes: Determine the position, direction, and / or position fingerprint information at the current moment according to the second information and the third position information; Record the third trajectory according to the position, direction, and / or position fingerprint information at the current moment.
24. The method according to any one of claims 19-23, wherein, The first prompt information further includes the distance from the current position to the intelligent driving device.
25. The method according to any one of claims 19-23, wherein, The determining the first position information of the intelligent driving device includes: When a first preset condition is met, obtain first data information, where the first data information includes the attitude information and direction information of the electronic device, and / or, position fingerprint information; Record the first trajectory of the electronic device according to the first data information; the starting point of the first trajectory is the position point determined by the electronic device according to the first data information when the first preset condition is met; When a second preset condition is met, determine the end point of the first trajectory according to second data information, and the end point of the first trajectory and the starting point form the first trajectory of the electronic device; Determine the first position information of the intelligent driving device according to the direction of the first trajectory or the direction of part of the trajectories in the first trajectory and the second position information of the target key point.
26. An electronic device, wherein, Includes: One or more processors; One or more memories; the one or more memories store one or more programs, which, when executed by one or more processors, cause the indoor navigation method according to any one of claims 1-25 to be executed.
27. A chip, wherein, The chip includes a processor and a communication interface, the communication interface is used to receive signals and transmit the signals to the processor, and the processor processes the signals, so that the indoor navigation method according to any one of claims 1-25 is executed.
28. A readable storage medium, wherein, Instructions are stored in the readable storage medium, which, when running on an electronic device, cause the indoor navigation method according to any one of claims 1-25 to be executed.
Citation Information
Cited By
Indoor navigation method and electronic device
EP4692731A1
Indoor navigation method and electronic device
WO2025124535A1