Navigation angle correction method and device, intelligent glasses and storage medium

The installation of an angle sensor on smart glasses to correct navigation angles based on detected deviations improves navigation accuracy and user experience by adapting to different wearing conditions.

CN119085702APending Publication Date: 2024-12-06ZHUHAI MOJIE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310661119.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-05
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

Smart glasses face reduced navigation accuracy due to difficulties in maintaining the initial angle of the glasses legs when users wear them, leading to a degraded user experience.

Method used

Install an angle sensor on the smart glasses to detect the opening and closing angle between the temples and the frame, calculate the angle deviation, and correct the navigation angle using this deviation to improve accuracy.

Benefits of technology

Enhances navigation accuracy and user experience by providing real-time correction of navigation angles, suitable for various use scenarios without excessive power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119085702A_ABST
    Figure CN119085702A_ABST
Patent Text Reader

Abstract

The invention provides a navigation angle correction method and device, intelligent glasses and a computer readable storage medium. The navigation angle correction method is applied to the intelligent glasses, an angle sensor is installed on the intelligent glasses, and the angle sensor can detect the opening and closing angle between glasses legs and a glasses frame of the intelligent glasses. Acquiring a current opening and closing angle of the intelligent glasses in a use state through an angle sensor; the initial angle of the intelligent glasses is obtained, and the initial angle is a preset opening and closing angle between the glasses legs and the glasses frame; then an angle deviation value is determined according to the current opening and closing angle and the initial angle; when the intelligent glasses are in the use state, the first navigation angle of the intelligent glasses is obtained, the first navigation angle is corrected according to the angle deviation value, so that the second navigation angle is obtained, the second navigation angle is the corrected navigation angle of the actual use state of the intelligent glasses, navigation is conducted through the second navigation angle, the accuracy of the navigation function of the intelligent glasses can be improved, and the user experience is improved. And meanwhile, the user experience can be greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart glasses, and in particular to a navigation angle correction method, device, smart glasses and computer-readable storage medium. Background Art

[0002] Smart glasses such as AR (Augmented Reality) glasses worn on the user's head generally require a magnetometer to be installed on the legs of the smart glasses, which provides initial direction information for the compass and navigation functions. Usually, when smart glasses leave the factory, the angle of the legs of the glasses when they are naturally opened is set as the initial angle, and navigation is performed based on the initial angle.

[0003] However, when users actually use smart glasses for navigation, it is difficult to make the legs of the glasses open at the initial angle. If navigation is still performed at the initial angle at this time, the accuracy of navigation will inevitably be greatly reduced and the user experience will be worse. Summary of the invention

[0004] The present application provides a navigation angle correction method, device, smart glasses and computer-readable storage medium, aiming to improve the accuracy of the navigation function of the smart glasses.

[0005] To achieve the above-mentioned purpose, the present application provides a navigation angle correction method, which is applied to smart glasses, wherein an angle sensor is installed on the smart glasses, and the angle sensor is used to detect the opening and closing angle between the temples of the smart glasses and the glasses frame; the method comprises: obtaining the current opening and closing angle of the smart glasses in the use state; obtaining the initial angle of the smart glasses, wherein the initial angle is a preset opening and closing angle between the temples and the glasses frame; determining an angle deviation value according to the current opening and closing angle and the initial angle; obtaining a first navigation angle in the use state of the smart glasses; and correcting the first navigation angle according to the angle deviation value to obtain a second navigation angle, and the second navigation angle is used for navigation.

[0006] Optionally, the angle sensor includes a first angle sensor and a second angle sensor, and the first angle sensor and the second angle sensor are respectively arranged on the two temples of the smart glasses; obtaining the current opening and closing angle of the smart glasses in use includes: obtaining the first opening and closing angle of the smart glasses in use by the first angle sensor; obtaining the second opening and closing angle of the smart glasses in use by the second angle sensor; and determining the current opening and closing angle of the smart glasses in use according to the first opening and closing angle and the second opening and closing angle.

[0007] Further optionally, determining the current opening and closing angle of the smart glasses in use based on the first opening and closing angle and the second opening and closing angle includes: calculating the average of the first opening and closing angle and the second opening and closing angle to obtain the current opening and closing angle of the smart glasses in use.

[0008] Optionally, determining the angle deviation value according to the current opening and closing angle and the initial angle includes: calculating the difference between the current opening and closing angle and the initial angle to obtain the angle deviation value.

[0009] Optionally, a magnetometer and an inertial measurement unit are installed on the smart glasses; obtaining the first navigation angle when the smart glasses are in use includes: determining the first navigation angle when the smart glasses are in use according to data collected by the magnetometer and the inertial measurement unit.

[0010] Optionally, the correcting the first navigation angle according to the angle deviation value to obtain a second navigation angle includes: calculating a sum of the first navigation angle and the angle deviation value as the second navigation angle.

[0011] Optionally, before obtaining the initial angle of the smart glasses, it also includes: obtaining a previous opening and closing angle, wherein the previous opening and closing angle is the opening and closing angle between the glasses leg and the glasses frame obtained at the previous moment; judging whether the current opening and closing angle and the previous opening and closing angle meet a first preset condition; if the current opening and closing angle and the previous opening and closing angle do not meet the first preset condition, executing the step of obtaining the initial angle of the smart glasses.

[0012] Optionally, after obtaining the current opening and closing angle of the smart glasses in use, it also includes: obtaining a target opening and closing angle and a target navigation angle, wherein the target opening and closing angle is the current opening and closing angle when the smart glasses were last in use, and the target navigation angle is the second navigation angle when the smart glasses were last in use; judging whether the current opening and closing angle and the target opening and closing angle meet a second preset condition; if the current opening and closing angle and the target opening and closing angle do not meet the second preset condition, executing the step of obtaining the initial angle of the smart glasses; if the current opening and closing angle and the target opening and closing angle meet the second preset condition, navigating according to the target navigation angle.

[0013] To achieve the above-mentioned purpose, the present application also provides a navigation angle correction device, which is applied to smart glasses, wherein an angle sensor is installed on the smart glasses, and the angle sensor is used to detect the opening and closing angle between the temples of the smart glasses and the glasses frame; the navigation angle correction device includes: a first angle acquisition module, used to obtain the current opening and closing angle of the smart glasses when they are in use; a second angle acquisition module, used to obtain the initial angle of the smart glasses, wherein the initial angle is a preset opening and closing angle between the temples and the glasses frame; a deviation value determination module, used to determine an angle deviation value according to the current opening and closing angle and the initial angle; a navigation angle acquisition module, used to obtain a first navigation angle when the smart glasses are in use; an angle correction module, used to correct the first navigation angle according to the angle deviation value to obtain a second navigation angle, and the second navigation angle is used for navigation.

[0014] In addition, to achieve the above-mentioned purpose, the present application also provides a pair of smart glasses, on which an angle sensor is installed, and the angle sensor is used to detect the opening and closing angle between the legs of the smart glasses and the frames of the glasses; the smart glasses include: a memory and a processor; wherein the memory is connected to the processor for storing programs, and the processor is used to implement any one of the navigation angle correction methods provided in the present application by running the programs stored in the memory.

[0015] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor enables the processor to implement any navigation angle correction method provided in the embodiments of the present application.

[0016] The embodiment of the present application discloses a navigation angle correction method, device, smart glasses and computer-readable storage medium. The navigation angle correction method is applied to smart glasses, and an angle sensor is installed on the smart glasses, which can detect the opening and closing angle between the legs of the smart glasses and the glasses frame; the current opening and closing angle of the smart glasses in the use state is obtained through the angle sensor; the initial angle of the smart glasses is then obtained; and the angle deviation value is then determined according to the current opening and closing angle and the initial angle; when the smart glasses are in use, the first navigation angle is obtained, and the first navigation angle is corrected according to the angle deviation value, so as to obtain the second navigation angle, which is the corrected navigation angle of the actual use state of the smart glasses. Using the second navigation angle for navigation can improve the accuracy of the navigation function of the smart glasses, and at the same time, the user experience will be greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] 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.

[0018] Figure 1 is a flowchart of a navigation angle correction method provided in an embodiment of the present application;

[0019] Figure 2 is a schematic diagram of a coordinate system when the smart glasses are in a wearing and using state in one embodiment of the present application;

[0020] Figure 3 is another flowchart of a navigation angle correction method provided by an embodiment of the present application;

[0021] Figure 4 is another flowchart of a navigation angle correction method provided in an embodiment of the present application;

[0022] Figure 5 is a schematic block diagram of a navigation angle correction device provided in an embodiment of the present application;

[0023] Figure 6 It is a schematic block diagram of a pair of smart glasses provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0025] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor do they have to be executed in the order described. For example, some operations / steps can also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions. In addition, although the functional modules are divided in the device schematic, in some cases, the module division can be different from that in the device schematic.

[0026] The term "and / or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0027] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0028] To facilitate understanding of the embodiments of the present application, some backgrounds involved in the embodiments of the present application are briefly described below.

[0029] See also Figure 1 , Figure 1 : is a flowchart of a navigation angle correction method provided in an embodiment of the present application. In this embodiment, the navigation angle correction method is applied to smart glasses, wherein the smart glasses can be AR (Augmented Reality) glasses, VR (Virtual Reality) glasses, or any other glasses with navigation function and foldable temples, without specific limitation.

[0030] In this embodiment, an angle sensor is installed on the smart glasses. The angle sensor is used to detect the opening and closing angle between the temples of the smart glasses and the glasses frame. It can be understood that the opening and closing angle is the angle of the temples relative to the track of the temples in the process of the glasses frame changing from a folded state to an open state. For example, assuming that the opening and closing angle of the temples when they are naturally opened is 90 degrees, then the angle of the temples relative to the track of the temples in the process of the glasses frame changing from a folded state to a naturally opened state is 90 degrees, that is, the opening and closing angle between the temples and the glasses frame is 90 degrees, not 270 degrees.

[0031] In one embodiment, the angle sensor can be integrated into the hinge of the glasses leg, or can be installed parallel to the hinge. As long as the angle sensor can measure the opening and closing angle between the glasses leg and the glasses frame, the specific installation position is not limited.

[0032] like Figure 1 As shown, the navigation angle correction method includes steps S101 to S105.

[0033] Step S101: obtaining the current opening and closing angle of the smart glasses in use.

[0034] Specifically, when the smart glasses are in use, the angle sensor on the glasses leg detects the current opening and closing angle between the glasses leg and the glasses frame.

[0035] It should be noted that the use state of the smart glasses can be a wearing use state, a handheld use state of holding the smart glasses, or a placed use state of placing the smart glasses on an object, etc. It can be understood that in different use states of the above-mentioned smart glasses, the current opening and closing angles of the glasses legs and the glasses frame are different.

[0036] For example, when it comes to wearing and using status, the head sizes of different users are different. When wearing smart glasses, the current opening and closing angles between the temples and the frames are different. That is, when the user's head size is larger, the current opening and closing angle is larger, and when the user's head size is smaller, the current opening and closing angle is smaller.

[0037] For another example, when the smart glasses are in a handheld use state or a placed use state, the current opening and closing angle between the glasses legs and the glasses frame is more arbitrary, because there is no angle restriction on the current opening and closing angle in the two use states.

[0038] It can be seen that, whether it is worn, held or placed, the actual opening angle of the glasses legs is difficult to be exactly the same as the initial angle, especially for the handheld and placed states. The actual opening angle of the glasses legs is even more arbitrary. If navigation is still performed at the initial angle at this time, the accuracy of navigation will inevitably be greatly reduced. However, by adopting the navigation angle correction method provided in the embodiment of the present application, no matter which use state the smart glasses are in, the navigation angle can be corrected to obtain accurate navigation information, thereby meeting the user's needs for obtaining accurate navigation information in different use states of the smart glasses, enriching the application scenarios of the smart glasses, and improving the user's experience.

[0039] In one embodiment, step S101 specifically includes obtaining the current opening and closing angle of the smart glasses when they are in use at preset intervals. The preset time is a preset time period. For example, if the preset time is 2 seconds, the smart glasses will obtain the current opening and closing angle every two seconds when they are in use. Of course, the preset time can also be other times, such as a few minutes, hours, days, months, etc., which are not specifically limited here.

[0040] Step S102: Acquire an initial angle of the smart glasses, wherein the initial angle is a preset opening and closing angle between the temples and the glasses frame.

[0041] When the smart glasses leave the factory, an initial angle is preset for the smart glasses. The initial angle is the angle between the glasses leg and the glasses frame after the glasses leg is opened relative to the glasses frame. Generally speaking, the opening and closing angle of the glasses leg when it is naturally opened is taken as the initial angle. For example, for some smart glasses, the opening and closing angle of the glasses leg when it is naturally opened and can be worn by the user is 90°, so the initial angle can be preset to 90°. Of course, in other embodiments, the initial angle can also be other angles, which are not specifically limited here.

[0042] In one embodiment, the initial angle may be pre-stored in the smart glasses, or may be pre-stored in other devices that interact with the smart glasses for data, and no specific limitation is made herein.

[0043] In one embodiment, before step S102, it also includes obtaining a previous opening and closing angle, wherein the previous opening and closing angle is the opening and closing angle between the temple and the frame of the glasses obtained at the previous moment. In this embodiment, during the use of the smart glasses, the smart glasses will obtain the current opening and closing angle in real time or at a certain interval and perform angle correction. In the process of using smart glasses, the opening and closing angle between the temple and the frame of the glasses will hardly change or the change is very small. If the angle correction is still performed at this time, it is bound to occupy the processing power of the smart glasses excessively and increase the power consumption of the smart glasses. Therefore, before step S102, the current opening and closing angle obtained at the previous moment, that is, the previous opening and closing angle, is first obtained, and then it is determined whether the current opening and closing angle obtained in step S101 and the previous opening and closing angle meet the first preset condition.

[0044] Among them, the first preset condition can be that the absolute value of the difference between the current opening and closing angle currently obtained and the previous opening and closing angle is less than the first preset error value. If the current opening and closing angle and the previous opening and closing angle do not meet the first preset condition, that is, the absolute value of the difference between the current opening and closing angle and the previous opening and closing angle is greater than or equal to the first preset error value, it means that the current opening and closing angle obtained is significantly different from the previous opening and closing angle, and the angle needs to be corrected. At this time, step S102 is executed, that is, the step of obtaining the initial angle of the smart glasses is executed. If the current opening and closing angle and the previous opening and closing angle meet the first preset condition, that is, the absolute value of the difference between the current opening and closing angle and the previous opening and closing angle is less than the first preset error value, it means that the current opening and closing angle is slightly different from the previous opening and closing angle. In order to save power and reduce the heating level of the smart glasses, navigation angle correction is not required. At this time, return to step S101.

[0045] It should be noted that the first preset error value may be zero, or other values ​​such as 0.01, and is not specifically limited here.

[0046] Step S103: determining an angle deviation value according to the current opening and closing angle and the initial angle.

[0047] In one embodiment, the specific method for determining the angle deviation value may be: calculating the difference between the current opening and closing angle and the initial angle to obtain the angle deviation value. The angle deviation value is obtained by subtracting the initial angle from the current opening and closing angle. The calculation amount of this calculation method is small, and even smart glasses with insufficient computing power can complete the calculation independently without the need for external equipment.

[0048] Step S104: obtaining a first navigation angle when the smart glasses are in use.

[0049] Specifically, in one embodiment, a magnetometer and an inertial measurement unit (IMU) are installed on the smart glasses. Acquiring the first navigation angle when the smart glasses are in use specifically includes: determining the first navigation angle when the smart glasses are in use according to data collected by the magnetometer and the IMU.

[0050] See also Figure 2 , Figure 2 Schematic diagram of the coordinate system when the smart glasses are in the wearing state in one embodiment of the present application. Figure 2 As shown, when the smart glasses are in the wearing state, the person and the smart glasses are taken as a whole, with the horizontal right direction as the positive direction of the x-axis, the horizontal forward direction as the positive direction of the y-axis (i.e. the horizontal direction of the direction the face or glasses are facing), and the vertical upward direction as the positive direction of the z-axis. The first navigation angle is calculated using the data collected by the magnetometer and the inertial measurement unit.

[0051] Step S105: Correcting the first navigation angle according to the angle deviation value to obtain a second navigation angle, where the second navigation angle is used for navigation.

[0052] Specifically, in one embodiment, the first navigation angle is corrected according to the angle deviation value to obtain the second navigation angle, specifically including: calculating the sum of the first navigation angle and the angle deviation value as the second navigation angle. The second navigation angle can be used for navigation. For example, when a user wears smart glasses for map navigation, it is necessary to use the compass function of the smart glasses. When the user faces a certain direction, the smart glasses will calculate the second navigation angle according to the navigation angle correction method provided in the embodiment of the present application, and project the direction corresponding to the second navigation angle on the projection area of ​​the smart glasses in the form of an arrow, thereby indicating the direction for the user.

[0053] The above calculation method is simple and has a small amount of calculation. Smart glasses can complete the calculation independently without the help of external equipment. Moreover, since the method has a small amount of calculation, it will not burden the data processing capabilities of smart glasses, so that the navigation angle correction method provided in this application can compensate and correct the navigation angle in real time, that is, it can timely correct the navigation angle according to the real-time changes of the current opening and closing angle, so as to obtain accurate navigation information. Users do not need to maintain a usage posture at all times to ensure that the current opening and closing angle remains unchanged, which improves the user's experience and satisfaction. Smart glasses using this navigation angle correction method are also more suitable for actual application scenarios.

[0054] This embodiment provides a navigation angle correction method, which obtains the current opening and closing angle of the smart glasses in use, and then determines the angle deviation value according to the current opening and closing angle and the initial angle pre-set by the smart glasses; then obtains the first navigation angle in the use state of the smart glasses, and corrects the first navigation angle according to the angle deviation value to obtain the second navigation angle, which is the navigation angle required for subsequent navigation. This method corrects the navigation angle before navigating, thereby improving the navigation accuracy of the smart glasses. At the same time, due to the small amount of calculation, this method can realize real-time compensation correction of the navigation angle, and the user experience is improved.

[0055] See also Figure 3 , Figure 3 : is another flow chart of a navigation angle correction method provided in an embodiment of the present application. In this embodiment, the navigation angle correction method is applied to smart glasses, wherein the smart glasses can be AR (Augmented Reality) glasses, VR (Virtual Reality) glasses, or any other glasses with navigation function and foldable temples, without specific limitation.

[0056] In this embodiment, the smart glasses are equipped with a first angle sensor and a second angle sensor, which are respectively arranged on two temples of the smart glasses. The first angle sensor and the second angle sensor are respectively used to detect the opening and closing angles between the corresponding temples and the glasses frame.

[0057] In one embodiment, the first angle sensor and the second angle sensor can be respectively integrated into the hinges of the two glasses legs, or they can be installed parallel to the hinges. As long as the first angle sensor and the second angle sensor can measure the opening and closing angles between the corresponding glasses legs and the glasses frame, the specific installation positions are not limited.

[0058] like Figure 3 As shown, the navigation angle correction method includes steps S201 to S207.

[0059] Step S201: obtaining a first opening and closing angle of the smart glasses when they are in use through the first angle sensor.

[0060] It should be noted that the usage state of the smart glasses can be a wearing state, a handheld state of holding the smart glasses, or a placed state of placing the smart glasses on an object, etc., and no specific limitation is made here.

[0061] Step S202: Acquire a second opening and closing angle of the smart glasses when they are in use through the second angle sensor.

[0062] Step S203: determining a current opening and closing angle of the smart glasses in use according to the first opening and closing angle and the second opening and closing angle.

[0063] Because the smart glasses are in different usage states, the opening and closing angles between each eyeglass leg and the eyeglass frame may be different. For example, when the smart glasses are in handheld use, the opening angles of the two eyeglass legs will be very different. For another example, when the smart glasses are in the wearing state, if the user wears them incorrectly, such as pressing one eyeglass leg on the outside of the ear and placing the other eyeglass leg at the back of the ear, in this case, the opening and closing angles between the two eyeglass legs and the eyeglass frame will be different.

[0064] In this embodiment, two angle sensors are provided to respectively collect the opening and closing angles between the two glasses legs and the glasses frame, and the two opening and closing angles are combined to determine the current opening and closing angle when the smart glasses are in use. This can enable the current opening and closing angle when the smart glasses are in use to more accurately reflect the use status, and better correct the navigation angle, thereby obtaining more accurate navigation information.

[0065] Specifically, in one embodiment, the current opening and closing angle of the smart glasses in use is obtained by calculating the average of the first opening and closing angle and the second opening and closing angle. That is, the current opening and closing angle of the smart glasses in use is obtained by dividing the sum of the first opening and closing angle and the second opening and closing angle by 2.

[0066] It should be noted that the method for determining the current opening and closing angle of the smart glasses in the use state according to the first opening and closing angle and the second opening and closing angle is not limited to the above method, and other methods may also be used. For example, a comparison operation is performed on the first opening and closing angle and the second opening and closing angle to select the larger opening and closing angle as the current opening and closing angle of the smart glasses in the use state.

[0067] Step S204: obtaining an initial angle of the smart glasses, wherein the initial angle is a preset opening and closing angle between the temples of the glasses and the glasses frame.

[0068] When the smart glasses leave the factory, an initial angle is preset for the smart glasses. The initial angle is the angle between the glasses leg and the glasses frame after the glasses leg is opened relative to the glasses frame. Generally speaking, the opening and closing angle of the glasses leg when it is naturally opened is taken as the initial angle. For example, for some smart glasses, the opening and closing angle of the glasses leg when it is naturally opened and can be worn by the user is 90°, so the initial angle can be preset to 90°. Of course, in other embodiments, the initial angle can also be other angles, which are not specifically limited here.

[0069] In one embodiment, the initial angle may be pre-stored in the smart glasses, or may be pre-stored in other devices that interact with the smart glasses for data, and no specific limitation is made herein.

[0070] Step S205: determining an angle deviation value according to the current opening and closing angle and the initial angle.

[0071] In one embodiment, the angle deviation value can be obtained by subtracting the initial angle from the current opening and closing angle. This calculation method has a small amount of calculation and can independently complete the calculation for smart glasses with insufficient computing power without the need for external equipment.

[0072] Step S206: Acquire a first navigation angle when the smart glasses are in use.

[0073] Specifically, a magnetometer and an inertial measurement unit are installed on the smart glasses, and the first navigation angle is determined by data collected by the magnetometer and the inertial measurement unit.

[0074] Step S207: Correcting the first navigation angle according to the angle deviation value to obtain a second navigation angle, where the second navigation angle is used for navigation.

[0075] Specifically, in one embodiment, the second navigation angle is obtained by calculating the sum of the first navigation angle and the angle deviation value. The corrected second navigation angle is used for subsequent navigation, which can improve the accuracy of navigation information.

[0076] It should be noted that, those skilled in the art can clearly understand that, for the convenience and brevity of description, the individual steps or terminology explanations of the navigation angle correction method described above can refer to the aforementioned navigation angle correction method embodiment and will not be repeated here.

[0077] The present embodiment provides a navigation angle correction method, which is applied to smart glasses, and the first angle sensor and the second angle sensor are respectively installed on the two glasses legs of the smart glasses. The method uses the first angle sensor and the second angle sensor to respectively obtain the opening and closing angles between each glasses leg and the glasses frame in the use state of the smart glasses, that is, the first opening and closing angle and the second opening and closing angle; then the current opening and closing angle in the use state of the smart glasses is determined according to the first opening and closing angle and the second opening and closing angle, so that the final determined current opening and closing angle can better reflect the use state of the smart glasses, thereby improving the accuracy of subsequent navigation angle correction. After determining the current opening and closing angle in the use state of the smart glasses, the angle deviation value is determined according to the current opening and closing angle and the initial angle pre-set by the smart glasses; then the first navigation angle in the use state of the smart glasses is obtained, and the first navigation angle is corrected according to the angle deviation value to obtain the second navigation angle, and the corrected navigation angle, that is, the second navigation angle, is used for navigation, thereby improving the navigation accuracy of the smart glasses. In addition, the correction method provided in the present embodiment also has the advantages of small calculation amount, real-time compensation correction of the navigation angle, and correction of any use state of the smart glasses.

[0078] See also Figure 4 , Figure 4 : is another flow chart of a navigation angle correction method provided in an embodiment of the present application. In this embodiment, the navigation angle correction method is applied to smart glasses, wherein the smart glasses can be AR (Augmented Reality) glasses, VR (Virtual Reality) glasses, or any other glasses with navigation function and foldable temples, without specific limitation.

[0079] In this embodiment, the smart glasses are equipped with an angle sensor, which is used to detect the opening and closing angle between the temples of the smart glasses and the glasses frame.

[0080] In one embodiment, the angle sensor can be integrated into the hinge of the glasses leg, or can be installed parallel to the hinge. As long as the angle sensor can measure the opening and closing angle between the glasses leg and the glasses frame, the specific installation position is not limited.

[0081] In this embodiment, when the user uses the smart glasses, generally during use, the opening and closing angle between the temples of the glasses and the frame of the glasses hardly changes, or the change is small. In order to save energy, navigation angle correction is not required. Therefore, when the user just turns on the smart glasses and uses them, it is sufficient to calibrate the navigation angle once.

[0082] Specifically, Figure 4 As shown, the navigation angle correction method includes steps S301 to S308.

[0083] S301: Acquire the current opening and closing angle of the smart glasses when they are in use.

[0084] S302: Obtain a target opening and closing angle and a target navigation angle, wherein the target opening and closing angle is a current opening and closing angle when the smart glasses were last in use, and the target navigation angle is a second navigation angle when the smart glasses were last in use.

[0085] S303: Determine whether the current opening and closing angle and the target opening and closing angle satisfy a second preset condition.

[0086] Among them, the second preset condition may be that the absolute value of the difference between the current opening and closing angle and the target opening and closing angle is less than the second preset error value. When it is determined that the current opening and closing angle and the target opening and closing angle do not meet the second preset condition, that is, the absolute value of the difference between the current opening and closing angle and the target opening and closing angle is greater than or equal to the second preset error value, it means that the current opening and closing angle is much different from the target opening and closing angle at the last use, and the angle needs to be corrected, and step S305 is executed at this time. If the current opening and closing angle and the target opening and closing angle meet the second preset condition, that is, the absolute value of the difference between the current opening and closing angle and the target opening and closing angle is less than the second preset error value, it means that the current opening and closing angle is much different from the target opening and closing angle at the last use, and in order to save power and reduce the heating of the smart glasses, step S304 can be executed.

[0087] It should be noted that the second preset error value may be zero, or other values ​​such as 0.01, and is not specifically limited here.

[0088] S304: Navigate according to the target navigation angle.

[0089] When the current opening and closing angle is slightly different from the target opening and closing angle used last time, the last target navigation angle can be used for navigation without repeated correction calculations, thereby saving power.

[0090] S305: Acquire an initial angle of the smart glasses, wherein the initial angle is a preset opening and closing angle between the temples of the glasses and the glasses frame.

[0091] S306: Determine an angle deviation value according to the current opening and closing angle and the initial angle.

[0092] S307: Acquire a first navigation angle when the smart glasses are in use.

[0093] S308: Correct the first navigation angle according to the angle deviation value to obtain a second navigation angle, where the second navigation angle is used for navigation.

[0094] After obtaining the second navigation angle, the current opening and closing angle is set as the target opening and closing angle, and the second navigation angle is set as the target navigation angle. The target opening and closing angle and the target navigation angle are stored so as to determine whether angle correction is needed the next time the smart glasses are used.

[0095] It should be noted that, those skilled in the art can clearly understand that, for the convenience and brevity of description, the individual steps or terminology explanations of the navigation angle correction method described above can refer to the aforementioned navigation angle correction method embodiment and will not be repeated here.

[0096] A navigation angle correction method disclosed in an embodiment of the present application comprises the following steps: after obtaining the current opening and closing angle of the smart glasses in use through an angle sensor, first determining whether the current opening and closing angle and the target opening and closing angle satisfy a second preset condition; when the second preset condition is not satisfied, obtaining the initial angle of the smart glasses; then determining an angle deviation value based on the current opening and closing angle and the initial angle; correcting the first navigation angle based on the angle deviation value to obtain a second navigation angle, and using the second navigation angle for navigation to improve the accuracy of the navigation function of the smart glasses; if the second preset condition is satisfied, navigation is performed based on the target navigation angle without repeated calculations, thereby saving power and reducing the heating level of the smart glasses.

[0097] See also Figure 5 , Figure 5 It is a schematic block diagram of a navigation angle correction device provided in an embodiment of the present application. The navigation angle correction device 300 can be configured in smart glasses, wherein the smart glasses can be AR glasses, VR glasses, or any other glasses with navigation function and foldable temples, without specific limitation.

[0098] The smart glasses are equipped with an angle sensor, which is used to detect the opening and closing angle between the temples of the smart glasses and the glasses frame. The navigation angle correction device 300 is used to perform the steps of the above-mentioned navigation angle correction method.

[0099] Specifically, Figure 5 As shown, the navigation angle correction device 300 includes: a first angle acquisition module 301 , a second angle acquisition module 302 , a deviation value determination module 303 , a navigation angle acquisition module 304 and an angle correction module 305 .

[0100] The first angle acquisition module 301 is used to acquire the current opening and closing angle of the smart glasses when they are in use.

[0101] The second angle acquisition module 302 is used to acquire the initial angle of the smart glasses, wherein the initial angle is a preset opening and closing angle between the temples and the glasses frame.

[0102] The deviation value determination module 303 is used to determine the angle deviation value according to the current opening and closing angle and the initial angle.

[0103] The navigation angle acquisition module 304 is used to acquire a first navigation angle when the smart glasses are in use.

[0104] The angle correction module 305 is used to correct the first navigation angle according to the angle deviation value to obtain a second navigation angle, where the second navigation angle is used for navigation.

[0105] In one embodiment, the angle sensor includes a first angle sensor and a second angle sensor, and the first angle sensor and the second angle sensor are respectively arranged on two temples of the smart glasses. The first angle acquisition module 301 is specifically used to: acquire a first opening and closing angle of the smart glasses in use state through the first angle sensor; acquire a second opening and closing angle of the smart glasses in use state through the second angle sensor; and determine the current opening and closing angle of the smart glasses in use state according to the first opening and closing angle and the second opening and closing angle.

[0106] Furthermore, in one embodiment, when the first angle acquisition module 301 determines the current opening and closing angle of the smart glasses in use according to the first opening and closing angle and the second opening and closing angle, it is specifically used to calculate the average of the first opening and closing angle and the second opening and closing angle to obtain the current opening and closing angle of the smart glasses in use.

[0107] In one embodiment, the second angle acquisition module 302 is further used to obtain a previous opening and closing angle before obtaining the initial angle of the smart glasses, wherein the previous opening and closing angle is the opening and closing angle between the glasses leg and the glasses frame obtained at the previous moment; determine whether the current opening and closing angle and the previous opening and closing angle meet a first preset condition; if the current opening and closing angle and the previous opening and closing angle do not meet the first preset condition, execute the step of obtaining the initial angle of the smart glasses.

[0108] In one embodiment, the deviation value determination module 303 is specifically used to calculate the difference between the current opening and closing angle and the initial angle to obtain the angle deviation value.

[0109] In one embodiment, a magnetometer and an inertial measurement unit are installed on the smart glasses; the navigation angle acquisition module 304 is specifically used to determine the first navigation angle when the smart glasses are in use according to the data collected by the magnetometer and the inertial measurement unit.

[0110] In one embodiment, the angle correction module 305 is specifically configured to calculate the sum of the first navigation angle and the angle deviation value as the second navigation angle.

[0111] In one embodiment, the first angle acquisition module 301 is further used to acquire a target opening and closing angle and a target navigation angle, wherein the target opening and closing angle is the current opening and closing angle when the smart glasses were last in use, and the target navigation angle is the second navigation angle when the smart glasses were last in use; determine whether the current opening and closing angle and the target opening and closing angle meet a second preset condition; if the current opening and closing angle and the target opening and closing angle do not meet the second preset condition, send a signal to the second angle acquisition module 302, so that the second angle acquisition module 302 acquires the initial angle of the smart glasses according to the signal. If the current opening and closing angle and the target opening and closing angle meet the second preset condition, navigate according to the target navigation angle.

[0112] It should be noted that, those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the navigation angle correction device and each module described above can refer to the corresponding processes in the aforementioned navigation angle correction method embodiment, and will not be repeated here.

[0113] Exemplarily, the above-mentioned navigation angle correction method and device can be implemented in the form of a computer program, and the computer program can be run on smart glasses.

[0114] See also Figure 6 , Figure 6 4 is a schematic block diagram of a smart glasses provided in an embodiment of the present application. The smart glasses 400 may be AR glasses, VR glasses, or any other glasses with navigation functions and foldable temples, without specific limitation. An angle sensor is installed on the smart glasses 400, and the angle sensor is used to detect the opening and closing angle between the temples of the smart glasses 400 and the glasses frame.

[0115] like Figure 6 As shown, the smart glasses 400 include a processor 401 and a memory 402 connected via a system bus, wherein the memory 402 may include a volatile storage medium, a non-volatile storage medium, and an internal memory.

[0116] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor 401 can execute any navigation angle correction method.

[0117] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor 401, the processor 401 can execute any one of the navigation angle correction methods.

[0118] The processor 401 is used to provide computing and control capabilities to support the operation of the entire smart glasses 400.

[0119] It should be understood that the processor 401 may be a central processing unit (CPU), and the processor may 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 gate 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.

[0120] Among them, in some embodiments, the processor 401 is used to run a computer program stored in the memory 402 to implement the following steps: obtaining a current opening and closing angle of the smart glasses in use; obtaining an initial angle of the smart glasses, wherein the initial angle is a preset opening and closing angle between the temples and the glasses frame; determining an angle deviation value based on the current opening and closing angle and the initial angle; obtaining a first navigation angle in use of the smart glasses; and correcting the first navigation angle based on the angle deviation value to obtain a second navigation angle, wherein the second navigation angle is used for navigation.

[0121] In some embodiments, the angle sensor includes a first angle sensor and a second angle sensor, and the processor 401 is used to obtain a first opening and closing angle when the smart glasses are in use through the first angle sensor; obtain a second opening and closing angle when the smart glasses are in use through the second angle sensor; and determine the current opening and closing angle when the smart glasses are in use based on the first opening and closing angle and the second opening and closing angle.

[0122] In some implementations, the processor 401 is specifically configured to calculate an average of the first opening and closing angle and the second opening and closing angle to obtain a current opening and closing angle when the smart glasses are in use.

[0123] In some implementations, the processor 401 is specifically configured to calculate a difference between the current opening and closing angle and the initial angle to obtain an angle deviation value.

[0124] In some implementations, the processor 401 is specifically configured to determine a first navigation angle when the smart glasses are in use according to data collected by a magnetometer and an inertial measurement unit.

[0125] In some implementations, the processor 401 is specifically configured to calculate a sum of the first navigation angle and the angle deviation value as the second navigation angle.

[0126] In some embodiments, the processor 401 is also used to obtain a previous opening and closing angle, wherein the previous opening and closing angle is the opening and closing angle between the glasses leg and the glasses frame obtained at the previous moment; determine whether the current opening and closing angle and the previous opening and closing angle meet a first preset condition; if the current opening and closing angle and the previous opening and closing angle do not meet the first preset condition, execute the step of obtaining the initial angle of the smart glasses.

[0127] In some embodiments, the processor 401 is also used to obtain a target opening and closing angle and a target navigation angle, wherein the target opening and closing angle is the current opening and closing angle when the smart glasses were last in use, and the target navigation angle is the second navigation angle when the smart glasses were last in use; determine whether the current opening and closing angle and the target opening and closing angle meet a second preset condition; if the current opening and closing angle and the target opening and closing angle do not meet the second preset condition, execute the step of obtaining the initial angle of the smart glasses; if the current opening and closing angle and the target opening and closing angle meet the second preset condition, navigate according to the target navigation angle.

[0128] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. The computer program includes program instructions, and when the program instructions are executed, any one of the navigation angle correction methods provided in the embodiments of the present application is implemented.

[0129] The computer-readable storage medium may be an internal storage unit of the smart glasses described in the foregoing embodiments, such as a memory of the smart glasses. The computer-readable storage medium may also be an external storage device of the smart glasses, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the smart glasses.

[0130] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like.

[0131] The above is only a specific implementation of the present application, but the protection scope of the present application 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 in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A navigation angle correction method, characterized in that: Applied to smart glasses, the smart glasses are equipped with an angle sensor, and the angle sensor is used to detect the opening and closing angle between the temples of the smart glasses and the glasses frame; the method comprises: Obtaining the current opening and closing angle of the smart glasses when they are in use; Acquire an initial angle of the smart glasses, wherein the initial angle is a preset opening and closing angle between the glasses leg and the glasses frame; Determine an angle deviation value according to the current opening and closing angle and the initial angle; Acquire a first navigation angle when the smart glasses are in use; The first navigation angle is corrected according to the angle deviation value to obtain a second navigation angle, where the second navigation angle is used for navigation.

2. The navigation angle correction method according to claim 1, characterized in that: The angle sensor includes a first angle sensor and a second angle sensor, and the first angle sensor and the second angle sensor are respectively arranged on two temples of the smart glasses; and obtaining the current opening and closing angle of the smart glasses in a use state includes: Acquire a first closing angle of the smart glasses in use state through the first angle sensor; Acquire a second closing angle of the smart glasses in use state by using the second angle sensor; A current opening and closing angle of the smart glasses in use is determined according to the first opening and closing angle and the second opening and closing angle.

3. The navigation angle correction method according to claim 2, characterized in that: The determining, according to the first opening and closing angle and the second opening and closing angle, a current opening and closing angle of the smart glasses in a use state includes: An average of the first opening and closing angle and the second opening and closing angle is calculated to obtain a current opening and closing angle of the smart glasses when they are in use.

4. The navigation angle correction method according to claim 1, characterized in that: The smart glasses are equipped with a magnetometer and an inertial measurement unit; the step of obtaining a first navigation angle when the smart glasses are in use includes: A first navigation angle when the smart glasses are in use is determined according to data collected by the magnetometer and the inertial measurement unit.

5. The navigation angle correction method according to claim 1, characterized in that: The correcting the first navigation angle according to the angle deviation value to obtain a second navigation angle includes: The sum of the first navigation angle and the angle deviation value is calculated as the second navigation angle.

6. The navigation angle correction method according to claim 1, characterized in that: Before obtaining the initial angle of the smart glasses, the method further includes: Acquire a previous opening and closing angle, wherein the previous opening and closing angle is the opening and closing angle between the glasses leg and the glasses frame acquired at the last moment; Determining whether the current opening and closing angle and the previous opening and closing angle satisfy a first preset condition; If the current opening and closing angle and the previous opening and closing angle do not satisfy a first preset condition, a step of obtaining an initial angle of the smart glasses is performed.

7. The navigation angle correction method according to claim 1, characterized in that: After obtaining the current opening and closing angle of the smart glasses in use, the method further includes: Acquire a target opening and closing angle and a target navigation angle, wherein the target opening and closing angle is a current opening and closing angle when the smart glasses were last used, and the target navigation angle is a second navigation angle when the smart glasses were last used; Determining whether the current opening and closing angle and the target opening and closing angle satisfy a second preset condition; If the current opening and closing angle and the target opening and closing angle do not satisfy the second preset condition, executing the step of obtaining the initial angle of the smart glasses; If the current opening and closing angle and the target opening and closing angle satisfy the second preset condition, navigation is performed according to the target navigation angle.

8. A navigation angle correction device, characterized in that: Applied to smart glasses, the smart glasses are equipped with an angle sensor, and the angle sensor is used to detect the opening and closing angle between the temples of the smart glasses and the glasses frame; The navigation angle correction device comprises: A first angle acquisition module, used to acquire the current opening and closing angle of the smart glasses when they are in use; A second angle acquisition module, used to acquire an initial angle of the smart glasses, wherein the initial angle is a preset opening and closing angle between the glasses leg and the glasses frame; A deviation value determination module, used to determine an angle deviation value according to the current opening and closing angle and the initial angle; A navigation angle acquisition module, used to acquire a first navigation angle when the smart glasses are in use; An angle correction module is used to correct the first navigation angle according to the angle deviation value to obtain a second navigation angle, and the second navigation angle is used for navigation.

9. A smart glasses, characterized in that: The smart glasses are equipped with an angle sensor, which is used to detect the opening and closing angle between the temples of the smart glasses and the frames; the smart glasses include: a memory and a processor; wherein the memory is connected to the processor and is used to store a program, and the processor is used to implement any one of the navigation angle correction methods described in claims 1 to 7 by running the program stored in the memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the navigation angle correction method according to any one of claims 1 to 7.