Brightness adjustment method, head-mounted display device, storage medium and computer product
By detecting the relative position of the wearer and the target terminal device and adjusting the brightness layer in real time within the head-mounted display device, the problem of delayed brightness adjustment in head-mounted display devices is solved. This allows the brightness to be adjusted to the wearer's preferred brightness before the screen is turned on, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GOERTEK INC
- Filing Date
- 2024-11-27
- Publication Date
- 2026-05-29
AI Technical Summary
Head-mounted display devices have a long delay in adjusting brightness, causing wearers to experience a period of excessively bright display content before seeing appropriately bright content.
When a screen-on notification event is received from the target terminal device, the relative position between the wearer and the target terminal device is detected, the device display area is determined, a brightness layer is added to this area, the target brightness adjustment parameters are determined based on the screen-on notification event and the preferred brightness, and the brightness layer is adjusted to the preferred brightness in real time.
Before the target terminal device emits light, the head-mounted display device can adjust its own screen brightness to match the wearer's preference, avoiding the wearer seeing excessively bright display content and improving the timeliness of brightness adjustment.
Smart Images

Figure CN122116842A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of head-mounted display technology, and more particularly to a brightness adjustment method, a head-mounted display device, a storage medium, and a computer program product. Background Technology
[0002] AR (Augmented Reality) glasses are head-mounted display devices that are currently developing and becoming increasingly widespread. AR glasses can present the content displayed on other terminal devices such as mobile phones and laptops to the wearer at close range through a display screen, thereby providing the wearer with a more immersive viewing experience.
[0003] In related technologies, AR glasses typically detect the brightness of the terminal device being viewed by the wearer to determine the brightness emitted by the terminal device, and automatically reduce the brightness of their own display when the brightness emitted by the terminal device is detected to protect the wearer's eyesight.
[0004] However, AR glasses rely on the brightness emitted by the terminal device to adjust their own display screen. This means that before the wearer sees the display content with appropriate brightness, they usually encounter a period of excessively bright display content. As a result, AR glasses have a technical problem of a long delay in adjusting the display brightness. Summary of the Invention
[0005] The main objective of this application is to provide a brightness adjustment method, a head-mounted display device, a storage medium, and a computer program product, aiming to solve the technical problem of long delay in the timing of brightness adjustment of the display screen in related technologies.
[0006] To achieve the above objectives, this application proposes a brightness adjustment method applied to a head-mounted display device, the method comprising:
[0007] Upon receiving a screen-on notification event from the target terminal device, a first relative position is detected, wherein the first relative position is the relative position between the wearer's eyes and the target terminal device;
[0008] The device display area corresponding to the target terminal device is determined based on the first relative position, and a brightness layer is added to the device display area;
[0009] The first target brightness adjustment parameter is determined based on the screen-on notification event and the preset preferred brightness, and the first real-time brightness of the brightness layer is adjusted to the preferred brightness according to the first target brightness adjustment parameter.
[0010] In one embodiment, the head-mounted display device includes an external camera device, and the step of detecting the first relative position includes:
[0011] A preset image is sent to the target terminal device, and the target terminal device is photographed by the external camera device to obtain a first image;
[0012] If a match is detected between the first image and the preset image, a second relative position is determined using the first image, wherein the second relative position is the relative position between the external camera device and the target terminal device;
[0013] The first relative position is determined based on the second relative position.
[0014] In one embodiment, the head-mounted display device further includes a built-in camera device, and the step of determining the first relative position based on the second relative position includes:
[0015] A preset third relative position is determined, wherein the third relative position is the relative position between the built-in camera device and the external camera device;
[0016] The built-in camera device captures a second image of the wearer's eyes, and a fourth relative position is determined based on the second image, wherein the fourth relative position is the relative position between the built-in camera device and the eyes;
[0017] A fifth relative position is determined based on the third relative position and the fourth relative position, wherein the fifth relative position is the relative position between the eye and the external camera device;
[0018] Based on the fifth relative position and the second relative position, the first relative position is determined.
[0019] In one embodiment, the step of determining the first target brightness adjustment parameter based on the screen-on notification event and the preset preferred brightness includes:
[0020] Determine the device brightness included in the screen-on notification event, and determine the first brightness difference between the preset preferred brightness and the device brightness;
[0021] The first target brightness adjustment parameter is determined based on the first brightness difference.
[0022] In one embodiment, the step of determining the first target brightness adjustment parameter based on the first brightness difference includes:
[0023] Determine multiple preset brightness differences and preset adjustment parameters that match each of the multiple preset brightness differences;
[0024] Based on the first brightness difference, multiple preset brightness differences are filtered to determine a target brightness difference that matches the first brightness difference;
[0025] The preset adjustment parameter that matches the target brightness difference is determined as the first target brightness adjustment parameter.
[0026] In one embodiment, the step of determining the first target brightness adjustment parameter based on the screen-on notification event and the preset preferred brightness further includes:
[0027] Read the device display content contained in the screen-on notification event, and determine the content brightness corresponding to each image frame in the device display content;
[0028] A second brightness difference is determined between the brightness of each content and a preset preferred brightness, and a first target brightness adjustment parameter is determined based on each of the second brightness differences.
[0029] In one embodiment, after the step of determining the first target brightness adjustment parameter based on the screen-on notification event and the preset preferred brightness, the method further includes:
[0030] The first target brightness adjustment parameter is sent to the target terminal device so that the target terminal device can adjust the device brightness to the preferred brightness according to the first target brightness adjustment parameter.
[0031] In one embodiment, after the step of determining the device display area corresponding to the target terminal device based on the first relative position, the method further includes:
[0032] The environmental display area is determined based on the device display area;
[0033] Ambient light parameters are collected using an external camera device, and the brightness adjustment parameters of the second target are determined based on the ambient light parameters.
[0034] Adjust the second real-time brightness of the ambient display area to the target brightness according to the second target brightness adjustment parameter.
[0035] In one embodiment, the method further includes:
[0036] Receive first audio data sent by the target terminal device, and determine the first volume corresponding to the audio data;
[0037] Determine a preset preferred volume, and determine the target volume adjustment parameters based on the preferred volume and the first volume;
[0038] The first audio data is modified according to the target volume adjustment parameters to obtain the second audio data, and the second audio data is played.
[0039] In one embodiment, after the step of adjusting the first real-time brightness of the brightness layer to the preferred brightness according to the first target brightness adjustment parameter, the method further includes:
[0040] The preferred volume is sent to the target terminal device so that the target terminal device can modify the first audio data based on the preferred volume to obtain the second audio data.
[0041] In addition, to achieve the above objectives, this application also proposes a head-mounted display device, the device comprising: an external camera device, a built-in camera device, a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the brightness adjustment method described above.
[0042] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the brightness adjustment method described above.
[0043] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the brightness adjustment method described above.
[0044] The brightness adjustment method provided in this application embodiment is applied to a head-mounted display device. Upon receiving a screen-on notification event from a target terminal device, it detects a first relative position, where the first relative position is the relative position between the wearer's eyes and the target terminal device. Based on the first relative position, it determines the device display area corresponding to the target terminal device and adds a brightness layer to the device display area. Based on the screen-on notification event and a preset preferred brightness, it determines a first target brightness adjustment parameter and adjusts the first real-time brightness of the brightness layer to the preferred brightness according to the first target brightness adjustment parameter.
[0045] In this embodiment, during operation, the head-mounted display device first establishes a communication connection with the target terminal device. Upon receiving a screen-on notification from the target terminal device, it detects the first relative position between the wearer's eyes and the target terminal device. Then, based on the first relative position, the head-mounted display device simulates the position of the target terminal device from the wearer's perspective, thereby determining the device display area of the target terminal device on its own configured display screen. The head-mounted display device adds a brightness layer to this device display area. Finally, based on the screen-on notification event and a preset preferred brightness, the head-mounted display device determines a first target brightness adjustment parameter for adjusting the brightness layer, and adjusts the brightness layer according to the first target brightness adjustment parameter to adjust the first real-time brightness of the brightness layer to a brightness that matches the wearer's preference.
[0046] Thus, this application solves the technical problem of long delay in adjusting the brightness of the display screen in related technologies. Specifically, by adjusting the brightness of the device display area of the target terminal device within the display screen before the target terminal device emits light, this application ensures that the brightness emitted by the target terminal device as seen by the wearer through the device display area matches their preferred brightness. This avoids the situation where the wearer sees excessively bright display content before the head-mounted display adjusts its screen brightness, achieving the technical effect of enabling the head-mounted display to adjust its own screen brightness to match the wearer's preferred brightness before the target terminal device emits light. Attached Figure Description
[0047] 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.
[0048] 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.
[0049] Figure 1 This is a schematic diagram of the structure of AR glasses according to an embodiment of the brightness adjustment method of this application;
[0050] Figure 2 This is a flowchart illustrating an embodiment of the brightness adjustment method of this application.
[0051] Figure 3 A schematic diagram of a simulated viewing angle related to an embodiment of the brightness adjustment method of this application;
[0052] Figure 4This is a schematic diagram of the display screen area division involved in an embodiment of the brightness adjustment method.
[0053] Figure 5 This is a schematic diagram of the module structure of the brightness adjustment device according to an embodiment of this application;
[0054] Figure 6 This is a schematic diagram of the device structure of the hardware operating environment involved in the brightness adjustment method in the embodiments of this application.
[0055] 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
[0056] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0057] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0058] In this embodiment, for ease of description, please refer to Figure 1 , Figure 1 This is a schematic diagram of the structure of AR glasses according to an embodiment of the brightness adjustment method of this application, as shown below. Figure 1 As shown, the following description focuses on head-mounted display devices equipped with external cameras, internal cameras, light detection devices, lenses, and displays, or terminals such as mobile terminals, data storage control terminals, and PCs connected to an electronic control unit associated with the head-mounted display device. These head-mounted display devices include, but are not limited to, Mixed Reality (MR) devices (e.g., MR glasses or MR helmets), Augmented Reality (AR) devices (e.g., AR glasses or AR helmets), Virtual Reality (VR) devices (e.g., VR glasses or VR helmets), Extended Reality (XR) devices, or some combination thereof.
[0059] Based on the aforementioned head-mounted display device, the overall concept of the brightness adjustment method of this application is proposed.
[0060] AR (Augmented Reality) glasses are head-mounted display devices that are rapidly developing and becoming more widespread. AR glasses can present content displayed on other devices such as smartphones and laptops to the wearer at close range, providing a more immersive viewing experience. In related technologies, AR glasses typically detect the brightness of the device the wearer is viewing and automatically reduce their own display brightness when the detected brightness is too high to protect the wearer's eyesight. However, AR glasses rely on the brightness already emitted by the device to adjust their display, which often results in the wearer being exposed to excessively bright content before seeing appropriately bright content. This leads to a technical problem of a relatively long delay in the timing of display brightness adjustment in AR glasses.
[0061] To address the above issues, this application provides a brightness adjustment method applied to a head-mounted display device. The method includes: upon receiving a screen-on notification event from a target terminal device, detecting a first relative position, wherein the first relative position is the relative position between the wearer's eyes and the target terminal device; determining a device display area corresponding to the target terminal device based on the first relative position, and adding a brightness layer to the device display area; determining a first target brightness adjustment parameter based on the screen-on notification event and a preset preferred brightness, and adjusting the first real-time brightness of the brightness layer to the preferred brightness according to the first target brightness adjustment parameter.
[0062] Thus, this application solves the technical problem of long delay in adjusting the brightness of the display screen in related technologies. Specifically, by adjusting the brightness of the device display area of the target terminal device within the display screen before the target terminal device emits light, this application ensures that the brightness emitted by the target terminal device as seen by the wearer through the device display area matches their preferred brightness. This avoids the situation where the wearer sees excessively bright display content before the head-mounted display adjusts its screen brightness, achieving the technical effect of enabling the head-mounted display to adjust its own screen brightness to match the wearer's preference before the target terminal device emits light.
[0063] Based on the overall concept of the brightness adjustment method of this application, the embodiments of this application provide a brightness adjustment method, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the brightness adjustment method of this application. In this embodiment, the brightness adjustment method is applied to a head-mounted display device, and the head-mounted display device and the target terminal device are communicatively connected. The method includes steps S10 to S30:
[0064] Step S10: Upon receiving a screen-on notification event from the target terminal device, detect the first relative position, wherein the first relative position is the relative position between the wearer's eyes and the target terminal device;
[0065] In this embodiment, during operation, the head-mounted display device first establishes a communication connection with the target terminal device used by the wearer. Upon receiving a screen-on notification event from the target terminal device, it invokes its configured external and internal camera devices to detect the wearer's eyes and the target terminal device respectively, in order to determine the first relative position between the wearer's eyes and the target terminal device.
[0066] For example, when the head-mounted display device worn by the user is AR glasses, the AR glasses first call its own configured Bluetooth module to establish a communication connection with the target terminal device used by the wearer. At the same time, before the target terminal device switches from the screen-off state to the screen-on state, it generates a screen-on notification event based on the device brightness parameters after entering the screen-on state, and sends the screen-on notification event to the AR glasses. At this time, the AR glasses receive the screen-on notification event sent by the target terminal device through the Bluetooth module, and call its own configured external camera and internal camera to detect the target terminal device and the wearer's eyes respectively, so as to determine the first relative position between the wearer's eyes and the target terminal device.
[0067] In addition, in this embodiment and another embodiment, the AR glasses can detect the first relative position between the wearer's eyes and the target terminal device through the external camera and the built-in camera. After establishing a communication connection with the target terminal device through the Bluetooth module, the glasses can obtain the Bluetooth address of the target terminal device through the Bluetooth module, thereby determining the device location information of the target terminal device based on the Bluetooth address, and then determining the first relative position between the wearer's eyes and the target terminal device based on the device location information.
[0068] In this way, the head-mounted display device can establish a communication connection with the target terminal device used by the wearer before the target terminal device emits light, and determine whether to receive the screen lighting prompt event sent by the target terminal device, thereby adjusting the brightness of its own display screen before the target terminal device emits light.
[0069] In one feasible implementation, the head-mounted display device includes an external camera device, and the step of "detecting the first relative position" in step S10 above may specifically include steps S101 to S103:
[0070] Step S101: Send the preset image to the target terminal device, and take a picture of the target terminal device through the external camera device to obtain the first image;
[0071] Step S102: If the first image and the preset image are detected to match, a second relative position is determined by the first image, wherein the second relative position is the relative position between the external camera device and the target terminal device;
[0072] Step S103: Determine the first relative position based on the second relative position.
[0073] It should be noted that the preset image is intended to be displayed on the target terminal device after the screen is turned on. It is understandable that when the distance between the AR glasses and the target terminal device is relatively close, if the first phase position is determined solely by the Bluetooth address, there may be misjudgment of the position information. Therefore, the accurate first relative position between the wearer's eyes and the target terminal device can be obtained by guiding the wearer to view the preset image played on the target terminal device, while simultaneously calling on the external camera device and the built-in camera device to detect and perform optical analysis on the wearer and the target terminal device respectively.
[0074] In this embodiment, after receiving a screen-on prompt event from the target terminal device, the head-mounted display device first reads its own configured storage module to obtain a preset image with a brightness preset to the wearer's preferred brightness, and sends the preset image to the target terminal device to cause the target terminal device to light up its screen and display the preset image. At the same time, the head-mounted display device obtains viewing prompt information matching the preset image and outputs the viewing prompt information to the display screen to guide the wearer to turn their gaze to the target terminal device. When the head-mounted display device detects that the wearer is looking at the target terminal device, it calls its own configured external camera device to take a picture of the target terminal device to obtain a first image. Then, the head-mounted display device compares the first image with the preset image to determine whether the first image and the preset image match. If the head-mounted display device detects that the preset image and the first image match, it performs optical processing on the first image to determine a second relative position between the external camera device and the target terminal device. Finally, the head-mounted display device determines a first relative position between the wearer's eyes and the target terminal device based on the second relative position.
[0075] For example, after receiving a screen-on notification event from the target terminal device, the AR glasses first read their configured storage module to obtain a preset image and transmit it to the target terminal device via Bluetooth. Simultaneously, the AR glasses send a screen-on command to the target terminal device to illuminate it, thereby displaying the preset image. At this point, the AR glasses obtain preset viewing prompts and output them to their configured display screen, showing the prompts to the wearer and guiding them to view the preset image displayed on the target terminal device. When the AR glasses detect that the wearer is looking at the target terminal device, they use their external camera to capture a first image of the target terminal device. Then, the AR glasses match the first image with a preset image. If the first image contains the preset image, the AR glasses extract the image features corresponding to the first image and determine the distance parameters between the target terminal device and the external camera based on the image features. The AR glasses then determine the second relative position between the target terminal device and the external camera based on the distance parameters. Finally, the AR glasses determine the first relative position between the wearer's eyes and the target terminal device based on the second relative position.
[0076] In this way, the head-mounted display device can determine the first relative position between the target terminal device and the wearer's eyes before the target terminal device emits light. Then, based on the first relative position, it can simulate the wearer's perspective to determine the position of the target terminal device from the wearer's perspective. Subsequently, it can determine the device display area on the display screen for displaying the target terminal device, and ensure that it can adjust the brightness of different areas of the display screen differently so that the brightness seen by the wearer's glasses when viewing the target terminal device or the surrounding environment matches the wearer's preferred brightness setting.
[0077] In one feasible implementation, the head-mounted display device further includes a built-in camera device, and step S103 above may specifically include steps S1031 to S1034:
[0078] Step S1031: Determine a preset third relative position, wherein the third relative position is the relative position between the built-in camera device and the external camera device;
[0079] Step S1032: Take a picture of the wearer's eyes using the built-in camera device to obtain a second image, and determine a fourth relative position based on the second image, wherein the fourth relative position is the relative position between the built-in camera device and the eyes;
[0080] Step S1033: Determine a fifth relative position based on the third relative position and the fourth relative position, wherein the fifth relative position is the relative position between the eye and the external camera device;
[0081] Step S1034: Determine the first relative position based on the fifth relative position and the second relative position.
[0082] In this embodiment, after determining the second relative position, the head-mounted display device first reads its own configured storage module to determine the third relative position between the external camera device and the internal camera device. Then, the head-mounted display device calls its own configured internal camera device to take a picture of the wearer's eyes to obtain a second image. The head-mounted display device performs optical processing on the second image to determine the fourth relative position between the wearer's eyes and the internal camera device. Then, the head-mounted display device processes the third and fourth relative positions to determine the fifth relative position between the wearer's eyes and the external camera device. Finally, the head-mounted display device calculates the first relative position between the wearer's eyes and the target terminal device based on the fifth and second relative positions.
[0083] For example, after determining the second relative position, the AR glasses first read the aforementioned storage module to obtain the deployment location information corresponding to the external camera and the built-in camera, respectively. The AR glasses then determine the third relative position between the external camera and the built-in camera based on the deployment location information. After that, the AR glasses call its own configured built-in camera to take a picture of the wearer's eyes to obtain a second image. The AR glasses then perform optical processing on the second image to determine the distance parameter generated between the wearer's eyes and the built-in camera based on the second image, and then determine the fourth relative position between the wearer's eyes and the built-in camera based on the distance parameter. After that, the AR glasses process the fourth relative position and the third relative position to obtain the fifth relative position between the wearer's eyes and the external camera. Finally, the AR glasses calculate the first relative position between the wearer's eyes and the target terminal device based on the fifth relative position and the aforementioned second relative position.
[0084] In this way, the head-mounted display device can determine the first relative position between the target terminal device and the wearer's eyes before the target terminal device emits light. Then, based on the first relative position, it can simulate the wearer's perspective to determine the position of the target terminal device from the wearer's perspective. Subsequently, it can determine the device display area on the display screen for displaying the target terminal device, and ensure that it can adjust the brightness of different areas of the display screen differently so that the brightness seen by the wearer's glasses when viewing the target terminal device or the surrounding environment matches the wearer's preferred brightness setting.
[0085] Step S20: Determine the device display area corresponding to the target terminal device based on the first relative position, and add a brightness layer to the device display area;
[0086] It should be noted that this brightness layer is a layer located on the display screen. It can be understood that by adding a brightness layer, the brightness of the device's display area can be made to differ from the brightness of the non-device display area on the display screen.
[0087] In this embodiment, after determining the first relative position, the head-mounted display device detects its own configured display screen based on the first relative position to determine the device display area of the target terminal device on the display screen from the wearer's perspective. The head-mounted display device obtains a preset brightness layer and adds the brightness layer to the device display area.
[0088] For example, please refer to Figure 3 and Figure 4 ,in, Figure 3 This is a schematic diagram of a simulated viewing angle according to an embodiment of the brightness adjustment method of this application. Figure 4 This is a schematic diagram illustrating the division of the display screen area according to an embodiment of the brightness adjustment method, as shown below. Figure 3 As shown, after determining the first relative position, the AR glasses determine the actual location information of the target terminal device and the gaze point on the display screen based on the first relative position. The AR glasses project the actual device position onto the display screen they are configured with, and when they detect that the gaze point has moved to the target terminal device, they determine the area where the target terminal device is located on the display screen as follows: Figure 4 The AR glasses then obtain a preset brightness layer from the device display area shown and add the brightness layer to the device display area.
[0089] In this way, the head-mounted display device can simulate the wearer's perspective based on the first relative positional relationship, thereby determining the position of the target terminal device from the wearer's perspective, and then determining the device display area of the target terminal device on the display screen. An additional brightness layer is added to the device display area to create a difference between the brightness of the device display area and the brightness of other areas in the display screen, thereby ensuring that it can adjust the brightness of different areas of the display screen differently, so that when the wearer looks at the target terminal device or the surrounding environment, the light seen by the glasses matches the wearer's preferred brightness setting.
[0090] Step S30: Determine the first target brightness adjustment parameter based on the screen-on notification event and the preset preferred brightness, and adjust the first real-time brightness of the brightness layer to the preferred brightness according to the first target brightness adjustment parameter;
[0091] In this embodiment, after adding a brightness layer to the device display area, the head-mounted display device further reads the screen-on notification event to determine the device brightness parameters contained in the screen-on notification event, and determines a first target brightness adjustment parameter for adjusting the real-time brightness of the device display area according to the device brightness parameters. The head-mounted display device adjusts the first real-time brightness of the device display area according to the first target brightness adjustment parameter to adjust the first real-time brightness to a brightness that matches the wearer's preference.
[0092] For example, after adding the brightness layer to the device display area, the AR glasses further read the screen-on notification event sent by the target terminal device and extract the device brightness parameters contained in the screen-on notification event. The AR glasses calculate a first target brightness adjustment parameter for adjusting the real-time brightness in the device display area based on the device brightness parameters and the preset preferred brightness. Finally, the AR glasses adjust the device display area according to the first target brightness adjustment parameter to adjust the first real-time brightness in the device display area to the aforementioned preferred brightness.
[0093] In this way, the head-mounted display device can adjust the display area of the device according to the brightness that the target terminal device will emit before the wearer uses it, so that the brightness seen by the wearer's glasses matches the preferred brightness set by the wearer when viewing the target terminal device.
[0094] Furthermore, in this embodiment and another embodiment, after adjusting the first real-time brightness of the device display area to the aforementioned preferred brightness, the head-mounted display device can also detect the wearer through its own configured inertial sensor. If the inertial sensor detects that the wearer's head has rotated, the external camera and the built-in camera are called back to detect the wearer's eyes and the target terminal device, thereby determining the sixth relative position between the wearer's eyes and the target terminal device, and then updating the device display area based on the sixth relative position.
[0095] In one feasible implementation, the step of "determining the first target brightness adjustment parameter based on the screen-on notification event and the preset preferred brightness" in step S30 above may specifically include steps S301 to S302:
[0096] Step S301: Determine the device brightness included in the screen-on notification event, and determine the first brightness difference between the preset preferred brightness and the device brightness;
[0097] Step S302 determines the first target brightness adjustment parameter based on the first brightness difference.
[0098] It should be noted that the device brightness refers to the screen brightness of the target terminal device after it switches from a screen-off state to a screen-on state.
[0099] In this embodiment, after adding the brightness layer to the device display area, the head-mounted display device first extracts the device brightness contained in the screen-on notification event. At the same time, the head-mounted display device reads its own configured storage module to obtain the wearer's preset preferred brightness, and calculates the preferred brightness and the device brightness to determine the first brightness difference between the preferred brightness and the device brightness. Finally, the head-mounted display device determines a first target brightness adjustment parameter for adjusting the real-time brightness in the device display area based on the first brightness difference.
[0100] For example, after adding a brightness layer to the device display area, the AR glasses first extract the device brightness contained in the aforementioned screen-on notification event. At the same time, the AR glasses read the aforementioned storage module to obtain a preset preferred brightness that matches the wearer. The AR glasses then calculate the device brightness and preferred brightness to determine a first brightness difference between the device brightness and the preferred brightness. Finally, the AR glasses determine a first target brightness adjustment parameter for adjusting the real-time brightness in the device display area based on the first brightness difference.
[0101] It should be noted that, in addition to obtaining the preferred brightness by reading the storage module, the head-mounted display device can also first obtain multiple images containing the same content but with different brightness levels, and simultaneously display these multiple images to the wearer on the display screen. Then, the head-mounted display device determines the selection result triggered by the wearer, and selects the target image from the multiple images to be selected based on the selection result. The head-mounted display device then determines the brightness of the image corresponding to the target image as the preferred brightness matched by the wearer.
[0102] In this way, the head-mounted display device can adjust the display area of the device according to the brightness that the target terminal device will emit before the wearer uses it, so that the brightness seen by the wearer's glasses matches the preferred brightness set by the wearer when viewing the target terminal device.
[0103] In one feasible implementation, step S302 above may specifically include steps S3021 to S3023:
[0104] Step S3021: Determine multiple preset brightness differences and preset adjustment parameters that match each of the multiple preset brightness differences;
[0105] Step S3022: Filter multiple preset brightness differences based on the first brightness difference to determine a target brightness difference that matches the first brightness difference;
[0106] Step S3023: The preset adjustment parameter that matches the target brightness difference is determined as the first target brightness adjustment parameter.
[0107] In this embodiment, after determining the first brightness difference, the head-mounted display device first reads the aforementioned storage module to determine multiple preset brightness differences and preset adjustment parameters matching each of the multiple preset brightness differences. Then, the head-mounted display device filters the multiple preset brightness differences based on the first brightness difference to determine the preset brightness difference that matches the first brightness difference as the target brightness difference. Finally, the head-mounted display device determines the preset adjustment parameters matching the target brightness difference and uses the preset adjustment parameters matching the target brightness difference as the first target brightness adjustment parameter to adjust the real-time brightness in the display area of the device.
[0108] For example, after determining the first brightness difference, the AR glasses first read the aforementioned storage module to obtain an adjustment parameter mapping table containing multiple preset brightness differences and preset adjustment parameters that match each of the multiple preset brightness differences. Then, the AR glasses query the adjustment parameter mapping table based on the first brightness difference to compare the first brightness difference with the multiple preset brightness differences contained in the adjustment parameter mapping table, thereby filtering out the target preset brightness difference that matches the first brightness difference from the multiple preset brightness differences. Finally, the AR glasses determine the target preset adjustment parameter that matches the target preset brightness difference in the adjustment parameter mapping table, and determine the target preset adjustment parameter as the first target brightness adjustment parameter for adjusting the real-time brightness of the device display area.
[0109] In this way, the head-mounted display device can adjust the display area of the device according to the brightness that the target terminal device will emit before the wearer uses it, so that the brightness seen by the wearer's glasses matches the preferred brightness set by the wearer when viewing the target terminal device.
[0110] In one feasible implementation, the display brightness parameter includes the content brightness, and the step of "determining the first target brightness adjustment parameter based on the screen-on notification event and the preset preferred brightness" in step S30 above may further include steps S303 to S304:
[0111] Step S303: Read the device display content contained in the screen-on notification event, and determine the content brightness corresponding to each image frame in the device display content;
[0112] Step S304: Determine the second brightness difference between each of the content brightness values and the preset preferred brightness, and determine the first target brightness adjustment parameter based on each of the second brightness differences.
[0113] It should be noted that the brightness of this content refers to the brightness of each image frame within the image / video when the target terminal device enters the screen-on state and plays displayed content such as pictures / videos. It can be understood that when the brightness of the target terminal device is fixed, the difference in brightness between the content frames of the played image frames can also have a certain impact on the wearer's vision (for example, when the first image frame is a black image and the second image frame is a white image, the target terminal device will show a brighter image when switching from the first image frame to the second image frame).
[0114] In this embodiment, after adding a brightness layer to the device display area, the head-mounted display device can also extract the device display content contained in the screen-on notification event. The head-mounted display device then detects the device display content to determine the content brightness corresponding to each image frame contained in the device display content. After that, the head-mounted display device reads its own configured storage module to obtain the wearer's preset preferred brightness. The head-mounted display device compares each content brightness with the preferred brightness to determine the second brightness difference value generated between each content brightness and the preferred brightness. The head-mounted display device determines multiple first target brightness adjustment parameters for adjusting the real-time brightness in the device display area based on each second brightness difference value, and generates a screen control scheme based on each first target brightness adjustment parameter and the timestamp of each image frame in the device display content. Then, the brightness adjustment operation of the device display area is performed according to the screen control scheme.
[0115] For example, after adding a brightness layer to the device display area, the AR glasses can first read the aforementioned screen-on prompt event to determine the video content to be played by the target terminal device, and determine the content brightness and timestamp corresponding to each image frame in the video content. Then, the AR glasses read the aforementioned storage module to obtain the preset preferred brightness that matches the wearer. The AR glasses then calculate each content brightness and the preferred brightness to determine the second brightness difference between each content brightness and the preferred brightness. The AR glasses read the aforementioned storage module to obtain an adjustment parameter mapping table containing multiple preset brightness differences and preset adjustment parameters that match each preset brightness difference. Based on each second brightness difference, the AR glasses query the adjustment parameter mapping table to determine each first target brightness adjustment parameter used to adjust the real-time brightness in the device display area. Based on each first target brightness adjustment parameter and each timestamp, a screen adjustment strategy is generated, and then the brightness of the device display area is adjusted according to the screen control scheme.
[0116] In this way, the head-mounted display device can adjust the display area of the device according to the brightness that the target terminal device will emit before the wearer uses it, so that the brightness seen by the wearer's glasses matches the preferred brightness set by the wearer when viewing the target terminal device.
[0117] In this embodiment, during operation, the head-mounted display device first establishes a communication connection with the target terminal device used by the wearer. Upon receiving a screen-on notification event from the target terminal device, it invokes its external and internal camera devices to detect the wearer's eyes and the target terminal device respectively, determining the first relative position between the wearer's eyes and the target terminal device. Then, based on the first relative position, the head-mounted display device detects its own display screen to determine the device display area of the target terminal device on the display screen from the wearer's perspective. The head-mounted display device acquires a preset brightness layer and adds it to the device display area. Finally, the head-mounted display device reads the screen-on notification event to determine the device brightness parameters contained within it, and determines a first target brightness adjustment parameter for adjusting the real-time brightness of the device display area based on the device brightness parameters. The head-mounted display device adjusts the first real-time brightness of the device display area according to the first target brightness adjustment parameter to adjust the first real-time brightness to a brightness that matches the wearer's preference.
[0118] Thus, this application solves the technical problem of long delay in adjusting the brightness of the display screen in related technologies. Specifically, by adjusting the brightness of the device display area of the target terminal device within the display screen before the target terminal device emits light, this application ensures that the brightness emitted by the target terminal device as seen by the wearer through the device display area matches their preferred brightness. This avoids the situation where the wearer sees excessively bright display content before the head-mounted display adjusts its screen brightness, achieving the technical effect of enabling the head-mounted display to adjust its own screen brightness to match the wearer's preference before the target terminal device emits light.
[0119] Based on the first embodiment of this application, a second embodiment of this application is proposed herein. In this second embodiment, content that is the same as or similar to the above embodiments can be referred to the above description and will not be repeated hereafter. Furthermore, after the step of "determining the first target brightness adjustment parameter based on the screen-on notification event and the preset preferred brightness" in step S30 above, the brightness adjustment method of this application may further include steps A10 to A20:
[0120] Step A10: Send the first target brightness adjustment parameter to the target terminal device so that the target terminal device can adjust the device brightness to the preferred brightness according to the first target brightness adjustment parameter.
[0121] In this embodiment, after determining the first target brightness adjustment parameter, the head-mounted display device can not only adjust the first brightness of the device display area based on the first target brightness adjustment parameter, but also send the first target brightness adjustment parameter to the target terminal device so that the target terminal device can adjust its own device brightness to match the wearer's preference according to the first target brightness adjustment parameter.
[0122] For example, after determining the first target brightness adjustment parameter, the AR glasses can not only adjust the device display area based on the first target brightness adjustment parameter, but also send the first target brightness adjustment parameter to the target terminal device via Bluetooth module. The target terminal device can then adjust its own device brightness based on the first target brightness adjustment parameter, thereby ensuring that when it enters the screen-on state, the device brightness it emits matches the user's preferred brightness setting.
[0123] In addition, in this embodiment and another embodiment, after obtaining multiple first target brightness adjustment parameters, the AR glasses can also send multiple first target brightness adjustment parameters to the target terminal device, so that the target terminal device can adjust the content brightness of each image frame in the playback content according to the multiple first target brightness adjustment parameters, so that the content brightness of each image frame is the preferred brightness.
[0124] In this way, the head-mounted display device can also send the obtained brightness adjustment parameters to the target terminal device, so that the target terminal device can adjust its own device brightness / content brightness to the preferred brightness set by the wearer according to the brightness adjustment parameters, thereby ensuring that the target terminal device avoids viewing content with high brightness when entering the screen-on state.
[0125] Based on the first and / or second embodiments of this application, a third embodiment of this application is proposed herein. In this third embodiment, content that is the same as or similar to the above embodiments can be referred to the above description and will not be repeated hereafter. Furthermore, after the step of "determining the device display area corresponding to the target terminal device according to the first relative position" in step S20 above, the brightness adjustment method of this application may further include steps B10 to B30:
[0126] Step B10: Determine the environmental display area based on the device display area;
[0127] Step B20: Collect ambient light parameters using an external camera device, and determine the second target brightness adjustment parameters based on the ambient light parameters;
[0128] Step B30: Adjust the second real-time brightness of the ambient display area to the target brightness according to the second target brightness adjustment parameter.
[0129] In this embodiment, after determining the device display area on the display screen, the head-mounted display device can also determine other areas on the display screen besides the device display area as the ambient display area. Then, the head-mounted display device calls its own configured light detection device to detect the environment around the wearer to determine the ambient light parameters in the environment where the wearer is located. The head-mounted display device then determines a second target brightness adjustment parameter for adjusting the ambient display area based on the ambient light parameters. Finally, the head-mounted display device adjusts the ambient display area according to the second target brightness adjustment parameter to adjust the second real-time brightness in the ambient display area to the target brightness adjusted by the second target brightness adjustment parameter.
[0130] For example, such as Figure 4 As shown, after determining the device display area on the screen, the AR glasses can also determine other display areas on the screen besides the device display area as environmental display areas for observing the external environment. Then, the AR glasses call its own configured light detection device to detect the environment in which the wearer is located to determine the ambient light parameters corresponding to the wearer's environment. The AR glasses read the aforementioned storage module to obtain an ambient light adjustment mapping table containing multiple preset ambient light parameters and preset adjustment parameters that match each of the multiple preset ambient light parameters. The AR glasses then query the ambient light adjustment mapping table based on the ambient light parameters to determine the second target brightness adjustment parameter that matches the ambient light parameters. Finally, the AR glasses adjust the environmental display area according to the second target brightness adjustment parameter, thereby adjusting the real-time brightness of the environmental display area to the target brightness that matches the second target brightness adjustment parameter.
[0131] In this way, the head-mounted display device can collect ambient light parameters in the environment around the wearer and adjust the real-time brightness of the environmental display areas other than the device display area on the screen according to the ambient light parameters. This avoids the wearer experiencing eye discomfort when the brightness of the target terminal device differs greatly from the brightness of the surrounding environment after looking away from the target terminal device.
[0132] Based on the embodiments of this application, a fourth embodiment of this application is proposed herein. In this fourth embodiment, content that is the same as or similar to the embodiments described above can be referred to the above description and will not be repeated hereafter. Furthermore, the brightness adjustment method of this application may further include steps C10 to C30:
[0133] Step C10: Receive the first audio data sent by the target terminal device, and determine the first volume corresponding to the audio data;
[0134] Step C20: Determine the preset preferred volume, and determine the target volume adjustment parameters based on the preferred volume and the first volume;
[0135] Step C30: Modify the first audio data according to the target volume adjustment parameters to obtain the second audio data, and play the second audio data.
[0136] In this embodiment, after adjusting the real-time brightness of the display area to the preferred brightness, the head-mounted display device can first receive first audio data sent by the target terminal device and determine the first volume of the first audio data. Then, the head-mounted display device obtains a preset preferred volume and calculates the first brightness and preferred volume to determine the target volume difference between the preferred volume and the first volume. The head-mounted display device then determines the target volume adjustment parameter for modifying the first audio data based on the target volume difference. Finally, the head-mounted display device modifies the first volume of the first audio data according to the target volume adjustment parameter to adjust the first volume to the preferred volume, thereby generating second audio data. The head-mounted display device inputs the second audio data to its configured audio playback module to play the second audio data through the audio playback module.
[0137] For example, when the target terminal device needs to play first audio data to the wearer through AR glasses, the target terminal device first sends the first audio data to the AR glasses. At this time, the AR glasses receive the first audio data sent by the target terminal device through the Bluetooth module and determine the first volume corresponding to the first audio data. Then, the AR glasses read the aforementioned storage module to obtain the preferred volume preset by the wearer. The AR glasses calculate the target volume difference between the first volume and the preferred volume. The AR glasses obtain a volume adjustment mapping table containing multiple preset volume differences and volume adjustment parameters that match each preset volume difference. The AR glasses query the volume adjustment mapping table according to the first volume to determine the target volume adjustment parameter that matches the first volume. Finally, the AR glasses adjust the first volume to the preferred volume based on the target volume adjustment parameter to generate second audio data. The AR glasses then send the generated second audio data to the speaker module configured by itself to play the second audio data through the speaker.
[0138] In addition, in this embodiment and another embodiment, in addition to obtaining the preferred screen volume by reading the storage module, the head-mounted display device can also first obtain multiple audio samples containing the same content but with different volumes, and then display the multiple audio samples to be filtered to the wearer in sequence through the speaker. After that, the head-mounted display device determines the selection result triggered by the wearer, and determines the target audio among the multiple audio samples to be filtered according to the selection result, and determines the audio volume corresponding to the target audio as the preferred volume matched by the wearer.
[0139] It's important to note that in related technologies, AR glasses typically detect the terminal device being viewed by the wearer to determine the volume of the audio data sent by that device. If the detected audio volume is too high, the glasses lower their own speaker volume to protect the wearer's hearing. However, AR glasses rely on audio data already played by the terminal device to adjust the speaker, meaning the wearer often encounters audio that is too loud or too soft before hearing the appropriate audio content. Therefore, by receiving audio data sent by the target terminal device and modifying the real-time volume of the audio data according to the wearer's preferred volume to generate second audio data, the head-mounted display device ensures that the volume of the second audio data played to the wearer matches their preferred volume, avoiding the possibility of excessively loud audio data affecting the wearer's hearing.
[0140] Based on the embodiments of this application, a fifth embodiment of this application is proposed herein. In this fifth embodiment, content that is the same as or similar to the embodiments described above can be referred to the above description and will not be repeated hereafter. Furthermore, after step S30 above, the brightness adjustment method of this application may further include step D10:
[0141] Step D10: Send the preferred volume to the target terminal device so that the target terminal device can modify the first audio data based on the preferred volume to obtain the second audio data.
[0142] In this embodiment, after the head-mounted display device adjusts the real-time brightness of the display area to the preferred brightness, in addition to modifying the received first audio data based on the first volume adjustment parameter to match the preferred volume of the second audio data, it can also send the preferred volume to the target terminal device so that the target terminal device can modify the first volume of the first audio data to be played according to the preferred volume to generate the second audio data that matches the preferred volume.
[0143] For example, after adjusting the real-time brightness of the device display area to the preferred brightness, the AR glasses can, in addition to modifying the received first audio data based on the preferred volume to generate the second audio data, first obtain the wearer's preset preferred volume and send the preferred volume to the target terminal device via Bluetooth module. The target terminal device then adjusts the first volume of the first audio to be played based on the preferred volume to generate the second audio data that matches the preferred volume. The second audio data is then sent to the AR glasses, and the AR glasses play the second audio data to the outside world through the speaker.
[0144] In this way, the head-mounted display device can ensure that the volume of the audio data sent by the target terminal device matches the wearer's preset preferred volume, thereby avoiding the situation where a large volume will affect the wearer's hearing when playing audio data.
[0145] This application also provides a brightness adjustment device, please refer to... Figure 5 The brightness adjustment device is applied to a head-mounted display device, and the device includes:
[0146] Device detection module 10 is used to detect a first relative position when receiving a screen-on notification event sent by a target terminal device, wherein the first relative position is the relative position between the wearer's eyes and the target terminal device;
[0147] The layer adding module 20 is used to determine the device display area corresponding to the target terminal device based on the first relative position, and add a brightness layer to the device display area;
[0148] The brightness adjustment module 30 is used to determine a first target brightness adjustment parameter based on the screen-on notification event and a preset preferred brightness, and adjust the first real-time brightness of the brightness layer to the preferred brightness according to the first target brightness adjustment parameter.
[0149] In one feasible implementation, the head-mounted display device includes an external camera device, and the aforementioned device detection module 10 is further configured to:
[0150] A preset image is sent to the target terminal device, and the target terminal device is photographed by the external camera device to obtain a first image;
[0151] If a match is detected between the first image and the preset image, a second relative position is determined using the first image, wherein the second relative position is the relative position between the external camera device and the target terminal device;
[0152] The first relative position is determined based on the second relative position.
[0153] In one feasible implementation, the head-mounted display device further includes a built-in camera, and the aforementioned device detection module 10 is further configured to:
[0154] A preset third relative position is determined, wherein the third relative position is the relative position between the built-in camera device and the external camera device;
[0155] The built-in camera device captures a second image of the wearer's eyes, and a fourth relative position is determined based on the second image, wherein the fourth relative position is the relative position between the built-in camera device and the eyes;
[0156] A fifth relative position is determined based on the third relative position and the fourth relative position, wherein the fifth relative position is the relative position between the eye and the external camera device;
[0157] Based on the fifth relative position and the second relative position, the first relative position is determined.
[0158] In one feasible implementation, the brightness adjustment module 30 is further used for:
[0159] Determine the device brightness included in the screen-on notification event, and determine the first brightness difference between the preset preferred brightness and the device brightness;
[0160] The first target brightness adjustment parameter is determined based on the first brightness difference.
[0161] In one feasible implementation, the brightness adjustment module 30 is further used for:
[0162] Determine multiple preset brightness differences and preset adjustment parameters that match each of the multiple preset brightness differences;
[0163] Based on the first brightness difference, multiple preset brightness differences are filtered to determine a target brightness difference that matches the first brightness difference;
[0164] The preset adjustment parameter that matches the target brightness difference is determined as the first target brightness adjustment parameter.
[0165] In one feasible implementation, the brightness adjustment module 30 is further used for:
[0166] Read the device display content contained in the screen-on notification event, and determine the content brightness corresponding to each image frame in the device display content;
[0167] A second brightness difference is determined between the brightness of each content and a preset preferred brightness, and a first target brightness adjustment parameter is determined based on each of the second brightness differences.
[0168] In one feasible implementation, the brightness adjustment module 30 is further used for:
[0169] The first target brightness adjustment parameter is sent to the target terminal device so that the target terminal device can adjust the device brightness to the preferred brightness according to the first target brightness adjustment parameter.
[0170] In one feasible implementation, the brightness adjustment module 30 is further used for:
[0171] The environmental display area is determined based on the device display area;
[0172] Ambient light parameters are collected using an external camera device, and the brightness adjustment parameters of the second target are determined based on the ambient light parameters.
[0173] Adjust the second real-time brightness of the ambient display area to the target brightness according to the second target brightness adjustment parameter.
[0174] In one feasible implementation, the brightness adjustment module 30 is further used for:
[0175] Receive first audio data sent by the target terminal device, and determine the first volume corresponding to the audio data;
[0176] Determine a preset preferred volume, and determine the target volume adjustment parameters based on the preferred volume and the first volume;
[0177] The first audio data is modified according to the target volume adjustment parameters to obtain the second audio data, and the second audio data is played.
[0178] In one feasible implementation, the brightness adjustment module 30 is further used for:
[0179] The preferred volume is sent to the target terminal device so that the target terminal device can modify the first audio data based on the preferred volume to obtain the second audio data.
[0180] The brightness adjustment device provided in this application, employing the brightness adjustment method described in the above embodiments, can solve the technical problem of long timing delay in brightness adjustment of the display screen in related technologies. Compared with the prior art, the beneficial effects of the brightness adjustment device provided in this application are the same as those of the brightness adjustment method provided in the above embodiments, and other technical features in the brightness adjustment device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0181] This application provides a head-mounted display 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 brightness adjustment method in Embodiment 1 above.
[0182] The following is for reference. Figure 6 The diagram illustrates a structural schematic suitable for implementing the head-mounted display device of the present application embodiments. The head-mounted display device in the embodiments of the present application may include, but is not limited to, a head-mounted display device equipped with an external camera device, a built-in camera device, a light detection device, lenses, and a display screen, or a mobile terminal, data storage control terminal, PC, or other terminal connected to an electronic control unit associated with the head-mounted display device. Figure 6 The head-mounted display device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of this application.
[0183] like Figure 6As shown, the head-mounted display 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 head-mounted display 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 head-mounted display device to communicate wirelessly or wiredly with other devices to exchange data. Although head-mounted display devices with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0184] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application 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 the embodiments disclosed in this application.
[0185] The head-mounted display device provided in this application, employing the brightness adjustment method in the above embodiments, can solve the technical problem of long timing delay in brightness adjustment of the display screen in related technologies. Compared with the prior art, the beneficial effects of the head-mounted display device provided in this application are the same as those of the brightness adjustment method provided in the above embodiments, and other technical features of this head-mounted display device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0186] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0187] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0188] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the brightness adjustment method in the above embodiments.
[0189] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, 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 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.
[0190] The aforementioned computer-readable storage medium may be included in the head-mounted display device; or it may exist independently and not assembled into the head-mounted display device.
[0191] The aforementioned computer-readable storage medium carries one or more programs that, when executed by a head-mounted display device, cause the head-mounted display device to: upon receiving a screen-on notification event from a target terminal device, detect a first relative position, wherein the first relative position is the relative position between the wearer's eyes and the target terminal device; determine a device display area corresponding to the target terminal device based on the first relative position, and add a brightness layer to the device display area; determine a first target brightness adjustment parameter based on the screen-on notification event and a preset preferred brightness, and adjust the first real-time brightness of the brightness layer to the preferred brightness according to the first target brightness adjustment parameter.
[0192] Computer program code for performing the operations of this application 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).
[0193] 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 this application. 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.
[0194] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0195] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described brightness adjustment method, which can solve the technical problem of long timing delay in brightness adjustment of the display screen in related technologies. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the brightness adjustment method provided in the above embodiments, and will not be repeated here.
[0196] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the brightness adjustment method described above.
[0197] The computer program product provided in this application can solve the technical problem of long delay in the timing of brightness adjustment of the display screen in head-mounted display devices in related technologies. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the brightness adjustment method provided in the above embodiments, and will not be repeated here.
[0198] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A brightness adjustment method, characterized in that, The brightness adjustment method is applied to a head-mounted display device, and the method includes: Upon receiving a screen-on notification event from the target terminal device, a first relative position is detected, wherein the first relative position is the relative position between the wearer's eyes and the target terminal device; The device display area corresponding to the target terminal device is determined based on the first relative position, and a brightness layer is added to the device display area; The first target brightness adjustment parameter is determined based on the screen-on notification event and the preset preferred brightness, and the first real-time brightness of the brightness layer is adjusted to the preferred brightness according to the first target brightness adjustment parameter.
2. The brightness adjustment method as described in claim 1, characterized in that, The head-mounted display device includes an external camera device, and the step of detecting the first relative position includes: A preset image is sent to the target terminal device, and the target terminal device is photographed by the external camera device to obtain a first image; If a match is detected between the first image and the preset image, a second relative position is determined using the first image, wherein the second relative position is the relative position between the external camera device and the target terminal device; The first relative position is determined based on the second relative position.
3. The brightness adjustment method as described in claim 2, characterized in that, The head-mounted display device further includes a built-in camera device, and the step of determining the first relative position based on the second relative position includes: A preset third relative position is determined, wherein the third relative position is the relative position between the built-in camera device and the external camera device; The built-in camera device captures a second image of the wearer's eyes, and a fourth relative position is determined based on the second image, wherein the fourth relative position is the relative position between the built-in camera device and the eyes; A fifth relative position is determined based on the third relative position and the fourth relative position, wherein the fifth relative position is the relative position between the eye and the external camera device; Based on the fifth relative position and the second relative position, the first relative position is determined.
4. The brightness adjustment method as described in claim 1, characterized in that, The step of determining the first target brightness adjustment parameter based on the screen-on notification event and the preset preferred brightness includes: Determine the device brightness included in the screen-on notification event, and determine the first brightness difference between the preset preferred brightness and the device brightness; The first target brightness adjustment parameter is determined based on the first brightness difference.
5. The brightness adjustment method as described in claim 4, characterized in that, The step of determining the first target brightness adjustment parameter based on the first brightness difference includes: Determine multiple preset brightness differences and preset adjustment parameters that match each of the multiple preset brightness differences; Based on the first brightness difference, multiple preset brightness differences are filtered to determine a target brightness difference that matches the first brightness difference; The preset adjustment parameter that matches the target brightness difference is determined as the first target brightness adjustment parameter.
6. The brightness adjustment method as described in claim 1, characterized in that, The step of determining the first target brightness adjustment parameter based on the screen-on notification event and the preset preferred brightness further includes: Read the device display content contained in the screen-on notification event, and determine the content brightness corresponding to each image frame in the device display content; A second brightness difference is determined between the brightness of each content and a preset preferred brightness, and a first target brightness adjustment parameter is determined based on each of the second brightness differences.
7. The brightness adjustment method according to any one of claims 1 to 6, characterized in that, After the step of determining the first target brightness adjustment parameter based on the screen-on notification event and the preset preferred brightness, the method further includes: The first target brightness adjustment parameter is sent to the target terminal device so that the target terminal device can adjust the device brightness to the preferred brightness according to the first target brightness adjustment parameter.
8. The brightness adjustment method as described in claim 1, characterized in that, After the step of determining the device display area corresponding to the target terminal device based on the first relative position, the method further includes: The environmental display area is determined based on the device display area; Ambient light parameters are collected using an external camera device, and the brightness adjustment parameters of the second target are determined based on the ambient light parameters. Adjust the second real-time brightness of the ambient display area to the target brightness according to the second target brightness adjustment parameter.
9. The brightness adjustment method as described in claim 1, characterized in that, The method further includes: Receive first audio data sent by the target terminal device, and determine the first volume corresponding to the audio data; Determine a preset preferred volume, and determine the target volume adjustment parameters based on the preferred volume and the first volume; The first audio data is modified according to the target volume adjustment parameters to obtain the second audio data, and the second audio data is played.
10. The brightness adjustment method as described in claim 1, characterized in that, After the step of adjusting the first real-time brightness of the brightness layer to the preferred brightness according to the first target brightness adjustment parameter, the method further includes: The preferred volume is sent to the target terminal device so that the target terminal device can modify the first audio data based on the preferred volume to obtain the second audio data.
11. A head-mounted display device, characterized in that, The device includes: an external camera device, a built-in camera device, a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the brightness adjustment method as described in any one of claims 1 to 10.
12. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the brightness adjustment method as described in any one of claims 1 to 10.
13. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the brightness adjustment method as described in any one of claims 1 to 10.