[go: up one dir, main page]

CN111862899A - Control method and electronic device - Google Patents

Control method and electronic device Download PDF

Info

Publication number
CN111862899A
CN111862899A CN202010750707.XA CN202010750707A CN111862899A CN 111862899 A CN111862899 A CN 111862899A CN 202010750707 A CN202010750707 A CN 202010750707A CN 111862899 A CN111862899 A CN 111862899A
Authority
CN
China
Prior art keywords
preset
pupil
current user
control method
display screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010750707.XA
Other languages
Chinese (zh)
Inventor
王路
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010750707.XA priority Critical patent/CN111862899A/en
Publication of CN111862899A publication Critical patent/CN111862899A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/18Eye characteristics, e.g. of the iris
    • G06V40/19Sensors therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/18Eye characteristics, e.g. of the iris
    • G06V40/193Preprocessing; Feature extraction
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/18Eye characteristics, e.g. of the iris
    • G06V40/197Matching; Classification
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Ophthalmology & Optometry (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Hardware Design (AREA)
  • Eye Examination Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a control method and electronic equipment. The control method is used for the electronic equipment, and the electronic equipment comprises a display screen and an imaging device. The control method comprises the following steps: controlling an imaging device to acquire an image to obtain eye information of a current user; processing the eye information to judge whether the pupil area of the current user exceeds a preset pupil range, wherein the minimum value of the preset pupil range is a first preset value, and the maximum value of the preset pupil range is a second preset value; after the pupil area is smaller than a first preset value and lasts for a first preset time, controlling the display screen to reduce the display brightness; and controlling the display screen to increase the display brightness after the pupil area is larger than a second preset value and lasts for a second preset time. So, can adjust the display brightness of display screen according to the size of pupil area to make the demand that display brightness more matches user's eyes.

Description

控制方法和电子设备Control method and electronic device

技术领域technical field

本申请涉及消费性电子技术领域,特别涉及一种控制方法和电子设备。The present application relates to the technical field of consumer electronics, and in particular, to a control method and an electronic device.

背景技术Background technique

在相关技术中,可以通过环境光传感器获取环境光亮度,然后根据环境光亮度调节显示屏的亮度,例如环境光亮度较高时,提高显示屏亮度,环境光亮度较低时,降低显示屏亮度。然而,由于不同用户对于亮度的敏感度不同,因此,这种调节方式不能很好地适应用户的眼睛需求。In the related art, the ambient light brightness can be obtained through an ambient light sensor, and then the brightness of the display screen can be adjusted according to the ambient light brightness. For example, when the ambient light brightness is high, the display screen brightness is increased, and when the ambient light brightness is low, the display screen brightness is reduced . However, since different users have different sensitivities to brightness, this adjustment method cannot well meet the needs of users' eyes.

发明内容SUMMARY OF THE INVENTION

本申请提供了一种控制方法和电子设备。The present application provides a control method and electronic device.

本申请实施方式的控制方法可以用于电子设备,所述电子设备包括显示屏和成像装置,所述控制方法包括:控制所述成像装置获取图像以得到当前用户的眼部信息;处理所述眼部信息以判断当前用户的瞳孔面积是否超出预设瞳孔范围,所述预设瞳孔范围的最小值为第一预设值,所述预设瞳孔范围的最大值为第二预设值;在所述瞳孔面积小于所述第一预设值并持续第一预设时长后,控制所述显示屏调低显示亮度;在所述瞳孔面积大于所述第二预设值并持续第二预设时长后,控制所述显示屏调高所述显示亮度。The control method of the embodiment of the present application can be applied to an electronic device, where the electronic device includes a display screen and an imaging device, and the control method includes: controlling the imaging device to acquire an image to obtain the eye information of the current user; processing the eye part information to determine whether the pupil area of the current user exceeds the preset pupil range, the minimum value of the preset pupil range is the first preset value, and the maximum value of the preset pupil range is the second preset value; After the pupil area is smaller than the first preset value and lasts for the first preset duration, the display screen is controlled to reduce the display brightness; when the pupil area is larger than the second preset value and lasts for the second preset duration Then, the display screen is controlled to increase the display brightness.

本申请实施方式的电子设备包括显示屏、成像装置和处理器,所述处理器用于:控制所述成像装置获取图像以得到当前用户的眼部信息;处理所述眼部信息以判断当前用户的瞳孔面积是否超出预设瞳孔范围,所述预设瞳孔范围的最小值为第一预设值,所述预设瞳孔范围的最大值为第二预设值;在所述瞳孔面积小于所述第一预设值并持续第一预设时长后,控制所述显示屏调低显示亮度;在所述瞳孔面积大于所述第二预设值并持续第二预设时长后,控制所述显示屏调高所述显示亮度。An electronic device according to an embodiment of the present application includes a display screen, an imaging device, and a processor, where the processor is configured to: control the imaging device to acquire an image to obtain eye information of the current user; process the eye information to determine the current user's eye information Whether the pupil area exceeds the preset pupil range, the minimum value of the preset pupil range is the first preset value, and the maximum value of the preset pupil range is the second preset value; After a preset value lasts for a first preset duration, the display screen is controlled to reduce the display brightness; after the pupil area is larger than the second preset value and lasts for a second preset duration, the display screen is controlled Turn up the display brightness.

本申请的控制方法和电子设备能够根据瞳孔面积的大小来调节显示屏的显示亮度,从而使得显示亮度更加匹配用户眼睛的需求。The control method and electronic device of the present application can adjust the display brightness of the display screen according to the size of the pupil area, so that the display brightness can better match the needs of the user's eyes.

本申请的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the present application will be set forth, in part, from the following description, and in part will become apparent from the following description, or may be learned by practice of the present application.

附图说明Description of drawings

本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:

图1是本申请实施方式的控制方法的流程示意图;1 is a schematic flowchart of a control method according to an embodiment of the present application;

图2是本申请实施方式的电子设备的示意图;2 is a schematic diagram of an electronic device according to an embodiment of the present application;

图3是本申请实施方式的控制方法的另一流程示意图;Fig. 3 is another schematic flowchart of the control method of the embodiment of the present application;

图4是本申请实施方式的控制方法的再一流程示意图。FIG. 4 is another schematic flowchart of the control method according to the embodiment of the present application.

主要特征附图标记:Main features reference numbers:

电子设备100;electronic equipment 100;

处理器10、成像装置20、红外光源21、红外摄像头22、显示屏30。A processor 10 , an imaging device 20 , an infrared light source 21 , an infrared camera 22 , and a display screen 30 .

具体实施方式Detailed ways

下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。The following describes in detail the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to be used to explain the present application, but should not be construed as a limitation to the present application.

下文的公开提供了许多不同的实施方式或例子用来实现本申请的不同结构。为了简化本申请的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本申请。此外,本申请可以在不同例子中重复参考数字和/或参考字母,这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施方式和/或设置之间的关系。此外,本申请提供了的各种特定的工艺和材料的例子,但是本领域普通技术人员可以意识到其它工艺的应用和/或其它材料的使用。The following disclosure provides many different embodiments or examples for implementing different structures of the present application. To simplify the disclosure of the present application, the components and arrangements of specific examples are described below. Of course, they are only examples and are not intended to limit the application. Furthermore, this application may repeat reference numerals and/or reference letters in different instances for the purpose of simplicity and clarity, and does not in itself indicate a relationship between the various embodiments and/or arrangements discussed. In addition, this application provides examples of various specific processes and materials, but one of ordinary skill in the art will recognize the application of other processes and/or the use of other materials.

需要指出的是,在本申请的描述中,需要理解的是,术语“厚度”、“上”、“下”、“内”、“外”指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。It should be pointed out that, in the description of the present application, it should be understood that the orientation or positional relationship indicated by the terms "thickness", "upper", "lower", "inner" and "outer" is based on the drawings shown in the drawings. The orientation or positional relationship is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on the present application.

请参阅图1,本申请实施方式的控制方法包括:Referring to FIG. 1, the control method of the embodiment of the present application includes:

011,控制成像装置获取图像以得到当前用户的眼部信息;011, controlling the imaging device to acquire an image to obtain the eye information of the current user;

012,处理眼部信息以判断当前用户的瞳孔面积是否超出预设瞳孔范围,预设瞳孔范围的最小值为第一预设值,预设瞳孔范围的最大值为第二预设值;012, processing the eye information to determine whether the pupil area of the current user exceeds a preset pupil range, the minimum value of the preset pupil range is the first preset value, and the maximum value of the preset pupil range is the second preset value;

013,在瞳孔面积小于第一预设值并持续第一预设时长后,控制显示屏30调低显示亮度;013, after the pupil area is smaller than the first preset value and continues for the first preset duration, control the display screen 30 to lower the display brightness;

014,在瞳孔面积大于第二预设值并持续第二预设时长后,控制显示屏30调高显示亮度。014. After the pupil area is greater than the second preset value and lasts for the second preset time period, control the display screen 30 to increase the display brightness.

请参阅图1和图2,本申请实施方式的电子设备100包括显示屏30、成像装置20和处理器10。本申请实施方式的控制方法可以由本申请实施方式的电子设备100实现,其中,步骤011、步骤012、步骤013和步骤014均可以由处理器10实现。也即是说,处理器10可用于控制成像装置获取图像以得到当前用户的眼部信息;处理眼部信息以判断当前用户的瞳孔面积是否超出预设瞳孔范围,预设瞳孔范围的最小值为第一预设值,预设瞳孔范围的最大值为第二预设值;在瞳孔面积小于第一预设值并持续第一预设时长后,控制显示屏30调低显示亮度;在瞳孔面积大于第二预设值并持续第二预设时长后,控制显示屏30调高显示亮度。Referring to FIG. 1 and FIG. 2 , the electronic device 100 according to the embodiment of the present application includes a display screen 30 , an imaging device 20 and a processor 10 . The control method of the embodiment of the present application may be implemented by the electronic device 100 of the embodiment of the present application, wherein step 011 , step 012 , step 013 and step 014 may all be implemented by the processor 10 . That is to say, the processor 10 can be used to control the imaging device to acquire images to obtain the eye information of the current user; process the eye information to determine whether the pupil area of the current user exceeds the preset pupil range, and the minimum value of the preset pupil range is The first preset value, the maximum value of the preset pupil range is the second preset value; after the pupil area is smaller than the first preset value and lasts for the first preset duration, the display screen 30 is controlled to lower the display brightness; After the value is greater than the second preset value and lasts for the second preset time period, the display screen 30 is controlled to increase the display brightness.

需要指出的是,眼部信息可以包括虹膜中心、虹膜边缘、瞳孔边缘、瞳孔中心等数据,瞳孔面积可以根据瞳孔边缘和瞳孔中心的数据计算得到。预设瞳孔范围指正常状态下用户的瞳孔面积范围,不同用户的预设瞳孔范围可以不同。It should be pointed out that the eye information may include data such as the iris center, the iris edge, the pupil edge, and the pupil center, and the pupil area may be calculated according to the data of the pupil edge and the pupil center. The preset pupil range refers to the pupil area range of the user in a normal state, and the preset pupil range of different users may be different.

用户的瞳孔在亮度较高的情况下,瞳孔面积会变小;在亮度较低的情况下,瞳孔面积会变大。所以在用户瞳孔面积小于第一预设值并持续第一预设时长后,即认为此时显示屏30亮度较高,处理器10控制显示屏30调低显示亮度。在用户瞳孔面积大于第二预设值并持续第二预设时长后,即认为此时显示屏30亮度较低,处理器10控制显示屏30调高显示亮度。第一预设时长和第二预设时长的设置避免了用户因为环境或其他因素造成短时间瞳孔面积变化导致屏幕亮度调节。When the brightness of the user's pupil is high, the pupil area will become smaller; when the brightness is low, the pupil area will become larger. Therefore, after the user's pupil area is smaller than the first preset value and lasts for the first preset duration, it is considered that the brightness of the display screen 30 is high at this time, and the processor 10 controls the display screen 30 to lower the display brightness. After the user's pupil area is greater than the second preset value for the second preset duration, it is considered that the brightness of the display screen 30 is low at this time, and the processor 10 controls the display screen 30 to increase the display brightness. The setting of the first preset duration and the second preset duration prevents the user from adjusting the screen brightness due to changes in pupil area in a short time due to environmental or other factors.

如此,本申请的控制方法和电子设备100能够根据瞳孔面积的大小来调节显示屏30的显示亮度,从而使得显示亮度更加匹配用户眼睛的需求。In this way, the control method and electronic device 100 of the present application can adjust the display brightness of the display screen 30 according to the size of the pupil area, so that the display brightness can better match the needs of the user's eyes.

可以理解的是,本申请实施方式的电子设备100包括但不限于AR眼镜、VR眼镜等头戴式电子设备或其他诸如手机、平板电脑等电子装置。在本文中,以电子设备100为AR眼镜为例进行说明。It can be understood that the electronic device 100 in the embodiments of the present application includes, but is not limited to, head-mounted electronic devices such as AR glasses and VR glasses, or other electronic devices such as mobile phones and tablet computers. In this document, the electronic device 100 is taken as an example of AR glasses for description.

请参阅图3,在某些实施方式中,控制方法还包括:Referring to FIG. 3, in some embodiments, the control method further includes:

015,处理眼部信息以判断当前用户是否已经注册;015, processing eye information to determine whether the current user has been registered;

016,在当前用户未注册时,控制显示屏显示预设画面,根据当前用户的瞳孔变化确定预设瞳孔范围并进行注册;016, when the current user is not registered, the display screen is controlled to display a preset screen, and the preset pupil range is determined and registered according to the pupil change of the current user;

017,在当前用户已注册时,确定预设瞳孔范围。017. When the current user is registered, determine a preset pupil range.

在某些实施方式中,步骤015、步骤016和步骤017均可以由处理器10实现,也即是说,处理器10可用于处理眼部信息以判断当前用户是否已经注册;在当前用户未注册时,控制显示屏显示预设画面,根据当前用户的瞳孔变化确定预设瞳孔范围并进行注册;在当前用户已注册时,确定预设瞳孔范围。In some embodiments, steps 015, 016 and 017 can all be implemented by the processor 10, that is to say, the processor 10 can be used to process the eye information to determine whether the current user has been registered; if the current user is not registered When , the display screen is controlled to display the preset screen, and the preset pupil range is determined and registered according to the pupil change of the current user; when the current user has been registered, the preset pupil range is determined.

具体地,处理器10可以将成像装置20采集到的用户眼部信息存储在电子设备100中,如果处理器10处理当前用户的眼部信息能与设备中已有的眼部信息数据匹配,即认为该用户已注册,否则认为该用户未注册。Specifically, the processor 10 may store the user's eye information collected by the imaging device 20 in the electronic device 100. If the current user's eye information processed by the processor 10 can match the existing eye information data in the device, that is, The user is considered registered, otherwise the user is considered unregistered.

若当前用户未注册,处理器10控制显示屏30显示预设画面,根据当前用户的瞳孔变化确定预设瞳孔范围并进行注册;若当前用户已注册,确定预设瞳孔范围。If the current user is not registered, the processor 10 controls the display screen 30 to display a preset screen, determines the preset pupil range according to the pupil change of the current user and performs registration; if the current user is registered, determines the preset pupil range.

由此,可以区分不同用户的眼部信息进而对显示屏30亮度进行更合理的调节,避免多用户使用电子设备100时造成眼部信息混乱进而使显示屏30亮度错误调节。Therefore, the eye information of different users can be distinguished and the brightness of the display screen 30 can be adjusted more reasonably, so as to avoid confusion of the eye information and wrong adjustment of the brightness of the display screen 30 when multiple users use the electronic device 100 .

可以理解的是,在一些实施方式中,上述判断用户是否注册的过程可以通过虹膜识别来完成,成像装置20获取当前用户的虹膜图像,处理器10对虹膜图像进行特征提取、特征匹配,若能与已注册图像匹配则认为当前用户已注册,否则认为当前用户未注册并进行注册过程。It can be understood that, in some embodiments, the above-mentioned process of judging whether the user is registered can be completed through iris recognition, the imaging device 20 obtains the iris image of the current user, and the processor 10 performs feature extraction and feature matching on the iris image. If it matches the registered image, the current user is considered to be registered, otherwise, the current user is considered to be unregistered and the registration process is performed.

在另一实施方式中,该判断过程也可以采用眼纹识别,通过对当前用户的眼纹进行采集和比对来实现。In another embodiment, the judging process may also adopt eye pattern recognition, which is implemented by collecting and comparing the eye patterns of the current user.

在某些实施方式中,步骤016包括:In certain embodiments, step 016 includes:

0161:在当前用户未注册时,控制显示屏30分别显示多个预设画面,根据当前用户在各个预设画面下的瞳孔变化确定预设瞳孔范围和各个预设变化范围并进行注册,每个预设变化范围对应一种调节量;0161: When the current user is not registered, the display screen 30 is controlled to display a plurality of preset images respectively, and the preset pupil range and each preset change range are determined according to the pupil changes of the current user under each preset image and registered, and each The preset variation range corresponds to an adjustment amount;

步骤013包括:Step 013 includes:

0131:在瞳孔面积小于第一预设值并持续第一预设时长后,控制显示屏30调低显示亮度,包括:在瞳孔面积小于第一预设值且处于其中一个预设变化范围内并持续第一预设时长后,根据对应的调节量调低显示亮度;0131: After the pupil area is smaller than the first preset value and lasts for the first preset duration, controlling the display screen 30 to lower the display brightness, including: when the pupil area is smaller than the first preset value and is within one of the preset variation ranges, and After continuing for the first preset duration, the display brightness is lowered according to the corresponding adjustment amount;

步骤014包括:Step 014 includes:

0141:在瞳孔面积大于第二预设值并持续第二预设时长后,控制显示屏30调高显示亮度,包括:在瞳孔面积大于第二预设值且处于其中一个预设变化范围内并持续第二预设时长后,根据对应的调节量提高显示亮度。0141: After the pupil area is greater than the second preset value and lasts for the second preset duration, controlling the display screen 30 to increase the display brightness, including: when the pupil area is greater than the second preset value and is within one of the preset variation ranges, and After continuing for the second preset time period, the display brightness is increased according to the corresponding adjustment amount.

在某些实施方式中,步骤0161、步骤0131和步骤0141均可以由处理器10实现,也即是说,处理器10可用于在当前用户未注册时,控制显示屏30分别显示多个预设画面,根据当前用户在各个预设画面下的瞳孔变化确定预设瞳孔范围和各个预设变化范围并进行注册,每个预设变化范围对应一种调节量;在瞳孔面积小于第一预设值且处于其中一个预设变化范围内并持续第一预设时长后,根据对应的调节量调低显示亮度;在瞳孔面积大于第二预设值且处于其中一个预设变化范围内并持续第二预设时长后,根据对应的调节量提高显示亮度。In some embodiments, steps 0161, 0131 and 0141 can all be implemented by the processor 10, that is to say, the processor 10 can be used to control the display screen 30 to display a plurality of presets respectively when the current user is not registered screen, according to the current user's pupil changes under each preset screen, determine the preset pupil range and each preset change range and register, and each preset change range corresponds to an adjustment amount; when the pupil area is smaller than the first preset value and within one of the preset change ranges for the first preset duration, reduce the display brightness according to the corresponding adjustment amount; when the pupil area is greater than the second preset value and within one of the preset change ranges and continues for the second After the preset time period, increase the display brightness according to the corresponding adjustment amount.

具体地,若当前用户未注册,处理器10控制显示屏30分别显示多个预设画面,多个预设画面之间存在亮度差异(比如较亮的、较暗的预设画面和其他亮度的预设画面)。Specifically, if the current user is not registered, the processor 10 controls the display screen 30 to display a plurality of preset images respectively, and there is a difference in brightness between the multiple preset images (such as brighter and darker preset images and other brightness images). default screen).

例如,在一种实施方式中,提供五种亮度的预设画面,分别为高亮度、较高亮度、正常亮度、较低亮度、低亮度五种。用户在观看这些画面时,瞳孔会受到画面亮度的影响,当画面亮度高于正常亮度时,用户瞳孔面积变小;当画面亮度低于正常亮度时,用户瞳孔面积变大。根据当前用户在五个预设画面下的瞳孔变化确定预设瞳孔范围和五个预设变化范围并进行注册,每个预设变化范围对应一种调节量。在一个实施方式中,高亮度的调节量大于较高亮度的调节量,低亮度的调节量大于较低亮度的调节量,正常亮度的调节量为0。For example, in one embodiment, five preset pictures of brightness are provided, namely, high brightness, high brightness, normal brightness, low brightness, and low brightness. When the user watches these pictures, the pupil will be affected by the brightness of the picture. When the brightness of the picture is higher than the normal brightness, the pupil area of the user becomes smaller; when the brightness of the picture is lower than the normal brightness, the pupil area of the user becomes larger. A preset pupil range and five preset change ranges are determined and registered according to the pupil changes of the current user under five preset screens, and each preset change range corresponds to an adjustment amount. In one embodiment, the adjustment amount of high brightness is greater than that of higher brightness, the adjustment amount of low brightness is greater than that of lower brightness, and the adjustment amount of normal brightness is 0.

确定预设瞳孔范围和各个预设变化范围并进行注册后,处理器10对当前用户瞳孔面积进行计算和判断处理,在瞳孔面积小于第一预设值且处于其中一个预设变化范围内并持续第一预设时长后,根据对应的调节量调低显示亮度;在瞳孔面积大于第二预设值且处于其中一个预设变化范围内并持续第二预设时长后,根据对应的调节量提高显示亮度。After determining the preset pupil range and each preset variation range and registering, the processor 10 performs calculation and judgment processing on the pupil area of the current user. After the first preset duration, the display brightness is decreased according to the corresponding adjustment amount; after the pupil area is greater than the second preset value and within one of the preset variation ranges and continues for the second preset duration, the display brightness is increased according to the corresponding adjustment amount. Display brightness.

如此,可以得到不同用户对于显示亮度变化的瞳孔变化量,使电子设备100对不同用户都能实现相应的更精确的亮度变化。In this way, the amount of pupil change for different users to display brightness changes can be obtained, so that the electronic device 100 can achieve corresponding more accurate brightness changes for different users.

请参阅图4,在某些实施方式中,步骤012包括:Referring to FIG. 4, in some embodiments, step 012 includes:

0121,处理眼部信息以确定瞳孔的边缘信息;0121, process the eye information to determine the edge information of the pupil;

0122,根据边缘信息确定瞳孔的中心信息;0122, determine the center information of the pupil according to the edge information;

0123,根据边缘信息和中心信息确定瞳孔面积;0123, determine the pupil area according to the edge information and the center information;

0124,判断瞳孔面积是否超出预设瞳孔范围。0124: Determine whether the pupil area exceeds the preset pupil range.

在某些实施方式中,步骤0121、步骤0122、步骤0123和步骤0124均可以由处理器10实现,即处理器10可用于处理眼部信息以确定瞳孔的边缘信息;根据边缘信息确定瞳孔的中心信息;根据边缘信息和中心信息确定瞳孔面积;判断瞳孔面积是否超出预设瞳孔范围。In some embodiments, steps 0121, 0122, 0123 and 0124 can all be implemented by the processor 10, that is, the processor 10 can be used to process the eye information to determine the edge information of the pupil; determine the center of the pupil according to the edge information information; determine the pupil area according to the edge information and center information; determine whether the pupil area exceeds the preset pupil range.

在眼部信息处理过程中,处理器10首先识别眼部,根据获取的眼部图像获取眼部信息,对眼部信息做处理,确定瞳孔的边缘信息,根据瞳孔边缘信息确定瞳孔中心信息,然后根据边缘信息和中心信息计算瞳孔面积,最后判断瞳孔面积是否超出预设瞳孔范围。In the process of eye information processing, the processor 10 first identifies the eye, obtains eye information according to the acquired eye image, processes the eye information, determines the edge information of the pupil, determines the pupil center information according to the pupil edge information, and then Calculate the pupil area according to the edge information and center information, and finally determine whether the pupil area exceeds the preset pupil range.

如此,确定瞳孔中心和边缘信息有利于实现眼球追踪,在眼睛转动、眨眼等情况下也可以对瞳孔面积进行精确的计算。In this way, determining the pupil center and edge information is conducive to the realization of eye tracking, and the pupil area can also be accurately calculated in the case of eye movement, blinking, etc.

在某些实施方式中,控制方法还包括:在显示屏30调低或调高显示亮度并经过预设适应时长后,重新进入控制成像装置20获取图像以得到当前用户的眼部信息的步骤。In some embodiments, the control method further includes: after the display screen 30 is turned down or up and a preset adaptation time period elapses, re-entering the step of controlling the imaging device 20 to acquire images to obtain the eye information of the current user.

在某些实施方式中,处理器10可用于在显示屏30调低或调高显示亮度并经过预设适应时长后,重新进入控制成像装置20获取图像以得到当前用户的眼部信息的步骤。In some embodiments, the processor 10 may be configured to re-enter the step of controlling the imaging device 20 to acquire an image to obtain the eye information of the current user after the display screen 30 is turned down or up and the display brightness is turned up and the preset adaptation period has passed.

具体地,当用户的瞳孔面积发生变化达到预设时长后,处理器10会控制显示屏30调低或调高显示亮度,并给用户提供一个适应调节后亮度的时间,避免用户在未适应当前亮度的情况下瞳孔面积变化再次导致亮度调节。即在这段适应时间内成像装置20和处理器10停止接收和处理用户的眼部信息图像。经过预设适应时长后,重新进入控制成像装置20获取图像以得到当前用户的眼部信息的步骤。Specifically, when the pupil area of the user changes for a preset duration, the processor 10 will control the display screen 30 to lower or increase the display brightness, and provide the user with a time to adapt to the adjusted brightness, so as to prevent the user from adapting to the current In the case of brightness, pupil area changes again lead to brightness adjustment. That is, the imaging device 20 and the processor 10 stop receiving and processing the user's eye information image during this adaptation time. After the preset adaptation time period has elapsed, the step of controlling the imaging device 20 to acquire an image to obtain the eye information of the current user is re-entered.

例如,在某一时段设备屏幕亮度较高,用户瞳孔面积变小达到了第一预设时长,处理器10即会调低显示屏30的显示亮度,然后进入适应状态。由于此时屏幕从较亮变为正常亮度,亮度降低,用户的瞳孔在此期间会有一个放大的过程,此时处理器10不会控制显示屏30改变亮度。For example, during a certain period of time, the device screen brightness is high, and the user's pupil area becomes smaller and reaches the first preset duration, the processor 10 will reduce the display brightness of the display screen 30, and then enter the adaptation state. Since the screen changes from brighter to normal brightness at this time, and the brightness decreases, the user's pupil will have a process of enlargement during this period, and the processor 10 will not control the display screen 30 to change the brightness at this time.

如此,可以避免用户在使用电子设备100过程中由于环境或其他的因素导致屏幕亮度频繁变换,给用户一个对调节后亮度的适应过程,提高了用户体验。In this way, frequent changes of screen brightness due to environmental or other factors during the use of the electronic device 100 by the user can be avoided, the user is given an adaptation process to the adjusted brightness, and the user experience is improved.

在某些实施方式中,控制方法还包括:In certain embodiments, the control method further includes:

018,处理眼部信息以判断当前用户的眼睛是否处于疲劳状态;018, processing the eye information to determine whether the eyes of the current user are in a fatigued state;

019,在当前用户的眼睛处于疲劳状态时,发出提示信息。019. When the eyes of the current user are in a fatigued state, a prompt message is issued.

在某些实施方式中,步骤018和步骤019可以由处理器10实现,即处理器10可用于处理眼部信息以判断当前用户的眼睛是否处于疲劳状态;在当前用户的眼睛处于疲劳状态时,发出提示信息。In some embodiments, steps 018 and 019 may be implemented by the processor 10, that is, the processor 10 may be used to process the eye information to determine whether the eyes of the current user are in a fatigued state; when the eyes of the current user are in a fatigued state, Send an alert message.

如此,可以在用户的眼睛处于疲劳状态时,发出“注意休息”等提示信息,从而提示用户保护眼睛。In this way, when the user's eyes are in a tired state, prompt information such as "pay attention to rest" can be issued, thereby prompting the user to protect the eyes.

提示信息可以采用显示屏30上的文字或图像提示、电子设备100的震动、铃声、语音提示或其他提示方式。例如,在一种实施方式中,电子设备100采用屏幕信息提示和设备震动共同作用的方式,在用户的眼睛处于疲劳状态时,电子设备100发生一定强度的震动,同时显示屏30上显示疲劳提示。The prompt information may be text or image prompts on the display screen 30, vibrations of the electronic device 100, ringtones, voice prompts, or other prompts. For example, in one embodiment, the electronic device 100 uses the combined action of screen information prompts and device vibrations. When the user's eyes are in a state of fatigue, the electronic device 100 vibrates with a certain intensity, and at the same time, the display screen 30 displays a fatigue prompt. .

在某些实施方式中,步骤018包括:In certain embodiments, step 018 includes:

0181,处理眼部信息以确定当前用户的瞳孔面积的变化规律;0181, process the eye information to determine the changing law of the pupil area of the current user;

0182,在变化规律为预设规律时,确定当前用户的眼睛处于疲劳状态。0182, when the change rule is a preset rule, determine that the eyes of the current user are in a fatigued state.

在某些实施方式中,步骤0180和步骤0182均可以由处理器10实现,也即是说,处理器10可用于处理眼部信息以确定当前用户的瞳孔面积的变化规律;在变化规律为预设规律时,确定当前用户的眼睛处于疲劳状态。In some embodiments, both steps 0180 and 0182 can be implemented by the processor 10, that is, the processor 10 can be used to process the eye information to determine the changing law of the pupil area of the current user; When setting the rule, it is determined that the eyes of the current user are in a fatigued state.

需要说明的是,人的眼睛处于疲劳状态时,会产生光敏感现象,所视物体亮度的变化会导致瞳孔过度调节,即亮度发生改变时,瞳孔面积的变化会更频繁。因此可以通过用户瞳孔面积的变化规律来判断用户的眼睛是否处于疲劳状态,若用户的瞳孔面积的变化规律为预设规律,即认为用户的眼睛处于疲劳状态,预设规律例如是在设定时长内发生变化的次数超过预设次数。It should be noted that when the human eyes are in a state of fatigue, light sensitivity will occur, and changes in the brightness of the object being viewed will lead to overregulation of the pupil, that is, when the brightness changes, the pupil area will change more frequently. Therefore, it is possible to judge whether the user's eyes are in a fatigued state through the changing law of the user's pupil area. If the changing law of the user's pupil area is a preset law, the user's eyes are considered to be in a fatigued state. has changed more than the preset number of times.

在某些实施方式中,步骤018还包括:In certain embodiments, step 018 further includes:

0183,处理眼部信息以判断当前用户的眨眼频率;0183, process eye information to determine the blink frequency of the current user;

0184,在眨眼频率大于预设频率时,确定当前用户的眼睛处于疲劳状态。0184. When the blinking frequency is greater than the preset frequency, determine that the eyes of the current user are in a fatigued state.

在某些实施方式中,步骤0183和步骤0184均可以由处理器10实现,也即是说,处理器10可用于处理眼部信息以判断当前用户的眨眼频率;在眨眼频率大于预设频率时,确定当前用户的眼睛处于疲劳状态。In some embodiments, both steps 0183 and 0184 can be implemented by the processor 10, that is, the processor 10 can be used to process eye information to determine the current user's blink frequency; when the blink frequency is greater than the preset frequency , to determine that the current user's eyes are fatigued.

需要说明的是,眼睛疲劳时人的眨眼频率也会变高。由此,通过处理器10对眼部信息进行处理以判断当前用户的眨眼频率,眨眼频率可以通过记录单位时间内瞳孔面积为0或成像装置20未检测到瞳孔的次数来计算。在眨眼频率大于预设频率时,确定当前用户的眼睛处于疲劳状态。It should be noted that people blink more frequently when their eyes are tired. Thus, the processor 10 processes the eye information to determine the current user's blink frequency, which can be calculated by recording the number of times the pupil area is 0 or the imaging device 20 does not detect the pupil per unit time. When the blinking frequency is greater than the preset frequency, it is determined that the eyes of the current user are in a fatigued state.

例如,可以将预设频率设置为16次/分钟(正常人眨眼频率为15次/分钟),当用户在一段时间内眨眼频率超过16次,处理器10即判断用户的眼睛为疲劳状态。For example, the preset frequency can be set to 16 times/min (normal people blink at 15 times/min). When the user blinks more than 16 times in a period of time, the processor 10 determines that the user's eyes are in a fatigued state.

如此,电子设备100对用户疲劳状态的检测会更准确,让设备更加人性化。In this way, the electronic device 100 can detect the user's fatigue state more accurately, making the device more user-friendly.

在某些实施方式中,步骤018还包括:In certain embodiments, step 018 further includes:

0185,处理眼部信息以判断当前用户的瞳孔是否处于张开状态;0185, process the eye information to determine whether the pupil of the current user is in an open state;

0186,在当前用户的瞳孔处于张开状态时累计时间以获得张开时长;0186. Accumulate time when the pupil of the current user is in the open state to obtain the opening duration;

0187,在张开时长大于预定时长时,确定当前用户的眼睛处于疲劳状态。0187. When the opening duration is greater than the predetermined duration, determine that the eyes of the current user are in a fatigued state.

在某些实施方式中,步骤0185、步骤0186和步骤0187均可以由处理器10实现,也即是说,处理器10可用于处理眼部信息以判断当前用户的瞳孔是否处于张开状态;在当前用户的瞳孔处于张开状态时累计时间以获得张开时长;在张开时长大于预定时长时,确定当前用户眼睛处于疲劳状态。In some embodiments, steps 0185, 0186 and 0187 can all be implemented by the processor 10, that is to say, the processor 10 can be used to process the eye information to determine whether the pupils of the current user are in an open state; in When the pupils of the current user are in the opened state, the time is accumulated to obtain the opening duration; when the opening duration is greater than the predetermined duration, it is determined that the eyes of the current user are in a fatigued state.

具体地,步骤0185可以通过瞳孔面积是否为0来判断,当瞳孔面积非0时即认为处于张开状态。累计张开状态的时间获得张开时长,在张开时长大于预定时长时,处理器10确定当前用户的眼睛处于疲劳状态。Specifically, in step 0185, it can be determined by whether the pupil area is 0, and when the pupil area is not 0, it is considered to be in an open state. The time in the open state is accumulated to obtain the open duration, and when the open duration is greater than the predetermined duration, the processor 10 determines that the eyes of the current user are in a fatigued state.

如此,增加了眼睛疲劳状态的判定,在用户使用电子设备时间过长时判断为疲劳状态,使电子设备更加健康、人性化。In this way, the determination of the eye fatigue state is increased, and the user is determined to be in the fatigue state when the user uses the electronic device for too long, so that the electronic device is more healthy and humanized.

可以理解的是,在一种实施方式中,张开时长不会由不同用户共同累计,即处理器10处理眼部信息时,如判断当前用户发生改变,则不累计在上一用户的张开时长,而是重新累计当前用户的张开时长。It can be understood that, in an implementation manner, the opening duration will not be accumulated by different users, that is, when the processor 10 processes the eye information, if it is determined that the current user has changed, it will not be accumulated in the opening time of the previous user. time, but re-accumulate the opening time of the current user.

如此,防止不同用户使用同一设备时造成张开时长共同累计,导致错误提示。In this way, when different users use the same device, the opening duration is prevented from accumulating together, resulting in an error prompt.

在本申请实施方式的控制方法中,电子设备100包括头戴设备40,成像装置20包括红外光源21和红外摄像头22,红外光源21用于向当前用户的眼睛投射红外光线,红外摄像头22用于获取图像。In the control method of the embodiment of the present application, the electronic device 100 includes a head-mounted device 40 , the imaging device 20 includes an infrared light source 21 and an infrared camera 22 , the infrared light source 21 is used for projecting infrared light to the eyes of the current user, and the infrared camera 22 is used for Get an image.

电子设备100包括头戴设备,头戴设备可以将显示屏30、成像装置20等结构固定在人眼前。红外光源21安装在电子设备100对应人眼的下方位置,红外光源21向当前用户的眼睛投射红外光线,红外摄像头22获取眼球和瞳孔的图像。The electronic device 100 includes a head-mounted device, and the head-mounted device can fix structures such as the display screen 30 and the imaging device 20 in front of a person's eyes. The infrared light source 21 is installed at a position below the electronic device 100 corresponding to the human eye, the infrared light source 21 projects infrared light to the eyes of the current user, and the infrared camera 22 obtains images of the eyeball and pupil.

具体地,红外光源21向用户眼睛投射红外光线,若用户闭着眼睛,红外光投射在眼皮上部分反射,红外摄像头22接收到眼部信息后经处理器10处理则认为用户此时瞳孔面积为0。若用户睁着眼睛,红外光投射在用户眼球上,红外摄像头22接收到眼部信息后由处理器10对眼部信息做处理,确定瞳孔的边缘信息,根据瞳孔边缘信息确定瞳孔中心信息,进行瞳孔面积计算、眨眼频率记录等功能。Specifically, the infrared light source 21 projects infrared light to the eyes of the user. If the user closes his eyes, the infrared light is projected on the eyelid and partially reflected. After the infrared camera 22 receives the eye information and is processed by the processor 10, it is considered that the pupil area of the user at this time is 0. If the user opens his eyes and the infrared light is projected on the user's eyeball, the processor 10 processes the eye information after the infrared camera 22 receives the eye information, determines the edge information of the pupil, determines the pupil center information according to the pupil edge information, and performs Pupil area calculation, blink frequency recording and other functions.

如此可以实现电子设备100对眼部信息的采集和显示屏30的内容显示功能,也提高了电子设备100的便携性。In this way, the functions of collecting eye information by the electronic device 100 and displaying the content of the display screen 30 can be realized, and the portability of the electronic device 100 is also improved.

需要指出的是,在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。It should be pointed out that, in the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installed", "connected" and "connected" should be interpreted in a broad sense, for example, it may be a fixed connection, It can also be a detachable connection, or an integral connection; it can be a mechanical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal communication between the two elements or the interaction relationship between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific situations.

在本说明书的描述中,参考术语“某些实施方式”、“一个实施方式”、“一些实施方式”、“示意性实施方式”、“示例”、“具体示例”、或“一些示例”等的描述意指结合所述实施方式或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施方式或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施方式或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施方式或示例中以合适的方式结合。In the description of this specification, reference is made to the terms "some embodiments," "one embodiment," "some embodiments," "exemplary embodiments," "examples," "specific examples," or "some examples," etc. The description means that a particular feature, structure, material, or characteristic described in connection with the described embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

尽管上面已经示出和描述了本申请的实施方式,可以理解的是,上述实施方式是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施方式进行变化、修改、替换和变型,本申请的范围由权利要求及其等同物限定。Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limitations to the present application. Variations, modifications, substitutions, and alterations are made to the embodiments, and the scope of the present application is defined by the claims and their equivalents.

Claims (11)

1.一种控制方法,其特征在于,所述控制方法用于电子设备,所述电子设备包括显示屏和成像装置,所述控制方法包括:1. A control method, characterized in that the control method is used in electronic equipment, the electronic equipment comprises a display screen and an imaging device, and the control method comprises: 控制所述成像装置获取图像以得到当前用户的眼部信息;controlling the imaging device to acquire images to obtain eye information of the current user; 处理所述眼部信息以判断当前用户的瞳孔面积是否超出预设瞳孔范围,所述预设瞳孔范围的最小值为第一预设值,所述预设瞳孔范围的最大值为第二预设值;Processing the eye information to determine whether the pupil area of the current user exceeds a preset pupil range, the minimum value of the preset pupil range is the first preset value, and the maximum value of the preset pupil range is the second preset value; 在所述瞳孔面积小于所述第一预设值并持续第一预设时长后,控制所述显示屏调低显示亮度;After the pupil area is smaller than the first preset value and lasts for a first preset duration, controlling the display screen to reduce the display brightness; 在所述瞳孔面积大于所述第二预设值并持续第二预设时长后,控制所述显示屏调高所述显示亮度。After the pupil area is greater than the second preset value and lasts for a second preset time period, the display screen is controlled to increase the display brightness. 2.根据权利要求1所述的控制方法,其特征在于,所述控制方法还包括:2. The control method according to claim 1, wherein the control method further comprises: 处理所述眼部信息以判断当前用户是否已经注册;processing the eye information to determine whether the current user has been registered; 在当前用户未注册时,控制所述显示屏显示预设画面,根据当前用户的瞳孔变化确定所述预设瞳孔范围并进行注册;When the current user is not registered, control the display screen to display a preset screen, determine the preset pupil range according to the pupil change of the current user, and perform registration; 在当前用户已注册时,确定所述预设瞳孔范围。When the current user is registered, the preset pupil range is determined. 3.根据权利要求2所述的控制方法,其特征在于,所述在当前用户未注册时,控制所述显示屏显示预设画面,根据当前用户的瞳孔变化确定所述预设瞳孔范围并进行注册,包括:3. The control method according to claim 2, wherein when the current user is not registered, the display screen is controlled to display a preset picture, and the preset pupil range is determined according to the pupil change of the current user and is performed. Registration, including: 在当前用户未注册时,控制所述显示屏分别显示多个所述预设画面,根据当前用户在各个预设画面下的瞳孔变化确定所述预设瞳孔范围和各个预设变化范围并进行注册,每个所述预设变化范围对应一种调节量;When the current user is not registered, control the display screen to display a plurality of the preset images respectively, determine the preset pupil range and each preset change range according to the pupil changes of the current user under each preset image, and perform registration , each of the preset variation ranges corresponds to an adjustment amount; 所述在所述瞳孔面积小于所述第一预设值并持续第一预设时长后,控制所述显示屏调低显示亮度,包括:After the pupil area is smaller than the first preset value and lasts for a first preset time period, controlling the display screen to lower the display brightness includes: 在所述瞳孔面积小于所述第一预设值且处于其中一个所述预设变化范围内并持续所述第一预设时长后,根据对应的调节量调低所述显示亮度;After the pupil area is smaller than the first preset value and is within one of the preset variation ranges and continues for the first preset time period, reducing the display brightness according to the corresponding adjustment amount; 所述在所述瞳孔面积大于所述第二预设值并持续第二预设时长后,控制所述显示屏调高所述显示亮度,包括:The controlling the display screen to increase the display brightness after the pupil area is greater than the second preset value for a second preset duration, including: 在所述瞳孔面积大于所述第二预设值且处于其中一个所述预设变化范围内并持续所述第二预设时长后,根据对应的调节量提高所述显示亮度。After the pupil area is greater than the second preset value and is within one of the preset variation ranges and continues for the second preset time period, the display brightness is increased according to the corresponding adjustment amount. 4.根据权利要求1所述的控制方法,其特征在于,所述处理所述眼部信息以判断当前用户的瞳孔面积是否超出预设瞳孔范围,包括:4. The control method according to claim 1, wherein the processing of the eye information to determine whether the pupil area of the current user exceeds a preset pupil range comprises: 处理所述眼部信息以确定瞳孔的边缘信息;processing the eye information to determine pupil edge information; 根据所述边缘信息确定瞳孔的中心信息;Determine center information of the pupil according to the edge information; 根据所述边缘信息和所述中心信息确定所述瞳孔面积;determining the pupil area according to the edge information and the center information; 判断所述瞳孔面积是否超出所述预设瞳孔范围。It is judged whether the pupil area exceeds the preset pupil range. 5.根据权利要求1所述的控制方法,其特征在于,所述控制方法包括:5. The control method according to claim 1, wherein the control method comprises: 在所述显示屏调低或调高所述显示亮度并经过预设适应时长后,重新进入控制所述成像装置获取图像以得到当前用户的眼部信息的步骤。After the display screen is turned down or up and the display brightness is turned up and a preset adaptation time period elapses, the step of controlling the imaging device to acquire an image to obtain the eye information of the current user is re-entered. 6.根据权利要求1所述的控制方法,其特征在于,所述控制方法还包括:6. The control method according to claim 1, wherein the control method further comprises: 处理所述眼部信息以判断当前用户的眼睛是否处于疲劳状态;processing the eye information to determine whether the eyes of the current user are in a fatigued state; 在当前用户的眼睛处于疲劳状态时,发出提示信息。When the eyes of the current user are in a tired state, a prompt message is issued. 7.根据权利要求6所述的控制方法,其特征在于,所述处理所述眼部信息以判断当前用户的眼睛是否处于疲劳状态,包括:7. The control method according to claim 6, wherein the processing of the eye information to determine whether the eyes of the current user are in a fatigued state comprises: 处理所述眼部信息以确定当前用户的瞳孔面积的变化规律;processing the eye information to determine the changing law of the pupil area of the current user; 在所述变化规律为预设规律时,确定当前用户的眼睛处于疲劳状态。When the change rule is a preset rule, it is determined that the eyes of the current user are in a fatigued state. 8.根据权利要求6所述的控制方法,其特征在于,所述处理所述眼部信息以判断当前用户的眼睛是否处于疲劳状态,包括:8. The control method according to claim 6, wherein the processing of the eye information to determine whether the eyes of the current user are in a fatigued state comprises: 处理所述眼部信息以确定当前用户的眨眼频率;processing the eye information to determine the blink frequency of the current user; 在所述眨眼频率大于预设频率时,确定当前用户的眼睛处于疲劳状态。When the blinking frequency is greater than the preset frequency, it is determined that the eyes of the current user are in a fatigued state. 9.根据权利要求6所述的控制方法,其特征在于,所述处理所述眼部信息以判断当前用户的眼睛是否处于疲劳状态,包括:9 . The control method according to claim 6 , wherein the processing of the eye information to determine whether the eyes of the current user are in a fatigued state comprises: 10 . 处理所述眼部信息以判断当前用户的瞳孔是否处于张开状态;processing the eye information to determine whether the pupil of the current user is in an open state; 在当前用户的瞳孔处于张开状态时累计时间以获得张开时长;Accumulate the time when the pupil of the current user is in the open state to obtain the opening duration; 在所述张开时长大于预定时长时,确定当前用户的眼睛处于疲劳状态。When the opening duration is greater than a predetermined duration, it is determined that the eyes of the current user are in a fatigued state. 10.根据权利要求1至9任意一项所述的控制方法,其特征在于,所述电子设备包括头戴设备,所述成像装置包括红外光源和红外摄像头,所述红外光源用于向当前用户的眼睛投射红外光线,所述红外摄像头用于获取所述图像。10. The control method according to any one of claims 1 to 9, wherein the electronic device comprises a head-mounted device, the imaging device comprises an infrared light source and an infrared camera, and the infrared light source is used to provide the current user with information. The eyes project infrared light, and the infrared camera is used to acquire the image. 11.一种电子设备,其特征在于,所述电子设备包括显示屏、成像装置和处理器,所述处理器用于:11. An electronic device, characterized in that the electronic device comprises a display screen, an imaging device, and a processor, and the processor is used for: 控制所述成像装置获取图像以得到当前用户的眼部信息;controlling the imaging device to acquire images to obtain eye information of the current user; 处理所述眼部信息以判断当前用户的瞳孔面积是否超出预设瞳孔范围,所述预设瞳孔范围的最小值为第一预设值,所述预设瞳孔范围的最大值为第二预设值;Processing the eye information to determine whether the pupil area of the current user exceeds a preset pupil range, the minimum value of the preset pupil range is the first preset value, and the maximum value of the preset pupil range is the second preset value; 在所述瞳孔面积小于所述第一预设值并持续第一预设时长后,控制所述显示屏调低显示亮度;After the pupil area is smaller than the first preset value and lasts for a first preset duration, controlling the display screen to reduce the display brightness; 在所述瞳孔面积大于所述第二预设值并持续第二预设时长后,控制所述显示屏调高所述显示亮度。After the pupil area is greater than the second preset value and lasts for a second preset time period, the display screen is controlled to increase the display brightness.
CN202010750707.XA 2020-07-30 2020-07-30 Control method and electronic device Pending CN111862899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010750707.XA CN111862899A (en) 2020-07-30 2020-07-30 Control method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010750707.XA CN111862899A (en) 2020-07-30 2020-07-30 Control method and electronic device

Publications (1)

Publication Number Publication Date
CN111862899A true CN111862899A (en) 2020-10-30

Family

ID=72945036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010750707.XA Pending CN111862899A (en) 2020-07-30 2020-07-30 Control method and electronic device

Country Status (1)

Country Link
CN (1) CN111862899A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835545A (en) * 2021-02-09 2021-05-25 珠海格力电器股份有限公司 Screen control method, device, equipment and storage medium
CN113889056A (en) * 2021-10-26 2022-01-04 深圳电器公司 Brightness adjusting method and related device
CN114598935A (en) * 2020-12-07 2022-06-07 横河电机株式会社 Apparatus, method and recording medium
CN117912426A (en) * 2022-10-12 2024-04-19 广州视享科技有限公司 Screen brightness adjustment method, device, computer equipment and medium for smart glasses
CN119763463A (en) * 2024-12-11 2025-04-04 南京旅游职业学院 Method for uniformly adjusting brightness of multiple teaching display screens

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103247282A (en) * 2013-04-24 2013-08-14 天津三星电子有限公司 Method for controlling screen luminance of display terminal and display terminal of method
CN104470128A (en) * 2014-12-01 2015-03-25 联想(北京)有限公司 Luminance adjusting method and electronic equipment
CN109101207A (en) * 2018-07-20 2018-12-28 重庆宝力优特科技有限公司 A kind of display methods, terminal and computer readable storage medium
CN110890078A (en) * 2019-10-16 2020-03-17 东南大学 Method for automatically adjusting brightness of display screen based on pupil size

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103247282A (en) * 2013-04-24 2013-08-14 天津三星电子有限公司 Method for controlling screen luminance of display terminal and display terminal of method
CN104470128A (en) * 2014-12-01 2015-03-25 联想(北京)有限公司 Luminance adjusting method and electronic equipment
CN109101207A (en) * 2018-07-20 2018-12-28 重庆宝力优特科技有限公司 A kind of display methods, terminal and computer readable storage medium
CN110890078A (en) * 2019-10-16 2020-03-17 东南大学 Method for automatically adjusting brightness of display screen based on pupil size

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598935A (en) * 2020-12-07 2022-06-07 横河电机株式会社 Apparatus, method and recording medium
CN112835545A (en) * 2021-02-09 2021-05-25 珠海格力电器股份有限公司 Screen control method, device, equipment and storage medium
CN112835545B (en) * 2021-02-09 2022-06-14 珠海格力电器股份有限公司 Screen control method, device, equipment and storage medium
CN113889056A (en) * 2021-10-26 2022-01-04 深圳电器公司 Brightness adjusting method and related device
CN117912426A (en) * 2022-10-12 2024-04-19 广州视享科技有限公司 Screen brightness adjustment method, device, computer equipment and medium for smart glasses
CN119763463A (en) * 2024-12-11 2025-04-04 南京旅游职业学院 Method for uniformly adjusting brightness of multiple teaching display screens

Similar Documents

Publication Publication Date Title
CN111862899A (en) Control method and electronic device
CN101470460B (en) Method for sight protection when using computer, and computer thereof
CN104767888B (en) A kind of screen luminance adjustment method and device
EP3761627B1 (en) Image processing method and apparatus
US8064759B1 (en) Method and apparatus for motion-state based image acquisition
US20100302393A1 (en) Self-portrait assistance in image capturing devices
EP2753064A1 (en) Apparatus and method for photographing portrait in portable terminal having camera
CN106201392A (en) The display control method of curve screens and device
TWI729983B (en) Electronic device, system and method for adjusting display device
CN110211549A (en) A kind of screen brightness regulation method, device, terminal and storage medium
JP2015075877A (en) Shooting system
WO2017161867A1 (en) Screen brightness adjustment method and apparatus, and intelligent terminal
KR102400998B1 (en) Method and photographing device for controlling a function based on a gesture of a user
CN112086075B (en) Screen display parameter adjusting method and device and storage medium
CN106168854A (en) The based reminding method of sight protectio and device
WO2016183887A1 (en) Backlight control method and device, and computer storage medium
US11837022B2 (en) Electronic apparatus with eye calibration and method for controlling the same
CN111901459A (en) Color temperature adjusting method, device, terminal and storage medium
CN108231038A (en) Screen luminance adjustment method and device
JP2013134570A (en) Imaging device, and controlling method and controlling program thereof
JP2013157845A (en) Electronic mirror and program
WO2019184811A1 (en) Projection method and apparatus, and electronic device
CN110556080B (en) Method, device, terminal and storage medium for adjusting backlight
WO2018219290A1 (en) Information terminal
CN109831817B (en) Terminal control method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030

RJ01 Rejection of invention patent application after publication