CN109448641B - Backlight control method and device, computer readable medium and electronic device - Google Patents

Backlight control method and device, computer readable medium and electronic device Download PDF

Info

Publication number
CN109448641B
CN109448641B CN201811458293.2A CN201811458293A CN109448641B CN 109448641 B CN109448641 B CN 109448641B CN 201811458293 A CN201811458293 A CN 201811458293A CN 109448641 B CN109448641 B CN 109448641B
Authority
CN
China
Prior art keywords
backlight
illuminance
infrared light
light
level
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
CN201811458293.2A
Other languages
Chinese (zh)
Other versions
CN109448641A (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.)
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 CN201811458293.2A priority Critical patent/CN109448641B/en
Publication of CN109448641A publication Critical patent/CN109448641A/en
Application granted granted Critical
Publication of CN109448641B publication Critical patent/CN109448641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source

Abstract

The invention discloses a backlight control method and device, a computer readable medium and electronic equipment, and relates to the technical field of computer control. The backlight control method comprises the following steps: responding to a starting instruction, and starting the optical signal transmitting assembly; and during the operation of the optical signal transmitting assembly, controlling the screen backlight level of the terminal equipment to be the same as the backlight level when responding to the starting instruction. This application can avoid the light that light signal emission subassembly sent to adjust and cause the interference to backlight.

Description

Backlight control method and device, computer readable medium and electronic device
Technical Field
The present disclosure relates to the field of computer control technologies, and in particular, to a backlight control method, a backlight control apparatus, a computer readable medium, and an electronic device.
Background
With the rapid development of terminal equipment, a plurality of new technologies emerge. Three-dimensional (3D) structured light, which is one of the technologies with a high degree of attention, is currently applied to some end device products.
The 3D structured light technique refers to a technique in which after specific laser information is projected onto the surface of an object, a camera acquires changes in the optical information caused by the object to calculate information such as the position and depth of the object, and then the entire three-dimensional space of the object is restored. The 3D structured light-based optical sensing technology can be applied to recognition of human faces, gestures or other gestures, brings more real and clear perception experience, and has wide application prospects in the aspects of unlocking, payment, beautifying, holographic communication and Augmented Reality (AR) games.
However, in the process of applying the 3D structured light technology, the terminal device may have a problem of abnormal backlight adjustment.
Disclosure of Invention
The application aims to provide a backlight control method, a backlight control device, a computer readable medium and an electronic device, so as to overcome the problem that backlight regulation is abnormal in a terminal device at least to a certain extent in the process of applying a 3D structured light technology.
According to an aspect of the present application, there is provided a backlight control method applied to a terminal device, including: responding to a starting instruction, and starting the optical signal transmitting assembly; and during the operation of the optical signal transmitting assembly, controlling the screen backlight level of the terminal equipment to be the same as the backlight level when responding to the starting instruction.
According to another aspect of the present application, a backlight control apparatus applied to a terminal device is provided, which includes a component starting module and a backlight control module.
Specifically, the component starting module is used for responding to a starting instruction and starting the optical signal transmitting component; and the backlight control module is used for controlling the screen backlight level of the terminal equipment to be the same as the backlight level when responding to the starting instruction during the working period of the optical signal transmitting assembly.
According to yet another aspect of the present application, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a backlight control method as in any one of the above.
According to yet another aspect of the present application, there is provided an electronic device including: a processor; and a memory for storing executable instructions for the processor; wherein the processor is configured to perform the backlight control method as any one of the above via execution of the executable instructions.
In the technical solutions provided in some embodiments of the present application, during the operation of the optical signal transmitting assembly, the screen backlight level of the control terminal device is the same as the backlight level when responding to the start instruction, so that on one hand, interference of light emitted by the optical signal transmitting assembly on backlight adjustment can be avoided, and further backlight jitter caused by unstable backlight is avoided; on the other hand, because the working time of the optical signal transmitting assembly is short, the degree of change is small even if the ambient light changes except the light emitted by the optical signal transmitting assembly, and the backlight grade when the starting instruction is responded is maintained, so that the whole backlight adjusting process is not influenced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are some embodiments of the present application, and that for a person skilled in the art, other drawings can be derived from these drawings without inventive effort. In the drawings:
fig. 1 schematically shows a flow chart of a backlight control method according to an exemplary embodiment of the present application;
fig. 2 schematically shows a block diagram of a backlight control apparatus according to an exemplary embodiment of the present application;
FIG. 3 schematically illustrates a block diagram of a backlight control module according to an exemplary embodiment of the present application;
FIG. 4 schematically illustrates a block diagram of a backlight control module according to another exemplary embodiment of the present application;
FIG. 5 schematically illustrates a block diagram of a backlight control module according to yet another exemplary embodiment of the present application;
fig. 6 schematically shows a block diagram of a light illuminance determination unit according to an exemplary embodiment of the present application;
fig. 7 schematically shows a block diagram of an ambient light illuminance determination unit according to an exemplary embodiment of the present application;
fig. 8 schematically shows a block diagram of a parameter determination unit according to an exemplary embodiment of the present application;
fig. 9 schematically illustrates a block diagram of a backlight control apparatus according to another exemplary embodiment of the present application;
fig. 10 schematically shows a block diagram of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present application.
Furthermore, the drawings are merely schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the steps. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation. In addition, the terms "first" and "second" in the present application are for distinguishing purposes only and should not be construed as limiting the present application.
At present, some terminal devices are configured with a 3D structure optical module to collect the change of optical information caused by an object through a camera of the terminal device, and then calculate information such as the position and depth of the object. These terminal devices may include, but are not limited to, cell phones, tablets, personal computers, monitoring devices, authentication devices (e.g., human face check-in devices), and the like.
Taking a mobile phone as an example, the 3D structure light module is mainly configured at the middle position of the top of the mobile phone or configured as a telescopic hidden structure. However, due to the limitation of the design and space of the mobile phone, the laser emitting array of the 3D structured light is closer to the light sensor (also called light sensor, etc.) of the mobile phone. The infrared rays emitted by the laser emission array of the 3D structured light can interfere with the light sensor, so that the process of automatically adjusting the backlight of the mobile phone screen based on the information collected by the light sensor is influenced, and the problem of abnormal backlight adjustment is caused.
For example, before the 3D structured light operates, the level of the screen backlight is one level; when the laser emission array of the 3D structured light emits infrared rays, since the ambient light detected by the light sensor includes infrared rays emitted by the laser emission array, the level of the screen backlight may become three levels. However, the current ambient light itself does not change; when the laser emitting array stops working, the screen backlight is reduced to one level. Therefore, the screen may have a problem of backlight bounce.
It should be understood that, although the above description is made by taking a mobile phone as an example, similarly, terminal devices other than the mobile phone also have the problem of abnormal backlight adjustment.
In view of the above, a new backlight control method and a new backlight control apparatus are needed.
It should be noted that the backlight control method described in the present application may be implemented by a terminal device, that is, the terminal device may perform the following steps of the method, in which case, the backlight control apparatus may be included in the terminal device.
Fig. 1 schematically shows a flowchart of a backlight control method of an exemplary embodiment of the present application. Referring to fig. 1, the backlight control method may include the steps of:
and S12, responding to the starting instruction, and starting the optical signal transmitting assembly.
In the exemplary embodiment of the present application, the optical signal emitting component may be a laser emitting array of 3D structured light, however, it should be understood that the optical signal emitting component described herein may be any light emitting source that may affect the optical sensor of the terminal device, and the present application is not limited thereto.
The start instruction is an instruction for starting the operation of the optical signal transmitting assembly, and may be generated by the terminal device in response to a preset event. The preset event may be an unlocking, payment, etc. event.
For example, in a scenario of terminal device unlocking, a user may click a power on/off button, the terminal device generates a command for starting a laser emission array of the 3D structured light in response to the click operation as the start command, and then the terminal device may send the start command to the 3D structured light module to start the laser emission array, so as to recognize a face of the user by using a 3D structured light technology, and when a recognition result matches a preset face, the terminal device is unlocked.
For another example, in a scene of terminal device payment, the terminal device may generate a start instruction of the laser emission array in response to a payment operation, send the start instruction to the 3D structure optical module, and start the laser emission array, so as to verify the identity of the payer through face recognition, and if the verification is passed, directly deduct money.
After the optical signal transmitting assembly is started, the optical signal transmitting assembly enters a working stage.
S14, during the working period of the optical signal transmitting assembly, controlling the screen backlight level of the terminal equipment to be the same as the backlight level when responding to the starting instruction.
The backlight grade can correspond to the grade of the required backlight, and can be divided by people. For example, one to ten levels correspond to backlight strategies under different ambient light levels. The present application does not make any special restrictions on the division of the backlight levels.
According to some embodiments of the present application, the terminal device may turn off the automatic backlight adjustment function during operation of the optical signal emitting assembly.
Specifically, in the whole process, the optical sensor of the terminal device works normally, that is, the current ambient light is detected, and the detection result is reported to the processing unit of the terminal device. In the related art, the processing unit of the terminal device sends a backlight adjustment instruction corresponding to the detection result to the backlight module according to the detection result of the ambient light. In the embodiments of the present application, the processing unit of the terminal device first determines whether the optical signal transmitting assembly is working, and if the optical signal transmitting assembly is working, the processing unit does not send the backlight adjusting instruction to the backlight module, that is, even if the detection result of the ambient light is obtained, the backlight adjusting process is not performed.
In terms of implementation, in the backlight adjusting process, compared with the related art, the method can add a judging process. Specifically, first, an ambient light detection result transmitted by the light sensor may be acquired; next, it may be determined whether the optical signal emitting assembly is operating. If not, the backlight is adjusted according to the ambient light detection result, and if the backlight is in operation, the backlight is not adjusted. In addition, when the optical signal transmitting assembly works, the scheme that the processing unit of the terminal device does not receive the ambient light detection result or discards the ambient light detection result so as to save system resources also belongs to the concept of the present application.
In addition, it can be understood that if the backlight module does not receive the dimming command, the screen maintains the current backlight level.
According to other embodiments of the present application, when the preset condition occurs, the screen of the terminal device may be controlled to maintain the backlight level in response to the start instruction, that is, the screen backlight level of the terminal device may be controlled to be the same as the backlight level in response to the start instruction. Wherein the preset condition is related to the ambient light detected by the light sensor.
First, the terminal device may determine the infrared light illuminance and the ambient light illuminance including the infrared light.
Specifically, the optical sensor of the terminal device may include a first channel and a second channel, where the first channel is used to collect infrared light illuminance, and the second channel is used to collect non-infrared light illuminance. After the infrared light illuminance and the non-infrared light illuminance are determined, the ambient light illuminance may be calculated using the following equation:
y=ax1+bx2
wherein y is the ambient illuminance, x1Is the illuminance, x, of infrared light2The non-infrared illuminance is a first parameter corresponding to the infrared illuminance for calculating the ambient illuminance, and the second parameter corresponding to the non-infrared illuminance for calculating the ambient illuminance.
Regarding the determination process of the first parameter a and the second parameter b, a fitting method may be used for determination, wherein the fitting process may be, for example, a linear fitting process. Specifically, the optical sensor may be placed under a plurality of standard light sources, the illuminance value of each standard light source is known, and a plurality of sets of data may be generated by combining the detected illuminance of infrared light and the detected illuminance of non-infrared light. Subsequently, the plurality of sets of data are subjected to a fitting process to determine a first parameter a and a second parameter b.
However, it should be understood that the ambient light illuminance may be determined in other manners, which are not particularly limited in the exemplary embodiment.
After the infrared light illuminance and the ambient light illuminance are determined, next, different strategies can be adopted to judge whether to control the screen to maintain the backlight level when responding to the starting instruction. These strategies will be described in the form of examples.
In an embodiment of the application, it may be determined whether the determined ambient light illuminance is less than a preset illuminance, and if the ambient light illuminance is less than the preset illuminance, the screen is controlled to maintain the backlight level when responding to the start instruction. The preset illuminance may be predetermined manually according to an experiment, for example, the preset illuminance may be 100lux, however, due to the accuracy of the light sensor, the stability of the system, and the like, the preset illuminance may have a difference. In addition, if the ambient light illuminance is not less than the preset illuminance, the backlight may be adjusted, and at this time, it should be understood that the light emitted by the light signal emitting component has substantially no influence on the detection result of the light sensor compared with the ambient light.
In another embodiment of the present application, it may be determined whether a ratio of the infrared light illuminance to the ambient light illuminance is greater than a preset ratio, and if the ratio is greater than the preset ratio, the screen is controlled to maintain the backlight level when responding to the start instruction. The preset ratio may be predetermined according to implementation, and for example, the preset ratio may be 0.6. It should be understood that the preset ratio is related to the layout of the components on the terminal device, that is, the preset ratio may be different due to the position change and the precision difference of the components of the terminal device. In addition, if the ratio of the infrared light illuminance to the ambient light illuminance is not greater than the preset ratio, the backlight may be adjusted. That is, the infrared light emitted by the light signal emitting assembly has less influence on the ambient light, and the light signal emitting assembly has less interference on the backlight adjustment.
In yet another embodiment of the present application, the two above cases may be combined. That is, if the ambient light illuminance is less than the preset illuminance and the ratio of the infrared light illuminance to the ambient light illuminance is greater than the preset ratio, the screen is controlled to maintain the backlight level in response to the start instruction.
In addition, after the light signal emitting assembly stops operating, the backlight level of the screen may be controlled according to the degree of change of the ambient light. For example, after the laser emitting array of 3D structured light ceases to operate, the user takes the terminal device from a 100lux environment to a 1000lux environment, and the backlight level may automatically jump from level two to level six.
The backlight control method of the present application is exemplarily described below by taking a laser emission array in which the terminal device is a mobile phone and the optical signal emission component is 3D structured light as an example.
Taking the unlocking process of the mobile phone as an example, after a user performs an unlocking operation (for example, presses a power on/off button), the mobile phone generates a starting instruction for the laser emission array of the 3D structured light in response to the unlocking operation, and sends the starting instruction to the 3D structured light module to start the laser emission array. During the working period of the laser emission array, namely the period of the laser emission array emitting infrared rays, the processing unit of the mobile phone does not send a backlight adjusting instruction to the backlight module, even if the screen maintains a backlight state when responding to a starting instruction, so that the problem of backlight jitter caused by the interference of the laser emission array of the 3D structured light on the optical sensor is avoided. When the laser emission array stops working, if the face detected by the 3D structured light technology is matched with a preset face endowed with unlocking authority, the mobile phone unlocking process is completed. In addition, when the laser emitting array stops working, the process of backlight adjustment is resumed, that is, after the laser emitting array stops working, if the ambient light changes and the degree of change meets the backlight adjustment requirement, the backlight of the mobile phone screen is adjusted.
In summary, with the backlight control method according to the exemplary embodiment of the present application, on one hand, interference of light emitted by the optical signal emitting device on backlight adjustment can be avoided, and further backlight jitter caused by backlight instability can be avoided; on the other hand, because the working time of the optical signal transmitting assembly is short, the degree of change is small even if the ambient light changes except the light emitted by the optical signal transmitting assembly, and the backlight grade when the starting instruction is responded is maintained, so that the whole backlight adjusting process is not influenced.
It should be noted that although the various steps of the methods in this application are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the shown steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Further, the present exemplary embodiment also provides a backlight control device. The backlight control device can be applied to the terminal equipment, namely, the backlight control device can be configured in the terminal equipment.
Fig. 2 schematically shows a block diagram of a backlight control apparatus of an exemplary embodiment of the present application. Referring to fig. 2, the backlight control apparatus 2 according to an exemplary embodiment of the present application may include a component start module 21 and a backlight control module 23.
Specifically, the component starting module 21 may be configured to respond to a starting instruction to start the optical signal emitting component; the backlight control module 23 may be configured to control the screen backlight level of the terminal device to be the same as the backlight level in response to the start instruction during the operation of the optical signal transmitting assembly.
According to the backlight control device of the exemplary embodiment of the application, on one hand, the interference of light rays emitted by the optical signal emitting assembly on backlight regulation can be avoided, and further the backlight jumping condition caused by unstable backlight is avoided; on the other hand, because the working time of the optical signal transmitting assembly is short, the degree of change is small even if the ambient light changes except the light emitted by the optical signal transmitting assembly, and the backlight grade when the starting instruction is responded is maintained, so that the whole backlight adjusting process is not influenced.
According to an exemplary embodiment of the present application, referring to fig. 3, the backlight control module 23 may include a light illuminance determination unit 301 and a first backlight control unit 303.
Specifically, the illuminance determination unit 301 may be configured to determine the illuminance of infrared light and the illuminance of ambient light including infrared light; the first backlight control unit 303 may be configured to control the screen backlight level of the terminal device to be the same as the backlight level in response to the start instruction if the ambient light illuminance is less than a preset illuminance.
According to an exemplary embodiment of the present application, referring to fig. 4, the backlight control module 41 in another embodiment of the present application may include a light illuminance determination unit 301 and a second backlight control unit 401.
Specifically, the illuminance determination unit 301 may be configured to determine the illuminance of infrared light and the illuminance of ambient light including infrared light; the second backlight control unit 401 may be configured to control the screen backlight level of the terminal device to be the same as the backlight level in response to the start instruction if the ratio of the infrared light illuminance to the ambient light illuminance is greater than a preset ratio.
According to an exemplary embodiment of the present application, referring to fig. 5, the backlight control module 51 in a further embodiment of the present application may include a light illuminance determination unit 301 and a third backlight control unit 501.
Specifically, the illuminance determination unit 301 may be configured to determine the illuminance of infrared light and the illuminance of ambient light including infrared light; the first backlight control unit 501 may be configured to control the screen backlight level of the terminal device to be the same as the backlight level in response to the start instruction if the ambient light illuminance is less than a preset illuminance and the ratio of the infrared light illuminance to the ambient light illuminance is greater than a preset ratio.
By the scheme for judging whether the screen maintains the backlight grade when responding to the starting instruction, the condition of closing backlight adjustment is refined, and the backlight adjustment requirements under different conditions can be met.
According to an exemplary embodiment of the present application, referring to fig. 6, the illuminance determination unit 301 may include an illuminance acquisition unit 601 and an ambient light illuminance determination unit 603.
Specifically, the illuminance acquiring unit 601 may be configured to acquire infrared illuminance acquired by a first channel and non-infrared illuminance acquired by a second channel of an optical sensor of the terminal device; the ambient light illuminance determination unit 603 may be configured to determine the ambient light illuminance from the infrared light illuminance and the non-infrared light illuminance.
With this embodiment, a way of acquiring the illuminance of infrared light and the illuminance of ambient light is specified.
According to an exemplary embodiment of the present application, referring to fig. 7, the ambient light illuminance determination unit 603 may include a parameter determination unit 701 and an ambient light illuminance calculation unit 703.
Specifically, the parameter determining unit 701 may be configured to determine a first parameter corresponding to the infrared light illuminance and a second parameter corresponding to the non-infrared light illuminance, which are used for calculating the ambient light illuminance; the ambient light illuminance calculation unit 703 may be configured to take a sum of a product of the first parameter and the infrared light illuminance and a product of the second parameter and the non-infrared light illuminance as the ambient light illuminance.
With this embodiment, a scheme of how to determine the illuminance of ambient light based on the illuminance of infrared light is determined.
According to an exemplary embodiment of the present application, referring to fig. 8, the parameter determination unit 701 may include a light illuminance detection unit 801 and a fitting processing unit 803.
Specifically, the illuminance detection unit 801 is configured to detect infrared illuminance and non-infrared illuminance of the light sensor under multiple standard light sources; the fitting processing unit 803 is configured to perform fitting processing on the illuminance values of the plurality of standard light sources and the corresponding detected infrared light illuminance and non-infrared light illuminance to determine a first parameter corresponding to the infrared light illuminance and a second parameter corresponding to the non-infrared light illuminance.
By this embodiment, a determination manner of the first parameter and the second parameter for determining the illuminance of ambient light can be derived.
According to an exemplary embodiment of the present application, referring to fig. 9, the backlight control apparatus 9 may further include a backlight recovery module 91, compared to the backlight control apparatus 2.
Specifically, the backlight recovery module 91 may be configured to control the backlight level of the screen according to the variation degree of the ambient light after the optical signal emitting assembly stops operating.
With this embodiment, it is determined that the process of backlight adjustment is resumed after the optical signal emitting assembly stops operating.
According to an exemplary embodiment of the present application, the optical signal emitting assembly is a laser emitting array of 3D structured light.
By means of the embodiment, the scene of the embodiment of the scheme is limited in the application scene of the 3D structured light.
Since each functional module of the program operation performance analysis apparatus according to the embodiment of the present invention is the same as that in the embodiment of the present invention, it is not described herein again.
In an exemplary embodiment of the present application, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
The program product may be run on a terminal device, such as a mobile phone. In the context of this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In an exemplary embodiment of the present application, there is also provided an electronic device capable of implementing the above method. The electronic device may be a cell phone, tablet, personal computer, monitoring device, authentication device, etc.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 1000 according to this embodiment of the invention is described below with reference to fig. 10. The electronic device 1000 shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 10, the electronic device 1000 is embodied in the form of a general purpose computing device. The components of the electronic device 1000 may include, but are not limited to: the at least one processing unit 1010, the at least one memory unit 1020, a bus 1030 connecting different system components (including the memory unit 1020 and the processing unit 1010), and a display unit 1040.
Wherein the storage unit stores program code that is executable by the processing unit 1010 to cause the processing unit 1010 to perform steps according to various exemplary embodiments of the present invention as described in the "exemplary methods" section above in this specification. For example, the processing unit 1010 may perform step S12 and step S14 as shown in fig. 1.
The storage unit 1020 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)10201 and/or a cache memory unit 10202, and may further include a read-only memory unit (ROM) 10203.
The memory unit 1020 may also include a program/utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1030 may be any one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, and a local bus using any of a variety of bus architectures.
The electronic device 1000 may also communicate with one or more external devices 1100 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1000, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 1000 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interfaces 1050. Also, the electronic device 1000 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 1060. As shown, the network adapter 1060 communicates with the other modules of the electronic device 1000 over the bus 1030. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiments of the present application.
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (11)

1. A backlight control method is applied to terminal equipment and is characterized by comprising the following steps:
responding to a starting instruction, and starting a laser emission array of the 3D structured light;
and during the working period of the laser emission array of the 3D structured light, a backlight adjusting instruction is not sent to a backlight module so as to control the screen backlight level of the terminal equipment to be the same as the backlight level when the starting instruction is responded.
2. The backlight control method of claim 1, wherein controlling the screen backlight level of the terminal device to be the same as the backlight level in response to the start instruction comprises:
determining the illuminance of infrared light and the illuminance of ambient light containing infrared light;
and if the ambient light illumination is less than a preset illumination, controlling the screen backlight grade of the terminal equipment to be the same as the backlight grade responding to the starting instruction.
3. The backlight control method of claim 1, wherein controlling the screen backlight level of the terminal device to be the same as the backlight level in response to the start instruction comprises:
determining the illuminance of infrared light and the illuminance of ambient light containing infrared light;
and if the ratio of the infrared light illumination to the ambient light illumination is greater than a preset ratio, controlling the screen backlight level of the terminal equipment to be the same as the backlight level when responding to the starting instruction.
4. The backlight control method of claim 1, wherein controlling the screen backlight level of the terminal device to be the same as the backlight level in response to the start instruction comprises:
determining the illuminance of infrared light and the illuminance of ambient light containing infrared light;
and if the ambient light illumination is less than a preset illumination and the ratio of the infrared light illumination to the ambient light illumination is greater than a preset ratio, controlling the screen backlight grade of the terminal device to be the same as the backlight grade in response to the starting instruction.
5. The backlight control method according to any one of claims 2 to 4, wherein determining the infrared light illuminance and the ambient light illuminance containing the infrared light comprises:
acquiring infrared light illuminance collected by a first channel and non-infrared light illuminance collected by a second channel of an optical sensor of the terminal equipment;
determining the ambient light illuminance according to the infrared light illuminance and the non-infrared light illuminance.
6. The backlight control method of claim 5, wherein determining an ambient light illumination level from the infrared light illumination level and the non-infrared light illumination level comprises:
determining a first parameter corresponding to the infrared light illuminance and a second parameter corresponding to the non-infrared light illuminance for calculating the ambient light illuminance;
and taking the sum of the product of the first parameter and the infrared light illuminance and the product of the second parameter and the non-infrared light illuminance as the ambient light illuminance.
7. The backlight control method of claim 6, wherein determining a first parameter corresponding to infrared light illuminance and a second parameter corresponding to non-infrared light illuminance for calculating ambient light illuminance comprises:
detecting infrared light illuminance and non-infrared light illuminance of the light sensor under a plurality of standard light sources;
and performing fitting processing on the illumination values of the plurality of standard light sources and the correspondingly detected infrared light illumination and non-infrared light illumination to determine a first parameter corresponding to the infrared light illumination and a second parameter corresponding to the non-infrared light illumination.
8. The backlight control method according to claim 1, further comprising:
and after the laser emission array of the 3D structured light stops working, controlling the backlight level of the screen according to the change degree of the ambient light.
9. A backlight control device applied to a terminal device is characterized by comprising:
the component starting module is used for responding to a starting instruction and starting a laser emission array of the 3D structured light;
and the backlight control module is used for not sending a backlight adjusting instruction to the backlight module during the working period of the laser emitting array of the 3D structured light so as to control the screen backlight level of the terminal equipment to be the same as the backlight level when the starting instruction is responded.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the backlight control method according to any one of claims 1 to 8.
11. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the backlight control method of any of claims 1 to 8 via execution of the executable instructions.
CN201811458293.2A 2018-11-30 2018-11-30 Backlight control method and device, computer readable medium and electronic device Active CN109448641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811458293.2A CN109448641B (en) 2018-11-30 2018-11-30 Backlight control method and device, computer readable medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811458293.2A CN109448641B (en) 2018-11-30 2018-11-30 Backlight control method and device, computer readable medium and electronic device

Publications (2)

Publication Number Publication Date
CN109448641A CN109448641A (en) 2019-03-08
CN109448641B true CN109448641B (en) 2021-03-02

Family

ID=65556081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811458293.2A Active CN109448641B (en) 2018-11-30 2018-11-30 Backlight control method and device, computer readable medium and electronic device

Country Status (1)

Country Link
CN (1) CN109448641B (en)

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7049575B2 (en) * 2003-09-09 2006-05-23 Apple Computer Inc. System for sensing ambient light having ambient stability probability
CN101211538A (en) * 2007-12-25 2008-07-02 康佳集团股份有限公司 Backlight brightness regulating method
CN101527137A (en) * 2008-03-06 2009-09-09 海尔集团公司 Method and device for adjusting screen display
US8749538B2 (en) * 2011-10-21 2014-06-10 Qualcomm Mems Technologies, Inc. Device and method of controlling brightness of a display based on ambient lighting conditions
CN103310719B (en) * 2012-03-13 2016-05-11 原相科技股份有限公司 The portable electron device of automatic testing method and use the method
US9330606B2 (en) * 2012-06-08 2016-05-03 Apple Inc. Electronic device with display brightness control
CN105519086B (en) * 2014-09-30 2019-04-16 华为技术有限公司 Close to the control method of optical sensor, device and mobile terminal
CN104700787B (en) * 2015-03-30 2017-05-24 广东欧珀移动通信有限公司 Method and device for setting backlight value
CN105845090B (en) * 2016-04-07 2019-06-14 Oppo广东移动通信有限公司 A kind of backlight adjusting method and device
CN105788540B (en) * 2016-05-20 2018-09-21 广东欧珀移动通信有限公司 A kind of backlight adjusting method and terminal device
CN106097984B (en) * 2016-08-15 2019-09-27 Oppo广东移动通信有限公司 The method, device and mobile terminal of proximity sensor are opened in backlight adjustment
CN106652922A (en) * 2017-01-04 2017-05-10 珠海市魅族科技有限公司 Method and system for controlling screen luminance
CN106875922B (en) * 2017-03-17 2021-03-30 深圳Tcl数字技术有限公司 Display brightness adjusting method and device for display terminal

Also Published As

Publication number Publication date
CN109448641A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
US10725578B2 (en) Apparatus and method for controlling fingerprint sensor
US11113552B2 (en) Electronic device and method for displaying image for iris recognition in electronic device
US9679563B2 (en) Operating method for microphones and electronic device supporting the same
US10788955B2 (en) Method for controlling display and electronic device supporting the same
EP3299947A1 (en) Display screen-based fingerprint collection control method and apparatus, and electric device
EP3642838B1 (en) Method for operating speech recognition service and electronic device and server for supporting the same
US10579870B2 (en) Operating method for function of iris recognition and electronic device supporting the same
EP2919115A2 (en) Task migration method and apparatus
CN110335386B (en) Identity authentication method, device, terminal and storage medium
EP3610479B1 (en) Electronic apparatus for processing user utterance
CN111936892B (en) Electronic device including optical sensor using fresnel lens
US20200326832A1 (en) Electronic device and server for processing user utterances
CN112116690B (en) Video special effect generation method, device and terminal
CN110462662B (en) Device and method for payment using utterances
US10929009B2 (en) Electronic device for outputting graphic indication
EP3381369A1 (en) Electronic device and method for measuring biometric information
CN109448641B (en) Backlight control method and device, computer readable medium and electronic device
KR20190113130A (en) The apparatus for processing user voice input
CN110991431A (en) Face recognition method, device, equipment and storage medium
KR20210075641A (en) Providing Method for information and electronic device supporting the same
KR20200017292A (en) The Method for Recognizing Voice and the Electronic Device supporting the same
CN110443180B (en) System, method, device, medium and equipment for processing brightness of fingerprint image under screen
CN113748398B (en) Data processing and task scheduling method, device, system and storage medium
US11233953B2 (en) Image editing method and electronic device supporting same
CN112860261A (en) Static code checking method and device, computer equipment and readable 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
GR01 Patent grant
GR01 Patent grant