CN113724657B - Control method and device for display screen luminescence, electronic equipment and readable storage medium - Google Patents
Control method and device for display screen luminescence, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN113724657B CN113724657B CN202110838408.6A CN202110838408A CN113724657B CN 113724657 B CN113724657 B CN 113724657B CN 202110838408 A CN202110838408 A CN 202110838408A CN 113724657 B CN113724657 B CN 113724657B
- Authority
- CN
- China
- Prior art keywords
- ambient light
- light
- brightness
- sequence
- display screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000004020 luminiscence type Methods 0.000 title description 2
- 238000013507 mapping Methods 0.000 claims description 25
- 230000008859 change Effects 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 10
- 230000000737 periodic effect Effects 0.000 claims description 2
- 238000005286 illumination Methods 0.000 description 21
- 230000000875 corresponding effect Effects 0.000 description 17
- 230000001276 controlling effect Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000004397 blinking Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000002096 quantum dot Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/34—Control 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/3406—Control of illumination source
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/34—Control 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/3406—Control of illumination source
- G09G3/3413—Details of control of colour illumination sources
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/34—Control 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/3406—Control of illumination source
- G09G3/342—Control of illumination source using several illumination sources separately controlled corresponding to different display panel areas, e.g. along one dimension such as lines
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Liquid Crystal Display Device Control (AREA)
Abstract
The embodiment of the application provides a method and a device for controlling light emission of a display screen, electronic equipment and a readable storage medium, wherein the method comprises the following steps: acquiring ambient light data in an environment where terminal equipment is located; according to the ambient light data, if the ambient light in the environment is determined to be in periodical flicker, the display screen of the terminal device is controlled to emit light in an opposite phase, and the light in the opposite phase and the ambient light are in an opposite phase. In the embodiment of the application, can be according to the ambient light data that ambient light sensor gathered, if detect whether ambient light is the ambient light of scintillation, can control the display screen send with the ambient light antiphase of scintillation's light, the light of this antiphase can offset the ambient light of scintillation for the user can not see the ambient light of scintillation on terminal equipment's display screen, the user also can see the content that shows on the display screen clearly, improves user experience.
Description
Technical Field
The embodiment of the application relates to a terminal technology, in particular to a method and a device for controlling light emission of a display screen, electronic equipment and a readable storage medium.
Background
With the development of the terminal device, the user only needs to carry the terminal device when going out, and the user can conveniently live in shopping, navigation, payment and the like through the terminal device.
At present, if a user uses a terminal device in a scene with flickering ambient light, according to the principle of diffuse reflection, a screen of the terminal device can reflect the flickering ambient light to eyes of the user, so that the user can see the flickering ambient light on the screen, and the user cannot clearly see contents displayed on the screen.
Disclosure of Invention
The embodiment of the application provides a control method and device for light emission of a display screen, an electronic device and a readable storage medium.
In a first aspect, an implementation subject of the method may be a terminal device or a chip in the terminal device, and the following description takes the implementation subject as the terminal device as an example. In the method, the terminal device may obtain ambient light data in an environment in which the terminal device is located. The terminal device may collect the ambient light data through an ambient light sensor or a camera in the terminal device.
And the terminal equipment controls a display screen of the terminal equipment to emit light with an opposite phase if the terminal equipment determines that the ambient light in the environment flickers periodically according to the ambient light data, wherein the light with the opposite phase and the ambient light are in an opposite phase.
In the embodiment of the application, when the terminal device detects that flickering ambient light exists in the environment where the terminal device is located, the display screen can be controlled to emit the light in the phase opposite to the flickering ambient light, and the flickering ambient light can be offset by the light in the phase opposite to the phase.
First, whether the terminal device detects flickering ambient light in the environment (i.e., whether the ambient light flickers periodically) is described:
the terminal device can acquire the brightness information of the ambient light according to the ambient light data; and detecting whether the ambient light flickers periodically or not according to the brightness information.
Wherein the ambient light data comprises: a sequence of voltage values, the luminance information comprising: the brightness value sequence, the voltage value and the brightness value have a mapping relation. The terminal device may have the mapping relationship stored therein in advance, and the terminal device may convert the voltage value sequence into the brightness value sequence based on the voltage value sequence in the ambient light data and the mapping relationship. And the terminal equipment detects whether the ambient light flickers periodically or not based on the brightness value sequence.
In the embodiment of the present application, the reason why the voltage value is converted into the brightness value is that: the terminal equipment can control the brightness of the display screen, and then the brightness of the display screen is controlled, so that the display screen emits light in a phase opposite to that of the ambient light, and the aim of counteracting flickering ambient light is fulfilled.
Specifically, the luminance information further includes: a first time sequence, the first time sequence comprising: the first time corresponding to each brightness value in the brightness value sequence is: the time when the terminal device acquires each brightness value. The terminal device may determine that the ambient light flickers periodically if detecting that the brightness value of the ambient light changes periodically according to the brightness value sequence and the first time sequence.
It should be understood that the periodic variation of the brightness value of the ambient light can be understood as: the brightness value of the ambient light changes at least once periodically, and the terminal device determines that the brightness value of the ambient light changes periodically.
In a possible implementation manner, in order to ensure accuracy of detecting that the brightness value of the ambient light periodically changes by the terminal device, the terminal device determines that the ambient light periodically flickers if detecting that the brightness value of the ambient light periodically changes within a first preset time period according to the brightness value sequence and the first time sequence.
After the terminal device determines that the brightness value of the ambient light changes periodically once, it is further required to continuously detect that the brightness value of the ambient light continues to change periodically, and then it is determined that the ambient light flickers periodically. In the first preset time period, the brightness value of the ambient light is changed at least periodically twice.
Secondly, when the terminal device detects that the ambient light flickers periodically, the display screen of the terminal device can be controlled to emit light with an opposite phase, which indicates how the terminal device controls the display screen of the terminal device to emit light with an opposite phase:
in a first possible implementation manner, the terminal device may obtain a change curve of the brightness of the ambient light based on the brightness information of the ambient light, and further obtain a change curve of the brightness in an opposite phase to the change curve of the brightness of the ambient light based on the change curve of the brightness of the ambient light, for example, by rotating the change curve of the brightness of the ambient light by 180 °, obtain a change curve of the brightness in an opposite phase to the change curve of the brightness of the ambient light, and this "change curve of the brightness in an opposite phase to the change curve of the brightness of the ambient light" is referred to as a first change curve.
The terminal device may obtain attribute information of the ambient light, such as the first flicker frequency, the first amplitude, and the first duty ratio, based on the first variation curve. The terminal device continues to draw a change curve of the brightness corresponding to the second time sequence, such as a second change curve, according to the first flicker frequency, the first amplitude, the first duty ratio, and the first time sequence, based on the attribute information of the ambient light, where the second change curve is a change curve of the brightness of the light in the opposite phase. The second time in the second time series is later than the first time in the first time series.
Therefore, the terminal device can obtain the information of the light with the opposite phase based on the second variation curve, and further control the brightness of the display screen based on the information of the light with the opposite phase, so that the display screen emits the light with the opposite phase. The information of the anti-phase light may include: a second sequence of intensity values and a second sequence of instants.
In a second possible implementation manner, the terminal device may obtain the attribute information of the ambient light according to the brightness value sequence and the first time sequence, where the attribute information of the ambient light includes: a first flicker frequency, a first amplitude, and a first duty cycle of the ambient light. The terminal equipment obtains the information of the light with the opposite phase according to the attribute information, wherein the information of the light with the opposite phase comprises the following steps: a second sequence of luminance values, and a second time instant corresponding to each second luminance value in the second sequence of luminance values. And controlling the brightness of the display screen according to the information of the light with the opposite phase so as to enable the display screen to emit the light with the opposite phase.
The terminal device uses the first flashing frequency as a second flashing frequency of the light in the opposite phase, uses the first duty ratio as a second duty ratio of the light in the opposite phase, and uses the inverse number of the first amplitude as a second amplitude of the light in the opposite phase. The terminal device may sum a preset luminance value and the second amplitude according to the second flicker frequency and the second duty ratio to obtain the second luminance value sequence; acquiring the second time sequence according to the second flicker frequency, the second duty ratio and the first time sequence; and mapping the second time sequence and the second brightness value sequence to obtain the information of the light with the opposite phase.
Therefore, the terminal device can generate the information of the light with the opposite phase based on the attribute information of the ambient light, and further control the brightness of the display screen based on the information of the light with the opposite phase, so that the display screen emits the light with the opposite phase to the flickering ambient light to offset the flickering ambient light. Or,
the terminal device can obtain the brightness change curve of the ambient light first according to the brightness information of the ambient light, and then generate the brightness change curve of the light with the opposite phase based on the brightness change curve of the ambient light and the attribute information of the ambient light. The terminal device can obtain the information of the light with the opposite phase based on the change curve of the brightness of the light with the opposite phase, and then control the brightness of the display screen based on the information of the light with the opposite phase, so that the display screen emits the light with the opposite phase to the flickering ambient light to offset the flickering ambient light.
As above two kinds of modes, terminal equipment all can be based on the information of the environment light of scintillation, the luminance of control display screen for the display screen sends and is the light of antiphase with the environment light of scintillation, with the environment light of offsetting glimmering, and according to this, the user can be in the environment that has the environment light of scintillation, can not see the environment light of the scintillation that the display screen reflects, can make the user see the content that shows on the display screen clearly.
In a possible implementation manner, the terminal device controls the brightness of the display screen according to the brightness value of the ambient light represented by the ambient light data if it is determined that the ambient light does not flicker periodically according to the ambient light data, so that the brightness of the display screen is greater than the brightness of the ambient light. Thus, because the brightness of the display screen is greater than the brightness of the ambient light, the user can see clearly what is displayed on the display screen.
In a second aspect, embodiments of the present application provide a control device for controlling light emission of a display screen, where the control device for controlling light emission of a display screen may be a terminal device as in the first aspect. The control device for the display screen to emit light can comprise:
and the ambient light sensor is used for acquiring ambient light data in the environment where the terminal equipment is located.
And the backlight control IC chip is used for acquiring the environment light data, and controlling a display screen of the terminal equipment to emit light with an opposite phase if the environment light in the environment is determined to periodically flicker according to the environment light data, wherein the light with the opposite phase and the environment light are in an opposite phase.
In a possible implementation manner, the backlight control IC chip is further configured to obtain luminance information of the ambient light according to the ambient light data; and detecting whether the ambient light flickers periodically or not according to the brightness information.
In one possible implementation, the ambient light data includes: a sequence of voltage values, the luminance information comprising: the brightness value sequence, the voltage value and the brightness value have a mapping relation.
And the backlight control IC chip is specifically used for converting the voltage value sequence into the brightness value sequence according to the mapping relation.
In one possible implementation, the luminance information further includes: a first time sequence, the first time sequence comprising: and the first time corresponding to each brightness value in the brightness value sequence.
And the backlight control IC chip is specifically used for determining that the ambient light flickers periodically if the brightness value of the ambient light is detected to be periodically changed according to the brightness value sequence and the first time sequence.
In a possible implementation manner, the backlight control IC chip is specifically configured to determine that the ambient light flickers periodically, according to the brightness value sequence and the first time sequence, if it is detected that the brightness value of the ambient light changes periodically within a first preset time period.
In a possible implementation manner, the backlight control IC chip is specifically configured to obtain the attribute information of the ambient light according to the brightness value sequence and the first time sequence, where the attribute information of the ambient light includes: a first flicker frequency, a first amplitude, and a first duty cycle of the ambient light; obtaining information of the light in the opposite phase according to the attribute information, wherein the information of the light in the opposite phase comprises: a second brightness value sequence and a second time corresponding to each second brightness value in the second brightness value sequence; and controlling the brightness of the display screen according to the information of the light with the opposite phase so as to enable the display screen to emit the light with the opposite phase.
In one possible implementation manner, the backlight control IC chip is specifically configured to use the first flicker frequency as a second flicker frequency of the light in the phase inversion, use the first duty ratio as a second duty ratio of the light in the phase inversion, and use an inverse number of the first amplitude as a second amplitude of the light in the phase inversion; according to the second flicker frequency and the second duty ratio, adding a preset brightness value and the second amplitude to obtain a second brightness value sequence; acquiring the second time sequence according to the second flicker frequency, the second duty ratio and the first time sequence; and mapping the second time sequence and the second brightness value sequence to obtain the information of the light with the opposite phase.
In a possible implementation manner, the backlight control IC chip is further configured to control, according to the ambient light data, the luminance of the display screen according to the luminance value of the ambient light represented by the ambient light data if it is determined that the ambient light does not flicker periodically, so that the luminance of the display screen is greater than the luminance of the ambient light.
In a third aspect, an embodiment of the present application provides a terminal device, where the electronic device includes: processor, memory, sensor and display screen. Wherein the memory is to store computer executable program code, the program code comprising instructions; when executed by a processor, the instructions cause the electronic device to perform the method as provided by the first aspect. The sensor is an ambient light sensor and is used for collecting ambient light data in the environment where the terminal equipment is located. And the display screen is used for displaying the corresponding brightness based on the control of the processor.
In one possible implementation, the processor may be a backlight control IC chip.
In a fourth aspect, embodiments of the present application provide a terminal device, which includes a unit, a module, or a circuit for performing the method provided in the above possible design of the first aspect. The terminal device may be a module applied to the terminal device or the server, and may be a chip applied to the terminal device or the server, for example.
In a fifth aspect, an embodiment of the present application provides a chip, where a computer program is stored on the chip, and when the computer program is executed by the chip, the method as provided in the first aspect is implemented.
In a sixth aspect, embodiments of the present application provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the method of the first aspect.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where instructions are stored, and when the instructions are executed on a computer, the instructions cause the computer to perform the method in the first aspect.
It should be understood that the second to seventh aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the advantageous effects obtained by the aspects and the corresponding possible implementations are similar and will not be described again.
Drawings
Fig. 1 is a schematic screen view of a terminal device in flickering ambient light;
fig. 2 is a block diagram of a terminal device suitable for use in the embodiment of the present application;
fig. 3 is a schematic flowchart of an embodiment of a method for controlling light emission of a display screen according to an embodiment of the present disclosure;
FIG. 4 is a diagram illustrating a variation curve of the illumination intensity of the flickering ambient light provided by the embodiment of the present application;
FIG. 5 is a diagram illustrating a variation curve of illumination intensity of light with opposite phases according to an embodiment of the present application;
FIG. 6A is a diagram illustrating a prior art user viewing a flickering ambient light on a display screen;
FIG. 6B is a schematic diagram of a user viewing a flashing ambient light on a display screen according to an embodiment of the present application;
fig. 7 is a schematic screen diagram of a terminal device in flickering ambient light according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a variation curve of brightness of the obtained light with opposite phases according to the embodiment of the present application;
fig. 9 is a schematic flowchart of another embodiment of a method for controlling light emission of a display screen according to an embodiment of the present application;
fig. 10 is another schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
Fig. 1 is a schematic screen diagram of a conventional terminal device in flickering ambient light. Referring to fig. 1, in fig. 1, a terminal device is taken as a mobile phone, a screen of the mobile phone displays a screen-turning interface, time is displayed on the screen-turning interface, and flickering ambient light is taken as light for example. For example, referring to a in fig. 1, when the light in the environment where the mobile phone is located goes out or becomes dim, the screen of the mobile phone is black, and the user can see the time on the screen interface. Referring to b in fig. 1, when the brightness of the light in the environment where the mobile phone is located becomes bright, when the user looks at the screen, the screen diffusely reflects the light to the eyes of the user, and the user can see the bright light on the screen. Although the brightness of the time displayed on the screen interface of the terminal device is unchanged, the user feels the brightness of the display time on the screen when the light brightness is increased, and compared with the brightness when the light brightness is reduced, the user cannot see the display time on the screen clearly. If the light is always flashing, the user can see the flashing light on the screen, and the time displayed on the screen can be obscured. The screen of the terminal device can be understood as a display screen of the terminal device.
As shown in fig. 1, the content displayed on the screen of the terminal device is not clearly seen by the user because the screen reflects the flickering light, and if the light is incident on the screen, the screen does not diffusely reflect the light, so that the user does not see the flickering light on the screen. If the terminal equipment can control the display screen to emit light in a phase opposite to the flashing light, when the flashing light reaches the screen of the terminal equipment, the light in the phase opposite to the flashing light emitted by the display screen and the flashing light can be mutually offset. Therefore, the terminal equipment cannot diffusely reflect flickering light, and the user cannot see the flickering light on the screen of the terminal equipment, so that the user can clearly see the content displayed on the screen.
According to the technical concept, the embodiment of the application provides a control method for light emission of a display screen, wherein terminal equipment controls the screen to emit light in a phase opposite to that of flickering ambient light according to the flickering ambient light so as to counteract the flickering ambient light, so that a user cannot see flickering light on the screen, contents displayed on the screen can be seen clearly, and user experience is improved.
In one embodiment, the flickering ambient light may include, but is not limited to: flashing light in a bar (or other places), flashing light after the light is broken, flashing traffic lights and the like. It should be understood that the display screen in the following embodiments is a screen of a terminal device.
It should be understood that the terminal device in the embodiments of the present application may be referred to as a User Equipment (UE), a terminal (terminal), etc., for example, the terminal device may be a mobile terminal or a fixed terminal having a touch screen, such as a tablet computer (PAD), a Personal Digital Assistant (PDA), a handheld device having a wireless communication function, a computing device, a vehicle-mounted device, or a wearable device, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and the like. The form of the terminal device is not particularly limited in the embodiment of the present application.
Before describing the control method for display screen lighting provided by the embodiment of the present application, first, a structure of a terminal device is described. The software system of the terminal device may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the application, a software system with a layered architecture is taken as an Android system as an example, and the structure of the terminal device is exemplarily described. Fig. 2 is a block diagram of a structure of a terminal device to which the embodiment of the present application is applied.
The layered architecture can divide the software system of the terminal device into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system may be divided into four layers, an application layer (applications), an application framework layer (application framework), an Android runtime (Android runtime), and a system library, and a kernel layer (kernel). It should be understood that the application layer, the application framework layer, and the kernel layer (kernel) are shown in fig. 2 to which embodiments of the present application relate.
The application layer may include a series of application packages, and the application layer may run the application by calling an Application Programming Interface (API) provided by the application framework layer. The application package may include: camera, gallery, calendar, talk, map, navigation, WLAN, bluetooth, music, video, short message, etc. As shown in fig. 2, in the embodiment of the present application, "application" is used to characterize an application package included in the application layer. In the embodiment of the present application, the "application program" shown in fig. 2 may be used as an application program for controlling display content of a display screen of a terminal device in an Android system.
The application framework layer provides an API and programming framework for the applications of the application layer. The application framework layer includes a number of predefined functions. The application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc. The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures. The telephone manager is used for providing a communication function of the terminal equipment. Such as management of call status (including on, off, etc.). The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like. The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to notify download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the terminal device vibrates, and an indicator light flashes.
It should be understood that the backlight control module to which embodiments of the present application relate is shown in the application framework layer in fig. 2. The backlight control module is used for sending a brightness value to a backlight control IC chip (integrated circuit chip) in the hardware layer so as to control the backlight control IC chip to adjust the brightness of the display screen. It should be understood that the brightness of the display screen described in the embodiments of the present application is the backlight brightness of the display screen, and the process may be as shown in steps (1A) and (1B) in fig. 2.
In an embodiment, the backlight control module is further configured to control the backlight control IC chip in the hardware layer to adjust the brightness of the display screen according to data collected by the ambient light sensor in the hardware layer, which may be shown in steps (1C), (1A), and (1B) in fig. 2, and this is not described in detail in this embodiment of the present application. For example, if the backlight control module determines that the brightness of the ambient light is a according to the data collected by the ambient light sensor, the backlight control IC chip may be controlled to adjust the brightness of the display screen to be greater than a, so that the user can view the content displayed on the screen. In one embodiment, the backlight control IC chip may be replaced with a display control IC chip, and the backlight control IC chip is illustrated in fig. 2 and in the following embodiments.
The kernel layer is a layer between hardware and software. The kernel layer is used for driving hardware so that the hardware works. The kernel layer at least comprises a display driver, a camera driver, an audio driver, a motor driver and the like, and the embodiment of the application does not limit the display driver, the camera driver, the audio driver, the motor driver and the like. It should be understood that the display driver in fig. 2 is configured to drive the display screen to display a content to be displayed according to the content to be displayed issued by the application program, and the process may be as shown in steps (2A) and (2B) in fig. 2, which is not described in detail in this embodiment of the present application.
As above is the software structure of the terminal device, the terminal device may further include a hardware layer. The hardware layer can include: the device comprises hardware equipment such as a touch panel, a display screen, a camera, a player, a sensor, a motor and the like. Sensors may include, but are not limited to: pressure sensors, acceleration sensors, ambient light sensors, fingerprint sensors, temperature sensors, touch sensors, etc. Fig. 2 shows a display screen and an ambient light sensor according to an embodiment of the present application in hardware layers.
The display screen is used for displaying content, such as characters, images, videos and the like. And the ambient light sensor is used for sensing the ambient light brightness. The backlight control module may adaptively adjust the brightness of the display screen according to the ambient light brightness sensed by the ambient light sensor (as described above in relation to the above). The ambient light sensor can also be used for automatically adjusting white balance during photographing.
In an embodiment, some types of terminal devices, which may include a camera, and may also be used for sensing the ambient light brightness, have no ambient light sensor, and in such an embodiment, the "ambient light sensor" described below may be replaced by a camera. In the following embodiments, the terminal device includes an ambient light sensor as an example.
In one embodiment, the hardware layer may include a backlight control IC chip. In the embodiment of the present application, the backlight control IC chip is configured to generate information of light in an opposite phase to the flickering ambient light according to data collected by the ambient light sensor, and control the display screen to emit light in an opposite phase according to the information of the light in the opposite phase to cancel the flickering ambient light in the environment, where the process may be as shown in steps (3A) and (3B) in fig. 2, and may specifically refer to the description in fig. 3.
According to the structure of the terminal device shown in fig. 2, the following describes a method for controlling the light emission of the display screen according to the embodiment of the present application with reference to a specific embodiment. The following embodiments may be combined with each other and may not be described in detail in some embodiments for the same or similar concepts or processes.
Fig. 3 is a schematic flowchart of an embodiment of a method for controlling light emission of a display screen according to an embodiment of the present disclosure. Referring to fig. 3, a method for controlling light emission of a display screen provided in an embodiment of the present application may include:
s301, the ambient light sensor collects ambient light data.
And the ambient light sensor is used for acquiring an optical signal in the environment where the terminal equipment is located and then converting the optical signal into an analog electrical signal. In one embodiment, the ambient light sensor may have integrated therein the functionality of an analog to digital converter (ADC) or integrated therein. And the ambient light sensor is also used for converting the analog electric signal into a digital electric signal.
In one embodiment, the light signal in the environment may be an illumination intensity that characterizes the energy of light received per unit area. The electrical signal may be a voltage value or a current value regardless of whether the ambient light sensor obtains a digital electrical signal or an analog electrical signal, and the voltage value will be described as an example below. It should be understood that the voltage value and the illumination intensity have a first mapping relationship, that is, the illumination intensity collected by the ambient light sensor in the environment can be converted into the voltage value according to the first mapping relationship.
It should be understood that the ambient light sensor may continuously collect the signal of the ambient light, and thus the ambient light data acquired by the ambient light sensor includes: a sequence of electrical signals. In one embodiment, the sequence of electrical signals may be characterized by a sequence of numbers, such as a sequence of voltage values.
And S302, the backlight control IC chip acquires the ambient light data.
The backlight control IC chip may read the ambient light data from the ambient light sensor in real time, or the ambient light sensor may send the ambient light data to the backlight control IC chip in real time. In this way, the backlight control IC chip can acquire ambient light data, i.e., a digital sequence.
It should be noted that for the example that the electrical signal obtained by the ambient light sensor is an analog electrical signal, after the backlight control IC chip acquires the analog electrical signal, the analog electrical signal may be analog-to-digital converted into a digital electrical signal.
And S303, the backlight control IC chip obtains the brightness information of the ambient light according to the ambient light data.
According to the above description, the backlight control IC chip may obtain the ambient light data (e.g., the voltage value sequence), because the voltage value has the first mapping relationship with the illumination intensity value, and the backlight control IC chip may convert the voltage value into the illumination intensity value according to the first mapping relationship, so that the backlight control IC chip may obtain the illumination intensity value sequence. Because the illumination intensity value and the illumination brightness value have the second mapping relationship, the backlight control IC chip can convert the illumination intensity value into the illumination brightness value according to the second mapping relationship. That is, the backlight control IC chip may obtain luminance information of the ambient light, which includes a sequence of luminance values, from the ambient light data. The brightness information of the ambient light may further include a first time sequence, where the first time sequence includes: and the first time corresponding to each brightness value in the brightness value sequence is the acquisition time of each brightness value. In one embodiment, the sequence of luminance values of the ambient light may be referred to as a first sequence of luminance values, and each luminance value in the first sequence of luminance values may be referred to as a first luminance value.
Wherein the second mapping relationship may be characterized by the following formula one:
r × E formula one
Wherein, L is an illumination brightness value, E is an illumination intensity value, R is a reflection coefficient, and the reflection coefficient is related to the material of the ambient light sensor itself, which is not described in detail in the embodiments of the present application.
In an embodiment, the voltage value and the brightness value have a third mapping relationship, and the backlight control IC chip may convert the voltage value into the brightness value according to the third mapping relationship, so that the backlight control IC chip may obtain the brightness information of the ambient light based on the ambient light data.
It should be understood that the reason why the backlight control IC chip converts the illumination intensity value into the illumination luminance value is that: the backlight control IC chip can control the brightness of the display screen, and then the display screen emits light in a phase opposite to that of the ambient light by controlling the brightness of the display screen, so that the aim of counteracting flickering ambient light is fulfilled. In the embodiment of the application, the backlight control IC chip converts the illumination intensity value into the illumination brightness value, so that the brightness of the display screen can be controlled according to the illumination brightness of the ambient light.
And S304, the backlight control IC chip generates information of light with an opposite phase if the ambient light is determined to be the ambient light which flickers periodically according to the brightness information of the ambient light.
In an embodiment, the backlight control IC chip may determine that the ambient light is the ambient light that flickers periodically if the luminance value of the ambient light is detected to change periodically according to the luminance information of the ambient light, such as the luminance value sequence and the first time sequence. In one embodiment, the ambient light is periodically flashing ambient light, which can be understood as: the brightness value of the ambient light changes periodically.
The following description will be made by converting a luminance value sequence into a luminance variation curve. For example, fig. 4 is a schematic diagram of a variation curve of the brightness of the flickering ambient light provided by the embodiment of the present application. The change curve of the brightness of the ambient light is obtained according to the sequence of the brightness values of the ambient light and the first time sequence, and fig. 4 illustrates an example in which the environment in which the terminal device is located includes flickering ambient light.
It should be understood that the flickering ambient light in fig. 4 is the effect of the superposition of "non-flickering light, such as natural light" and "flickering light, such as lamplight", i.e. the luminance curve c of the ambient light shown in fig. 4 is the result of the superposition of the luminance curve a of "natural light" and the luminance curve b of "flickering light". Illustratively, referring to FIG. 4, the first time sequence may include times within 0s-10 s. Taking the start time of 0s as an example, within 0-4s, the backlight control IC chip detects two peaks with an amplitude of 2 nits and a duration of 1s, so that at 4s, the backlight control IC chip may detect that the brightness value of the ambient light changes 1 time periodically, and the backlight control IC chip may determine that the ambient light is the ambient light that flickers periodically.
In an embodiment, because the backlight control IC chip obtains the luminance information of the ambient light in real time, in order to ensure the detection accuracy and avoid the amplitude caused by the luminance jitter of the unexpected ambient light, the backlight control IC chip may continue to detect whether the luminance value of the ambient light changes periodically within a first preset time period after detecting that the luminance value of the ambient light changes periodically for 1 time. If the brightness value of the ambient light still changes periodically within the first preset time period, the backlight control IC chip determines that the ambient light is the ambient light which flickers periodically, and if the brightness of the ambient light does not change periodically within the first preset time period, the backlight control IC chip determines that the ambient light is not the ambient light which flickers.
Illustratively, referring to fig. 4, taking the start time as 0s as an example, within 0-4s, the backlight control IC chip detects two peaks with "amplitude of 2 nits and duration of 1 s", so that at the 4s, the backlight control IC chip can detect that the brightness value of the ambient light changes 1 time periodically. In order to ensure the detection accuracy, the backlight control IC chip may continue to detect whether the brightness value of the ambient light changes periodically within the 4 th to 10 th (i.e., within the first preset time period). In fig. 4, the luminance value of the ambient light still changes periodically in the 4 th to 10 th s, and the backlight control IC chip may determine that the ambient light is the ambient light that flickers periodically.
In one embodiment, the backlight control IC chip may obtain the attribute information of the ambient light according to the luminance information of the ambient light, such as the luminance value sequence and the first time sequence. The backlight control IC chip may detect whether the ambient light is periodically flickering ambient light according to the attribute information of the ambient light. In one embodiment, the attribute information of the ambient light may include: the flicker frequency, amplitude and duty cycle of the ambient light. In one embodiment, in the attribute information of the flickering ambient light, the flickering frequency of the ambient light may be referred to as a first flickering frequency, the amplitude may be referred to as a first amplitude, and the duty ratio may be referred to as a first duty ratio.
Referring to fig. 4, in the variation curve of the illumination luminance, the backlight control IC chip may use a difference value between a peak and a valley in the variation curve of the illumination luminance as the amplitude of the ambient light. The backlight control IC chip can calculate the flicker frequency of the ambient light according to the time length between adjacent wave crests. The backlight control IC chip may use a ratio of "a time length occupied by a peak" to "a preset time length" within a preset time length as a duty ratio, for example, the preset time length is 10 s. Illustratively, referring to the luminance curve of ambient light shown in FIG. 4, the amplitude of the ambient light is 2 nits, the flicker frequency is 0.5Hz, and the duty cycle is 0.5.
In an embodiment, if the backlight control IC chip detects that the first flicker frequency, the first amplitude and the first duty ratio of the ambient light remain unchanged within the first preset time period, it may determine that the ambient light is flicker ambient light.
In the embodiment of the present application, the backlight control IC chip may generate information of light in an opposite phase in response to that the ambient light is ambient light that periodically flickers. Wherein the information of the light in the opposite phase may include: a sequence of brightness values and a sequence of time instants of the light in opposite phases. It should be understood that the light in the opposite phase is the backlight to be emitted by the display screen, that is, the backlight control IC chip may control the display screen to emit the light in the opposite phase adapted to the flickering ambient light according to the attribute information of the flickering ambient light detected in the history, so as to cancel the flickering ambient light. In one embodiment, the sequence of brightness values of the light in the opposite phase may be referred to as a second sequence of brightness values and the sequence of time instants may be referred to as a second sequence of time instants.
In the information of the light in the opposite phase, the flicker frequency and the duty ratio of the light in the opposite phase are respectively the same as those in the attribute information of the flickering ambient light. Illustratively, the flicker frequency of the flickering ambient light is 0.5Hz and the duty cycle is 0.4, and the flicker frequency of the light in the opposite phase is 0.5Hz and the duty cycle is 0.4. The amplitude of the light in the opposite phase is in the opposite phase to the amplitude in the attribute information in the flickering ambient light, and if the amplitude of the flickering ambient light is 2 nits, the amplitude of the light in the opposite phase may be-2 nits. In one embodiment, the blinking frequency of the light in the opposite phase may be referred to as a second blinking frequency, the amplitude may be referred to as a second amplitude, and the duty cycle may be referred to as a second duty cycle. Thus, the first flicker frequency is equal to the first flicker frequency, the second duty cycle is equal to the first duty cycle, and the second amplitude is opposite to the first amplitude.
Referring to steps (1A) and (1B) in fig. 2, the backlight control IC chip may adjust the brightness of the display screen according to the control of the backlight control module. In an embodiment, the luminance value from the backlight control module may be referred to as a preset luminance value. Therefore, the backlight control IC chip can obtain the brightness of the light in the opposite phase at each time based on the brightness value from the backlight control module, the amplitude of the light in the opposite phase, and the flicker frequency and duty ratio of the light in the opposite phase.
The backlight control IC chip may sum the preset luminance value and the amplitude of the light in the opposite phase according to the second flicker frequency and the second duty ratio to obtain a second time sequence and a second luminance sequence. For example, referring to fig. 4, the backlight control IC chip may obtain peaks from 1s to 2s according to the first flicker frequency and the first duty ratio, and the peaks appear every 1 s. Since the second flicker frequency of the light in the opposite phase is equal to the first flicker frequency and the second duty ratio is equal to the first duty ratio, the backlight control IC chip may determine that the peak of the light in the opposite phase also appears once every 1s, and referring to fig. 4, when the backlight control IC chip determines that the flickering ambient light is a peak in 9s to 10s, it may determine that the peak of the light in the opposite phase is in 11s to 12s, 13s to 14s, and 15s to 16 s. In one embodiment, the second time series may include the time at which the peak of the anti-phase light appears and the end time, such as "11 s (time of occurrence), 12s (time of end), 13s (time of occurrence), 14s (time of end), 15s (time of occurrence), 16s (time of end), 17s (time of occurrence)", and/or the second time series may include the time at which the valley of the anti-phase light appears and the end time, such as "10 s (time of occurrence), 11s (time of end), 12s (time of occurrence), 13s (time of end), 14s (time of occurrence), 15s (time of end), 16s (time of occurrence)".
Referring to fig. 5, when the luminance value from the backlight control module is 100 nits, the luminance of the light in the opposite phase is 100 nits in 10 th to 11 th s (no peak), the luminance of the light in the opposite phase is the sum of the preset luminance value and the second amplitude in 11 th to 12 th s, and 98 nits is obtained as (100-2), the luminance of the light in the opposite phase is 100 nits (no peak) in 12 th to 13 th s, and the luminance of the light in the opposite phase is 98 nits … … in 13 th to 14 th s, and so on, the second luminance value sequence of the light in the opposite phase shown in fig. 5 can be obtained.
The backlight control IC chip may map the second time sequence and the second luminance value sequence to obtain information of the light of the opposite phase. The backlight control IC chip may map the time (e.g., 11 th to 12 th) at which the peak in the second time sequence continues and the luminance value (e.g., 98 nits) of the peak in the second luminance value sequence, map the time (e.g., 10 th to 11 th) at which the valley continues and the luminance value (e.g., 100 nits) of the valley in the second luminance value sequence, and so on, and obtain the information of the light in the opposite phase … ….
In an embodiment, the second time sequence may be any time within 10s to 17s (except for the time when the peak and the trough appear, the ending time, the time when the peak continues, and the time when the trough continues may also be included), and the backlight control IC chip may map each second time with the corresponding second luminance value according to the second flicker frequency and the second duty ratio to obtain the information of the light with the opposite phase, which may be referred to as described above in relation.
S305, the backlight control IC chip controls the brightness of the display screen according to the information of the light of the opposite phase.
Referring to fig. 6A, when there is flickering ambient light in the environment where the terminal device is located, the luminance curve of the flickering ambient light is shown as a in fig. 6A, and the luminance curve of the backlight displayed by the display screen is shown as b in fig. 6A, then the ambient light perceived by the user as the display screen in the prior art may be shown as c in fig. 6A, that is, the flickering ambient light may be seen by the user on the display screen.
In the embodiment of the application, the backlight control IC chip can control the brightness of the display screen according to the information of the light with the opposite phase, so that the display screen generates the light with the opposite phase. Thus, referring to fig. 6B, the light with the opposite phase (as shown in B in fig. 6B) displayed on the display screen and the flickering ambient light (as shown in a in fig. 6B) in the environment can be cancelled out, the ambient light perceived by the user as the display screen can be seen as shown in c in fig. 6B, and the user cannot see the flickering ambient light on the display screen of the terminal device, that is, the user does not perceive the flickering ambient light, so that the user can clearly see the content displayed on the display screen. In other words, the sum of the brightness of the light in the opposite phase displayed on the display screen and the brightness of the ambient light flickering in the environment at different times may be understood as: at each second time, the sum of the brightness of the light with the opposite phase displayed by the display screen and the brightness of the flickering ambient light in the environment is equal.
Referring to a and b in fig. 7, because the light in the opposite phase displayed on the display screen and the flickering ambient light in the environment where the terminal device is located can be cancelled out, the brightness of the time displayed on the display screen seen by the user is the same whether the flickering ambient light is dark or bright, and the user can clearly see the time displayed on the display screen without seeing the flickering ambient light on the display screen.
In this embodiment, the backlight control IC chip may obtain the brightness value sequence of the light with the opposite phase according to the information of the light with the opposite phase, and further convert the brightness value sequence of the light with the opposite phase into the voltage value sequence according to the brightness value sequence of the light with the opposite phase, the second mapping relationship, and the first mapping relationship (or the third mapping relationship). The backlight control IC chip can control the brightness of the display screen according to the voltage value sequence.
In one embodiment, the display screen in the terminal device may include, but is not limited to: a Liquid Crystal Display (LCD) Light Emitting Diode (LED) display, an Organic Light Emitting Diode (OLED) display, a quantum dot light emitting diode (QLED), and different types of displays, the backlight control IC chip controls the luminance of the display differently, and the principle that the backlight control IC chip controls the luminance of the display is explained below by taking the display as the LCD display and the LED display as an example.
One is as follows: the display screen is an LCD display screen.
When the display screen is an LCD display screen, the LCD display screen cannot emit light, so the terminal device further includes a backlight board, and the backlight board may also be called an inverter board, or the like. The backlight plate is used for adjusting the brightness of a backlight of the display screen, the backlight is used for providing backlight for the display screen, therefore, the brightness of the backlight is the backlight brightness of the display screen, and the adjustment of the brightness of the backlight by the backlight plate is the adjustment of the brightness of the display screen.
When the backlight control IC chip obtains the voltage value sequence of the light in the opposite phase, the backlight control IC chip may transmit the voltage value sequence to the backlight panel, and the backlight panel adjusts the luminance of the backlight according to the voltage value sequence, as shown in steps (3B1) and (3B2) in fig. 3. It should be understood that step (3B) may be replaced with steps (3B1) and (3B2) in fig. 3.
Currently, the backlight plate adjusts the brightness of the backlight according to the voltage value sequence by the following methods: pulse width modulation (PMW) and voltage regulation. The following describes the process of adjusting the brightness of the backlight by using "voltage adjustment" as an example, and the pulse width modulation can refer to the description in the related art:
it will be appreciated that the sequence of luminance values and the sequence of voltage values of the light in anti-phase correspondingly carries the sequence of second instants of time, since the information of the light in anti-phase comprises the sequence of second instants of time. The backlight panel may output corresponding voltage values at corresponding second timings in a second timing sequence in response to the voltage value sequence from the backlight control IC chip to control the brightness of the backlight. It is conceivable that the luminance of the backlight is positively correlated with the voltage value, i.e., the larger the voltage value, the larger the luminance of the backlight. Therefore, the backlight plate can adjust the brightness of the backlight lamp by inputting the voltage value to the backlight lamp.
And the second step is as follows: the display screen is an LED display screen.
The LED display screen comprises the light emitting diodes which can emit light, so that a backlight plate is not required to be arranged in the terminal equipment. In this embodiment, the backlight control IC chip may output corresponding voltage values to the light emitting diodes in the LED display screen at corresponding times according to the second time sequence to control the light emitting diodes to emit light so as to control the brightness of the display screen.
In one embodiment, the above S304-S305 may be replaced by: and if the backlight control IC chip determines that the ambient light is the periodically flickering ambient light according to the brightness information of the ambient light, the backlight control IC chip controls the display screen to emit light with an opposite phase, and the light with the opposite phase and the ambient light are in an opposite phase.
Based on the above description of the embodiments, the backlight control IC chip may obtain the variation curve of the brightness of the ambient light based on the brightness information of the ambient light (such as the first brightness value sequence and the first time sequence), as shown in a in fig. 8, and it should be understood that a in fig. 8 is the same as fig. 4. The backlight control IC chip may obtain a luminance variation curve in an opposite phase to the luminance variation curve of the ambient light based on the luminance variation curve of the ambient light, and obtain a luminance variation curve in an opposite phase to the luminance variation curve of the ambient light, for example, by rotating the luminance variation curve of the ambient light by 180 ° along 100 nits, as shown by b in fig. 8.
The "luminance variation curve in the opposite phase to the luminance variation curve of the ambient light" is referred to as a first variation curve, and the backlight control IC chip may obtain the attribute information of the ambient light, such as the first flicker frequency, the first amplitude, and the first duty ratio, based on the first variation curve, and refer to the description in the above embodiments. The backlight control IC chip may continue to draw a variation curve of the luminance corresponding to the second time series, such as a second variation curve, based on the attribute information of the ambient light and the first time series, the second variation curve being a variation curve of the luminance of the light in the opposite phase, as shown in c in fig. 8, and it should be understood that the second variation curve in c in fig. 8 is the same as fig. 5.
Therefore, the backlight control IC chip can obtain the information of the light with the opposite phase based on the second variation curve, and further control the brightness of the display screen based on the information of the light with the opposite phase, so that the display screen emits the light with the opposite phase. Wherein, the information of the light with opposite phase can refer to the relevant description in the above embodiment.
In this manner, in this embodiment, the backlight control IC chip can obtain the variation curve of the luminance of the light in the opposite phase by drawing it based on the variation curve of the luminance of the flickering ambient light and the attribute information of the ambient light, and further obtain the information of the light in the opposite phase based on the variation curve of the luminance of the light in the opposite phase. The backlight control IC chip may control the luminance of the display screen based on the information of the light in the opposite phase so that the display screen generates light in the opposite phase to the flickering ambient light, and the light in the opposite phase may cancel the flickering ambient light so that the flickering ambient light is not visible to the user on the display screen of the terminal device.
In an embodiment, corresponding to the above S304, the method for controlling light emission of a display screen provided in the embodiment of the present application may further include S306: and the backlight control IC chip controls the brightness of the display screen according to the brightness value from the backlight control module if the ambient light is determined not to be flickering ambient light according to the attribute information of the ambient light.
When the terminal device is in an environment without flickering ambient light, that is, the backlight control IC chip determines that the ambient light is not the flickering ambient light according to the luminance information of the ambient light, the backlight control IC chip may control the luminance of the display screen according to the luminance value from the backlight control module, so that the luminance of the display screen is greater than the luminance of the ambient light, and the user may see the content displayed on the display screen. It should be understood that the luminance value from the backlight control module is greater than the luminance value of the ambient light, and how the backlight control module obtains the luminance value of the display screen according to the luminance value of the ambient light is not described in detail in this embodiment of the application. The backlight control IC chip may obtain a voltage value according to the brightness value of the backlight control module, the first mapping relationship, and the second mapping relationship (or the third mapping relationship), and then control the brightness of the display screen according to the voltage value, which may refer to the related description in the above embodiment.
It should be understood that "S304-S305" and S306 are alternatively performed steps, which may not be performed simultaneously.
In the embodiment of the application, the control IC chip in a poor light can be according to the ambient light data that ambient light sensor gathered, whether detect ambient light be the environment light of scintillation, if the environment light is the environment light of scintillation, the control IC chip in a poor light can be according to the attribute information of the environment light of scintillation, the luminance of control display screen, make the display screen produce with the light of the environment light antiphase of scintillation, the light of this antiphase can offset the environment light of scintillation, make the user can not see the environment light of scintillation on terminal equipment's display screen, the user also can see the content that shows on the display screen clearly, improve user experience.
In one embodiment, the terminal device may include: the ambient light sensor and the backlight control IC chip, so that the terminal device may execute the control method for the light emission of the display screen in the foregoing embodiment, with reference to fig. 9, the control method for the light emission of the display screen provided in the embodiment of the present application may include:
s901, acquiring the ambient light data in the environment where the terminal device is located.
The terminal device may obtain ambient light data in an environment where the terminal device is located through an ambient light sensor or a camera, and refer to the related description in fig. 3.
And S902, according to the environment light data, if the environment light in the environment is determined to periodically flicker, controlling a display screen of the terminal device to emit light with an opposite phase, wherein the light with the opposite phase and the environment light are in an opposite phase.
S902 may refer to the related descriptions in S303 to S305, which are not described herein.
It should be understood that the implementation manner and technical effect of the embodiment of the present application are the same as those in the embodiment shown in fig. 3, and reference may be made to the related description of fig. 3.
Fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 10, the terminal device may include: a processor 1001, a memory 1002, a sensor 1003 and a display screen 1004; the memory 1002 may include a random-access memory (RAM) and a non-volatile memory (NVM), such as at least one disk memory, and the memory 1002 may store various instructions for performing various processing functions and implementing the method steps of the present application. The sensor 1003 may be coupled to the processor 1001, and the processor 1001 may acquire data collected by the sensor 1003 to perform corresponding actions. The processor 1001 may be the backlight control IC chip in the above embodiment, the sensor 1003 may include an ambient light sensor as above, the display screen 1004 is used to display the content, and the corresponding brightness is displayed based on the control of the processor 1001.
Optionally, the terminal device related to the present application may further include: power supply 1005, communication bus 1006, and communication port 1007. The communication bus 1006 is used to implement communication connections between the elements. The communication port 1007 is used for implementing connection communication between the terminal device and other peripherals. In an embodiment of the present application, the memory 1002 is used for storing computer executable program codes, and the program codes comprise instructions. It should be understood that the terminal device in the embodiment of the present application may include more components than those shown in fig. 10, and fig. 10 does not limit the structure of the terminal device in the embodiment of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The term "plurality" herein refers to two or more. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship; in the formula, the character "/" indicates that the preceding and succeeding related objects are in a relationship of "division".
It is to be understood that the various numerical references referred to in the embodiments of the present application are merely for convenience of description and distinction and are not intended to limit the scope of the embodiments of the present application. It should be understood that, in the embodiment of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A control method for light emission of a display screen is characterized by comprising the following steps:
acquiring ambient light data in an environment where terminal equipment is located;
acquiring brightness information of the ambient light according to the ambient light data;
detecting whether the ambient light flickers periodically or not according to the brightness information;
if the environment light in the environment is determined to be in periodic flicker, controlling a display screen of the terminal device to emit light in an opposite phase, wherein the light in the opposite phase and the environment light are in an opposite phase;
the luminance information includes: a sequence of luminance values and a first sequence of instants of time, the first sequence of instants of time comprising: a first time corresponding to each brightness value in the brightness value sequence; the detecting whether the ambient light flickers periodically according to the brightness information includes:
and according to the brightness value sequence and the first time sequence, if the brightness value of the environment light is detected to be changed periodically, determining that the environment light flickers periodically.
2. The method of claim 1, wherein the ambient light data comprises: the voltage value sequence, the voltage value and the brightness value have a mapping relation, and the obtaining the brightness information of the ambient light according to the ambient light data includes:
and converting the voltage value sequence into the brightness value sequence according to the mapping relation.
3. The method according to claim 1, wherein the determining that the ambient light flickers periodically if the brightness value of the ambient light is detected to change periodically according to the brightness value sequence and the first time sequence comprises:
and according to the brightness value sequence and the first time sequence, if the brightness value of the environment light is detected to be periodically changed within a first preset time period, determining that the environment light is periodically flickered.
4. The method according to claim 1 or 3, wherein the controlling the display screen of the terminal device to emit light with opposite phases comprises:
obtaining attribute information of the ambient light according to the brightness value sequence and the first time sequence, where the attribute information of the ambient light includes: a first flicker frequency, a first amplitude, and a first duty cycle of the ambient light;
obtaining information of the light in the opposite phase according to the attribute information, wherein the information of the light in the opposite phase comprises: a second brightness value sequence and a second time corresponding to each second brightness value in the second brightness value sequence;
and controlling the brightness of the display screen according to the information of the light with the opposite phase so as to enable the display screen to emit the light with the opposite phase.
5. The method of claim 4, wherein obtaining the information of the light in the opposite phase according to the attribute information comprises:
setting the first flicker frequency as a second flicker frequency of the light of the opposite phase, the first duty cycle as a second duty cycle of the light of the opposite phase, and an inverse number of the first amplitude as a second amplitude of the light of the opposite phase;
according to the second flicker frequency and the second duty ratio, a preset brightness value and the second amplitude are added to obtain a second brightness value sequence;
acquiring a second time sequence according to the second flicker frequency, the second duty ratio and the first time sequence;
and mapping the second time sequence and the second brightness value sequence to obtain the information of the light with the opposite phase.
6. The method according to any one of claims 1-3, 5, further comprising:
and controlling the brightness of the display screen according to the brightness value of the ambient light represented by the ambient light data if the ambient light is determined not to periodically flicker according to the ambient light data, so that the brightness of the display screen is greater than the brightness of the ambient light.
7. A control apparatus for controlling light emission of a display screen, comprising:
the environment light data acquisition module is used for acquiring environment light data in the environment where the terminal equipment is located;
the backlight control IC chip is used for emitting light with an opposite phase if the ambient light in the environment is determined to periodically flicker according to the ambient light data, and the light with the opposite phase and the ambient light are in an opposite phase;
the backlight control IC chip is also used for acquiring the brightness information of the ambient light according to the ambient light data; detecting whether the ambient light flickers periodically or not according to the brightness information;
the luminance information includes: a sequence of luminance values and a first sequence of instants of time, the first sequence of instants of time comprising: a first time corresponding to each brightness value in the brightness value sequence; the backlight control IC chip is specifically configured to determine that the ambient light flickers periodically if it is detected that the luminance value of the ambient light changes periodically according to the luminance value sequence and the first time sequence.
8. A terminal device, comprising: a processor and a memory;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory, causing the processor to perform the method of any of claims 1-6.
9. A computer-readable storage medium, in which a computer program or instructions are stored which, when executed, implement the method of any one of claims 1-6.
10. A computer program product comprising a computer program or instructions, characterized in that the computer program or instructions, when executed by a processor, implement the method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110838408.6A CN113724657B (en) | 2021-07-23 | 2021-07-23 | Control method and device for display screen luminescence, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110838408.6A CN113724657B (en) | 2021-07-23 | 2021-07-23 | Control method and device for display screen luminescence, electronic equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113724657A CN113724657A (en) | 2021-11-30 |
CN113724657B true CN113724657B (en) | 2022-08-23 |
Family
ID=78673881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110838408.6A Active CN113724657B (en) | 2021-07-23 | 2021-07-23 | Control method and device for display screen luminescence, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113724657B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005114913A (en) * | 2003-10-06 | 2005-04-28 | Seiko Epson Corp | Screen and projector system |
CN104282256A (en) * | 2014-10-17 | 2015-01-14 | 惠州Tcl移动通信有限公司 | Method and system for regulating refreshing frequency of display screen according to light frequency of lamplight source |
CN104394278A (en) * | 2014-11-28 | 2015-03-04 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal for regulating screen brightness |
CN105450869A (en) * | 2015-12-02 | 2016-03-30 | 广东小天才科技有限公司 | Harmful light prompting method and device |
WO2018126929A1 (en) * | 2017-01-03 | 2018-07-12 | 中兴通讯股份有限公司 | Method and apparatus for calibrating ambient light sensor |
CN112509527A (en) * | 2020-12-09 | 2021-03-16 | 上海欧菲智能车联科技有限公司 | Backlight adjusting method and device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200620181A (en) * | 2004-12-01 | 2006-06-16 | Chi Lin Technology Co Ltd | Brightness control device and method of intelligent display panel |
JP4305533B2 (en) * | 2007-03-12 | 2009-07-29 | エプソンイメージングデバイス株式会社 | Display device |
US20110186714A1 (en) * | 2010-01-29 | 2011-08-04 | Chip Goal Electronics Corporation, R.O.C. | Adaptive De-Flicker Device and Method For Adaptive De-Flicker |
TWI450574B (en) * | 2011-03-22 | 2014-08-21 | Acer Inc | Display system and method thereof |
US9520097B2 (en) * | 2011-11-07 | 2016-12-13 | Sharp Kabushiki Kaisha | Display device with compensating backlight drive circuit and method for driving same |
KR102047059B1 (en) * | 2012-12-26 | 2019-11-20 | 삼성전자주식회사 | Display method and apparatus |
JP6370134B2 (en) * | 2014-07-02 | 2018-08-08 | キヤノン株式会社 | Imaging device, control method thereof, and control program |
-
2021
- 2021-07-23 CN CN202110838408.6A patent/CN113724657B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005114913A (en) * | 2003-10-06 | 2005-04-28 | Seiko Epson Corp | Screen and projector system |
CN104282256A (en) * | 2014-10-17 | 2015-01-14 | 惠州Tcl移动通信有限公司 | Method and system for regulating refreshing frequency of display screen according to light frequency of lamplight source |
CN104394278A (en) * | 2014-11-28 | 2015-03-04 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal for regulating screen brightness |
CN105450869A (en) * | 2015-12-02 | 2016-03-30 | 广东小天才科技有限公司 | Harmful light prompting method and device |
WO2018126929A1 (en) * | 2017-01-03 | 2018-07-12 | 中兴通讯股份有限公司 | Method and apparatus for calibrating ambient light sensor |
CN112509527A (en) * | 2020-12-09 | 2021-03-16 | 上海欧菲智能车联科技有限公司 | Backlight adjusting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN113724657A (en) | 2021-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111486950B (en) | Ambient light detection method, ambient light detection device, electronic apparatus, and storage medium | |
AU2013201390B2 (en) | Progress bar | |
JP2011013294A (en) | Information processing apparatus and luminance control method | |
CN117129085B (en) | Ambient light detection method, electronic device and readable storage medium | |
EP4024838A1 (en) | Display method for side region of screen, and electronic apparatus | |
CN111541811A (en) | Method for eliminating unread message corner mark and electronic equipment | |
CN105741766B (en) | A kind of display control method based on optical sensor, device and intelligent terminal | |
CN113724657B (en) | Control method and device for display screen luminescence, electronic equipment and readable storage medium | |
CN111770369A (en) | Remote control method, device, storage medium and terminal | |
CN116775200B (en) | AOD display method and electronic equipment | |
CN117111803A (en) | Background image display method and electronic equipment | |
CN114489410B (en) | Light spot display method, electronic device and computer readable storage medium | |
CN115033199A (en) | Mobile terminal and image display method thereof | |
CN112004006A (en) | Mobile medical terminal and brightness adjusting method thereof | |
CN113838437A (en) | Method, terminal device and medium for adjusting screen brightness | |
CN113641431A (en) | Method and terminal equipment for enhancing display of two-dimensional code | |
CN117093110B (en) | Background image display method and electronic equipment | |
CN116755748B (en) | Card updating method, electronic device, and computer-readable storage medium | |
CN116704926B (en) | Frame data display method, electronic device and storage medium | |
CN115512673A (en) | Light intensity value adjusting method and device, terminal equipment and medium | |
CN118445782A (en) | Fingerprint unlocking method and related device | |
CN117115276B (en) | Picture processing method, device and storage medium | |
CN115016715B (en) | Screen brightness adjusting method and terminal equipment | |
CN116704927B (en) | Display screen brightness adjustment method, electronic equipment and storage medium | |
CN108848260B (en) | Control method, control device, electronic device, computer storage medium, and apparatus |
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 |