CN109410846B - Screen backlight setting method, electronic device and computer readable storage medium - Google Patents

Screen backlight setting method, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN109410846B
CN109410846B CN201811230251.3A CN201811230251A CN109410846B CN 109410846 B CN109410846 B CN 109410846B CN 201811230251 A CN201811230251 A CN 201811230251A CN 109410846 B CN109410846 B CN 109410846B
Authority
CN
China
Prior art keywords
mask
screen
backlight brightness
frame synchronization
parameter configuration
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
CN201811230251.3A
Other languages
Chinese (zh)
Other versions
CN109410846A (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 CN201811230251.3A priority Critical patent/CN109410846B/en
Publication of CN109410846A publication Critical patent/CN109410846A/en
Application granted granted Critical
Publication of CN109410846B publication Critical patent/CN109410846B/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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the application provides a screen backlight setting method, an electronic device and a computer readable storage medium, and relates to the technical field of communication, wherein the method comprises the following steps: carrying out parameter configuration on the backlight brightness of the screen; after a first preset number of frame synchronization signals arrive, carrying out parameter configuration on a mask of a screen; and synchronizing the backlight brightness and the parameters of the mask which are configured in effect after a second preset number of frame synchronization signals arrive. By waiting for the frame synchronization signal, the backlight brightness and the mask configuration are highly synchronized, thereby avoiding the occurrence of flickering or blacking on the screen.

Description

Screen backlight setting method, electronic device and computer readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a screen backlight setting method, an electronic device, and a computer-readable storage medium.
Background
With the development of electronic terminal technology, the popularity of intelligent electronic terminals such as mobile phones, tablet computers, and portable computers is increasing. Since most of these electronic devices store various kinds of information of users, security issues are more and more emphasized by people, and fingerprint unlocking technology is thus greatly developed. The fingerprint identification technology under the screen, also called the invisible fingerprint technology, is one of the more popular fingerprint unlocking technologies at present, and the fingerprint identification unlocking process is mainly completed through the lower part of the screen glass. The realization of the under-screen fingerprint identification technology requires that a display screen has a local highlight function, the realization of the function mainly depends on the mutual matching of the backlight brightness of the screen and the parameter configuration of an alpha (alpha) mask, but the requirement of the process on the synchronous time sequence is very strict, the configuration parameter of the backlight brightness takes effect firstly, so that the display is bright, and the configuration parameter of the alpha mask takes effect firstly, so that the display is dark. At present, how to achieve high synchronization between highlight and alpha mask configurations is a major problem to be solved in the industry.
Disclosure of Invention
The embodiment of the application provides a screen backlight setting method, an electronic device and a computer readable storage medium, which can be used for enabling the backlight brightness and the mask configuration to achieve high synchronization by waiting for a frame synchronization signal, so that the situation that a screen flashes or flashes black can be avoided.
An embodiment of the present application provides a screen backlight setting method, including: carrying out parameter configuration on the backlight brightness of the screen; after a first preset number of frame synchronization signals arrive, carrying out parameter configuration on the mask of the screen; and after a second preset number of frame synchronization signals arrive, synchronizing the backlight brightness and the parameters of the mask which are configured in an effective mode.
An aspect of an embodiment of the present application further provides an electronic apparatus, where the electronic apparatus includes: the first configuration module is used for carrying out parameter configuration on the backlight brightness of the screen; the second configuration module is used for carrying out parameter configuration on the mask of the screen after a first preset number of frame synchronization signals arrive; and the synchronization module is used for synchronizing the backlight brightness and the parameters of the mask which are configured in an effective mode after a second preset number of frame synchronization signals arrive.
An aspect of an embodiment of the present application further provides an electronic apparatus, including: the device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein when the processor executes the computer program, the screen backlight setting method provided by the embodiment is realized.
An aspect of the embodiments of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for setting the screen backlight provided in the above embodiments is implemented.
In the embodiments, after the parameter configuration is performed on the backlight brightness of the screen, the parameter configuration is performed on the mask of the screen after the first preset number of frame synchronization signals arrive, and then the backlight brightness and the new parameter of the mask which are configured in effect are synchronized after the second preset number of frame synchronization signals arrive, so that the synchronization timing sequence of the backlight brightness and the mask is strictly ensured, the situation that the backlight brightness and the synchronization timing sequence of the mask are disturbed due to the frame synchronization signals generated between the backlight brightness and the configuration process of the mask can be avoided, the high synchronization of the backlight brightness and the mask configuration is realized, and the situation that the screen flashes or flashes when entering or exiting the highlight mode is effectively avoided.
Drawings
Fig. 1 is an application environment diagram of a screen backlight setting method according to an embodiment of the present application;
fig. 2 is a schematic view illustrating an implementation flow of a screen backlight setting method according to an embodiment of the present application;
fig. 3 is a schematic view illustrating an implementation flow of a method for setting a screen backlight according to another embodiment of the present application;
fig. 4 is a schematic timing diagram illustrating backlight brightness and mask parameter configuration effective when entering a highlight mode in a screen backlight setting method according to another embodiment of the present application;
fig. 5 is a timing diagram illustrating backlight brightness and mask parameter configuration being effective when exiting a highlight mode in a screen backlight setting method according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to another embodiment of the present application;
fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 9 is a schematic diagram of a hardware structure of an electronic device.
Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Please refer to fig. 1, which is an application environment diagram of a screen backlight setting method according to an embodiment of the present application. As shown in fig. 1, the method may be applied to an electronic device having a display screen and requiring local highlighting of the display screen, such as a mobile electronic device capable of performing data processing on the mobile, such as a mobile phone, a tablet computer, a laptop computer, a smart watch, smart glasses, and a smart camera, or a non-mobile electronic device capable of performing data processing on the mobile, such as a liquid crystal television, a kiosk, and a desktop computer. Fig. 1 is an example of a smart phone, but the practical application may not be limited thereto.
Typically, a scene requiring local highlighting of a display screen is, for example, an off-screen fingerprint unlocking scene as shown in fig. 1, in which a user fingerprint is acquired through the screen for fingerprint recognition and unlocking. It will be appreciated that in practical applications, the scene in which the display screen is locally highlighted may not be limited to this.
Taking fingerprint identification as an example, when a finger of a user touches the surface of the display screen, or the user presses a fingerprint unlocking shortcut key, the user is triggered to enter a highlight mode, and the highlight and light supplement are performed on the display screen through a screen backlight setting method provided in each embodiment described below, so that a fingerprint image can be obtained and the fingerprint unlocking is performed. When the fingerprint unlocking operation is finished, the exit from the high-brightness mode is triggered, and the brightness of the screen and the mask are subjected to parameter configuration again through a screen backlight setting method provided in each embodiment described below so as to adapt to the requirements of a new operating environment.
Please refer to fig. 2, which is a schematic diagram illustrating an implementation flow of a method for setting a screen backlight according to an embodiment of the present application. The method can be applied to electronic devices which are provided with display screens and need to carry out local highlighting processing on the display screens, such as mobile electronic devices which can carry out data processing in moving, such as mobile phones, tablet computers, portable computers, intelligent watches, intelligent glasses, intelligent cameras and the like, or non-mobile electronic devices which can not carry out data processing in moving, such as liquid crystal televisions, all-in-one machines, desktop computers and the like. As shown in fig. 2, the method mainly includes:
201. carrying out parameter configuration on the backlight brightness of the screen;
according to different operation scene changes of the terminal, the backlight brightness of the screen and the configuration parameters of the mask need to be correspondingly adjusted. For example, when the entering into the highlight mode or the exiting from the highlight mode is triggered, the backlight brightness of the screen needs to be re-configured. Under the scene of unlocking fingerprints under the screen, when the fingerprint unlocking device is triggered to enter a highlight mode, the backlight brightness needs to be adjusted to realize highlight and light supplement, and therefore the optical fingerprints are identified. The high brightness refers to high brightness, and entering the high brightness mode makes the brightness of the backlight brighter than that in the normal mode. In the high-brightness mode, the value of the backlight brightness parameter is typically in the range of 460 to 600nit (nit). In contrast, in the non-highlight mode, the backlight brightness typically has a parameter value ranging from 5 to 430 nit.
Due to the influence of hardware performance, a certain time is required for the backlight brightness to take effect (that is, to achieve a highlight display effect) from the parameter configuration to the newly configured parameter, and the newly configured parameter can take effect after the parameter configuration of the mask, so that the parameter configuration of the backlight brightness and the mask is preferably performed at first in order to complete the parameter configuration of the backlight brightness and the mask at the fastest speed.
202. After a first preset number of frame synchronization signals arrive, carrying out parameter configuration on a mask of a screen;
the frame synchronization signal, such as a frame synchronization signal between the lcd controller and the lcd driver, indicates the start of scanning a frame, i.e., a picture displayed by the lcd. The LCD controller generates a frame synchronizing signal immediately after the display of a frame of picture is finished, and starts to display a new frame of picture.
The mask may be, for example, an alpha mask, such as a Dim layer mask. A Dim layer mask is inserted between the fingerprint layer and the common layer, so that the layer below the mask can be pressed by alpha of the mask to be darkened in brightness, but the layer above the mask or outside the covering range of the mask is not affected. Therefore, the brightness of different layers can be adjusted through the mask, and the function of local brightness adjustment is achieved.
Specifically, after the backlight brightness of the screen is configured, the new configured backlight brightness parameter will not be valid immediately, and meanwhile, the mask will not be configured, but the arrival of the frame synchronization signal is waited. When a first preset number of continuous frame synchronization signals arrive, parameter configuration is carried out on the mask.
The parameters of the backlight brightness and the alpha mask are generally effective in the frame, and the configured parameters can be determined to be effective in the next few frames through the corresponding identification information of the frame during the parameter configuration and the preset parameter effective time. Therefore, the first preset number of the waiting frame synchronization signals can be determined according to the corresponding frame when the configured new parameter of the backlight brightness is effective and the preset delay time. The first preset number is an integer greater than or equal to 1. The preset delay time is set based on the hardware driving requirements and in order to achieve better synchronization of the backlight brightness and the configuration of the mask.
203. And synchronizing the backlight brightness and the parameters of the mask which are configured in effect after a second preset number of frame synchronization signals arrive.
Specifically, after the mask is subjected to parameter configuration, the configured mask parameters do not take effect immediately, but continue to wait for the arrival of the frame synchronization signals, and when a second preset number of frame synchronization signals arrive, the newly configured backlight brightness and the parameters of the mask take effect synchronously. The second preset number is an integer greater than or equal to 1, and may be determined according to hardware requirements for implementing backlight brightness and mask configuration. It can be understood that, in practical applications, the first preset number and the second preset number may also be customized by a user according to actual requirements.
In this embodiment, after the parameter configuration is performed on the backlight brightness of the screen, the parameter configuration is performed on the mask of the screen after the first preset number of frame synchronization signals arrive, and then the backlight brightness and the parameters of the mask which are configured in effect are synchronized after the second preset number of frame synchronization signals arrive, so that the synchronization timing sequence of the backlight brightness and the mask is strictly ensured, the situation that the backlight brightness and the synchronization timing sequence of the mask are disturbed due to the frame synchronization signals generated between the backlight brightness and the configuration process of the mask can be avoided, the high synchronization of the backlight brightness and the mask configuration is realized, and the situation that the screen flashes or flashes when entering or exiting from the highlight mode is effectively avoided.
Please refer to fig. 3, which is a schematic flow chart illustrating an implementation of a method for setting a screen backlight according to another embodiment of the present application. The method can be applied to electronic devices which are provided with display screens and need to carry out local highlighting processing on the display screens, such as mobile electronic devices which can carry out data processing in moving, such as mobile phones, tablet computers, portable computers, intelligent watches, intelligent glasses, intelligent cameras and the like, or non-mobile electronic devices which can not carry out data processing in moving, such as liquid crystal televisions, all-in-one machines, desktop computers and the like. As shown in fig. 3, the method mainly includes:
301. when the screen is triggered to enter a highlight mode, carrying out parameter configuration on the backlight brightness of the screen;
specifically, when a finger of a user touches the surface of the display screen, or the user presses a fingerprint unlocking shortcut key, the highlight mode is triggered to enter, the backlight brightness of the screen is configured as a parameter, and the parameter of the backlight brightness is configured as a first preset parameter, so that the backlight brightness of the screen is improved to the highest or preset brightness, and the highlight display effect is achieved. Entering the highlight mode refers to switching from the normal brightness display mode to the highlight display mode.
Optionally, in consideration of the situation that the screen is more shiny or shiny when the frame synchronization signal is generated between the backlight brightness and the configuration process of the mask, before the parameter configuration of the backlight brightness of the screen, it may be determined whether the frame synchronization signal is to be generated between the backlight brightness and the parameter configuration of the mask, and the configuration mode is determined according to the result of the determination, so as to improve the flexibility and efficiency of the configuration. Specifically, when the mode is triggered to enter the highlight mode, whether a frame synchronization signal is generated between the backlight brightness and the parameter configuration of the mask is judged. If a frame synchronization signal is generated between the backlight brightness and the parameter configuration of the mask, which indicates that a screen may flash or turn black, step 301 is performed to perform the parameter configuration and the subsequent steps on the backlight brightness of the screen. If the frame synchronization signal is not generated between the backlight brightness and the parameter configuration of the mask, which indicates that the screen is not flashing or blacking, the parameter configuration is performed on the backlight brightness and the mask at the same time, and the frame synchronization signal does not need to be waited for, so as to improve the configuration and effective speed. And further, after parameter configuration is carried out on the backlight brightness and the mask at the same time, the configuration parameters of the backlight brightness and the mask are synchronously taken into effect after a frame synchronization signal arrives.
Optionally, the determining whether a frame synchronization signal is to be generated between the backlight brightness and the parameter configuration of the mask may specifically include: and judging whether the frame synchronization signal is generated between the backlight brightness and the parameter configuration of the mask or not according to the arrival time of the frame synchronization signal which arrives at the last time at present, the predicted arrival time of the frame synchronization signal which arrives at the next time, the parameter configuration time of the backlight brightness and the preset delay time. The preset delay time may include, but is not limited to: the time required to enable the mask configuration after the backlight brightness setting and the preset offset time, which can generally be determined according to hardware performance. The time required to enable the mask configuration after the backlight brightness setting, or the time required to validate the backlight brightness setting on the hardware.
It is understood that the parameter configuration time of the backlight brightness and the preset delay time are added to obtain the expected configuration time of the mask, and if the expected arrival time of the next arriving frame synchronization signal is between the parameter configuration time of the backlight brightness and the expected configuration time of the mask, it is determined that the frame synchronization signal will be generated between the parameter configuration time of the backlight brightness and the parameter configuration of the mask. If the expected arrival time of the next frame sync signal is after the expected configuration time of the mask, it is determined that the frame sync signal will not be generated between the backlight brightness and the parameter configuration of the mask.
302. After the two frame synchronization signals arrive, carrying out parameter configuration on a mask of a screen;
303. after a frame synchronization signal arrives, synchronizing the backlight brightness and the parameters of the mask which are configured in effect;
the frame synchronization signal, such as a frame synchronization signal between the lcd controller and the lcd driver, indicates the start of scanning a frame, i.e., a picture displayed by the lcd. The LCD controller generates a frame synchronizing signal immediately after the display of a frame of picture is finished, and starts to display a new frame of picture.
The mask may be, for example, an alpha mask, such as a Dim layer mask. A Dim layer mask is inserted between the fingerprint layer and the common layer, so that the layer below the mask can be pressed by alpha of the mask to be darkened in brightness, but the layer above the mask or outside the covering range of the mask is not affected. Therefore, the brightness of different layers can be adjusted through the mask, and the function of local brightness adjustment is achieved.
Specifically, with reference to fig. 4, after the parameter configuration is performed on the backlight brightness of the screen, the newly configured parameter of the backlight brightness does not take effect immediately, and meanwhile, the parameter configuration is not performed on the mask, but after the two frame synchronization signals arrive, the parameter configuration is performed on the mask. Then, after the mask is subjected to parameter configuration, the configured mask parameters and backlight brightness parameters do not take effect immediately, but continue to wait for the arrival of the frame synchronization signal, and when a frame synchronization signal arrives, the backlight brightness and the mask parameters which are configured in effect are synchronized, that is, the highlight display effect and the mask take effect simultaneously.
Optionally, after the parameter configuration is performed on the backlight brightness, the parameter configuration is performed on the mask at the starting time point (frame header) of frame synchronization after the second frame synchronization signal arrives. And synchronizing the backlight brightness of the effective configuration and the parameters of the mask at the starting time point of the frame synchronization after the first frame synchronization signal arrives after the parameter configuration is carried out on the mask.
304. And when the exit of the highlight mode is triggered, simultaneously configuring parameters of the backlight brightness and the mask.
Exiting the highlight mode refers to a transition from the highlight mode to the normal brightness display mode. Specifically, the condition for triggering the exit from the highlight mode may be, for example, an event for triggering the end of the unlocking operation is monitored, specifically, a fingerprint unlocking success notification event, or a fingerprint unlocking recognition failure notification event, or an event for triggering the end of the unlocking operation that a button or a key or a menu is clicked, and the like; or else, for example, an event that a button or key or menu for triggering exit from the highlighted mode is clicked is monitored, and so on.
And when the exit of the highlight mode is triggered, simultaneously configuring the backlight brightness and the parameters of the mask as the second preset parameters corresponding to the backlight brightness and the parameters of the mask. Further, the parameters of the configured backlight brightness and the parameters of the mask are immediately validated. Optionally, as shown in fig. 5, after the mask is configured with the parameters, the configured parameters of the mask and the parameters of the backlight brightness do not take effect immediately, but continue to wait for the arrival of the frame synchronization signal, and when a frame synchronization signal arrives, the parameters of the backlight brightness and the mask configured in effect are synchronized, for example: the backlight brightness is restored to the normal brightness while the mask is hidden.
In this embodiment, after the parameter configuration is performed on the backlight brightness of the screen, the parameter configuration is performed on the mask of the screen after the first preset number of frame synchronization signals arrive, and then the parameter configuration is performed on the backlight brightness and the configuration parameters of the mask after the second preset number of frame synchronization signals arrive, so that the synchronization timing sequence of the backlight brightness and the mask is strictly ensured, the situation that the backlight brightness and the synchronization timing sequence of the mask are disturbed due to the frame synchronization signals generated between the backlight brightness and the configuration process of the mask is avoided, the high synchronization of the backlight brightness and the mask configuration is realized, and the situation that the screen flashes or flashes when entering or exiting from the highlight mode is effectively avoided.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device can be used for implementing the screen backlight setting method provided by the embodiment shown in fig. 2. As shown in fig. 6, the electronic device includes: a first configuration module 601, a second configuration module 602, and a synchronization module 603.
The first configuration module 601 is configured to perform parameter configuration on the backlight brightness of the screen.
The second configuration module 602 is configured to perform parameter configuration on the mask of the screen after the first preset number of frame synchronization signals arrive.
The synchronization module 603 is configured to synchronize the backlight brightness and the parameters of the mask configured in an effective manner after the second preset number of frame synchronization signals arrive.
It should be noted that, in the embodiment of the electronic device illustrated in fig. 6, the division of the functional modules is only an example, and in practical applications, the above functions may be distributed by different functional modules according to needs, for example, configuration requirements of corresponding hardware or convenience of implementation of software, that is, the internal structure of the electronic device is divided into different functional modules to complete all or part of the functions described above. In practical applications, the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be implemented by corresponding hardware executing corresponding software. The above description principles can be applied to various embodiments provided in the present specification, and are not described in detail below.
For a specific process of each function module in the electronic device provided in this embodiment to implement each function, please refer to the specific content described in the embodiment shown in fig. 2, which is not described herein again.
In the electronic device provided by this embodiment, after the backlight brightness of the screen is configured, parameter configuration is performed on the mask of the screen only after the first preset number of frame synchronization signals arrive, and then the backlight brightness and the configuration parameters of the mask are synchronously validated after the second preset number of frame synchronization signals arrive, so that the synchronization timing sequence of the backlight brightness and the mask is strictly ensured, which can avoid disturbing the synchronization timing sequence of the backlight brightness and the mask due to the frame synchronization signals generated between the backlight brightness and the mask configuration process, thereby realizing high synchronization of the backlight brightness and the mask configuration, and effectively avoiding the situation that the screen flashes or flashes when entering or exiting from the highlight mode.
Please refer to fig. 7, which is a schematic structural diagram of an electronic device according to another embodiment of the present application. The electronic device can be used for implementing the screen backlight setting method provided by the embodiments shown in fig. 2 to 5. Unlike the embodiment shown in fig. 6, as shown in fig. 7, in the present embodiment:
further, the second configuration module 602 is specifically configured to perform parameter configuration on the mask of the screen after the two frame synchronization signals arrive.
Further, the synchronization module 603 is specifically configured to synchronize the backlight brightness configured in the effective state and the parameters of the mask after a frame synchronization signal arrives.
Further, the first configuration module 601 is further configured to perform parameter configuration on the backlight brightness of the screen when the entry into the highlight mode is triggered.
Further, the electronic device further includes:
a third configuring module 701, configured to perform parameter configuration on the backlight brightness and the mask simultaneously when exiting the highlight mode is triggered.
Further, the electronic device further includes:
a determining module 702, configured to determine whether a frame synchronization signal is to be generated between the backlight brightness and the parameter configuration of the mask when the highlight mode is triggered, trigger the first configuration module 601 to perform parameter configuration on the backlight brightness of the screen if the frame synchronization signal is to be generated between the backlight brightness and the parameter configuration of the mask, and trigger the third configuration module 701 to perform parameter configuration on the backlight brightness and the mask simultaneously if the frame synchronization signal is not to be generated between the backlight brightness and the parameter configuration of the mask.
Further, the determining module 702 is specifically configured to determine whether a frame synchronization signal is generated between the backlight brightness and the parameter configuration of the mask according to the arrival time of the frame synchronization signal that arrives last at present, the expected arrival time of the frame synchronization signal that arrives next, the parameter configuration time of the backlight brightness, and a preset delay time.
For a specific process of each function module in the electronic device provided in this embodiment to implement each function, please refer to the specific contents described in the embodiments shown in fig. 2 to fig. 6, which is not described herein again.
In the electronic device provided by this embodiment, after the backlight brightness of the screen is configured, parameter configuration is performed on the mask of the screen only after the first preset number of frame synchronization signals arrive, and then the backlight brightness and the configuration parameters of the mask are synchronously validated after the second preset number of frame synchronization signals arrive, so that the synchronization timing sequence of the backlight brightness and the mask is strictly ensured, which can avoid disturbing the synchronization timing sequence of the backlight brightness and the mask due to the frame synchronization signals generated between the backlight brightness and the mask configuration process, thereby realizing high synchronization of the backlight brightness and the mask configuration, and effectively avoiding the situation that the screen flashes or flashes when entering or exiting from the highlight mode.
Referring to fig. 8, fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
The electronic apparatus described in this embodiment includes:
a memory 801, a processor 802, and a computer program stored in the memory 801 and executable on the processor 802, wherein the processor 802 implements the screen backlight setting method described in the embodiments of fig. 2 to 5 when executing the computer program.
Further, the electronic device further includes:
at least one input device 803 and at least one output device 804.
The memory 801, the processor 802, the input device 803, and the output device 804 are connected by a bus 805.
The input device 803 may be a camera, a touch panel, a physical button, or the like. The output device 804 may specifically be a display screen.
The Memory 801 may be a high-speed Random Access Memory (RAM) Memory or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 801 is used to store a set of executable program code, and the processor 802 is coupled to the memory 801.
Further, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium may be an electronic device configured in the foregoing embodiments, and the computer-readable storage medium may be a storage unit configured in the main control chip and the data acquisition chip in the foregoing embodiments. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the screen backlight setting method described in the foregoing embodiments illustrated in fig. 2 to 5.
For example, the electronic device may be any of various types of computer system apparatuses that are mobile or portable and perform wireless communication. In particular, the electronic apparatus may be a mobile phone or a smart phone (e.g., iPhone-based, Android-based phone), a portable game device (e.g., Nintendo DS, playstatio portable, Gameboy Advance, iPhone), a laptop, a PDA, a portable internet appliance, a music player, and a data storage device, other handheld devices, and a head-mounted device (HMD) such as a watch, a headset, a pendant, a headset, etc., and other wearable devices (e.g., electronic glasses, electronic clothes, an electronic bracelet, an electronic necklace, an electronic tattoo, an electronic device, or a smart watch).
The electronic apparatus may also be any of a number of electronic devices including, but not limited to, cellular phones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controllers, pagers, laptop computers, desktop computers, printers, netbook computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving picture experts group (MPEG-1 or MPEG-2) audio layer 3(MP3) players, portable medical devices, and digital cameras and combinations thereof.
In some cases, the electronic device may perform a variety of functions (e.g., playing music, displaying video, storing pictures, and receiving and sending telephone calls). If desired, the electronic apparatus may be a portable device such as a cellular telephone, media player, other handheld device, wristwatch device, pendant device, earpiece device, or other compact portable device.
As shown in fig. 9, the electronic device 10 may include control circuitry, which may include storage and processing circuitry 30. The storage and processing circuitry 30 may include memory, such as hard drive memory, non-volatile memory (e.g., flash memory or other electronically programmable erase limit memory used to form solid state drives, etc.), volatile memory (e.g., static or dynamic random access memory, etc.), and so forth, although the embodiments of the present application are not limited thereto. Processing circuitry in the storage and processing circuitry 30 may be used to control the operation of the electronic device 10. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry 30 may be used to run software within the electronic device 10 such as, for example, an Internet browsing application, a Voice Over Internet Protocol (VOIP) telephone call application, an email application, a media playing application, operating system functions, etc. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functionality based on status indicators such as status indicator lights of light emitting diodes, touch event detection based on a touch sensor, functionality associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 10, and the like, without limitation of the embodiments of the present application.
The electronic device 10 may also include input-output circuitry 42. The input-output circuitry 42 may be used to enable the electronic device 10 to enable input and output of data, i.e., to allow the electronic device 10 to receive data from external devices and also to allow the electronic device 10 to output data from the electronic device 10 to external devices. The input-output circuitry 42 may further include the sensor 32. The sensors 32 may include ambient light sensors, optical and capacitive based proximity sensors, touch sensors (e.g., optical based touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), acceleration sensors, and other sensors, among others.
Input-output circuitry 42 may also include one or more displays, such as display 14. The display 14 may include one or a combination of liquid crystal displays, organic light emitting diode displays, electronic ink displays, plasma displays, displays using other display technologies. The display 14 may include an array of touch sensors (i.e., the display 14 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The electronic device 10 may also include an audio component 36. The audio component 36 may be used to provide audio input and output functionality for the electronic device 10. Audio components 36 in electronic device 10 may include speakers, microphones, buzzers, tone generators, and other components for generating and detecting sound.
The communication circuitry 38 may be used to provide the electronic device 10 with the ability to communicate with external devices. The communication circuit 38 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 38 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in Communication circuitry 38 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuitry 38 may include a near field communication antenna and a near field communication transceiver. The communications circuitry 38 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and the like.
The electronic device 10 may further include a battery, power management circuitry, and other input-output units 40. The input-output unit 40 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, etc.
A user may enter commands through input-output circuitry 42 to control the operation of electronic device 10, and may use output data of input-output circuitry 42 to enable receipt of status information and other outputs from electronic device 10.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the screen backlight setting method, the electronic device and the computer-readable storage medium provided by the present application, those skilled in the art will recognize that there are variations in the embodiments and applications of the screen backlight setting method, the electronic device and the computer-readable storage medium according to the concepts of the embodiments of the present application.

Claims (8)

1. A screen backlight setting method, the method comprising:
when the screen is triggered to enter a highlight mode, judging whether a frame synchronization signal is generated between the backlight brightness of a screen and the parameter configuration of a mask of the screen;
if a frame synchronization signal is generated between the backlight brightness and the parameter configuration of the mask, performing parameter configuration on the backlight brightness of the screen;
after a first preset number of frame synchronization signals arrive, carrying out parameter configuration on the mask of the screen;
after a second preset number of frame synchronization signals arrive, synchronizing the backlight brightness and the parameters of the mask which are configured in an effective mode;
if no frame synchronization signal is generated between the backlight brightness and the parameter configuration of the mask, the parameter configuration is carried out on the backlight brightness and the mask at the same time, and after waiting for a frame synchronization signal to arrive, the backlight brightness and the parameter of the mask which are configured at the same time are synchronously validated.
2. The method of claim 1, wherein the performing parameter configuration on the mask of the screen after the first preset number of frame synchronization signals arrives comprises:
and after the two frame synchronization signals arrive, carrying out parameter configuration on the mask of the screen.
3. The method of claim 1, wherein synchronizing the backlight brightness of the active configuration and the parameters of the mask after the second preset number of frame synchronization signals arrives comprises:
and after a frame synchronization signal arrives, synchronizing the backlight brightness and the parameters of the mask which are configured in effect.
4. The method of claim 1, wherein the method further comprises:
and when the highlight mode is triggered to exit, simultaneously configuring parameters of the backlight brightness and the mask.
5. The method of claim 1, wherein determining whether a frame synchronization signal is to be generated between a backlight brightness of a screen and a parameter configuration of a mask of the screen comprises:
and judging whether a frame synchronization signal is generated between the backlight brightness and the parameter configuration of the mask of the screen or not according to the arrival time of the frame synchronization signal which arrives at the last time at present, the predicted arrival time of the frame synchronization signal which arrives at the next time, the parameter configuration time of the backlight brightness of the screen and the preset delay time.
6. An electronic device, comprising:
the judging module is used for judging whether a frame synchronization signal is generated between the backlight brightness of a screen and the parameter configuration of a mask of the screen or not when the screen is triggered to enter a high brightness mode;
a first configuration module, configured to perform parameter configuration on the backlight brightness of the screen if a frame synchronization signal is to be generated between the backlight brightness and the parameter configuration of the mask;
the second configuration module is used for carrying out parameter configuration on the mask of the screen after a first preset number of frame synchronization signals arrive;
the synchronization module is used for synchronizing the backlight brightness and the parameters of the mask which are configured in an effective mode after a second preset number of frame synchronization signals arrive;
a third configuration module, configured to perform parameter configuration on the backlight brightness and the mask at the same time if a frame synchronization signal is not to be generated between the backlight brightness and the parameter configuration of the mask;
the synchronization module is further configured to synchronize the backlight brightness and the parameters of the mask configured at the same time after waiting for a frame synchronization signal to arrive.
7. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the screen backlight setting method of any of claims 1 to 5.
8. A computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the screen backlight setting method of any one of claims 1 to 5.
CN201811230251.3A 2018-10-22 2018-10-22 Screen backlight setting method, electronic device and computer readable storage medium Active CN109410846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811230251.3A CN109410846B (en) 2018-10-22 2018-10-22 Screen backlight setting method, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811230251.3A CN109410846B (en) 2018-10-22 2018-10-22 Screen backlight setting method, electronic device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109410846A CN109410846A (en) 2019-03-01
CN109410846B true CN109410846B (en) 2020-07-28

Family

ID=65468194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811230251.3A Active CN109410846B (en) 2018-10-22 2018-10-22 Screen backlight setting method, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109410846B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672263B (en) * 2021-08-23 2024-04-23 联想(北京)有限公司 Firmware parameter updating control method and device and electronic equipment
CN114495185A (en) * 2021-12-17 2022-05-13 武汉统信软件技术有限公司 Fingerprint identification method, mobile terminal and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202017A (en) * 2006-12-13 2008-06-18 恩益禧电子股份有限公司 Backlight brightness control for liquid crystal display panel
CN101388184A (en) * 2007-09-13 2009-03-18 北京京东方光电科技有限公司 Method and apparatus for improving water noise of LCD
CN103399700A (en) * 2013-06-28 2013-11-20 宇龙计算机通信科技(深圳)有限公司 Presenting method and communication terminal of burn-after-reading information
CN103650023A (en) * 2011-06-01 2014-03-19 三星电子株式会社 Image signal processing device for sequentially driving a plurality of light sources, display apparatus using the image signal processing device, and display method thereof
CN106599738A (en) * 2016-12-16 2017-04-26 北京小米移动软件有限公司 Display control method and apparatus for terminal device
CN107092888A (en) * 2017-04-21 2017-08-25 广州腾耐计算机科技有限公司 A kind of Fingerprint Identification Unit
KR20170109898A (en) * 2016-03-22 2017-10-10 한국전자통신연구원 Apparatus and method for extracting object
CN107798303A (en) * 2017-10-18 2018-03-13 维沃移动通信有限公司 A kind of method and mobile terminal for adjusting screen backlight
CN108596124A (en) * 2018-04-28 2018-09-28 京东方科技集团股份有限公司 Fingerprint recognition panel, fingerprint identification method and display device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9916794B2 (en) * 2015-08-05 2018-03-13 Disney Enterprises, Inc. Switched emissive transparent display with controllable per-pixel opacity

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202017A (en) * 2006-12-13 2008-06-18 恩益禧电子股份有限公司 Backlight brightness control for liquid crystal display panel
CN101388184A (en) * 2007-09-13 2009-03-18 北京京东方光电科技有限公司 Method and apparatus for improving water noise of LCD
CN103650023A (en) * 2011-06-01 2014-03-19 三星电子株式会社 Image signal processing device for sequentially driving a plurality of light sources, display apparatus using the image signal processing device, and display method thereof
CN103399700A (en) * 2013-06-28 2013-11-20 宇龙计算机通信科技(深圳)有限公司 Presenting method and communication terminal of burn-after-reading information
KR20170109898A (en) * 2016-03-22 2017-10-10 한국전자통신연구원 Apparatus and method for extracting object
CN106599738A (en) * 2016-12-16 2017-04-26 北京小米移动软件有限公司 Display control method and apparatus for terminal device
CN107092888A (en) * 2017-04-21 2017-08-25 广州腾耐计算机科技有限公司 A kind of Fingerprint Identification Unit
CN107798303A (en) * 2017-10-18 2018-03-13 维沃移动通信有限公司 A kind of method and mobile terminal for adjusting screen backlight
CN108596124A (en) * 2018-04-28 2018-09-28 京东方科技集团股份有限公司 Fingerprint recognition panel, fingerprint identification method and display device

Also Published As

Publication number Publication date
CN109410846A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
AU2017306385B2 (en) Display driving method, display driver integrated circuit for supporting the same, electronic device including the display driver integrated circuit
WO2018026192A1 (en) Electronic device comprising force sensor
US20200402478A1 (en) Apparatus and method for driving display based on frequency operation cycle set differently according to frequency
AU2012200436B2 (en) Gesture based unlocking of a mobile terminal
JP6598408B2 (en) Display method and terminal device
CN107193524B (en) Multi-display device and method of operating the same
CN109495871B (en) Bluetooth connection control method, electronic device and computer readable storage medium
CN109067984B (en) Data transmission method, electronic device and computer readable storage medium
CN111580904A (en) Display state switching method, display state switching device and storage medium
CN110109759B (en) Catton optimization method, server, electronic device and computer-readable storage medium
CN108833779B (en) Shooting control method and related product
CN109085968B (en) Screen capturing method and terminal equipment
WO2023284621A1 (en) Setting method and apparatus, electronic device, and storage medium
CN109410846B (en) Screen backlight setting method, electronic device and computer readable storage medium
CN109684011B (en) Interface display control method, electronic device and computer readable storage medium
CN111258659A (en) Screen-off control method and device and storage medium
CN109348062B (en) Emergency call implementation method, electronic device and computer-readable storage medium
CN110769303A (en) Playing control method and device and mobile terminal
CN108834206B (en) Control method of electronic device and electronic device
CN109885201B (en) Touch area detection method for touch screen, electronic device and computer readable storage medium
CN116700826A (en) Widget starting method, device, equipment and computer readable storage medium
CN109740538B (en) Fingerprint acquisition method, electronic device and computer readable storage medium
CN109298942B (en) Picture processing method and electronic device
CN110795054B (en) Image quality adjusting method and related product
CN112400305B (en) Message prompting method and related product

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