Head-mounted display device control method and apparatus, and device and storage medium
Patent Information
- Application Number
- PCT/CN2026/076985
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-02-28
- Filing Date
- 2026-02-04
- Publication Date
- 2026-09-03
Smart Images

Figure CN2026076985_03092026_PF_FP_ABST
Abstract
Description
Head-mounted display device control method, device, equipment and storage medium
[0001] The present application claims priority from the Chinese patent application No. 2025102391830 filed on February 28, 2025, and entitled "Head-mounted display device control method, device, equipment and storage medium", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application relates to the technical field of privacy protection, in particular to a head-mounted display device control method, device, equipment and storage medium. BACKGROUND
[0003] With the development of augmented reality (AR) technology, AR devices, as a kind of head-mounted display device integrating display, interaction and camera functions, have been widely used in various scenes. However, the camera of the AR device involves privacy issues. For example, when used in public places, the opening of the camera may lead to privacy invasion problems such as paparazzi. In order to avoid such situations, how to effectively prevent paparazzi and reduce the probability of invasion of the privacy of surrounding people without interfering with the user experience is a problem to be solved at present. SUMMARY
[0004] The main purpose of the present application is to provide a head-mounted display device control method, device, equipment and storage medium, which aims to reduce the probability of collecting privacy information of surrounding people by the head-mounted display device.
[0005] In a first aspect, the present application provides a head-mounted display device control method applied to a head-mounted display device, wherein the head-mounted display device comprises a camera, an indicator light and an environment sensor, and the head-mounted display device control method comprises the following steps:
[0006] After the camera is started and the indicator light is in the lit state, environment information collected by the environment sensor is acquired.
[0007] If it is determined according to the environment information that the camera closing condition is reached, the camera is controlled to be closed.
[0008] In a second aspect, the present application further provides a head-mounted display device control device, which comprises an acquisition module and a control module, wherein:
[0009] The acquisition module is configured to acquire environment information collected by the environment sensor after the camera is started and the indicator light is in the lit state.
[0010] The control module is configured to control the camera to be closed if it is determined according to the environment information that a camera closing condition is met.
[0011] In a third aspect, the present application provides a head-mounted display device, comprising a camera, an indicator light, an environment sensor, a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the head-mounted display device control method described above.
[0012] In a fourth aspect, the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program, when executed by a processor, implements the steps of the head-mounted display device control method described above.
[0013] The present application provides a head-mounted display device control method, device, equipment and storage medium. In the present application, after the camera is started and the indicator light is in the on state, the environment information collected by the environment sensor is acquired. If it is determined according to the environment information that a camera closing condition is met, the camera is controlled to be closed. In the present application, the environment information collected by the environment sensor is used to accurately determine whether the camera closing condition is met. When the camera closing condition is met, the camera is controlled to be closed, thereby avoiding the camera from collecting the private information of surrounding people, and effectively protecting the private information of the surrounding people. BRIEF DESCRIPTION OF DRAWINGS
[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0015] FIG. 1 is a flow diagram of a head-mounted display device control method according to an embodiment of the present application;
[0016] FIG. 2 is a structural diagram of a head-mounted display device according to an embodiment of the present application;
[0017] FIG. 3 is another structural diagram of a head-mounted display device according to an embodiment of the present application;
[0018] FIG. 4 is another structural diagram of a head-mounted display device according to an embodiment of the present application;
[0019] FIG. 5 is another structural diagram of a head-mounted display device according to an embodiment of the present application;
[0020] FIG. 6 is a schematic block diagram of a head-mounted display device control device according to an embodiment of the present application;
[0021] Fig. 7 is a structural schematic block diagram of a head-mounted display device provided by an embodiment of the present application.
[0022] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. Embodiments of the present application
[0023] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0024] The flowchart shown in the accompanying drawings is only an example and does not necessarily include all the contents and operations / steps, nor does it necessarily execute in the order described. For example, some operations / steps can be further divided, combined or partially merged, so the actual execution order may be changed according to the actual situation.
[0025] With the development of augmented reality (AR) technology, AR devices, as a kind of head-mounted display device integrating display, interaction and camera functions, have been widely used in various scenes. However, the camera of the AR device involves privacy issues. For example, when used in public places, the opening of the camera may lead to privacy invasion problems such as paparazzi. In order to avoid such situations, how to effectively prevent paparazzi and reduce the probability of invasion of the privacy of surrounding people without interfering with the user experience.
[0026] To solve the above problems, the embodiments of the present application provide a head-mounted display device control method, device, equipment and storage medium. The head-mounted display device control method is applied to a head-mounted display device, the head-mounted display device includes a camera, an indicator light and an environment sensor, and the method comprises: after the camera is started, and the indicator light is in a lighted state, acquiring environment information collected by the environment sensor; determining whether the camera closing condition is reached according to the environment information, and then controlling the camera to close.
[0027] The head-mounted display device control method is applied to a head-mounted display device, which can be an augmented reality (AR) glasses, an AR helmet, a mixed reality (MR) glasses and an MR helmet, etc.
[0028] Some embodiments of the present application will be described in detail with reference to the drawings. The following examples and features in the examples can be combined with each other in the case of no conflict.
[0029] Please refer to FIG. 1, which is a flowchart of a head-mounted display device control method according to an embodiment of the present application.
[0030] As shown in FIG. 1, the head-mounted display device control method includes steps S101-S102.
[0031] In step S101, when the camera is started and the indicator light is in the on state, the environment information collected by the environment sensor is acquired.
[0032] The head-mounted display device control method is applied to a head-mounted display device, which includes a camera, an indicator light, and an environment sensor. The camera is used to collect images of the surrounding environment, and the camera includes but is not limited to a monocular camera, a binocular camera, a trinocular camera, etc. The indicator light is used to remind the surrounding people that the camera is on or off, wherein the indicator light in the on state indicates that the camera is on, and the indicator light in the off state indicates that the camera is off. The indicator light includes but is not limited to a constant indicator light and a flashing indicator light, and the type of the indicator light can be selected according to the actual situation. The present application does not make a specific limitation on this, for example, the indicator light can be an LED light. The environment sensor is used to collect the environment information of the environment, wherein when the environment sensor is a light sensor, the environment information is the brightness of the surrounding environment, and when the environment sensor is a distance sensor, the environment information is the distance between the distance sensor and the obstacle in the detection direction.
[0033] In some embodiments, the environment sensor is arranged close to the indicator light, and the distance between the environment sensor and the indicator light can be set according to the actual situation, for example, the distance between the environment sensor and the indicator light is set to 2 mm. The environment information detected by the environment sensor is used as the environment information of the position where the indicator light is located, and the closer the environment sensor is to the indicator light, the more accurate the environment information of the position where the indicator light is located. The indicator light and the environment sensor are arranged on the side facing away from the wearer (i.e., the side facing the surrounding people), so that the surrounding people can watch the prompt light emitted by the indicator light, and the environment sensor can collect the environment information around. In an embodiment, the head-mounted display device is AR glasses, and at this time, the indicator light and the environment sensor can be arranged on the front side of the frame of the AR glasses, i.e., the indicator light and the environment sensor are arranged on the side of the frame of the AR glasses away from the temple.
[0034] In some embodiments, the indicator light and the environment sensor are arranged on the front side of the head-mounted display device, so that the surrounding people can see the prompt light emitted by the indicator light, and the environment sensor can collect the surrounding environment information.
[0035] In some embodiments, a baffle can be arranged between the environment sensor and the indicator light, which can effectively reduce the interference of the light emitted by the indicator light on the environment sensor, so that the environment sensor can collect more accurate environment information.
[0036] In some embodiments, the indicator light and the environment sensor are arranged on the front side of the head-mounted display device, and are arranged close to each other and in the same hardware hole of the head-mounted display device for placing a hardware device. The light emitted by the indicator light in the hardware hole is irradiated through the hole, and the environment sensor in the hardware hole collects environment information through the hole.
[0037] For example, as shown in FIG. 2, the head-mounted display device 100 includes a camera 11, an indicator light 21 and an environment sensor 31. The camera 11, the indicator light 21 and the environment sensor 31 are arranged on the front side of the head-mounted display device 100, i.e., on the side of the head-mounted display device 100 facing the surrounding people. The camera 11 is used to collect images of the surrounding environment, the indicator light 21 can emit prompt light to remind the surrounding people that the camera is turned on or off. The environment sensor 31 is used to collect environment information of the environment in which it is located. As shown in FIG. 3, a baffle 41 is arranged between the environment sensor 31 and the indicator light 21, which can block the prompt light emitted by the indicator light 21 from irradiating the environment sensor 31.
[0038] It should be noted that the AR glasses are taken as an example for illustration in FIG. 2, and of course the head-mounted display device 100 can also be other forms of devices, and the embodiments of the present application do not make specific limitation thereon, for example, the head-mounted display device 100 can also be an AR helmet, etc. The regions of the camera 11, the indicator light 21 and the environment sensor 31 in the head-mounted display device 100 can be arranged according to actual conditions, and the embodiments of the present application do not make specific limitation thereon. In some embodiments, as shown in FIG. 2, the camera 11, the indicator light 21 and the environment sensor 31 are arranged in region A, and in some other embodiments, as shown in FIG. 4, the camera 11, the indicator light 21 and the environment sensor 31 can be arranged in region B.
[0039] In some embodiments, in response to the camera being turned on, the indicator light is controlled to be in the light-on state, and the indicator light in the light-on state is used to remind the surrounding people that the camera has been turned on. When the camera is turned on, the indicator light is controlled to be in the light-on state, so that the surrounding people can know that the camera has been turned on, the surrounding people can protect privacy in time, avoid the camera from collecting the privacy information of the surrounding people, and thus the privacy information of the surrounding people is effectively protected.
[0040] In some embodiments, in the case that the indicator light is in the light-on state, it is determined that the camera has been turned on, and the environment information of the environment where the head-mounted display device is located is collected by the environment sensor.
[0041] In some embodiments, the environment sensor includes a first light sensor, in the case that the indicator light is in the light-on state, it is determined that the camera has been turned on, and the first brightness of the environment where the head-mounted display device is located is collected by the first light sensor.
[0042] In some embodiments, the environment sensor includes a distance sensor, in the case that the indicator light is in the light-on state, it is determined that the camera has been turned on, and the distance is collected by the distance sensor. Wherein, the distance represents the distance between the distance sensor and the obstacle in the detection direction, i.e. the distance between the head-mounted display device and the obstacle.
[0043] In some embodiments, the environment sensor includes a first light sensor and / or a distance sensor, in the case that the indicator light is in the light-on state, it is determined that the camera has been turned on, and the first brightness of the environment where the head-mounted display device is located is collected by the first light sensor, and / or the distance between the head-mounted display device and the obstacle is collected by the distance sensor.
[0044] In step S102, if it is determined according to the environment information that the camera closing condition is reached, the camera is controlled to be closed.
[0045] Wherein, the camera closing condition is that the indicator light is blocked, and / or the environment sensor is blocked.
[0046] In some embodiments, in the case that the first brightness is less than or equal to a preset brightness threshold, it is determined that the camera closing condition is reached. In the case that the first brightness is greater than the preset brightness threshold, it is determined that the camera closing condition is not reached. Wherein, the preset brightness threshold can be set according to actual conditions, and the embodiments of the present application do not make specific limitations thereon. For example, the preset brightness threshold can be set to 50 lux.
[0047] For example, in the case that the first brightness is less than or equal to the preset brightness threshold, it can be determined that the first light sensor is blocked, and the indicator light in the close position is also blocked. The first brightness collected by the first light sensor can accurately know whether the indicator light is blocked and / or whether the environment sensor is blocked.
[0048] In some embodiments, an environment image of the environment is captured by the camera; and a preset brightness threshold is determined according to brightness of the environment image. The preset brightness threshold is less than the first brightness. The preset brightness threshold is set by the brightness of the environment image, which can accurately determine whether the camera closing condition is reached.
[0049] In some embodiments, the preset brightness threshold can be determined according to the brightness of the environment image in the following manner: color analysis is performed on the environment image, the brightness and saturation of the image in the color analysis are used to determine the environment brightness, a mapping relationship table between the preset environment brightness and the preset brightness threshold is obtained, and the preset brightness threshold corresponding to the environment brightness is queried from the mapping relationship table. The mapping relationship table is established based on the environment brightness and the preset brightness threshold. The preset brightness threshold can be accurately set by analyzing the brightness of the environment image.
[0050] It should be noted that the brightness of the environment image can also be determined by using a neural network model to recognize the environment image to obtain the environment brightness. The neural network model is a pre-established brightness recognition model, and the neural network model includes but is not limited to a convolutional neural network model and a recurrent convolutional neural network model, etc.
[0051] In some embodiments, the camera closing condition is determined to be reached when the distance is less than or equal to a preset distance threshold, and the camera closing condition is determined to not be reached when the distance is greater than the preset distance threshold. The preset distance threshold can be set according to actual conditions, and the embodiments of the present application do not make specific limitations thereon, for example, the preset distance threshold can be set to 0.2 meters. When the distance is less than or equal to the preset distance threshold, it is determined that the distance sensor measurement direction is obstructed by an obstacle, and the indicator light in the close position is also obstructed by the obstacle.
[0052] In some embodiments, the camera closing condition is determined to be reached when the first brightness is less than or equal to the preset brightness threshold and the distance is less than or equal to the preset distance threshold, the camera closing condition is determined to be possibly reached when the first brightness is less than or equal to the preset brightness threshold and the distance is greater than the preset distance threshold, the camera closing condition is determined to be possibly reached when the first brightness is greater than the preset brightness threshold and the distance is less than or equal to the preset distance threshold, and the camera closing condition is determined to not be reached when the first brightness is greater than the preset brightness threshold and the distance is greater than the preset distance threshold. The first light sensor and the distance sensor are used to determine whether the camera closing condition is reached, which can improve the accuracy of controlling the camera.
[0053] In some embodiments, the environmental sensor comprises a first light sensor and a second light sensor, the second light sensor is arranged away from the first light sensor, the first brightness is collected by the first light sensor, and the second brightness is collected by the second light sensor, and whether the camera closing condition is reached is determined according to the first brightness and the second brightness. The first brightness and the second brightness can be used to accurately determine whether the camera closing condition is reached.
[0054] For example, as shown in FIG. 5, the second light sensor 32 is arranged away from the first light sensor 31 in the head-mounted display device 100, and the second light sensor 32 is apart from the first light sensor 31 by a preset interval. The preset interval can be set according to actual conditions, and embodiments of the present application do not make specific limitations thereto. For example, the preset interval can be set to 2 cm. By arranging light sensors at different positions, the brightness collected by the two light sensors at different positions can be compared to accurately determine whether the camera closing condition is reached.
[0055] In some embodiments, the manner of determining whether the camera closing condition is reached according to the first brightness and the second brightness can be: subtracting the first brightness from the second brightness to obtain a brightness difference value, if the brightness difference value is greater than a preset first brightness difference value, it is determined that the camera closing condition is reached, and if the brightness difference value is less than a preset second brightness difference value, it is determined that the camera closing condition is not reached. The preset first brightness difference value can be set according to actual conditions, and embodiments of the present application do not make specific limitations thereto. For example, the preset first brightness difference value can be set to 10 lux. By detecting the brightness difference value of different regions, whether the camera closing condition is reached can be accurately determined.
[0056] In some embodiments, when it is determined that the camera closing condition is reached, the camera is controlled to be closed, so as to avoid the camera from collecting the private information of the surrounding personnel, thereby effectively protecting the private information of the surrounding personnel.
[0057] For example, when it is determined that the environmental sensor is blocked, the camera is controlled to be closed. And / or, when it is determined that the indicator light is blocked, the camera is controlled to be closed, so as to avoid the camera from collecting the private information of the surrounding personnel, thereby effectively protecting the private information of the surrounding personnel.
[0058] In some embodiments, the head-mounted display device further includes a sound playback device that outputs a notification sound indicating that the camera is on after the camera is activated and the indicator light is illuminated. This notification sound includes, but is not limited to, a verbal notification and an indicator sound. For example, the verbal notification could be a voice message indicating that the camera is on, and the indicator sound could be a "beep" sound. Outputting a notification sound through the sound playback device effectively alerts nearby people that the camera is on, raising their awareness of privacy protection and preventing the camera from collecting their private information, thus effectively protecting their privacy.
[0059] In some embodiments, the sound playback device is controlled to output a notification sound indicating that the camera is on at preset time intervals to remind surrounding personnel that the camera is activated. The preset time interval can be one minute. By outputting the notification sound at preset time intervals, it is possible to effectively remind surrounding personnel that the camera is on, while also reducing the power consumption of the head-mounted display device.
[0060] In some embodiments, if it is determined that the indicator light may be obstructed, the sound playback device is controlled to output a prompt sound indicating that the camera is on. Outputting a prompt sound indicating that the camera is on when the indicator light may be obstructed ensures that people in the vicinity are alerted that the camera is on. This raises their awareness of privacy protection, preventing the camera from collecting their private information, and thus effectively protecting their privacy.
[0061] In some embodiments, after the camera is turned off, the environmental sensor is put into a sleep state to reduce the power consumption of the head-mounted display device.
[0062] In some embodiments, after the camera is turned off, the environmental sensor is activated after a preset time period to acquire current environmental information collected by the sensor. If the current environmental information indicates that the conditions for turning on the camera have been met, the camera is activated. The preset time period can be set according to actual conditions, and this embodiment does not impose a specific limitation; for example, the preset time period could be set to 3 minutes. The environmental sensor is then reactivated, and current environmental information is collected through sensor sensing to accurately determine whether the camera is on, thereby improving the user experience of the head-mounted display device.
[0063] In some embodiments, the environmental sensor includes a first light sensor. After a preset time period, the first light sensor is controlled to activate and acquire a third brightness value collected by the first light sensor. If the third brightness value is less than or equal to a preset brightness threshold, it is determined that the conditions for turning on the camera have not been met. If the third brightness value is greater than the preset brightness threshold, it is determined that the conditions for turning on the camera have been met. By activating the first light sensor and based on the third brightness value collected by the first light sensor, it is possible to accurately determine whether the camera needs to be turned on.
[0064] In some embodiments, the environmental sensor includes a distance sensor. After a preset time period, the distance sensor is controlled to activate and acquire the current distance collected by the distance sensor. If the current distance is less than or equal to a preset distance threshold, it is determined that the conditions for activating the camera have not been met; if the distance is greater than the preset distance threshold, it is determined that the conditions for activating the camera have been met. The preset distance threshold can be set according to actual conditions, and this embodiment of the invention does not impose a specific limitation on it. For example, the preset distance threshold can be set to 0.2 meters. By activating the distance sensor and based on the current distance collected by the distance sensor, it is possible to accurately determine whether the camera needs to be activated.
[0065] The head-mounted display device control method provided in the above embodiments acquires environmental information collected by an environmental sensor after the camera is started and the indicator light is on. If the environmental information determines that the conditions for turning off the camera have been met, the camera is controlled to turn off. In this application, the environmental information collected by the environmental sensor can be used to accurately determine whether the conditions for turning off the camera have been met. When the conditions for turning off the camera are met, the camera is controlled to turn off, thus preventing the camera from collecting the privacy information of people in the surrounding area and effectively protecting the privacy information of people in the surrounding area.
[0066] Please refer to Figure 6, which is a schematic block diagram of a head-mounted display device control device provided in an embodiment of this application.
[0067] As shown in Figure 6, the head-mounted display device control device 200 includes an acquisition module 210 and a control module 220, wherein:
[0068] The acquisition module 210 is used to acquire environmental information collected by the environmental sensor after the camera is started and the indicator light is on.
[0069] The control module 220 is used to control the camera to turn off if the environmental information determines that the conditions for turning off the camera have been met.
[0070] In some embodiments, the head-mounted display device control device 200 is further configured to:
[0071] If the first brightness is less than or equal to a preset brightness threshold and / or the distance is less than or equal to a preset distance threshold, it is determined that the conditions for turning off the camera have been met.
[0072] In some embodiments, the head-mounted display device control device 200 is further configured to:
[0073] The second brightness is acquired by the second light sensor, and the first brightness is subtracted from the second brightness to obtain the brightness difference.
[0074] If the brightness difference is greater than a preset first brightness difference, it is determined that the condition for turning off the camera has been met.
[0075] In some embodiments, the head-mounted display device control device 200 is further configured to:
[0076] After the camera is activated and the indicator light is on, the sound playback device is controlled to output a prompt sound indicating that the camera is turned on.
[0077] In some embodiments, the head-mounted display device control device 200 is further configured to:
[0078] The sound playback device is controlled to output a prompt sound indicating that the camera is turned on at preset intervals to remind people around that the camera is on.
[0079] In some embodiments, the head-mounted display device control device 200 is further configured to:
[0080] The environmental sensor is controlled to be in a sleep state.
[0081] In some embodiments, the head-mounted display device control device 200 is further configured to:
[0082] After a preset time period, the environmental sensor is controlled to be in working state, and the current environmental information collected by the environmental sensor is acquired.
[0083] If the current environmental information determines that the conditions for turning on the camera have been met, then the camera is controlled to operate.
[0084] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the head-mounted display device control device described above can be referred to the corresponding process in the aforementioned head-mounted display device control method embodiments, and will not be repeated here.
[0085] Please refer to Figure 7, which is a schematic block diagram of the structure of a head-mounted display device provided in an embodiment of this application.
[0086] As shown in Figure 7, the head-mounted display device 300 includes a camera 302, an indicator light 303, an environmental sensor 304, a processor 305, and a memory 306 connected via a system bus 301. The memory may include a storage medium and internal memory.
[0087] The storage medium may store a computer program. This computer program includes program instructions that, when executed, cause the processor to perform any method of controlling the head-mounted display device.
[0088] The processor 305 provides computing and control capabilities to support the operation of the entire head-mounted display device.
[0089] The internal memory provides an environment for the execution of computer programs stored in the storage medium. When these computer programs are executed by the processor, the processor can perform any method of controlling the head-mounted display device.
[0090] Those skilled in the art will understand that the structure shown in Figure 7 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the head-mounted display device to which the present application is applied. A specific head-mounted display device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0091] It should be understood that processor 305 can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among these, the general-purpose processor can be a microprocessor or any conventional processor.
[0092] In one embodiment, the head-mounted display device includes a camera, an indicator light, and an environmental sensor, the environmental sensor being positioned close to the indicator light. The processor 305 is configured to run a computer program stored in a memory to perform the following steps:
[0093] After the camera is activated and the indicator light is on, the environmental information collected by the environmental sensor is acquired.
[0094] If the environmental information determines that the conditions for turning off the camera have been met, then the camera is controlled to turn off.
[0095] In one embodiment, the environmental sensor includes a first light sensor and / or a distance sensor, and the environmental information includes a first brightness detected by the first light sensor and / or a distance detected by the distance sensor. The processor 305, in implementing the determination of the conditions for turning off the camera based on the environmental information, is used to:
[0096] If the first brightness is less than or equal to a preset brightness threshold and / or the distance is less than or equal to a preset distance threshold, it is determined that the conditions for turning off the camera have been met.
[0097] In one embodiment, the environmental sensor includes a first light sensor, and the environmental information includes a first brightness collected by the first light sensor. The head-mounted display device further includes a second light sensor, which is positioned away from the first light sensor. When the processor 305 determines that the conditions for turning off the camera have been met based on the environmental information, it is used to:
[0098] The second brightness is acquired by the second light sensor, and the first brightness is subtracted from the second brightness to obtain the brightness difference.
[0099] If the brightness difference is greater than a preset first brightness difference, it is determined that the condition for turning off the camera has been met.
[0100] In one embodiment, the head-mounted display device further includes a sound playback device, and the processor 305 is further configured to implement:
[0101] After the camera is activated and the indicator light is on, the sound playback device is controlled to output a prompt sound indicating that the camera is turned on.
[0102] In one embodiment, the processor 305 is further configured to implement:
[0103] The sound playback device is controlled to output a prompt sound indicating that the camera is turned on at preset intervals to remind people around that the camera is on.
[0104] In one embodiment, after implementing the control to turn off the camera, the processor 305 is further configured to implement:
[0105] The environmental sensor is controlled to be in a sleep state.
[0106] In one embodiment, after implementing the control of the environmental sensor to enter a sleep state, the processor 305 is further configured to:
[0107] After a preset time period, the environmental sensor is controlled to be in working state, and the current environmental information collected by the environmental sensor is acquired.
[0108] If the current environmental information determines that the conditions for turning on the camera have been met, then the camera is controlled to operate.
[0109] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the above description of the specific working process of the head-mounted display device can refer to the corresponding process in the aforementioned head-mounted display device control method embodiment, and will not be repeated here.
[0110] This application also provides a computer-readable storage medium storing a computer program, the computer program including program instructions, and the method implemented when the program instructions are executed can refer to various embodiments of the head-mounted display device control method of this application.
[0111] The computer-readable storage medium can be an internal storage unit of the head-mounted display device described in the foregoing embodiments, such as the hard disk or memory of the head-mounted display device. The computer-readable storage medium can be non-volatile or volatile. Alternatively, the computer-readable storage medium can be an external storage device of the head-mounted display device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the head-mounted display device.
[0112] It should be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification, unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “the” are intended to include the plural forms.
[0113] It should also be understood that the term "and / or" as used in this specification refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that, herein, 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. Without further limitations, 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.
[0114] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. The above descriptions are merely specific implementations of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A control method for a head-mounted display device, wherein, Applied to a head-mounted display device, the head-mounted display device including a camera, indicator lights, and an environmental sensor, the method includes: After the camera is activated and the indicator light is on, the environmental information collected by the environmental sensor is acquired. If the environmental information determines that the conditions for turning off the camera have been met, then the camera is controlled to turn off.
2. The head-mounted display device control method as described in claim 1, wherein, The conditions for turning off the camera are that the indicator light is blocked and / or the environmental sensor is blocked.
3. The head-mounted display device control method as described in claim 1, wherein, The environmental sensor includes a first light sensor and / or a distance sensor. The environmental information includes a first brightness detected by the first light sensor and / or a distance detected by the distance sensor. Determining that the conditions for turning off the camera have been met based on the environmental information includes: If the first brightness is less than or equal to a preset brightness threshold and / or the distance is less than or equal to a preset distance threshold, it is determined that the conditions for turning off the camera have been met.
4. The head-mounted display device control method as described in claim 1, wherein, The environmental sensor includes a first light sensor, and the environmental information includes a first brightness collected by the first light sensor. The head-mounted display device further includes a second light sensor, which is positioned away from the first light sensor. Determining that the conditions for turning off the camera have been met based on the environmental information includes: The second brightness is acquired by the second light sensor, and the first brightness is subtracted from the second brightness to obtain the brightness difference. If the brightness difference is greater than a preset first brightness difference, it is determined that the condition for turning off the camera has been met.
5. The head-mounted display device control method according to any one of claims 1-4, wherein, The head-mounted display device further includes a sound playback device; the method further includes: After the camera is activated and the indicator light is on, the sound playback device is controlled to output a prompt sound indicating that the camera is turned on.
6. The head-mounted display device control method according to any one of claims 1-4, wherein, The head-mounted display device further includes a sound playback device, and the method further includes: The sound playback device is controlled to output a prompt sound indicating that the camera is turned on at preset intervals to remind people around that the camera is on.
7. The head-mounted display device control method according to any one of claims 1-4, wherein, After controlling the camera to turn off, the method also includes: The environmental sensor is controlled to be in a sleep state.
8. The head-mounted display device control method as described in any one of claims 1-4, wherein, After the environmental sensor is put into a sleep state, the method further includes: After a preset time period, the environmental sensor is controlled to be in working state, and the current environmental information collected by the environmental sensor is acquired. If the current environmental information determines that the conditions for turning on the camera have been met, then the camera is controlled to operate.
9. The head-mounted display device control method as described in any one of claims 1-4, wherein, The method further includes: In response to the camera being turned on, the indicator light is turned on to alert people in the vicinity that the camera is on.
10. A control device for a head-mounted display device, wherein, The head-mounted display device control unit includes an acquisition module and a control module, wherein: The acquisition module is used to acquire environmental information collected by the environmental sensor after the camera is started and the indicator light is on. The control module is used to control the camera to turn off if the environmental information determines that the conditions for turning off the camera have been met.
11. The head-mounted display device control device as claimed in claim 10, wherein, The conditions for turning off the camera are that the indicator light is blocked and / or the environmental sensor is blocked.
12. The head-mounted display device control device as claimed in claim 10, wherein, The environmental sensor includes a first light sensor and / or a distance sensor. The environmental information includes a first brightness detected by the first light sensor and / or a distance detected by the distance sensor. Determining that the conditions for turning off the camera have been met based on the environmental information includes: If the first brightness is less than or equal to a preset brightness threshold and / or the distance is less than or equal to a preset distance threshold, it is determined that the conditions for turning off the camera have been met.
13. The head-mounted display device control device as claimed in claim 10, wherein, The environmental sensor includes a first light sensor, and the environmental information includes a first brightness collected by the first light sensor. The head-mounted display device further includes a second light sensor, which is positioned away from the first light sensor. Determining that the conditions for turning off the camera have been met based on the environmental information includes: The second brightness is acquired by the second light sensor, and the first brightness is subtracted from the second brightness to obtain the brightness difference. If the brightness difference is greater than a preset first brightness difference, it is determined that the condition for turning off the camera has been met.
14. The head-mounted display device control device as claimed in claim 10, wherein, The head-mounted display device further includes a sound playback device; the head-mounted display device control device is further configured to: After the camera is activated and the indicator light is on, the sound playback device is controlled to output a prompt sound indicating that the camera is turned on.
15. A head-mounted display device, wherein, The head-mounted display device includes a camera, indicator lights, an environmental sensor, a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, it implements the steps of the head-mounted display device control method as described in any one of claims 1 to 9.
16. The head-mounted display device of claim 15, wherein, The indicator light and the environmental sensor are located on the front of the head-mounted display device.
17. The head-mounted display device of claim 16, wherein, The indicator light and the environmental sensor are positioned close to each other and located in the same hardware port of the head-mounted display device.
18. The head-mounted display device of claim 17, wherein, The light emitted by the indicator light located in the hardware hole shines out through the hardware hole, and the environmental sensor located in the hardware hole collects environmental information through the hardware hole.
19. The head-mounted display device of claim 15, wherein, A baffle is provided between the environmental sensor and the indicator light.
20. A computer-readable storage medium, wherein, The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, it implements the steps of the head-mounted display device control method as described in any one of claims 1 to 9.