CN111443818B - Screen brightness regulation and control method, equipment and computer readable storage medium - Google Patents

Screen brightness regulation and control method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN111443818B
CN111443818B CN202010208530.0A CN202010208530A CN111443818B CN 111443818 B CN111443818 B CN 111443818B CN 202010208530 A CN202010208530 A CN 202010208530A CN 111443818 B CN111443818 B CN 111443818B
Authority
CN
China
Prior art keywords
displacement
data
distance
screen brightness
angle
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
CN202010208530.0A
Other languages
Chinese (zh)
Other versions
CN111443818A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN202010208530.0A priority Critical patent/CN111443818B/en
Publication of CN111443818A publication Critical patent/CN111443818A/en
Application granted granted Critical
Publication of CN111443818B publication Critical patent/CN111443818B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits

Abstract

The invention discloses a screen brightness regulation method, equipment and a computer readable storage medium, wherein the method comprises the following steps: determining a first confidence coefficient corresponding to the motion data according to the displacement distance and the displacement angle, and determining a second confidence coefficient corresponding to the light sensation data according to the object size, the object distance and the object angle; and determining whether to adjust the screen brightness of the terminal equipment according to the light sensation state at the current moment according to the magnitude relation between the first confidence coefficient and the second confidence coefficient. The humanized screen brightness control scheme is realized, the accuracy of screen brightness control is improved, the misoperation of the screen brightness of the light sensor under the shielding condition is avoided, and the user experience is enhanced.

Description

Screen brightness regulation and control method, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a method and apparatus for adjusting and controlling screen brightness, and a computer readable storage medium.
Background
In the prior art, with the rapid development of intelligent terminal equipment, the screen is enlarged to be the common pursuit of terminal manufacturers and users, and in a certain terminal frame size, the screen occupation ratio is effectively and reasonably selected to be enlarged. To increase the screen duty cycle and shorten the width of the top edge of the terminal, the light sensor is typically moved to the bottom of the screen. However, after the light sensor is moved to the bottom of the terminal, the head is projected to the screen below the terminal when the user holds the terminal to browse the terminal by holding the vertical screen, so that "misjudgment" of brightness regulation in various situations may be caused, for example, the user places the terminal on a dining table to watch video, and the user holds the terminal device in the middle to watch, and after the user holds the terminal device, sensor data is influenced by the projection of the head, so that the screen of the terminal is darkened.
Therefore, it can be seen that the light recognition scheme based on the fixed position in the prior art may reduce the accuracy and effectiveness of the brightness adjustment of the display screen, and has poor experience for users.
Disclosure of Invention
In order to solve the technical defects in the prior art, the invention provides a screen brightness regulating and controlling method, which comprises the following steps:
monitoring and judging whether the light sensation data and the motion data of the terminal equipment exceed the respective corresponding fluctuation amplitude values;
if the light sensation data and the motion data exceed the respective corresponding fluctuation amplitude values, acquiring the displacement distance and the displacement angle of the terminal equipment, and acquiring the object size, the object distance and the object angle of a reference object of the terminal equipment;
determining a first confidence corresponding to the motion data according to the displacement distance and the displacement angle, and determining a second confidence corresponding to the light sensation data according to the object size, the object distance and the object angle;
and determining whether to adjust the screen brightness of the terminal equipment according to the light sensation state at the current moment according to the magnitude relation between the first confidence coefficient and the second confidence coefficient.
Optionally, whether the light sense data and the motion data of the monitoring terminal device in the preset time period exceed respective corresponding variation amplitudes or not includes:
acquiring the light sensation data and the motion data according to a preset frequency;
judging whether the fluctuation amplitude of the light sensation data in the first time period exceeds the corresponding preset fluctuation amplitude, if so, judging whether the fluctuation amplitude of the motion data in the second time period exceeds the corresponding preset fluctuation amplitude;
if yes, determining whether the light sense data and the motion data at the current moment exceed the respective corresponding fluctuation amplitude values.
Optionally, if the light sensation data and the motion data both exceed respective corresponding fluctuation magnitudes, acquiring a displacement distance and a displacement angle of the terminal device, and simultaneously acquiring an object size, an object distance and an object angle of a reference object of the terminal device, including:
acquiring displacement data of the terminal equipment, and determining the displacement distance and the displacement angle according to the displacement data;
and determining at least one reference object through an image sensing component and/or a distance sensing component of the terminal equipment, and acquiring the object size, the object distance and the object angle of the reference object.
Optionally, the determining the first confidence corresponding to the motion data according to the displacement distance and the displacement angle, and determining the second confidence corresponding to the light sensation data according to the object size, the object distance and the object angle includes:
determining a first parameter related to the displacement distance and a second parameter related to the displacement angle, and calculating to obtain the first confidence according to the first parameter, the second parameter, the displacement distance and the displacement angle;
determining a third parameter related to the object size, a fourth parameter related to the object distance and a fifth parameter related to the object angle, and calculating the second confidence according to the third parameter, the fourth parameter, the fifth parameter, the object size, the object distance and the object angle.
Optionally, the determining whether to adjust the screen brightness of the terminal device according to the light sensation state at the current moment according to the magnitude relation between the first confidence coefficient and the second confidence coefficient includes:
if the first confidence coefficient is larger than the second confidence coefficient, adjusting the screen brightness of the terminal equipment according to the light sensation state at the current moment;
And if the first confidence coefficient is smaller than the second confidence coefficient, according to the screen brightness at the current moment.
The invention also provides screen brightness control equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program is realized when being executed by the processor:
monitoring and judging whether the light sensation data and the motion data of the terminal equipment exceed the respective corresponding fluctuation amplitude values;
if the light sensation data and the motion data exceed the respective corresponding fluctuation amplitude values, acquiring the displacement distance and the displacement angle of the terminal equipment, and acquiring the object size, the object distance and the object angle of a reference object of the terminal equipment;
determining a first confidence corresponding to the motion data according to the displacement distance and the displacement angle, and determining a second confidence corresponding to the light sensation data according to the object size, the object distance and the object angle;
and determining whether to adjust the screen brightness of the terminal equipment according to the light sensation state at the current moment according to the magnitude relation between the first confidence coefficient and the second confidence coefficient.
Optionally, the computer program is implemented when executed by the processor:
acquiring the light sensation data and the motion data according to a preset frequency;
judging whether the fluctuation amplitude of the light sensation data in the first time period exceeds the corresponding preset fluctuation amplitude, if so, judging whether the fluctuation amplitude of the motion data in the second time period exceeds the corresponding preset fluctuation amplitude;
if yes, determining whether the light sense data and the motion data at the current moment exceed the respective corresponding fluctuation amplitude values.
Optionally, the computer program is implemented when executed by the processor:
acquiring displacement data of the terminal equipment, and determining the displacement distance and the displacement angle according to the displacement data;
and determining at least one reference object through an image sensing component and/or a distance sensing component of the terminal equipment, and acquiring the object size, the object distance and the object angle of the reference object.
Optionally, the computer program is implemented when executed by the processor:
determining a first parameter related to the displacement distance and a second parameter related to the displacement angle, and calculating to obtain the first confidence according to the first parameter, the second parameter, the displacement distance and the displacement angle;
Determining a third parameter related to the object size, a fourth parameter related to the object distance and a fifth parameter related to the object angle, and calculating the second confidence according to the third parameter, the fourth parameter, the fifth parameter, the object size, the object distance and the object angle;
if the first confidence coefficient is larger than the second confidence coefficient, adjusting the screen brightness of the terminal equipment according to the light sensation state at the current moment;
and if the first confidence coefficient is smaller than the second confidence coefficient, according to the screen brightness at the current moment.
The present invention also proposes a computer-readable storage medium having stored thereon a screen brightness control program which, when executed by a processor, implements the steps of the screen brightness control method as described in any one of the above.
The screen brightness regulation method, the device and the computer readable storage medium are implemented by monitoring and judging whether the light sensation data and the motion data of the terminal device exceed the respective corresponding fluctuation amplitude values or not; if the light sensation data and the motion data exceed the respective corresponding fluctuation amplitude values, acquiring the displacement distance and the displacement angle of the terminal equipment, and acquiring the object size, the object distance and the object angle of a reference object of the terminal equipment; determining a first confidence corresponding to the motion data according to the displacement distance and the displacement angle, and determining a second confidence corresponding to the light sensation data according to the object size, the object distance and the object angle; and determining whether to adjust the screen brightness of the terminal equipment according to the light sensation state at the current moment according to the magnitude relation between the first confidence coefficient and the second confidence coefficient. The humanized screen brightness control scheme is realized, the accuracy of screen brightness control is improved, the misoperation of the screen brightness of the light sensor under the shielding condition is avoided, and the user experience is enhanced.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to the present invention;
fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention;
FIG. 3 is a flowchart of a first embodiment of a screen brightness control method according to the present invention;
FIG. 4 is a flowchart of a second embodiment of a screen brightness control method according to the present invention;
FIG. 5 is a flowchart of a third embodiment of a screen brightness control method according to the present invention;
FIG. 6 is a flowchart of a fourth embodiment of a screen brightness control method according to the present invention;
fig. 7 is a flowchart of a fifth embodiment of the screen brightness control method of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Specifically, the UE201 may be the terminal 100 described above, and will not be described herein.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. The eNodeB2021 may be connected with other eNodeB2022 by a backhaul (e.g., an X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access from the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. The MME2031 is a control node that handles signaling between the UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present invention is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and the communication network system, various embodiments of the method of the present invention are provided.
Example 1
Fig. 3 is a flowchart of a first embodiment of a screen brightness control method according to the present invention. A screen brightness control method, the method comprising:
s1, monitoring and judging whether the light sensation data and the motion data of the terminal equipment exceed respective corresponding fluctuation amplitude values;
s2, if the light sensation data and the motion data exceed the respective corresponding fluctuation amplitude values, acquiring a displacement distance and a displacement angle of the terminal equipment, and acquiring the object size, the object distance and the object angle of a reference object of the terminal equipment;
s3, determining a first confidence coefficient corresponding to the motion data according to the displacement distance and the displacement angle, and determining a second confidence coefficient corresponding to the light sensation data according to the object size, the object distance and the object angle;
S4, determining whether to adjust the screen brightness of the terminal equipment according to the light sensation state at the current moment according to the magnitude relation between the first confidence coefficient and the second confidence coefficient.
In this embodiment, first, it is monitored and judged whether or not both the light sensation data and the motion data of the terminal device exceed respective corresponding fluctuation magnitudes. The terminal equipment is internally provided with a light sensing component and a motion component, wherein the light sensing component can be a sensing device with a light sensing function, and the motion component can be a sensing device such as a gyroscope and an acceleration sensor. In this embodiment, the light sensing data of the terminal device is monitored, whether the change state of the light sensing data exceeds a preset change amplitude is determined, if the change state of the light sensing data exceeds the preset change amplitude, the terminal device in the current environment is determined to have a more obvious change in ambient light, further, in this embodiment, the movement data of the terminal device is monitored, whether the change state of the movement data exceeds the preset change amplitude is determined, if the change state of the movement data exceeds the preset change amplitude, the terminal device in the current environment is determined to have a more obvious movement and/or rotation.
In this embodiment, if it is determined that the terminal device in the current environment has a relatively obvious change in ambient light and relatively obvious movement and/or rotation occurs, the displacement distance and the displacement angle of the terminal device are obtained, and at the same time, the object size, the object distance and the object angle of the reference object of the terminal device are obtained. The reference object of the terminal device refers to a blocking object of a display area or a frame area of the terminal device, and for example, the reference object may be a hand, a wrist, an arm, or other body parts holding the terminal device, or may be other objects having a light blocking effect.
In this embodiment, a first confidence corresponding to the motion data is determined according to the displacement distance and the displacement angle, and a second confidence corresponding to the light sensation data is determined according to the object size, the object distance and the object angle. And determining the degree of correlation between the current ambient light change and the motion state according to the first confidence level, and determining the degree of correlation between the current ambient light change and the shielding object according to the second confidence level.
In this embodiment, whether to adjust the screen brightness of the terminal device according to the light sensation state at the current moment is determined according to the magnitude relation between the first confidence coefficient and the second confidence coefficient. Specifically, if the first confidence coefficient is greater than the second confidence coefficient, adjusting the screen brightness of the terminal equipment according to the light sensation state at the current moment; and if the first confidence coefficient is smaller than the second confidence coefficient, according to the screen brightness at the current moment.
The embodiment has the beneficial effects that whether the light sensation data and the motion data of the terminal equipment exceed the respective corresponding fluctuation amplitude values is monitored and judged; if the light sensation data and the motion data exceed the respective corresponding fluctuation amplitude values, acquiring the displacement distance and the displacement angle of the terminal equipment, and acquiring the object size, the object distance and the object angle of a reference object of the terminal equipment; determining a first confidence corresponding to the motion data according to the displacement distance and the displacement angle, and determining a second confidence corresponding to the light sensation data according to the object size, the object distance and the object angle; and determining whether to adjust the screen brightness of the terminal equipment according to the light sensation state at the current moment according to the magnitude relation between the first confidence coefficient and the second confidence coefficient. The humanized screen brightness control scheme is realized, the accuracy of screen brightness control is improved, the misoperation of the screen brightness of the light sensor under the shielding condition is avoided, and the user experience is enhanced.
Example two
Fig. 4 is a flowchart of a second embodiment of the screen brightness control method according to the present invention, based on the above embodiment, optionally, the monitoring whether the light sensation data and the motion data of the terminal device in the preset time period exceed respective corresponding fluctuation magnitudes includes:
S11, acquiring the light sensation data and the motion data according to a preset frequency;
s12, judging whether the fluctuation amplitude of the light sensation data in the first time period exceeds the corresponding preset fluctuation amplitude, if so, judging whether the fluctuation amplitude of the motion data in the second time period exceeds the corresponding preset fluctuation amplitude;
and S13, if so, determining whether the light sensation data and the motion data at the current moment exceed the respective corresponding fluctuation amplitude values.
In this embodiment, according to the current environmental state of the terminal device, and/or the running application program, and/or the operating state, determining the preset variation amplitudes corresponding to the terminal device;
optionally, the light sensation data and the motion data are acquired according to a preset frequency, and frequencies for acquiring the light sensation data and the motion data may be different, for example, the light sensation data is acquired once per second, and the motion data is acquired twice per second;
optionally, according to the current environmental state of the terminal device, and/or the running application program, and/or the operating state, determining the respective corresponding preset variation amplitude, where the preset variation amplitude is used to evaluate the change degree of the light sensation state and the motion state in a previous period of time.
The beneficial effects of the embodiment are that the light sensation data and the motion data are obtained according to the preset frequency; judging whether the fluctuation amplitude of the light sensation data in the first time period exceeds the corresponding preset fluctuation amplitude, if so, judging whether the fluctuation amplitude of the motion data in the second time period exceeds the corresponding preset fluctuation amplitude; if yes, determining whether the light sense data and the motion data at the current moment exceed the respective corresponding fluctuation amplitude values. The triggering conditions of the scheme are more in line with the actual use environment, the logic judgment of the triggering conditions is clearer and more accurate, and the accuracy of the subsequent screen brightness regulation is improved.
Example III
Fig. 5 is a flowchart of a third embodiment of the screen brightness control method according to the present invention, based on the above embodiment, optionally, if the light sensation data and the motion data both exceed respective corresponding fluctuation magnitudes, then acquiring a displacement distance and a displacement angle of the terminal device, and simultaneously acquiring an object size, an object distance and an object angle of a reference object of the terminal device, including:
s21, acquiring displacement data of the terminal equipment, and determining the displacement distance and the displacement angle according to the displacement data;
S22, determining at least one reference object through an image sensing component and/or a distance sensing component of the terminal equipment, and acquiring the object size, the object distance and the object angle of the reference object.
In this embodiment, at least one reference object is determined by an image sensing component and/or a distance sensing component of the terminal device. The image sensor comprises a front camera of the terminal device or a distance sensing assembly which is in the same plane with the display screen, and it is understood that the distance measuring direction of the distance sensing assembly is the same as the display direction of the display screen. Specifically, the distance sensing assembly comprises a laser distance measuring assembly, an infrared distance measuring assembly, an ultrasonic distance measuring assembly and other sensing assemblies.
Optionally, in the image acquired by the image sensing component, determining a reference object adjacent to the terminal device through image recognition, as the shielding object in this embodiment;
optionally, in the image acquired by the image sensing component, determining a reference object adjacent to the light sensing component of the terminal device through image recognition, as the shielding object in this embodiment;
optionally, in the image acquired by the image sensing component, a reference object that is adjacent to the light sensing component of the terminal device and belongs to a body part of the user is determined through image recognition, and is used as the shielding object in the embodiment.
The beneficial effects of the embodiment are that the displacement distance and the displacement angle are determined according to the displacement data by acquiring the displacement data of the terminal equipment; and determining at least one reference object through an image sensing component and/or a distance sensing component of the terminal equipment, and acquiring the object size, the object distance and the object angle of the reference object. The method and the device have the advantages that the shielding condition judgment of the scheme is more in line with the actual use environment, the logic judgment of the shielding object is clearer and more accurate, and the accuracy of the subsequent screen brightness regulation is improved.
Example IV
Fig. 6 is a flowchart of a fourth embodiment of the screen brightness control method according to the present invention, based on the above embodiment, optionally, the determining the first confidence corresponding to the motion data according to the displacement distance and the displacement angle, and determining the second confidence corresponding to the light sensation data according to the object size, the object distance, and the object angle includes:
s31, determining a first parameter related to the displacement distance and a second parameter related to the displacement angle, and calculating to obtain the first confidence according to the first parameter, the second parameter, the displacement distance and the displacement angle;
S32, determining a third parameter related to the size of the object, a fourth parameter related to the distance of the object and a fifth parameter related to the angle of the object, and calculating the second confidence according to the third parameter, the fourth parameter, the fifth parameter, the size of the object, the distance of the object and the angle of the object.
In this embodiment, a first parameter related to the displacement distance and a second parameter related to the displacement angle are determined, and the displacement distance and the displacement angle are calculated according to the first parameter, the second parameter, and the displacement angleFor example, let α and β be a first parameter and a second parameter, s be a displacement distance, and a be a displacement angle, and then the corresponding calculation method of the first confidence coefficient is: c (C) e =α*s+β*a;
In this embodiment, a third parameter related to the object size, a fourth parameter related to the object distance, and a fifth parameter related to the object angle are determined, and the second confidence is calculated according to the third parameter, the fourth parameter, the fifth parameter, the object size, the object distance, and the object angle, for example, let λ, δ, μ be the third parameter, the fourth parameter, and the fifth parameter, and m, d, and t be the object size, the object distance, and the object angle, respectively, and then the corresponding calculation manner of the second confidence is: c (C) o =λ*m+δ*d+μ*t。
The method has the advantages that the first confidence coefficient is obtained through calculation according to the first parameter, the second parameter, the displacement distance and the displacement angle by determining the first parameter related to the displacement distance and the second parameter related to the displacement angle; determining a third parameter related to the object size, a fourth parameter related to the object distance and a fifth parameter related to the object angle, and calculating the second confidence according to the third parameter, the fourth parameter, the fifth parameter, the object size, the object distance and the object angle. The screen brightness judging conditions of the scheme are more in line with the actual use environment, the logic judgment is clearer and more accurate, and the accuracy of screen brightness regulation is improved.
Example five
Fig. 7 is a flowchart of a fifth embodiment of a screen brightness control method according to the present invention, based on the above embodiment, optionally, the determining whether to adjust the screen brightness of the terminal device according to the light sensing state at the current time according to the magnitude relation between the first confidence coefficient and the second confidence coefficient includes:
S41, if the first confidence coefficient is larger than the second confidence coefficient, adjusting the screen brightness of the terminal equipment according to the light sensation state at the current moment;
s42, if the first confidence coefficient is smaller than the second confidence coefficient, according to the screen brightness at the current moment.
In this embodiment, a plurality of light sensing components are respectively disposed in different location areas of the terminal device, and the first confidence coefficient is obtained through the light sensing components in different locations;
optionally, among the plurality of first confidences, the first confidence coefficient with the largest value is compared with the second confidence coefficient, and if the first confidence coefficient is larger than the second confidence coefficient, the screen brightness of the terminal device is adjusted according to the light sensation state at the current moment, so that the adjustment of the screen brightness is more sensitive;
optionally, among the multiple first confidences, the first confidence coefficient with the smallest value is compared with the second confidence coefficient, and if the first confidence coefficient is greater than the second confidence coefficient, the screen brightness of the terminal device is adjusted according to the light sensation state at the current moment, so that the adjustment of the screen brightness is more stable;
optionally, in the multiple first confidences, taking an average value as the first confidence coefficient and comparing the first confidence coefficient with the second confidence coefficient, if the first confidence coefficient is greater than the second confidence coefficient, adjusting the screen brightness of the terminal device according to the light sensation state at the current moment, so that the adjustment of the screen brightness is more accurate.
The method has the advantages that if the first confidence coefficient is larger than the second confidence coefficient, the screen brightness of the terminal equipment is adjusted according to the light sensation state at the current moment; and if the first confidence coefficient is smaller than the second confidence coefficient, according to the screen brightness at the current moment. The humanized screen brightness control scheme is realized, the accuracy of screen brightness control is improved, the misoperation of the screen brightness of the light sensor under the shielding condition is avoided, and the user experience is enhanced.
Example six
Based on the above embodiments, the present invention further provides a screen brightness control apparatus, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being implemented when executed by the processor:
monitoring and judging whether the light sensation data and the motion data of the terminal equipment exceed the respective corresponding fluctuation amplitude values;
if the light sensation data and the motion data exceed the respective corresponding fluctuation amplitude values, acquiring the displacement distance and the displacement angle of the terminal equipment, and acquiring the object size, the object distance and the object angle of a reference object of the terminal equipment;
Determining a first confidence corresponding to the motion data according to the displacement distance and the displacement angle, and determining a second confidence corresponding to the light sensation data according to the object size, the object distance and the object angle;
and determining whether to adjust the screen brightness of the terminal equipment according to the light sensation state at the current moment according to the magnitude relation between the first confidence coefficient and the second confidence coefficient.
In this embodiment, first, it is monitored and judged whether or not both the light sensation data and the motion data of the terminal device exceed respective corresponding fluctuation magnitudes. The terminal equipment is internally provided with a light sensing component and a motion component, wherein the light sensing component can be a sensing device with a light sensing function, and the motion component can be a sensing device such as a gyroscope and an acceleration sensor. In this embodiment, the light sensing data of the terminal device is monitored, whether the change state of the light sensing data exceeds a preset change amplitude is determined, if the change state of the light sensing data exceeds the preset change amplitude, the terminal device in the current environment is determined to have a more obvious change in ambient light, further, in this embodiment, the movement data of the terminal device is monitored, whether the change state of the movement data exceeds the preset change amplitude is determined, if the change state of the movement data exceeds the preset change amplitude, the terminal device in the current environment is determined to have a more obvious movement and/or rotation.
In this embodiment, if it is determined that the terminal device in the current environment has a relatively obvious change in ambient light and relatively obvious movement and/or rotation occurs, the displacement distance and the displacement angle of the terminal device are obtained, and at the same time, the object size, the object distance and the object angle of the reference object of the terminal device are obtained. The reference object of the terminal device refers to a blocking object of a display area or a frame area of the terminal device, and for example, the reference object may be a hand, a wrist, an arm, or other body parts holding the terminal device, or may be other objects having a light blocking effect.
In this embodiment, a first confidence corresponding to the motion data is determined according to the displacement distance and the displacement angle, and a second confidence corresponding to the light sensation data is determined according to the object size, the object distance and the object angle. And determining the degree of correlation between the current ambient light change and the motion state according to the first confidence level, and determining the degree of correlation between the current ambient light change and the shielding object according to the second confidence level.
In this embodiment, whether to adjust the screen brightness of the terminal device according to the light sensation state at the current moment is determined according to the magnitude relation between the first confidence coefficient and the second confidence coefficient. Specifically, if the first confidence coefficient is greater than the second confidence coefficient, adjusting the screen brightness of the terminal equipment according to the light sensation state at the current moment; and if the first confidence coefficient is smaller than the second confidence coefficient, according to the screen brightness at the current moment.
The embodiment has the beneficial effects that whether the light sensation data and the motion data of the terminal equipment exceed the respective corresponding fluctuation amplitude values is monitored and judged; if the light sensation data and the motion data exceed the respective corresponding fluctuation amplitude values, acquiring the displacement distance and the displacement angle of the terminal equipment, and acquiring the object size, the object distance and the object angle of a reference object of the terminal equipment; determining a first confidence corresponding to the motion data according to the displacement distance and the displacement angle, and determining a second confidence corresponding to the light sensation data according to the object size, the object distance and the object angle; and determining whether to adjust the screen brightness of the terminal equipment according to the light sensation state at the current moment according to the magnitude relation between the first confidence coefficient and the second confidence coefficient. The humanized screen brightness control scheme is realized, the accuracy of screen brightness control is improved, the misoperation of the screen brightness of the light sensor under the shielding condition is avoided, and the user experience is enhanced.
Example seven
Based on the above embodiments, optionally, the computer program is implemented when executed by the processor:
Acquiring the light sensation data and the motion data according to a preset frequency;
judging whether the fluctuation amplitude of the light sensation data in the first time period exceeds the corresponding preset fluctuation amplitude, if so, judging whether the fluctuation amplitude of the motion data in the second time period exceeds the corresponding preset fluctuation amplitude;
if yes, determining whether the light sense data and the motion data at the current moment exceed the respective corresponding fluctuation amplitude values.
In this embodiment, according to the current environmental state of the terminal device, and/or the running application program, and/or the operating state, determining the preset variation amplitudes corresponding to the terminal device;
optionally, the light sensation data and the motion data are acquired according to a preset frequency, and frequencies for acquiring the light sensation data and the motion data may be different, for example, the light sensation data is acquired once per second, and the motion data is acquired twice per second;
optionally, according to the current environmental state of the terminal device, and/or the running application program, and/or the operating state, determining the respective corresponding preset variation amplitude, where the preset variation amplitude is used to evaluate the change degree of the light sensation state and the motion state in a previous period of time.
The beneficial effects of the embodiment are that the light sensation data and the motion data are obtained according to the preset frequency; judging whether the fluctuation amplitude of the light sensation data in the first time period exceeds the corresponding preset fluctuation amplitude, if so, judging whether the fluctuation amplitude of the motion data in the second time period exceeds the corresponding preset fluctuation amplitude; if yes, determining whether the light sense data and the motion data at the current moment exceed the respective corresponding fluctuation amplitude values. The triggering conditions of the scheme are more in line with the actual use environment, the logic judgment of the triggering conditions is clearer and more accurate, and the accuracy of the subsequent screen brightness regulation is improved.
Example eight
Based on the above embodiments, optionally, the computer program is implemented when executed by the processor:
acquiring displacement data of the terminal equipment, and determining the displacement distance and the displacement angle according to the displacement data;
and determining at least one reference object through an image sensing component and/or a distance sensing component of the terminal equipment, and acquiring the object size, the object distance and the object angle of the reference object.
In this embodiment, at least one reference object is determined by an image sensing component and/or a distance sensing component of the terminal device. The image sensor comprises a front camera of the terminal device or a distance sensing assembly which is in the same plane with the display screen, and it is understood that the distance measuring direction of the distance sensing assembly is the same as the display direction of the display screen. Specifically, the distance sensing assembly comprises a laser distance measuring assembly, an infrared distance measuring assembly, an ultrasonic distance measuring assembly and other sensing assemblies.
Optionally, in the image acquired by the image sensing component, determining a reference object adjacent to the terminal device through image recognition, as the shielding object in this embodiment;
optionally, in the image acquired by the image sensing component, determining a reference object adjacent to the light sensing component of the terminal device through image recognition, as the shielding object in this embodiment;
optionally, in the image acquired by the image sensing component, a reference object that is adjacent to the light sensing component of the terminal device and belongs to a body part of the user is determined through image recognition, and is used as the shielding object in the embodiment.
The beneficial effects of the embodiment are that the displacement distance and the displacement angle are determined according to the displacement data by acquiring the displacement data of the terminal equipment; and determining at least one reference object through an image sensing component and/or a distance sensing component of the terminal equipment, and acquiring the object size, the object distance and the object angle of the reference object. The method and the device have the advantages that the shielding condition judgment of the scheme is more in line with the actual use environment, the logic judgment of the shielding object is clearer and more accurate, and the accuracy of the subsequent screen brightness regulation is improved.
Example nine
Based on the above embodiments, optionally, the computer program is implemented when executed by the processor:
determining a first parameter related to the displacement distance and a second parameter related to the displacement angle, and calculating to obtain the first confidence according to the first parameter, the second parameter, the displacement distance and the displacement angle;
determining a third parameter related to the object size, a fourth parameter related to the object distance and a fifth parameter related to the object angle, and calculating the second confidence according to the third parameter, the fourth parameter, the fifth parameter, the object size, the object distance and the object angle;
if the first confidence coefficient is larger than the second confidence coefficient, adjusting the screen brightness of the terminal equipment according to the light sensation state at the current moment;
and if the first confidence coefficient is smaller than the second confidence coefficient, according to the screen brightness at the current moment.
In this embodiment, a first parameter related to the displacement distance and a second parameter related to the displacement angle are determined, and the first confidence coefficient is calculated according to the first parameter, the second parameter, the displacement distance and the displacement angle, for example, the first parameter and the second parameter are set to be the displacement distance and the displacement angle respectively, and then the corresponding calculation manner of the first confidence coefficient is as follows: the method comprises the steps of carrying out a first treatment on the surface of the
In this embodiment, a third parameter related to the object size, a fourth parameter related to the object distance, and a fifth parameter related to the object angle are determined, and the second confidence is calculated according to the third parameter, the fourth parameter, the fifth parameter, the object size, the object distance, and the object angle, for example, if the third parameter, the fourth parameter, and the fifth parameter are set, respectively, m, d, and t are respectively, the object size, the object distance, and the object angle, then the corresponding calculation manner of the second confidence is: .
In this embodiment, a plurality of light sensing components are respectively disposed in different location areas of the terminal device, and the first confidence coefficient is obtained through the light sensing components in different locations;
optionally, among the plurality of first confidences, the first confidence coefficient with the largest value is compared with the second confidence coefficient, and if the first confidence coefficient is larger than the second confidence coefficient, the screen brightness of the terminal device is adjusted according to the light sensation state at the current moment, so that the adjustment of the screen brightness is more sensitive;
optionally, among the multiple first confidences, the first confidence coefficient with the smallest value is compared with the second confidence coefficient, and if the first confidence coefficient is greater than the second confidence coefficient, the screen brightness of the terminal device is adjusted according to the light sensation state at the current moment, so that the adjustment of the screen brightness is more stable;
Optionally, in the multiple first confidences, taking an average value as the first confidence coefficient and comparing the first confidence coefficient with the second confidence coefficient, if the first confidence coefficient is greater than the second confidence coefficient, adjusting the screen brightness of the terminal device according to the light sensation state at the current moment, so that the adjustment of the screen brightness is more accurate.
The method has the advantages that if the first confidence coefficient is larger than the second confidence coefficient, the screen brightness of the terminal equipment is adjusted according to the light sensation state at the current moment; and if the first confidence coefficient is smaller than the second confidence coefficient, according to the screen brightness at the current moment. The humanized screen brightness control scheme is realized, the accuracy of screen brightness control is improved, the misoperation of the screen brightness of the light sensor under the shielding condition is avoided, and the user experience is enhanced.
Examples ten
Based on the above embodiments, the present invention also proposes a computer-readable storage medium having stored thereon a screen brightness control program which, when executed by a processor, implements the steps of the screen brightness control method as described in any one of the above.
The screen brightness regulation method, the device and the computer readable storage medium are implemented by monitoring and judging whether the light sensation data and the motion data of the terminal device exceed the respective corresponding fluctuation amplitude values or not; if the light sensation data and the motion data exceed the respective corresponding fluctuation amplitude values, acquiring the displacement distance and the displacement angle of the terminal equipment, and acquiring the object size, the object distance and the object angle of a reference object of the terminal equipment; determining a first confidence corresponding to the motion data according to the displacement distance and the displacement angle, and determining a second confidence corresponding to the light sensation data according to the object size, the object distance and the object angle; and determining whether to adjust the screen brightness of the terminal equipment according to the light sensation state at the current moment according to the magnitude relation between the first confidence coefficient and the second confidence coefficient. The humanized screen brightness control scheme is realized, the accuracy of screen brightness control is improved, the misoperation of the screen brightness of the light sensor under the shielding condition is avoided, and the user experience is enhanced.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (10)

1. A method for regulating and controlling screen brightness, the method comprising:
monitoring and judging whether the light sensation data and the motion data of the terminal equipment exceed the respective corresponding fluctuation amplitude values;
if the light sensation data and the motion data exceed the respective corresponding fluctuation amplitude values, acquiring the displacement distance and the displacement angle of the terminal equipment, and acquiring the object size, the object distance and the object angle of a reference object of the terminal equipment;
determining a first confidence corresponding to the motion data according to the displacement distance and the displacement angle, and determining a second confidence corresponding to the light sensation data according to the object size, the object distance and the object angle;
And determining whether to adjust the screen brightness of the terminal equipment according to the light sensation state at the current moment according to the magnitude relation between the first confidence coefficient and the second confidence coefficient.
2. The method according to claim 1, wherein monitoring and judging whether the light sensation data and the motion data of the terminal device both exceed respective corresponding fluctuation magnitudes comprises:
acquiring the light sensation data and the motion data according to a preset frequency;
judging whether the fluctuation amplitude of the light sensation data in the first time period exceeds the corresponding preset fluctuation amplitude, if so, judging whether the fluctuation amplitude of the motion data in the second time period exceeds the corresponding preset fluctuation amplitude;
if yes, determining whether the light sense data and the motion data at the current moment exceed the respective corresponding fluctuation amplitude values.
3. The method of claim 2, wherein if the light sensation data and the motion data both exceed the respective corresponding fluctuation magnitudes, acquiring the displacement distance and the displacement angle of the terminal device, and simultaneously acquiring the object size, the object distance and the object angle of the reference object of the terminal device, comprises:
Acquiring displacement data of the terminal equipment, and determining the displacement distance and the displacement angle according to the displacement data;
and determining at least one reference object through an image sensing component and/or a distance sensing component of the terminal equipment, and acquiring the object size, the object distance and the object angle of the reference object.
4. The screen brightness control method according to claim 3, wherein the determining a first confidence corresponding to the motion data according to the displacement distance and the displacement angle, and determining a second confidence corresponding to the light sensation data according to the object size, the object distance, and the object angle, comprises:
determining a first parameter related to the displacement distance and a second parameter related to the displacement angle, and calculating to obtain the first confidence according to the first parameter, the second parameter, the displacement distance and the displacement angle;
determining a third parameter related to the object size, a fourth parameter related to the object distance and a fifth parameter related to the object angle, and calculating the second confidence according to the third parameter, the fourth parameter, the fifth parameter, the object size, the object distance and the object angle.
5. The method according to claim 4, wherein determining whether to adjust the screen brightness of the terminal device according to the light sensation state at the current time according to the magnitude relation between the first confidence coefficient and the second confidence coefficient comprises:
if the first confidence coefficient is larger than the second confidence coefficient, adjusting the screen brightness of the terminal equipment according to the light sensation state at the current moment;
and if the first confidence coefficient is smaller than the second confidence coefficient, according to the screen brightness at the current moment.
6. A screen brightness control apparatus comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing:
monitoring and judging whether the light sensation data and the motion data of the terminal equipment exceed the respective corresponding fluctuation amplitude values;
if the light sensation data and the motion data exceed the respective corresponding fluctuation amplitude values, acquiring the displacement distance and the displacement angle of the terminal equipment, and acquiring the object size, the object distance and the object angle of a reference object of the terminal equipment;
Determining a first confidence corresponding to the motion data according to the displacement distance and the displacement angle, and determining a second confidence corresponding to the light sensation data according to the object size, the object distance and the object angle;
and determining whether to adjust the screen brightness of the terminal equipment according to the light sensation state at the current moment according to the magnitude relation between the first confidence coefficient and the second confidence coefficient.
7. The screen brightness adjustment device according to claim 6, wherein the computer program when executed by the processor implements:
acquiring the light sensation data and the motion data according to a preset frequency;
judging whether the fluctuation amplitude of the light sensation data in the first time period exceeds the corresponding preset fluctuation amplitude, if so, judging whether the fluctuation amplitude of the motion data in the second time period exceeds the corresponding preset fluctuation amplitude;
if yes, determining whether the light sense data and the motion data at the current moment exceed the respective corresponding fluctuation amplitude values.
8. The screen brightness adjustment device according to claim 7, wherein the computer program when executed by the processor implements:
Acquiring displacement data of the terminal equipment, and determining the displacement distance and the displacement angle according to the displacement data;
and determining at least one reference object through an image sensing component and/or a distance sensing component of the terminal equipment, and acquiring the object size, the object distance and the object angle of the reference object.
9. The screen brightness adjustment device according to claim 8, wherein the computer program when executed by the processor implements:
determining a first parameter related to the displacement distance and a second parameter related to the displacement angle, and calculating to obtain the first confidence according to the first parameter, the second parameter, the displacement distance and the displacement angle;
determining a third parameter related to the object size, a fourth parameter related to the object distance and a fifth parameter related to the object angle, and calculating the second confidence according to the third parameter, the fourth parameter, the fifth parameter, the object size, the object distance and the object angle;
if the first confidence coefficient is larger than the second confidence coefficient, adjusting the screen brightness of the terminal equipment according to the light sensation state at the current moment;
And if the first confidence coefficient is smaller than the second confidence coefficient, according to the screen brightness at the current moment.
10. A computer-readable storage medium, on which a screen brightness control program is stored, which when executed by a processor, implements the steps of the screen brightness control method according to any one of claims 1 to 5.
CN202010208530.0A 2020-03-23 2020-03-23 Screen brightness regulation and control method, equipment and computer readable storage medium Active CN111443818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010208530.0A CN111443818B (en) 2020-03-23 2020-03-23 Screen brightness regulation and control method, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010208530.0A CN111443818B (en) 2020-03-23 2020-03-23 Screen brightness regulation and control method, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111443818A CN111443818A (en) 2020-07-24
CN111443818B true CN111443818B (en) 2023-11-14

Family

ID=71629649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010208530.0A Active CN111443818B (en) 2020-03-23 2020-03-23 Screen brightness regulation and control method, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111443818B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111681593A (en) * 2020-07-29 2020-09-18 北京小米移动软件有限公司 Method and device for adjusting display effect of display screen, terminal equipment and medium
CN112637405A (en) * 2020-12-11 2021-04-09 努比亚技术有限公司 Brightness adjusting method, terminal and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106548764A (en) * 2016-11-24 2017-03-29 北京小米移动软件有限公司 Screen brightness control method and device
CN106652922A (en) * 2017-01-04 2017-05-10 珠海市魅族科技有限公司 Method and system for controlling screen luminance
CN107566635A (en) * 2017-08-30 2018-01-09 努比亚技术有限公司 Screen intensity method to set up, mobile terminal and computer-readable recording medium
CN107767839A (en) * 2017-10-20 2018-03-06 广东欧珀移动通信有限公司 Brightness adjusting method and related product
CN108566490A (en) * 2018-04-16 2018-09-21 Oppo广东移动通信有限公司 The screen control method and device of terminal, readable storage medium storing program for executing, terminal
CN108737652A (en) * 2018-05-11 2018-11-02 Oppo广东移动通信有限公司 Luminance control method for display screen, device, storage medium and electronic equipment
WO2019120028A1 (en) * 2017-12-20 2019-06-27 Oppo广东移动通信有限公司 Intelligent screen brightness adjustment method and apparatus, and storage medium and mobile terminal
EP3599601A1 (en) * 2018-07-27 2020-01-29 Beijing Xiaomi Mobile Software Co., Ltd. Method, apparatus, electronic device and storage medium for controlling brightness of screen

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106548764A (en) * 2016-11-24 2017-03-29 北京小米移动软件有限公司 Screen brightness control method and device
CN106652922A (en) * 2017-01-04 2017-05-10 珠海市魅族科技有限公司 Method and system for controlling screen luminance
CN107566635A (en) * 2017-08-30 2018-01-09 努比亚技术有限公司 Screen intensity method to set up, mobile terminal and computer-readable recording medium
CN107767839A (en) * 2017-10-20 2018-03-06 广东欧珀移动通信有限公司 Brightness adjusting method and related product
WO2019120028A1 (en) * 2017-12-20 2019-06-27 Oppo广东移动通信有限公司 Intelligent screen brightness adjustment method and apparatus, and storage medium and mobile terminal
CN108566490A (en) * 2018-04-16 2018-09-21 Oppo广东移动通信有限公司 The screen control method and device of terminal, readable storage medium storing program for executing, terminal
CN108737652A (en) * 2018-05-11 2018-11-02 Oppo广东移动通信有限公司 Luminance control method for display screen, device, storage medium and electronic equipment
EP3599601A1 (en) * 2018-07-27 2020-01-29 Beijing Xiaomi Mobile Software Co., Ltd. Method, apparatus, electronic device and storage medium for controlling brightness of screen

Also Published As

Publication number Publication date
CN111443818A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN109663353B (en) Game operation method, mobile terminal and computer readable storage medium
CN110175062B (en) Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium
CN110007816B (en) Display area determining method, terminal and computer readable storage medium
CN108184023B (en) Screen state control method, mobile terminal and computer readable storage medium
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN108512625B (en) Anti-interference method for camera, mobile terminal and storage medium
CN109471579B (en) Terminal screen information layout adjustment method and device, mobile terminal and storage medium
CN109144705B (en) Application management method, mobile terminal and computer readable storage medium
CN108958936B (en) Application program switching method, mobile terminal and computer readable storage medium
CN109545120B (en) Screen light sensor adjusting method, mobile terminal and computer readable storage medium
CN111443818B (en) Screen brightness regulation and control method, equipment and computer readable storage medium
CN109389394B (en) Multi-screen payment control method, equipment and computer readable storage medium
CN110096213B (en) Terminal operation method based on gestures, mobile terminal and readable storage medium
CN109817130B (en) Color temperature regulating method, device and computer readable storage medium
CN109491577B (en) Holding interaction method and device and computer readable storage medium
CN111970738B (en) Network switching control method, device and computer readable storage medium
CN109948368B (en) Privacy authority control method, device and computer readable storage medium
CN109711850B (en) Secure payment method, device and computer readable storage medium
CN110060617B (en) Screen light spot compensation method and device, terminal and readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN112667339B (en) Screen refresh rate setting method, terminal and computer readable medium
CN111476231B (en) Image area identification method, device and computer readable storage medium
CN112015508B (en) Screen-throwing interaction control method, equipment and computer-readable storage medium
CN112947831B (en) Screen-throwing reverse control method, mobile terminal and computer readable storage medium
CN110286982B (en) Display method, terminal and storage medium for hand-following animation

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