CN109949777B - Brightness adjusting method and device, mobile terminal and storage medium - Google Patents

Brightness adjusting method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN109949777B
CN109949777B CN201910204912.3A CN201910204912A CN109949777B CN 109949777 B CN109949777 B CN 109949777B CN 201910204912 A CN201910204912 A CN 201910204912A CN 109949777 B CN109949777 B CN 109949777B
Authority
CN
China
Prior art keywords
display area
screen
display
brightness
value
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
CN201910204912.3A
Other languages
Chinese (zh)
Other versions
CN109949777A (en
Inventor
杨冬笋
陈彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910204912.3A priority Critical patent/CN109949777B/en
Publication of CN109949777A publication Critical patent/CN109949777A/en
Application granted granted Critical
Publication of CN109949777B publication Critical patent/CN109949777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application discloses a brightness adjusting method, a brightness adjusting device, a mobile terminal and a storage medium, wherein the method comprises the following steps: acquiring a screen brightness adjusting instruction during split-screen display; and adjusting the screen brightness corresponding to at least one display area in the first display area and the second display area according to the screen brightness adjusting instruction. According to the method and the device, the screen brightness corresponding to different display areas in the foldable display screen is independently adjusted, and the split-screen display effect is improved.

Description

Brightness adjusting method and device, mobile terminal and storage medium
Technical Field
The present application relates to the field of terminal display technologies, and in particular, to a brightness adjustment method and apparatus, a mobile terminal, and a storage medium.
Background
With the increasing size of the terminal screen, a multi-application split-screen display technology is implemented in a terminal (such as a smart phone, a tablet computer, a game machine, etc.), which enables the interfaces of multiple applications to be simultaneously displayed on different window areas of the screen, for example, a user can simultaneously display a chat interface and a video playing interface on the terminal display screen through split screens, so as to realize simultaneous chat and video watching. In the using process, users may have different requirements on the display brightness of the display interfaces of different application programs, but at present, when the terminal displays in a split screen mode, the brightness of the whole screen can only be adjusted.
Disclosure of Invention
In view of the above problems, the present application provides a brightness adjustment method, device, mobile terminal and storage medium, which can improve the split-screen display effect.
In a first aspect, an embodiment of the present application provides a brightness adjustment method, which is applied to a terminal with a foldable display screen, where the display screen at least includes a first display area and a second display area separated by a bending area, and the method includes: acquiring a screen brightness adjusting instruction during split-screen display; and adjusting the screen brightness corresponding to at least one display area in the first display area and the second display area according to the screen brightness adjusting instruction.
In a second aspect, an embodiment of the present application provides a brightness adjustment apparatus, which is suitable for a terminal with a foldable display screen, where the display screen at least includes a first display area and a second display area separated by a bending area, and the apparatus includes: the instruction acquisition module is used for acquiring a screen brightness adjustment instruction during split-screen display; and the brightness adjusting module is used for adjusting the screen brightness corresponding to at least one display area in the first display area and the second display area according to the screen brightness adjusting instruction.
In a third aspect, an embodiment of the present application provides a mobile terminal, which includes: a memory; one or more processors coupled with the memory; one or more programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of the first aspect as described above.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, in which program codes are stored, and the program codes can be called by a processor to execute the method according to the first aspect.
According to the brightness adjusting method and device, the mobile terminal and the storage medium, when split-screen display is performed, the screen brightness adjusting instruction is obtained, and then the screen brightness corresponding to at least one of the first display area and the second display area is adjusted according to the screen brightness adjusting instruction. So, this application has improved the effect that divides the screen display to show through the screen brightness that different regions correspond in the collapsible display screen of independent regulation.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a mobile terminal provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a mobile terminal provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a mobile terminal provided by an embodiment of the present application;
fig. 4 is a schematic diagram of a mobile terminal provided by an embodiment of the present application;
fig. 5 is a schematic diagram of a mobile terminal provided by an embodiment of the present application;
fig. 6 is a schematic diagram of a mobile terminal provided in an embodiment of the present application;
fig. 7 is a flowchart illustrating a brightness adjustment method according to an embodiment of the present application;
FIG. 8 is a schematic interface diagram illustrating an embodiment of a brightness adjustment method;
fig. 9 is a schematic flow chart illustrating a brightness adjustment method according to another embodiment of the present application;
fig. 10 is a schematic flowchart illustrating steps S811 to S813 of a brightness adjustment method according to another embodiment of the present application;
FIG. 11 is a schematic interface diagram illustrating a brightness adjustment method according to another embodiment of the present application;
fig. 12 is a schematic flowchart illustrating steps S805 to S807 of a brightness adjustment method according to another embodiment of the present application;
FIG. 13 is a schematic interface diagram illustrating a brightness adjustment method according to another embodiment of the present application;
fig. 14 is a schematic flowchart illustrating steps S808 to S810 of a brightness adjustment method according to another embodiment of the present application;
fig. 15 is a flowchart illustrating steps S821 to S822 of a brightness adjustment method according to another embodiment of the present application;
FIG. 16 is a schematic interface diagram illustrating a brightness adjustment method according to another embodiment of the present application;
fig. 17 shows a block diagram of a brightness adjustment apparatus according to an embodiment of the present application;
fig. 18 is a block diagram illustrating a mobile terminal according to an embodiment of the present application for executing a brightness adjustment method according to an embodiment of the present application;
fig. 19 illustrates a storage unit of an embodiment of the present application for storing or carrying a program code implementing a brightness adjustment method provided according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are only for the purpose of explaining the present application and are not to be construed as limiting the present application.
Referring to fig. 1, fig. 1 is a schematic diagram of a mobile terminal according to an embodiment of the present application. The mobile terminal 100 includes a foldable display 130, a first housing 41, a second housing 42, and a connecting assembly 43 connected between the first housing 41 and the second housing 42, wherein the first housing 41 and the second housing 42 are folded by the connecting assembly 43.
The first housing 41 includes a first supporting surface connected to the back surface of the foldable display screen 130 and a first back surface opposite to the first supporting surface, and the second housing 42 includes a second supporting surface connected to the back surface of the storage display screen and a second back surface opposite to the second supporting surface. Accordingly, the foldable display screen 130 at least includes a first display area 131 and a second display area separated by a bending area 133, wherein the first display area 131 corresponds to a position of the first housing 41, the second display area 132 corresponds to a position of the second housing 42, and the bending area 133 corresponds to a position of the connecting assembly 43. In one embodiment, the first display region 131, the second display region 132 and the bending region 133 are made of flexible materials and have a certain expansion and contraction ductility; in another embodiment, only the bending region 133 is made of a flexible material, and the first and second display regions 131 and 132 are made of a non-flexible material.
In an alternative embodiment, the connection assembly 43 of the mobile terminal 100 is of a manual construction. When the user manually separates the first housing 41 and the second housing 42, the mobile terminal 100 is changed from the folded state to the unfolded state; when the user manually closes the first housing 41 and the second housing 42, the mobile terminal 100 is changed from the unfolded state to the folded state. It should be noted that the unfolded state includes a flat state, and when the mobile terminal 100 is in the flat state, the first supporting surface of the first casing 41 and the second supporting surface of the second casing are in the same plane (an included angle between the first casing 41 and the second casing 42 is 180 °).
In another alternative embodiment, the connection assembly 43 of the mobile terminal 100 is of an electric structure, for example, an electric rotating member such as an electric motor is disposed in the connection assembly 43. The first housing 41 and the second housing 42 are automatically closed or separated by the electric rotating member, so that the mobile terminal 100 can be unfolded and folded.
The bending region 133 may be a curved display region formed by bending the foldable display screen 130, or may be a bending axis of the foldable display screen 130, corresponding to the bending axis of the connecting assembly 43.
In some possible embodiments, the first display region 131 and the second display region 132 may not be separated by the bending region, but may be arbitrarily divided. Alternatively, the display area of display screen 130 may be divided by a slide gesture acting on display screen 130, for example, display screen 130 may be divided into an upper display area and a lower display area by a horizontal slide gesture acting on display screen 130, and display screen 130 may be divided into a left display area and a right display area by a vertical slide gesture acting on display screen 130. Further optionally, the slide gesture may be applied to a display area, and the display area may be further divided by the slide gesture in the horizontal direction, the vertical direction, and the like.
The first display area 131 and the second display area 132 may display the same display content or different display contents; the interfaces of different applications may be displayed, or different interfaces of the same application may be displayed, and the display content of each display area is not limited herein.
The mobile terminal 100 may be divided into an outer folder screen terminal and an inner folder screen terminal according to whether the foldable display screen 130 is exposed in the folded state. Wherein:
the external folding screen terminal refers to a mobile terminal having a folding angle of 180 ° and in a folded state, the foldable display screen 130 is entirely exposed. As shown in fig. 1, the mobile terminal 100 is an outer folder screen terminal. In the flat state, the first supporting surface of the first casing 41 of the mobile terminal 100 is flush with the second supporting surface of the second casing 42 (i.e. the included angle between the first casing 41 and the second casing 42 is 180 °), and the first display area 131, the second display area 132 and the bending area 133 of the foldable display screen 130 are located on the same plane; in the process of changing the mobile terminal 100 from the flat state to the folded state, as shown in fig. 1, the first back surface of the first housing 41 and the second back surface of the second housing 42 are close to each other, the included angle between the first supporting surface and the second supporting surface is changed from 180 ° to 0 °, and in the process of changing from 180 ° to 0 °, the mobile terminal 100 is in the unfolded state, and until the included angle is changed to 0 °, the mobile terminal 100 is in the folded state; in the folded state, as shown in fig. 2, the first supporting surface of the first housing 41 of the mobile terminal 100 is parallel to the second supporting surface of the second housing 42 (i.e. the included angle between the first housing 41 and the second housing 42 is 0 °), so that the foldable display screen 130 is in a U-shaped folded state, wherein the bending area 133 of the foldable display screen 130 forms an exposed U-shaped arc surface.
In an alternative embodiment, all or a portion of the display area of the foldable display screen 130 is used to display the user interface in the folded state. For example, as shown in fig. 2, in the folded state, only the first display region 131 is used to display the user interface, or only the bending region 133 is used to display the user interface. Further, the bending area 133 may be used to display an application menu, and the application menu includes at least one icon of an application or a thumbnail of a display interface of the application.
In an alternative embodiment, the mobile terminal 100 may be used by one or more users after the foldable display 130 is folded, for example, a first user may use the first display area 131 and a second user may use the second display area 132.
The inner-folding-screen terminal refers to a mobile terminal that can be folded at a folding angle of 180 ° and in which the foldable display screen 130 is (wholly or partially) inwardly converged in a folded state. As shown in fig. 3, the mobile terminal 100 is an inner folder screen terminal. In the flat state, the first supporting surface of the first casing 41 of the mobile terminal 100 is flush with the second supporting surface of the second casing 42 (i.e. the included angle between the first casing 41 and the second casing 42 is 180 °), so that the foldable display screen 130 is in the flat unfolded state (the first display area 131, the second display area 132, and the bending area 133 are located on the same plane); in the process of changing the mobile terminal 100 from the flat state to the folded state, as shown in fig. 3, the first supporting surface of the first housing 41 and the second supporting surface of the second housing 42 are close to each other, that is, the included angle between the first supporting surface and the second supporting surface is changed from 180 ° to 0 °, and the process of changing from 180 ° to 0 ° changes, and the mobile terminal 100 is in the unfolded state until the included angle is changed to 0 °, the mobile terminal 100 is in the folded state; in the folded state, the first supporting surface of the first housing 41 of the mobile terminal 100 is parallel to the second supporting surface of the second housing 42, so that the foldable display 130 is in a U-shaped folded state, wherein the bending region 133 of the foldable display 130 forms an inwardly-converging U-shaped arc surface. In an alternative embodiment, in the collapsed state, no user interface is displayed for all of the display area of the foldable display screen 130.
In addition to providing a display screen on the support surface of the housing, a display screen may also be provided on the first back surface of the first housing 41 and/or the second back surface of the second housing 42. For example, as shown in fig. 4, a display screen 140 is disposed on the first back surface of the first housing 41, and the display screen 140 may be made of a flexible material or an inflexible material, which is not limited in this embodiment. When the inner folding screen terminal is in the folded state, the display screen provided at the rear surface of the housing is used to display a user interface, which may be the same as or different from that of the foldable display screen 130 in the unfolded state.
In other possible embodiments, the foldable angle of the mobile terminal 100 may also be 360 ° (either folded in or folded out), and in the folded state, the foldable display 130 is exposed or converged on the terminal, which is not limited in this embodiment.
In the mobile terminal 100 shown in fig. 1 to 4, the first housing 41 and the second housing 42 have the same or similar size, and the folding manner of the mobile terminal 100 is called symmetrical folding. In other possible embodiments, as shown in fig. 5, the folding manner of the mobile terminal 100 may also be an asymmetric folding. When the asymmetric folding is adopted, the sizes of the first housing 41 and the second housing 42 may be different or different by more than a threshold (e.g., 50% or 60% or 70%), and accordingly, the area of the first display region 131 and the area of the second display region 132 in the foldable display 130 are different by more than a threshold.
In fig. 1 to 5, only by taking an example that a mobile terminal includes two parts of a housing and a connecting assembly for connecting the housing as an example (the mobile terminal is in a two-fold structure), in other possible embodiments, the mobile terminal 100 may include n parts of the housing and n-1 connecting assemblies, and accordingly, the foldable display screen 130 of the mobile terminal 100 includes 2n-1 display areas, and the n-1 display areas corresponding to the connecting assemblies are made of a flexible material, so as to implement a mobile terminal in an n-fold structure, which is not limited in this embodiment.
Illustratively, as shown in fig. 6, the mobile terminal 100 may implement a three-fold structure, that is, the mobile terminal 100 includes 3 parts of a housing and 2 connecting components for connecting the housing, and accordingly, the foldable display 130 includes 5 display regions, wherein 2 display regions corresponding to 2 connecting components are made of flexible material, and an area of one display region corresponding to a connecting component is larger than an area of another display region corresponding to another connecting component. The mobile terminal 100 in the triple-folding structure may be folded outward or inward according to whether the display 130, which is foldable in the folded state, is completely converged. In one embodiment, the mobile terminal 100 may have 4 display areas exposed; in another embodiment, the mobile terminal 100 may be completely collapsible, i.e. the foldable display 130 of the mobile terminal 100 is not exposed in the folded state, in other possible embodiments, the mobile terminal 100 may be provided with a display on a back side of a housing exposed in the folded state for displaying a user interface in the folded state. It should be noted that the principle of the n-fold structure is substantially the same as that of the two-fold structure, and the parts not described in detail can be obtained by referring to the description of the two-fold structure, so that the description is omitted here for brevity.
In addition, those skilled in the art will appreciate that the configuration of the mobile terminal 100 illustrated in the above-described figures is not intended to be limiting of the mobile terminal 100, and that the mobile terminal may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components. For example, the mobile terminal 100 may further include a radio frequency circuit, an input unit, a sensor, an audio circuit, a Wireless Fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
Based on the application environment, the inventor finds that for different application programs, some application programs mainly use a bright interface and some application programs mainly use a dark interface, and when the two application programs are split and opened simultaneously, the overall brightness of the display screen is uneven, so that the display effect is poor and people feel uncomfortable. Therefore, the inventor provides a method capable of independently adjusting the brightness through a series of researches to solve the problem of poor display effect during split-screen display.
The following describes in detail the brightness adjusting method, device, electronic device and storage medium provided in the embodiments of the present application with specific embodiments.
Referring to fig. 7, fig. 7 is a flowchart illustrating a brightness adjustment method according to an embodiment of the present application, taking as an example that the method is applied to the mobile terminal 100 with a foldable display screen, where the display screen at least includes a first display area and a second display area separated by a bending area, the method includes:
step S710: and acquiring a screen brightness adjusting instruction during split-screen display.
In this embodiment, when the split-screen display is performed, the first display area and the second display area may display the same display content or different display contents; the interface of different application programs may be displayed, and different interfaces of the same application program may also be displayed, which is not limited in this embodiment.
In this embodiment, one or more triggering modes may be used to trigger the split-screen display, for example, the mobile terminal may be bent, and the same or different interfaces may be displayed in a plurality of display areas spaced apart according to the split-screen of the bending area of the mobile terminal; the split screen display can be triggered by selecting the split screen function on the setting interface; and the split-screen display can be quickly triggered through the set gestures. It should be noted that, the embodiment does not limit the trigger mode of the split-screen display, and the same mobile terminal may include only one trigger mode or multiple trigger modes, so that the user may select the trigger mode according to the use environment to flexibly trigger the split-screen display.
In an embodiment, when the display screen of the mobile terminal is bent from the flat state, the split-screen display may be automatically triggered, so that the first display area and the second display area respectively display corresponding display contents. For example, in a specific application scenario, as shown in fig. 8, when the mobile terminal is in the flattened state, the video playing interface is displayed, and after being bent, the split screen is automatically triggered, so that the video playing interface displayed in the original flattened state is displayed in the first display area, and the second display area can be used for displaying other interfaces such as a chat interface.
Optionally, when the screen is split for display, the first display area and the second display area may both display the same or different interfaces of the same application program. For example, when the mobile terminal is in the flat state, the display screen displays the current interface of the application program a in a full screen manner, and when the mobile terminal displays in a split screen manner, the first display area and the second display area may both display the current interface of the application program a. Please refer to fig. 8, that is, the second display area may also display the video playing interface displayed in the original flat state, so as to meet the requirement of multiple users to view the same interface, for example, multiple display areas all display the same video playing interface, so that each display area can be used by at least one user to view a video, thereby improving the comfort of viewing by multiple users.
Optionally, during split-screen display, one of the display areas displays the current interface of the application a displayed before split-screen display, and the other display area may display an interface of an application B that is used by a user most recently in the application running in the background, for example, the second display area may display the background application that is used most recently (if the background application that is used most recently is a chat-type application, refer to fig. 8, and the second display area displays the interface of the chat-type application).
Optionally, when the screen is split, one of the display areas may also display a desktop or a background, so that the user may select an application from the desktop or the background and start using the application. Referring to fig. 8, during split-screen display, if the first display area displays the video playing interface displayed in the original flat state, the second display area may also display a desktop, and after the user selects a chat-class application from the desktop, the interface corresponding to the chat-class application may be displayed, as shown in fig. 8.
In some embodiments, after one split screen, the split screen may be continued, that is, the display area of the split screen display on the display screen may be more than two, three, four, etc. Specifically, the split-screen display can be triggered quickly by the set gesture, for example, please refer to fig. 8, after one-time split-screen display, the first display area can slide rightwards simultaneously by three fingers, so that the first display area continues to be split-screen into an upper new display area and a lower new display area, that is, the display screen is three display areas, so that the user can use the application program in the three display areas simultaneously, thereby satisfying the multi-task execution requirement of the user, improving the use efficiency, effectively avoiding the resource consumption caused by frequently switching the interface, and being beneficial to screen protection and improving the endurance time. The triggering gesture may also be other gestures, which may be preset by the system or set by the user in a user-defined manner, and is not limited herein.
Optionally, the screen brightness adjustment instruction may include at least one of a target display area identifier and a target adjustment parameter, where the target display area identifier corresponds to a target display area to be adjusted, so that the target display area identifier and the target adjustment parameter may be obtained through the screen brightness adjustment instruction.
In this embodiment, the target display area identifier corresponds to one or more display areas where the screen brightness needs to be adjusted; the target adjustment parameter may be an increment of the brightness change, such as +50 nit (nit), a ratio of the brightness change, such as 50%, or a target brightness value, such as 500nit, so that the mobile terminal may correspondingly obtain parameters, such as an increment of the initial brightness required to be changed, a ratio of the change, or a brightness value required to be finally reached, based on the current brightness. Specifically, for example, a target display area identifier is selected through a screen brightness setting page, and a target adjustment parameter is set, so that the mobile terminal can obtain a screen brightness adjustment instruction including the target display area identifier and the target adjustment parameter.
In some embodiments, the target adjustment parameter may also be calculated based on the brightness value of the pixel point in the current display area instead of being manually set, for example, based on the average brightness value of the pixel point in the current display area, the brightness value of each pixel point in the current display area is adjusted to the average brightness value.
Alternatively, the screen brightness adjusting instruction may be only one adjusting command, so that the mobile terminal knows that the screen brightness needs to be adjusted currently. For example, by means of a preset gesture such as pressing the display screen with three fingers, a screen brightness adjusting instruction is triggered and obtained, and at the moment, the mobile terminal can adjust the brightness value of each pixel point in the display area according to a preset brightness value. The preset brightness value can be preset by a system or set by a user in a user-defined mode, so that the screen brightness can be adjusted rapidly through the preset gesture, the screen brightness comfortable for the user to watch is adjusted, and the display effect is improved.
Further, when the screen is displayed in a split-screen manner, one or more manners of acquiring the screen brightness adjustment instruction may be provided, and the screen brightness adjustment instruction may be acquired by being triggered by a touch operation performed on a preset control on a preset interface by a user, or acquired by being triggered by a touch operation performed on a preset gesture or the like by the user, or acquired by being triggered by a touch operation performed on a designated area by the user.
Optionally, by generating query information, the user selects a corresponding query result, the generation of the screen brightness adjustment instruction is triggered, and the mobile terminal acquires the screen brightness adjustment instruction. Therefore, the process of acquiring the instruction is visualized, so that a user can intuitively and automatically select whether the screen brightness needs to be adjusted, and after selection, the screen brightness is automatically adjusted according to the selected inquiry result.
Step S720: and adjusting the screen brightness corresponding to at least one display area in the first display area and the second display area according to the screen brightness adjusting instruction.
In this embodiment, according to the screen brightness adjustment instruction, a display area to be adjusted, that is, a target display area may be obtained, where the display area to be adjusted may be one or more, and may be a first display area, a second display area, or both the first display area and the second display area.
Optionally, the screen brightness adjustment instruction includes at least one of a target display area identifier and a target adjustment parameter. Specifically, when the screen brightness adjusting instruction includes the target display area identifier and the target adjusting parameter, the screen brightness of the target display area corresponding to the target display area identifier is adjusted according to the target adjusting parameter. For example, the target display area identifier corresponds to the first display area, and the target adjustment parameter is 50%, at this time, according to the screen brightness adjustment instruction, the screen brightness of the first display area is adjusted to be 50% of the original screen brightness.
Alternatively, the screen brightness adjustment instruction corresponding to the first display area may be triggered by a touch operation performed on the first display area, and the screen brightness adjustment instruction corresponding to the second display area may be triggered by a touch operation performed on the second display area. The touch operation may be a preset trigger gesture, such as long pressing with three fingers, drawing a circle with a single finger, double-clicking the bottom of the screen, and the like. For example, the screen brightness adjustment instruction corresponding to the first display area can be triggered by pressing the first display area with three fingers.
Optionally, the mobile terminal may preset a mapping table corresponding to the sliding distance and the increment or the ratio of the screen brightness change, and may obtain the increment, the ratio, and the like of the screen brightness change according to the sliding distance of the sliding gesture, and obtain whether the screen brightness change is increased or decreased according to the sliding direction of the sliding gesture. So, through the slide gesture that acts on first display area, the slip direction is from last down, and the sliding distance is 10 pixel points, reduces 10% with the screen brightness that first display area corresponds this moment.
In other possible embodiments, after the screen brightness adjustment instruction is obtained, a setting interface may be generated, and at least one of a target display area to be adjusted is selected through the setting interface and a target adjustment parameter is set, so that the screen brightness of the target display area corresponding to the target display area identifier is adjusted according to the target adjustment parameter.
In the brightness adjustment method provided by this embodiment, when the split-screen display is performed, the screen brightness adjustment instruction is obtained, and then the screen brightness corresponding to at least one of the first display area and the second display area is adjusted according to the screen brightness adjustment instruction. Therefore, the screen brightness corresponding to different display areas in the foldable display screen can be independently adjusted, and the split-screen display effect is improved.
Referring to fig. 9, fig. 9 is a flowchart illustrating a brightness adjustment method according to another embodiment of the present application, taking as an example that the method is applied to the mobile terminal 100 with a foldable display screen, where the display screen at least includes a first display area and a second display area separated by a bending area, the method includes:
in the case of split-screen display, step S710 in the above embodiment may include steps S801 to S802, where:
step S801: query information is generated.
The query information is used for querying whether the user unifies the screen brightness corresponding to the first display area and the second display area. The query information may be displayed in the bending region, the first display region, or the second display region, which is not limited in this embodiment.
In this embodiment, the query information may be generated by triggering through a preset gesture, or may be generated by detecting whether the mobile terminal is bent, and when bending is detected, the query information is generated by triggering. This embodiment is not limited to this.
Step S802: and acquiring an inquiry result, and generating a corresponding screen brightness adjusting instruction according to the inquiry result.
In this embodiment, the query result includes a selection of the user based on the query information, and a screen brightness adjustment instruction corresponding to the query result may be generated according to the query result. Specifically, one or more options may be set in the query interface for displaying query information, and a corresponding query result may be obtained according to the detected option selected by the user.
For example, query information "whether screen brightness is unified or not" is generated, two options of "yes" and "no" may be set in a query interface for displaying the query information, when an option "yes" is selected, a query result corresponding to "unified screen brightness" may be obtained by detecting a touch operation acting on the option "yes", and a screen brightness adjustment instruction corresponding to the unified screen brightness is generated according to the query result; when the option "no" is selected, an inquiry result corresponding to the "non-uniform screen brightness" may be obtained, according to the inquiry result, a screen brightness adjustment instruction may not be generated, or a screen brightness adjustment instruction may be generated, and the screen brightness adjustment instruction corresponds to the non-uniform screen brightness, that is, according to the screen brightness adjustment instruction, the screen brightness is not uniform, and optionally, the content of the screen brightness adjustment instruction is null at this time.
For example, the mobile terminal displays a video playing interface in a flat state, and when it is detected that the mobile terminal is bent, query information such as "uniform screen brightness? "yes" and "no" may be included in the query interface for displaying query information, and when a touch operation applied to the option "yes" is detected, a screen brightness adjustment instruction is generated, where the screen brightness adjustment instruction is used to unify screen brightness corresponding to the first display area and the second display area. Therefore, by generating inquiry information for selection of a user, the user can quickly and conveniently adjust the screen brightness corresponding to each display area, and the overall brightness adjustment efficiency is improved.
Optionally, the inquiry interface may further include two options of "unify as the first display area" and "unify as the second display area", and when a touch operation acting on the option "unify as the first display area" is detected, a screen brightness adjustment instruction is generated, where the screen brightness adjustment instruction is used to adjust the screen brightness of the other display areas to be consistent with the screen brightness of the first display area, so that a user may select self-perception without knowing a specific adjustment parameter, select a display area with appropriate brightness in the current display area, and unify the screen brightness corresponding to the other display areas according to the screen brightness corresponding to the display area, thereby implementing quick and accurate adjustment of the screen brightness according to the user's current experience, and improving the adjustment efficiency while ensuring the display effect.
In an optional implementation manner, the query interface may also include two options, namely "unifying only the first display area" and "unifying only the second display area", and when a touch operation acting on the option "unifying only the first display area" is detected, the mobile terminal generates a screen brightness adjustment instruction, where the screen brightness adjustment instruction is used to unify the screen brightness corresponding to the first display area.
Optionally, referring to fig. 10, when displaying in a split screen manner, step S710 in the foregoing embodiment may further include step S811 to step S813, specifically, including:
step S811: touch operation acting on the display screen is monitored.
The touch operation may include one or more of sliding, clicking, double-clicking, long-pressing, touching, and the like, and may be preset by the system or set by the user in a user-defined manner. Further, by monitoring the touch operation and matching the monitored touch operation with a preset touch operation, if the monitored touch operation is matched with the preset touch operation, it is determined that the touch operation is used for acquiring a screen brightness adjustment instruction. Therefore, the operation process can be simplified by monitoring the touch operation, the adjustment efficiency is improved, and a user can conveniently select a target display area.
In some embodiments, the touch operation may not be in a preset form, but may be in any form, that is, as long as the touch operation is monitored, the screen brightness adjustment instruction corresponding to the display area on which the touch operation acts is obtained. Therefore, extra operation is not needed, screen brightness can be automatically adjusted under the condition that a user does not perceive the screen brightness, the using smoothness is improved, and the mobile terminal is more intelligent.
In this embodiment, the touch operation may be corresponding to the first display area, may also be corresponding to the second display area, and may also be corresponding to other display areas in the display screen, such as a bending area. Wherein:
when the touch operation corresponding to the first display area is monitored, step S812 may be performed;
when the touch operation corresponding to the second display area is monitored, step S813 may be performed.
Step S812: when the touch operation corresponding to the first display area is monitored, a screen brightness adjusting instruction corresponding to the first display area is obtained.
Step S813: and when the touch operation corresponding to the second display area is monitored, acquiring a screen brightness adjusting instruction corresponding to the second display area.
Optionally, when a touch operation corresponding to a certain display area is monitored, the display area is determined to be a display area with brightness to be adjusted, that is, a target display area, and a screen brightness adjustment instruction corresponding to the target display area is obtained to adjust screen brightness corresponding to the target display area. Therefore, when the user uses the mobile terminal, the target display area which needs to be adjusted by the user can be obtained through the display area acted by the touch operation without additional operation of the user, the user operation is simplified, the use smoothness is improved, and the resource consumption possibly caused by the additional operation is reduced.
In a specific application scenario, as shown in fig. 11, the first display area displays a video playing interface, and the second display area displays a chat interface. When a user clicks a play key in a video playing interface, the mobile terminal monitors touch operation corresponding to the first display area, so that the user is judged to be watching the first display area currently, a screen brightness adjusting instruction corresponding to the first display area is obtained, the first display area is determined as a target display area, and then screen brightness corresponding to the first display area is adjusted.
Therefore, the present embodiment can obtain the display area currently used by the user by monitoring the touch operation acting on the display screen, and determine that the display area currently used by the user is the target display area required to be adjusted, so as to adjust the screen brightness corresponding to the target display area. In addition, the user can also select the display area required to be adjusted by triggering touch operation in the target display area, so that the screen brightness can be flexibly adjusted according to the touch operation of the user on the display screen, a page does not need to be generated for selection, the operation is simplified, the adjustment efficiency and flexibility are improved, the use comfort is improved, and the use by the user is facilitated.
In an alternative implementation, after steps S811 to S813, step S720 of the above embodiment may be performed, so that independent adjustment of the screen brightness corresponding to each display area is realized on the basis that the display area required to be adjusted can be flexibly selected. For brevity, the detailed description of step S720 may refer to the above embodiments, and is not repeated herein.
Further, step S720 in the above embodiment may include step S803 to step S804, where:
step S803: and acquiring the average brightness values of the pixel points in the first display area and the second display area.
The brightness (Luminance) is a physical quantity representing the actual feeling of the human eye on the luminous or reflected light intensity of the luminous body or the illuminated object surface, and is described by taking, as an example, an RGB color pattern in which various colors are obtained by the variation of three color channels of Red (Red), Green (Green), and Blue (Blue) and the superposition of these color channels, and each piece of RGB data includes an R value, a G value, and a B value. As an embodiment of the present application, the RGB color mode has 256 levels, that is, the R value, the G value, and the B value each have 256 levels, and the corresponding value range is 0 to 255. Each pixel point to be displayed on a display screen of the mobile terminal corresponds to an initial RGB value, and each initial RGB value comprises an initial R value, an initial G value and an initial B value. When the R value, the G value and the B value are the same, gray tones with different gray values are generated, i.e., the gray value is 0, which corresponds to the darkest black tone, and the gray value is 255, which corresponds to the brightest white tone.
In this embodiment, an initial RGB value of each pixel point on the display screen is obtained, an initial brightness value of each pixel point is calculated according to the initial RGB value, and an average brightness value of the pixel points in the first display area and the second display area is calculated according to the number of the pixel points in the first display area and the second display area and the initial brightness of each pixel point. Specifically, the sum of the initial brightness values of each pixel point may be added, and the average brightness value may be calculated by dividing the sum by the number of the pixel points.
Specifically, the calculation of the luminance value is described by taking a YUV color coding method as an example, the Y value corresponds to the luminance, and the U value and the V value correspond to the Chrominance and the density (chroma) together. The initial brightness values corresponding to a pixel point, i.e. the initial Y value, U value and V value, can be calculated according to the initial RGB value of the pixel point, and the following formula can be specifically adopted:
Y0=0.299×R0+0.587×G0+0.114×B0
U=-0.147×R0-0.289×G0+0.436×B0=0.492×(B0-Y0)
V=0.615×R0-0.515×G0-0.100×B0=0.877×(R0-Y0)
wherein, Y0U and V respectively represent an initial Y value, a U value and a V value in an initial YUV value of one pixel point, and R0、G0And B0And respectively representing the initial R value, G value and B value in the initial RGB value of the pixel point.
Calculating the brightness value Y of each pixel point in the display area needing to adaptively adjust the brightness according to the formula0And dividing the sum by the number of pixel points in a display area needing adaptive brightness adjustment to obtain an average brightness value. The display area whose brightness needs to be adaptively adjusted may correspond to a target display area whose screen brightness needs to be adjusted, may be at least one of the first display area and the second display area, may be selected by a user, or may be preset by a system, and the specific selection method may refer toThe aforementioned steps are not described herein again.
Optionally, the average brightness value may be calculated by all the pixel points in the first display area and the second display area. Further, if the bending region of the mobile terminal can be used for displaying when bending, the average brightness value can be calculated by all the pixel points on the first display region, the bending region and the second display region. In the actual use process, when the display screen displays different application programs, the display brightness sensed by human eyes may be different, some application programs mainly use a bright-color interface, and some application programs mainly use a dark-color interface, so that the problem of uneven brightness is easily caused when different application programs are displayed in a split screen mode, the display effect is poor, and the comfort of human eyes is affected. Therefore, the average brightness value of the pixel points on the whole display screen can be calculated through the embodiment, the self-adaptive brightness adjustment of the display screen is facilitated, the screen brightness of a plurality of display areas on the display screen is unified, the display effect is improved, and the comfort of human eyes and the user experience are improved.
Step S804: and adjusting the screen brightness corresponding to at least one of the first display area and the second display area according to the average brightness value.
Here, only the first display region may be adjusted, only the second display region may be adjusted, or the first display region and the second display region may be adjusted. Accordingly, according to the average brightness values of the two display areas, only the screen brightness corresponding to the first display area may be unified, only the screen brightness corresponding to the second display area may be unified, and the screen brightness corresponding to the display areas including the first display area and the second display area may be unified. Therefore, the self-adaptive brightness adjustment of each display area is realized, the flexible and independent adjustment of the screen brightness corresponding to each display area is realized, the display problem of uneven brightness of part or all display areas is solved in a targeted manner, and the display effect is improved.
Specifically, the RGB values of the adjusted pixel points may be calculated according to the average brightness value, and the following formula may be specifically adopted for conversion:
Figure BDA0001998659580000121
Figure BDA0001998659580000122
Figure BDA0001998659580000123
wherein R is1、G1And B1Respectively representing the adjusted R value, the adjusted G value and the adjusted B value in the RGB values of the adjusted pixel points,
Figure BDA0001998659580000124
representing the average luminance value. It should be noted that, the U value in the YUV values of the adjusted pixel points is equal to the U value in the initial YUV values, and the V value in the adjusted YUV values is equal to the V value in the initial YUV values, that is, the U value and the V value in the initial YUV values are not adjusted, so as to maintain the color reality.
Furthermore, the brightness of the pixel points is adjusted by adjusting the RGB values of the pixel points to the adjusted RGB values of the pixel points, and then the screen brightness corresponding to the display area containing each adjusted pixel point is adjusted.
Optionally, according to the average brightness values of the pixel points in the first display area and the second display area, only the screen brightness corresponding to the first display area or the second display area may be adjusted, or both the first display area and the second display area may be adjusted. Specifically, before the adjustment, query information may be generated, where the query information includes a target display region that queries a user that the screen brightness needs to be adjusted, and the user may select at least one of the first display region and the second display region to adjust the corresponding screen brightness.
In a specific application scenario, as shown in fig. 11, the first display area displays a video playing interface, and the second display area displays a chat interface. When the same user needs to watch videos and chat at the same time, namely the first display area and the second display area need to be checked at the same time, the screen brightness corresponding to the two display areas can be unified, so that when the user switches and checks the two display areas, human eyes do not need to adapt to different screen brightness repeatedly, and the comfort of human eyes is improved.
Optionally, if the user considers that the screen brightness corresponding to the first display area is appropriate, but the screen brightness corresponding to the second display area is relatively dark, the screen brightness corresponding to the target display area can be unified by using the average brightness value only for one of the target display areas to be adjusted, so that the screen brightness corresponding to the target display area is solved, and the display problem of uneven brightness of the target display area is solved; on the other hand, the screen brightness of the target display area is unified according to the average brightness values of the pixel points in the two display areas, the difference between the screen brightness corresponding to the two display areas can be reduced, the display effect is improved, the discomfort caused when the human eyes switch to view different display areas is reduced, and the eye fatigue is relieved.
So, when making the user look over or use a plurality of display areas simultaneously through this embodiment, can unify the screen brightness that one or more display areas correspond according to the average brightness value of pixel in a plurality of display areas to can adjust the screen brightness that different display areas correspond on the display screen independently, solve the display area inside and display area between the uneven problem of luminance display, realize self-adaptation brightness adjustment, improve display effect and promote people's eye travelling comfort.
In an optional implementation manner, referring to fig. 12, the brightness adjustment method provided in this embodiment may further include steps S805 to S807, so as to implement independent adaptive adjustment of screen brightness corresponding to different display areas of the display screen. It should be noted that steps S805 to S807 may be included in step S720 in the above embodiment, and step S802 may be followed by step S805 to S807. Specifically, for example, query information is generated to query the user whether to unify the screen brightness corresponding to the current display area, and if the user selects yes, steps S805 to S807 may be executed. The foregoing example only schematically illustrates how steps S805 to S807 can be performed after step S802, and the specific implementation method thereof does not limit the embodiment.
Step S805: an area selection instruction is obtained.
The area selection instruction comprises a first selection instruction for correspondingly selecting the first display area and a second selection instruction for correspondingly selecting the second display area.
In this embodiment, the area selection instruction may be obtained by the user selecting the first display area or the second display area on the interface displaying the query information, or may be obtained by the user performing a touch operation on the first display area or the second display area. Therefore, according to the area selection instruction, a target display area of which the screen brightness needs to be adjusted can be determined, and specifically, according to the first selection instruction, the target display area is determined to be a first display area; and determining the target display area as a second display area according to the second selection instruction.
In an alternative embodiment, the area selection instruction may be determined by a screen brightness adjustment instruction, i.e., steps S805 to S807 may be executed after step S802, or may be executed after step S813.
Optionally, the region selection instruction is obtained by selecting a target display region on the interface displaying the query information. For example, two options of "only adjust the first display area" corresponding to the first selection instruction and "only adjust the second display area" corresponding to the second selection instruction are set on the interface for displaying the query information, and the user can enable the mobile terminal to acquire the area selection instruction corresponding to the selected option by selecting one option. Therefore, the selection process of the target display area is visualized, an intuitive operation interface is provided for a user to set, and the operation of the user can be facilitated.
Optionally, the area selection instruction is acquired through touch operation performed on the first display area or the second display area. The touch operation may include one or more of sliding, clicking, double-clicking, long-pressing, touching, and the like, and may be preset by the system or set by the user in a user-defined manner. Specifically, when the touch operation acting on the first display area is monitored, a first selection instruction is obtained, and when the touch operation acting on the second display area is monitored, a second selection instruction is obtained. Further, by monitoring the touch operation and matching the monitored touch operation with a preset touch operation, if the monitored touch operation is matched with the preset touch operation, it is determined that the touch operation is used for acquiring the area selection instruction. Therefore, the operation process can be simplified by monitoring the touch operation, the adjustment efficiency is improved, and a user can conveniently select a target display area.
In some embodiments, the touch operation may not be in a preset form, but may be in any form, that is, as long as the touch operation is monitored, an area selection instruction corresponding to the display area on which the touch operation acts is obtained. Therefore, extra operation is not needed, screen brightness can be automatically adjusted under the condition that a user does not perceive the screen brightness, the using smoothness is improved, and the mobile terminal is more intelligent.
Step S806: and acquiring the average brightness value of the pixel points in the selected display area according to the area selection instruction.
The method for obtaining the average brightness value in step S806 is substantially the same as that in step S803, except that in step S806 only the average brightness value of one display region is calculated, and then, on the basis of step S803, the pixel points are made to correspond to the pixel points in the selected display region, so that the average brightness value of the pixel points in the selected display region is equal to the sum of the brightness values of the pixel points in the selected display region divided by the number of the pixel points in the selected display region. For other implementation details, refer to step S803, which is not described herein again.
It should be noted that the selected display area is a display area to be adjusted, i.e., a target display area.
Step S807: and adjusting the screen brightness corresponding to the selected display area according to the average brightness value.
The principle of the method in step S807 is substantially the same as that in step S804, so the detailed description about step S807 can refer to step S804, and will not be repeated herein.
In a specific application scenario, as shown in fig. 13, a first user is watching a video playing interface displayed in a first display area, a second user is watching an interface displayed in a second display area, such as a chat interface, if the first user feels that the screen brightness corresponding to the first display area is not uniformly displayed, which affects the watching, the average brightness value of the pixel points in the first display area can be obtained by pressing the first display area through a preset touch operation, such as a three-finger length, and the screen brightness corresponding to the first display area is unified according to the average brightness value, so as to implement adaptive brightness adjustment.
Further, if the second user also feels that the screen brightness corresponding to the second display area is displayed unevenly, the self-adaptive brightness adjustment can be realized through the method; if the second user considers that the screen brightness corresponding to the second display area does not affect the viewing, the screen brightness of the display area can be adjusted, that is, the screen brightness adjustment corresponding to the second display area is independent of the first display area. In some embodiments, the number of users using the mobile terminal may be one or more. Thus, the requirement that one or more users use the mobile terminal in a split-screen manner can be met through the embodiment, and accordingly the screen brightness corresponding to the used display area can be respectively and independently adjusted in a self-adaptive manner.
In this embodiment, by selecting the target display area, the average brightness value of the target display area may be obtained, and the adaptive brightness adjustment of the target display area is implemented. In the actual use process, the brightness of each pixel point in the interface displayed by the mobile terminal may be different, and the difference can cause poor display effect and influence the comfort of human eyes. Therefore, according to the embodiment, the screen brightness corresponding to the display area can be unified according to the average brightness value of the pixel points of the selected display area, the display area with poor effect is subjected to self-adaptive adjustment, the display effect and the adjustment efficiency are improved, and the comfort of human eyes is improved.
Further, referring to fig. 14, the brightness adjustment method provided in this embodiment may further include steps S808 to S810, so that the brightness of the screen corresponding to the display area without operation due to timeout may be reduced during the split-screen display. Specifically, the method comprises the following steps:
step S808: touch operation acting on the display screen is monitored.
The touch operation may be a preset touch operation, and may also include all touch operations that can be monitored by the mobile terminal, and specifically may include one or more of sliding, clicking, double clicking, long pressing, touching, and the like. Therefore, if any touch operation is not monitored for more than the preset time on the display area, the display area can be judged to be not used by people currently, and the screen brightness can be reduced, even the screen is turned off, so that unnecessary power consumption is reduced.
Step S809: when at least one of the first display area and the second display area does not monitor the touch operation after exceeding the preset time, determining the non-operation display area from the first display area and the second display area. In this embodiment, the first display area and the second display area are monitored respectively, that is, when the first display area does not detect a touch operation after a preset time, the first display area may be determined as an unoperated display area; when the touch operation is not detected in the second display area beyond the preset time, the second display area can be determined as an unoperated display area; when the first display area and the second display area both exceed the preset time and touch operation is not monitored, the first display area and the second display area can be determined as non-operation display areas. Therefore, the display area which is not operated can be flexibly determined by respectively monitoring whether the first display area and the second display area exceed the preset time and touch operation is not monitored, and the independent adjustment of the screen brightness of the display area which is not operated is facilitated.
The preset time may be 30s, 1min, or the like, may be preset by the system, may also be user-defined, and is not limited herein. It can be understood that the smaller the preset time is, the smaller the time interval is, the screen brightness can be reduced, the power consumption can be reduced, and the endurance time can be improved; the larger the preset time is, the larger the time interval is, the screen brightness can be reduced, the frequency of reducing the screen brightness is reduced, the display area is prevented from being frequently awakened by a user, and the user experience is improved.
Step S810: and reducing the screen brightness corresponding to the non-operation display area.
In this embodiment, the screen brightness corresponding to the non-operation display area is reduced, the amplitude of the reduction of the screen brightness may be preset by the system or may be user-defined, and the amplitude may correspond to a reduced increment, i.e., a variation, may also correspond to a reduced proportion, and may also be reduced to a preset brightness value. It should be noted that the reduced screen brightness may be zero, i.e. turned off, so that the display area is not displayed, thereby reducing the display power consumption to the maximum extent. Therefore, by the embodiment, when the application program is displayed in a split screen mode, the screen brightness corresponding to the non-operation display area is reduced, even the screen is turned off, so that the power consumption is reduced, and the endurance time of the mobile terminal is prolonged.
Optionally, referring to fig. 15, when displaying in a split screen mode, step S710 in the foregoing embodiment may further include step S821 to step S822, specifically, including:
step S821: and acquiring touch operation acting on the instruction acquisition area.
The display screen comprises a display screen body, a display area and an instruction acquisition area, wherein each display area of the display screen body can be provided with the instruction acquisition area, and the instruction acquisition areas correspond to the display areas of the display screen body one to one. It should be noted that the instruction acquisition area may be a control visible to the user; the control can be invisible to the user, so that the requirement for adjusting the brightness of the user is met, the normal and disturbance-free use of the mobile terminal by the user is not influenced, the display effect can be improved, and the use experience of the user is guaranteed.
Step S822: and generating a screen brightness adjusting instruction corresponding to the display area corresponding to the instruction acquisition area according to the touch operation.
Optionally, the touch operation may be a sliding gesture, where the sliding gesture includes a sliding direction and a sliding distance, and the screen brightness may be determined to be increased or decreased according to the sliding direction, for example, sliding from top to bottom corresponds to decreasing the screen brightness, and sliding from bottom to top corresponds to increasing the screen brightness; the amplitude of the screen brightness adjustment can be determined according to the sliding distance, the amplitude can be preset by a system or customized by a user, and can correspond to the increment of the brightness, namely the variation, or the proportion of the brightness, and can also be reduced to a target brightness value.
Further, can be provided with the slide bar on the display screen, through from left to right or from the bottom up slip slider, can be from little regulation to big with apart from the threshold value. The user can adjust the response sensitivity of the sliding gesture by setting the distance threshold according to the self requirement. The smaller the distance threshold value is, the higher the response sensitivity is, the larger the distance threshold value is, and the longer the distance threshold value is, the lower the response sensitivity is, the display can be triggered by the user by sliding a longer distance, so that the screen brightness adjustment can be effectively prevented from being triggered by mistake.
For example, as shown in fig. 16, the dashed rectangle area is an instruction obtaining area, and the mobile terminal shown in fig. 16 includes two instruction obtaining areas, which are respectively located in the lower right corner areas of the first display area and the second display area and respectively correspond to the first display area and the second display area. The screen brightness adjusting instruction comprises a target adjusting parameter. Therefore, through touch operation such as a sliding gesture acting on the instruction acquisition area, a screen brightness adjusting instruction corresponding to the display area corresponding to the instruction acquisition area can be generated, and the screen brightness corresponding to the display area is adjusted according to the target adjusting parameter.
In a specific application scenario, referring to fig. 16, a rectangular area invisible to a user, that is, the designated acquisition area described in this embodiment, is respectively disposed at the lower right corner of the first display area and the second display area, and the touch operation performed on the designated acquisition area is illustrated as shown in fig. 16, where the touch operation of the sliding gesture is only used as an example for explanation. The user can reduce the screen brightness corresponding to the first display area in the designated acquisition area corresponding to the first display area through a sliding gesture sliding from top to bottom; and in the designated acquisition area corresponding to the second display area, the user can increase the screen brightness corresponding to the second display area through a sliding gesture sliding from bottom to top. Under most circumstances, when a user watches a movie indoors, the screen brightness is generally required to be low, and when the user chats, the low screen brightness is difficult to clear and simply acquire information, so that the screen brightness corresponding to each display area after screen splitting can be manually and independently adjusted through the embodiment, the comfort of viewing the movie by the user is improved, clear use of the user during chatting is met, one or more applications can be displayed simultaneously on the mobile terminal, the screen brightness suitable for the user to use the application can be adopted for displaying, and the display effect is improved.
Therefore, through the embodiment, the screen brightness corresponding to the display area can be adjusted through the touch operation acting on the instruction acquisition area, the adjustment efficiency is improved, the adjustment mode is visual, the mistaken triggering of a user can be avoided through the designated area, the usability is high, the convenience is brought to the user to adjust the screen brightness corresponding to the display area needing to be used at any time, and the watching comfort and the user experience are improved. Furthermore, by combining the steps, the screen brightness corresponding to the target display area can be unified, the problem of uneven display brightness is solved, the screen brightness corresponding to each display area is manually adjusted to meet the requirement of further fine adjustment of a user, the display effect is further improved, the brightness display is more in line with the requirement of the user, and the comfort of human eyes is improved.
It should be noted that, the embodiments provided in the present application are applicable to both the external folding screen terminal and the internal folding screen terminal, and the above-mentioned embodiments are only schematically illustrated by taking the external folding screen terminal as an example, and do not limit the application range of the embodiments provided in the present application at all, and the implementation effect of the present application by using the internal folding screen terminal may be correspondingly described with reference to the corresponding steps of the above-mentioned embodiments.
It should be understood that, although the steps in the flowcharts shown in fig. 7, 9, 10, 12, 14 and 15 are sequentially shown as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 7, 9, 12, 14, 10, and 15 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
Referring to fig. 17, fig. 17 is a block diagram illustrating a brightness adjustment apparatus according to an embodiment of the present disclosure, wherein the brightness adjustment apparatus 1700 is suitable for use in the mobile terminal. As will be explained below with respect to the block diagram shown in fig. 17, the brightness adjusting apparatus 1700 includes: an instruction acquisition module 1710, and a brightness adjustment module 1720, wherein:
and an instruction obtaining module 1710, configured to obtain a screen brightness adjustment instruction during split-screen display.
The brightness adjusting module 1720 is configured to adjust, according to the screen brightness adjusting instruction, the screen brightness corresponding to at least one of the first display area and the second display area.
Further, the instruction obtaining module 1710 includes: the device comprises an inquiry information generating unit, an inquiry result acquiring unit, a touch operation monitoring unit, a first instruction acquiring unit, a second instruction acquiring unit, a touch operation acquiring unit and a touch instruction generating unit, wherein:
and the query information generating unit is used for generating query information, and the query information is used for querying whether the screen brightness corresponding to the first display area and the second display area is unified by a user.
And the query result acquisition unit is used for acquiring a query result and generating a corresponding screen brightness adjusting instruction according to the query result.
And the touch operation monitoring unit is used for monitoring the touch operation acting on the display screen.
The first instruction obtaining unit is used for obtaining a screen brightness adjusting instruction corresponding to the first display area when the touch operation corresponding to the first display area is monitored.
And the second instruction acquisition unit is used for acquiring a screen brightness adjustment instruction corresponding to the second display area when the touch operation corresponding to the second display area is monitored.
And the touch operation acquisition unit is used for acquiring touch operation acting on the instruction acquisition area.
And the touch instruction generating unit is used for generating a screen brightness adjusting instruction corresponding to the display area corresponding to the instruction acquisition area according to the touch operation.
Further, the brightness adjustment module 1720 includes: a full screen average brightness obtaining unit and a full screen adaptive adjusting unit.
And the full-screen average brightness acquiring unit is used for acquiring the average brightness values of the pixel points in the first display area and the second display area.
And the full-screen self-adaptive adjusting unit is used for adjusting the screen brightness corresponding to at least one of the first display area and the second display area according to the average brightness value.
Further, the brightness adjusting apparatus 1700 further includes: the device comprises a region selection instruction acquisition module, a region average brightness acquisition module, a region self-adaptive adjustment module, an operation monitoring module and a screen-turning adjustment module.
The area selection instruction acquisition module is used for acquiring an area selection instruction, and the area selection instruction comprises a first selection instruction for correspondingly selecting the first display area and a second selection instruction for correspondingly selecting the second display area.
And the region average brightness acquisition module is used for acquiring the average brightness value of the pixel points in the selected display region according to the region selection instruction.
And the area self-adaptive adjusting module is used for adjusting the screen brightness corresponding to the selected display area according to the average brightness value.
And the operation monitoring module is used for monitoring touch operation acting on the display screen.
The area determination module is used for determining an unoperated display area from the first display area and the second display area when at least one of the first display area and the second display area does not monitor the touch operation after exceeding the preset time.
And the screen turning adjusting module is used for reducing the screen brightness corresponding to the non-operation display area.
The brightness adjusting device provided in the embodiment of the present application is used to implement the corresponding brightness adjusting method in the foregoing method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again.
Referring to fig. 18, a block diagram of a mobile terminal according to an embodiment of the present disclosure is shown. The mobile terminal 1800 in the present application may include one or more of the following components: a processor 1810, memory 1820, and one or more applications, wherein the one or more applications may be stored in the memory 1820 and configured to be executed by the one or more processors 1810, the one or more programs configured to perform a method as described in the aforementioned method embodiments.
Processor 1810 may include one or more processing cores. The processor 1810, using various interfaces and lines to connect various parts throughout the mobile terminal 1800, performs various functions of the mobile terminal 1800 and processes data by executing or performing instructions, programs, code sets or instruction sets stored in the memory 1820 and invoking data stored in the memory 1820. Alternatively, the processor 1810 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1810 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is to be understood that the modem may not be integrated into the processor 1810, but may be implemented by a communication chip.
The Memory 1820 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 1820 may be used to store instructions, programs, code sets, or instruction sets. The memory 1820 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The memory data area may also store data created during use by the mobile terminal 1800 (e.g., phone books, audio-visual data, chat log data), and the like.
Further, the mobile terminal 1800 may further include a foldable Display screen, which may be a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The display screen is used to display information entered by the user, information provided to the user, and various graphical user interfaces that may be composed of graphics, text, icons, numbers, video, and any combination thereof.
Those skilled in the art will appreciate that the configuration shown in fig. 18 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the mobile terminal to which the present application applies, and that a particular mobile terminal may include more or less components than those shown in fig. 18, or may combine certain components, or have a different arrangement of components.
Referring to fig. 19, a block diagram of a computer-readable storage medium according to an embodiment of the present disclosure is shown. The computer-readable storage medium 1900 has stored therein program code 1910, which program code 1910 can be called by a processor to execute the methods described in the method embodiments above.
The computer-readable storage medium 1900 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable and programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, computer-readable storage medium 1900 includes a non-transitory computer-readable medium. The computer-readable storage medium 1900 has storage space for program code 1910 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. The program code 1910 may be compressed, for example, in a suitable form.
To sum up, according to the brightness adjustment method and apparatus, the mobile terminal, and the storage medium provided in the embodiments of the present application, when the split-screen display is performed, the screen brightness adjustment instruction is obtained, and then the screen brightness corresponding to at least one of the first display area and the second display area is adjusted according to the screen brightness adjustment instruction. So, this application has improved the effect that divides the screen display to show through the screen brightness that different regions correspond in the collapsible display screen of independent regulation.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "an embodiment," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment, example, or embodiment is included in at least one embodiment, example, or embodiment of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A brightness adjustment method for a terminal with a foldable display screen, the display screen including at least a first display area and a second display area separated by a bending area, the method comprising:
acquiring a screen brightness adjusting instruction during split-screen display;
calculating the average brightness value of all pixel points in the first display area and the second display area according to the screen brightness adjusting instruction, wherein the brightness of the pixel points is nit (nit) as a unit, the parameters of the pixel points are expressed by a YUV coding method, and the average brightness value is calculated by the Y value in the YUV values of the pixel points;
calculating the RGB value of the adjusted pixel point according to the average brightness value; and
adjusting the brightness value of each pixel point by adjusting the RGB value of the pixel point to be adjusted to the RGB value of the pixel point after adjustment, thereby adjusting the screen brightness corresponding to at least one display area of the first display area and the second display area containing each pixel point after adjustment.
2. The method of claim 1, wherein the calculating an average brightness value of all pixels in the first display region and the second display region comprises:
adjusting the brightness value Y of each pixel point in the first display area and the second display area before adjustment0Adding the sum, and dividing the sum by the number of the pixel points to obtain an average brightness value
Figure FDA0002934339430000011
Wherein, the brightness value Y before adjustment of each pixel point is calculated0And then, calculating according to the RGB value of the pixel point before adjustment as follows:
Y0=0.299×R0+0.587×G0+0.114×B0
R0-representing the R value in the RGB values of the pixel point before adjustment;
G0-a G value in the RGB values representing the pixel point before adjustment;
B0indicating before adjustmentB value in RGB value of pixel point;
the calculating the adjusted RGB values of the pixels according to the average brightness value includes:
according to the average brightness value
Figure FDA0002934339430000012
Calculating the RGB value of the adjusted pixel point by adopting the following calculation formula:
Figure FDA0002934339430000013
Figure FDA0002934339430000014
Figure FDA0002934339430000015
R1-representing the R value in the RGB values of the adjusted pixel point;
G1-a G value in the RGB values representing the adjusted pixel point;
B1-B-values among the RGB-values representing the adjusted pixel points,
Figure FDA0002934339430000021
-representing the average luminance value.
3. The method of claim 1, further comprising:
acquiring a region selection instruction, wherein the region selection instruction comprises a first selection instruction for correspondingly selecting the first display region and a second selection instruction for correspondingly selecting the second display region;
acquiring the average brightness value of pixel points in the selected display area according to the area selection instruction;
and adjusting the screen brightness corresponding to the selected display area according to the average brightness value.
4. The method according to claim 1, wherein the obtaining of the screen brightness adjustment instruction during split-screen display comprises:
generating inquiry information, wherein the inquiry information is used for inquiring whether the user unifies the screen brightness corresponding to the first display area and the second display area;
and acquiring an inquiry result, and generating a corresponding screen brightness adjusting instruction according to the inquiry result.
5. The method of claim 1, further comprising:
monitoring touch operation acting on the display screen;
when at least one of the first display area and the second display area does not monitor touch operation after exceeding preset time, determining an unoperated display area from the first display area and the second display area; and
and reducing the screen brightness corresponding to the non-operation display area.
6. The method according to claim 1, wherein the obtaining of the screen brightness adjustment instruction during split-screen display comprises:
monitoring touch operation acting on the display screen;
when touch control operation corresponding to the first display area is monitored, acquiring a screen brightness adjusting instruction corresponding to the first display area;
and when the touch operation corresponding to the second display area is monitored, acquiring a screen brightness adjusting instruction corresponding to the second display area.
7. The method according to claim 1, wherein the obtaining of the screen brightness adjustment instruction during split-screen display comprises:
acquiring touch operation acting on an instruction acquisition area, wherein the instruction acquisition area corresponds to a display area of the display screen one by one;
and generating a screen brightness adjusting instruction corresponding to the display area corresponding to the instruction acquisition area according to the touch operation.
8. A brightness adjustment device, adapted to a terminal having a foldable display screen, wherein the display screen at least includes a first display area and a second display area separated by a bending area, the device comprising:
the instruction acquisition module is used for acquiring a screen brightness adjustment instruction during split-screen display;
the brightness adjusting module is used for calculating the average brightness values of all pixel points in the first display area and the second display area according to the screen brightness adjusting instruction, wherein the brightness of the pixel points is expressed by nit (nit), the parameters of the pixel points are expressed by a YUV coding method, and the average brightness value is calculated by the Y value in the YUV values of the pixel points;
calculating the RGB value of the adjusted pixel point according to the average brightness value; and
adjusting the brightness value of each pixel point by adjusting the RGB value of the pixel point to be adjusted to the RGB value of the pixel point after adjustment, thereby adjusting the screen brightness corresponding to at least one display area of the first display area and the second display area containing each pixel point after adjustment.
9. A mobile terminal, comprising:
a memory;
one or more processors coupled with the memory;
one or more programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-7.
10. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 7.
CN201910204912.3A 2019-03-18 2019-03-18 Brightness adjusting method and device, mobile terminal and storage medium Active CN109949777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910204912.3A CN109949777B (en) 2019-03-18 2019-03-18 Brightness adjusting method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910204912.3A CN109949777B (en) 2019-03-18 2019-03-18 Brightness adjusting method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109949777A CN109949777A (en) 2019-06-28
CN109949777B true CN109949777B (en) 2021-07-13

Family

ID=67010212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910204912.3A Active CN109949777B (en) 2019-03-18 2019-03-18 Brightness adjusting method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109949777B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399082B (en) * 2019-07-05 2022-03-25 北京达佳互联信息技术有限公司 Terminal attribute control method and device, electronic equipment and medium
CN110673697B (en) * 2019-09-23 2021-08-27 Oppo广东移动通信有限公司 Control method and device of electronic equipment, electronic equipment and storage medium
CN110825294A (en) * 2019-10-31 2020-02-21 华勤通讯技术有限公司 Display method, electronic device, and computer-readable storage medium
CN110764729B (en) * 2019-10-31 2023-09-22 Oppo广东移动通信有限公司 Display device, electronic apparatus, and display device control method
CN110827785B (en) * 2019-11-27 2021-04-02 Oppo广东移动通信有限公司 Brightness adjusting method and related product
CN110875020B (en) * 2019-11-29 2021-11-30 武汉天马微电子有限公司 Driving method, driving device and display device
CN111179824B (en) * 2020-01-02 2021-04-13 京东方科技集团股份有限公司 Driving method of folding display panel and folding display device
CN112130800B (en) * 2020-09-29 2022-09-09 Oppo广东移动通信有限公司 Image processing method, electronic device, apparatus, and storage medium
CN114363448A (en) * 2020-09-29 2022-04-15 北京小米移动软件有限公司 Brightness control method and device for small screen window, terminal and storage medium
CN114170972A (en) * 2021-11-09 2022-03-11 瑞芯微电子股份有限公司 Backlight control method and device in multi-display-screen system
CN114093273A (en) * 2021-12-08 2022-02-25 武汉华星光电半导体显示技术有限公司 Display device
CN114398015A (en) * 2021-12-31 2022-04-26 广州国显科技有限公司 Display effect detection method, device, system, storage medium and program product
CN114924638B (en) * 2022-05-12 2024-04-12 深圳市启鹏天辰科技有限公司 Cruising method and system applied to 5G tablet personal computer and terminal equipment
CN115132126A (en) * 2022-06-10 2022-09-30 深圳市九洲光电科技有限公司 Display device with dimming structure

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4420294B2 (en) * 2005-06-28 2010-02-24 エルジー ディスプレイ カンパニー リミテッド Midian filtering method and apparatus
KR101174782B1 (en) * 2005-06-30 2012-08-20 엘지디스플레이 주식회사 Apparatus and Method for Driving Liquid Crystal Display Device
CN102117600A (en) * 2010-01-04 2011-07-06 青岛海信电器股份有限公司 Method for improving partitioned halation of LED (Light Emitting Diode) backlight source and control device thereof
CN104021774B (en) * 2014-05-29 2016-06-15 京东方科技集团股份有限公司 A kind of method of image procossing and device
CN106155692A (en) * 2016-07-27 2016-11-23 深圳市金立通信设备有限公司 A kind of terminal brightness control method and terminal
CN106548755B (en) * 2016-12-07 2019-11-26 惠州三华工业有限公司 Brightness adjust automatically display device
CN107390855A (en) * 2017-07-19 2017-11-24 努比亚技术有限公司 Control method, mobile terminal and the storage medium of mobile terminal split screen regional luminance
CN107765775B (en) * 2017-11-07 2019-12-31 Oppo广东移动通信有限公司 Terminal control method, device and storage medium
CN109388363B (en) * 2018-10-11 2022-02-01 Oppo(重庆)智能科技有限公司 Electronic device

Also Published As

Publication number Publication date
CN109949777A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN109949777B (en) Brightness adjusting method and device, mobile terminal and storage medium
CN107562322B (en) Page switching method and device
TWI507966B (en) Flexible display panel and operation method of flexible display panel
US20200204738A1 (en) Photographing method and mobile terminal
EP3373281B1 (en) Method for controlling image display and terminal
US10657928B2 (en) Projected content based display device and display method
TWI590149B (en) A method, apparatus, and system for energy efficiency and energy conservation including dynamic user interface based on viewing conditions
US9665952B2 (en) Information processing method and electronic device
EP3944080A1 (en) A method, an apparatus and a computer program product for creating a user interface view
WO2017161904A1 (en) Method and device for displaying wallpaper image
CN106919301B (en) Wallpaper preview method and system and wallpaper replacement method and system
CN110177174B (en) Display processing method, display processing device, mobile terminal and storage medium
US10891028B2 (en) Information processing device and information processing method
KR20120093413A (en) Unlocking a touch screen device
JP2016500175A (en) Method and apparatus for realizing floating object
US9927906B2 (en) Display control apparatus
JP5713180B2 (en) Touch panel device that operates as if the detection area is smaller than the display area of the display.
CN110609649B (en) Interface display method, device and storage medium
JP2008515035A (en) Image selection on screen
WO2022068726A1 (en) Method and apparatus for providing control, and electronic device
WO2017215542A1 (en) Method and device for displaying image
US20160078823A1 (en) Luminance adjusting method for display screen of electronic device
KR20180105402A (en) Transparent display apparatus, method for controlling the same and computer-readable recording medium
Lin et al. ShiftMask: Dynamic OLED power shifting based on visual acuity for interactive mobile applications
WO2022242586A1 (en) Application interface method and apparatus, and electronic device

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