Direction indication method, direction indication device, head-mounted display equipment, mobile terminal and direction indication system
By acquiring and comparing the latitude and longitude of the starting and destination positions, and using the nine-axis inertial measurement unit to determine the user's current direction and generating and displaying direction indication information, the problem that the direction indication on the navigation interface is not related to the direction facing the user is improved, and the accuracy and user experience of direction indication are improved.
Patent Information
- Application Number
- CN202311119125.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2025-02-28
AI Technical Summary
The direction indicated above the navigation interface is not related to the direction faced by the user, which causes users with weak sense of direction to be unable to distinguish the direction indicated by the navigation software, and then get lost, resulting in poor user experience.
By obtaining the latitude and longitude of the starting position and the destination position, the target azimuth angle is determined, and the current azimuth angle of the user is determined by using the nine-axis inertia measurement unit to determine the current azimuth angle of the user's current orientation, generating direction indication information, and displaying it on the navigation interface.
Improve the accuracy of direction indication, allowing users to clearly know the relationship between the direction indicated above the navigation interface and the direction faced by the user, avoiding users with weak sense of direction and improving user experience.
Smart Images

Figure CN119533496A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of positioning and navigation technology, and in particular to a direction indication method, device, head-mounted display device, mobile terminal, system and storage medium. Background Art
[0002] With the development of technology, people can use navigation software to plan routes at any time when traveling, and the travel route is displayed on the navigation interface to guide users. However, the direction indicated on the navigation interface is often not related to the direction the user is facing. For users with a weak sense of direction, they may not be able to distinguish the direction indicated by the navigation software, causing the user to get lost and a poor user experience. Summary of the invention
[0003] The embodiments of the present invention provide a direction indication method, device, head-mounted display device, mobile terminal, system and storage medium, which aim to improve the accuracy of direction indication, avoid users with weak sense of direction from being unable to distinguish the direction indicated by navigation software, and improve user experience.
[0004] In a first aspect, an embodiment of the present invention provides a direction indication method, which is applied to a head mounted display device, wherein the head mounted display device includes a nine-axis inertial measurement unit, and the method includes:
[0005] Get the first longitude and latitude of the starting location and the second longitude and latitude of the destination location;
[0006] Determine a target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine a current azimuth corresponding to a current orientation of the user by using the nine-axis inertial measurement unit;
[0007] Direction indication information is generated according to the target azimuth and the current azimuth, and the direction indication information is displayed.
[0008] The direction indication method provided in the first aspect obtains the first longitude and latitude of the starting position and the second longitude and latitude of the destination position, and determines the target azimuth through the longitude and latitude of the starting position and the destination position, and determines the current azimuth corresponding to the user's current orientation through its own nine-axis inertial measurement unit, and then generates direction indication information according to the target azimuth and the current azimuth, and displays the direction indication information, so that the user can clearly know the relationship between the direction indicated above the navigation interface displayed on the head-mounted display device and the direction facing the user, thereby improving the accuracy of the direction indication and avoiding the situation where users with weak sense of direction cannot distinguish the direction indicated by the navigation software.
[0009] In a second aspect, an embodiment of the present invention provides a direction indication method, which is applied to a mobile terminal, wherein the mobile terminal is communicatively connected to a head-mounted display device, and the head-mounted display device includes a nine-axis inertial measurement unit. The method includes:
[0010] Acquire a first longitude and latitude of a starting position and a second longitude and latitude of a destination position, and determine a target azimuth according to the first longitude and latitude and the second longitude and latitude;
[0011] Acquire a current azimuth angle corresponding to a current orientation of a user sent by the head mounted display device, where the current azimuth angle is determined by the head mounted display device through the nine-axis inertial measurement unit;
[0012] Direction indication information is generated according to the target azimuth and the current azimuth, and the direction indication information is sent to the head mounted display device so that the head mounted display device displays the direction indication information.
[0013] The direction indication method provided in the second aspect determines the target azimuth through the longitude and latitude of the starting position and the destination position, and determines the current azimuth corresponding to the user's current orientation through the nine-axis inertial measurement unit in the head-mounted display device, and then generates direction indication information according to the target azimuth and the current azimuth, and the head-mounted display device displays the direction indication information, so that the user can clearly know the relationship between the direction indicated above the navigation interface displayed by the head-mounted display device and the direction facing the user, thereby improving the accuracy of the direction indication and avoiding the situation where users with weak sense of direction are unable to distinguish the direction indicated by the navigation software.
[0014] In a third aspect, an embodiment of the present invention further provides a direction indication method, which is applied to a mobile terminal, wherein the mobile terminal includes a nine-axis inertial measurement unit, and the method includes:
[0015] Get the first longitude and latitude of the starting location and the second longitude and latitude of the destination location;
[0016] Determine a target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine a current azimuth corresponding to a current orientation of the user by using the nine-axis inertial measurement unit;
[0017] Direction indication information is generated according to the target azimuth and the current azimuth, and the direction indication information is output.
[0018] The direction indication method provided in the third aspect determines the target azimuth through the longitude and latitude of the starting position and the destination position, and determines the current azimuth corresponding to the user's current direction through the nine-axis inertial measurement unit of the mobile terminal itself, and then generates direction indication information based on the target azimuth and the current azimuth, and displays the direction indication information, so that the user can clearly know the relationship between the direction indicated above the navigation interface displayed on the mobile terminal and the direction the user is facing, thereby improving the accuracy of the direction indication and avoiding users with weak sense of direction from being unable to distinguish the direction indicated by the navigation software.
[0019] In a fourth aspect, an embodiment of the present invention further provides a direction indicating device, which is applied to a head mounted display device, wherein the head mounted display device includes a nine-axis inertial measurement unit, and the direction indicating device includes:
[0020] A latitude and longitude acquisition module is configured to acquire a first longitude and latitude of a starting position and a second longitude and latitude of a destination position;
[0021] an azimuth determination module, configured to determine a target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine a current azimuth corresponding to a current orientation of the user through the nine-axis inertial measurement unit;
[0022] An information generating module, configured to generate direction indication information according to the target azimuth and the current azimuth;
[0023] The display module is configured to display the direction indication information.
[0024] In a fifth aspect, an embodiment of the present invention further provides a direction indicating device, which is applied to a mobile terminal, wherein the mobile terminal is communicatively connected to a head mounted display device, wherein the head mounted display device includes a nine-axis inertial measurement unit, and wherein the direction indicating device includes:
[0025] A latitude and longitude acquisition module is configured to acquire a first longitude and latitude of a starting position and a second longitude and latitude of a destination position;
[0026] an azimuth angle determination module, configured to determine a target azimuth angle according to the first longitude and latitude and the second longitude and latitude;
[0027] a receiving module, configured to obtain a current azimuth angle corresponding to a current orientation of a user sent by the head mounted display device, wherein the current azimuth angle is determined by the head mounted display device through the nine-axis inertial measurement unit;
[0028] An information generating module, configured to generate direction indication information according to the target azimuth and the current azimuth;
[0029] The sending module is configured to send the direction indication information to the head mounted display device so that the head mounted display device displays the direction indication information.
[0030] In a sixth aspect, an embodiment of the present invention further provides a direction indicating device, applied to a mobile terminal, wherein the mobile terminal includes a nine-axis inertial measurement unit, and the direction indicating device includes:
[0031] A latitude and longitude acquisition module is configured to acquire a first longitude and latitude of a starting position and a second longitude and latitude of a destination position;
[0032] an azimuth determination module, configured to determine a target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine a current azimuth corresponding to a current orientation of the user through the nine-axis inertial measurement unit;
[0033] An information generating module, configured to generate direction indication information according to the target azimuth and the current azimuth;
[0034] The information output module is configured to output the direction indication information.
[0035] In the seventh aspect, an embodiment of the present invention further provides a head-mounted display device, comprising a display device, a nine-axis inertial measurement unit, a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the display device, the positioning device, the nine-axis inertial measurement unit, the processor and the memory, wherein when the computer program is executed by the processor, the direction indication method as described in the first aspect is realized.
[0036] In the eighth aspect, an embodiment of the present invention also provides a mobile terminal, comprising a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, the direction indication method as described in the second aspect or the third aspect is implemented.
[0037] In a ninth aspect, an embodiment of the present invention further provides a direction indication system, the direction indication system comprising a mobile terminal and a head mounted display device, the mobile terminal being communicatively connected with the head mounted display device, the head mounted display device comprising a nine-axis inertial measurement unit;
[0038] The mobile terminal is used to obtain a first longitude and latitude of a starting position and a second longitude and latitude of a destination position, and determine a target azimuth according to the first longitude and latitude and the second longitude and latitude;
[0039] The head mounted display device is used to determine a current azimuth angle corresponding to a current orientation of a user through the nine-axis inertial measurement unit, and send the current azimuth angle to the mobile terminal;
[0040] The mobile terminal is further used to generate direction indication information according to the target azimuth and the current azimuth, and send the direction indication information to the head mounted display device;
[0041] The head mounted display device is also used to display the direction indication information.
[0042] In the tenth aspect, an embodiment of the present invention further provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the direction indication method as described in the first aspect, the second aspect, the third aspect or the fourth aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0044] Figure 1 is a schematic diagram of a scenario for implementing the direction indication method provided by an embodiment of the present invention;
[0045] Figure 2 is another schematic diagram of a scenario for implementing the direction indication method provided by an embodiment of the present invention;
[0046] Figure 3 is a flow chart of a direction indication method provided by an embodiment of the present invention;
[0047] Figure 4 is a flow chart of another direction indication method provided by an embodiment of the present invention;
[0048] Figure 5 is a flow chart of another direction indication method provided by an embodiment of the present invention;
[0049] Figure 6 is a schematic block diagram of the structure of a direction indicating device provided by an embodiment of the present invention;
[0050] Figure 7 is a schematic block diagram of the structure of another direction indicating device provided by an embodiment of the present invention;
[0051] Figure 8 is a schematic block diagram of the structure of another direction indicating device provided by an embodiment of the present invention;
[0052] Fig. 9 is a schematic structural block diagram of a head mounted display device provided by an embodiment of the present invention;
[0053] Fig.10 is a schematic block diagram of the structure of a mobile terminal provided by an embodiment of the present invention;
[0054] Fig.11 is a schematic block diagram of the structure of another mobile terminal provided by an embodiment of the present invention;
[0055] Fig.12 The invention is a schematic block diagram of a direction indication system provided by an embodiment of the invention. DETAILED DESCRIPTION
[0056] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0058] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0059] With the development of technology, people can use navigation software to plan routes at any time when traveling, and the travel route is displayed on the navigation interface to guide users. However, the direction indicated on the navigation interface is often not related to the direction the user is facing. For users with a weak sense of direction, they may not be able to distinguish the direction indicated by the navigation software, causing the user to get lost and a poor user experience.
[0060] To solve the above problems, the embodiments of the present invention provide a direction indication method, device, head-mounted display device, mobile terminal, system and storage medium. The head-mounted display device obtains the first longitude and latitude of the starting position and the second longitude and latitude of the destination position, and determines the target azimuth through the longitude and latitude of the starting position and the destination position, and determines the current azimuth corresponding to the user's current orientation through its own nine-axis inertial measurement unit, and then generates direction indication information according to the target azimuth and the current azimuth, and displays the direction indication information, so that the user can clearly know the relationship between the direction indicated on the navigation interface displayed by the head-mounted display device and the direction the user is facing, thereby improving the accuracy of the direction indication and avoiding users with weak sense of direction from being unable to distinguish the direction indicated by the navigation software.
[0061] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0062] See also Figure 1 , Figure 1 It is a schematic diagram of a scenario for implementing the direction indication method provided by an embodiment of the present invention.
[0063] like Figure 1 As shown, the head mounted display device 100 is connected in communication with the mobile terminal 200. The head mounted display device 100 includes a nine-axis inertial measurement unit (IMU), which includes a three-axis accelerometer, a three-axis gyroscope, and a three-axis magnetometer. The head mounted display device 100 and the mobile terminal 200 can establish a communication connection through Bluetooth or mobile wireless interconnection (wireless fidelity, wifi), and the head mounted display device 100 can include augmented reality (AR) glasses, AR helmets, mixed reality (MR) glasses, and MR helmets. The mobile terminal 200 can include a mobile phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, a wearable device, and the like.
[0064] When executing the direction indication method provided by the embodiment of the present invention, the mobile terminal 200 obtains the first longitude and latitude of the starting position and the second longitude and latitude of the destination position, and determines the target azimuth according to the first longitude and latitude and the second longitude and latitude; the head-mounted display device 100 determines the current azimuth corresponding to the current orientation of the user through its own nine-axis inertial measurement unit, and sends the current azimuth to the mobile terminal 200; when the mobile terminal 200 obtains the current azimuth sent by the head-mounted display device, it generates direction indication information according to the target azimuth and the current azimuth, and sends the direction indication information to the head-mounted display device 100; the head-mounted display device 100 displays the direction indication information.
[0065] In some embodiments, the mobile terminal 200 includes a nine-axis inertial measurement unit. When executing the direction indication method provided in the embodiment of the present invention, the mobile terminal 200 obtains the first longitude and latitude of the starting position and the second longitude and latitude of the destination position, and determines the target azimuth according to the first longitude and latitude and the second longitude and latitude; determines the current azimuth corresponding to the user's current orientation through the nine-axis inertial measurement unit of the mobile terminal 200 itself; generates direction indication information according to the target azimuth and the current azimuth, and displays the direction indication information. This embodiment does not require the use of other devices, and direction indication can be achieved only through the mobile terminal 200, which improves the convenience of implementing direction indication, and the user can clearly know the relationship between the direction indicated on the navigation interface and the direction the user is facing, which improves the accuracy of the direction indication and avoids the inability of users with weak sense of direction to distinguish the direction indicated by the navigation software.
[0066] In some embodiments, the head mounted display device 100 obtains a first longitude and latitude of a starting position and a second longitude and latitude of a destination position; determines a target azimuth according to the first longitude and latitude and the second longitude and latitude, determines a current azimuth corresponding to the user's current orientation through a nine-axis inertial measurement unit; generates direction indication information according to the target azimuth and the current azimuth, and displays the direction indication information. For example, Figure 2 As shown, the head-mounted display device 100 is an AR glasses, which are worn on the head of the user 101, so that the user 101 can clearly know the relationship between the direction indicated above the navigation interface and the direction the user is facing through the direction indication information displayed by the AR glasses.
[0067] The following will be combined Figure 1 and Figure 2 The direction indication method provided by the embodiment of the present invention is described in detail in the scenario in FIG. Figure 1 and Figure 2 The scenario is only used to explain the direction indication method provided by the embodiment of the present invention, but does not constitute a limitation on the application scenario of the direction indication method provided by the embodiment of the present invention.
[0068] See also Figure 3 , Figure 3 It is a flow chart of a direction indication method provided by an embodiment of the present invention.
[0069] The direction indication method can be applied to a head-mounted display device to improve the accuracy of direction indication, avoid users with a weak sense of direction from being unable to discern the direction indicated by the navigation software, and improve the user experience.
[0070] like Figure 3 As shown, the direction indication method includes steps S101 to S103.
[0071] Step S101, obtaining a first longitude and latitude of a starting position and a second longitude and latitude of a destination position.
[0072] In this embodiment, the starting position and the destination position can be selected or input by the user in the map based on the actual situation, and the embodiment of the present invention does not specifically limit this. The first longitude and latitude of the starting position and the second longitude and latitude of the destination position can be determined by the built-in positioning device of the head-mounted display device, or can be determined by the mobile terminal 200 through its own positioning device and then sent to the head-mounted display device 100, and the embodiment of the present invention does not specifically limit this. Among them, the positioning device can be the Beidou satellite navigation system, the Global Positioning System (GPS), the Greiner navigation system or the Galileo navigation system, etc.
[0073] Step S102: determine the target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine the current azimuth corresponding to the current orientation of the user through a nine-axis inertial measurement unit.
[0074] In this embodiment, the coordinate system in which the target azimuth is located is the same as the coordinate system in which the current azimuth corresponding to the user's current orientation is located. For example, the coordinate systems in which the target azimuth and the current azimuth corresponding to the user's current orientation are both based on the true north direction, with the clockwise direction as a positive value. The current azimuth corresponding to the user's current orientation is determined by the head-mounted display device through its own nine-axis inertial measurement unit. For example, the head-mounted display device is AR glasses. After the user wears the AR glasses, the orientation of the AR glasses is fixed. The azimuth determined by the AR glasses through its own nine-axis inertial measurement unit is the current azimuth corresponding to the user's current orientation, thereby avoiding changes in the user's current orientation due to the user's movement, which affects the accuracy of the direction indication.
[0075] In some embodiments, determining the target azimuth according to the first longitude and longitude and the second longitude and longitude may include: determining the longitude difference between the starting position and the destination position according to the first longitude and longitude and the second longitude and longitude; determining the target azimuth according to the first longitude and longitude, the second longitude and longitude and the longitude difference.
[0076] For example, let the first longitude and latitude of the starting position be (current_lon, current_lat), and the second longitude and latitude of the target position be (destination_lon, destination_lat), that is, the first longitude and latitude of the starting position are current_lon and current_lat, and the second longitude and latitude of the target position are destination_lon and destination_lat. Convert the first longitude and longitude to radians to obtain the longitude radian value α1=current_lon*π / 180 and the latitude radian value β1=current_lat*π / 180 of the starting position, and convert the second longitude and longitude to radians to obtain the longitude radian value α2=destination_lon*π / 180 and the latitude radian value β1=destination_lat*π / 180 of the target position. Then determine the longitude difference Δα=α1-α2 between the starting position and the destination position, and use the azimuth calculation formula atan2(sin(Δα)*cosβ2, cosβ1*sinβ2-sinβ1*cosβ2*cos(Δα)) to calculate the target azimuth based on the latitude radian value of the starting position, the latitude radian value of the destination position, and the longitude difference between the starting position and the destination position. Δα is the longitude difference between the starting position and the destination position, β1 is the latitude radian value of the starting position, and β2 is the latitude radian value of the destination position.
[0077] Step S103: Generate direction indication information according to the target azimuth and the current azimuth, and display the direction indication information.
[0078] In this embodiment, the direction indication information is used to indicate the direction and angle that the user wants to turn relative to the current position. For example, the direction indication information may be to turn 45° to the left, or to turn 25° to the right, etc. In this embodiment, the direction indication information is generated by the target azimuth and the current azimuth, and the direction indication information is displayed by the head-mounted display device, so that the user can clearly know the relationship between the direction indicated on the navigation interface and the direction the user is facing, thereby improving the accuracy of the direction indication and avoiding the situation where users with a weak sense of direction cannot distinguish the direction indicated by the navigation software.
[0079] In some embodiments, generating direction indication information according to the target azimuth and the current azimuth may include: determining direction deviation information according to the target azimuth and the current azimuth; and generating corresponding direction indication information according to the direction deviation information. Wherein, determining direction deviation information according to the target azimuth and the current azimuth may include: subtracting the current azimuth from the target azimuth to obtain the azimuth difference. By generating corresponding direction indication information through direction deviation information, the direction indication information can accurately feedback the offset between the target azimuth and the current azimuth, making it easier for users to adjust the direction by themselves, and avoiding users with weak sense of direction from being unable to distinguish the direction indicated by the navigation software.
[0080] In some embodiments, the direction deviation information may be an azimuth difference. According to the direction deviation information, generating corresponding direction indication information may include: when the azimuth difference is greater than zero, generating first direction indication information corresponding to the azimuth difference, the first direction indication information is used to instruct the user to rotate a first angle along a first direction relative to the current position, and the value of the first angle is equal to the azimuth difference; when the azimuth difference is less than zero, generating second direction indication information corresponding to the azimuth difference, the second direction indication information is used to instruct the user to rotate a second angle along a second direction relative to the current position, and the value of the second angle is equal to the absolute value of the azimuth difference; when the azimuth difference is equal to zero, generating third direction indication information corresponding to the azimuth difference, the third direction indication information is used to indicate that the angle to be rotated by the user relative to the current position is zero.
[0081] For example, if the azimuth difference is zero, it means that the user's current direction is facing the direction corresponding to the target azimuth. At this time, the direction indication information generated may be "the user's direction is consistent with the target direction", and the user can move according to the current direction. If the azimuth difference is -30°, it means that the direction corresponding to the target azimuth is located to the left of the user's current direction. At this time, the direction indication information generated may be "turn 30° left along the current direction". After the user turns 30° to the left along the current direction, the user's direction is consistent with the target direction. If the azimuth difference is 30°, it means that the direction corresponding to the target azimuth is located to the right of the user's current direction. At this time, the direction indication information generated may be "turn 30° right along the current direction". After the user turns 30° to the right along the current direction, the user's direction is consistent with the target direction.
[0082] In some embodiments, a navigation path is generated based on the first longitude and latitude and the second longitude and latitude, and the navigation path is displayed while the direction indication information is displayed. In this embodiment, by generating a navigation path and displaying the navigation path while the direction indication information is displayed by the head mounted display device, the user can accurately move along the navigation path according to the direction indication information, thereby improving the accuracy of navigation.
[0083] See also Figure 4 , Figure 4 This is a flow chart of another direction indication method provided by an embodiment of the present invention. The direction indication method is applied to a mobile terminal to improve the accuracy of direction indication, avoid users with a weak sense of direction from being unable to distinguish the direction indicated by the navigation software, and improve user experience.
[0084] like Figure 4 As shown, the direction indication method includes steps S201 to S203.
[0085] Step S201, obtaining a first longitude and latitude of a starting position and a second longitude and latitude of a destination position, and determining a target azimuth according to the first longitude and latitude and the second longitude and latitude.
[0086] In this embodiment, the starting position and the destination position can be selected or input by the user in the map based on actual conditions, and the embodiment of the present invention does not specifically limit this. The first longitude and latitude of the starting position and the second longitude and latitude of the destination position can be determined by a positioning device built into the mobile terminal. Among them, the positioning device can be a Beidou satellite navigation system, a global positioning system (GPS), a Grenades navigation system or a Galileo navigation system, etc.
[0087] In some embodiments, determining the target azimuth according to the first longitude and longitude and the second longitude and longitude may include: determining the longitude difference between the starting position and the destination position according to the first longitude and longitude and the second longitude and longitude; determining the target azimuth according to the first longitude and longitude, the second longitude and longitude and the longitude difference. It should be noted that the specific implementation method of determining the target azimuth according to the first longitude and longitude, the second longitude and longitude and the longitude difference can refer to the corresponding process in the aforementioned embodiment, which is not repeated here. Among them, the coordinate system in which the target azimuth is located is a coordinate system with due north as the reference and clockwise as positive values.
[0088] Step S202: Obtain a current azimuth angle corresponding to the user's current orientation sent by the head mounted display device.
[0089] In this embodiment, the coordinate system of the current azimuth corresponding to the current orientation is a coordinate system with the true north direction as the reference and the clockwise direction as the positive value. The head-mounted display device includes a nine-axis inertial measurement unit, and the current azimuth corresponding to the user's current orientation is determined by the head-mounted display device through its own nine-axis inertial measurement unit. For example, the head-mounted display device is AR glasses. After the user wears the AR glasses, the orientation of the AR glasses is fixed. The azimuth determined by the AR glasses through its own nine-axis inertial measurement unit is the current azimuth corresponding to the user's current orientation, so as to avoid the user's current orientation changing due to the user's movement and affecting the accuracy of the direction indication.
[0090] In some embodiments, obtaining a current azimuth corresponding to a user's current orientation sent by a head-mounted display device may include: a mobile terminal sends a query request for the user's current orientation to the head-mounted display device; when the head-mounted display device receives the query request, the head-mounted display device determines the current azimuth corresponding to the user's current orientation through its own nine-axis inertial measurement unit, and sends the current azimuth to the mobile terminal; the mobile terminal obtains the current azimuth corresponding to the user's current orientation returned by the head-mounted display device based on the query request.
[0091] Step S203: Generate direction indication information according to the target azimuth and the current azimuth, and send the direction indication information to the head mounted display device so that the head mounted display device displays the direction indication information.
[0092] In this embodiment, the direction indication information is used to indicate the direction and angle that the user wants to turn relative to the current position. For example, the direction indication information may be 45° to the left, or 25° to the right. The mobile terminal generates the direction indication information through the target azimuth and the current azimuth, and the head-mounted display device displays the direction indication information, so that the user can clearly know the relationship between the direction indicated on the navigation interface and the direction the user is facing, thereby improving the accuracy of the direction indication and preventing users with a weak sense of direction from being unable to distinguish the direction indicated by the navigation software.
[0093] In some embodiments, generating direction indication information according to the target azimuth and the current azimuth may include: determining direction deviation information according to the target azimuth and the current azimuth; and generating corresponding direction indication information according to the direction deviation information. Wherein, determining direction deviation information according to the target azimuth and the current azimuth may include: subtracting the current azimuth from the target azimuth to obtain the azimuth difference. By generating corresponding direction indication information through direction deviation information, the direction indication information can accurately feedback the offset between the target azimuth and the current azimuth, making it easier for users to adjust the direction by themselves, and avoiding users with weak sense of direction from being unable to distinguish the direction indicated by the navigation software.
[0094] In some embodiments, the direction deviation information may be an azimuth difference. According to the direction deviation information, generating corresponding direction indication information may include: when the azimuth difference is greater than zero, generating first direction indication information corresponding to the azimuth difference, the first direction indication information is used to instruct the user to rotate a first angle along a first direction relative to the current position, and the value of the first angle is equal to the azimuth difference; when the azimuth difference is less than zero, generating second direction indication information corresponding to the azimuth difference, the second direction indication information is used to instruct the user to rotate a second angle along a second direction relative to the current position, and the value of the second angle is equal to the absolute value of the azimuth difference; when the azimuth difference is equal to zero, generating third direction indication information corresponding to the azimuth difference, the third direction indication information is used to indicate that the angle to be rotated by the user relative to the current position is zero.
[0095] In some embodiments, a navigation path is generated based on the first longitude and latitude and the second longitude and latitude; the navigation path is sent to a head mounted display device so that the head mounted display device displays the navigation path while displaying the direction indication information. In this embodiment, the head mounted display device displays the navigation path while displaying the direction indication information, so that the user can accurately move along the navigation path according to the direction indication information, thereby improving the accuracy of navigation.
[0096] See also Figure 5 , Figure 5 This is a flow chart of another direction indication method provided by an embodiment of the present invention. The direction indication method is applied to a mobile terminal to improve the accuracy of direction indication, avoid users with a weak sense of direction from being unable to distinguish the direction indicated by the navigation software, and improve user experience.
[0097] like Figure 5 As shown, the direction indication method includes steps S301 to S303.
[0098] Step S301, obtaining the first longitude and latitude of the starting position and the second longitude and latitude of the destination position.
[0099] In this embodiment, the starting position and the destination position can be selected or input by the user in the map based on actual conditions, and the embodiment of the present invention does not specifically limit this. The first longitude and latitude of the starting position and the second longitude and latitude of the destination position can be determined by a positioning device built into the mobile terminal. Among them, the positioning device can be a Beidou satellite navigation system, a global positioning system (GPS), a Grenades navigation system or a Galileo navigation system, etc.
[0100] Step S302: determine the target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine the current azimuth corresponding to the current orientation of the user through a nine-axis inertial measurement unit.
[0101] In this embodiment, the mobile terminal can determine the current azimuth corresponding to the user's current orientation through its own nine-axis inertial measurement unit without the need for external equipment, thereby improving the convenience of implementing direction indication.
[0102] In some embodiments, determining the target azimuth according to the first longitude and longitude and the second longitude and longitude may include: determining the longitude difference between the starting position and the destination position according to the first longitude and longitude and the second longitude and longitude; determining the target azimuth according to the first longitude and longitude, the second longitude and longitude and the longitude difference. It should be noted that the specific implementation method of determining the target azimuth according to the first longitude and longitude, the second longitude and longitude and the longitude difference can refer to the corresponding process in the aforementioned embodiment, which is not repeated here. Among them, the coordinate system in which the target azimuth is located is a coordinate system with due north as the reference and clockwise as positive values.
[0103] Step S303: Generate direction indication information according to the target azimuth and the current azimuth, and output the direction indication information.
[0104] In this embodiment, the direction indication information is used to indicate the direction and angle that the user wants to turn relative to the current position. For example, the direction indication information may be to turn 45° to the left, or to turn 25° to the right, etc. After generating the direction indication information, the mobile terminal may directly display and / or broadcast the direction indication information, so that the user can clearly know the relationship between the direction indicated above the navigation interface and the direction the user is facing, thereby improving the accuracy of the direction indication and avoiding the situation where users with a weak sense of direction cannot distinguish the direction indicated by the navigation software. It should be noted that the specific implementation method of generating the direction indication information according to the target azimuth and the current azimuth can refer to the corresponding process in the aforementioned embodiment, which will not be described in detail here.
[0105] In some embodiments, the mobile terminal is in communication with the head mounted display device, and outputting the direction indication information may include: sending the direction indication information to the head mounted display device, so that the head mounted display device displays the direction indication information. In this embodiment, the head mounted display device displays the direction indication information, so that the user can read the direction indication information more conveniently, thereby improving the user experience.
[0106] In some embodiments, generating direction indication information according to the target azimuth and the current azimuth may include: determining direction deviation information according to the target azimuth and the current azimuth; and generating corresponding direction indication information according to the direction deviation information. Wherein, determining direction deviation information according to the target azimuth and the current azimuth may include: subtracting the current azimuth from the target azimuth to obtain the azimuth difference. By generating corresponding direction indication information through direction deviation information, the direction indication information can accurately feedback the offset between the target azimuth and the current azimuth, making it easier for users to adjust the direction by themselves, and avoiding users with weak sense of direction from being unable to distinguish the direction indicated by the navigation software.
[0107] In some embodiments, the direction deviation information may be an azimuth difference. According to the direction deviation information, generating corresponding direction indication information may include: when the azimuth difference is greater than zero, generating first direction indication information corresponding to the azimuth difference, the first direction indication information is used to instruct the user to rotate a first angle along a first direction relative to the current position, and the value of the first angle is equal to the azimuth difference; when the azimuth difference is less than zero, generating second direction indication information corresponding to the azimuth difference, the second direction indication information is used to instruct the user to rotate a second angle along a second direction relative to the current position, and the value of the second angle is equal to the absolute value of the azimuth difference; when the azimuth difference is equal to zero, generating third direction indication information corresponding to the azimuth difference, the third direction indication information is used to indicate that the angle to be rotated by the user relative to the current position is zero.
[0108] See also Figure 6 , Figure 6 The structure schematic block diagram of a direction indicating device provided by an embodiment of the present invention is shown in FIG. The direction indicating device can be applied to a head mounted display device, which includes a nine-axis inertial measurement unit.
[0109] like Figure 6 As shown, the direction indicating device 300 includes:
[0110] The longitude and latitude acquisition module 310 is configured to acquire the first longitude and latitude of the starting position and the second longitude and latitude of the destination position;
[0111] The azimuth determination module 320 is configured to determine the target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine the current azimuth corresponding to the current orientation of the user through the nine-axis inertial measurement unit;
[0112] The information generating module 330 is configured to generate direction indication information according to the target azimuth and the current azimuth;
[0113] The display module 340 is configured to display the direction indication information.
[0114] In some embodiments, the information generation module 330 is further configured to:
[0115] Determining direction deviation information according to the target azimuth and the current azimuth;
[0116] According to the direction deviation information, corresponding direction indication information is generated.
[0117] In some embodiments, the azimuth angle determination module 320 is further configured to:
[0118] Determining a longitude difference between the starting position and the destination position according to the first longitude and longitude and the second longitude and longitude;
[0119] The target azimuth is determined according to the first longitude and latitude, the second longitude and longitude and the longitude difference.
[0120] In some embodiments, the direction indicating device 300 further includes:
[0121] a navigation path generating module, configured to generate a navigation path according to the first longitude and latitude and the second longitude and latitude;
[0122] The display module 340 is further configured to display the navigation path while displaying the direction indication information.
[0123] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the direction indication device 300 described above can refer to the corresponding process in the aforementioned direction indication method embodiment, and will not be repeated here.
[0124] See also Figure 7 , Figure 7 1 is a schematic block diagram of another direction indicating device provided by an embodiment of the present invention. The direction indicating device can be applied to a mobile terminal, the mobile terminal is communicatively connected with a head mounted display device, and the head mounted display device includes a nine-axis inertial measurement unit.
[0125] like Figure 7 As shown, the direction indicating device 400 includes:
[0126] The longitude and latitude acquisition module 410 is configured to acquire a first longitude and latitude of a starting position and a second longitude and latitude of a destination position;
[0127] An azimuth angle determination module 420 is configured to determine a target azimuth angle according to the first longitude and latitude and the second longitude and latitude;
[0128] The receiving module 430 is configured to obtain a current azimuth angle corresponding to a current orientation of a user sent by the head mounted display device, where the current azimuth angle is determined by the head mounted display device through the nine-axis inertial measurement unit;
[0129] An information generating module 440 is configured to generate direction indication information according to the target azimuth and the current azimuth;
[0130] The sending module 450 is configured to send the direction indication information to the head mounted display device so that the head mounted display device displays the direction indication information.
[0131] In some embodiments, the information generation module 440 is configured to:
[0132] Determining direction deviation information according to the target azimuth and the current azimuth;
[0133] According to the direction deviation information, corresponding direction indication information is generated.
[0134] In some embodiments, the azimuth angle determination module 420 is further configured to:
[0135] Determining a longitude difference between the starting position and the destination position according to the first longitude and longitude and the second longitude and longitude;
[0136] The target azimuth is determined according to the first longitude and latitude, the second longitude and longitude and the longitude difference.
[0137] In some embodiments, the direction indicating device 400 further includes:
[0138] a navigation path generating module, configured to generate a navigation path according to the first longitude and latitude and the second longitude and latitude;
[0139] The sending module 450 is further configured to send the navigation path to the head mounted display device, so that the head mounted display device displays the navigation path while displaying the direction indication information.
[0140] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the direction indication device 400 described above can refer to the corresponding process in the aforementioned direction indication method embodiment, and will not be repeated here.
[0141] See also Figure 8 , Figure 8 1 is a schematic block diagram of another direction indicating device provided by an embodiment of the present invention. The direction indicating device can be applied to a mobile terminal, and the mobile terminal includes a nine-axis inertial measurement unit.
[0142] like Figure 8 As shown, the direction indicating device 500 includes:
[0143] The longitude and latitude acquisition module 510 is configured to acquire the first longitude and latitude of the starting position and the second longitude and latitude of the destination position;
[0144] The azimuth determination module 520 is configured to determine the target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine the current azimuth corresponding to the current orientation of the user through the nine-axis inertial measurement unit;
[0145] An information generating module 530 is configured to generate direction indication information according to the target azimuth and the current azimuth;
[0146] The information output module 540 is configured to output the direction indication information.
[0147] In some embodiments, the information generation module 530 is configured to:
[0148] Determining direction deviation information according to the target azimuth and the current azimuth;
[0149] According to the direction deviation information, corresponding direction indication information is generated.
[0150] In some embodiments, the azimuth angle determination module 520 is further configured to:
[0151] Determining a longitude difference between the starting position and the destination position according to the first longitude and longitude and the second longitude and longitude;
[0152] The target azimuth is determined according to the first longitude and latitude, the second longitude and longitude and the longitude difference.
[0153] In some embodiments, the direction indicating device 500 further includes:
[0154] a navigation path generating module, configured to generate a navigation path according to the first longitude and latitude and the second longitude and latitude;
[0155] The information output module 540 is further configured to output the navigation path while outputting the direction indication information.
[0156] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the direction indication device 500 described above can refer to the corresponding process in the aforementioned direction indication method embodiment, and will not be repeated here.
[0157] See also Fig. 9 , Fig. 9 It is a schematic block diagram of the structure of a head mounted display device provided by an embodiment of the present invention.
[0158] like Fig. 9 As shown, the head mounted display device 100 includes a display device 110, a nine-axis inertial measurement unit 120, a processor 130 and a memory 140, and the display device 110, the nine-axis inertial measurement unit 120, the processor 130 and the memory 140 are connected via a bus 150. The bus is, for example, an I2C (Inter-integrated Circuit) bus.
[0159] Specifically, the processor 130 is used to provide computing and control capabilities to support the operation of the entire head mounted display device 100. The processor 130 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0160] Specifically, the memory 140 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.
[0161] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a partial structure related to the embodiment of the present invention, and does not constitute a limitation on the head-mounted display device to which the embodiment of the present invention is applied. The specific head-mounted display device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0162] The processor 130 is used to run the computer program stored in the memory 140, and implement the following steps when executing the computer program:
[0163] Get the first longitude and latitude of the starting location and the second longitude and latitude of the destination location;
[0164] Determine the target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine the current azimuth corresponding to the current orientation of the user by the nine-axis inertial measurement unit 120;
[0165] Direction indication information is generated according to the target azimuth and the current azimuth, and the direction indication information is displayed through the display device 110.
[0166] In some embodiments, when the processor 130 generates the direction indication information according to the target azimuth and the current azimuth, it is configured to implement:
[0167] Determining direction deviation information according to the target azimuth and the current azimuth;
[0168] According to the direction deviation information, corresponding direction indication information is generated.
[0169] In some embodiments, when the processor 130 determines the target azimuth according to the first longitude and latitude and the second longitude and latitude, it is configured to implement:
[0170] Determining a longitude difference between the starting position and the destination position according to the first longitude and longitude and the second longitude and longitude;
[0171] The target azimuth is determined according to the first longitude and latitude, the second longitude and longitude and the longitude difference.
[0172] In some embodiments, the processor 130 is further configured to implement the following steps:
[0173] A navigation path is generated according to the first longitude and latitude and the second longitude and latitude, and the navigation path is displayed on the display device 110 while the direction indication information is displayed on the display device 110 .
[0174] In some embodiments, the head mounted display device 100 further includes a positioning device, and the processor 130, when acquiring the first longitude and latitude of the starting position and the second longitude and latitude of the destination position, is used to implement:
[0175] The first longitude and latitude of the starting position and the second longitude and latitude of the destination position are acquired through the positioning device.
[0176] It should be noted that technicians in the relevant field can clearly understand that for the convenience and brevity of description, the specific working process of the head-mounted display device described above can refer to the corresponding process in the aforementioned direction indication method embodiment, and will not be repeated here.
[0177] See also Fig.10 , Fig.10 It is a schematic block diagram of the structure of a mobile terminal provided by an embodiment of the present invention.
[0178] like Fig.10 As shown, the mobile terminal 200 includes a processor 210 and a memory 220, and the processor 210 and the memory 220 are connected via a bus 230, such as an I2C (Inter-integrated Circuit) bus.
[0179] Specifically, the processor 210 is used to provide computing and control capabilities to support the operation of the entire mobile terminal. The processor 210 can be a central processing unit (CPU), and the processor 210 can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0180] Specifically, the memory 220 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.
[0181] Those skilled in the art will understand that Fig.10 The structure shown in the figure is merely a block diagram of a partial structure related to the embodiment of the present invention, and does not constitute a limitation on the mobile terminal to which the embodiment of the present invention is applied. The specific mobile terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0182] The processor 210 is used to run the computer program stored in the memory 220, and implement the following steps when executing the computer program:
[0183] Acquire a first longitude and latitude of a starting position and a second longitude and latitude of a destination position, and determine a target azimuth according to the first longitude and latitude and the second longitude and latitude;
[0184] Acquire a current azimuth angle corresponding to a current orientation of a user sent by the head mounted display device, where the current azimuth angle is determined by the head mounted display device through the nine-axis inertial measurement unit;
[0185] Direction indication information is generated according to the target azimuth and the current azimuth, and the direction indication information is sent to the head mounted display device so that the head mounted display device displays the direction indication information.
[0186] In some embodiments, when the processor 210 generates the direction indication information according to the target azimuth and the current azimuth, it is configured to implement:
[0187] Determining direction deviation information according to the target azimuth and the current azimuth;
[0188] According to the direction deviation information, corresponding direction indication information is generated.
[0189] In some embodiments, when determining the target azimuth according to the first longitude and latitude and the second longitude and latitude, the processor 210 is configured to implement:
[0190] Determining a longitude difference between the starting position and the destination position according to the first longitude and longitude and the second longitude and longitude;
[0191] The target azimuth is determined according to the first longitude and latitude, the second longitude and longitude and the longitude difference.
[0192] In some embodiments, the processor 210 is further configured to implement the following steps:
[0193] Generate a navigation path according to the first longitude and latitude and the second longitude and latitude;
[0194] The navigation path is sent to the head mounted display device, so that the head mounted display device displays the navigation path while displaying the direction indication information.
[0195] In some embodiments, Fig.11 As shown, the mobile terminal 200 further includes a nine-axis inertial measurement unit 240, and the processor 210 is further configured to implement the following steps:
[0196] Get the first longitude and latitude of the starting location and the second longitude and latitude of the destination location;
[0197] Determine the target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine the current azimuth corresponding to the current orientation of the user by the nine-axis inertial measurement unit 240;
[0198] Direction indication information is generated according to the target azimuth and the current azimuth, and the direction indication information is output.
[0199] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the mobile terminal described above can refer to the corresponding process in the aforementioned direction indication method embodiment, and will not be repeated here.
[0200] See also Fig.12 , Fig.12 The figure is a schematic block diagram of the structure of a direction indication system provided by an embodiment of the present invention.
[0201] like Fig.12 As shown, the direction indication system 10 includes a head mounted display device 100 and a mobile terminal 200, wherein the mobile terminal 200 is in communication connection with the head mounted display device 100, and the head mounted display device 100 includes a nine-axis inertial measurement unit;
[0202] The mobile terminal 200 is used to obtain a first longitude and latitude of a starting position and a second longitude and latitude of a destination position, and determine a target azimuth according to the first longitude and latitude and the second longitude and latitude;
[0203] The head mounted display device 100 is used to determine a current azimuth angle corresponding to a current orientation of a user through the nine-axis inertial measurement unit, and send the current azimuth angle to the mobile terminal 200;
[0204] The mobile terminal 200 is further configured to generate direction indication information according to the target azimuth and the current azimuth, and send the direction indication information to the head mounted display device;
[0205] The head mounted display device 100 is also used to display the direction indication information.
[0206] In some embodiments, the mobile terminal 200 is further configured to:
[0207] Determining direction deviation information according to the target azimuth and the current azimuth;
[0208] According to the direction deviation information, corresponding direction indication information is generated.
[0209] In some embodiments, the mobile terminal 200 is further configured to:
[0210] Determining a longitude difference between the starting position and the destination position according to the first longitude and longitude and the second longitude and longitude;
[0211] The target azimuth is determined according to the first longitude and latitude, the second longitude and longitude and the longitude difference.
[0212] In some embodiments, the mobile terminal 200 is further configured to:
[0213] Generate a navigation path according to the first longitude and latitude and the second longitude and latitude, and send the navigation path to the head mounted display device 100;
[0214] The head mounted display device 100 is further configured to display the navigation path while displaying the direction indication information.
[0215] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the direction indication system described above can refer to the corresponding process in the aforementioned direction indication method embodiment, and will not be repeated here.
[0216] An embodiment of the present invention further provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any direction indication method provided in the description of the embodiment of the present invention.
[0217] The storage medium may be an internal storage unit of the mobile terminal described in the foregoing embodiments, such as a hard disk or memory of the mobile terminal. The storage medium may also be an external storage device of the mobile terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the mobile terminal.
[0218] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware embodiment, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0219] It should be understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.
[0220] The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A direction indication method, characterized in that: Applied to a head mounted display device, the head mounted display device includes a nine-axis inertial measurement unit, and the method includes: Get the first longitude and latitude of the starting location and the second longitude and latitude of the destination location; Determine a target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine a current azimuth corresponding to a current orientation of the user by using the nine-axis inertial measurement unit; Direction indication information is generated according to the target azimuth and the current azimuth, and the direction indication information is displayed.
2. The direction indication method according to claim 1, characterized in that: The generating direction indication information according to the target azimuth and the current azimuth includes: Determining direction deviation information according to the target azimuth and the current azimuth; According to the direction deviation information, corresponding direction indication information is generated.
3. The direction indication method according to claim 1, characterized in that: The step of determining the target azimuth according to the first longitude and longitude and the second longitude and longitude includes: Determining a longitude difference between the starting position and the destination position according to the first longitude and longitude and the second longitude and longitude; The target azimuth is determined according to the first longitude and latitude, the second longitude and longitude and the longitude difference.
4. The direction indication method according to claim 1, characterized in that: The method further comprises: A navigation path is generated according to the first longitude and latitude and the second longitude and latitude, and the navigation path is displayed while the direction indication information is displayed.
5. A direction indication method, characterized in that: Applied to a mobile terminal, the mobile terminal is communicatively connected with a head mounted display device, the head mounted display device includes a nine-axis inertial measurement unit, and the method includes: Acquire a first longitude and latitude of a starting position and a second longitude and latitude of a destination position, and determine a target azimuth according to the first longitude and latitude and the second longitude and latitude; Acquire a current azimuth angle corresponding to a current orientation of a user sent by the head mounted display device, where the current azimuth angle is determined by the head mounted display device through the nine-axis inertial measurement unit; Direction indication information is generated according to the target azimuth and the current azimuth, and the direction indication information is sent to the head mounted display device so that the head mounted display device displays the direction indication information.
6. A direction indication method, characterized in that: Applied to a mobile terminal, the mobile terminal includes a nine-axis inertial measurement unit, and the method includes: Get the first longitude and latitude of the starting location and the second longitude and latitude of the destination location; Determine a target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine a current azimuth corresponding to a current orientation of the user by using the nine-axis inertial measurement unit; Direction indication information is generated according to the target azimuth and the current azimuth, and the direction indication information is output.
7. A direction indicating device, characterized in that: Applied to a head mounted display device, the head mounted display device comprises a nine-axis inertial measurement unit, and the direction indicating device comprises: A latitude and longitude acquisition module is configured to acquire a first longitude and latitude of a starting position and a second longitude and latitude of a destination position; an azimuth determination module, configured to determine a target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine a current azimuth corresponding to a current orientation of the user through the nine-axis inertial measurement unit; An information generating module, configured to generate direction indication information according to the target azimuth and the current azimuth; The display module is configured to display the direction indication information.
8. A direction indicating device, characterized in that: Applied to a mobile terminal, the mobile terminal is communicatively connected with a head mounted display device, the head mounted display device includes a nine-axis inertial measurement unit, and the direction indicating device includes: A latitude and longitude acquisition module is configured to acquire a first longitude and latitude of a starting position and a second longitude and latitude of a destination position; an azimuth angle determination module, configured to determine a target azimuth angle according to the first longitude and latitude and the second longitude and latitude; a receiving module, configured to obtain a current azimuth angle corresponding to a current orientation of a user sent by the head mounted display device, wherein the current azimuth angle is determined by the head mounted display device through the nine-axis inertial measurement unit; An information generating module, configured to generate direction indication information according to the target azimuth and the current azimuth; The sending module is configured to send the direction indication information to the head mounted display device so that the head mounted display device displays the direction indication information.
9. A direction indicating device, characterized in that: Applied to a mobile terminal, the mobile terminal includes a nine-axis inertial measurement unit, and the direction indicating device includes: A latitude and longitude acquisition module is configured to acquire a first longitude and latitude of a starting position and a second longitude and latitude of a destination position; an azimuth determination module, configured to determine a target azimuth according to the first longitude and latitude and the second longitude and latitude, and determine a current azimuth corresponding to a current orientation of the user through the nine-axis inertial measurement unit; An information generating module, configured to generate direction indication information according to the target azimuth and the current azimuth; The information output module is configured to output the direction indication information.
10. A head mounted display device, characterized in that: The head-mounted display device includes a display device, a nine-axis inertial measurement unit, a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the display device, the positioning device, the nine-axis inertial measurement unit, the processor and the memory, wherein when the computer program is executed by the processor, the direction indication method as described in any one of claims 1 to 4 is implemented.
11. A mobile terminal, characterized in that: The mobile terminal includes a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, the direction indication method as described in claim 5 or 6 is implemented.
12. A direction indication system, characterized in that: The direction indication system includes a mobile terminal and a head-mounted display device, wherein the mobile terminal is in communication connection with the head-mounted display device, and the head-mounted display device includes a nine-axis inertial measurement unit; The mobile terminal is used to obtain a first longitude and latitude of a starting position and a second longitude and latitude of a destination position, and determine a target azimuth according to the first longitude and latitude and the second longitude and latitude; The head mounted display device is used to determine a current azimuth angle corresponding to a current orientation of a user through the nine-axis inertial measurement unit, and send the current azimuth angle to the mobile terminal; The mobile terminal is further used to generate direction indication information according to the target azimuth and the current azimuth, and send the direction indication information to the head mounted display device; The head mounted display device is also used to display the direction indication information.
13. A storage medium for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the direction indication method according to any one of claims 1 to 6.
Citation Information
Cited By
Communication positioning device
CN120603051A
Communication positioning device
CN120603051B