Ambient light intensity adjustment method, device, smart glasses and storage medium
By detecting the application type and gradually adjusting the ambient light, the problem of balancing immersion and 6DOF accuracy in existing technologies has been solved, thus improving the user experience.
Patent Information
- Application Number
- CN202310303820.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2043-03-22
AI Technical Summary
Existing technologies cannot achieve the switching and balancing of ambient light intensity that satisfies both immersion and 6DOF accuracy, resulting in a poor user experience.
By detecting the type of the target application, the preset required illuminance is determined, and when the ambient illuminance inside the room or vehicle does not meet the preset required illuminance, the ambient illuminance is gradually adjusted, including the illuminance requirements for immersive experience and 6DoF accuracy level.
It achieves switching and balancing of ambient light intensity, improving user immersion and 6DOF accuracy, and enhancing user experience.
Smart Images

Figure CN116300095B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of virtual reality technology, and in particular to a method, apparatus, smart glasses, and storage medium for adjusting ambient light intensity. Background Technology
[0002] With the continuous development of technology, smart glasses, like TWS earphones and smartwatches, can quickly enter consumers' lives. Due to their optical see-through characteristics, smart glasses can provide convenience for seeing the real world. However, while providing convenience, they sacrifice an immersive experience. For example, when users watch movies with smart glasses, the ambient light may not meet the illumination required for an immersive experience, preventing users from fully immersing themselves in the movie scene. Similarly, when users play games, the ambient light may not meet the illumination required for a 6DoF accuracy level, preventing users from playing the game in a truly immersive way.
[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main objective of this invention is to provide an ambient light intensity adjustment method, device, smart glasses, and storage medium, aiming to solve the technical problem that existing technologies cannot achieve the switching and balancing of ambient light intensity that satisfies immersion and 6DOF accuracy, resulting in a very poor user experience.
[0005] To achieve the above objectives, the present invention provides a method for adjusting ambient light intensity, the method comprising the following steps:
[0006] When a target application is detected to be running, the program type to which the target application belongs is determined;
[0007] The preset required illuminance is determined based on the program type to which the target application belongs;
[0008] When the current ambient light level in an indoor space, vehicle interior, or other non-outdoor space does not meet the preset required light level, the ambient light level in the indoor space, vehicle interior, or other non-outdoor space is gradually adjusted.
[0009] Optionally, the preset required illuminance includes the illuminance required for an immersive experience and the illuminance required for a 6DoF accuracy level;
[0010] The step of determining the preset required illuminance based on the program type of the target application includes:
[0011] When the target application belongs to a static application type, the preset required illumination is determined to be the illumination required for an immersive experience.
[0012] When the target application belongs to the program type of dynamic program, obtain the accuracy level requirement for calling the 6DoF function;
[0013] The required illuminance for a 6DoF accuracy level is determined based on the accuracy level requirements.
[0014] Optionally, when the current ambient illuminance in an indoor space, vehicle interior, or other non-outdoor space does not meet the preset required illuminance, the ambient illuminance in the indoor space, vehicle interior, or other non-outdoor space is gradually adjusted, including:
[0015] When the current ambient illuminance in the indoor space, vehicle interior, or other non-outdoor space does not meet the preset required illuminance, a gradual illuminance adjustment range is determined.
[0016] The ambient light intensity in the indoor, vehicle interior, or other non-outdoor spaces is gradually adjusted according to the illuminance adjustment range.
[0017] Optionally, after gradually adjusting the ambient light intensity of the indoor or vehicle interior or other non-outdoor space according to the gradual adjustment range of illuminance, the method further includes:
[0018] Obtain the ambient illuminance of the indoor or vehicle interior or other non-outdoor space after gradual adjustment;
[0019] When the ambient light level in the indoor or vehicle interior or other non-outdoor space meets the light level required for an immersive experience, the adjustment of the ambient light level in the indoor or vehicle interior or other non-outdoor space shall be stopped.
[0020] The 6DoF detection algorithm is used to detect whether the ambient light intensity in the indoor or vehicle interior or other non-outdoor space meets the light intensity required for the 6DoF accuracy level.
[0021] When the ambient illuminance of the indoor or vehicle interior or other non-outdoor space is detected to be insufficient to meet the illuminance required for the 6DoF accuracy level, the ambient illuminance of the indoor or vehicle interior or other non-outdoor space is further adjusted according to the illuminance adjustment range.
[0022] Optionally, after gradually adjusting the ambient light intensity of the indoor or vehicle interior or other non-outdoor space according to the gradual adjustment range of illuminance, the method further includes:
[0023] Obtain the user's head posture at the current moment and the head posture at the previous moment;
[0024] The change in the user's head posture is determined based on the current head posture and the previous head posture.
[0025] When the change in head posture exceeds a preset posture change threshold, the change in ambient illuminance is determined based on the ambient illuminance in an indoor space, vehicle interior, or other non-outdoor space and the current ambient illuminance.
[0026] When the change in ambient illuminance exceeds a preset threshold for change in illuminance, the ambient illuminance in indoor spaces, vehicle interiors, or other non-outdoor spaces is dynamically adjusted.
[0027] Optionally, after determining the change in the user's head pose based on the current head pose and the previous head pose, the method further includes:
[0028] The time period taken to obtain the change in the user's head pose;
[0029] When the change time period is less than or equal to the time period threshold corresponding to the preset mutation threshold, control recording data of the light source in the indoor or vehicle interior or other non-outdoor space is acquired.
[0030] If third-party control record data is present in the control record data, the target prompt function is activated to remind the user to exit the intelligent immersive mode;
[0031] When no third-party control recording data is available in the control recording data, the ambient light intensity in indoor or vehicle interiors or other non-outdoor spaces is dynamically adjusted.
[0032] Optionally, determining the program type of the target application when it is detected that the target application is running includes:
[0033] When a target application is detected to be running, the running log data of the target application is obtained;
[0034] The operation log data is intelligently identified to obtain the identified log data;
[0035] The program type to which the target application belongs is determined based on the identification log data.
[0036] Furthermore, to achieve the above objectives, the present invention also proposes an ambient light intensity adjustment device, the ambient light intensity adjustment device comprising:
[0037] The detection module is used to determine the program type of the target application when the target application is detected to be running;
[0038] The determination module is used to determine the preset required illuminance based on the program type to which the target application belongs;
[0039] The adjustment module is used to gradually adjust the ambient light level of the indoor space, vehicle interior, or other non-outdoor space when the current ambient light level does not meet the preset required light level.
[0040] Furthermore, to achieve the above objectives, the present invention also proposes a smart glasses, the smart glasses comprising: a memory, a processor, and an ambient light adjustment program stored in the memory and executable on the processor, the ambient light adjustment program being configured to implement the ambient light adjustment method as described above.
[0041] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing an ambient light intensity adjustment program, wherein the ambient light intensity adjustment program, when executed by a processor, implements the ambient light intensity adjustment method as described above.
[0042] The ambient light adjustment method proposed in this invention determines the application type of a target application when it is detected as running; determines a preset required illuminance based on the application type; and gradually adjusts the ambient light in indoor, vehicle, or other non-outdoor spaces when the current ambient light does not meet the preset required illuminance. By determining the preset required illuminance based on the application type when the target application is detected as running, and then gradually adjusting the ambient light by adjusting the light sources in indoor, vehicle, or other non-outdoor spaces when the current ambient light does not meet the preset required illuminance, the method achieves a balanced switching of ambient light that satisfies both immersion and 6DOF accuracy, thereby improving the user experience. Attached Figure Description
[0043] Figure 1 This is a schematic diagram of the structure of smart glasses in the hardware operating environment involved in the embodiments of the present invention;
[0044] Figure 2 This is a flowchart illustrating the first embodiment of the ambient light intensity adjustment method of the present invention;
[0045] Figure 3 This is a schematic diagram of an illuminance adjustment control system according to an embodiment of the ambient light illuminance adjustment method of the present invention;
[0046] Figure 4 This is a flowchart illustrating the second embodiment of the ambient light intensity adjustment method of the present invention;
[0047] Figure 5 This is a schematic diagram of the functional modules of the first embodiment of the ambient light intensity adjustment device of the present invention.
[0048] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0049] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0050] Reference Figure 1 , Figure 1 This is a schematic diagram of the smart glasses structure of the hardware operating environment involved in the embodiment of the present invention.
[0051] like Figure 1 As shown, the smart glasses may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0052] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on smart glasses and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0053] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and an ambient light adjustment program.
[0054] exist Figure 1In the smart glasses shown, the network interface 1004 is mainly used for data communication with the network integrated platform workstation; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the smart glasses of the present invention can be set in the smart glasses, and the smart glasses call the ambient light adjustment program stored in the memory 1005 through the processor 1001 and execute the ambient light adjustment method provided in the embodiment of the present invention.
[0055] Based on the above hardware structure, an embodiment of the ambient light illuminance adjustment method of the present invention is proposed.
[0056] Reference Figure 2 , Figure 2 This is a schematic flowchart of the first embodiment of the ambient light intensity adjustment method of the present invention.
[0057] In the first embodiment, the ambient light intensity adjustment method includes the following steps:
[0058] Step S10: When the target application is detected to be running, determine the program type to which the target application belongs.
[0059] It should be noted that the execution subject in this embodiment is smart glasses, but it can also be other devices that can achieve the same or similar functions, such as an illumination adjustment control system. This embodiment does not limit this, and in this embodiment, the illumination adjustment control system is used as an example for explanation.
[0060] refer to Figure 3 , Figure 3 This is a schematic diagram of an illumination adjustment control system, including an optical sensor, an application processor, an RGB camera, a 6DoF module, a wireless communication module, and a smart light source. The 6DoF module includes a 6DoF camera, an inertial measurement unit (IMU), and a geomagnetic sensor. The wireless communication module and the smart light source can be directly connected via WiFi, Bluetooth, or BLE wireless communication, or indirectly connected via gateways, routers, or other devices.
[0061] It should be understood that the target application refers to the application that the user runs using smart glasses. The target application includes, but is not limited to, movie-watching applications, game applications, etc. The smart glasses include, but are not limited to, smart products such as AR glasses, XR glasses, and MR glasses. When it is detected that the user is running the target application using smart glasses, the program type of the target application is determined. The program type includes static program type and dynamic program type.
[0062] Further, step S10 includes: when a target application is detected to be running, acquiring the running log data of the target application; performing intelligent identification on the running log data to obtain identification log data; and determining the program type to which the target application belongs based on the identification log data.
[0063] It is understandable that runtime log data refers to the log data of the target application running on smart glasses. Then, the identification log data in the runtime log data is obtained through intelligent recognition. Then, the program type of the target application is determined based on the identification log data. There is a set mapping relationship between the identification log data and the program type.
[0064] Step S20: Determine the preset required illuminance based on the program type to which the target application belongs.
[0065] It is understandable that the preset required illumination level refers to the optimal illumination level for running the target application on the smart glasses. This preset required illumination level can be determined by the application type to which the target application belongs, meaning that different types of applications have different preset required illumination levels.
[0066] Further, step S20 includes: the preset required illuminance includes the illuminance required for an immersive experience and the illuminance required for a 6DoF accuracy level; when the program type to which the target application belongs is a static program type, the preset required illuminance is determined to be the illuminance required for an immersive experience; when the program type to which the target application belongs is a dynamic program type, the accuracy level requirement for calling the 6DoF function is obtained; and the illuminance required for the 6DoF accuracy level is determined according to the accuracy level requirement.
[0067] It should be understood that the illuminance required for an immersive experience refers to the illuminance required for the user to enter the smart immersive mode using smart glasses, either indoors, inside a vehicle, or in other non-outdoor spaces. The illuminance required for 6DoF accuracy level refers to the illuminance required for the user to invoke the 6DoF function using smart glasses, either indoors, inside a vehicle, or in other non-outdoor spaces. After determining the program type of the target application, it is determined whether the program type is a static program type. If so, the preset required illuminance is determined as the illuminance required for the immersive experience. If the program type is a dynamic program type, the illuminance required for the 6DoF accuracy level is determined according to the accuracy level requirements for invoking the 6DoF function. Different accuracy level requirements for invoking the 6DoF function result in different required illuminance levels. For example, the required illuminance for invoking the 6DoF function at accuracy level A is A, and the required illuminance for invoking the 6DoF function at accuracy level B is B.
[0068] Step S30: When the current ambient illuminance in an indoor space, vehicle interior, or other non-outdoor space does not meet the preset required illuminance, the ambient illuminance in the indoor space, vehicle interior, or other non-outdoor space is gradually adjusted.
[0069] It should be understood that the current ambient illuminance of an indoor or vehicle interior or other non-outdoor space can be obtained through optical sensors. When the current ambient illuminance of an indoor or vehicle interior or other non-outdoor space is obtained, it is determined whether the current ambient illuminance meets the preset required illuminance. If not, it indicates that the ambient illuminance of the indoor or vehicle interior or other non-outdoor space needs to be adjusted. This adjustment can be done gradually, specifically by controlling the intelligent light source in the indoor or vehicle interior or other non-outdoor space to gradually adjust the ambient illuminance of the indoor or vehicle interior or other non-outdoor space.
[0070] Furthermore, after step S30, the method further includes: acquiring the user's head posture at the current moment and the head posture at the previous moment; determining the change in the user's head posture based on the current head posture and the head posture at the previous moment; when the change in the head posture is greater than a preset posture change threshold, determining the change in ambient illuminance based on the ambient illuminance in the indoor or vehicle interior or other non-outdoor space and the current ambient illuminance; and when the change in ambient illuminance is greater than a preset illuminance change threshold, dynamically adjusting the ambient illuminance in the indoor or vehicle interior or other non-outdoor space.
[0071] It is understandable that head posture refers to the posture of the user's head while wearing smart glasses. The amount of change in head posture is determined based on the user's head posture at the current moment and the head posture at the previous moment. Then, it is determined whether the amount of change in head posture is greater than a preset posture change threshold. If so, the application processor immediately notifies the optical sensor to detect ambient light. Then, based on the detected ambient light in the indoor or vehicle interior or other non-outdoor space and the current ambient light, the amount of change in ambient light is determined. It is then determined whether the amount of change in ambient light is greater than a preset light change threshold. If so, the ambient light in the indoor or vehicle interior or other non-outdoor space is dynamically adjusted by adjusting the smart light source.
[0072] Furthermore, after determining the change in the user's head posture based on the current head posture and the previous head posture, the method further includes: acquiring the time period consumed by the change in the user's head posture; when the time period is less than or equal to the time period threshold corresponding to a preset abrupt change threshold, acquiring control recording data of the light source in the indoor or vehicle interior or other non-outdoor space; when third-party control recording data exists in the control recording data, activating the target prompt function to remind the user to exit the intelligent immersive mode; and when no third-party control recording data exists in the control recording data, dynamically adjusting the ambient light intensity in the indoor or vehicle interior or other non-outdoor space.
[0073] It should be understood that the change time period refers to the time period taken for the head posture to change from the previous moment to the current moment. This change time period can be calculated from the previous moment and the current moment. Then, it is determined whether the change time period is less than or equal to the time period threshold corresponding to the preset mutation threshold. If so, it indicates that the head posture is a mutation. At this time, wireless communication with the intelligent light source is initiated. Then, it is determined whether there is third-party control recording data for the light source control recording data in the indoor or vehicle interior or other non-outdoor spaces. If so, the target prompt function is activated to remind and suggest whether the user should exit the intelligent immersion mode. If not, the ambient light intensity in the indoor or vehicle interior or other non-outdoor spaces is dynamically adjusted by adjusting the intelligent light source.
[0074] This embodiment determines the application type of a target application upon detection of its operation; determines a preset required illuminance based on the application type; and gradually adjusts the ambient illuminance of an indoor, vehicle, or other non-outdoor space when the current ambient illuminance does not meet the preset required illuminance. By determining the preset required illuminance based on the application type upon detection of a target application, and then gradually adjusting the ambient illuminance by adjusting the light sources in the indoor, vehicle, or other non-outdoor spaces when the current ambient illuminance does not meet the preset required illuminance, this embodiment achieves a balance between immersive experience and 6DOF accuracy in ambient illuminance switching, thereby improving the user experience.
[0075] In one embodiment, such as Figure 4 The second embodiment of the ambient light intensity adjustment method of the present invention, based on the first embodiment, includes step S30, which includes:
[0076] Step S301: When the current ambient illuminance in the indoor space, vehicle interior, or other non-outdoor space does not meet the preset required illuminance, determine the illuminance adjustment range.
[0077] It should be understood that the illuminance adjustment range refers to the range of gradually adjusting the ambient illuminance of an indoor or vehicle interior or other non-outdoor space. This illuminance adjustment range can be determined by the difference between the current ambient illuminance of the indoor or vehicle interior or other non-outdoor space and the preset required illuminance. For example, the illuminance adjustment range can be 20% of the difference.
[0078] Step S302: The ambient light intensity of the indoor or vehicle interior or other non-outdoor space is gradually adjusted according to the illuminance adjustment range.
[0079] Understandably, after determining the illuminance adjustment range, the ambient light illuminance in indoor or vehicle interiors or other non-outdoor spaces can be gradually adjusted by adjusting the intelligent light source according to the illuminance adjustment range.
[0080] Further, after step S302, the method includes: acquiring the ambient illuminance of the indoor or vehicle interior or other non-outdoor space after gradual adjustment; stopping the adjustment of the ambient illuminance of the indoor or vehicle interior or other non-outdoor space after gradual adjustment when the ambient illuminance of the indoor or vehicle interior or other non-outdoor space after gradual adjustment meets the illuminance required for an immersive experience; detecting whether the ambient illuminance of the indoor or vehicle interior or other non-outdoor space after gradual adjustment meets the illuminance required for the 6DoF accuracy level using a 6DoF detection algorithm; and continuing to adjust the ambient illuminance of the indoor or vehicle interior or other non-outdoor space after gradual adjustment according to the illuminance gradual adjustment range when the ambient illuminance of the indoor or vehicle interior or other non-outdoor space after gradual adjustment is detected to not meet the illuminance required for the 6DoF accuracy level.
[0081] It should be understood that after gradually adjusting the ambient light level in the indoor or vehicle interior or other non-outdoor spaces, if the preset required illuminance is the illuminance required for an immersive experience, then it is determined whether the gradually adjusted ambient light level in the indoor or vehicle interior or other non-outdoor spaces meets the illuminance required for an immersive experience. If so, the adjustment of the gradually adjusted ambient light level in the indoor or vehicle interior or other non-outdoor spaces is stopped. If the preset required illuminance is the illuminance required for a 6DoF accuracy level, then the 6DoF detection algorithm is used to detect whether the gradually adjusted ambient light level in the indoor or vehicle interior or other non-outdoor spaces meets the illuminance required for a 6DoF accuracy level. If not, the ambient light level in the indoor or vehicle interior or other non-outdoor spaces is adjusted according to the illuminance adjustment range until the ambient light level in the indoor or vehicle interior or other non-outdoor spaces meets the illuminance required for a 6DoF accuracy level.
[0082] In this embodiment, when the current ambient illuminance in the indoor space, vehicle interior, or other non-outdoor space does not meet the preset required illuminance, a gradual illuminance adjustment range is determined. The ambient illuminance in the indoor space, vehicle interior, or other non-outdoor space is then gradually adjusted according to this range. By using this method, it is determined whether the current ambient illuminance in the indoor space, vehicle interior, or other non-outdoor space meets the preset required illuminance. If not, a gradual illuminance adjustment range is determined, and then the ambient illuminance in the indoor space, vehicle interior, or other non-outdoor space is gradually adjusted according to this range. This effectively improves the accuracy of adjusting the ambient illuminance, ensuring that the adjusted ambient illuminance meets the preset required illuminance.
[0083] Furthermore, this embodiment of the invention also proposes a storage medium storing an ambient light intensity adjustment program, which, when executed by a processor, implements the steps of the ambient light intensity adjustment method described above.
[0084] Since this storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.
[0085] In addition, refer to Figure 5 The present invention also proposes an ambient light intensity adjustment device, the ambient light intensity adjustment device comprising:
[0086] The detection module 10 is used to determine the program type of the target application when the target application is detected to be running.
[0087] The determination module 20 is used to determine the preset required illuminance based on the program type to which the target application belongs.
[0088] The adjustment module 30 is used to gradually adjust the ambient light level of the indoor space, vehicle interior, or other non-outdoor space when the current ambient light level does not meet the preset required light level.
[0089] This embodiment determines the application type of a target application upon detection of its operation; determines a preset required illuminance based on the application type; and gradually adjusts the ambient illuminance of an indoor, vehicle, or other non-outdoor space when the current ambient illuminance does not meet the preset required illuminance. By determining the preset required illuminance based on the application type upon detection of a target application, and then gradually adjusting the ambient illuminance by adjusting the light sources in the indoor, vehicle, or other non-outdoor spaces when the current ambient illuminance does not meet the preset required illuminance, this embodiment achieves a balance between immersive experience and 6DOF accuracy in ambient illuminance switching, thereby improving the user experience.
[0090] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.
[0091] In addition, for technical details not described in detail in this embodiment, please refer to the ambient light intensity adjustment method provided in any embodiment of the present invention, which will not be repeated here.
[0092] Other embodiments or implementation methods of the ambient light intensity adjustment device of the present invention can be referred to the above-described method embodiments, and will not be repeated here.
[0093] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0094] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0095] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, all-in-one platform workstation, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0096] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for adjusting ambient light intensity, characterized in that, The ambient light intensity adjustment method includes the following steps: When a target application is detected running, the program type of the target application is determined; The preset required illuminance is determined based on the program type to which the target application belongs. The preset required illuminance includes the illuminance required for immersive experience and the illuminance required for 6DoF accuracy level. When the current ambient light level in an indoor space, vehicle interior, or other non-outdoor space does not meet the preset required light level, the ambient light level in the indoor space, vehicle interior, or other non-outdoor space is gradually adjusted.
2. The ambient light intensity adjustment method as described in claim 1, characterized in that, The step of determining the preset required illuminance based on the program type of the target application includes: When the target application belongs to a static application type, the preset required illumination is determined to be the illumination required for an immersive experience. When the target application belongs to the program type of dynamic program, obtain the accuracy level requirement for calling the 6DoF function; The required illuminance for a 6DoF accuracy level is determined based on the accuracy level requirements.
3. The ambient light intensity adjustment method as described in claim 1, characterized in that, When the current ambient illuminance in an indoor space, vehicle interior, or other non-outdoor space does not meet the preset required illuminance, the ambient illuminance in the indoor space, vehicle interior, or other non-outdoor space is gradually adjusted, including: When the current ambient illuminance in the indoor space, vehicle interior, or other non-outdoor space does not meet the preset required illuminance, a gradual illuminance adjustment range is determined. The ambient light intensity in the indoor, vehicle interior, or other non-outdoor spaces is gradually adjusted according to the illuminance adjustment range.
4. The ambient light intensity adjustment method as described in claim 3, characterized in that, After gradually adjusting the ambient light intensity of the indoor or vehicle interior or other non-outdoor space according to the illuminance adjustment range, the method further includes: Obtain the ambient illuminance of the indoor or vehicle interior or other non-outdoor space after gradual adjustment; When the ambient light intensity of the indoor or vehicle interior or other non-outdoor space, after being gradually adjusted, meets the light intensity required for an immersive experience, the adjustment of the ambient light intensity of the indoor or vehicle interior or other non-outdoor space, after being gradually adjusted, is stopped. The 6DoF detection algorithm is used to detect whether the ambient illuminance of the indoor or vehicle interior or other non-outdoor space, after being gradually adjusted, meets the illuminance required for the 6DoF accuracy level. If the ambient illuminance of the indoor or vehicle interior or other non-outdoor space after gradual adjustment is detected to be insufficient to meet the illuminance required for the 6DoF accuracy level, the ambient illuminance of the indoor or vehicle interior or other non-outdoor space after gradual adjustment shall continue to be adjusted according to the illuminance adjustment range.
5. The ambient light intensity adjustment method as described in claim 1, characterized in that, After gradually adjusting the ambient light intensity of the indoor or vehicle interior or other non-outdoor space according to the illuminance adjustment range, the method further includes: Obtain the user's head posture at the current moment and the head posture at the previous moment; The change in the user's head posture is determined based on the current head posture and the previous head posture. When the change in head posture exceeds a preset posture change threshold, the change in ambient illuminance is determined based on the ambient illuminance in an indoor space, vehicle interior, or other non-outdoor space and the current ambient illuminance. When the change in ambient illuminance exceeds a preset threshold for change in illuminance, the ambient illuminance in indoor spaces, vehicle interiors, or other non-outdoor spaces is dynamically adjusted.
6. The ambient light intensity adjustment method as described in claim 5, characterized in that, After determining the change in the user's head pose based on the current head pose and the previous head pose, the method further includes: The time period taken to obtain the change in the user's head pose; When the change time period is less than or equal to the time period threshold corresponding to the preset mutation threshold, control recording data of the light source in the indoor or vehicle interior or other non-outdoor space is acquired. If third-party control record data is present in the control record data, the target prompt function is activated to remind the user to exit the intelligent immersive mode; When no third-party control recording data is available in the control recording data, the ambient light intensity in indoor or vehicle interiors or other non-outdoor spaces is dynamically adjusted.
7. The ambient light intensity adjustment method as described in claim 1, characterized in that, When a target application is detected to be running, determining the program type of the target application includes: When a target application is detected to be running, the running log data of the target application is obtained; The operation log data is intelligently identified to obtain the identified log data; The program type to which the target application belongs is determined based on the identification log data.
8. An ambient light intensity adjustment device, characterized in that, The ambient light intensity adjustment device includes: The detection module is used to determine the program type of the target application when the target application is detected to be running; The determination module is used to determine the preset required illuminance based on the program type to which the target application belongs. The preset required illuminance includes the illuminance required for immersive experience and the illuminance required for 6DoF accuracy level. The adjustment module is used to gradually adjust the ambient light level of the indoor space, vehicle interior, or other non-outdoor space when the current ambient light level does not meet the preset required light level.
9. A type of smart glasses, characterized in that, The smart glasses include: a memory, a processor, and an ambient light adjustment program stored in the memory and executable on the processor, the ambient light adjustment program being configured to implement the ambient light adjustment method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that, The storage medium stores an ambient light intensity adjustment program, which, when executed by a processor, implements the ambient light intensity adjustment method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Light intensity reminding method and terminal device
CN104965636A