CN108270919B - Terminal brightness adjusting method, terminal and computer readable storage medium - Google Patents

Terminal brightness adjusting method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108270919B
CN108270919B CN201711449175.0A CN201711449175A CN108270919B CN 108270919 B CN108270919 B CN 108270919B CN 201711449175 A CN201711449175 A CN 201711449175A CN 108270919 B CN108270919 B CN 108270919B
Authority
CN
China
Prior art keywords
display
brightness
terminal
display sub
region
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
CN201711449175.0A
Other languages
Chinese (zh)
Other versions
CN108270919A (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 CN201711449175.0A priority Critical patent/CN108270919B/en
Publication of CN108270919A publication Critical patent/CN108270919A/en
Application granted granted Critical
Publication of CN108270919B publication Critical patent/CN108270919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel

Landscapes

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

Abstract

The invention discloses a terminal brightness adjusting method, a terminal and a computer readable storage medium, wherein when the terminal is detected to be bent, a bent area on the terminal is determined; determining at least two areas obtained by dividing a terminal display screen according to a bending area as display sub-areas on the display screen; after the current external environment brightness in front of at least one display sub-area is obtained, the display parameters of each display sub-area are respectively adjusted according to the current external environment brightness of each display sub-area in the at least one display sub-area, so that the independent adjustment of each display sub-area of each terminal display screen is realized.

Description

Terminal brightness adjusting method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method for adjusting a brightness of a terminal, and a computer-readable storage medium.
Background
With the development of terminal technology, at present, services borne by mobile terminals are more and more, the experience requirements of users on the mobile terminals are higher and higher, and the screen is an important factor directly influencing the user experience, and in recent years, the screen is always concerned by mobile phone manufacturers, and all manufacturers hope to make larger articles on the mobile terminal screen.
At present, in order to promote user experience, a function of automatically adjusting screen brightness is generally provided on a terminal, the terminal obtains the brightness of the environment around the terminal through a photosensitive sensor on the terminal, when the environment brightness becomes dark, the brightness of a display screen of the terminal is reduced, and when the environment brightness becomes bright, the brightness of the display screen of the terminal is promoted.
With the development of the flexible screen, the flexible screen terminal may be used by a user later, the user can bend the flexible screen terminal at different angles, it is conceivable that the external brightness acquired by arranging the optical sensor at the top or the bottom of the terminal after the terminal is bent is no longer accurate for each region of the whole display screen region, and if brightness adjustment is performed on the whole display screen according to the external brightness, the problem that the brightness adjustment of some regions in the display screen is inconsistent with the actual situation occurs. For example, after the terminal is bent, the lower screen is located in a dark place, the brightness of the external environment acquired by the photosensitive sensor at the top of the terminal is stronger, the brightness of the whole display screen is automatically adjusted and improved by the terminal, the display of the lower half part of the display screen also reaches a very bright degree, and the display effect for a user is poor.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a terminal brightness adjustment method, a terminal and a computer readable storage medium, aiming at the technical problem that in the prior art, the brightness of the whole display screen of the terminal can only be adjusted integrally according to the brightness of the external environment of the terminal, so that the brightness adjustment mode of the display screen is single, and the requirements for adjusting different brightness of different areas of the display screen cannot be met.
In order to solve the above technical problem, the present invention provides a terminal brightness adjusting method, including:
determining a bending area on the terminal when the bending of the terminal is detected;
determining at least two areas obtained by dividing a display screen of the terminal according to the bent area as display sub-areas on the display screen;
acquiring the current external environment brightness in front of at least one display sub-area;
and respectively adjusting the display parameters of each display sub-area according to the current external environment brightness of each display sub-area in at least one display sub-area.
Optionally, the adjusting the display parameters of each display sub-region according to the current external environment brightness of each display sub-region in the at least one display sub-region includes:
acquiring the corresponding relation between the external environment brightness and the target display brightness;
determining the target display brightness of each display sub-region according to the current external environment brightness of each display sub-region in at least one display sub-region and the corresponding relation between the external environment brightness and the target display brightness;
and adjusting the display brightness of each display sub-area to the corresponding target display brightness.
Optionally, the adjusting the display parameters of each display sub-region according to the current external environment brightness of each display sub-region in the at least one display sub-region includes:
acquiring a prestored first external environment brightness in front of the display screen before the terminal bends at this time;
determining the change of the external environment brightness of each display subarea in at least one display subarea before and after the terminal is bent according to the first external environment brightness and the current external environment brightness;
and adjusting the current display brightness of each display sub-area according to the change of the external environment brightness of each display sub-area.
Optionally, adjusting the current display brightness of each display sub-region according to the change of the external environment brightness of each display sub-region includes:
acquiring the current display brightness of each display sub-region, and acquiring the change value of the external environment brightness of each display sub-region before and after the terminal is bent at this time;
determining the target display brightness of each display sub-region according to the change value of each display sub-region and the current display brightness of each display sub-region;
and adjusting the display brightness of each display sub-area to the corresponding target display brightness.
Optionally, the change value of the external environment brightness of each display sub-region before and after the terminal is bent at this time is a brightness difference value between the current external environment brightness of each display sub-region and the corresponding first external environment brightness;
determining the target display brightness of each display sub-region according to the change value of each display sub-region and the current display brightness of each display sub-region comprises:
and summing the current display brightness of each display sub-area and the brightness difference value corresponding to each display sub-area respectively to obtain the target display brightness of each display sub-area.
Optionally, before the display parameters of each display sub-region are respectively adjusted according to the current external environment brightness of each display sub-region in the at least one display sub-region, the method further includes:
judging whether the current external environment brightness of each display sub-area is lower than a preset low brightness threshold or higher than a preset high brightness threshold;
if so, acquiring external light source information through a camera of the terminal;
adjusting the display parameters of each display subarea according to the external light source information and the current external environment brightness of each display subarea;
and if not, respectively adjusting the display parameters of each display sub-area according to the current external environment brightness of each display sub-area in at least one display sub-area.
Optionally, the obtaining of the current external environment brightness in front of the at least one display sub-region includes:
and determining the current external environment brightness in front of at least one display sub-area according to the position of the photosensitive sensor on the terminal and the detection data of the photosensitive sensor.
Optionally, before determining the bending area on the terminal, detecting whether the terminal is bent; detecting whether the terminal is bent includes:
detecting whether light rays emitted from all positions of a display screen of the terminal have intersection angles or not, and determining whether the terminal is bent or not according to a detection result;
or, detecting whether a preset bendable part on the terminal is bent or not.
Furthermore, the invention also provides a terminal, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing one or more programs stored in the memory to realize the steps of the terminal brightness adjusting method.
Further, the present invention also provides a computer-readable storage medium, which stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps of the terminal brightness adjusting method as described above.
Has the advantages that:
the invention provides a terminal brightness adjusting method, a terminal and a computer readable storage medium, which determine a bending area on the terminal when the bending of the terminal is detected; determining at least two areas obtained by dividing a terminal display screen according to a bending area as display sub-areas on the display screen; after the current external environment brightness in front of at least one display sub-area is obtained, the display parameters of each display sub-area are respectively adjusted according to the current external environment brightness of each display sub-area in the at least one display sub-area, so that the independent adjustment of each display sub-area of each terminal display screen is realized.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is an electrical schematic diagram of an alternative terminal for implementing various embodiments of the present invention.
Fig. 2 is a flowchart of a method for adjusting brightness of a terminal according to a first embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a display sub-area divided after a terminal is bent according to a first embodiment of the present invention;
fig. 4 is a schematic diagram of another terminal divided into display sub-regions after being bent according to the first embodiment of the present invention;
fig. 5 is a structural diagram of a terminal according to a second embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal of the present invention may be a terminal having a bendable screen, and the display screen of the terminal may be a flexible screen, and the terminal of the present invention may be implemented in various forms. For example, the terminal described in the present invention may be a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing 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 call 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 related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a 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 graphic 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 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone 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 audio signals.
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 that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
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 (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 generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, 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 a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a 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 direction 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 sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. 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, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (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 external devices 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 external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the 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 operating 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, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly 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 supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via 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 in detail herein.
The first embodiment:
at present, in order to be distinguished from a plurality of terminal manufacturers, a plurality of manufacturers want to develop more attractive terminals with more characteristics, for example, some manufacturers develop a foldable dual-screen terminal, but the terminal cannot achieve seamless connection of screens when being unfolded. And the application of the flexible screen to the terminal can solve the problem. However, no matter what type of foldable terminal, if the terminal is folded during use, the ambient brightness of the display screens on the two sides of the folded portion may be different, if the screen brightness automatic adjustment mode in the prior art is adopted, the overall brightness of the display screens can only be adjusted, and the display brightness of the folded terminal in the area of the display screen with low ambient brightness may be increased, thereby reducing user experience. In order to avoid this situation, the requirement of different display brightness in different areas of the display screen of the bent terminal is met, as shown in fig. 2, this embodiment provides a method for adjusting the brightness of the terminal.
S201, when the bending of the terminal is detected, determining a bending area on the terminal;
the terminal in this embodiment is a terminal having a bendable function, and the display screen of the terminal is a flexible display screen. In one example, the terminal may be bendable at any location with structural support; in another example, the terminal may be provided with a bendable portion corresponding to the terminal, and non-bendable hardware is avoided.
In practice, it is conceivable that if the bending region on the terminal is not within the range of the display screen of the terminal, the bending region does not divide the display screen into different display sub-regions, so that the detection of the bending of the terminal in S201 of the embodiment includes the detection of the bending of the terminal in the display screen region.
In practice, the bending of the detection terminal can be realized in multiple modes, if all places on the terminal are bendable, parameters (such as parameters of a pressure sensor on the display screen of the terminal) which are used for judging whether the terminal is bent or not on the display screen of the terminal are collected, if the terminal is provided with a bendable part only in a limited place, only whether a preset bendable part on the detection terminal is bent or not is required, the parameters which are used for judging whether the terminal is bent or not on the specific bendable part can be collected, and whether the bendable part is bent or not is judged according to the parameters. In the latter scheme, a sensor for detecting a parameter for determining whether the terminal is bent may be provided only at the bendable portion of the terminal and in the vicinity thereof, which is advantageous for reducing the cost. In addition, if the pressure sensor is adopted, the bending position, the bending direction and the like can be determined according to pressure values at various positions on the display screen of the terminal.
It is conceivable that if the terminal is bent, the bent portion forms an included angle, and light rays emitted from the screen on both sides of the bent portion actually intersect, so in this embodiment, detecting whether the terminal is bent includes: whether the light rays emitted from all parts of the display screen of the terminal have intersection angles or not is detected, and whether the terminal is bent or not is determined according to the detection result.
S202, determining at least two areas obtained by dividing the terminal display screen according to the bent area as display sub-areas on the display screen;
after the terminal is bent, there is necessarily a bending region, and the bending region in S201 may be one, two, and the like, which is not limited by the embodiment.
In S202, the positions and the number of the display sub-regions are determined according to the positions and the number of the curved regions, and when the terminal display screen is divided into at least two display sub-regions according to the curved regions, the curved regions play a role in dividing the display screen into a plurality of display sub-regions (but not necessarily dividing the whole display screen), and the two sides of the curved regions belong to different display sub-regions. For example, as shown in fig. 3, if there is only one bent area of the terminal (area a in fig. 3), the display sub-areas are areas B and C of the display screen on both sides of a boundary line (dotted line in fig. 3) in the bent area. As shown in fig. 4, if there are two bending regions of the terminal (regions D and E in fig. 4), three display sub-regions are: the dotted line on the curved region D to the region at the top of the display screen (F in fig. 4), the region between the dotted line on the curved region D and the dotted line on the curved region E (G in fig. 4), and the dotted line on the curved region E to the region at the bottom of the display screen (H in fig. 4).
The adjustment of the display parameters of the divided display sub-regions can be independent from each other, that is, the terminal can adjust the display parameters of any one or more of the display sub-regions, and the adjustment range of the display parameters of each display sub-region by the terminal can be different.
S203, acquiring the brightness of the current external environment in front of at least one display sub-region;
in order to enable the terminal to adjust the brightness of each display sub-region to meet the brightness change of the external environment and meet the user requirements, the current environment brightness in front of at least one display sub-region needs to be acquired.
In one example, the current ambient brightness in front of all the display sub-regions may be directly obtained in S203. In another example, considering that if the external environment brightness in front of different display sub-regions changes due to bending, it is only necessary to determine the external environment brightness of a region where the relative position with respect to the user changes significantly, specifically, in S203, a display sub-region where the change of the included angle between the display screen and the line of sight of the user after the terminal is bent meets a preset range may be determined first, and only the current external environment brightness in front of the display sub-region is obtained. In another example, considering that when the user uses the terminal, if the user is in a holding state, when the terminal is bent, the external environment brightness of the screen on the top side of the terminal generally changes, and the external environment brightness of the lower portion of the terminal (generally, the side held by the human hand) generally does not change, in S203, it may be determined whether the holding state of the human hand is a vertical holding state, and if so, the current external environment brightness from the bent portion of the terminal to the display screen on the top of the terminal is obtained; and if the holding state of the hand is the horizontal holding state, acquiring the current external environment brightness in front of at least one display sub-area according to the other rules.
In one example, the ambient brightness of the terminal may be collected by a light-sensitive sensor, and the position of the light-sensitive sensor may determine which display sub-region is the ambient brightness collected by the light-sensitive sensor. Specifically, the step of obtaining the current external environment brightness in front of the at least one display sub-region in S203 includes:
and determining the current external environment brightness in front of at least one display sub-area according to the position of the photosensitive sensor on the terminal and the detection data of the photosensitive sensor.
In order to ensure the detection accuracy of the external environment brightness of each display sub-area, the terminal of the embodiment may be provided with a plurality of photosensitive sensors. Further, a set of light sensitive sensors may be provided at least on both the top and bottom of the terminal.
And S204, respectively adjusting the display parameters of each display sub-area according to the current external environment brightness of each display sub-area in at least one display sub-area.
The display parameters in the present embodiment include, but are not limited to, display brightness, color saturation, and the like.
In an example, when the display parameters of each display sub-region are respectively adjusted according to the current external environment brightness of each display sub-region in at least one display sub-region, only the current external environment brightness of each display sub-region may be considered, and the display brightness of each display sub-region before the current bending, the external environment brightness, and the like may not be considered. And determining the adjusted target display brightness of each display sub-area according to the current external environment brightness of each display sub-area in the display sub-areas, and adjusting each display sub-area according to the target adjustment brightness.
Specifically, in this scheme, the step S204 of respectively adjusting the display parameters of each display sub-region according to the current external environment brightness of each display sub-region in at least one display sub-region includes:
acquiring the corresponding relation between the external environment brightness and the target display brightness;
determining the target display brightness of each display sub-region according to the current external environment brightness of each display sub-region in at least one display sub-region and the corresponding relation between the external environment brightness and the target display brightness;
and adjusting the display brightness of each display sub-area to the corresponding target display brightness.
In this scheme, the corresponding relationship between the external environment brightness and the target display brightness may be preset on the terminal, or may be downloaded by the terminal from a server or other terminals through a network in real time, which is not limited in this embodiment.
A scheme of determining the adjusted target display brightness of each display sub-region according to the current external environment brightness of each display sub-region in the display sub-regions and adjusting each display sub-region according to the target adjusted brightness will be described below with reference to fig. 4.
Referring to fig. 4, the display sub-areas on the terminal are F, G, H, assuming that the terminal pair F, G, H obtains the corresponding current external environment luminances a, b, and c, assuming that the corresponding relationship between the external environment luminance and the target display luminance is consulted, finding that the target display luminance corresponding to the external environment luminance a is d, the target display luminance corresponding to the external environment luminance b is e, and the target display luminance corresponding to the external environment luminance c is F, in step S204, the display luminance in the F area is adjusted to d, the display luminance in the G area is adjusted to e, and the display luminance in the H area is adjusted to F.
In another example, after the display sub-regions are determined, it may be further determined which display sub-region and the change of the included angle between the user's sight line meet the preset range, so as to determine which display sub-region may need to adjust the display parameter, for example, in the above example, after it is assumed that the display sub-regions are determined to be F, G, H respectively, it is determined that only the change of the included angle between the F region and the user's sight line before and after the terminal bends this time meets the preset range, the photosensitive sensor at the top of the terminal (on one side of the F region) is controlled to collect the current external environment brightness a, the target display brightness corresponding to the current external environment brightness a is determined to be d according to the corresponding relationship between the external environment brightness and the target display brightness, and the display brightness of the F.
In an example, when the display parameters of each display sub-region are respectively adjusted according to the current external environment brightness of each display sub-region in at least one display sub-region, the display brightness of each display sub-region before the current bending, the external environment brightness, and the like may be combined to adjust each display sub-region on the basis of the current external environment brightness of each display sub-region.
Specifically, the adjusting the display parameters of each display sub-region according to the current external environment brightness of each display sub-region in at least one display sub-region includes:
acquiring a prestored first external environment brightness in front of the display screen before the terminal bends at this time;
determining the change of the external environment brightness of each display subarea in at least one display subarea before and after the terminal is bent according to the first external environment brightness and the current external environment brightness;
and adjusting the current display brightness of each display sub-area according to the change of the external environment brightness of each display sub-area.
In the above scheme, the terminal needs to pre-store the external environment brightness in front of the display screen before bending. The terminal can acquire and store the external environment brightness according to the preset time interval. When necessary, the outside environment brightness at the latest time before the bending is acquired as the above-described first outside environment brightness.
The change of the external environment brightness of each display sub-region before and after the terminal bends at this time may be a value, or may be a change direction (increasing or decreasing).
In an example, the current display brightness of each display sub-region may be adjusted simply according to the direction of the change of the external environment brightness of each display sub-region before and after the terminal is bent this time, and specifically, the adjusting the current display brightness of each display sub-region according to the change of the external environment brightness of each display sub-region includes: if the brightness of the external environment of a certain display subarea in each display subarea is reduced, the display brightness of the display subarea is improved; and if the external environment brightness of a certain display subarea in each display subarea is increased, reducing the display brightness of the display subarea.
The adjustment range of the display brightness of each display sub-region may be a fixed adjustment range, or may be determined by the range of the brightness change of the external environment of each display sub-region before and after the terminal is bent this time.
In another example, the current display brightness of each display sub-region may be adjusted simply according to a change value of the external environment brightness of each display sub-region before and after the terminal bends this time, specifically, the adjusting the current display brightness of each display sub-region according to the change of the external environment brightness of each display sub-region includes:
acquiring the current display brightness of each display sub-region, and acquiring the change value of the external environment brightness of each display sub-region before and after the terminal is bent at this time;
determining the target display brightness of each display sub-region according to the change value of each display sub-region and the current display brightness of each display sub-region;
and adjusting the display brightness of each display sub-area to the corresponding target display brightness.
In an example, the adjustment value of the current display brightness may be determined by the change value of the external environment brightness of each display sub-region before and after the terminal bends this time, for example, if the change value of the external environment brightness of a certain display sub-region before and after the terminal bends this time is a positive number a, the adjustment value of this time is + k, and the display brightness of the display sub-region is adjusted to the sum of the current display brightness and + k. And if the change value of the external environment brightness of a certain display sub-region before and after the terminal bends at this time is a positive number 2a, the current adjustment value is +2k, and the display brightness of the display sub-region is adjusted to be the sum of the current display brightness and +2 k.
In another example, the change value of the external environment brightness of each display sub-region before and after the terminal bends this time is the brightness difference value between the current external environment brightness of each display sub-region and the corresponding first external environment brightness; determining the target display brightness of each display sub-region according to the change value of each display sub-region and the current display brightness of each display sub-region comprises:
and summing the current display brightness of each display sub-area and the brightness difference value corresponding to each display sub-area respectively to obtain the target display brightness of each display sub-area.
A scheme of adjusting the brightness of each display sub-region according to the change value of each display sub-region and the current display brightness of each display sub-region will be described below with reference to fig. 3.
Referring to fig. 3, display sub-areas on the terminal are respectively B and C, assuming that the terminal respectively obtains corresponding current external environment brightness B and C for the B and C, in information pre-stored in the terminal, the screen brightness of the B and C areas before the terminal is bent is a, and the first external environment brightness is d, according to calculation, the target display brightness of the display sub-area B after the terminal is bent is a + B-d, the target display brightness of the display sub-area C after the terminal is bent is a + C-d, the terminal adjusts the screen brightness of the display sub-area B from the current a to the target display brightness a + B-d, and the terminal adjusts the screen brightness of the display sub-area C from the current a to the target display brightness a + C-d.
For the above embodiment, if the user erects the terminal in fig. 3 and the holding area is generally within C, it may be assumed that the external environment brightness of the area C (lower screen of the terminal) generally does not change, and only the current external environment brightness B corresponding to the display sub-area B may be obtained, in the information pre-stored in the terminal, the screen brightness of the area B before the terminal is bent is a, and the first external environment brightness is d, according to the calculation, the target display brightness of the display sub-area B after the terminal is bent is a + B-d, the terminal adjusts the screen brightness of the display sub-area B from the current a to the target display brightness a + B-d, and the screen brightness of the display sub-area C is not adjusted.
In practice, when the user uses the terminal, the ambient brightness acquired by the photosensitive sensor may be incorrect, for example, in the case that the user hides the photosensitive sensor, the ambient brightness acquired by the photosensitive sensor is lower than the actual value. In order to avoid the occurrence of such acquisition errors, in this embodiment, the brightness of the display sub-area may be adjusted by combining with a camera of the terminal.
Specifically, before the display parameters of each display sub-region are respectively adjusted according to the current external environment brightness of each display sub-region in at least one display sub-region, the method further includes:
judging whether the current external environment brightness of each display sub-area is lower than a preset low brightness threshold or higher than a preset high brightness threshold;
if so, acquiring external light source information through a camera of the terminal;
adjusting the display parameters of each display subarea according to the external light source information and the current external environment brightness of each display subarea;
and if not, respectively adjusting the display parameters of each display sub-area according to the current external environment brightness of each display sub-area in at least one display sub-area.
Specifically, the external light source information includes a position (e.g., a relative position with the terminal) and a brightness of the external light source, and the adjusting the display parameters of each display sub-region according to the external light source information and the current external environment brightness of each display sub-region includes:
and respectively adjusting the display parameters of each display sub-region according to at least one of the position and the brightness of the external light source and the current external environment brightness of each display sub-region.
In this example. The low brightness threshold and the high brightness threshold higher than the preset brightness threshold are set according to actual requirements.
Also taking fig. 3 as an example, assuming that for the terminal in fig. 3, the current external environment brightness acquired by the photosensitive sensor at the top of the terminal is lower than the preset low brightness threshold, the terminal starts a camera (a front camera or a rear camera) to acquire external light source information, and determines the position of the external light source according to the external light source information; if it is determined that an external light source exists in front of the display sub-region B in fig. 3, it may be determined that the current external environment brightness acquired by the photosensor is incorrect, then an angle between the region B and the region C and the current external environment brightness of the region C may be acquired, the current environment brightness of the region B is estimated according to the angle and the current external environment brightness of the region C, and then the display parameters of the display sub-regions are respectively adjusted according to the current environment brightness of the display sub-regions.
By adopting the scheme of the embodiment, the adjustment of the brightness of the display screen is not the integral adjustment in the prior art, but different brightness adjustments can be carried out on different display sub-regions on the display screen, so that different requirements of the display sub-regions on the same display screen under different external brightness on the display brightness are met, and the improvement of user experience is facilitated.
Second embodiment:
as shown in fig. 5, the present embodiment provides a terminal, which includes a processor 51, a memory 52 and a communication bus 53;
the communication bus 53 is used for realizing connection communication between the processor 51 and the memory 52;
the processor 51 is used for executing one or more programs stored in the memory 52 to implement the steps of the terminal brightness adjusting method as set forth in the first embodiment.
The present embodiment also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the terminal brightness adjusting method as set forth in the first embodiment.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A terminal brightness adjusting method is characterized by comprising the following steps:
detecting whether light rays emitted from all positions of a display screen of the terminal have intersection angles or not, and determining whether the terminal is bent or not according to a detection result; or, detecting whether a preset bendable part on the terminal is bent or not; whether the bending part preset on the detection terminal is bent or not comprises the following steps: judging whether the preset bendable part is bent or not according to the parameters of the preset bendable part acquired by the pressure sensor;
determining a bending area on the terminal when bending of the terminal is detected;
determining at least two areas obtained by dividing the display screen of the terminal according to the bent area as display sub-areas on the display screen;
acquiring the current external environment brightness in front of at least one display subarea in the display subareas of which the change of the included angle between the display screen and the sight of the user after the terminal is bent meets a preset range; or, detecting the holding state of the terminal, and acquiring the current external environment brightness in front of at least one display sub-region in the non-holding part of the terminal;
adjusting the display parameters of each display sub-area according to the current external environment brightness of each display sub-area in the at least one display sub-area; the display parameters include at least one of: display brightness, color saturation.
2. The method for adjusting the brightness of the terminal according to claim 1, wherein the adjusting the display parameters of each display sub-region according to the current external environment brightness of each display sub-region in the at least one display sub-region comprises:
acquiring the corresponding relation between the external environment brightness and the target display brightness;
determining the respective target display brightness of each display sub-region according to the current external environment brightness of each display sub-region in the at least one display sub-region and the corresponding relation between the external environment brightness and the target display brightness;
and adjusting the display brightness of each display sub-area to the corresponding target display brightness respectively.
3. The method for adjusting the brightness of the terminal according to claim 1, wherein the adjusting the display parameters of each display sub-region according to the current external environment brightness of each display sub-region in the at least one display sub-region comprises:
obtaining a prestored first external environment brightness in front of the display screen before the terminal is bent at this time;
determining the change of the external environment brightness of each display subarea in the at least one display subarea before and after the terminal bends this time according to the first external environment brightness and the current external environment brightness;
and adjusting the current display brightness of each display sub-region according to the change of the external environment brightness of each display sub-region.
4. The method for adjusting the brightness of the terminal according to claim 3, wherein the adjusting the current display brightness of each display sub-region according to the change of the brightness of the external environment of each display sub-region comprises:
acquiring the current display brightness of each display sub-region, and acquiring the change value of the external environment brightness of each display sub-region before and after the terminal bends this time;
determining the target display brightness of each display sub-region according to the change value of each display sub-region and the current display brightness of each display sub-region;
and adjusting the display brightness of each display sub-area to the corresponding target display brightness.
5. The method according to claim 4, wherein the change value of the external environment brightness of each display sub-region before and after the current bending of the terminal is a brightness difference between the current external environment brightness of each display sub-region and the corresponding first external environment brightness;
the determining the target display brightness of each display sub-region according to the variation value of each display sub-region and the current display brightness of each display sub-region includes:
and summing the current display brightness of each display sub-region and the brightness difference value corresponding to each display sub-region respectively to obtain the target display brightness of each display sub-region.
6. The method for adjusting the brightness of a terminal according to any one of claims 1 to 5, wherein before adjusting the display parameters of each display sub-region according to the current ambient brightness of each display sub-region in the at least one display sub-region, the method further comprises:
judging whether the current external environment brightness of each display sub-area is lower than a preset low brightness threshold or higher than a preset high brightness threshold;
if so, acquiring external light source information through a camera of the terminal;
adjusting the display parameters of each display subarea according to the external light source information and the current external environment brightness of each display subarea;
and if not, respectively adjusting the display parameters of each display sub-area according to the current external environment brightness of each display sub-area in the at least one display sub-area.
7. The terminal brightness adjustment method according to any one of claims 1-5, characterized in that obtaining the current ambient brightness in front of at least one display sub-area comprises:
and determining the current external environment brightness in front of at least one display sub-area according to the position of the photosensitive sensor on the terminal and the detection data of the photosensitive sensor.
8. A terminal, characterized in that the terminal comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the control method of the terminal brightness adjustment method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the terminal brightness adjustment method according to any one of claims 1 to 7.
CN201711449175.0A 2017-12-27 2017-12-27 Terminal brightness adjusting method, terminal and computer readable storage medium Active CN108270919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711449175.0A CN108270919B (en) 2017-12-27 2017-12-27 Terminal brightness adjusting method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711449175.0A CN108270919B (en) 2017-12-27 2017-12-27 Terminal brightness adjusting method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108270919A CN108270919A (en) 2018-07-10
CN108270919B true CN108270919B (en) 2020-12-04

Family

ID=62772512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711449175.0A Active CN108270919B (en) 2017-12-27 2017-12-27 Terminal brightness adjusting method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108270919B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144455B (en) * 2018-09-25 2022-01-25 Oppo(重庆)智能科技有限公司 Display control method and related product
CN109521979B (en) * 2018-09-29 2022-01-25 努比亚技术有限公司 Display control method, terminal and computer-readable storage medium
CN109471494B (en) * 2018-09-29 2021-12-03 努比亚技术有限公司 Display control method of bent screen terminal, terminal and computer readable storage medium
CN109616081A (en) * 2018-11-30 2019-04-12 努比亚技术有限公司 Display lightness regulating method, flexible screen terminal and computer readable storage medium
WO2020140254A1 (en) * 2019-01-04 2020-07-09 深圳市柔宇科技有限公司 Brightness compensation method, foldable display device and storage medium
US10909951B2 (en) 2019-01-16 2021-02-02 International Business Machines Corporation Localized glare reduction on user interfaces
CN109887448A (en) * 2019-01-29 2019-06-14 努比亚技术有限公司 A kind of flexible screen display methods, mobile terminal and computer readable storage medium
CN110120208B (en) * 2019-04-30 2021-05-25 努比亚技术有限公司 Method for automatically adjusting screen display, wearable device and storage medium
CN112542118A (en) * 2019-09-20 2021-03-23 北京小米移动软件有限公司 Flexible screen display adjusting method and device and storage medium
CN111508134B (en) * 2020-04-22 2022-05-13 新石器慧通(北京)科技有限公司 Control method and device for display screen on carrier and unmanned vehicle
CN112130736A (en) * 2020-09-29 2020-12-25 联想(北京)有限公司 Control method, electronic device and computer readable storage medium
CN113643674B (en) * 2021-08-13 2022-09-30 深圳创维-Rgb电子有限公司 Display device, screen brightness adjusting method and device thereof and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103208269B (en) * 2012-01-16 2015-12-09 联想(北京)有限公司 A kind of method and device adjusting screen intensity
KR20160064526A (en) * 2014-11-28 2016-06-08 곽하늘 Flexible Indirect Ilumination
CN105577932B (en) * 2015-12-29 2019-10-25 Oppo广东移动通信有限公司 A kind of screen luminance adjustment method and mobile terminal
CN106648374B (en) * 2016-12-30 2019-02-15 维沃移动通信有限公司 A kind of mobile terminal screen brightness adjusting method and mobile terminal
CN107368239B (en) * 2017-06-19 2021-04-13 联想(北京)有限公司 Screen display parameter adjusting method and electronic equipment

Also Published As

Publication number Publication date
CN108270919A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
CN108270919B (en) Terminal brightness adjusting method, terminal and computer readable storage medium
CN107943551B (en) Screen display method and mobile terminal
CN109639879B (en) Screen display control method, foldable terminal and computer readable storage medium
CN108073343B (en) display interface adjusting method and mobile terminal
CN109725683B (en) Program display control method and folding screen terminal
CN110035176B (en) Brightness adjusting method of mobile terminal, mobile terminal and storage medium
CN108196776B (en) Terminal screen splitting method, terminal and computer readable storage medium
CN107248137B (en) Method for realizing image processing and mobile terminal
CN109257505B (en) Screen control method and mobile terminal
CN108055392B (en) Display area adjusting method, mobile terminal and computer readable storage medium
CN109348019B (en) Display method and device
CN108769893B (en) Terminal detection method and terminal
CN111031234B (en) Image processing method and electronic equipment
CN109782992B (en) Video playing method, double-screen terminal and computer readable storage medium
CN107153500B (en) Method and equipment for realizing image display
CN108174109B (en) Photographing method and mobile terminal
CN111142679A (en) Display processing method and electronic equipment
CN110058686B (en) Control method and terminal equipment
CN109859718B (en) Screen brightness adjusting method and terminal equipment
US20220141390A1 (en) Photographing method, device, and system, and computer-readable storage medium
CN109995391B (en) Picture display method, intelligent wearable terminal and computer readable storage medium
CN109597546B (en) Icon processing method and terminal equipment
CN109257504B (en) Audio processing method and terminal equipment
CN108536404B (en) Display control method, bendable terminal and computer readable storage medium
CN107729100B (en) Interface display control method and mobile terminal

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