Focus adjustment method, device, VR equipment and readable storage medium

CN117872561BActive Publication Date: 2026-09-18GEER TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311628681.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2026-09-18
Estimated Expiration
2043-11-30

AI Technical Summary

Technical Problem

[0004]本申请的主要目的在于提供一种焦距调整方法、装置、VR设备及可读存储介质,旨在解决现有的对于VR设备的焦距调整方式的调整及时性差的技术问题

Benefits of technology

[0038] This application provides a focal length adjustment method applied to a VR device. Every preset time interval, the application collects visual state data of a target user through the visual sensor of the VR device, then determines the data deviation value between the visual state data and the visual reference data of the target user. If the data deviation value is detected to be greater than the preset deviation value, the position of the lens module of the VR device is adjusted by the lens adjustment device of the VR device to adjust the focal length of the VR device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117872561B_ABST
    Figure CN117872561B_ABST
Patent Text Reader

Abstract

This application discloses a focal length adjustment method, apparatus, VR device, and readable storage medium. Relating to the field of virtual reality technology and applied to VR devices, the focal length adjustment method includes: collecting visual state data of a target user at preset time intervals using the VR device's visual sensor; determining the data deviation value between the visual state data and the target user's visual reference data; and if the detected data deviation value exceeds a preset deviation threshold, adjusting the position of the VR device's lens module using the VR device's lens adjustment device to adjust the VR device's focal length. This application solves the problem of poor timeliness in existing focal length adjustment methods for VR devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of virtual reality technology, and in particular to a focal length adjustment method, apparatus, VR device, and readable storage medium. Background Technology

[0002] In VR (Virtual Reality) devices, the lenses on the VR device act as a separator between the human eye and the display. By adjusting the focal length of the VR device, the image seen by the user in the VR device can be clearer and more realistic. Therefore, for users of VR devices, adjusting the focal length is an important way to adjust the visual effect of the VR device and relieve eye fatigue.

[0003] Currently, VR devices typically have a dedicated focus adjustment button, allowing users to manually adjust the focus. For VR devices without a focus adjustment button, users can manually adjust the position and density of the lens module. However, these methods only allow users to manually adjust the focus after prolonged use of the VR device and experiencing eye fatigue. By the time users feel eye fatigue, the VR device has already caused varying degrees of eye damage. Therefore, the current focus adjustment methods for VR devices are not timely. Summary of the Invention

[0004] The main objective of this application is to provide a focal length adjustment method, device, VR device, and readable storage medium, aiming to solve the technical problem of poor timeliness in existing focal length adjustment methods for VR devices.

[0005] To achieve the above objectives, this application provides a focus adjustment method applied to a VR device, the focus adjustment method comprising:

[0006] At preset intervals, visual state data of the target user is collected through the visual sensor of the VR device.

[0007] Determine the data deviation value between the visual state data and the visual reference data of the target user;

[0008] If the detected data deviation value is greater than a preset deviation threshold, the position of the VR device's lens module is adjusted by the VR device's lens adjustment device to adjust the VR device's focal length.

[0009] Optionally, before the step of collecting visual state data of the target user through the visual sensor of the VR device at preset intervals, the focus adjustment method further includes:

[0010] The visual sensor collects visual state data of the target user when their eyes are in good condition, which is used as the visual reference data.

[0011] Optionally, before the step of collecting visual state data of the target user through the visual sensor of the VR device at preset intervals, the focus adjustment method further includes:

[0012] Obtain the visual acuity parameters of the target user;

[0013] Based on the visual acuity parameters, find the target focal length corresponding to the target user;

[0014] The position of the lens module of the VR device is adjusted by the lens adjustment device of the VR device, so as to adjust the focal length of the VR device to the target focal length.

[0015] Optionally, the step of determining the data deviation value between the visual state data and the visual reference data of the target user includes:

[0016] Determine the data difference between each sub-data in the visual state data and the corresponding reference sub-data in the visual reference data;

[0017] The deviation score of each sub-data is obtained by multiplying the data difference of each sub-data with the weighting coefficient corresponding to the sub-data.

[0018] The sum of each deviation score is determined to obtain the data deviation value between the visual state data and the visual reference data of the target user.

[0019] Optionally, the focal length adjustment method further includes:

[0020] The first number of consecutive detections in which the data deviation value is greater than a preset deviation threshold is obtained;

[0021] If the first number of detections is greater than or equal to the first preset number of detections, then the preset duration is shortened.

[0022] Optionally, the focal length adjustment method further includes:

[0023] The number of times the data deviation value is found to be greater than a preset deviation threshold within a preset period is obtained;

[0024] If the second detection count is greater than or equal to the second preset detection count, then the preset duration is shortened;

[0025] If the second detection count is less than or equal to the third preset detection count, then the preset duration is extended, wherein the second preset detection count is greater than the third preset detection count.

[0026] Optionally, when the visual sensor includes a left-eye tracking sensor and a right-eye tracking sensor, and the visual reference data includes left-eye reference data and right-eye reference data, and the lens adjustment device includes a left lens adjustment device and a right lens adjustment device, the focal length adjustment method further includes:

[0027] At preset intervals, the left eye state data of the target user is collected through the left eye tracking sensor, and the right eye state data of the target user is collected through the right eye tracking sensor;

[0028] Determine the left eye deviation value between the left eye state data and the left eye reference data, and determine the right eye deviation value between the right eye state data and the right eye reference data;

[0029] If the left eye deviation value is detected to be greater than the preset deviation threshold, the position of the left eyeglass lens in the lens module is adjusted by the left eyeglass lens adjustment device to adjust the focal length of the VR device.

[0030] If the right eye deviation value is detected to be greater than the preset deviation threshold, the position of the right eyeglass lens in the lens module is adjusted by the right eyeglass lens adjustment device to adjust the focal length of the VR device.

[0031] This application also provides a focus adjustment device for use in VR devices, the focus adjustment device comprising:

[0032] The acquisition module is used to acquire visual state data of the target user through the visual sensor of the VR device at preset intervals.

[0033] The determination module is used to determine the data deviation value between the visual state data and the visual reference data of the target user;

[0034] An adjustment module is used to adjust the position of the lens module of the VR device through the lens adjustment device of the VR device if the detected data deviation value is greater than a preset deviation threshold, so as to adjust the focal length of the VR device.

[0035] This application also provides a VR device, which is a physical device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to perform the steps of the focus adjustment method described above.

[0036] This application also provides a readable storage medium, which is a computer-readable storage medium, on which a program implementing a focus adjustment method is stored. The program implementing the focus adjustment method is executed by a processor to implement the steps of the focus adjustment method as described above.

[0037] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the focus adjustment method described above.

[0038] This application provides a focal length adjustment method applied to a VR device. Every preset time interval, the application collects visual state data of a target user through the visual sensor of the VR device, then determines the data deviation value between the visual state data and the visual reference data of the target user. If the data deviation value is detected to be greater than the preset deviation value, the position of the lens module of the VR device is adjusted by the lens adjustment device of the VR device to adjust the focal length of the VR device.

[0039] This application systematically collects visual state data from target users and compares this data with the target user's visual reference data to detect eye fatigue. If the deviation between the visual state data and the visual reference data exceeds a preset deviation value, it indicates that the target user is experiencing eye fatigue. The VR device then automatically adjusts the position of its lens module using its lens adjustment mechanism to automatically adjust the VR device's focal length. Thus, by collecting user visual state data, this application achieves automatic detection of eye fatigue in VR devices and can promptly adjust the VR device's focal length when eye fatigue is detected. This solves the technical problem of poor timeliness in existing VR device focal length adjustment methods and improves the timeliness of VR device focal length adjustment. Attached Figure Description

[0040] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0041] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] Figure 1 This is a flowchart illustrating an embodiment of the focal length adjustment method of this application.

[0043] Figure 2 This is a schematic diagram illustrating the changes in a user's eyeballs when trying to see a target clearly after eye fatigue, as provided in Embodiment 1 of this application.

[0044] Figure 3 A schematic diagram illustrating how the VR device provided in Embodiment 1 of this application adjusts its focus after detecting eye fatigue in the user;

[0045] Figure 4 A simplified flowchart illustrating the focal length adjustment method provided in Embodiment 1 of this application;

[0046] Figure 5 This is a flowchart illustrating Embodiment 2 of the focal length adjustment method of this application;

[0047] Figure 6 This is a schematic diagram of the module structure of the focal length adjustment device according to an embodiment of this application;

[0048] Figure 7 This is a schematic diagram of the device structure of the hardware operating environment involved in the focus adjustment method in the embodiments of this application.

[0049] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0050] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0051] Example 1

[0052] In VR (Virtual Reality) devices, the lenses on the VR device act as a separator between the human eye and the display. By adjusting the focal length of the VR device, the image seen by the user in the VR device can be clearer and more realistic. Therefore, for users of VR devices, adjusting the focal length is an important way to adjust the visual effect of the VR device and relieve eye fatigue.

[0053] Currently, VR devices typically have a dedicated focus adjustment button, allowing users to manually adjust the focus. For VR devices without a focus adjustment button, users can manually adjust the position and density of the lens module. However, these methods only allow users to manually adjust the focus after prolonged use of the VR device and experiencing eye fatigue. By the time users feel eye fatigue, the VR device has already caused varying degrees of eye damage. Therefore, the current focus adjustment methods for VR devices are not timely.

[0054] Based on this, this application proposes a focus adjustment method according to the first embodiment, applied to VR devices. Please refer to... Figure 1 The focal length adjustment method includes:

[0055] Step S10: Every preset time interval, collect the visual state data of the target user through the visual sensor of the VR device;

[0056] It should be noted that the preset duration can be a fixed value or a flexible value; this embodiment does not impose a specific limitation on it. A visual sensor refers to a device with a shooting function, which may include a camera. The target user refers to a user currently using a VR device. Visual state data is used to characterize eye-related data when the target user is looking at the image within the VR device. This visual state data may include the gaze direction, pupil position information, pupil size, etc.

[0057] To ensure the accuracy of the visual state data of the target user collected, multiple visual sensors can be set in the VR device. In this case, the mode of the visual state data of the target user collected by multiple visual sensors can be used as the final visual state data of the target user.

[0058] Step S20: Determine the data deviation value between the visual state data and the visual reference data of the target user;

[0059] It should be noted that visual baseline data is used to characterize eye-related data of the target user in a good eye condition, while data deviation value is used to characterize the data difference between visual state data and visual baseline data.

[0060] Before determining the data deviation between the visual state data and the target user's visual reference data, it is necessary to obtain the target user's visual reference data first. As an example, if the target user is not setting their vision parameters on the VR device for the first time, the corresponding visual reference data can be found in the preset database in the VR device using the target user's user information (such as user ID) as an index. This database records the mapping relationship between different user information and visual reference data, thereby quickly obtaining the target user's visual reference data.

[0061] As another example, if the target user is setting their vision parameters on a VR device for the first time, then before the step of collecting the target user's visual state data through the VR device's visual sensor at preset intervals, the focus adjustment method further includes:

[0062] Step S101: The visual state data of the target user when their eyes are in good condition is collected by the visual sensor as the visual reference data.

[0063] Understandably, if the target user is setting their vision parameters on a VR device for the first time, the VR device's pre-set database does not contain the visual reference data corresponding to the target user's user information. Therefore, it is also impossible to find the target user's visual reference data from the pre-set database. In this case, since the target user's eyes are not focused on the screen inside the VR device before officially using it, the target user will be in a good visual state. Therefore, the visual sensor can be used to collect the target user's visual state data before officially using the VR device as the visual reference data.

[0064] Step S30: If the detected data deviation value is greater than a preset deviation threshold, the position of the lens module of the VR device is adjusted by the lens adjustment device of the VR device to adjust the focal length of the VR device.

[0065] It should be noted that the lens adjustment device is used to adjust the position of the lens module of the VR device. The lens adjustment device can be a motor device or a lens push-pull device, etc., and this embodiment does not specifically limit it.

[0066] When adjusting the position of the VR device's lens module using the VR device's lens adjustment device, the distance adjusted each time can be fixed or can be flexibly varied; this embodiment does not impose any specific limitations on this.

[0067] This application provides a focal length adjustment method applied to a VR device. In this application, the visual state data of the target user is collected by the visual sensor of the VR device at preset intervals. Then, the data deviation value between the visual state data and the visual reference data of the target user is determined. If the data deviation value is detected to be greater than the preset deviation value, the position of the lens module of the VR device is adjusted by the lens adjustment device of the VR device to adjust the focal length of the VR device. This application embodiment collects visual state data of the target user in a regular manner. By comparing the visual state data with the target user's visual reference data, it detects the target user's eye fatigue. If the deviation between the visual state data and the visual reference data is greater than a preset deviation value, it indicates that the target user is in a state of eye fatigue. Then, the VR device's lens adjustment device automatically adjusts the position of the VR device's lens module to automatically adjust the VR device's focal length. Thus, this application embodiment achieves automatic detection of the user's eye fatigue by collecting the user's visual state data. Furthermore, it can promptly adjust the VR device's focal length through the lens adjustment device when the user's eye fatigue is detected, solving the technical problem of poor timeliness in existing VR device focal length adjustment methods and improving the timeliness of VR device focal length adjustment.

[0068] For example, please refer to Figure 2 and Figure 3 ,from Figure 2 As can be seen, when a user's eyes are fatigued, they will have difficulty seeing targets clearly. At this point, the lens of the eye needs to bulge to see the target, which can cause some damage to the user's eyes. Figure 3 As can be seen, when a user is viewing the image on the VR device, if the user's eyes are fatigued, the VR device will adjust the position of the lens module to adjust the focal length of the VR device, so that the user can see the target clearly without having to bulge the lens of their eyes, thus avoiding the damage to the eyes caused by having to bulge the lens when the eyes are fatigued.

[0069] Currently, for nearsighted users, before eye fatigue and blurred images occur due to prolonged use of VR devices, the user needs to manually adjust the VR device's focus to ensure they can clearly see the image. However, since manually adjusting the VR device's focus usually requires multiple adjustments to achieve a clear image, the existing methods for adjusting the VR device's focus are inefficient.

[0070] In one possible implementation, prior to the step of acquiring visual state data of the target user via the visual sensor of the VR device at preset intervals, the focus adjustment method further includes:

[0071] Step S01: Obtain the visual parameters of the target user;

[0072] It should be noted that the visual acuity parameter is used to characterize the visual acuity of the target user, and this visual acuity parameter may include the visual acuity of the target user's left eye and right eye.

[0073] When acquiring the vision parameters of a target user, a vision parameter input box can be displayed on the screen of the VR device. By acquiring the text information in the vision parameter input box, the vision parameters of the target user can be obtained. Alternatively, multiple vision parameter selection icons can be displayed on the screen of the VR device. By determining the vision parameter selection icon triggered by the target user, the vision parameters selected by the target user can be acquired. This embodiment does not specifically limit the method of acquiring the vision parameters of the target user.

[0074] Step S02: Based on the visual acuity parameters, find the target focal length corresponding to the target user;

[0075] It should be noted that the target focal length is used to characterize the focal length that the VR device needs to be adjusted to so that the target user can see the image in the VR device clearly, given the target user's visual parameters.

[0076] A focal length configuration table can be set up, which records the mapping relationship between different vision parameters and focal length. Therefore, when looking up the target focal length corresponding to the target user based on the vision parameters, the target focal length corresponding to the target user can be found in the preset focal length configuration table by using the vision parameters as an index.

[0077] Step S03: Adjust the position of the lens module of the VR device using the lens adjustment device of the VR device to adjust the focal length of the VR device to the target focal length.

[0078] In this embodiment, the visual acuity parameters of the target user are first obtained. Then, based on these parameters, the target focal length corresponding to the target user is found. Next, the position of the VR device's lens module is adjusted using the VR device's lens adjustment device to adjust the VR device's focal length to the target focal length. Thus, this embodiment can automatically determine the focal length that the VR device needs to be adjusted to so that the user can see the image in the VR device clearly, based on the user's visual acuity, and adjust the position of the VR device's lens module accordingly. This achieves automatic adjustment of the VR device's focal length to the target focal length, overcoming the technical defect that when the user manually adjusts the VR device's focal length, multiple adjustments are usually required to achieve the effect of seeing the image in the VR device clearly. This solves the problem of low adjustment efficiency in existing VR device focal length adjustment methods and improves the adjustment efficiency of VR device focal length.

[0079] In one possible implementation, step S20: determining the data deviation value between the visual state data and the visual reference data of the target user, includes:

[0080] Step S21: Determine the data difference between each sub-data in the visual state data and the reference sub-data corresponding to the sub-data in the visual reference data;

[0081] It should be noted that visual state data contains multiple sub-data. For example, if the visual state data includes eye gaze direction, pupil position information, and pupil size, then eye gaze direction, pupil position information, and pupil size are all sub-data in the visual state data. In this case, the reference sub-data corresponding to eye gaze direction is used to characterize the theoretical gaze direction of the target user's eyes when the eyes are in good condition, the reference sub-data corresponding to pupil position information is used to characterize the theoretical position information of the pupil of the target user when the eyes are in good condition, and the reference sub-data corresponding to pupil size is used to characterize the theoretical size of the pupil of the target user when the eyes are in good condition.

[0082] Step S22: Determine the product of the data difference of each sub-data and the weighting coefficient corresponding to the sub-data to obtain the deviation score of each sub-data;

[0083] It should be noted that the weighting coefficient is used to characterize the degree of influence of sub-data on the final data deviation value. The weighting coefficient corresponding to each sub-data can be set by the user, or the degree of influence of each sub-data on the final data deviation value can be obtained through experiments and then set in compliance with regulations.

[0084] Step S23: Determine the sum of each deviation score to obtain the data deviation value between the visual state data and the visual reference data of the target user.

[0085] In this embodiment, the data difference between each sub-data in the visual state data and the corresponding reference sub-data in the visual reference data is first determined. Then, the product of the data difference of each sub-data and the weighting coefficient corresponding to the sub-data is determined to obtain the deviation score of each sub-data. Next, by determining the sum of the deviation scores, the data deviation value between the visual state data and the visual reference data of the target user can be obtained. Thus, this embodiment, by refining the difference between each sub-data and deriving the final data deviation value based on the degree of influence of each sub-data on the final result, fully considers the influence of each sub-data, making the accuracy of the final determined data deviation value high. This improves the accuracy of subsequent determination of whether the target user is in a state of eye fatigue and further improves the accuracy of the VR device's focus adjustment.

[0086] In one possible implementation, the focal length adjustment method further includes:

[0087] Step A10: Obtain the first number of consecutive detections in which the data deviation value is greater than a preset deviation threshold;

[0088] Step A20: If the first detection count is greater than or equal to the first preset detection count, then shorten the preset duration.

[0089] In this embodiment, if the first number of consecutive detections where the data deviation value is greater than the preset deviation threshold is greater than or equal to the first preset number of detections, it indicates that the target user has been determined to be in a state of eye fatigue multiple times in the detection of eye fatigue. This result may be due to the long interval between each detection, which causes the target user to be detected as being in a state of eye fatigue only after a certain period of time. This is also not conducive to timely adjustment of the VR device's focus. Therefore, the timeliness of the VR device's focus adjustment can be ensured by shortening the preset time, that is, by shortening the interval between each detection of whether the user is in a state of eye fatigue.

[0090] In one possible implementation, the focal length adjustment method further includes:

[0091] Step B10: Obtain the second number of times the data deviation value is found to be greater than a preset deviation threshold within a preset period;

[0092] It is understood that the difference between this embodiment and the previous embodiment is that the previous embodiment obtains the number of times the data deviation value is continuously detected to be greater than the preset deviation threshold, while this embodiment obtains the number of times the data deviation value is detected to be greater than the preset deviation threshold within a preset period. In other words, the number of detections in this embodiment does not require to be continuous; as long as it occurs within the preset period, the number of detections will be recorded.

[0093] Step B20: If the second detection count is greater than or equal to the second preset detection count, then shorten the preset duration.

[0094] It should be noted that the second preset number of detections may or may not be equal to the first preset number of detections, and this embodiment does not impose any specific limitations on this.

[0095] Step B30: If the second detection count is less than or equal to the third preset detection count, then extend the preset duration, wherein the second preset detection count is greater than the third preset detection count.

[0096] In this embodiment, the first step is to obtain the second number of times the data deviation value detected within a preset period is greater than a preset deviation threshold. If the second number of detections is greater than or equal to the second preset number of detections, it indicates that the target user has been determined to be in a state of eye fatigue multiple times within a certain time period. This result may be due to the excessively long interval between each detection, causing the target user to be detected as having eye fatigue only after a certain period of time. This is also not conducive to timely adjustment of the VR device's focus. Therefore, the preset time can be shortened, that is, the interval between each detection of whether the user is in a state of eye fatigue can be shortened to ensure the timeliness of the VR device's focus adjustment. If the second number of detections is greater than or equal to the second preset number of detections, it indicates that the target user has been determined to be in a state of eye fatigue multiple times within a certain time period. If the number of tests is less than or equal to the third preset number of tests, it indicates that the number of times the target user is determined to be in a state of eye fatigue within a certain time period is too low. This may be because the interval between each test is too short, resulting in multiple tests being performed before the target user is actually in a state of eye fatigue. Although increasing the frequency of tests can ensure the timeliness of the VR device's focus adjustment, it will occupy more of the VR device's running memory to some extent, which may affect the normal operation of other functions of the VR device. Therefore, the memory occupation of the VR device by eye fatigue detection can be reduced by extending the preset time, that is, by extending the interval between tests to see if the user is in a state of eye fatigue.

[0097] For example, to aid in understanding the technical concept or principles of this application, please refer to Figure 4 The details are as follows:

[0098] First, various vision parameters are configured in the VR device. Then, after the user puts on the VR device, they select the appropriate vision parameter from these configurations. The VR device adjusts its focus according to the selected vision parameter. After adjustment, it needs to be determined whether the user is selecting vision parameters for the first time. If the user is selecting vision parameters for the first time, visual state data under normal eye use conditions needs to be collected as visual reference data to detect eye fatigue. If the user is not selecting vision parameters for the first time, since the VR device has recorded the user's visual reference data, eye fatigue can be detected directly. Then, every n minutes, the user's visual state data is acquired and compared with the visual reference data. If the comparison result shows a large deviation between the two data, the user is determined to be in a state of eye fatigue, and the focus of the VR device is adjusted. During the detection process, if the detection result is that the user is in a state of eye fatigue for 3 consecutive times, the cycle detection time n of the eye use state needs to be shortened.

[0099] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the focal length adjustment method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0100] Example 2

[0101] Based on the first embodiment of this application, in another embodiment of this application, the same or similar content as in Embodiment 1 above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 5 When the visual sensor includes a left-eye tracking sensor and a right-eye tracking sensor, and the visual reference data includes left-eye reference data and right-eye reference data, and the lens adjustment device includes a left lens adjustment device and a right lens adjustment device, the focal length adjustment method further includes:

[0102] Step E10: Every preset time interval, the left eye state data of the target user is collected through the left eye tracking sensor, and the right eye state data of the target user is collected through the right eye tracking sensor.

[0103] It should be noted that the left-eye state data is used to characterize the left-eye related data when the target user is looking at the image in the VR device. The left-eye state data may include the left eye's gaze direction, the position information of the left eye pupil, the size of the left eye pupil, etc.; the right-eye state data is used to characterize the right-eye related data when the target user is looking at the image in the VR device. The right-eye state data may include the right eye's gaze direction, the position information of the right eye pupil, the size of the right eye pupil, etc.

[0104] Step E20: Determine the left eye deviation value between the left eye state data and the left eye reference data, and determine the right eye deviation value between the right eye state data and the right eye reference data;

[0105] It should be noted that the left eye baseline data is used to characterize the left eye-related data of the target user under good vision conditions, and the left eye deviation value is used to characterize the difference between the left eye status data and the left eye baseline data; the right eye baseline data is used to characterize the right eye-related data of the target user under good vision conditions, and the right eye deviation value is used to characterize the difference between the right eye status data and the right eye baseline data.

[0106] Step E30: If the left eye deviation value is detected to be greater than the preset deviation threshold, the position of the left eyeglass lens in the lens module is adjusted by the left eyeglass lens adjustment device to adjust the focal length of the VR device.

[0107] It should be noted that the left lens adjustment device is used to adjust the position of the left lens in the lens module of the VR device. The left lens adjustment device can be a motor device or a lens push-pull device, etc., and this embodiment does not specifically limit it.

[0108] Step E40: If the right eye deviation value is detected to be greater than the preset deviation threshold, the position of the right eyeglass lens in the lens module is adjusted by the right eyeglass lens adjustment device to adjust the focal length of the VR device.

[0109] It should be noted that the right lens adjustment device is used to adjust the position of the right lens in the lens module of the VR device. The right lens adjustment device can be a motor device or a lens push-pull device, etc., and this embodiment does not specifically limit it.

[0110] Understandably, considering that users' left and right eyes usually have some differences during actual use, some users may experience fatigue in their left eye more easily than their right eye, while others may experience fatigue in their right eye more easily than their left eye. Therefore, when conducting eye fatigue detection, it is possible to test the left and right eyes separately, so that the focus adjustment of the VR device can be more targeted, thereby ensuring the accuracy of the focus adjustment of the VR device.

[0111] In this embodiment, at preset time intervals, the left eye state data of the target user is collected by the left eye tracking sensor, and the right eye state data of the target user is collected by the right eye tracking sensor. Then, the left eye deviation value between the left eye state data and the left eye reference data is determined, and the right eye deviation value between the right eye state data and the right eye reference data is determined. If the detected left eye deviation value is greater than the preset deviation threshold, it indicates that the target user's left eye is in a state of eye fatigue. Then, the position of the left lens in the lens module is adjusted by the left lens adjustment device to adjust the focal length of the VR device. If the detected right eye deviation value is greater than the preset deviation threshold, it indicates that the target user's right eye is in a state of eye fatigue. Then, the position of the right lens in the lens module is adjusted by the right lens adjustment device to adjust the focal length of the VR device. Thus, this embodiment detects eye fatigue separately for the left and right eyes, and can automatically adjust the focal length of the VR device in a timely manner by adjusting the left or right lens when eye fatigue is detected. This not only improves the timeliness of the VR device's focal length adjustment, but also makes the VR device's focal length adjustment more targeted and ensures the accuracy of the VR device's focal length adjustment.

[0112] Example 3

[0113] This invention also provides a focus adjustment device for use in VR devices; please refer to [link / reference]. Figure 6 The focal length adjustment device includes:

[0114] The acquisition module 10 is used to acquire visual state data of the target user through the visual sensor of the VR device at preset intervals.

[0115] The determining module 20 is used to determine the data deviation value between the visual state data and the visual reference data of the target user;

[0116] The adjustment module 30 is used to adjust the position of the lens module of the VR device through the lens adjustment device of the VR device if the detected data deviation value is greater than a preset deviation threshold, so as to adjust the focal length of the VR device.

[0117] Optionally, the focus adjustment device further includes:

[0118] The visual sensor collects visual state data of the target user when their eyes are in good condition, which is used as the visual reference data.

[0119] Optionally, the focus adjustment device further includes:

[0120] Obtain the visual acuity parameters of the target user;

[0121] Based on the visual acuity parameters, find the target focal length corresponding to the target user;

[0122] The position of the lens module of the VR device is adjusted by the lens adjustment device of the VR device, so as to adjust the focal length of the VR device to the target focal length.

[0123] Optionally, the determining module 20 is further configured to:

[0124] Determine the data difference between each sub-data in the visual state data and the corresponding reference sub-data in the visual reference data;

[0125] The deviation score of each sub-data is obtained by multiplying the data difference of each sub-data with the weighting coefficient corresponding to the sub-data.

[0126] The sum of each deviation score is determined to obtain the data deviation value between the visual state data and the visual reference data of the target user.

[0127] Optionally, the focus adjustment device further includes:

[0128] The first number of consecutive detections in which the data deviation value is greater than a preset deviation threshold is obtained;

[0129] If the first number of detections is greater than or equal to the first preset number of detections, then the preset duration is shortened.

[0130] Optionally, the focus adjustment device further includes:

[0131] The number of times the data deviation value is found to be greater than a preset deviation threshold within a preset period is obtained;

[0132] If the second detection count is greater than or equal to the second preset detection count, then the preset duration is shortened;

[0133] If the second detection count is less than or equal to the third preset detection count, then the preset duration is extended, wherein the second preset detection count is greater than the third preset detection count.

[0134] Optionally, when the visual sensor includes a left-eye tracking sensor and a right-eye tracking sensor, and the visual reference data includes left-eye reference data and right-eye reference data, and the lens adjustment device includes a left lens adjustment device and a right lens adjustment device, the focus adjustment device further includes:

[0135] At preset intervals, the left eye state data of the target user is collected through the left eye tracking sensor, and the right eye state data of the target user is collected through the right eye tracking sensor;

[0136] Determine the left eye deviation value between the left eye state data and the left eye reference data, and determine the right eye deviation value between the right eye state data and the right eye reference data;

[0137] If the left eye deviation value is detected to be greater than the preset deviation threshold, the position of the left eyeglass lens in the lens module is adjusted by the left eyeglass lens adjustment device to adjust the focal length of the VR device.

[0138] If the right eye deviation value is detected to be greater than the preset deviation threshold, the position of the right eyeglass lens in the lens module is adjusted by the right eyeglass lens adjustment device to adjust the focal length of the VR device.

[0139] The focal length adjustment device provided by this invention, employing the focal length adjustment method in the above embodiments, can solve the technical problem of poor timeliness in existing focal length adjustment methods for VR devices. Compared with the prior art, the beneficial effects of the focal length adjustment device provided by this invention are the same as those of the focal length adjustment method provided in the above embodiments, and other technical features in the focal length adjustment device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0140] Example 4

[0141] This invention provides a VR device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the focus adjustment method in Embodiment 1 above.

[0142] The following is for reference. Figure 7 The diagram illustrates a structural schematic suitable for implementing VR devices according to embodiments of the present disclosure. VR devices in these embodiments may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The VR device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.

[0143] like Figure 7As shown, the VR device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the VR device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 allows the VR device to communicate wirelessly or wiredly with other devices to exchange data. While the figures show VR devices with various systems, it should be understood that implementing or having all of the systems shown is not required. More or fewer systems may be implemented alternatively.

[0144] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of embodiments of this disclosure.

[0145] The VR device provided by this invention, employing the focus adjustment method described in the above embodiments, can solve the technical problem of poor timeliness in existing focus adjustment methods for VR devices. Compared with the prior art, the beneficial effects of the VR device provided by this invention are the same as those of the focus adjustment method provided in the above embodiments, and other technical features of this VR device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0146] It should be understood that various parts of this disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.

[0147] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

[0148] Example 5

[0149] This invention provides a computer-readable storage medium having computer-readable program instructions stored thereon, which are used to execute the focus adjustment method in Embodiment 1 above.

[0150] The computer-readable storage medium provided in this embodiment of the invention may be, for example, a USB flash drive, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0151] The aforementioned computer-readable storage medium may be included in the VR device; or it may exist independently and not be assembled into the VR device.

[0152] The aforementioned computer-readable storage medium carries one or more programs that, when executed by a VR device, cause the VR device to: collect visual state data of a target user through its visual sensors at preset intervals; determine a data deviation value between the visual state data and the target user's visual reference data; and if the data deviation value is detected to be greater than a preset deviation threshold, adjust the position of the VR device's lens module through the VR device's lens adjustment device to adjust the VR device's focal length.

[0153] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0154] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0155] The modules described in the embodiments of this disclosure can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0156] The readable storage medium provided by this invention is a computer-readable storage medium that stores computer-readable program instructions for executing the above-described focus adjustment method, thereby solving the technical problem of poor timeliness in existing focus adjustment methods for VR devices. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this embodiment are the same as those of the focus adjustment method provided in Embodiment 1 or Embodiment 2, and will not be repeated here.

[0157] Example 6

[0158] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the focus adjustment method described above.

[0159] The computer program product provided in this application can solve the technical problem of poor timeliness in existing focus adjustment methods for VR devices. Compared with the prior art, the beneficial effects of the computer program product provided in this embodiment are the same as those of the focus adjustment method provided in Embodiment 1 or Embodiment 2 above, and will not be repeated here.

[0160] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.

Claims

1. A focal length adjustment method, characterized in that, The focus adjustment method, applied to VR devices, includes: At preset intervals, the visual state data of the target user is collected by the visual sensors of the VR device. The VR device is equipped with multiple visual sensors, and the mode of the visual state data collected by the multiple visual sensors is used as the final visual state data of the target user. Determine the data deviation value between the visual state data and the visual reference data of the target user; If the detected data deviation value is greater than the preset deviation threshold, the position of the lens module of the VR device is adjusted by the lens adjustment device of the VR device to adjust the focal length of the VR device. The visual sensor includes a left-eye tracking sensor and a right-eye tracking sensor, and the visual reference data includes left-eye reference data and right-eye reference data. The lens adjustment device includes a left lens adjustment device and a right lens adjustment device. The focal length adjustment method further includes: At preset intervals, the left eye state data of the target user is collected through the left eye tracking sensor, and the right eye state data of the target user is collected through the right eye tracking sensor; Determine the left eye deviation value between the left eye state data and the left eye reference data, and determine the right eye deviation value between the right eye state data and the right eye reference data; If the left eye deviation value is detected to be greater than the preset deviation threshold, the position of the left eyeglass lens in the lens module is adjusted by the left eyeglass lens adjustment device to adjust the focal length of the VR device. If the right eye deviation value is detected to be greater than the preset deviation threshold, the position of the right eyeglass lens in the lens module is adjusted by the right eyeglass lens adjustment device to adjust the focal length of the VR device.

2. The focal length adjustment method as described in claim 1, characterized in that, Before the step of collecting visual state data of the target user through the visual sensor of the VR device at preset intervals, the focus adjustment method further includes: The visual sensor collects visual state data of the target user when their eyes are in good condition, which is used as the visual reference data.

3. The focal length adjustment method as described in claim 1, characterized in that, Before the step of collecting visual state data of the target user through the visual sensor of the VR device at preset intervals, the focus adjustment method further includes: Obtain the visual acuity parameters of the target user; Based on the visual acuity parameters, find the target focal length corresponding to the target user; The position of the lens module of the VR device is adjusted by the lens adjustment device of the VR device, so as to adjust the focal length of the VR device to the target focal length.

4. The focal length adjustment method as described in claim 1, characterized in that, The step of determining the data deviation value between the visual state data and the visual reference data of the target user includes: Determine the data difference between each sub-data in the visual state data and the corresponding reference sub-data in the visual reference data; The deviation score of each sub-data is obtained by multiplying the data difference of each sub-data with the weighting coefficient corresponding to the sub-data. The sum of each deviation score is determined to obtain the data deviation value between the visual state data and the visual reference data of the target user.

5. The focal length adjustment method according to any one of claims 1 to 4, characterized in that, The focal length adjustment method further includes: The first number of consecutive detections in which the data deviation value is greater than a preset deviation threshold is obtained; If the first number of detections is greater than or equal to the first preset number of detections, then the preset duration is shortened.

6. The focal length adjustment method according to any one of claims 1 to 4, characterized in that, The focal length adjustment method further includes: The number of times the data deviation value is found to be greater than a preset deviation threshold within a preset period is obtained; If the second detection count is greater than or equal to the second preset detection count, then the preset duration is shortened; If the second detection count is less than or equal to the third preset detection count, then the preset duration is extended, wherein the second preset detection count is greater than the third preset detection count.

7. A focus adjustment device, characterized in that, The focus adjustment device, used in VR devices, includes: The acquisition module is used to acquire visual state data of the target user through the visual sensors of the VR device at preset intervals. The VR device is configured with multiple visual sensors, and the mode of the visual state data acquired by the multiple visual sensors is used as the final visual state data of the target user. The determination module is used to determine the data deviation value between the visual state data and the visual reference data of the target user; An adjustment module is used to adjust the position of the lens module of the VR device through the lens adjustment device of the VR device if the detected data deviation value is greater than a preset deviation threshold, so as to adjust the focal length of the VR device. The visual sensors include a left-eye tracking sensor and a right-eye tracking sensor, and the visual reference data includes left-eye reference data and right-eye reference data. The lens adjustment device includes a left-eye lens adjustment device and a right-eye lens adjustment device. The focal length adjustment device further includes: collecting left-eye state data of the target user through the left-eye tracking sensor and right-eye state data of the target user through the right-eye tracking sensor at preset intervals; determining the left-eye deviation value between the left-eye state data and the left-eye reference data, and determining the right-eye deviation value between the right-eye state data and the right-eye reference data; if the detected left-eye deviation value is greater than the preset deviation threshold, adjusting the position of the left eyepiece in the lens module through the left eyepiece lens adjustment device to adjust the focal length of the VR device; if the detected right-eye deviation value is greater than the preset deviation threshold, adjusting the position of the right eyepiece in the lens module through the right eyepiece lens adjustment device to adjust the focal length of the VR device.

8. A VR device, characterized in that, The VR device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the steps of the focus adjustment method as described in any one of claims 1 to 6.

9. A readable storage medium, characterized in that, The readable storage medium is a computer-readable storage medium, on which a program for implementing the focus adjustment method is stored, and the program for implementing the focus adjustment method is executed by a processor to implement the steps of the focus adjustment method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Focal length adjusting method and headset display

    CN106802486A

  • Head-mountable display (HMD) virtual image distance adjustment based on eye tiredness of HMD wearer

    WO2023172266A1