[go: up one dir, main page]

CN109257463B - Terminal device, control method thereof and computer-readable storage medium - Google Patents

Terminal device, control method thereof and computer-readable storage medium Download PDF

Info

Publication number
CN109257463B
CN109257463B CN201810970592.8A CN201810970592A CN109257463B CN 109257463 B CN109257463 B CN 109257463B CN 201810970592 A CN201810970592 A CN 201810970592A CN 109257463 B CN109257463 B CN 109257463B
Authority
CN
China
Prior art keywords
ambient light
image
lens
brightness
terminal device
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.)
Active
Application number
CN201810970592.8A
Other languages
Chinese (zh)
Other versions
CN109257463A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810970592.8A priority Critical patent/CN109257463B/en
Publication of CN109257463A publication Critical patent/CN109257463A/en
Application granted granted Critical
Publication of CN109257463B publication Critical patent/CN109257463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例提供一种终端设备及其控制方法,涉及终端技术领域,用于解决光敏器件限制了终端设备的屏占比进一步增大的问题。该终端设备,包括:镜头、图像传感器、控制模块以及显示屏;当通过镜头和图像传感器组成的摄像模组拍摄图像时,图像传感器通过镜头接收环境光,并感应接收到的环境光生成第一电信号,控制模块将第一电信号转换为图像信号;当未通过镜头和图像传感器组成的摄像模组拍摄图像且显示屏显示画面时,图像传感器通过镜头接收环境光,并感应接收到的环境光生成第二电信号,控制模块根据第二电信号确定环境光的亮度,并根据环境光的亮度调节显示屏的显示亮度。本发明实施例用于终端设备的制造。

Figure 201810970592

Embodiments of the present invention provide a terminal device and a control method thereof, relate to the technical field of terminals, and are used to solve the problem that the photosensitive device limits the screen ratio of the terminal device to further increase. The terminal device includes: a lens, an image sensor, a control module and a display screen; when an image is captured by a camera module composed of a lens and an image sensor, the image sensor receives ambient light through the lens, and senses the received ambient light to generate a first The control module converts the first electrical signal into an image signal; when the image is not captured by the camera module composed of the lens and the image sensor and the display screen displays the image, the image sensor receives the ambient light through the lens and senses the received environment The light generates a second electrical signal, and the control module determines the brightness of the ambient light according to the second electrical signal, and adjusts the display brightness of the display screen according to the brightness of the ambient light. The embodiments of the present invention are used in the manufacture of terminal equipment.

Figure 201810970592

Description

一种终端设备及其控制方法和计算机可读存储介质A terminal device and its control method and computer-readable storage medium

技术领域technical field

本发明涉及终端技术领域,尤其涉及一种终端设备及其控制方法。The present invention relates to the technical field of terminals, and in particular, to a terminal device and a control method thereof.

背景技术Background technique

随着终端技术的发展,终端设备越来越智能,并且终端设备的屏占比也来越大。其中,自动根据环境光亮度调节终端设备的显示屏的显示亮度是终端设备智能化的一个重要体现。With the development of terminal technology, terminal devices are becoming more and more intelligent, and the screen ratio of terminal devices is also increasing. Among them, automatically adjusting the display brightness of the display screen of the terminal device according to the ambient light brightness is an important embodiment of the intelligence of the terminal device.

目前,现有技术中主要通过光敏器件来实现自动根据环境光亮度调节终端设备的显示屏的显示亮度,即,通过集成于终端设备内部的光敏器件检测环境光亮度,然后将终端设备的显示屏亮度调节为环境光亮度对应的显示屏亮度。随着终端设备屏的占比越来越高,终端设备越来越轻薄,终端设备的结构堆叠空间要求也越来越严格,现有技术中用于实现自动根据环境光亮度调节终端设备的显示屏的显示亮度的光敏器件只有单一感光功能,且要占用一定的结构控件,这严重限制了终端设备的屏占比进一步增大。At present, in the prior art, photosensitive devices are mainly used to automatically adjust the display brightness of the display screen of the terminal device according to the ambient light brightness. The brightness is adjusted to the display brightness corresponding to the ambient light brightness. As the screen ratio of terminal equipment becomes higher and higher, the terminal equipment becomes thinner and lighter, and the requirements for the stacking space of the structure of terminal equipment become more and more strict. The photosensitive device that displays the brightness of the screen has only a single photosensitive function, and needs to occupy a certain structural control, which seriously restricts the further increase of the screen ratio of the terminal device.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种终端设备及其控制方法,用于解决实现自动根据环境光亮度调节终端设备的显示屏的显示亮度的光敏器件限制了终端设备的屏占比进一步增大的问题。Embodiments of the present invention provide a terminal device and a control method thereof, which are used to solve the problem that the photosensitive device that automatically adjusts the display brightness of the display screen of the terminal device according to the ambient light brightness limits the screen ratio of the terminal device to further increase.

为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:

第一方面,本发明实施例提供了一种终端设备,包括:镜头、图像传感器、控制模块以及显示屏;In a first aspect, an embodiment of the present invention provides a terminal device, including: a lens, an image sensor, a control module, and a display screen;

所述图像传感器位于所述镜头的出光侧,且所述图像传感器与所述控制模块电连接;The image sensor is located on the light-emitting side of the lens, and the image sensor is electrically connected to the control module;

当通过所述镜头和图像传感器组成的摄像模组拍摄图像时,所述图像传感器用于通过所述镜头接收环境光,并感应接收到的环境光生成第一电信号,所述控制模块用于将所述第一电信号转换为图像信号;When capturing an image through the camera module composed of the lens and the image sensor, the image sensor is used to receive ambient light through the lens, and sense the received ambient light to generate a first electrical signal, and the control module is used for converting the first electrical signal into an image signal;

当未通过所述镜头和所述图像传感器组成的摄像模组拍摄图像且所述显示屏显示画面时,所述图像传感器用于通过所述镜头接收环境光,并感应接收到的环境光生成第二电信号,所述控制模块用于根据所述第二电信号确定环境光的亮度,并根据所述环境光的亮度调节所述显示屏的显示亮度。When the image is not captured by the camera module composed of the lens and the image sensor and the display screen displays the image, the image sensor is used to receive ambient light through the lens, and sense the received ambient light to generate the first Two electrical signals, the control module is configured to determine the brightness of the ambient light according to the second electrical signal, and adjust the display brightness of the display screen according to the brightness of the ambient light.

第二方面,本发明实施例提供了一种终端设备的控制方法,包括:In a second aspect, an embodiment of the present invention provides a method for controlling a terminal device, including:

当通过所述终端设备的摄像模组拍摄图像时,控制所述摄像模组的感光器件感应接收到的环境光生成第一电信号,并将所述第一电信号转换为图像信号;When an image is captured by the camera module of the terminal device, the photosensitive device of the camera module is controlled to sense the received ambient light to generate a first electrical signal, and the first electrical signal is converted into an image signal;

当未通过所述终端设备的摄像模组拍摄图像且所述终端设备的显示屏显示画面时,控制所述摄像模组的感光器件感应接收到的环境光生成第二电信号,并根据所述第二电信号确定环境光的亮度,以及根据所述环境光的亮度调节所述显示屏的显示亮度。When the image is not captured by the camera module of the terminal device and the display screen of the terminal device displays the picture, the photosensitive device of the camera module is controlled to sense the received ambient light to generate a second electrical signal, and a second electrical signal is generated according to the The second electrical signal determines the brightness of ambient light, and adjusts the display brightness of the display screen according to the brightness of the ambient light.

第三方面,本发明实施例提供了一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面所述的终端设备的控制方法的步骤。In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is executed by the processor At the same time, the steps of implementing the control method of the terminal device according to the first aspect.

第四方面,本发明实施例提供了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的终端设备的控制方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and the computer program is implemented as described in the first aspect when the computer program is executed by a processor. The steps of the control method of the terminal equipment.

本发明实施例提供的终端设备包括:镜头、图像传感器、控制模块以及显示屏;其中,所述图像传感器位于所述镜头的出光侧,且所述图像传感器与所述控制模块电连接;当通过所述镜头和图像传感器组成的摄像模组拍摄图像时,所述图像传感器用于通过所述镜头接收环境光,并感应接收到的环境光生成第一电信号,所述控制模块用于将所述第一电信号转换为图像信号,当未通过所述镜头和所述图像传感器组成的摄像模组拍摄图像且所述显示屏显示画面时,所述图像传感器用于通过所述镜头接收环境光,并感应接收到的环境光生成第二电信号,所述控制模块用于根据所述第二电信号确定环境光的亮度,并根据所述环境光的亮度调节所述显示屏的显示亮度。即,在通过摄像模组拍摄影像时通过摄像模组的图像传感器接收到的环境光生成第一电信号,然后转为图像信号;在未通过摄像模组拍摄影像且显示屏显示画面时通过摄像模组的图像传感器接收到的环境光生成第二电信号,并根据第二电信号确定环境光亮度,进而根据所述环境光的亮度调节所述显示屏的显示亮度,由于本发明实施例中可以通过摄像模组的图像传感器亮度调节所述显示屏的显示亮度,因此本发明实施例中可以避免使用光敏器件,由于本发明实施例可以在不使用光敏器件的同时实现自动根据环境光亮度调节终端设备的显示屏的显示亮度,因此本发明实施例可以解决光敏器件限制终端设备的屏占比进一步增大的问题。The terminal device provided by the embodiment of the present invention includes: a lens, an image sensor, a control module, and a display screen; wherein, the image sensor is located on the light-emitting side of the lens, and the image sensor is electrically connected to the control module; When the camera module composed of the lens and the image sensor captures an image, the image sensor is used to receive ambient light through the lens, and sense the received ambient light to generate a first electrical signal, and the control module is used to The first electrical signal is converted into an image signal. When the image is not captured by the camera module composed of the lens and the image sensor and the display screen displays the image, the image sensor is used to receive ambient light through the lens. , and sense the received ambient light to generate a second electrical signal, the control module is configured to determine the brightness of the ambient light according to the second electrical signal, and adjust the display brightness of the display screen according to the brightness of the ambient light. That is, when the image is captured by the camera module, the ambient light received by the image sensor of the camera module generates a first electrical signal, which is then converted into an image signal; The ambient light received by the image sensor of the module generates a second electrical signal, and determines the brightness of the ambient light according to the second electrical signal, and then adjusts the display brightness of the display screen according to the brightness of the ambient light. The display brightness of the display screen can be adjusted by the brightness of the image sensor of the camera module. Therefore, the use of a photosensitive device can be avoided in the embodiment of the present invention, because the embodiment of the present invention can automatically adjust the brightness according to the ambient light without using a photosensitive device. The display brightness of the display screen of the terminal device, therefore, the embodiment of the present invention can solve the problem that the photosensitive device limits the screen ratio of the terminal device to further increase.

附图说明Description of drawings

图1为本发明实施例提供的安卓操作系统的架构图;1 is an architecture diagram of an Android operating system provided by an embodiment of the present invention;

图2为本发明实施例提供的终端设备示意性结构图之一;FIG. 2 is one of schematic structural diagrams of a terminal device provided by an embodiment of the present invention;

图3为本发明实施例提供的图像传感器和光敏器件的响应频段对比图;3 is a comparison diagram of response frequency bands of an image sensor and a photosensitive device provided by an embodiment of the present invention;

图4为本发明实施例提供的终端设备示意性结构图之二;FIG. 4 is the second schematic structural diagram of a terminal device provided by an embodiment of the present invention;

图5为本发明实施例提供的图像传感器和光敏器件的响应视场角对比图;5 is a comparison diagram of the response field of view of an image sensor and a photosensitive device provided by an embodiment of the present invention;

图6为本发明实施例提供的入射角大于摄像模组的视场角的环境光的光路图;6 is an optical path diagram of ambient light with an incident angle greater than a field of view of a camera module provided by an embodiment of the present invention;

图7为本发明实施例提供的终端设备示意性结构图之三;FIG. 7 is a third schematic structural diagram of a terminal device provided by an embodiment of the present invention;

图8为本发明实施例提供的扩散模组示意性结构图;8 is a schematic structural diagram of a diffusion module provided by an embodiment of the present invention;

图9为本发明实施例提供的扩散模组的一种状态示意图;9 is a schematic diagram of a state of a diffusion module provided by an embodiment of the present invention;

图10为本发明实施例提供的扩散模组的另一种状态示意图;FIG. 10 is another state schematic diagram of the diffusion module provided by the embodiment of the present invention;

图11为本发明实施例提供的终端设备的控制方法的步骤流程图;11 is a flowchart of steps of a method for controlling a terminal device provided by an embodiment of the present invention;

图12为本发明实施例提供的终端设备的硬件结构示意图。FIG. 12 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and A and B exist independently B these three cases.

本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别同步的对象,而不是用于描述对象的特定顺序。例如,第一接口和第二接口等是用于区别不同的接口,而不是用于描述接口的特定顺序。The terms "first" and "second" and the like in the description and claims of the present invention are used to distinguish synchronized objects, rather than to describe a specific order of the objects. For example, the first interface, the second interface, etc. are used to distinguish different interfaces, rather than to describe a specific order of the interfaces.

在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。此外,在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或两个以上。In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as an example, illustration or illustration. Any embodiments or designs described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner. In addition, in the description of the embodiments of the present invention, unless otherwise specified, the meaning of "plurality" refers to two or more.

目前,现有技术中主要通过光敏器件来实现自动根据环境光亮度调节终端设备的显示屏的显示亮度,即,通过集成于终端设备内部的光敏器件检测环境光亮度,然后将终端设备的显示屏亮度调节为环境光亮度对应的显示屏亮度。随着终端设备屏的占比越来越高,终端设备越来越轻薄,终端设备的结构堆叠空间要求也越来越严格,现有技术中用于实现自动根据环境光亮度调节终端设备的显示屏的显示亮度的光敏器件只有单一感光功能,且要占用一定的结构控件,这严重限制了终端设备的屏占比进一步增大。At present, in the prior art, photosensitive devices are mainly used to automatically adjust the display brightness of the display screen of the terminal device according to the ambient light brightness. The brightness is adjusted to the display brightness corresponding to the ambient light brightness. As the screen ratio of terminal equipment becomes higher and higher, the terminal equipment becomes thinner and lighter, and the requirements for the stacking space of the structure of terminal equipment become more and more strict. The photosensitive device that displays the brightness of the screen has only a single photosensitive function, and needs to occupy a certain structural control, which seriously restricts the further increase of the screen ratio of the terminal device.

为了解决该问题,本发明实施例提供一种终端设备及其控制方法,该终端设备包括:镜头、图像传感器、控制模块以及显示屏;其中,所述图像传感器位于所述镜头的出光侧,且所述图像传感器与所述控制模块电连接;当通过所述镜头和图像传感器组成的摄像模组拍摄图像时,所述图像传感器用于通过所述镜头接收环境光,并感应接收到的环境光生成第一电信号,所述控制模块用于将所述第一电信号转换为图像信号,当未通过所述镜头和所述图像传感器组成的摄像模组拍摄图像且所述显示屏显示画面时,所述图像传感器用于通过所述镜头接收环境光,并感应接收到的环境光生成第二电信号,所述控制模块用于根据所述第二电信号确定环境光的亮度,并根据所述环境光的亮度调节所述显示屏的显示亮度。即,在通过摄像模组拍摄影像时通过摄像模组的图像传感器接收到的环境光生成第一电信号,然后转为图像信号;在未通过摄像模组拍摄影像且显示屏显示画面时通过摄像模组的图像传感器接收到的环境光生成第二电信号,并根据第二电信号确定环境光亮度,进而根据所述环境光的亮度调节所述显示屏的显示亮度,由于本发明实施例中可以通过摄像模组的图像传感器亮度调节所述显示屏的显示亮度,因此本发明实施例中可以避免使用光敏器件,由于本发明实施例可以在不使用光敏器件的同时实现自动根据环境光亮度调节终端设备的显示屏的显示亮度,因此本发明实施例可以解决光敏器件限制终端设备的屏占比进一步增大的问题。In order to solve this problem, an embodiment of the present invention provides a terminal device and a control method thereof. The terminal device includes: a lens, an image sensor, a control module, and a display screen; wherein, the image sensor is located on the light-emitting side of the lens, and The image sensor is electrically connected to the control module; when an image is captured by the camera module composed of the lens and the image sensor, the image sensor is used to receive ambient light through the lens, and sense the received ambient light Generating a first electrical signal, the control module is used to convert the first electrical signal into an image signal, when the image is not captured by the camera module composed of the lens and the image sensor and the display screen displays the image , the image sensor is configured to receive ambient light through the lens, and sense the received ambient light to generate a second electrical signal, the control module is configured to determine the brightness of the ambient light according to the second electrical signal, and The brightness of the ambient light adjusts the display brightness of the display screen. That is, when the image is captured by the camera module, the ambient light received by the image sensor of the camera module generates a first electrical signal, which is then converted into an image signal; The ambient light received by the image sensor of the module generates a second electrical signal, and determines the brightness of the ambient light according to the second electrical signal, and then adjusts the display brightness of the display screen according to the brightness of the ambient light. The display brightness of the display screen can be adjusted by the brightness of the image sensor of the camera module. Therefore, the use of a photosensitive device can be avoided in the embodiment of the present invention, because the embodiment of the present invention can automatically adjust the brightness according to the ambient light without using a photosensitive device. The display brightness of the display screen of the terminal device, therefore, the embodiment of the present invention can solve the problem that the photosensitive device limits the screen ratio of the terminal device to further increase.

本发明实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓 (Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.

下面以安卓操作系统为例,介绍一下本发明实施例提供的终端设备的控制方法所应用的软件环境。The following takes the Android operating system as an example to introduce a software environment to which the method for controlling a terminal device provided by the embodiment of the present invention is applied.

如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1, the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).

其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和目标应用程序)。The application layer includes various applications (including system applications and target applications) in the Android operating system.

应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer under the condition of complying with the development principles of the framework of the application.

系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.

内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.

以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的终端设备的控制方法的软件程序,从而使得该终端设备的控制方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的终端设备的控制方法。Taking the Android operating system as an example, in this embodiment of the present invention, a developer can develop a software program for implementing the control method of the terminal device provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The control method of the terminal device may run based on the Android operating system as shown in FIG. 1 . That is, the processor or the terminal can implement the control method of the terminal device provided by the embodiment of the present invention by running the software program in the Android operating system.

本发明实施例中的终端设备可以为移动终端,也可以为非移动终端。移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digitalassistant, PDA)等;非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等;本发明实施例不作具体限定。The terminal device in this embodiment of the present invention may be a mobile terminal or a non-mobile terminal. The mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc.; The mobile terminal may be a personal computer (personal computer, PC), a television (television, TV), a teller machine, or a self-service machine, etc. The embodiment of the present invention is not specifically limited.

实施例一、Embodiment 1.

本发明的实施例提供一种终端设备,具体的,参照图2所示,该终端设备包括:镜头11、图像传感器12、控制模块13以及显示屏14。An embodiment of the present invention provides a terminal device. Specifically, as shown in FIG. 2 , the terminal device includes: a lens 11 , an image sensor 12 , a control module 13 , and a display screen 14 .

其中,所述图像传感器12位于所述镜头11的出光侧,且所述图像传感器12和所述显示屏14均与所述控制模块13电连接。The image sensor 12 is located on the light-emitting side of the lens 11 , and both the image sensor 12 and the display screen 14 are electrically connected to the control module 13 .

具体的,本发明实施例中的镜头11包括:多个光学镜片,用于对接收到的环境性光进行调整,并将调制后的环境光在输出侧输出至图像传感器12;图像传感器12具体可以为金属氧化物半导体(Complementary Metal-Oxide Semiconductor,CMOS)图像传感器。Specifically, the lens 11 in the embodiment of the present invention includes: a plurality of optical lenses for adjusting the received ambient light, and outputting the modulated ambient light to the image sensor 12 on the output side; the image sensor 12 specifically It can be a metal-oxide-semiconductor (Complementary Metal-Oxide Semiconductor, CMOS) image sensor.

当通过所述镜头11和图像传感器12组成的摄像模组拍摄图像时,所述图像传感器12用于通过所述镜头11接收环境光,并感应接收到的环境光生成第一电信号,所述控制模块13 用于将所述第一电信号转换为图像信号。When capturing an image through the camera module composed of the lens 11 and the image sensor 12, the image sensor 12 is used to receive ambient light through the lens 11, and sense the received ambient light to generate a first electrical signal, the The control module 13 is used for converting the first electrical signal into an image signal.

即,当通过所述镜头11和图像传感器12组成的摄像模组拍摄图像时,各个部件(镜头 11、图像传感器12、控制模块13)的工作原理以及工作状态均与现有技术中相同,因此首先本发明实施例可保证所述镜头11和图像传感器12组成的摄像模组可以正常拍摄图像。That is, when an image is captured by the camera module composed of the lens 11 and the image sensor 12, the working principle and working state of each component (the lens 11, the image sensor 12, the control module 13) are the same as those in the prior art, so First of all, the embodiment of the present invention can ensure that the camera module composed of the lens 11 and the image sensor 12 can normally capture images.

当未通过所述镜头11和所述图像传感器12组成的摄像模组拍摄图像且所述显示屏显14 示画面时,所述图像传感器12用于通过所述镜头11接收环境光,并感应接收到的环境光生成第二电信号,所述控制模块13用于根据所述第二电信号确定环境光的亮度,并根据所述环境光的亮度调节所述显示屏14的显示亮度。When the image is not captured by the camera module composed of the lens 11 and the image sensor 12 and the display screen 14 displays the picture, the image sensor 12 is used to receive ambient light through the lens 11, and receive the ambient light by induction. The received ambient light generates a second electrical signal, and the control module 13 is configured to determine the brightness of the ambient light according to the second electrical signal, and adjust the display brightness of the display screen 14 according to the brightness of the ambient light.

示例性的,未通过所述镜头11和所述图像传感器12组成的摄像模组拍摄图像且所述显示屏14显示画面的应用场景可以包括:通过终端设备浏览网页、通过终端设备玩游戏、通过终端设备编辑文字以及通过终端设备的其他摄像模组拍摄照片、视频、进行视频通话等场景,本发明实施例中对此不作限定,以未通过所述镜头11和所述图像传感器12组成的摄像模组拍摄影像且显示屏14显示有画面(不为待机界面)为准。Exemplarily, the application scenarios in which the image is not captured by the camera module composed of the lens 11 and the image sensor 12 and the screen is displayed on the display screen 14 may include: browsing web pages through a terminal device, playing games through a terminal device, The terminal device edits text and uses other camera modules of the terminal device to take photos, videos, and video calls. This is not limited in this embodiment of the present invention. The module captures an image and the display screen 14 displays an image (not a standby interface).

进一步的,参照图3所示,图3中示出常用的摄像模组中的图像传感器对不同波长的光线的响应灵敏度(图3中实曲线所示)和光敏检测常用的光敏器件对不同波长的光线的响应灵敏度(图3中虚曲线所示)。如图3中图像传感器对不同波长的光线的响应灵敏度曲线可知,图像传感器可以响应的光线的波长范围为400nm-1000nm,光敏检测常用的光敏器件对不同波长的光线的响应灵敏度曲线可知,光敏器件可以响应的光线的波长范围为400nm-700nm,光敏器件的响应光谱范围完全落在了图像传感器的响应光谱范围内,因此可以利用与摄像模组中的图像传感器准确的对环境光的亮度进行检测。Further, referring to Fig. 3, Fig. 3 shows the response sensitivity of the image sensor in the commonly used camera module to light of different wavelengths (shown by the solid curve in Fig. 3) and the commonly used photosensitive devices for photosensitive detection to different wavelengths. The light response sensitivity (shown by the dashed curve in Figure 3). As shown in Figure 3, the response sensitivity curve of the image sensor to light of different wavelengths shows that the wavelength range of the light that the image sensor can respond to is 400nm-1000nm. The wavelength range of the light that can be responded is 400nm-700nm, and the response spectrum range of the photosensitive device completely falls within the response spectrum range of the image sensor, so the image sensor in the camera module can be used to accurately detect the brightness of the ambient light. .

需要说明的是,由于光敏器件可以响应的波长范围完全落在图像传感器可以响应的光线的波长范围内,因此上述实施例中图像传感器在拍摄图像时的工作状态可以与未拍摄图像且所述显示屏显示画面的工作状态相同,然而,由于在拍摄图像时图像传感器需要感应的波长范围较长,因此图像传感器的功耗较大,若在未拍摄图像且所述显示屏显示画面时也以拍摄图像时的工作状态工作,则极大增加终端设备的功耗,因此可以使图像传感器在拍摄图像时的工作状态可以与未拍摄图像且所述显示屏显示画面的工作状态不同,且图像传感器在拍摄图像时感应的波长范围大于未拍摄图像且所述显示屏显示画面时的波长范围。It should be noted that, since the wavelength range that the photosensitive device can respond to completely falls within the wavelength range of the light that the image sensor can respond to, the working state of the image sensor in the above-mentioned embodiment when capturing an image can be the same as that when the image is not captured and the display However, since the image sensor needs to sense a longer wavelength range when capturing images, the power consumption of the image sensor is larger. The working state when the image is working will greatly increase the power consumption of the terminal device. Therefore, the working state of the image sensor when capturing an image can be different from the working state when the image is not captured and the display screen is displayed, and the image sensor is in the working state. The wavelength range sensed when the image is captured is larger than the wavelength range when the image is not captured and the display screen displays a picture.

本发明实施例提供的终端设备包括:镜头、图像传感器、控制模块以及显示屏;其中,所述图像传感器位于所述镜头的出光侧,且所述图像传感器与所述控制模块电连接;当通过所述镜头和图像传感器组成的摄像模组拍摄图像时,所述图像传感器用于通过所述镜头接收环境光,并感应接收到的环境光生成第一电信号,所述控制模块用于将所述第一电信号转换为图像信号,当未通过所述镜头和所述图像传感器组成的摄像模组拍摄图像且所述显示屏显示画面时,所述图像传感器用于通过所述镜头接收环境光,并感应接收到的环境光生成第二电信号,所述控制模块用于根据所述第二电信号确定环境光的亮度,并根据所述环境光的亮度调节所述显示屏的显示亮度。即,在通过摄像模组拍摄影像时通过摄像模组的图像传感器接收到的环境光生成第一电信号,然后转为图像信号;在未通过摄像模组拍摄影像且显示屏显示画面时通过摄像模组的图像传感器接收到的环境光生成第二电信号,并根据第二电信号确定环境光亮度,进而根据所述环境光的亮度调节所述显示屏的显示亮度,由于本发明实施例中可以通过摄像模组的图像传感器亮度调节所述显示屏的显示亮度,因此本发明实施例中可以避免使用光敏器件,由于本发明实施例可以在不使用光敏器件的同时实现自动根据环境光亮度调节终端设备的显示屏的显示亮度,因此本发明实施例可以解决光敏器件限制终端设备的屏占比进一步增大的问题。The terminal device provided by the embodiment of the present invention includes: a lens, an image sensor, a control module, and a display screen; wherein, the image sensor is located on the light-emitting side of the lens, and the image sensor is electrically connected to the control module; When the camera module composed of the lens and the image sensor captures an image, the image sensor is used to receive ambient light through the lens, and sense the received ambient light to generate a first electrical signal, and the control module is used to The first electrical signal is converted into an image signal. When the image is not captured by the camera module composed of the lens and the image sensor and the display screen displays the image, the image sensor is used to receive ambient light through the lens. , and sense the received ambient light to generate a second electrical signal, the control module is configured to determine the brightness of the ambient light according to the second electrical signal, and adjust the display brightness of the display screen according to the brightness of the ambient light. That is, when the image is captured by the camera module, the ambient light received by the image sensor of the camera module generates a first electrical signal, which is then converted into an image signal; The ambient light received by the image sensor of the module generates a second electrical signal, and determines the brightness of the ambient light according to the second electrical signal, and then adjusts the display brightness of the display screen according to the brightness of the ambient light. The display brightness of the display screen can be adjusted by the brightness of the image sensor of the camera module. Therefore, the use of a photosensitive device can be avoided in the embodiment of the present invention, because the embodiment of the present invention can automatically adjust the brightness according to the ambient light without using a photosensitive device. The display brightness of the display screen of the terminal device, therefore, the embodiment of the present invention can solve the problem that the photosensitive device limits the screen ratio of the terminal device to further increase.

可选的,当通过所述镜头11和图像传感器12组成的摄像模组拍摄图像时,所述控制模块13还用于根据所述第一电信号确定环境光的亮度,并根据所述环境光的亮度调节所述显示屏14的显示亮度。Optionally, when capturing an image through the camera module composed of the lens 11 and the image sensor 12, the control module 13 is further configured to determine the brightness of the ambient light according to the first electrical signal, and determine the brightness of the ambient light according to the ambient light. to adjust the display brightness of the display screen 14.

上述实施例中当通过所述镜头和图像传感器组成的摄像模组拍摄图像时,所述控制模块还用于根据所述第一电信号确定环境光的亮度,并根据所述环境光的亮度调节所述显示屏的显示亮度,因此在通过所述镜头和图像传感器组成的摄像模组拍摄图像时也可以对显示屏的显示亮度进行调节。In the above embodiment, when an image is captured by the camera module composed of the lens and the image sensor, the control module is further configured to determine the brightness of the ambient light according to the first electrical signal, and adjust the brightness of the ambient light according to the brightness of the ambient light. The display brightness of the display screen can also be adjusted when an image is captured by the camera module composed of the lens and the image sensor.

可选的,参照图4所示,本发明实施例提供的终端设备,还可以包括:镜筒15、红外滤光片16、印制电路板(Printed Circuit Board,PCB)和/或柔性电路板(FlexiblePrinted Circuit, FPC)等部件;Optionally, as shown in FIG. 4 , the terminal device provided by the embodiment of the present invention may further include: a lens barrel 15 , an infrared filter 16 , a printed circuit board (Printed Circuit Board, PCB) and/or a flexible circuit board (FlexiblePrinted Circuit, FPC) and other components;

其中,镜筒15形成用于放置所示镜头11的容置腔,用于固定所述镜头11;红外滤光片 16位于所述镜头11的出光侧和所述图像传感器12之间,用于对镜头11输出的环境光中的红外光进行滤光;PCB)和/或FPC与所述图像传感器12电连接,用于传导所述图像传感器12生成的电信号。Wherein, the lens barrel 15 forms an accommodating cavity for placing the lens 11 shown, for fixing the lens 11; the infrared filter 16 is located between the light-emitting side of the lens 11 and the image sensor 12, and is used for The infrared light in the ambient light output by the lens 11 is filtered; the PCB) and/or the FPC are electrically connected to the image sensor 12 for conducting the electrical signals generated by the image sensor 12 .

再进一步的,参照图5所示,图5中示出常用的摄像模组中的图像传感器对不同视场角的光线的响应灵敏度(图5中实曲线所示)和光敏检测常用的光敏器件对不同视场角的光线的响应灵敏度(图5中虚曲线所示)。由图5可以看出,图像传感器接收光线的视场角在80°左右,而光敏器件接收光线的视场角超过了120°,若直接用于摄像模组的图像传感器进行环境的检测,则摄像模组的图像传感器只能检测到摄像模组视场范围内的光线,如图6所示,超过摄像模组视场范围内的大角度光线,受限于摄像模组本身结构无法到达摄像模组的图像传感器,因此若环境光角度超过摄像模组的图像传感器的视场角,则无法准确的检测环境光的亮度,进而无法准确对终端设备的显示屏的显示亮度进行调节。Still further, referring to Figure 5, Figure 5 shows the response sensitivity of the image sensor in the commonly used camera module to light with different field angles (shown by the solid curve in Figure 5) and the commonly used photosensitive devices for photosensitive detection. Response sensitivity to light at different field angles (shown by the dashed curve in Figure 5). As can be seen from Figure 5, the field of view of the image sensor receiving light is about 80°, while the field of view of the photosensitive device receiving light exceeds 120°. If the image sensor of the camera module is directly used for environmental detection, then The image sensor of the camera module can only detect the light within the field of view of the camera module. As shown in Figure 6, the large-angle light beyond the field of view of the camera module cannot reach the camera due to the structure of the camera module itself. Therefore, if the angle of ambient light exceeds the field of view of the image sensor of the camera module, the brightness of the ambient light cannot be accurately detected, and the display brightness of the display screen of the terminal device cannot be adjusted accurately.

为了避免出现上述问题,参照图7所示,本发明实施例提供的终端设备还进一步包括:位于所述镜头11的入光侧的扩散模组18;In order to avoid the above problems, as shown in FIG. 7 , the terminal device provided by the embodiment of the present invention further includes: a diffusion module 18 located on the light incident side of the lens 11 ;

当通过所述镜头11和图像传感器12组成的摄像模组拍摄图像时,所述扩散模组18用于透射环境光;When capturing an image through the camera module composed of the lens 11 and the image sensor 12, the diffusion module 18 is used to transmit ambient light;

当未通过所述镜头11和所述图像传感器12组成的摄像模组拍摄图像且所述显示屏14显示画面时,所述扩散模组18用于对输入所述镜头11的环境光进行散射。When an image is not captured by the camera module composed of the lens 11 and the image sensor 12 and the display screen 14 displays a picture, the diffusion module 18 is used for scattering the ambient light input to the lens 11 .

即,当通过所述镜头11和图像传感器12组成的摄像模组拍摄图像时,扩散模组18不对环境光进行扩散,而是直接对环境光进行透射,从而保证摄像模组可以正常拍摄影像,当未通过所述镜头11和所述图像传感器12组成的摄像模组拍摄图像且所述显示屏14显示画面时,扩散模组对输入所述镜头11的环境光进行散射,因此可以避免入射角度大于摄像模组视场角的环境无法本摄像模组的图像传感器检测到,进而准确的对环境光的亮度进行检测。That is, when an image is captured by the camera module composed of the lens 11 and the image sensor 12, the diffusion module 18 does not diffuse the ambient light, but directly transmits the ambient light, thereby ensuring that the camera module can shoot images normally, When the image is not captured by the camera module composed of the lens 11 and the image sensor 12 and the display screen 14 displays the image, the diffusion module scatters the ambient light input to the lens 11, so the incident angle can be avoided The environment larger than the field of view of the camera module cannot be detected by the image sensor of the camera module, so that the brightness of the ambient light can be accurately detected.

进一步,可选的额,参照图8所示,该扩散模组18包括:第一透光电极层181、第二透光电极层182以及位于所述第一透光电极层181和所述第二透光电极层182之间的液晶层183。Further, optionally, as shown in FIG. 8 , the diffusion module 18 includes: a first light-transmitting electrode layer 181 , a second light-transmitting electrode layer 182 , and the first light-transmitting electrode layer 181 and the second light-transmitting electrode layer 182 . The liquid crystal layer 183 between the two light-transmitting electrode layers 182 .

示例性的,透光电极具体可以为铟锡氧化物(Indium tin oxide,ITO)、石墨烯等透光导电材料制作成的电极。Exemplarily, the light-transmitting electrode may specifically be an electrode made of a light-transmitting conductive material such as indium tin oxide (ITO), graphene, or the like.

以下参照图9、图10对上述实施例提供的扩散模组18的工作原理进行说明。The working principle of the diffusion module 18 provided in the above embodiment will be described below with reference to FIG. 9 and FIG. 10 .

首先,参照图9所示,扩散模组18的在一种状态时,液晶层183内的液晶分子无需排列,此时,扩散模组18对接收到的光线散射后透射。First, as shown in FIG. 9 , when the diffusion module 18 is in one state, the liquid crystal molecules in the liquid crystal layer 183 do not need to be arranged. At this time, the diffusion module 18 scatters the received light and transmits it.

其次,参照图10所示,扩散模组18的在另一种状态时,液晶层183内的液晶分子有需排列,此时,扩散模组18对接收到的光线直接透射。Next, referring to FIG. 10 , when the diffusion module 18 is in another state, the liquid crystal molecules in the liquid crystal layer 183 need to be arranged, and at this time, the diffusion module 18 directly transmits the received light.

示例性的,上述图9所示状态可以为第一透光电极接181和第二透光电极182均接入低电平时的状态,图10所示状态可以为第一透光电极接181接入低电平、第二透光电极接182 接入高电平时的状态。Exemplarily, the state shown in FIG. 9 may be the state when both the first light-transmitting electrode 181 and the second light-transmitting electrode 182 are connected to a low level, and the state shown in FIG. 10 may be that the first light-transmitting electrode connection 181 is connected. The state when the second light-transmitting electrode connection 182 is connected to a high level.

可选的,低电平可以为终端设备的参考地,高电平可以为终端设备的电源电压;即,当通过所述镜头和图像传感器组成的摄像模组拍摄图像时,向第一透光电极接181输入参考地电压且向第一透光电极接181输入电源电压,当未通过所述镜头和所述图像传感器组成的摄像模组拍摄图像且所述显示屏显示画面时,向第一透光电极接181和第二透光电极182均输入参考地电压。Optionally, the low level can be the reference ground of the terminal equipment, and the high level can be the power supply voltage of the terminal equipment; The electrode connection 181 inputs the reference ground voltage and the first light-transmitting electrode connection 181 inputs the power supply voltage. The light-transmitting electrode connection 181 and the second light-transmitting electrode 182 are both input with a reference ground voltage.

可选的,所述终端设备还包括:设置于所述镜头的入光侧的透光盖板;所述扩散模组封装于所述透光盖板内。Optionally, the terminal device further includes: a light-transmitting cover plate disposed on the light incident side of the lens; the diffusion module is packaged in the light-transmitting cover plate.

具体的,终端设备摄像模组的镜头11入光侧都会有透光盖板,起到防尘防水的保护镜头 11的作用,为了利用摄像模组实现光敏功能,同时不增加结构负担,不增加体积,本发明实施例中可以将扩散模组18封装在镜头11前面的透光盖板中。Specifically, the lens 11 of the camera module of the terminal equipment will have a light-transmitting cover on the light-incident side to protect the lens 11 from dust and water. In terms of volume, in the embodiment of the present invention, the diffusion module 18 can be packaged in the light-transmitting cover plate in front of the lens 11 .

实施例二、Embodiment two,

本发明实施例提供一种终端设备的控制方法,具体的,参照图11所示,该方法包括:An embodiment of the present invention provides a method for controlling a terminal device. Specifically, as shown in FIG. 11 , the method includes:

S11、确定是否正在通过所述终端设备的摄像模组拍摄图像。S11. Determine whether an image is being captured by a camera module of the terminal device.

在上述步骤S11中,若正在通过所述终端设备的摄像模组拍摄图像,则执行步骤S12,若通过所述终端设备的摄像模组拍摄图像,则执行步骤S13。In the above step S11, if the image is being captured by the camera module of the terminal device, then step S12 is executed, and if the image is captured by the camera module of the terminal device, then step S13 is executed.

S12、控制所述摄像模组的感光器件感应接收到的环境光生成第一电信号,并将所述第一电信号转换为图像信号。S12. Control the photosensitive device of the camera module to sense the received ambient light to generate a first electrical signal, and convert the first electrical signal into an image signal.

S13、确定所述终端设备显示屏是否在显示画面。S13. Determine whether the display screen of the terminal device is displaying a picture.

在上述步骤S13中,若所述终端设备显示屏未显示画面,则流程结束,若所述终端设备显示屏在显示画面,则执行步骤S14。In the above step S13, if the display screen of the terminal device does not display a picture, the process ends, and if the display screen of the terminal device is displaying a picture, step S14 is executed.

S14、控制所述摄像模组的感光器件感应接收到的环境光生成第二电信号,并根据所述第二电信号确定环境光的亮度,以及根据所述环境光的亮度调节所述显示屏的显示亮度。S14. Control the photosensitive device of the camera module to generate a second electrical signal by sensing the received ambient light, determine the brightness of the ambient light according to the second electrical signal, and adjust the display screen according to the brightness of the ambient light display brightness.

可选的,所述方法还包括:当通过所述终端设备的摄像模组拍摄图像时,控制所述终端设备的扩散模组透射环境光;Optionally, the method further includes: when capturing an image through the camera module of the terminal device, controlling the diffusion module of the terminal device to transmit ambient light;

当未通过所述终端设备的摄像模组拍摄图像且所述终端设备的显示屏显示画面时,控制所述终端设备的扩散模组对输入所述摄像模组的镜头的环境光进行散射。When the image is not captured by the camera module of the terminal device and the display screen of the terminal device displays the picture, the diffusion module of the terminal device is controlled to scatter the ambient light input to the lens of the camera module.

可选的,所述扩散模组包括:第一透光电极层、第二透光电极层以及位于所述第一透光电极层和所述第二透光电极层之间的液晶层;Optionally, the diffusion module includes: a first light-transmitting electrode layer, a second light-transmitting electrode layer, and a liquid crystal layer located between the first light-transmitting electrode layer and the second light-transmitting electrode layer;

所述控制所述终端设备的扩散模组透射环境光,包括:向所述第二透明电极施加第一电压;The controlling the diffusion module of the terminal device to transmit ambient light includes: applying a first voltage to the second transparent electrode;

所述控制所述终端设备的扩散模组对输入所述摄像模组的镜头的环境光进行散射,包括:向所述第二透明电极施加第二电压。The controlling the diffusion module of the terminal device to scatter the ambient light input to the lens of the camera module includes: applying a second voltage to the second transparent electrode.

可选的,所述方法还包括:Optionally, the method further includes:

当通过所述终端设备的摄像模组拍摄图像时,根据所述第一电信号确定环境光的亮度,并根据所述环境光的亮度调节所述显示屏的显示亮度。When an image is captured by the camera module of the terminal device, the brightness of the ambient light is determined according to the first electrical signal, and the display brightness of the display screen is adjusted according to the brightness of the ambient light.

本发明实施例提供的终端设备得控制方法,当通过所述终端设备的摄像模组拍摄图像时,所述摄像模组的图像传感器感应接收到的环境光生成第一电信号,并将所述第一电信号转换为图像信号,当未通过所述终端设备的摄像模组拍摄图像且所述终端设备的显示屏显示画面时,所述摄像模组的图像传感器感应接收到的环境光生成第二电信号,并根据所述第二电信号确定环境光的亮度,并根据所述环境光的亮度调节所述显示屏的显示亮度。即,在通过摄像模组拍摄影像时通过摄像模组的图像传感器接收到的环境光生成第一电信号,然后转为图像信号;在未通过摄像模组拍摄影像且显示屏显示画面时通过摄像模组的图像传感器接收到的环境光生成第二电信号,并根据第二电信号确定环境光亮度,进而根据所述环境光的亮度调节所述显示屏的显示亮度,由于本发明实施例中可以通过摄像模组的图像传感器亮度调节所述显示屏的显示亮度,因此本发明实施例中可以避免使用光敏器件,由于本发明实施例可以在不使用光敏器件的同时实现自动根据环境光亮度调节终端设备的显示屏的显示亮度,因此本发明实施例可以解决光敏器件限制终端设备的屏占比进一步增大的问题。In the terminal device control method provided by the embodiment of the present invention, when an image is captured by a camera module of the terminal device, the image sensor of the camera module senses the received ambient light to generate a first electrical signal, and transmits the The first electrical signal is converted into an image signal, and when the image is not captured by the camera module of the terminal device and the display screen of the terminal device displays the picture, the image sensor of the camera module senses the received ambient light to generate the first signal. and the brightness of the ambient light is determined according to the second electrical signal, and the display brightness of the display screen is adjusted according to the brightness of the ambient light. That is, when the image is captured by the camera module, the ambient light received by the image sensor of the camera module generates a first electrical signal, which is then converted into an image signal; The ambient light received by the image sensor of the module generates a second electrical signal, and determines the brightness of the ambient light according to the second electrical signal, and then adjusts the display brightness of the display screen according to the brightness of the ambient light. The display brightness of the display screen can be adjusted by the brightness of the image sensor of the camera module. Therefore, the use of a photosensitive device can be avoided in the embodiment of the present invention, because the embodiment of the present invention can automatically adjust the brightness according to the ambient light without using a photosensitive device. The display brightness of the display screen of the terminal device, therefore, the embodiment of the present invention can solve the problem that the photosensitive device limits the screen ratio of the terminal device to further increase.

实施例三、Embodiment three,

图12为实现本发明各个实施例的一种终端设备的硬件结构示意图,如图12所示,该终端设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图12中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 12 is a schematic diagram of the hardware structure of a terminal device implementing various embodiments of the present invention. As shown in FIG. 12 , the terminal device 100 includes but is not limited to: a radio frequency unit 101 , a network module 102 , an audio output unit 103 , and an input unit 104 , sensor 105 , display unit 106 , user input unit 107 , interface unit 108 , memory 109 , processor 110 , and power supply 111 and other components. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 12 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than the one shown, or combine some components, or different components layout. In the embodiment of the present invention, the terminal device includes but is not limited to a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.

其中,所述处理器110,用于当通过所述终端设备的摄像模组拍摄图像时,控制所述摄像模组的感光器件感应接收到的环境光生成第一电信号,并将所述第一电信号转换为图像信号;当未通过所述终端设备的摄像模组拍摄图像且所述终端设备的显示屏显示画面时,控制所述摄像模组的感光器件感应接收到的环境光生成第二电信号,并根据所述第二电信号确定环境光的亮度,以及根据所述环境光的亮度调节所述显示屏的显示亮度。The processor 110 is configured to control the photosensitive device of the camera module to generate a first electrical signal by sensing the received ambient light when an image is captured by the camera module of the terminal device, and to send the first electrical signal to the camera module. An electrical signal is converted into an image signal; when the image is not captured by the camera module of the terminal device and the display screen of the terminal device displays the picture, the photosensitive device of the camera module is controlled to sense the received ambient light to generate the first and the brightness of the ambient light is determined according to the second electrical signal, and the display brightness of the display screen is adjusted according to the brightness of the ambient light.

本发明实施例提供的终端设备包括:镜头、图像传感器、控制模块以及显示屏;其中,所述图像传感器位于所述镜头的出光侧,所述图像传感器和所述显示屏均与所述控制模块电连接;当通过所述镜头和图像传感器组成的摄像模组拍摄图像时,所述图像传感器用于通过所述镜头接收环境光,并感应接收到的环境光生成第一电信号,所述控制模块用于将所述第一电信号转换为图像信号,当未通过所述镜头和所述图像传感器组成的摄像模组拍摄图像且所述显示屏显示画面时,所述图像传感器用于通过所述镜头接收环境光,并感应接收到的环境光生成第二电信号,所述控制模块用于根据所述第二电信号确定环境光的亮度,并根据所述环境光的亮度调节所述显示屏的显示亮度。即,在通过摄像模组拍摄影像时通过摄像模组的图像传感器接收到的环境光生成第一电信号,然后转为图像信号;在未通过摄像模组拍摄影像且显示屏显示画面时通过摄像模组的图像传感器接收到的环境光生成第二电信号,并根据第二电信号确定环境光亮度,进而根据所述环境光的亮度调节所述显示屏的显示亮度,由于本发明实施例中可以通过摄像模组的图像传感器亮度调节所述显示屏的显示亮度,因此本发明实施例中可以避免使用光敏器件,由于本发明实施例可以在不使用光敏器件的同时实现自动根据环境光亮度调节终端设备的显示屏的显示亮度,因此本发明实施例可以解决光敏器件限制终端设备的屏占比进一步增大的问题。The terminal device provided by the embodiment of the present invention includes: a lens, an image sensor, a control module, and a display screen; wherein, the image sensor is located on the light-emitting side of the lens, and both the image sensor and the display screen are connected to the control module. Electrical connection; when an image is captured by the camera module composed of the lens and the image sensor, the image sensor is used to receive ambient light through the lens, and sense the received ambient light to generate a first electrical signal, and the control The module is used to convert the first electrical signal into an image signal, and when the image is not captured by the camera module composed of the lens and the image sensor and the display screen displays the picture, the image sensor is used to pass the image. The lens receives ambient light and senses the received ambient light to generate a second electrical signal, the control module is configured to determine the brightness of the ambient light according to the second electrical signal, and adjust the display according to the brightness of the ambient light display brightness of the screen. That is, when the image is captured by the camera module, the ambient light received by the image sensor of the camera module generates a first electrical signal, which is then converted into an image signal; The ambient light received by the image sensor of the module generates a second electrical signal, and determines the brightness of the ambient light according to the second electrical signal, and then adjusts the display brightness of the display screen according to the brightness of the ambient light. The display brightness of the display screen can be adjusted by the brightness of the image sensor of the camera module. Therefore, the use of a photosensitive device can be avoided in the embodiment of the present invention, because the embodiment of the present invention can automatically adjust the brightness according to the ambient light without using a photosensitive device. The display brightness of the display screen of the terminal device, therefore, the embodiment of the present invention can solve the problem that the photosensitive device limits the screen ratio of the terminal device to further increase.

应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals in the process of sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 110; The uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.

终端设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides the user with wireless broadband Internet access through the network module 102, such as helping the user to send and receive emails, browse web pages, and access streaming media.

音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与终端设备执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into audio signals and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device (eg, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.

输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器 109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. The graphics processor 1041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.

终端设备还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在终端设备移动到耳边时,关闭显示面板1061 和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and/or when the terminal device is moved to the ear. or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 105 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元107可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110 发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive input numerical or character information, and generate key signal input related to user setting and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or attachment on or near the touch panel 1071). operate). The touch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Specifically, other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again.

进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图12中,触控面板1071与显示面板1061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be covered on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch The type of event provides corresponding visual output on display panel 1061 . Although in FIG. 12 , the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the terminal device, but in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated The input and output functions of the terminal device are implemented, which is not specifically limited here.

接口单元108为外部装置与终端设备连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备中的一个或多个元件或者可以用于在终端设备和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device and a terminal device. For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device or may be used between the terminal device and the external device. transfer data between.

存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器110是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器109中的软件程序和/或模块,以及调用存储在存储器109中的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the terminal equipment, uses various interfaces and lines to connect various parts of the entire terminal equipment, runs or executes the software programs and/or modules stored in the memory 109, and calls the data stored in the memory 109. , perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The modulation processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .

终端设备还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device may also include a power supply 111 (such as a battery) that supplies power to various components. Optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. and other functions.

另外,终端设备包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device includes some unshown functional modules, which are not repeated here.

实施例四、Embodiment four,

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述终端设备的控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned embodiment of the control method for a terminal device can be implemented, and can achieve the same In order to avoid repetition, the technical effect will not be repeated here. Among them, the computer-readable storage medium, such as a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, etc.

其中,本发明实施例提供的终端设备、计算机存储介质均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。The terminal device and the computer storage medium provided in the embodiments of the present invention are all used to execute the corresponding methods provided above. Therefore, for the beneficial effects that can be achieved, reference may be made to the beneficial effects of the corresponding methods provided above. , and will not be repeated here.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (8)

1. A terminal device, comprising: the device comprises a lens, an image sensor, a control module and a display screen;
the image sensor is positioned on the light emitting side of the lens and is electrically connected with the control module;
when a camera module consisting of the lens and the image sensor is used for shooting an image, the image sensor is used for receiving ambient light through the lens and sensing the received ambient light to generate a first electric signal, and the control module is used for converting the first electric signal into an image signal;
when an image is not shot through a camera module consisting of the lens and the image sensor and the display screen displays a picture, the image sensor is used for receiving ambient light through the lens and sensing the received ambient light to generate a second electric signal, and the control module is used for determining the brightness of the ambient light according to the second electric signal and adjusting the display brightness of the display screen according to the brightness of the ambient light;
the terminal device further includes: the diffusion module is positioned on the light incident side of the lens;
when the camera shooting module consisting of the lens and the image sensor shoots an image, the diffusion module is used for transmitting ambient light;
when the image is not shot through the camera module consisting of the lens and the image sensor and the display screen displays a display screen, the diffusion module is used for scattering the ambient light input into the lens.
2. The terminal device of claim 1, wherein the diffusion module comprises: the liquid crystal display panel comprises a first light-transmitting electrode layer, a second light-transmitting electrode layer and a liquid crystal layer located between the first light-transmitting electrode layer and the second light-transmitting electrode layer.
3. The terminal device according to claim 2, wherein the terminal device further comprises: the light-transmitting cover plate is arranged on the light incidence side of the lens; the diffusion module is packaged in the light-transmitting cover plate.
4. The terminal device according to any one of claims 1 to 3, wherein when an image is captured by a camera module comprising the lens and the image sensor, the control module is further configured to determine a brightness of ambient light according to the first electrical signal, and adjust the display brightness of the display screen according to the brightness of the ambient light.
5. A control method of a terminal device, comprising:
when an image is shot through a camera module of the terminal equipment, a photosensitive device of the camera module is controlled to sense received ambient light to generate a first electric signal, and the first electric signal is converted into an image signal;
when an image is not shot through a camera module of the terminal equipment and a display screen of the terminal equipment displays a picture, controlling a photosensitive device of the camera module to sense received ambient light to generate a second electric signal, determining the brightness of the ambient light according to the second electric signal, and adjusting the display brightness of the display screen according to the brightness of the ambient light;
the method further comprises the following steps:
when the image is shot through the camera module of the terminal equipment, controlling the diffusion module of the terminal equipment to transmit ambient light;
and when the image is not shot through the camera module of the terminal equipment and the display screen of the terminal equipment displays a display picture, controlling the diffusion module of the terminal equipment to scatter the ambient light input into the lens of the camera module.
6. The method of claim 5, wherein the diffusion module comprises: the liquid crystal display panel comprises a first light-transmitting electrode layer, a second light-transmitting electrode layer and a liquid crystal layer positioned between the first light-transmitting electrode layer and the second light-transmitting electrode layer;
control terminal equipment's diffusion module transmission ambient light includes: applying a first voltage to the second transparent electrode;
the control the diffusion module of terminal equipment carries out the scattering to the ambient light of the camera lens of inputing the module of making a video recording, include: applying a second voltage to the second transparent electrode.
7. The method according to any one of claims 5-6, further comprising:
when the image is shot through the camera module of the terminal device, the brightness of the ambient light is determined according to the first electric signal, and the display brightness of the display screen is adjusted according to the brightness of the ambient light.
8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the control method of a terminal device according to any one of claims 5 to 7.
CN201810970592.8A 2018-08-24 2018-08-24 Terminal device, control method thereof and computer-readable storage medium Active CN109257463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810970592.8A CN109257463B (en) 2018-08-24 2018-08-24 Terminal device, control method thereof and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810970592.8A CN109257463B (en) 2018-08-24 2018-08-24 Terminal device, control method thereof and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN109257463A CN109257463A (en) 2019-01-22
CN109257463B true CN109257463B (en) 2020-11-17

Family

ID=65050402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810970592.8A Active CN109257463B (en) 2018-08-24 2018-08-24 Terminal device, control method thereof and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN109257463B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336938B (en) * 2019-08-12 2021-02-26 浙江大华技术股份有限公司 Photosensitive element, image acquisition device, lens driving method, and storage medium
CN113747626B (en) * 2020-05-29 2023-08-29 北京小米移动软件有限公司 Ambient light determining method, device, terminal equipment and medium
CN114138217B (en) * 2021-10-27 2024-05-31 珠海格力电器股份有限公司 Terminal device and image display method
CN114244927B (en) * 2021-12-06 2024-04-19 维沃移动通信有限公司 Electronic device, control method and control device
CN115103100B (en) * 2022-06-22 2024-09-06 Oppo广东移动通信有限公司 Camera module and control method thereof, electronic device, and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1098203A (en) * 1993-06-07 1995-02-01 卡西欧计算机公司 Liquid crystal indicator
CN1357115A (en) * 1999-06-23 2002-07-03 时至准钟表股份有限公司 Liquid crystal display
CN102314840A (en) * 2010-06-30 2012-01-11 格科微电子(上海)有限公司 Image sensor, electronic device and backlight adjusting method thereof
CN107040730A (en) * 2017-04-28 2017-08-11 广东欧珀移动通信有限公司 Imaging control method of image sensor, and imaging apparatus
CN206710760U (en) * 2017-05-12 2017-12-05 北京京东方光电科技有限公司 A kind of shooting part, display device
CN207491072U (en) * 2017-11-03 2018-06-12 成都野望数码科技有限公司 A kind of camera system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1098203A (en) * 1993-06-07 1995-02-01 卡西欧计算机公司 Liquid crystal indicator
CN1357115A (en) * 1999-06-23 2002-07-03 时至准钟表股份有限公司 Liquid crystal display
CN102314840A (en) * 2010-06-30 2012-01-11 格科微电子(上海)有限公司 Image sensor, electronic device and backlight adjusting method thereof
CN107040730A (en) * 2017-04-28 2017-08-11 广东欧珀移动通信有限公司 Imaging control method of image sensor, and imaging apparatus
CN206710760U (en) * 2017-05-12 2017-12-05 北京京东方光电科技有限公司 A kind of shooting part, display device
CN207491072U (en) * 2017-11-03 2018-06-12 成都野望数码科技有限公司 A kind of camera system

Also Published As

Publication number Publication date
CN109257463A (en) 2019-01-22

Similar Documents

Publication Publication Date Title
US20220276909A1 (en) Screen projection control method and electronic device
CN109257463B (en) Terminal device, control method thereof and computer-readable storage medium
CN110752980A (en) Message sending method and electronic equipment
CN110891144A (en) An image display method and electronic device
CN110661949A (en) Display panel control method and electronic device
CN111381924A (en) Interface display method, electronic device and medium
CN110769174B (en) Video viewing method and electronic equipment
CN107682616A (en) Control method, camera cover and mobile terminal
WO2021063099A1 (en) Photographing method and electronic device
CN109710349B (en) Screen capturing method and mobile terminal
CN110035227A (en) Special effect display methods and terminal device
CN110046013A (en) A kind of interface display method and terminal device
CN110830713A (en) A zoom method and electronic device
CN109257505A (en) A kind of screen control method and mobile terminal
CN111601031A (en) Shooting parameter adjusting method and device
CN107682637A (en) A shooting method, mobile terminal and computer-readable storage medium
CN111385415A (en) Shooting method and electronic equipment
CN111246105A (en) Shooting method and electronic device
CN109756630A (en) A screen control method and terminal device
CN111343710B (en) Power adjustment method and electronic equipment
CN108984145A (en) A kind of brightness adjusting method and electronic equipment
WO2020151490A1 (en) Application control method and terminal device
CN110868546A (en) Shooting method and electronic equipment
CN109151143B (en) Foreign matter detection structure and method and mobile terminal
CN109561258B (en) A kind of supplementary light method and terminal equipment

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
GR01 Patent grant
GR01 Patent grant