Vision protection method, head-mounted device, and computer-readable storage medium
By detecting the brightness difference inside and outside the head-mounted device, the screen parameters are adjusted to alleviate the user's visual discomfort, solving the problem of strong light and dark contrast caused by long-term wearing, and improving the user experience.
Patent Information
- Application Number
- CN202211463253.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-21
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2042-11-21
AI Technical Summary
When wearing a head-mounted device for a long time causes the ambient brightness to change, the user's eyes experience a strong contrast between light and dark, causing discomfort and affecting the user experience.
By detecting the difference between ambient brightness and screen brightness, it determines whether dark adaptation or light adaptation adjustment is needed, and adjusts the screen image parameters to alleviate discomfort based on the brightness difference and the user's adjustment ability level.
It effectively alleviates the visual discomfort of users when taking off the device, improves the user experience, and assists users in dark adaptation or light adaptation by adjusting the screen brightness and wavelength, thereby improving the user experience.
Smart Images

Figure CN115756168B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of VR technology, and in particular to a vision protection method, a head-mounted device, and a computer-readable storage medium. Background Art
[0002] When the human eye suddenly enters a dark environment from a bright one, the visual system needs to undergo comprehensive adjustments, and it takes some time for the retina to gradually see clearly in the dark. This adaptation process, during which the retina's sensitivity gradually increases, is called dark adaptation. Conversely, when the eye suddenly enters a bright environment from a dark one, especially in a bright light environment, it will experience stinging and dizziness, and it will be difficult to distinguish the external environment. This requires a period of adaptation, during which the retina's adaptation process is called light adaptation.
[0003] In specific scenarios, when a user uses a headset, a sealed environment is formed inside the headset, specifically around the eyes. After prolonged use, there may be a shift in brightness between the inside of the headset and the outside environment. In extreme cases, the contrast between light and dark can be so strong that it can cause eye discomfort when the headset is removed, impacting the user experience. Summary of the Invention
[0004] The main purpose of the present invention is to provide a vision protection method, a head-mounted device and a computer-readable storage medium, aiming to solve the technical problem in the prior art that after wearing a head-mounted device for a long time, the user's eye discomfort is caused by the different ambient brightness, which affects the user experience.
[0005] To achieve the above objectives, the present invention provides a vision protection method, which comprises:
[0006] Detect the ambient brightness and obtain the screen brightness;
[0007] Calculating the brightness difference between the ambient brightness and the screen brightness;
[0008] determining dark adaptation adjustment or light adaptation adjustment according to the brightness difference;
[0009] When it is determined that the adjustment is light adaptation, the screen image is adjusted according to the first preset parameter;
[0010] When it is determined to be dark adaptation adjustment, the screen image is adjusted according to the second preset parameter.
[0011] Optionally, the step of determining dark adaptation adjustment or light adaptation adjustment according to the brightness difference includes:
[0012] Determining whether the brightness difference is greater than a first preset difference;
[0013] When the brightness difference is greater than or equal to the first preset difference, determining that light adaptation adjustment is performed;
[0014] When the brightness difference is less than the first preset difference, determining whether the brightness difference is less than or equal to a second preset difference;
[0015] When the brightness difference is less than or equal to the second preset difference, determining that dark adaptation adjustment is performed;
[0016] The first preset difference is greater than the second preset difference.
[0017] Optionally, after the step of adjusting the screen brightness according to the second preset parameter when dark adaptation adjustment is determined, the method further includes:
[0018] When the brightness difference is greater than the second preset difference and less than the first preset difference, the screen image is adjusted according to a third preset parameter.
[0019] Optionally, the step of adjusting the screen image according to the first preset parameter includes:
[0020] determining an adjustment duration according to the brightness difference;
[0021] Detect the level of human eye adjustment ability;
[0022] Calculating the actual adjustment time according to the human eye adjustment ability level and the adjustment time;
[0023] The screen is controlled to display light of a preset wavelength within the actual adjustment time.
[0024] Optionally, the step of detecting the adjustment ability level of the human eye includes:
[0025] Provide multiple test images;
[0026] Randomly displaying a plurality of the test images on the screen in sequence;
[0027] Obtaining a recognition result for each of the test images;
[0028] The human eye adjustment ability level is determined according to the recognition result.
[0029] Optionally, the step of determining the human eye adjustment ability level according to the recognition result includes:
[0030] When the recognition results for a preset number of consecutive times are all correct, obtaining the frame number corresponding to the first correct recognition of the test image in the preset number of consecutive times;
[0031] The human eye adjustment ability level is determined according to the frame number.
[0032] Optionally, when light adaptation adjustment is determined, the step of adjusting the screen image according to the first preset parameter includes:
[0033] When it is determined to be a light adaptation adjustment, an adjustment prompt is generated;
[0034] Obtaining prompt feedback, and adjusting the screen according to the first preset parameters based on the prompt feedback;
[0035] When the dark adaptation adjustment is determined, the step of adjusting the screen image according to the second preset parameter includes:
[0036] When it is determined to be a dark adaptation adjustment, an adjustment prompt is generated;
[0037] Obtain prompt feedback, and adjust the screen image according to the second preset parameters based on the prompt feedback.
[0038] Optionally, before the step of calculating the brightness difference between the ambient brightness and the screen brightness, the method further includes:
[0039] Detection usage duration;
[0040] Determining whether the usage time is greater than a preset time;
[0041] When the usage time is greater than the preset time, performing a step of calculating a brightness difference value according to the ambient brightness and the screen brightness;
[0042] When the usage time is less than the preset time, the step of detecting the usage time is performed.
[0043] In addition, to solve the above problems, the present invention also proposes a head-mounted device, which includes: a screen, a memory, a processor, and a vision protection program stored in the memory and executable on the processor, wherein:
[0044] The screen is electrically connected to the processor;
[0045] When the vision protection program is executed by the processor, the steps of the vision protection method described above are implemented.
[0046] In addition, to solve the above problems, the present invention also proposes a computer-readable storage medium, on which a vision protection program is stored. When the vision protection program is executed by a processor, the steps of the vision protection method as described above are implemented.
[0047] In addition, to solve the above problems, the present invention also proposes a computer-readable storage medium, on which a vision protection program is stored. When the vision protection program is executed by a processor, the steps of the vision protection method as described above are implemented.
[0048] The technical solution of the present invention detects the brightness difference between the inside and outside of the device to determine whether the user needs light adaptation adjustment or dark adaptation adjustment when taking off the device, matching the most appropriate visual protection method, alleviating discomfort and enhancing user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0050] Figure 1 This is a flow chart of a first embodiment of the vision protection method of the present invention;
[0051] Figure 2 This is a flow chart of a second embodiment of the vision protection method of the present invention;
[0052] Figure 3 This is a flow chart of a third embodiment of the vision protection method of the present invention;
[0053] Figure 4 This is a flow chart of a fourth embodiment of the vision protection method of the present invention;
[0054] Figure 5 This is a flow chart of a fifth embodiment of the vision protection method of the present invention;
[0055] Figure 6 This is a flow chart of a sixth embodiment of the vision protection method according to the present invention;
[0056] Figure 7 Schematic diagram of the proportional function of the sensitivity of rod cells and cone cells to optical fibers of different wavelengths.
[0057] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0058] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0059] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the various components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0060] In addition, the terms "first," "second," and so on, used in this disclosure are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referenced. Thus, a feature specified as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of this disclosure, "plurality" means at least two, such as two or three, unless otherwise specifically defined.
[0061] In the present invention, unless otherwise specified or limited, the terms "connection" and "fixation" should be understood in a broad sense. For example, "fixation" can mean fixed connection, detachable connection, or integration; mechanical connection or electrical connection; direct connection or indirect connection through an intermediate medium; internal communication between two elements or interaction between two elements, unless otherwise specified. Those skilled in the art will be able to understand the specific meanings of the above terms in the present invention based on specific circumstances.
[0062] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in this field can implement it. When the combination of technical solutions is mutually contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0063] The present invention proposes a method for visual protection, please refer to Figure 1 , Figure 1 This is a flow chart of a first embodiment of the vision protection method of the present invention. The vision protection method comprises the following steps:
[0064] Step S10: Detecting the ambient brightness and obtaining the screen brightness;
[0065] Step S20: Calculating the brightness difference between the ambient brightness and the screen brightness;
[0066] Step S30: determining dark adaptation adjustment or light adaptation adjustment according to the brightness difference;
[0067] Step S40: When it is determined that the adjustment is light adaptation, the screen image is adjusted according to the first preset parameter;
[0068] Step S50: When it is determined to be dark adaptation adjustment, the screen image is adjusted according to the second preset parameter.
[0069] When a user uses a head-mounted device, the device needs to completely cover the user's eyes, creating a sealed environment to achieve the best visual effect. The head-mounted device can be, for example, a VR device or an XR device.
[0070] While the user is using the headset, the device periodically monitors the ambient brightness outside the headset and the screen brightness. The frequency of this cycle can be adjusted based on user needs, such as five times per minute. This ensures a reasonable frequency of detection while also reducing power consumption.
[0071] Each time a detection is performed, the detected ambient brightness and / or screen brightness is associated with a timestamp and stored in the storage module of the head-mounted device to facilitate backtracking and improve maintenance efficiency.
[0072] Brightness can specifically be luminous flux. The luminous flux detected outside the head-mounted device is recorded as φ1, and the luminous flux detected on the head-mounted device screen is recorded as φ2. By calculating the difference between φ1 and φ2, it is determined whether the brightness difference between the user's head-mounted device screen and the external environment is too large.
[0073] When the difference is too large, it means that the user needs to make dark adaptation adjustments or light adaptation adjustments when taking off the head-mounted device.
[0074] It can be understood that the minimum intensity required for the eyes to see light is called the threshold stimulus value; within the wavelength range of visible light, the human eye perceives light of different wavelengths differently, and the response characteristics of the human visual system to light are called the sensitivity of the visible spectrum.
[0075] Rod cells are photoreceptors in dark environments, while cone cells are photoreceptors in bright environments. The human eye can clearly distinguish objects in the environment at night and during the day because of the mutual conversion between the two types of cells.
[0076] The lower the threshold stimulus value of rod cells in the dark, the longer the dark adaptation time. Sensitivity is inversely proportional to threshold, and scotopic vision and photopic vision are sensitive to different wavelengths of light.
[0077] Please refer to Figure 7 It is easy to know that when the wavelength reaches 620nm (red light wavelength), almost only the cone cells are stimulated and maintain sensitivity, and the sensitivity of the rod cells is almost reduced to the lowest. This means that when there is only red light, it is equivalent to entering a dark environment for the rod cells.
[0078] Based on the above, the difference in red light sensitivity between the two types of cells can be exploited to display images with different parameters on the screen, pre-stimulating the rods or cones to maintain their activity. This allows the human eye to maintain high resolution when switching between bright and dark vision environments. Therefore, by displaying light of different wavelengths, the user can achieve the effect of dark adaptation or light adaptation.
[0079] The technical solution of the present invention detects the brightness difference between the inside and outside of the device to determine whether the user needs light adaptation adjustment or dark adaptation adjustment when taking off the device, matching the most appropriate visual protection method, alleviating discomfort and enhancing user experience.
[0080] For further information, please refer to Figure 2 , Figure 2 This is a flow chart of the second embodiment of the vision protection method according to the present invention. Step S30 includes:
[0081] Step S31: determining whether the brightness difference is greater than a first preset difference;
[0082] Step S32: When the brightness difference is greater than or equal to the first preset difference, determining that light adaptation adjustment is performed;
[0083] Step S33: When the brightness difference is less than the first preset difference, determining whether the brightness difference is less than or equal to a second preset difference;
[0084] Step S34: when the brightness difference is less than or equal to the second preset difference, determining that dark adaptation adjustment is performed;
[0085] The first preset difference is greater than the second preset difference.
[0086] There are many different situations in this embodiment:
[0087] As an embodiment, when the screen of the head-mounted device is brighter and the external environment is darker, that is, the brightness difference of φ1 minus φ2 is greater than or equal to the first preset difference, the screen brightness is adjusted according to the first preset parameter, thereby avoiding eye discomfort when the user changes from a bright visual environment to a dark environment after taking off the head-mounted device.
[0088] As another embodiment, when the screen of the head-mounted device is darker and the external environment is brighter, that is, when the brightness difference is less than the first preset difference, a second judgment is performed; that is, when the brightness difference of φ1 minus φ2 is less than or equal to the second preset difference, the screen brightness is adjusted according to the second preset parameter, thereby avoiding eye discomfort when the user changes from a dark visual environment to a bright visual environment after taking off the head-mounted device.
[0089] As another embodiment, after step S30, the method further includes:
[0090] Step S60: When the brightness difference is greater than the second preset difference and less than the first preset difference, adjusting the screen image according to a third preset parameter.
[0091] When the brightness of the screen of the head-mounted device is comparable to that of the external environment, that is, the brightness difference of φ1 minus φ2 is less than the first preset difference and greater than the second preset difference, the screen of the head-mounted device is directly turned off and the power is turned off normally.
[0092] It should be noted that, in the above process, the first preset difference and the second preset difference can be adjusted according to experimental data. It is sufficient that the luminous flux represented by the first preset difference meets the dark adaptation condition. Similarly, the luminous flux represented by the second preset difference meets the light adaptation condition.
[0093] For further information, please refer to Figure 3 , Figure 3 This is a flow chart of the third embodiment of the vision protection method according to the present invention. Step S40 includes:
[0094] Step S41: determining an adjustment duration according to the brightness difference;
[0095] Step S42: detecting the adjustment ability level of the human eye;
[0096] Step S43: calculating the actual adjustment time according to the human eye accommodation ability level and the adjustment time;
[0097] Step S44: controlling the screen to display light of a preset wavelength within the actual adjustment time.
[0098] After calculating the brightness difference, it is divided into n levels according to the size of the brightness difference, recorded as δ n , each level of brightness difference has a corresponding adjustment time, recorded as t n .
[0099] In actual use, due to different physical conditions, users have different degrees of adaptability to light, that is, the human eye has different levels of adjustment ability. Therefore, in this embodiment, the adjustment time needs to be further adjusted according to the different physical conditions of different users to meet the needs of different users.
[0100] The adjusted unit time is recorded as t d , the level of human eye adjustment ability of different users is recorded as a n The actual adjustment time t = t n +a n *t d .
[0101] When the user needs to adjust dark adaptation or light adaptation, the screen is controlled to display light of a preset wavelength for the actual adjustment duration. For example, during dark adaptation, the system controls the screen to display a red image, with the red light wavelength set to approximately 620nm. Alternatively, it can play red-themed images or videos, thus avoiding monotony during the adjustment process and further improving the user experience.
[0102] When the red image playback time reaches the actual adjustment time t, it means that the adjustment is completed, and the user can be prompted to take off the head-mounted device by turning off the screen or using voice.
[0103] Furthermore, to further minimize disruption to the user experience, when dark adaptation protection is triggered, non-critical areas of the screen are switched to red light with a wavelength of approximately 620nm. This adjustment is achieved by increasing the proportion of red light while simultaneously reducing the brightness of other light sources.
[0104] For further information, please refer to Figure 4 , Figure 4 This is a flow chart of the fourth embodiment of the vision protection method according to the present invention. Step S42 includes:
[0105] Step S421: providing a plurality of test images;
[0106] Step S422: randomly displaying a plurality of the test images on the screen in sequence;
[0107] Step S423: Obtaining the recognition result of each test image;
[0108] Step S424: determining the human eye adjustment ability level according to the recognition result.
[0109] When the user wears the head-mounted device, the user's eye adjustment ability level can be tested. After the user wears the VR, adjust the screen display brightness for 2 minutes to 3 minutes, then turn off the screen and randomly display multiple test images on the screen in sequence. The test image can be, for example, the letter "E" in different directions, similar to an eye chart. The user can feedback the direction of the test image through buttons, handles, gestures or voice on the head-mounted device. When the direction selected or fed back by the user is consistent with the direction of the displayed letter, it means that the user has correctly identified it.
[0110] In addition, the test image can also be other patterns, and the user provides feedback by selecting the corresponding option. If the feedback is consistent, it means that the user has correctly identified the image.
[0111] When the user can clearly see the orientation of the letters on the screen, that is, when the user's recognition is correct, it means that the user has adapted to the dark vision environment. The time it takes for the user to adapt to the dark vision environment is calculated, that is, the interval from the start of the test to the user's correct recognition. The length of different time periods is graded to represent the human eye's adaptation ability.
[0112] For details, please refer to Figure 5 , Figure 5 This is a flowchart of the fifth embodiment of the vision protection method of the present invention. Step S424 includes:
[0113] Step S4241: When the recognition results for a preset number of consecutive times are all correct, obtaining the frame number corresponding to the first correct recognition of the test image in the preset number of consecutive times;
[0114] Step S4242: Determine the human eye adjustment ability level according to the frame number.
[0115] To avoid misjudgment, in this embodiment, if the user correctly identifies the image multiple times in a row, it means that the user has been able to fully identify the screen test image.
[0116] In this embodiment, the preset number of times is set to 5. For example, if the user correctly recognizes between frames 8 and 12, it means that the user has adapted to the current visual environment starting from frame 8. Therefore, the user's eye adjustment ability level is set according to the time of frame 8.
[0117] In this embodiment, the user can bind the corresponding user tag and associate the test result with the user tag after the test. The next time use, only the corresponding user tag needs to be selected without repeated settings, further improving the convenience of use.
[0118] In addition, in this embodiment, step S40 may be replaced by: when it is determined that the adjustment is light adaptation, generating an adjustment prompt; obtaining prompt feedback, and adjusting the screen according to the first preset parameter based on the prompt feedback;
[0119] Step S50 may be replaced by: Step S501: when it is determined to be dark adaptation adjustment, generating an adjustment prompt; obtaining prompt feedback, and adjusting the screen image according to the second preset parameters based on the prompt feedback.
[0120] When the difference between ambient and screen brightness is detected, the headset can prompt the user whether to adjust the brightness to meet dark or light adaptation requirements. The user can choose based on their needs, further improving the user experience.
[0121] Further, please refer to Figure 6 , Figure 6This is a flow chart of the sixth embodiment of the vision protection method according to the present invention. Before step S20, the method further includes:
[0122] Step S70: Detect usage time;
[0123] Step S80: determining whether the usage time is greater than a preset time;
[0124] When the usage time is greater than the preset time, executing step S20;
[0125] When the usage time is less than the preset time, step S70 is executed.
[0126] In order to further improve the user experience, this embodiment also calculates the user's actual usage time by detecting the time when the head-mounted device is turned on, or the time after entering the application, and the time when the head-mounted device closes the software.
[0127] It's understandable that the user's ability to experience dark adaptation and light adaptation depends on a certain amount of usage time. Therefore, in this embodiment, the device determines whether the usage time is greater than a preset time. Only when the usage time is greater than or equal to the preset time will the device enter vision protection mode; if the usage time is less than the preset time, vision protection mode will not be entered. This improves the overall intelligence of the device, avoids cumbersome operations, and enhances the user experience.
[0128] Among them, the preset duration can be customized according to the user's usage to adapt to different user physiques.
[0129] In addition, to solve the above problems, the present invention also proposes a head-mounted device, which includes a screen, a memory, a processor, and a visual protection program stored in the memory and runnable on the processor, wherein the screen is electrically connected to the processor; when the visual protection program is executed by the processor, the steps of the visual protection method as described above are implemented.
[0130] When the user uses the head-mounted device, the head-mounted device needs to completely cover the user's eyes to form a sealed environment, so as to achieve the best visual effect.
[0131] While the user is using the headset, the device periodically monitors the ambient brightness outside the headset and the screen brightness. The frequency of this cycle can be adjusted based on user needs, such as five times per minute. This ensures a reasonable frequency of detection while also reducing power consumption.
[0132] Each time a detection is performed, the detected ambient brightness and / or screen brightness is associated with a timestamp and stored in the storage module of the head-mounted device to facilitate backtracking and improve maintenance efficiency.
[0133] Brightness can specifically be luminous flux. The luminous flux detected outside the head-mounted device is recorded as φ1, and the luminous flux detected on the head-mounted device screen is recorded as φ2. By calculating the difference between φ1 and φ2, it is determined whether the brightness difference between the user's head-mounted device screen and the external environment is too large.
[0134] When the difference is too large, it means that the user needs to make dark adaptation adjustments or light adaptation adjustments when taking off the head-mounted device.
[0135] By exploiting the difference in red light sensitivity between the two types of cells, different parameters are displayed on the screen to stimulate the rods or cones in advance, keeping them active. This allows the human eye to maintain high resolution when switching between bright and dark vision environments. Therefore, by displaying light of different wavelengths, the user can achieve the effect of dark adaptation or light adaptation.
[0136] The technical solution of the present invention detects the brightness difference between the inside and outside of the device to determine whether the user needs light adaptation adjustment or dark adaptation adjustment when taking off the device, matching the most appropriate visual protection method, alleviating discomfort and enhancing user experience.
[0137] In addition, to solve the above problems, the present invention also proposes a computer-readable storage medium, on which a vision protection program is stored. When the vision protection program is executed by a processor, the steps of the vision protection method as described above are implemented.
[0138] When the user uses the head-mounted device, the head-mounted device needs to completely cover the user's eyes to form a sealed environment, so as to achieve the best visual effect.
[0139] While the user is using the headset, the device periodically monitors the ambient brightness outside the headset and the screen brightness. The frequency of this cycle can be adjusted based on user needs, such as five times per minute. This ensures a reasonable frequency of detection while also reducing power consumption.
[0140] Each time a detection is performed, the detected ambient brightness and / or screen brightness is associated with a timestamp and stored in the storage module of the head-mounted device to facilitate backtracking and improve maintenance efficiency.
[0141] Brightness can specifically be luminous flux. The luminous flux detected outside the head-mounted device is recorded as φ1, and the luminous flux detected on the head-mounted device screen is recorded as φ2. By calculating the difference between φ1 and φ2, it is determined whether the brightness difference between the user's head-mounted device screen and the external environment is too large.
[0142] When the difference is too large, it means that the user needs to make dark adaptation adjustments or light adaptation adjustments when taking off the head-mounted device.
[0143] By exploiting the difference in red light sensitivity between the two types of cells, different parameters are displayed on the screen to stimulate the rods or cones in advance, keeping them active. This allows the human eye to maintain high resolution when switching between bright and dark vision environments. Therefore, by displaying light of different wavelengths, the user can achieve the effect of dark adaptation or light adaptation.
[0144] The technical solution of the present invention detects the brightness difference between the inside and outside of the device to determine whether the user needs light adaptation adjustment or dark adaptation adjustment when taking off the device, matching the most appropriate visual protection method, alleviating discomfort and enhancing user experience.
[0145] The above description is only a preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural transformation made by using the contents of the present description and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields, is included in the patent protection scope of the present invention.
Claims
1. A method for visual protection, characterized in that: The vision protection method comprises: Detect the ambient brightness and obtain the screen brightness; Calculating the brightness difference between the ambient brightness and the screen brightness; determining dark adaptation adjustment or light adaptation adjustment according to the brightness difference; When it is determined that the adjustment is light adaptation, the screen image is adjusted according to the first preset parameter; When it is determined that the adjustment is for dark adaptation, adjusting the screen image according to the second preset parameter; The step of adjusting the screen image according to the first preset parameter includes: determining an adjustment duration according to the brightness difference; Detect the level of human eye adjustment ability; Calculating the actual adjustment time according to the human eye adjustment ability level and the adjustment time; Controlling the screen to display light of a preset wavelength within the actual adjustment time; The step of detecting the adjustment ability level of the human eye comprises: Provide multiple test images; Randomly displaying a plurality of the test images on the screen in sequence; Obtaining a recognition result for each of the test images; The human eye adjustment ability level is determined according to the recognition result.
2. The vision protection method according to claim 1, characterized in that: The step of determining dark adaptation adjustment or light adaptation adjustment according to the brightness difference comprises: Determining whether the brightness difference is greater than a first preset difference; When the brightness difference is greater than or equal to the first preset difference, determining that light adaptation adjustment is performed; When the brightness difference is less than the first preset difference, determining whether the brightness difference is less than or equal to a second preset difference; When the brightness difference is less than or equal to the second preset difference, determining that dark adaptation adjustment is performed; The first preset difference is greater than the second preset difference.
3. The vision protection method according to claim 2, characterized in that: After the step of adjusting the screen brightness according to the second preset parameter when dark adaptation adjustment is determined, the method further includes: When the brightness difference is greater than the second preset difference and less than the first preset difference, the screen image is adjusted according to a third preset parameter.
4. The vision protection method according to claim 1, characterized in that: The step of determining the level of human eye adjustment ability according to the recognition result comprises: When the recognition results for a preset number of consecutive times are all correct, obtaining the frame number corresponding to the first correct recognition of the test image in the preset number of consecutive times; The human eye adjustment ability level is determined according to the frame number.
5. The vision protection method according to claim 1, characterized in that: When light adaptation adjustment is determined, the step of adjusting the screen image according to the first preset parameter includes: When it is determined to be a light adaptation adjustment, an adjustment prompt is generated; Obtaining prompt feedback, and adjusting the screen according to the first preset parameters based on the prompt feedback; When the dark adaptation adjustment is determined, the step of adjusting the screen image according to the second preset parameter includes: When it is determined to be a dark adaptation adjustment, an adjustment prompt is generated; Obtain prompt feedback, and adjust the screen image according to the second preset parameters based on the prompt feedback.
6. The vision protection method according to any one of claims 1 to 5, characterized in that: Before the step of calculating the brightness difference between the ambient brightness and the screen brightness, the method further includes: Detection usage duration; Determining whether the usage time is greater than a preset time; When the usage time is greater than the preset time, performing a step of calculating a brightness difference value according to the ambient brightness and the screen brightness; When the usage time is less than the preset time, the step of detecting the usage time is performed.
7. A head-mounted device, characterized in that: The head-mounted device includes: a screen, a memory, a processor, and a vision protection program stored in the memory and executable on the processor, wherein: The screen is electrically connected to the processor; When the vision protection program is executed by the processor, the steps of the vision protection method according to any one of claims 1 to 6 are implemented.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a vision protection program, which, when executed by a processor, implements the steps of the vision protection method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Display adjustment method, and display adjustment device and system
CN106448615A
Screen brightness adjusting method and device of head-mounted display device and storage medium
CN115312013A