WO2021237425A1 - Screen brightness adjustment method, terminal and storage medium - Google Patents
Screen brightness adjustment method, terminal and storage medium Download PDFInfo
- Publication number
- WO2021237425A1 WO2021237425A1 PCT/CN2020/092181 CN2020092181W WO2021237425A1 WO 2021237425 A1 WO2021237425 A1 WO 2021237425A1 CN 2020092181 W CN2020092181 W CN 2020092181W WO 2021237425 A1 WO2021237425 A1 WO 2021237425A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- screen
- brightness value
- information
- interface
- terminal
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 111
- 230000001815 facial effect Effects 0.000 claims description 51
- 230000007613 environmental effect Effects 0.000 claims description 28
- 239000011521 glass Substances 0.000 claims description 27
- 230000000694 effects Effects 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 24
- 230000001960 triggered effect Effects 0.000 claims description 17
- 208000003464 asthenopia Diseases 0.000 claims description 13
- 238000013507 mapping Methods 0.000 claims description 7
- 230000003044 adaptive effect Effects 0.000 claims description 5
- 238000003062 neural network model Methods 0.000 claims description 5
- 206010048669 Terminal state Diseases 0.000 claims description 4
- 238000003825 pressing Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000007423 decrease Effects 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 230000000754 repressing effect Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000005494 condensation Effects 0.000 description 1
- 238000009833 condensation Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 210000001747 pupil Anatomy 0.000 description 1
- 238000012887 quadratic function Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Definitions
- This application relates to the technical field of terminal equipment, and in particular to a method for adjusting screen brightness, a terminal, and a storage medium.
- the method of adjusting the brightness of the terminal screen is relatively simple, such as adjusting the screen brightness by sliding the brightness bar left and right or up and down; or automatically adjusting the screen brightness through changes in the external brightness, etc., to achieve coarse adjustment of the screen brightness.
- the actual needs of users for adjusting the screen brightness cannot be met.
- the embodiments of the present application provide a method for adjusting screen brightness, a terminal, and a storage medium.
- the target brightness value of the screen brightness adjustment of the terminal is further determined through the associated information, and the screen brightness is adjusted according to the target brightness value. Realize a more precise and fast screen brightness adjustment method, improve the accuracy and intelligence of the brightness adjustment.
- a method for adjusting screen brightness includes:
- the first condition is met, detecting whether the screen brightness value of the terminal and the interface information of the terminal meet the second condition, where the interface information includes the current application and/or the current interface;
- a screen mode switch is triggered, and/or an operation interface for adjusting the brightness of the screen is output.
- a method for adjusting screen brightness is applied to at least one terminal, and the method includes:
- the state information includes the associated information of the terminal, the screen brightness value of the terminal and the interface information of the terminal, and the interface information includes the current application and/or the current interface ;
- a terminal in a third aspect, includes a processing unit and a communication unit, wherein the processing unit is configured to invoke the program instructions to execute the methods described in the above first aspect and the above second aspect.
- a terminal in a fourth aspect, includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute The method described in the first aspect and the second aspect described above.
- an embodiment of the present application provides a chip that includes a processor and a data interface.
- the processor reads instructions stored in a memory through the data interface, and executes the above-mentioned first to third aspects and any An alternative implementation method.
- an embodiment of the present application provides a computer-readable storage medium, wherein the foregoing computer-readable storage medium stores a computer program for electronic data exchange, wherein the foregoing computer program enables a computer to execute Some or all of the steps described in one aspect.
- an embodiment of the present application provides a computer program product, wherein the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the above-mentioned computer program is operable to cause a computer to execute as implemented in this application Example part or all of the steps described in the first aspect.
- the computer program product may be a software installation package.
- the terminal detects the associated information of the terminal, and further detects whether the screen brightness value of the terminal and the interface information of the terminal meet the second condition when the associated information meets the first condition, and The screen mode switch is triggered when it is satisfied; or, the operation interface for adjusting the screen brightness is output.
- the adjustment method is to switch the screen mode and/or output an operation interface for adjusting the screen brightness, so as to realize a more precise and fast screen brightness adjustment method, and enhance the intelligence of the brightness adjustment.
- FIG. 1A is a schematic flowchart of a method for adjusting screen brightness according to an embodiment of the present application
- FIG. 1B is a schematic diagram of directly triggering screen mode switching provided by an embodiment of the present application.
- FIG. 1C is a schematic diagram of an operation interface that satisfies output for adjusting screen brightness according to an embodiment of the present application
- FIG. 1D is a schematic diagram of switching to a corresponding screen mode according to the acquired target brightness value according to an embodiment of the present application
- FIG. 1E is a schematic diagram of outputting a corresponding operation interface for adjusting screen brightness according to the type of interface application provided by an embodiment of the present application;
- FIG. 2 is a schematic flowchart of another method for adjusting screen brightness provided by an embodiment of the present application.
- 3A is a schematic flowchart of another method for adjusting screen brightness according to an embodiment of the present application.
- 3B is a schematic diagram of a screen brightness value triggering screen mode switching according to an embodiment of the present application.
- 3C is a schematic diagram of another screen brightness value triggering screen mode switching provided by an embodiment of the present application.
- FIG. 4 is a schematic diagram of functional units of a terminal provided by an embodiment of the present application.
- Fig. 5 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
- the method of adjusting the brightness of the terminal screen is relatively simple, such as adjusting the screen brightness by sliding the brightness bar left and right or up and down; or automatically adjusting the screen brightness through changes in the external brightness, etc., to achieve coarse adjustment of the screen brightness.
- the actual needs of users for adjusting the screen brightness cannot be met.
- embodiments of the present application provide a method and terminal for adjusting screen brightness.
- Terminals include, but are not limited to, devices with communication functions, smart phones, tablet computers, notebook computers, desktop computers, portable digital players, smart bracelets, smart watches, etc.
- FIG. 1A is a schematic flowchart of a method for adjusting screen brightness according to an embodiment of the present application. This method may include, but is not limited to, the following steps:
- the terminal user is about to adjust the screen brightness, triggers a screen brightness adjustment instruction, or the terminal automatically detects, and when the screen brightness is adjusted in a timely manner, the associated information of the terminal can be detected.
- the associated information may be any one or more of the following: facial feature information of the terminal user, distance information of the user from the terminal interface, environmental parameter information, terminal status information, and the like. Satisfying the above-mentioned first condition is that the facial feature information matches the preset facial feature information and/or the distance information matches the preset distance information.
- the glasses wearing information contained in the facial feature information is that the current user wears glasses
- one of the preset first conditions is that the current user wears glasses
- Other situations can be deduced by analogy, so I won't list them all here.
- the first condition is satisfied, that is, when the associated information meets the first condition, it is detected whether the screen brightness value of the terminal and the interface information of the terminal meet the second condition, and the interface information includes the current Application and/or current interface.
- the satisfaction of the second condition includes at least one of the following: the screen brightness value of the terminal satisfies a preset screen brightness condition and the interface information of the terminal matches preset interface information; the screen The brightness value does not match the interface information.
- the preset screen brightness condition is that the screen brightness value is higher than the maximum screen brightness in the current interface or the current application or the current screen mode, or the screen brightness value is lower than the screen in the current interface or the current application or the current screen mode The minimum brightness. That is, when the screen brightness value of the foregoing terminal meets the preset screen brightness condition, it is one of the types of situations that meets the foregoing second condition.
- the second type of situation that satisfies the above second condition also includes that the above screen brightness value does not match the interface information.
- the current screen brightness value is 50, nits, and the current interface is a game interface.
- the screen brightness value range matched by the game interface is between 150 nits and 300 nits. 50 nits are not in the range of the screen brightness value. Obviously, the current screen brightness value does not match the interface information.
- the associated information includes facial feature information of the terminal user and/or distance information of the user from the terminal interface, and if the first condition is met, the screen brightness value and the terminal interface are detected.
- Whether the interface information satisfies the second condition includes: when the facial feature information matches the preset facial feature information and/or the distance information matches the preset distance information, detecting the screen brightness value and Whether the interface information of the terminal meets the second condition.
- the terminal user has a habit of wearing glasses, and it is preset that the user does not wear glasses as meeting the first condition.
- the terminal user presets the standard distance when the distance between the user and the terminal interface is 20cm-30cm, and when the distance between the user and the terminal interface is 50cm, or greater than 30cm or less than 20cm, the first condition is satisfied.
- the user when the user’s facial feature information and the distance information satisfy the first condition at the same time, it is triggered to detect whether the screen brightness value and the terminal interface information meet the second condition, for example, the user is not currently wearing glasses, and the distance The terminal interface distance is 30cm, or when the user wears glasses and the user adjusts the distance between his face and the terminal interface to 50cm, that is, when any one of the first conditions can be met at the same time, the terminal detection is triggered Whether the screen brightness value and the interface information of the terminal meet the second condition.
- the terminal when the terminal detects that the screen brightness value and the interface information of the terminal meet the second condition, the terminal may execute the step of triggering the screen mode switch; or, optionally, the terminal may execute output to adjust the screen brightness The steps of the operation interface.
- the second condition is that the terminal user or the terminal manufacturer sets some conditions in advance to determine the screen brightness value and the terminal interface information Whether this condition is met, and if the second condition is met, there is no need to obtain other information or perform other steps.
- the terminal can directly execute the step of triggering the screen mode switch, such as switching to the preset fixed screen mode, or Switch to the preset screen mode corresponding to the screen brightness value and the interface information of the terminal, etc.
- the terminal when the terminal determines that the screen brightness value and the interface information of the terminal meet the second condition, the terminal outputs an operation interface for adjusting the screen brightness, and further screens the operation interface. bright adjustment.
- the triggering of screen mode switching includes: obtaining a target brightness value, and switching to a corresponding screen mode according to the target brightness value.
- the terminal further detects whether the screen brightness value of the terminal and the interface information of the terminal meet the second condition when the associated information satisfies the first condition, and when the associated information satisfies the second condition, Trigger the screen mode switch at time; or, output the operation interface for adjusting the screen brightness.
- the associated information obtained successively, the brightness value of the screen and the interface information of the terminal determine whether the preset condition is met, and based on the judgment result, when the second condition is satisfied, the screen mode switch is triggered to achieve a faster and more precise screen brightness adjustment method, and improve The accuracy and intelligence of brightness adjustment. Or output the operation interface for adjusting the screen brightness to facilitate fine adjustment of the screen brightness.
- the method further includes: receiving at least one operation on the operation interface to obtain the target brightness value according to the operation; The target brightness value adjusts the screen brightness.
- the operation interface is used to adjust the screen brightness, and the terminal is based on the operation received on the interface. Frequency and so on to determine the target brightness value of the terminal screen brightness adjustment. Further, the screen brightness is adjusted according to the target brightness value, and the brightness of the current screen is adjusted to the target brightness value.
- the target brightness value can be determined through the associated information, or the target brightness can be determined by the operation interface received by the terminal and the operation applied to the interface. Value to improve the convenience of determining the target brightness value.
- the associated information includes facial feature information of the terminal user and/or distance information of the user from the terminal interface, and the detection of whether the screen brightness value and the terminal interface information satisfy Before the second condition, the method further includes: determining a target brightness value according to the facial feature information and/or the distance information; and triggering screen mode switching includes: triggering screen mode switching according to the target brightness value.
- the associated information specifically includes facial feature information of the terminal user and/or distance information of the user from the terminal interface.
- Directly determining the target brightness value according to the associated information is to determine the target brightness value according to the facial feature information and/or the distance information.
- the acquired facial feature information of the terminal user is used to determine which state the user currently belongs to, and the distance of the terminal user from the terminal interface to calculate the current optimal brightness value, that is, the target brightness value.
- the terminal can switch the screen mode based on the target brightness value.
- the target brightness value is determined by the facial feature information of the terminal user and the distance between the terminal user and the terminal. Further, the terminal can switch the screen mode based on the target brightness value, so that the adjustment is more accurate and the screen mode is switched. It makes adjustment more convenient and enhances the functionality of terminal screen brightness adjustment.
- the facial feature information includes: glasses wearing information, eye state information, and face tilt information;
- the determining the target brightness value according to the facial feature information includes: acquiring the information corresponding to the glasses wearing information An eye state information table; an eye state value is determined based on the eye state information and the eye state information table; a target brightness value is determined based on the eye state value and the face tilt information.
- the target brightness value is determined together based on the glasses wearing information, the eye state information, and the face tilt information included in the face state information.
- the glasses wearing information contained in the facial feature information that the terminal user is not wearing glasses (the user wears glasses daily)
- the unworn eyes and the wearing eyes respectively correspond to different eye state information tables.
- the eye state value is determined according to the facial feature information including the eye state information and the eye state information table.
- the aforementioned glasses wearing information can be determined by detecting the current fatigue state of the user's eyes.
- the eyes will show different fatigue states. For example, if you use your eyes continuously for 1 hour and 4 hours, different fatigue states of the eyes will be detected; further, the distance of the eyes looking at the screen will also affect the fatigue state of the eyes, whether you wear glasses to look at the screen interface will also affect the eyes. State of fatigue.
- the aforementioned facial tilt information such as the angle between the end user's face and the screen interface, can be a specific degree, or can be divided into facing the screen, side facing the screen, severely tilted face, slightly tilted face, and so on. And finally determine the target brightness value according to the eye state value and the face tilt information. Different eye state values correspond to different target brightness ranges, and the facial tilt information is used as the correction coefficient of the eye state value to correct the eye state value to obtain the corrected eye state value. And use the corrected eye state value to determine the target brightness value.
- the determination is made based on the information of multiple dimensions included in the facial state information, so that the target brightness value is more accurate. Realize the fine and rapid adjustment of the screen to better meet the needs of users.
- the facial feature information includes any one or more of the following: glasses wearing information, eye state information, and facial tilt information.
- glasses wearing information such as whether the end user wears glasses
- eye status information such as eye fatigue, whether there are red blood streaks in the eyes, pupil condensation, etc.
- the eye status information is divided into different according to the Likert scale Different levels correspond to different states
- face tilt information such as the angle between the end user’s face and the screen interface, can be a specific degree, or it can be divided into facing the screen, facing the screen, the face is severely tilted, and the face is slight Tilt and so on.
- the determining the target brightness value according to the distance information includes: obtaining a preset mapping relationship table between the distance and the screen brightness value; determining according to the distance included in the distance information and the mapping relationship table The target brightness value.
- the corresponding relationship between the distance of the terminal user from the terminal interface and the target brightness value is preset to form a mapping relationship table.
- the correspondence between the two can be a simple one-to-one correspondence, for example, when the distance is 30cm, the target brightness value is 100 nits, and when the distance is 50cm, the target brightness value is 200 nits, etc. .
- the corresponding relationship between the two can also present a functional relationship, such as a quadratic function with an opening downward.
- the target brightness value increases with the increase of distance.
- the target brightness decreases as the distance increases and enters the second stage.
- the target brightness value is determined according to the distance included in the distance information and the mapping table. Make the determination of the target brightness value more accurate.
- the determining the target brightness value based on the facial feature information and the distance information includes: determining a first brightness range based on the facial feature information; and determining a first brightness range based on the distance information and the first brightness The range determines the target brightness value.
- the target brightness value can also be determined according to the facial feature information and the distance information. For example, if it is determined that the terminal user does not wear glasses (wear glasses daily) according to the facial feature information, then it is determined The first brightness range is the corresponding intervals, such as 100 nits-200 nits, 300-400 nits, etc.; and then according to the distance information, such as 10cm, the corresponding target brightness value is within the first brightness range interval 150 nits, set the target brightness value to 150 nits.
- the target brightness value is determined according to the facial feature information and the distance information, so that the target brightness value can better adapt to user requirements.
- the method further includes: obtaining environmental parameter information and terminal state information; the associated information includes facial feature information of the terminal user, and distance information of the user from the terminal interface; and the determining
- the target brightness value of the terminal screen brightness adjustment includes: obtaining contrast information according to the environmental parameter information and the terminal state information, and the contrast information includes at least one of the following: light-dark contrast, cold-warm contrast, and pure color contrast;
- the facial feature information is input to a pre-trained visual fatigue neural network model, and the user's visual fatigue degree is output; the target brightness value is determined according to the contrast information, the visual fatigue degree, and the distance information.
- the target brightness value in addition to the already obtained associated information, it is also necessary to obtain environmental parameter information through the acoustic sensor and the light sensor, and obtain the current state information of the terminal.
- the target brightness value for the brightness adjustment of the terminal screen first extract the brightness information, color warmth information, and color purity information included in the environmental parameter information from the environmental parameter information, and similarly, from the terminal status
- the brightness information, color warmth information, and color purity information included in the environmental parameter information are extracted from the information, and then the contrast information between the environmental parameter information and the terminal state information is calculated.
- the facial feature information is input into a pre-trained asthenopia neural network model, and then the user's asthenopia degree is output.
- the asthenopia neural network model is an asthenopia neural network model that is pre-trained to convergence.
- a target brightness value is calculated based on the contrast information, the degree of visual fatigue, and the distance information.
- the calculation formula is as follows:
- N is the target brightness value
- ⁇ is the contrast information
- d is the distance information
- the distance information is the degree of visual fatigue.
- the contrast information includes at least one of the following: light-dark contrast, cold-warm contrast, and color purity contrast.
- the facial feature information includes any one or more of the following: glasses wearing information, eye state information, and face tilt information.
- the outputting at least one operation interface for adjusting screen brightness includes at least one of the following: outputting a corresponding operation interface for adjusting screen brightness according to the screen mode; outputting a corresponding operation interface for adjusting screen brightness according to the screen brightness
- the operation interface for adjusting the screen brightness; the corresponding operation interface for adjusting the screen brightness is output according to the environmental parameter information; the corresponding operation interface for adjusting the screen brightness is output according to the type of interface application.
- the operation interface output can be performed according to different conditions, for example, according to any one or more of the following output operation interfaces, screen mode, screen brightness, environmental parameter information, interface Type of application, etc.
- the screen mode is any one or more of the following: eye protection mode, dark mode, late night mode, anti-flicker mode, warm color mode, cool color mode, adaptive mode, bright mode, standard mode, power saving mode, Super power saving mode.
- Eye protection mode dark mode, late night mode, anti-flicker mode, warm color mode, cool color mode, adaptive mode, bright mode, standard mode, power saving mode, Super power saving mode.
- Different screen modes are preset to correspond to different screen brightness adjustment operation interfaces, and the corresponding screen brightness adjustment operation interfaces will be output according to the current screen mode.
- the operation interface is output according to the screen brightness.
- the terminal includes a plurality of operation interfaces for adjusting brightness, and different screen brightnesses correspond to different operation interfaces.
- the current screen brightness is 10 nits or 400 nits, and the brightness value adjusted by each unit of the output operation interface is larger. For example, if you slide a grid, the screen brightness will increase by 20 nits, or the screen brightness will decrease by 20 nits. Realize quick adjustment of screen brightness. Or, when the current screen brightness is 100 nits or 200 nits, the brightness value adjusted per unit of the output operation interface is smaller. For example, if you slide a grid, the screen brightness will increase by 5 nits, or the screen brightness will decrease by 5 nits. Achieve fine and rapid adjustment of screen brightness.
- the corresponding operation interface for adjusting the screen brightness is output according to the environmental parameter information
- the operation interface for adjusting the screen brightness is output according to the brightness information contained in the environmental parameter information, and different operation interfaces are output for different brightness.
- an operation interface for adjusting the brightness of the screen is output, and different noise coefficients output different operation interfaces. Analyze the various types of sounds included in the noise figure to determine the source of the sound and the distance from the end user, as well as the number of people around the end user within the preset warning range of the end user. For example, when there are more than 5 people around in the preset warning range, the operation interface of screen brightness adjustment is output, so that the end user can adjust the screen brightness in time to avoid privacy leakage. Or automatically reduce the screen brightness or automatically lock the screen.
- the corresponding operation interface for adjusting the screen brightness is output according to the type of interface application.
- the output operation interface not only includes brightness adjustment options, but also hue adjustment options, color purity adjustment options, and so on.
- the current interface is a game interface
- the terminal user can output a preset operation interface for the game interface by sliding to the right or pulling down, sliding up, or clicking on the game interface.
- the operation interface shown in Fig. 1E includes automatic adjustment options and manual adjustment options. Among them, manual adjustment shows schematically the display brightness, display color temperature, display refresh rate, display resolution, display contrast, etc.
- the manual adjustment operation options that are not fully shown in the figure also include display size, display shape, display color, and display position. , Display screen, display quantity, etc. Improve the effect of the game interface through adjustments.
- the output operation interface is targeted according to different information, so that the screen brightness adjustment can better match the current environment, the current screen mode, and the screen brightness, and improve the current application effect.
- the output of the operation interface for adjusting the screen brightness according to the screen brightness includes at least one of the following: directly obtaining the operation interface for adjusting the screen brightness corresponding to the screen brightness, and outputting the operation interface ; Acquire the screen mode corresponding to the screen brightness, and output the operation interface for adjusting the screen brightness corresponding to the screen mode.
- the operation interface for adjusting the screen brightness corresponding to the screen brightness can be directly obtained, and the operation interface can be output; or the current screen brightness corresponding In the screen mode, the operation interface for adjusting the screen brightness corresponding to the screen mode is output.
- the operation interface for adjusting the screen brightness corresponding to the screen brightness can be directly obtained to simplify the operation; or the screen mode corresponding to the screen brightness can be determined first, and then output The operation interface for adjusting the brightness of the screen corresponding to the screen mode. Make the brightness adjustment more in line with the current screen mode.
- the method before the detecting whether the associated information of the terminal meets the first condition, the method further includes at least one of the following: the screen of the terminal is lit; a preset touch operation is received; A preset touch operation is received on a preset area or a preset control; a preset voice command is received; it is detected that the ambient brightness is lower than or equal to the first preset threshold; it is detected that the difference between the screen brightness and the ambient brightness is greater than Or equal to the second preset threshold; it is detected that the noise coefficient included in the environmental parameter information is less than the first noise threshold; it is detected that the noise coefficient included in the environmental parameter information is greater than or equal to the second noise threshold; it is detected that the terminal meets the Pre-conditions.
- a preset touch operation is received, which can be a single-click operation, a double-tap operation, a long-press operation, a re-press operation, a sliding operation, and an air touch; the preset touch operation is received on a preset area or a preset control.
- the control operation can be a preset screen brightness adjustment area or screen brightness adjustment control, or other controls, such as volume adjustment keys, etc., through switching instructions, switch to the screen brightness adjustment key, and use the volume adjustment key to adjust the screen brightness
- the function realizes screen brightness adjustment; when a preset voice command is received, for example, when the user inputs a voice such as "screen brightness adjustment” or "brightness adjustment", it will trigger the terminal to start detecting the associated information of the terminal; it is detected that the environment brightness is lower than or equal to
- the terminal meeting preset conditions includes at least one of the following: the currently running application on the screen belongs to the preset application; the interface content displayed on the screen is the preset target interface content; the current time of the terminal belongs to the preset time period; The current geographic location of the terminal belongs to the preset geographic location; the terminal is currently in motion; the motion speed of the terminal is lower than the first preset speed threshold; the motion speed of the terminal is higher than the second preset speed threshold; the motion speed of the terminal goes from fast to slow Or from slow to fast; the terminal is automatically triggered according to the user's operating habits.
- the terminal triggers the detection of the associated information of the terminal in the above-mentioned situations, so that the terminal can adjust the screen brightness in time.
- the terminal meets the preset conditions, including at least one of the following: including at least one of the following: the currently running application on the screen belongs to a preset application; the interface content displayed on the screen is the preset target interface content ; The current time of the terminal belongs to the preset time period; the current geographic location of the terminal belongs to the preset geographic location; the terminal is currently in motion; the motion speed of the terminal is lower than the first preset speed threshold; the motion speed of the terminal is higher than the second preset speed Threshold; the movement speed of the terminal is from fast to slow or from slow to fast; the terminal is automatically triggered according to the user's operating habits.
- the applications currently running on the screen are applications such as games, reading, video, etc., which are preset applications;
- the interface content displayed on the screen is the preset target interface content, for example, the displayed interface content is a chat window, audio and video interface, etc.;
- the current time of the terminal belongs to a preset time period, such as two o'clock in the afternoon-three o'clock in the afternoon, 9-11 o'clock in the evening, etc.;
- the current geographic location of the terminal belongs to a preset geographic location, and the preset geographic location, such as parks, playgrounds, and buses On a car, or on a light rail, etc.;
- the terminal is currently in motion;
- the motion speed of the terminal is lower than the first preset speed threshold;
- the motion speed of the terminal is higher than the second preset speed threshold;
- the motion speed of the terminal changes from fast to slow or from Slow to fast;
- the terminal is automatically triggered according to the user's operating habits.
- the obtaining the target brightness value according to the operation includes at least one of the following: Determine the target screen brightness value according to the duration of the operation and/or the re-press operation; determine the target screen brightness value according to the long-press operation and/or the pressure value of the re-press operation; Determine the target screen brightness value according to the number of operations and/or the re-press operation; determine the target screen brightness value according to at least two of the duration, pressure value and number of the long-press operation and/or the re-press operation The target brightness value.
- At least one operation for the output of at least one operation interface for adjusting the screen brightness which can be a long-press operation and/or a re-press operation, and further can be based on the duration, pressure value, and number of operations. Any one or more of them to determine the target brightness value.
- the pressure value of the pressing operation (long pressing operation and/or repressing operation) is detected by the sensor, and the duration and number of pressings, and the frequency of pressing are detected to determine the target brightness value.
- the method further includes: determining the target screen brightness according to the click position of the single-click operation or the double-click operation value.
- the single-click operation or the double-click operation at different positions of the operation interface corresponds to different target brightness values.
- the target brightness value is determined by the received single-click operation or double-click operation in different positions of the operation interface, and the operation is simple and convenient.
- the method further includes: switching to a corresponding screen mode according to the target brightness value.
- the corresponding screen mode can be directly switched to, and it can also be understood that different target brightness values correspond to different screen modes.
- the switching to the corresponding screen mode according to the target brightness value includes: if the target brightness value is lower than or equal to a first preset target brightness value, entering the first preset mode; Or, if the target brightness value is higher than or equal to the second preset target brightness value, enter the second preset mode; or, if the target brightness value is greater than the first preset target brightness value and less than the second preset value Set the brightness value to enter the third preset mode.
- the first preset target brightness value is 50 nits
- the second preset target brightness value is 300 nits
- the first preset mode is entered
- the target brightness value is 400 nits
- the second preset mode is entered
- the target brightness value is 200 nits
- the third preset mode is entered.
- the first preset mode, the second preset mode, and the third preset mode may be any one of the above-mentioned screen modes.
- the method further includes: in different screen modes and/or different screen brightness, the screen display effects are different.
- the screen mode corresponds to eye protection mode, dark mode, late night mode, anti-flicker mode, warm color mode, cool color mode, adaptive mode, bright mode, standard mode, power saving mode, super power saving mode, etc.
- the corresponding screen display effects are different; for the same reason, the screen display effects are different under different screen brightness.
- Display effects such as display resolution, display refresh rate, display color temperature, display brightness, display contrast, display size, display shape, display color, display position, display screen, display number, etc. are different.
- it further includes: under different screen modes and/or different screen brightnesses, the display effects of the operation interface are different.
- the display effect includes at least one of the following: display resolution, display refresh rate, display color temperature, display brightness, display contrast, display size, display shape, display color, display position, display screen, display quantity.
- the switching to the corresponding screen mode according to the target brightness value includes at least one of the following: if the current application or interface does not belong to the preset application or the preset interface in the switched screen mode, then It is not allowed to switch screens or exit the current application or interface; if the current application or interface belongs to a preset application or a preset interface in the screen mode after the switch, the screen switch is allowed.
- the preset applications that can be run in each screen mode are preset, or the preset interface that can be opened, such as the preset in the eye protection mode
- the application is WeChat
- the interface that can be opened for reading is the chat interface or the specific reading interface.
- the screen mode after switching is determined to be the eye protection mode according to the target brightness value
- the current application is a game
- the corresponding interface is a game interface. It is forbidden to switch the screen mode to the eye protection mode. Or you will directly exit the current game interface, and then switch the screen mode to the eye protection mode.
- the current interface is a preset application or a preset interface in an eye-protection mode such as a reading interface
- the screen mode is switched to the eye-protection mode.
- the screen mode is switched according to the target brightness value, the current application or the current interface is detected, and further, it is judged whether the current application or interface belongs to the preset application or the preset interface in the screen mode after the switch. And based on the judgment result, the screen mode is switched, or the current application or interface is exited. Make the screen mode switch more intelligent.
- the method before switching to the corresponding screen mode according to the target brightness value, the method further includes: outputting prompt information and/or switching options.
- a prompt message is first output for prompting the terminal user that the screen mode switch is about to be performed. Further, after receiving the user's confirmation switch instruction, the screen mode can be switched. Or, after receiving the user's refusal to switch instruction, the screen mode switch is prohibited. And, after the preset time is reached, if the user's instruction on the switching operation is not received, the screen mode is switched by itself.
- output switching options such as when the target brightness value corresponds to multiple screen modes, the switching options include multiple screen modes; and switching the screen duration, after reaching the duration, the screen mode is switched to the current corresponding screen mode, etc. .
- the preset area includes at least one of the following: an edge area of the screen, a physical entity button, a fingerprint recognition area, a virtual operation button, a preset system or application interface, a tray, a status bar, and a Dock bar.
- the method further includes at least one of the following: different operation interfaces corresponding to different screen modes; different operation interfaces corresponding to different screen brightness; different operation interfaces corresponding to different environmental parameters; different operations corresponding to different application types The interface is different.
- the corresponding operation interface for adjusting the screen brightness can be output according to the screen mode, screen brightness, environmental parameters, and type of interface application, but the output operation interface is different, that is, it corresponds to different operations. interface.
- FIG. 2 is a schematic flowchart of another screen brightness adjustment method provided by an embodiment of the present application, and the method includes:
- Steps 201-203 are the same as the above steps 101-103, and will not be repeated here.
- the at least one operation includes at least one of the following: a single-click operation, a double-click operation, a long-press operation, a re-press operation, a sliding operation, and an air touch.
- the operation can be directed to any area of the operating interface, or it can be directed to a preset area of the operating interface.
- the preset area as described above, can be any one or more of the following: the edge area of the screen, the physical entity Buttons, fingerprint recognition area, virtual operation buttons, preset system or application interface, tray, status bar, Dock bar, etc. In order to obtain the target brightness value according to this operation.
- the operation is a sliding operation
- obtain operation information of the sliding operation and the operation information includes at least one of the following: a sliding direction, a sliding distance, a sliding speed, and a sliding track.
- the step of obtaining the target brightness value according to the operation includes at least one of the following: if the sliding direction is a first preset direction, increasing the current screen brightness value to obtain the target brightness value; if The sliding direction is the second preset direction, and the current screen brightness value is reduced to obtain the target brightness value; the target screen brightness value is determined according to the sliding distance; the target screen brightness is determined according to the sliding speed Adjust the frequency of value increase or decrease.
- At least one operation interface for adjusting the screen brightness can be output, and the target brightness value can be obtained based on at least one operation received by the operation interface. Further, the screen brightness is adjusted according to the target brightness value. Improve the accuracy of determining the target brightness value, and achieve precise adjustment of the screen brightness.
- FIG. 3A is a schematic flowchart of another screen brightness adjustment method provided by an embodiment of the present application. The method is applied to at least one terminal and includes:
- the state information includes the associated information of the terminal, the screen brightness value of the terminal and the interface information of the terminal, and the interface information includes the current application and/or Current interface.
- the terminal may detect the current state information of the terminal according to a preset period or triggered by external conditions, and determine whether the state information of the terminal meets the preset conditions.
- the state information of the terminal includes the associated information of the terminal, the screen brightness value of the terminal, and the interface information of the terminal, and the interface information includes the current application and/or the current interface.
- the screen brightness value of the terminal meets the preset condition as an example, the screen brightness value is greater than the maximum brightness value of the current screen mode, then the screen brightness value meets the preset condition, for example, the screen brightness value is 500 nits, If the maximum brightness value of the current screen mode is 400 nits, it is determined that the screen brightness value meets the preset condition; it can also be that if the screen brightness value is less than the minimum brightness value of the current screen mode, then the screen brightness value meets the preset condition.
- the screen brightness value is 20 nits, and the minimum brightness value of the current screen mode is 50 nits, then the screen brightness value meets the preset conditions; it can also be the preset application if the current application is not in the current screen mode ,
- the screen brightness value meets the preset condition, for example, the current application is a game application, the current screen mode is power saving or super power saving mode, and the game application is not in power saving or super power saving mode, then the screen brightness value meets The preset condition; similarly, if the current interface does not belong to the preset interface of the current screen mode, the screen brightness value meets the preset condition.
- the associated information of the terminal can be any one or more of the following: facial feature information of the terminal user, distance information of the user from the terminal interface, environmental parameter information, and terminal status Information etc. Satisfying the above-mentioned first condition is that the facial feature information matches the preset facial feature information and/or the distance information matches the preset distance information. For example, if the glasses wearing information contained in the facial feature information is that the current user wears glasses, and one of the preset first conditions is that the current user wears glasses, it can be determined that the associated information of the terminal satisfies the first condition.
- the state information of the terminal satisfies a preset condition, including at least one of the following: the associated information of the terminal matches the preset associated information; the screen brightness value of the terminal satisfies the preset screen brightness condition;
- the interface information of the terminal matches the preset interface information; the associated information does not match the screen brightness value; the associated information does not match the interface information; the screen brightness value does not match the interface information.
- a screen mode switch is triggered, and/or an operation interface for adjusting the brightness of the screen is output.
- the preset switching mode includes at least one of the following: system preset, user setting, automatic generation according to operating habits, and last user selection.
- a screen mode switch is triggered, and/or an operation interface for adjusting screen brightness is output. Pre-judgment is made based on multi-dimensional information, and after the matching judgment, the screen mode is switched, or the current screen brightness is adjusted according to the operation interface. Improve the intelligence and accuracy of screen brightness adjustment.
- the screen brightness value satisfies a preset screen brightness condition, including at least one of the following: if the screen brightness value is greater than the maximum brightness value of the current screen mode, the screen brightness value satisfies the preset screen brightness If the screen brightness value is less than the minimum brightness value of the current screen mode, the screen brightness value meets the preset screen brightness condition.
- the interface information of the terminal matches the preset interface information, including at least one of the following: the current application does not belong to the preset application of the current screen mode, then the interface information of the terminal matches the preset The interface information; the interface information of the terminal matches the preset interface information.
- the triggering of screen mode switching includes at least one of the following: acquiring the screen mode corresponding to the screen brightness value, and switching to the corresponding screen mode; acquiring the screen mode corresponding to the current application , And switch to the corresponding screen mode; obtain the screen mode corresponding to the current interface, and switch to the corresponding screen mode.
- the screen mode when the screen mode is switched, the screen mode can be switched according to the current screen brightness, or the current application and the current interface.
- the screen mode is switched to a screen mode that matches the current screen brightness, or the current application or the current interface, to improve the pertinence of the screen mode switching.
- the method further includes: receiving at least one operation to obtain a target brightness value according to the operation; and adjusting the screen brightness according to the target brightness value .
- the interface when determining the target brightness value, based on the operation received on the operation interface, for example, the interface receives a tap operation, the number of taps, pressure value, frequency, etc. can be used to determine the brightness adjustment of the terminal screen.
- Target brightness value based on the operation received on the operation interface, for example, the interface receives a tap operation.
- the at least one operation includes at least one of the following: a single-click operation, a double-click operation, a long-press operation, a re-press operation, a sliding operation, and an air touch.
- the sliding operation includes any one or more of the following: sliding direction, sliding distance, sliding speed, and sliding track.
- the target brightness value is determined through the operation received by the terminal and applied to the operation interface, which improves the convenience of determining the target brightness value.
- the obtaining the target brightness value according to the operation includes at least one of the following: determining the target screen according to the duration of the operation Brightness value; Determine the target screen brightness value according to the pressure value of the operation; Determine the target screen brightness value according to the preset number of touch operations; Determine the target screen brightness value according to the duration, pressure value, and frequency of the operation At least two of them jointly determine the target brightness value.
- At least one operation for the output of at least one operation interface for adjusting the screen brightness which can be a long press operation and/or a repress operation, and further can be based on the duration, pressure value, and number of operations. Any one or more of them to determine the target brightness value.
- the pressure value of the pressing operation (long pressing operation and/or repressing operation) is detected by the sensor, and the duration and number of pressings, and the frequency of pressing are detected to determine the target brightness value.
- the obtaining the target brightness value according to the operation includes: determining the target screen brightness value according to the click position of the operation.
- the single-click operation or the double-click operation at different positions of the operation interface corresponds to different target brightness values.
- the target brightness value is determined by the received single-click operation or double-click operation in different positions of the operation interface, and the operation is simple and convenient.
- it also includes at least one of the following: in different screen modes and/or different screen brightness, the screen display effect is different; in different screen modes and/or different screen brightness, so The display effect of the operation interface is different.
- the screen mode corresponds to eye protection mode, dark mode, late night mode, anti-flicker mode, warm color mode, cool color mode, adaptive mode, bright mode, standard mode, power saving mode, super power saving mode, etc.
- the corresponding screen display effects are different; for the same reason, the screen display effects are different under different screen brightness.
- Display effects such as display resolution, display refresh rate, display color temperature, display brightness, display contrast, display size, display shape, display color, display position, display screen, display number, etc. are different.
- different operation interfaces can be set for different screen modes and different screen brightness.
- the display effect includes at least one of the following: display resolution, display refresh rate, display color temperature, display brightness, display contrast, display size, display shape, display color, display position, display screen, display quantity.
- the method before the screen mode switching, the method further includes: outputting prompt information and/or switching options.
- a prompt message is first output for prompting the terminal user that the screen mode switch is about to be performed. Further, after receiving the user's confirmation switch instruction, the screen mode can be switched. Or, after receiving the user's refusal to switch instruction, the screen mode switch is prohibited. And, after the preset time is reached, if the user's instruction on the switching operation is not received, the screen mode is switched by itself.
- output switching options such as when the target brightness value corresponds to multiple screen modes, the switching options include multiple screen modes; and switching the screen duration, after reaching the duration, the screen mode is switched to the current corresponding screen mode, etc. .
- the setting mode of the switching option includes at least one of the following: system preset, user setting, automatic generation according to operating habits, and last user selection.
- the screen mode includes at least one of the following: eye protection mode, dark mode, late night mode, anti-flicker mode, warm color mode, cool color mode, adaptive mode, bright mode, standard mode, power saving Mode, super power saving mode.
- the terminal includes at least one first screen and at least one second screen, and further includes at least one of the following: if the screen brightness value comes from the first screen, the trigger screen mode The screen to be switched is the first screen and/or the second screen; if the screen brightness value includes the brightness value of the first screen and the brightness value of the second screen, the screen that triggers the screen mode switch It is the first screen and/or the second screen.
- the terminal includes multiple screens, and multiple screens are currently turned on, such as a split screen or an external display screen, as shown in Figure 3B, if the brightness value of one of the screens is detected, such as the first
- the screen brightness value of a screen can switch the screen mode of the first screen and/or the second screen based on the brightness value of the screen.
- the acquired screen brightness value includes the brightness value of the first screen and the brightness value of the second screen
- the screen mode switch of the first screen can be triggered according to the brightness value of the first screen, and according to The brightness value of the second screen triggers the screen mode switching of the second screen.
- the screen mode switching can be performed based on the brightness value of one of the screens, or can be performed separately based on the respective screen brightness values. Improve the pertinence of screen mode switching.
- the switching method includes at least one of the following: simultaneous, sequential, random, switching according to user habits, user settings, system settings, last selection .
- the switching can be done at the same time, or at random, or according to the order of up and down, left and right, and the order of detecting the brightness value of the screen, or according to User settings or system settings are switched, and according to the last selection, that is, the switching method of historical selection.
- the operation interface may only be displayed on the first screen or the second screen; or, be displayed on the first screen and the second screen at the same time.
- the operation interface can be displayed on only one of the screens, or the same or different operation interfaces can be displayed on multiple screens.
- the corresponding operation interfaces on different screens match the interface of the current screen, or the interface of the current screen. application.
- the operation interface is displayed on any one of the screens, which can simplify the operation interface. Display on different interfaces to improve the matching of the operation interface and the corresponding screen.
- receiving operation information on the operation interface further includes at least one of the following: if the operation interface is only displayed on one Screen, only adjust the brightness value of the screen displaying the operation interface according to the operation information; if the operation interface is displayed on at least two screens, adjust the brightness of all screens displaying the operation interface according to the operation information value.
- the operation information may be a touch gesture, such as tap, long press, slide, and double press, etc., and also start a space gesture.
- the operation interface is displayed on only one screen, such as the first screen, the brightness value of the first screen corresponding to the operation interface is adjusted according to the heavy pressing operation included in the operation information.
- the operation interface is displayed on at least two screens, such as the first screen and the second screen, the brightness values of all screens displaying the operation interface are adjusted according to the operation information, that is, the first screen and the second screen. 2.
- the brightness value of the screen is a touch gesture, such as tap, long press, slide, and double press, etc.
- the target screen for brightness adjustment is determined according to the display of the operation interface and different screens, and the pertinence of the screen brightness adjustment is improved.
- the method further includes: when the brightness value of the screen changes, the operation interface also changes accordingly.
- the adjustment value interval of the progress bar changes, or the adjustment step length of the progress bar changes, or the display effect (such as size, position, etc.) of the progress bar changes. Also, if it is displayed on multiple screens at the same time, the operation interface on each screen will change synchronously.
- the operation interface changes with the change of the brightness value of the screen, which is convenient for displaying the current screen brightness in real time and for adjusting the screen brightness next time.
- FIG. 4 is a schematic diagram of functional units of a terminal 400 according to an embodiment of the present application.
- the terminal 400 may include a processing unit 410, and optionally, a communication unit 420 and the like.
- the processing unit 410 can be used to execute instructions of any step in the foregoing method embodiment, which will not be repeated here. It can be understood that, in the present application, there is no limitation on the way of dividing the units, and only one possible way is shown above.
- FIG. 5 is a schematic structural diagram of a terminal 500 provided by an embodiment of the present application.
- the terminal 500 includes a processor 510 and a memory 520.
- the terminal may also include an input device and an output device.
- the processor 510 and the memory 520 are connected to the input device and the output device.
- the memory 520 is used to store a computer program 521
- the computer program 521 includes program instructions
- the processor 510 is configured to call the program instructions to execute instructions such as any one of the steps in the above method embodiments, I won't repeat them here.
- the processor 510 may also include a main processor and a co-processor.
- the main processor is a processor used to process data in an awake state, and is also called a CPU (Central Processing Unit, central processing unit);
- the coprocessor is a low-power processor used to process data in the standby state.
- the processor may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing content that needs to be displayed on the display screen.
- the processor 510 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computing operations related to machine learning.
- AI Artificial Intelligence
- the memory 520 may include one or more computer-readable storage media, which may be non-transitory.
- the memory 520 may also include a high-speed random access memory and a non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
- the memory 520 is used to store at least the following computer program, where the computer program is loaded and executed by the processor 510 to implement the relevant steps in the method for managing multi-body hardware disclosed in any of the foregoing embodiments.
- the resources stored in the memory 520 may also include an operating system and data, etc., and the storage mode may be short-term storage or permanent storage.
- the operating system may include Windows, Unix, Linux, etc.
- the data may include, but is not limited to, terminal interaction data, terminal device signals, and so on.
- an electronic device includes a hardware structure and/or software module corresponding to each function.
- the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
- An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program, the computer program includes program instructions, and the program instructions when executed by a processor cause the processor to execute Instructions for any step in the method embodiment.
- the embodiments of the present application also provide a computer program product.
- the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program.
- the above-mentioned computer program is operable to cause a computer to execute any of the methods described in the above-mentioned method embodiments. Part or all of the steps of the method.
- the computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
A screen brightness adjustment method, a terminal and a storage medium. Said method comprises: detecting whether association information of a terminal satisfies a first condition (101); if the first condition is satisfied, detecting whether a screen brightness value of the terminal and interface information of the terminal satisfy a second condition, the interface information comprising a current application and/or a current interface (102); and if the second condition is satisfied, triggering screen mode switching, and/or outputting an operation interface for adjusting screen brightness (103). By detecting and pre-determining whether association information of a terminal, and a screen brightness value of the terminal and interface information of the terminal satisfy conditions, the accuracy of screen mode switching and/or outputting an operation interface for adjusting screen brightness is improved. A fine and fast screen brightness adjustment method is achieved, and the accuracy and intelligence of brightness adjustment are improved.
Description
本申请涉及终端设备技术领域,尤其涉及一种屏幕亮度调节方法、终端及存储介质。This application relates to the technical field of terminal equipment, and in particular to a method for adjusting screen brightness, a terminal, and a storage medium.
随着终端技术的快速发展,终端的使用覆盖范围日益广泛。用户对终端的功能要求也日益增加。目前,对终端屏幕亮度的调节方式较为单一,比如通过左右或者上下滑动亮度条的方式进行屏幕亮度调节;或者通过外界亮度的变化自动调节屏幕亮度等,实现对屏幕亮度的粗调节。但很多情况下,并不能满足用户对屏幕亮度调节的实际需求。With the rapid development of terminal technology, the use of terminals has become increasingly widespread. The functional requirements of users on the terminal are also increasing. At present, the method of adjusting the brightness of the terminal screen is relatively simple, such as adjusting the screen brightness by sliding the brightness bar left and right or up and down; or automatically adjusting the screen brightness through changes in the external brightness, etc., to achieve coarse adjustment of the screen brightness. However, in many cases, the actual needs of users for adjusting the screen brightness cannot be met.
发明内容Summary of the invention
本申请实施例提供了一种屏幕亮度调节方法、终端及存储介质。通过检测终端的关联信息,进一步通过关联信息来确定终端屏幕亮度调节的目标亮度值,并且根据所述目标亮度值调整所述屏幕亮度。实现更加精细快速地屏幕亮度调节方式,提升亮度调节的准确性以及智能性。The embodiments of the present application provide a method for adjusting screen brightness, a terminal, and a storage medium. By detecting the associated information of the terminal, the target brightness value of the screen brightness adjustment of the terminal is further determined through the associated information, and the screen brightness is adjusted according to the target brightness value. Realize a more precise and fast screen brightness adjustment method, improve the accuracy and intelligence of the brightness adjustment.
第一方面,一种屏幕亮度调整方法,所述方法包括:In a first aspect, a method for adjusting screen brightness includes:
检测终端的关联信息是否满足第一条件;Detecting whether the associated information of the terminal meets the first condition;
若满足所述第一条件,检测所述终端的屏幕亮度值和所述终端的界面信息是否满足第二条件,所述界面信息包括当前应用和/或当前界面;If the first condition is met, detecting whether the screen brightness value of the terminal and the interface information of the terminal meet the second condition, where the interface information includes the current application and/or the current interface;
若满足所述第二条件,触发屏幕模式切换,和/或,输出用于调整屏幕亮度的操作界面。If the second condition is met, a screen mode switch is triggered, and/or an operation interface for adjusting the brightness of the screen is output.
第二方面,一种屏幕亮度调整方法,应用于至少一终端,所述方法包括:In a second aspect, a method for adjusting screen brightness is applied to at least one terminal, and the method includes:
检测终端的状态信息是否满足预设条件,所述状态信息包括所述终端的关联信息、所述终端的屏幕亮度值和所述终端的界面信息,所述界面信息包括当前应用和/或当前界面;Detect whether the state information of the terminal meets preset conditions, the state information includes the associated information of the terminal, the screen brightness value of the terminal and the interface information of the terminal, and the interface information includes the current application and/or the current interface ;
若是,触发屏幕模式切换,和/或,输出用于调整屏幕亮度的操作界面。If yes, trigger the screen mode switch, and/or output an operation interface for adjusting the screen brightness.
第三方面,一种终端,包括处理单元,通信单元,其中,所述处理单元被配置用于调用所述程序指令,执行如上述第一方面与上述第二方面所述的方法。In a third aspect, a terminal includes a processing unit and a communication unit, wherein the processing unit is configured to invoke the program instructions to execute the methods described in the above first aspect and the above second aspect.
第四方面,一种终端,包括处理器和存储器,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如上述第一方面与上述第二方面所述的方法。In a fourth aspect, a terminal includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute The method described in the first aspect and the second aspect described above.
第五方面,本申请实施例提供了一种芯片,该芯片包括处理器与数据接口,该处理器通过该数据接口读取存储器上存储的指令,执行如上述第一方面至第三方面以及任一种可选的实现方式的方法。In a fifth aspect, an embodiment of the present application provides a chip that includes a processor and a data interface. The processor reads instructions stored in a memory through the data interface, and executes the above-mentioned first to third aspects and any An alternative implementation method.
第六方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the foregoing computer-readable storage medium stores a computer program for electronic data exchange, wherein the foregoing computer program enables a computer to execute Some or all of the steps described in one aspect.
第七方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a seventh aspect, an embodiment of the present application provides a computer program product, wherein the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the above-mentioned computer program is operable to cause a computer to execute as implemented in this application Example part or all of the steps described in the first aspect. The computer program product may be a software installation package.
本申请实施例中,终端通过检测终端的关联信息,进一步通过在该关联信息满足第一条件的情况下,检测所述终端的屏幕亮度值和所述终端的界面信息是否满足第二条件,并且在满足时触发屏幕模式切换;或者,输出用于调整屏幕亮度的操作界面。通过预先判断,提升亮度调节的准确性。调节的方式通过屏幕模式的切换,和/或,输出用于调整屏幕亮度的操作界面,实现更加精细快速的屏幕亮度调节方式,提升亮度调节的智能性。In the embodiment of the present application, the terminal detects the associated information of the terminal, and further detects whether the screen brightness value of the terminal and the interface information of the terminal meet the second condition when the associated information meets the first condition, and The screen mode switch is triggered when it is satisfied; or, the operation interface for adjusting the screen brightness is output. Through pre-judgment, the accuracy of brightness adjustment is improved. The adjustment method is to switch the screen mode and/or output an operation interface for adjusting the screen brightness, so as to realize a more precise and fast screen brightness adjustment method, and enhance the intelligence of the brightness adjustment.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1A是本申请实施例提供的一种屏幕亮度调节方法的流程示意图;FIG. 1A is a schematic flowchart of a method for adjusting screen brightness according to an embodiment of the present application;
图1B是本申请实施例提供的一种直接触发屏幕模式切换的示意图;FIG. 1B is a schematic diagram of directly triggering screen mode switching provided by an embodiment of the present application;
图1C是本申请实施例提供的一种满足输出用于调整屏幕亮度的操作界面的示意图;FIG. 1C is a schematic diagram of an operation interface that satisfies output for adjusting screen brightness according to an embodiment of the present application;
图1D是本申请实施例提供的一种根据获取的目标亮度值切换到对应的屏幕模式的示意图;FIG. 1D is a schematic diagram of switching to a corresponding screen mode according to the acquired target brightness value according to an embodiment of the present application; FIG.
图1E是本申请实施例提供的一种根据界面应用的类型输出对应的用于调整屏幕亮度的操作界面的示意图;FIG. 1E is a schematic diagram of outputting a corresponding operation interface for adjusting screen brightness according to the type of interface application provided by an embodiment of the present application;
图2是本申请实施例提供的另一种屏幕亮度调节方法的流程示意图;2 is a schematic flowchart of another method for adjusting screen brightness provided by an embodiment of the present application;
图3A是本申请实施例提供的另一种屏幕亮度调节方法的流程示意图;3A is a schematic flowchart of another method for adjusting screen brightness according to an embodiment of the present application;
图3B是本申请实施例提供的一种屏幕亮度值触发屏幕模式切换的示意图;3B is a schematic diagram of a screen brightness value triggering screen mode switching according to an embodiment of the present application;
图3C是本申请实施例提供的另一种屏幕亮度值触发屏幕模式切换的示意图;3C is a schematic diagram of another screen brightness value triggering screen mode switching provided by an embodiment of the present application;
图4是本申请实施例提供的一种终端的功能单元示意图;4 is a schematic diagram of functional units of a terminal provided by an embodiment of the present application;
图5是本申请实施例提供的一种终端的结构示意图。Fig. 5 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific sequence. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent in these processes, methods, products or equipment.
目前,对终端屏幕亮度的调节方式较为单一,比如通过左右或者上下滑动亮度条的方式进行屏幕亮度调节;或者通过外界亮度的变化自动调节屏幕亮度等,实现对屏幕亮度的粗调节。但很多情况下,并不能满足用户对屏幕亮度调节的实际需求。At present, the method of adjusting the brightness of the terminal screen is relatively simple, such as adjusting the screen brightness by sliding the brightness bar left and right or up and down; or automatically adjusting the screen brightness through changes in the external brightness, etc., to achieve coarse adjustment of the screen brightness. However, in many cases, the actual needs of users for adjusting the screen brightness cannot be met.
针对上述问题,本申请实施例提供一种屏幕亮度调节的方法及终端。In view of the foregoing problems, embodiments of the present application provide a method and terminal for adjusting screen brightness.
终端包括但不限于带通讯功能的设备、智能手机、平板电脑、笔记本电脑、台式电脑、便携式数字播放器、智能手环以及智能手表等。Terminals include, but are not limited to, devices with communication functions, smart phones, tablet computers, notebook computers, desktop computers, portable digital players, smart bracelets, smart watches, etc.
首先,请参见图1A,图1A是本申请实施例提供的一种屏幕亮度调节的方法的流程示意图,这种方法可包括但不限于如下步骤:First, please refer to FIG. 1A. FIG. 1A is a schematic flowchart of a method for adjusting screen brightness according to an embodiment of the present application. This method may include, but is not limited to, the following steps:
101、检测终端的关联信息是否满足第一条件。101. Detect whether the associated information of the terminal meets the first condition.
具体的,可以理解为在一定的情况下,比如终端用户将要进行屏幕亮度调节,触发了屏幕亮度调节指令,或者终端自动进行检测,适时调节屏幕亮度情况时,就可检测终端的关联信息。所述关联信息可以是以下任意一种或多种:所述终端用户的面部特征信息、所述用户距离终端界面的距离信息、环境参数信息、终端状态信息等。满足上述第一条件,即为面部特征信息与预设面部特征信息匹配和/或所述距离信息与预设距离信息匹配。比如面部特征信息包含的眼镜佩戴信息为当前用户佩戴了眼镜,而预设第一条件之一种即为当前用户佩戴了眼镜,则可以确定出终端的关联信息满足第一条件。其他情况可以此类推,在此不一一列举。Specifically, it can be understood that under certain circumstances, for example, the terminal user is about to adjust the screen brightness, triggers a screen brightness adjustment instruction, or the terminal automatically detects, and when the screen brightness is adjusted in a timely manner, the associated information of the terminal can be detected. The associated information may be any one or more of the following: facial feature information of the terminal user, distance information of the user from the terminal interface, environmental parameter information, terminal status information, and the like. Satisfying the above-mentioned first condition is that the facial feature information matches the preset facial feature information and/or the distance information matches the preset distance information. For example, if the glasses wearing information contained in the facial feature information is that the current user wears glasses, and one of the preset first conditions is that the current user wears glasses, it can be determined that the associated information of the terminal satisfies the first condition. Other situations can be deduced by analogy, so I won't list them all here.
102、若满足所述第一条件,检测所述终端的屏幕亮度值和所述终端的界面信息是否满足第二条件,所述界面信息包括当前应用和/或当前界面。102. If the first condition is met, detect whether the screen brightness value of the terminal and the interface information of the terminal meet the second condition, where the interface information includes the current application and/or the current interface.
具体的,满足所述第一条件,也即在上述关联信息满足第一条件的情况下,再检测上述终端的屏幕亮度值和所述终端的界面信息是否满足第二条件,该界面信息包括当前应用和/或当前界面。Specifically, the first condition is satisfied, that is, when the associated information meets the first condition, it is detected whether the screen brightness value of the terminal and the interface information of the terminal meet the second condition, and the interface information includes the current Application and/or current interface.
可选的,所述满足所述第二条件,包括以下至少一种:所述终端的屏幕亮度值满足预设的屏幕亮度条件和所述终端的界面信息匹配预设的界面信息;所述屏幕亮度值不匹配所述界面信息。Optionally, the satisfaction of the second condition includes at least one of the following: the screen brightness value of the terminal satisfies a preset screen brightness condition and the interface information of the terminal matches preset interface information; the screen The brightness value does not match the interface information.
具体的,预设的屏幕亮度条件即屏幕亮度值高于当前界面或当前应用或当前屏幕模式下的屏幕亮度最大值,或者,屏幕亮度值低于当前界面或当前应用或当前屏幕模式下的屏幕亮度最小值。也即上述终端的屏幕亮度值满足预设的屏幕亮度条件时,即为满足上述第二条件的其中一类情况。另外,满足上述第二条件的第二类情况还包括,上述屏幕亮度值不匹配所述界面信息。比如当前屏幕亮度值为50,尼特(nits),当前界面为游戏界面。而游戏界面匹配的屏幕亮度值范围区间为150尼特-300尼特。50尼特不处于该屏幕亮度值范围区间,很显然,当前该屏幕亮度值不匹配该界面信息。Specifically, the preset screen brightness condition is that the screen brightness value is higher than the maximum screen brightness in the current interface or the current application or the current screen mode, or the screen brightness value is lower than the screen in the current interface or the current application or the current screen mode The minimum brightness. That is, when the screen brightness value of the foregoing terminal meets the preset screen brightness condition, it is one of the types of situations that meets the foregoing second condition. In addition, the second type of situation that satisfies the above second condition also includes that the above screen brightness value does not match the interface information. For example, the current screen brightness value is 50, nits, and the current interface is a game interface. The screen brightness value range matched by the game interface is between 150 nits and 300 nits. 50 nits are not in the range of the screen brightness value. Obviously, the current screen brightness value does not match the interface information.
可选的,所述关联信息包括所述终端用户的面部特征信息和/或所述用户距离终端界面的距离信息,所述若满足所述第一条件,检测所述屏幕亮度值和所述终端的界面信息是否满足第二条件,包括:所述面部特征信息与预设面部特征信息匹配的情况下和/或所述距离信息与预设距离信息匹配的情况下,检测所述屏幕亮度值和所述终端的界面信息是否满足第二条件。Optionally, the associated information includes facial feature information of the terminal user and/or distance information of the user from the terminal interface, and if the first condition is met, the screen brightness value and the terminal interface are detected. Whether the interface information satisfies the second condition includes: when the facial feature information matches the preset facial feature information and/or the distance information matches the preset distance information, detecting the screen brightness value and Whether the interface information of the terminal meets the second condition.
具体的,比如终端用户有佩戴眼镜的习惯,预先设置该用户未佩戴眼镜情况为满足第一条件等。又或者终端用户预先设置在该用户与终端界面的距离为20cm-30cm时,为标准距离,该用户与终端界面的距离为50cm时,或者大于30cm或者小于20cm时,为满足第一条件。又或者在该用户的面部特征信息和所述距离信息同时满足第一条件时,触发检测所述屏幕亮度值和所述终端的界面信息是否满足第二条件,比如当前该用户未佩戴眼镜,距离终端界面的距离为30cm,或者当该用户佩戴眼镜后,并且该用户将自身面部与终端界面的距离调整为50cm时,即满足第一条件中的任意一项也可以同时满足时,触发终端检测所述屏幕亮度值和所述终端的界面信息是否满足第二条件。Specifically, for example, the terminal user has a habit of wearing glasses, and it is preset that the user does not wear glasses as meeting the first condition. Or the terminal user presets the standard distance when the distance between the user and the terminal interface is 20cm-30cm, and when the distance between the user and the terminal interface is 50cm, or greater than 30cm or less than 20cm, the first condition is satisfied. Or when the user’s facial feature information and the distance information satisfy the first condition at the same time, it is triggered to detect whether the screen brightness value and the terminal interface information meet the second condition, for example, the user is not currently wearing glasses, and the distance The terminal interface distance is 30cm, or when the user wears glasses and the user adjusts the distance between his face and the terminal interface to 50cm, that is, when any one of the first conditions can be met at the same time, the terminal detection is triggered Whether the screen brightness value and the interface information of the terminal meet the second condition.
103、若满足所述第二条件,触发屏幕模式切换,和/或,输出用于调整屏幕亮度的操作界面。103. If the second condition is met, trigger screen mode switching, and/or output an operation interface for adjusting screen brightness.
可选的,终端检测到该屏幕亮度值和该终端的界面信息满足第二条件的情况下,终端可执行触发屏幕模式切换的步骤;或者,可选的,终端可执行输出用于调整屏幕亮度的操作界面的步骤。Optionally, when the terminal detects that the screen brightness value and the interface information of the terminal meet the second condition, the terminal may execute the step of triggering the screen mode switch; or, optionally, the terminal may execute output to adjust the screen brightness The steps of the operation interface.
例如,对于触发屏幕模式切换的方式,可以理解为,如图1B所示,第二条件即终端用户或者终端生产厂家预先设置了一些条件,用于去判断该屏幕亮度值和该终端的界面信息是否符合该条件,并且在符合第二条件的情况下,不用再去获取其他信息或者执行其他步骤,所述终端可以直接执行触发屏幕模式切换的步骤,比如切换到预设的固定屏幕模式,或者切换到预设的与该屏幕亮度值和该终端的界面信息对应的屏幕模式等。和/或,如图1C所示,终端判断该屏幕亮度值和该终端的界面信息符合第二条件 的情况下,该终端输出用于调整屏幕亮度的操作界面,进一步的针对该操作界面进行屏幕亮度调节。For example, for the way to trigger the screen mode switch, it can be understood that, as shown in Figure 1B, the second condition is that the terminal user or the terminal manufacturer sets some conditions in advance to determine the screen brightness value and the terminal interface information Whether this condition is met, and if the second condition is met, there is no need to obtain other information or perform other steps. The terminal can directly execute the step of triggering the screen mode switch, such as switching to the preset fixed screen mode, or Switch to the preset screen mode corresponding to the screen brightness value and the interface information of the terminal, etc. And/or, as shown in FIG. 1C, when the terminal determines that the screen brightness value and the interface information of the terminal meet the second condition, the terminal outputs an operation interface for adjusting the screen brightness, and further screens the operation interface. bright adjustment.
可选的,所述触发屏幕模式切换,包括:获取目标亮度值,根据所述目标亮度值切换到对应的屏幕模式。Optionally, the triggering of screen mode switching includes: obtaining a target brightness value, and switching to a corresponding screen mode according to the target brightness value.
具体的,如图1D所示,也即终端在进行屏幕模式切换时,若该终端不存在预设的固定的屏幕模式,则获取目标亮度值,并进一步的,终端根据该目标亮度值切换到对应的屏幕模式。Specifically, as shown in Figure 1D, that is, when the terminal is switching the screen mode, if the terminal does not have a preset fixed screen mode, the target brightness value is acquired, and further, the terminal switches to the target brightness value according to the target brightness value. Corresponding screen mode.
可以看出,终端通过检测终端的关联信息,进一步通过在该关联信息满足第一条件的情况下,检测所述终端的屏幕亮度值和所述终端的界面信息是否满足第二条件,并且在满足时触发屏幕模式切换;或者,输出用于调整屏幕亮度的操作界面。先后获取的关联信息以及屏幕的亮度值以及终端的界面信息判断是否满足预设的条件,并基于判断结果满足第二条件时,触发屏幕模式的切换,实现更加快速精细地屏幕亮度调节方式,提升亮度调节的准确性以及智能性。或者输出调整屏幕亮度的操作界面,方便对屏幕亮度实现精细化调节。It can be seen that by detecting the associated information of the terminal, the terminal further detects whether the screen brightness value of the terminal and the interface information of the terminal meet the second condition when the associated information satisfies the first condition, and when the associated information satisfies the second condition, Trigger the screen mode switch at time; or, output the operation interface for adjusting the screen brightness. The associated information obtained successively, the brightness value of the screen and the interface information of the terminal determine whether the preset condition is met, and based on the judgment result, when the second condition is satisfied, the screen mode switch is triggered to achieve a faster and more precise screen brightness adjustment method, and improve The accuracy and intelligence of brightness adjustment. Or output the operation interface for adjusting the screen brightness to facilitate fine adjustment of the screen brightness.
在一个可能的示例中,所述输出用于调整屏幕亮度的操作界面之后,所述方法还包括:接收针对所述操作界面的至少一操作,以根据所述操作获取目标亮度值;根据所述目标亮度值进行屏幕亮度调整。In a possible example, after the output of the operation interface for adjusting the screen brightness, the method further includes: receiving at least one operation on the operation interface to obtain the target brightness value according to the operation; The target brightness value adjusts the screen brightness.
具体的,可以理解为在输出至少一个操作界面后,该操作界面用于调整屏幕亮度,终端基于该界面上接收的操作,比如该界面接收了叩击操作,通过叩击的次数,压力值,频率等来确定所述终端屏幕亮度调节的目标亮度值。进一步的,根据该目标亮度值进行屏幕亮度调整,将当前屏幕的亮度调整至目标亮度值。Specifically, it can be understood that after at least one operation interface is output, the operation interface is used to adjust the screen brightness, and the terminal is based on the operation received on the interface. Frequency and so on to determine the target brightness value of the terminal screen brightness adjustment. Further, the screen brightness is adjusted according to the target brightness value, and the brightness of the current screen is adjusted to the target brightness value.
可见,在所述关联信息满足预设条件的情况下,既可以通过关联信息进行目标亮度值的确定,也可以通过输出操作界面的方式,通过终端接收的施加于该界面的操作来确定目标亮度值,提升确定目标亮度值的便捷性。It can be seen that when the associated information satisfies the preset conditions, the target brightness value can be determined through the associated information, or the target brightness can be determined by the operation interface received by the terminal and the operation applied to the interface. Value to improve the convenience of determining the target brightness value.
在一个可能的示例中,所述关联信息包括所述终端用户的面部特征信息和/或所述用户距离终端界面的距离信息,所述检测所述屏幕亮度值和所述终端的界面信息是否满足第二条件之前,所述方法还包括:根据所述面部特征信息和/或所述距离信息确定目标亮度值;所述触发屏幕模式切换,包括:根据所述目标亮度值触发屏幕模式切换。In a possible example, the associated information includes facial feature information of the terminal user and/or distance information of the user from the terminal interface, and the detection of whether the screen brightness value and the terminal interface information satisfy Before the second condition, the method further includes: determining a target brightness value according to the facial feature information and/or the distance information; and triggering screen mode switching includes: triggering screen mode switching according to the target brightness value.
具体的,可以理解为所述关联信息具体包括所述终端用户的面部特征信息和/或所述用户距离终端界面的距离信息。根据所述关联信息直接确定目标亮度值,即为根据所述面部特征信息和/或所述距离信息确定目标亮度值。比如获取的终端用户的面部特征信息,来判断用户当前属于哪种状态,以及终端用户距离终端界面的距离来计算当前最佳亮度值即目标亮度值。进一步的,终端能基于该目标亮度值进行屏幕模式的切换。Specifically, it can be understood that the associated information specifically includes facial feature information of the terminal user and/or distance information of the user from the terminal interface. Directly determining the target brightness value according to the associated information is to determine the target brightness value according to the facial feature information and/or the distance information. For example, the acquired facial feature information of the terminal user is used to determine which state the user currently belongs to, and the distance of the terminal user from the terminal interface to calculate the current optimal brightness value, that is, the target brightness value. Further, the terminal can switch the screen mode based on the target brightness value.
可见,通过终端用户的面部特征信息以及终端用户距离终端的距离来确定目标亮度值,进一步的,终端能基于该目标亮度值进行屏幕模式的切换,使得调节更加准确的同时,通过屏幕模式的切换使得调节更具便捷性,提升终端屏幕亮度调节的功能性。It can be seen that the target brightness value is determined by the facial feature information of the terminal user and the distance between the terminal user and the terminal. Further, the terminal can switch the screen mode based on the target brightness value, so that the adjustment is more accurate and the screen mode is switched. It makes adjustment more convenient and enhances the functionality of terminal screen brightness adjustment.
在一个可能的示例中,所述面部特征信息包括:眼镜佩戴信息,眼睛状态信息和面部倾斜信息;所述根据所述面部特征信息确定目标亮度值,包括:获取与所述眼镜佩戴信息对应的眼睛状态信息表;根据所述眼睛状态信息与所述眼睛状态信息表确定眼睛状态值;根据所述眼睛状态值与所述面部倾斜信息确定目标亮度值。In a possible example, the facial feature information includes: glasses wearing information, eye state information, and face tilt information; the determining the target brightness value according to the facial feature information includes: acquiring the information corresponding to the glasses wearing information An eye state information table; an eye state value is determined based on the eye state information and the eye state information table; a target brightness value is determined based on the eye state value and the face tilt information.
具体的,可以理解为根据所述面部特征信息确定目标亮度值时,会基于面部状态信息包含的眼镜佩戴信息,眼睛状态信息,面部倾斜信息来一同确定目标亮度值。比如根据面部特征信息包含的眼镜佩戴信息判断该终端用户未佩戴眼镜(该用户日常佩戴眼镜)时,未佩戴眼睛与佩戴眼睛分别对应不同的眼睛状态信息表。在根据眼镜佩戴信息确定对应的眼睛状态信息表之后,再根据面部特征信息包括眼睛状态信息以及眼睛状态信息表来确定眼睛状态值。上述眼镜佩戴信息可以通过检测用户眼睛当前的疲劳状态,来确定。通常随着用户注视终端界面时间的累积,或者时间长短的变化,眼睛会呈现出不同的疲劳状态。比如连续用眼1个小时与4个小时,会检测出眼睛不同的疲劳状态;进一步的,眼睛注视屏幕的距离也会影响眼睛的疲劳状态,是否佩戴眼镜注视屏幕界面,同样也会影响眼睛的疲劳状态。另外,上述面部倾斜信息比如终端用户的面部与屏幕界面的夹角,既可以是具体的度数,也可以分成正对屏幕,侧对屏幕,面部严重倾斜,面部轻微倾斜等。并且根据该眼睛状态值与该面部倾斜信息来最终确定目标亮度值。不同的眼睛状态值对应不同的目标亮度区间,面部倾斜信息作为眼睛状态值的修正系数,对眼睛状态值进行修正,得到修正后的眼睛状态值。并利用修正后的眼睛状态值来确定目标亮度值。Specifically, it can be understood that when determining the target brightness value according to the facial feature information, the target brightness value is determined together based on the glasses wearing information, the eye state information, and the face tilt information included in the face state information. For example, when it is determined according to the glasses wearing information contained in the facial feature information that the terminal user is not wearing glasses (the user wears glasses daily), the unworn eyes and the wearing eyes respectively correspond to different eye state information tables. After determining the corresponding eye state information table according to the glasses wearing information, the eye state value is determined according to the facial feature information including the eye state information and the eye state information table. The aforementioned glasses wearing information can be determined by detecting the current fatigue state of the user's eyes. Generally, as the user gazes at the terminal interface for the accumulation of time, or the length of time changes, the eyes will show different fatigue states. For example, if you use your eyes continuously for 1 hour and 4 hours, different fatigue states of the eyes will be detected; further, the distance of the eyes looking at the screen will also affect the fatigue state of the eyes, whether you wear glasses to look at the screen interface will also affect the eyes. State of fatigue. In addition, the aforementioned facial tilt information, such as the angle between the end user's face and the screen interface, can be a specific degree, or can be divided into facing the screen, side facing the screen, severely tilted face, slightly tilted face, and so on. And finally determine the target brightness value according to the eye state value and the face tilt information. Different eye state values correspond to different target brightness ranges, and the facial tilt information is used as the correction coefficient of the eye state value to correct the eye state value to obtain the corrected eye state value. And use the corrected eye state value to determine the target brightness value.
可见,在根据面部特征信息确定目标亮度值时,基于面部状态信息包括的多个维度的信息进行确定,使得目标亮度值更加准确。实现对屏幕的精细快速化调节,使之更好地满足用户需求。It can be seen that when determining the target brightness value according to the facial feature information, the determination is made based on the information of multiple dimensions included in the facial state information, so that the target brightness value is more accurate. Realize the fine and rapid adjustment of the screen to better meet the needs of users.
在一个可能的示例中,所述面部特征信息包括以下任意一种或多种:眼镜佩戴信息,眼睛状态信息,面部倾斜信息。In a possible example, the facial feature information includes any one or more of the following: glasses wearing information, eye state information, and facial tilt information.
具体的,眼镜佩戴信息比如该终端用户是否佩戴眼镜;眼睛状态信息比如眼睛的疲劳状态,眼睛里是否有红血丝,瞳孔的凝聚情况等,并将眼睛状态信息按照李克特量表划分成不同的等级,不同的等级对应不同的状态;面部倾斜信息比如终端用户的面部与屏幕界面的夹角,既可以是具体的度数,也可以分成正对屏幕,侧对屏幕,面部严重倾斜,面部轻微倾斜等。Specifically, glasses wearing information such as whether the end user wears glasses; eye status information such as eye fatigue, whether there are red blood streaks in the eyes, pupil condensation, etc., and the eye status information is divided into different according to the Likert scale Different levels correspond to different states; face tilt information, such as the angle between the end user’s face and the screen interface, can be a specific degree, or it can be divided into facing the screen, facing the screen, the face is severely tilted, and the face is slight Tilt and so on.
可见,综合考虑面部特征信息包含的多种信息来确定目标亮度值,提升屏幕亮度调节与终端用户状态的匹配程度。It can be seen that a comprehensive consideration of the various information contained in the facial feature information is used to determine the target brightness value, and the degree of matching between the screen brightness adjustment and the state of the end user is improved.
在一个可能的示例中,所述根据所述距离信息确定目标亮度值,包括:获取预先设置的距离与屏幕亮度值的映射关系表;根据所述距离信息包括的距离和所述映射关系表确定所述目标亮度值。In a possible example, the determining the target brightness value according to the distance information includes: obtaining a preset mapping relationship table between the distance and the screen brightness value; determining according to the distance included in the distance information and the mapping relationship table The target brightness value.
具体的,可以理解为预先设置了终端用户距离终端界面的距离与目标亮度值的对应关系,形成一个映射关系表。两者之间的对应关系既可以是简单的一一对应关系,比如距离为30cm时,目标亮度值为100尼特(nits),距离为50cm时,目标亮度值为200尼特(nits)等。两者之间的对应关系也可以呈现函数关系,比如为一个开口向下的二次函数,第一阶段,目标亮度值随着距离的增加而增强,达到目标亮度值的最大值时,目标亮度值随着距离的增加而减弱,进入第二阶段。Specifically, it can be understood that the corresponding relationship between the distance of the terminal user from the terminal interface and the target brightness value is preset to form a mapping relationship table. The correspondence between the two can be a simple one-to-one correspondence, for example, when the distance is 30cm, the target brightness value is 100 nits, and when the distance is 50cm, the target brightness value is 200 nits, etc. . The corresponding relationship between the two can also present a functional relationship, such as a quadratic function with an opening downward. In the first stage, the target brightness value increases with the increase of distance. When the maximum value of the target brightness value is reached, the target brightness The value decreases as the distance increases and enters the second stage.
可见,基于预先设置的距离与屏幕亮度值的映射关系表,根据所述距离信息包括的距离和所述映射关系表确定所述目标亮度值。使得目标亮度值的确定更加准确。It can be seen that, based on a preset mapping table of distances and screen brightness values, the target brightness value is determined according to the distance included in the distance information and the mapping table. Make the determination of the target brightness value more accurate.
在一个可能的示例中,所述根据所述面部特征信息和所述距离信息确定目标亮度值,包括:根据所述面部特征信息确定第一亮度范围;根据所述距离信息和所述第一亮度范围确定所述目标亮度值。In a possible example, the determining the target brightness value based on the facial feature information and the distance information includes: determining a first brightness range based on the facial feature information; and determining a first brightness range based on the distance information and the first brightness The range determines the target brightness value.
具体的,可以理解为,还可以根据所述面部特征信息和所述距离信息来确定目标亮度值,比如根据所述面部特征信息确定出所述终端用户未佩戴眼镜(日常佩戴眼镜),则确定第一亮度范围为对应的几个区间,比如100尼特-200尼特,300-400尼特等;再根据所述距离信息比如10cm,对应目标亮度值为位于所述第一亮度范围区间内的150尼特,则将目标亮度值定为150尼特。Specifically, it can be understood that the target brightness value can also be determined according to the facial feature information and the distance information. For example, if it is determined that the terminal user does not wear glasses (wear glasses daily) according to the facial feature information, then it is determined The first brightness range is the corresponding intervals, such as 100 nits-200 nits, 300-400 nits, etc.; and then according to the distance information, such as 10cm, the corresponding target brightness value is within the first brightness range interval 150 nits, set the target brightness value to 150 nits.
可见,根据所述面部特征信息和所述距离信息来确定目标亮度值,使得目标亮度值能更好地适配用户需求。It can be seen that the target brightness value is determined according to the facial feature information and the distance information, so that the target brightness value can better adapt to user requirements.
在一个可能的示例中,所述方法还包括:获取环境参数信息以及终端状态信息;所述关联信息包括所述终端用户的面部特征信息、所述用户距离终端界面的距离信息;所述确定所述终端屏幕亮度调节的目标亮度值,包括:根据所述环境参数信息与所述终端状态信息获取对比度信息,所述对比度信息包括以下至少一种:明暗对比度,冷暖对比度,色纯对比度;将所述面部特征信息输入预先训练好的视疲劳神经网络模型,输出所述用户的视疲劳程度;根据所述对比度信息,所述视疲劳程度、所述距离信息确定目标亮度值。In a possible example, the method further includes: obtaining environmental parameter information and terminal state information; the associated information includes facial feature information of the terminal user, and distance information of the user from the terminal interface; and the determining The target brightness value of the terminal screen brightness adjustment includes: obtaining contrast information according to the environmental parameter information and the terminal state information, and the contrast information includes at least one of the following: light-dark contrast, cold-warm contrast, and pure color contrast; The facial feature information is input to a pre-trained visual fatigue neural network model, and the user's visual fatigue degree is output; the target brightness value is determined according to the contrast information, the visual fatigue degree, and the distance information.
具体的,可以理解为在确定目标亮度值时,除了需要已经获取的关联信息,还需要通过声传感器以及光传感器获取环境参数信息,以及获取终端当前的状态信息。所述确定所述终端屏幕亮度调节的目标亮度值时,先从所述环境参数信息中提取环境参数信息包括的明度信息,色暖信息,以及色纯信息,同样的,也从所述终端状态信息中提取环境参数信息包括的明度信息,色暖信息,以及色纯信息,然后计算环境参数信息与所述终端状态信息的对比度信息。然后将所述面部特征信息输入预先训练好的视疲劳神经网络模型,便会输出所述用户的视疲劳程度。所述视疲劳神经网络模型为预先训练至收敛的视疲劳神经网络模型。最终,根据所述对比度信息,所述视疲劳程度、所述距离信息计算目标亮度值。计算公式如下所示:Specifically, it can be understood that when determining the target brightness value, in addition to the already obtained associated information, it is also necessary to obtain environmental parameter information through the acoustic sensor and the light sensor, and obtain the current state information of the terminal. When determining the target brightness value for the brightness adjustment of the terminal screen, first extract the brightness information, color warmth information, and color purity information included in the environmental parameter information from the environmental parameter information, and similarly, from the terminal status The brightness information, color warmth information, and color purity information included in the environmental parameter information are extracted from the information, and then the contrast information between the environmental parameter information and the terminal state information is calculated. Then, the facial feature information is input into a pre-trained asthenopia neural network model, and then the user's asthenopia degree is output. The asthenopia neural network model is an asthenopia neural network model that is pre-trained to convergence. Finally, a target brightness value is calculated based on the contrast information, the degree of visual fatigue, and the distance information. The calculation formula is as follows:
其中,N为目标亮度值,θ为对比度信息,d为距离信息,
距离信息为视疲劳程度。
Among them, N is the target brightness value, θ is the contrast information, d is the distance information, The distance information is the degree of visual fatigue.
其中,所述对比度信息包括以下至少一种:明暗对比度,冷暖对比度,色纯对比度。Wherein, the contrast information includes at least one of the following: light-dark contrast, cold-warm contrast, and color purity contrast.
其中,所述面部特征信息包括以下任意一种或多种:眼镜佩戴信息,眼睛状态信息,面部倾斜信息。Wherein, the facial feature information includes any one or more of the following: glasses wearing information, eye state information, and face tilt information.
在一个可能的示例中,所述输出至少一用于调整屏幕亮度的操作界面,包括以下至少一种:根据屏幕模式输出对应的用于调整屏幕亮度的操作界面;根据屏幕亮度输出对应的用于调整屏幕亮度的操作界面;根据环境参数信息输出对应的用于调整屏幕亮度的操作界面;根据界面应用的类型输出对应的用于调整屏幕亮度的操作界面。In a possible example, the outputting at least one operation interface for adjusting screen brightness includes at least one of the following: outputting a corresponding operation interface for adjusting screen brightness according to the screen mode; outputting a corresponding operation interface for adjusting screen brightness according to the screen brightness The operation interface for adjusting the screen brightness; the corresponding operation interface for adjusting the screen brightness is output according to the environmental parameter information; the corresponding operation interface for adjusting the screen brightness is output according to the type of interface application.
具体的,可以理解为在输出亮度调节的操作界面时,可以根据不同的条件进行操作界面的输出,比如根据以下任意一种或多种输出操作界面,屏幕模式、屏幕亮度、环境参数信息、界面应用的类型等。Specifically, it can be understood that when outputting the brightness adjustment operation interface, the operation interface output can be performed according to different conditions, for example, according to any one or more of the following output operation interfaces, screen mode, screen brightness, environmental parameter information, interface Type of application, etc.
可选的,屏幕模式为以下任意一种或多种:护眼模式、深色模式、深夜模式、防闪烁模式、暖色模式、冷色模式、自适应模式、鲜艳模式、标准模式、省电模式、超级省电模式。预先设定不同的屏幕模式对应不同的屏幕亮度调节的操作界面,则会根据当前的屏幕模式输出对应的屏幕亮度调节的操作界面。Optionally, the screen mode is any one or more of the following: eye protection mode, dark mode, late night mode, anti-flicker mode, warm color mode, cool color mode, adaptive mode, bright mode, standard mode, power saving mode, Super power saving mode. Different screen modes are preset to correspond to different screen brightness adjustment operation interfaces, and the corresponding screen brightness adjustment operation interfaces will be output according to the current screen mode.
另外,根据屏幕亮度输出操作界面,具体的,所述终端包含多个亮度调节的操作界面,不同的屏幕亮度对应不同的操作界面。比如当前屏幕亮度为10尼特,或者400尼特,输出的操作界面每一单位调节的亮度值较大。比如滑动一格,屏幕亮度增强20尼特,或者屏幕亮度减弱20尼特。实现对屏幕亮度的快速调节。或者,当前屏幕亮度为100尼特,或者200尼特时,输出的操作界面每一单位调节的亮度值较小。比如滑动一格,屏幕亮度增强5尼特,或者屏幕亮度减弱5尼特。实现对屏幕亮度的精细快速化调节。In addition, the operation interface is output according to the screen brightness. Specifically, the terminal includes a plurality of operation interfaces for adjusting brightness, and different screen brightnesses correspond to different operation interfaces. For example, the current screen brightness is 10 nits or 400 nits, and the brightness value adjusted by each unit of the output operation interface is larger. For example, if you slide a grid, the screen brightness will increase by 20 nits, or the screen brightness will decrease by 20 nits. Realize quick adjustment of screen brightness. Or, when the current screen brightness is 100 nits or 200 nits, the brightness value adjusted per unit of the output operation interface is smaller. For example, if you slide a grid, the screen brightness will increase by 5 nits, or the screen brightness will decrease by 5 nits. Achieve fine and rapid adjustment of screen brightness.
另外,根据环境参数信息输出对应的用于调整屏幕亮度的操作界面,比如根据环境参数信息包含的明度信息输出用于调整屏幕亮度的操作界面,不同的明度输出不同的操作界面。以及根据环境参数信息包含的噪声信息来输出用于屏幕亮度调整的操作界面,不同的噪声系数输出不同的操作界面。分析噪声系数包含的各种类型的声音,确定声音的来源以及与终端用户的距离,以及距离终端用户预设警示范围内终端用户周围人数的多少。比如当预设警示范围内周围人数超过5个,则输出屏幕亮度调节的操作界 面,让终端用户能及时的调节屏幕亮度,避免隐私泄露。或者自动降低屏幕亮度或者自动锁屏。In addition, the corresponding operation interface for adjusting the screen brightness is output according to the environmental parameter information, for example, the operation interface for adjusting the screen brightness is output according to the brightness information contained in the environmental parameter information, and different operation interfaces are output for different brightness. And according to the noise information contained in the environmental parameter information, an operation interface for adjusting the brightness of the screen is output, and different noise coefficients output different operation interfaces. Analyze the various types of sounds included in the noise figure to determine the source of the sound and the distance from the end user, as well as the number of people around the end user within the preset warning range of the end user. For example, when there are more than 5 people around in the preset warning range, the operation interface of screen brightness adjustment is output, so that the end user can adjust the screen brightness in time to avoid privacy leakage. Or automatically reduce the screen brightness or automatically lock the screen.
另外,根据界面应用的类型输出对应的用于调整屏幕亮度的操作界面。具体的,比如当前界面应用为阅读页面,则输出的操作界面不仅包含亮度调节选项,还包括色调调节选项,色纯调节选项等。又比如,如图1E所示,当前界面为游戏界面,终端用户可以通过向右滑动或者下拉,上滑,点击游戏界面等方式输出针对游戏界面预先设置的操作界面。图1E所示的操作界面包含自动调节选项以及手动调节选项。其中,手动调节示意性的呈现了显示亮度,显示色温、显示刷新率、显示分辨率、显示对比度等,图中未完全显示的手动调节操作选项还包括显示大小、显示形状、显示颜色、显示位置、显示屏幕、显示数量等。通过调节提升游戏界面效果。In addition, the corresponding operation interface for adjusting the screen brightness is output according to the type of interface application. Specifically, for example, if the current interface application is a reading page, the output operation interface not only includes brightness adjustment options, but also hue adjustment options, color purity adjustment options, and so on. For another example, as shown in FIG. 1E, the current interface is a game interface, and the terminal user can output a preset operation interface for the game interface by sliding to the right or pulling down, sliding up, or clicking on the game interface. The operation interface shown in Fig. 1E includes automatic adjustment options and manual adjustment options. Among them, manual adjustment shows schematically the display brightness, display color temperature, display refresh rate, display resolution, display contrast, etc. The manual adjustment operation options that are not fully shown in the figure also include display size, display shape, display color, and display position. , Display screen, display quantity, etc. Improve the effect of the game interface through adjustments.
可见,在输出调整屏幕亮度的操作界面时,根据不同的信息有针对性的输出操作界面,使得屏幕亮度调节能更好地匹配当前环境,以及当前屏幕模式,以及屏幕亮度,提升当前应用效果。It can be seen that when outputting the operation interface for adjusting the screen brightness, the output operation interface is targeted according to different information, so that the screen brightness adjustment can better match the current environment, the current screen mode, and the screen brightness, and improve the current application effect.
在一种可能的示例中,所述根据屏幕亮度输出用于调整屏幕亮度的操作界面,包括以下至少一种:直接获取屏幕亮度对应的用于调整屏幕亮度的操作界面,并输出所述操作界面;获取所述屏幕亮度对应的屏幕模式,输出所述屏幕模式对应的用于调整屏幕亮度的操作界面。In a possible example, the output of the operation interface for adjusting the screen brightness according to the screen brightness includes at least one of the following: directly obtaining the operation interface for adjusting the screen brightness corresponding to the screen brightness, and outputting the operation interface ; Acquire the screen mode corresponding to the screen brightness, and output the operation interface for adjusting the screen brightness corresponding to the screen mode.
具体的,在根据屏幕亮度输出用于调整屏幕亮度的操作界面时,既可以直接获取屏幕亮度对应的用于调整屏幕亮度的操作界面,并输出所述操作界面;也可以先获取当前屏幕亮度对应的屏幕模式,输出所述屏幕模式对应的用于调整屏幕亮度的操作界面。Specifically, when outputting the operation interface for adjusting the screen brightness according to the screen brightness, the operation interface for adjusting the screen brightness corresponding to the screen brightness can be directly obtained, and the operation interface can be output; or the current screen brightness corresponding In the screen mode, the operation interface for adjusting the screen brightness corresponding to the screen mode is output.
可见,在根据屏幕亮度输出用于调整屏幕亮度的操作界面时,既可以直接获取屏幕亮度对应的用于调整屏幕亮度的操作界面,简化操作;或者先确定屏幕亮度对应的屏幕模式,再输出所述屏幕模式对应的用于调整屏幕亮度的操作界面。使得亮度调节更加符合当前屏幕模式。It can be seen that when outputting the operation interface for adjusting the screen brightness according to the screen brightness, the operation interface for adjusting the screen brightness corresponding to the screen brightness can be directly obtained to simplify the operation; or the screen mode corresponding to the screen brightness can be determined first, and then output The operation interface for adjusting the brightness of the screen corresponding to the screen mode. Make the brightness adjustment more in line with the current screen mode.
在一种可能的示例中,所述检测终端的关联信息是否满足第一条件之前,所述方法还包括以下至少一种:所述终端的屏幕被点亮;接收到预设触控操作;在预设区域或预设控件上接收到预设触控操作;接收到预设语音指令;检测到环境亮度低于或等于第一预设阈值;检测到所述屏幕亮度与环境亮度的差值大于或等于第二预设阈值;检测到所述环境参数信息包括的噪声系数小于第一噪声阈值;检测到所述环境参数信息包括的噪声系数大于或等于第二噪声阈值;检测到所述终端符合预设条件。In a possible example, before the detecting whether the associated information of the terminal meets the first condition, the method further includes at least one of the following: the screen of the terminal is lit; a preset touch operation is received; A preset touch operation is received on a preset area or a preset control; a preset voice command is received; it is detected that the ambient brightness is lower than or equal to the first preset threshold; it is detected that the difference between the screen brightness and the ambient brightness is greater than Or equal to the second preset threshold; it is detected that the noise coefficient included in the environmental parameter information is less than the first noise threshold; it is detected that the noise coefficient included in the environmental parameter information is greater than or equal to the second noise threshold; it is detected that the terminal meets the Pre-conditions.
具体的,可以理解为,当满足上述这些条件时,才会触发终端去检测终端的关联信息。具体的,接收到预设触控操作,可以为单击操作、双击操作、长按操作、重按操作、滑动操作、隔空触控;在预设区域或预设控件上接收到预设触控操作,可以为预先设定的屏幕亮度调节区域或者屏幕亮度调节控件,也可以是其他控件,比如音量调节键等,通过切换指令,切换为屏幕亮度调节键,利用音量调节键的屏幕亮度调节功能实现屏幕亮度调节;接收到预设语音指令,比如当用户输入“屏幕亮度调节”或者“亮度调节”等语音时,便会触发终端开始检测终端的关联信息;检测到环境亮度低于或等于第一预设阈值,比如第一预设阈值=20尼特,则当环境亮度小于等于20尼特时,便会触发终端开始检测终端的关联信息;检测到所述屏幕亮度与环境亮度的差值大于或等于第二预设阈值,比如屏幕当前亮度与环境亮度的差值为50尼特,第二预设阈值为30尼特,则终端便会检测所述关联信息;另外,当检测到所述环境参数信息包括的噪声系数小于第一噪声阈值;检测到所述环境参数信息包括的噪声系数大于或等于第二噪声阈值;检测到所述终端符合预设条件。Specifically, it can be understood that the terminal will be triggered to detect the associated information of the terminal only when these conditions are met. Specifically, a preset touch operation is received, which can be a single-click operation, a double-tap operation, a long-press operation, a re-press operation, a sliding operation, and an air touch; the preset touch operation is received on a preset area or a preset control. The control operation can be a preset screen brightness adjustment area or screen brightness adjustment control, or other controls, such as volume adjustment keys, etc., through switching instructions, switch to the screen brightness adjustment key, and use the volume adjustment key to adjust the screen brightness The function realizes screen brightness adjustment; when a preset voice command is received, for example, when the user inputs a voice such as "screen brightness adjustment" or "brightness adjustment", it will trigger the terminal to start detecting the associated information of the terminal; it is detected that the environment brightness is lower than or equal to The first preset threshold, for example, the first preset threshold=20 nits, when the ambient brightness is less than or equal to 20 nits, the terminal will be triggered to start detecting the associated information of the terminal; the difference between the screen brightness and the ambient brightness will be detected If the value is greater than or equal to the second preset threshold, for example, the difference between the current brightness of the screen and the ambient brightness is 50 nits, and the second preset threshold is 30 nits, the terminal will detect the associated information; in addition, when it detects The noise coefficient included in the environmental parameter information is less than a first noise threshold; it is detected that the noise coefficient included in the environmental parameter information is greater than or equal to a second noise threshold; it is detected that the terminal meets a preset condition.
进一步的,所述终端符合预设条件,包括以下至少一种:屏幕上当前运行的应用属于预设应用;屏幕上显示的界面内容为预设目标界面内容;终端当前时间属于预设时间段;终端当前地理位置属于预设地理位置;终端当前处于运动状态;终端的运动速度低于第一预设速度阈值;终端的运动速度高于第二预设速度阈值;终端的运动速度从快到慢或者从慢到快;终端根据用户操作习惯自动触发。Further, the terminal meeting preset conditions includes at least one of the following: the currently running application on the screen belongs to the preset application; the interface content displayed on the screen is the preset target interface content; the current time of the terminal belongs to the preset time period; The current geographic location of the terminal belongs to the preset geographic location; the terminal is currently in motion; the motion speed of the terminal is lower than the first preset speed threshold; the motion speed of the terminal is higher than the second preset speed threshold; the motion speed of the terminal goes from fast to slow Or from slow to fast; the terminal is automatically triggered according to the user's operating habits.
可见,在终端在上述这些情况下,触发检测终端的关联信息,便于终端及时进行屏幕亮度调节。It can be seen that the terminal triggers the detection of the associated information of the terminal in the above-mentioned situations, so that the terminal can adjust the screen brightness in time.
在一个可能的示例中,所述终端符合预设条件,包括以下至少一种:包括以下至少一种:屏幕上当前运行的应用属于预设应用;屏幕上显示的界面内容为预设目标界面内容;终端当前时间属于预设时间段;终端当前地理位置属于预设地理位置;终端当前处于运动状态;终端的运动速度低于第一预设速度阈值;终端的运动速度高于第二预设速度阈值;终端的运动速度从快到慢或者从慢到快;终端根据用户操作习惯自动触发。In a possible example, the terminal meets the preset conditions, including at least one of the following: including at least one of the following: the currently running application on the screen belongs to a preset application; the interface content displayed on the screen is the preset target interface content ; The current time of the terminal belongs to the preset time period; the current geographic location of the terminal belongs to the preset geographic location; the terminal is currently in motion; the motion speed of the terminal is lower than the first preset speed threshold; the motion speed of the terminal is higher than the second preset speed Threshold; the movement speed of the terminal is from fast to slow or from slow to fast; the terminal is automatically triggered according to the user's operating habits.
具体的,屏幕上当前运行的应用为游戏、阅读、视频等应用,属于预设应用;屏幕上显示的界面内容为预设目标界面内容,比如显示的界面内容为聊天窗口、音视频界面等;终端当前时间属于预设时间段,预设时间段比如下午两点-三点,晚上9-11点等;终端当前地理位置属于预设地理位置,预设地理位置,比如公园,游乐场、公交车上、或者轻轨上等;终端当前处于运动状态;终端的运动速度低于第一预设速度阈值;终端的运动速度高于第二预设速度阈值;终端的运动速度从快到慢或者从慢到快;终端根据用户操作习惯自动触发。Specifically, the applications currently running on the screen are applications such as games, reading, video, etc., which are preset applications; the interface content displayed on the screen is the preset target interface content, for example, the displayed interface content is a chat window, audio and video interface, etc.; The current time of the terminal belongs to a preset time period, such as two o'clock in the afternoon-three o'clock in the afternoon, 9-11 o'clock in the evening, etc.; the current geographic location of the terminal belongs to a preset geographic location, and the preset geographic location, such as parks, playgrounds, and buses On a car, or on a light rail, etc.; the terminal is currently in motion; the motion speed of the terminal is lower than the first preset speed threshold; the motion speed of the terminal is higher than the second preset speed threshold; the motion speed of the terminal changes from fast to slow or from Slow to fast; the terminal is automatically triggered according to the user's operating habits.
在一个可能的示例中,若所述至少一操作为所述长按操作和/或所述重按操作,则所述根据所述操作获取目标亮度值包括以下至少一种:根据所述长按操作和/或所述重按操作的时长来确定所述目标屏幕亮度值;根据所述长按操作和/或所述重按操作的压力值来确定所述目标屏幕亮度值;根据所述长按操作和/或所述重按操作的次数来确定所述目标屏幕亮度值;根据所述长按操作和/或所述重按操作的时长、压力值和次数中的至少两者共同确定所述目标亮度值。In a possible example, if the at least one operation is the long-press operation and/or the re-press operation, the obtaining the target brightness value according to the operation includes at least one of the following: Determine the target screen brightness value according to the duration of the operation and/or the re-press operation; determine the target screen brightness value according to the long-press operation and/or the pressure value of the re-press operation; Determine the target screen brightness value according to the number of operations and/or the re-press operation; determine the target screen brightness value according to at least two of the duration, pressure value and number of the long-press operation and/or the re-press operation The target brightness value.
具体的,可以理解为接收针对输出的至少一用于调整屏幕亮度的操作界面的至少一操作,可以为长按操作和/或重按操作,进一步的可以根据该操作的时长、压力值和次数中的任意一种或多种来确定目标 亮度值。通过传感器检测按压操作(长按操作和/或重按操作)的压力值,并且检测按压的时长和次数,以及按压的频率,以此来确定目标亮度值。Specifically, it can be understood as receiving at least one operation for the output of at least one operation interface for adjusting the screen brightness, which can be a long-press operation and/or a re-press operation, and further can be based on the duration, pressure value, and number of operations. Any one or more of them to determine the target brightness value. The pressure value of the pressing operation (long pressing operation and/or repressing operation) is detected by the sensor, and the duration and number of pressings, and the frequency of pressing are detected to determine the target brightness value.
可见,通过接收的多种按压操作的时长、压力值、次数和频率等来确定目标亮度值,方便快捷。It can be seen that it is convenient and quick to determine the target brightness value through the duration, pressure value, number and frequency of the received multiple pressing operations, etc.
在一个可能的示例中,若所述至少一操作为所述单击操作或所述双击操作,则还包括:根据所述单击操作或所述双击操作的点击位置来确定所述目标屏幕亮度值。In a possible example, if the at least one operation is the single-click operation or the double-click operation, the method further includes: determining the target screen brightness according to the click position of the single-click operation or the double-click operation value.
具体的,比如单击操作或所述双击操作在操作界面的不同位置,则对应不同的目标亮度值。Specifically, for example, the single-click operation or the double-click operation at different positions of the operation interface corresponds to different target brightness values.
可见,通过接收的单击操作或双击操作在操作界面的不同位置来确定,目标亮度值,操作简洁,便利。It can be seen that the target brightness value is determined by the received single-click operation or double-click operation in different positions of the operation interface, and the operation is simple and convenient.
在一个可能的示例中,还包括:根据所述目标亮度值切换到对应的屏幕模式。In a possible example, the method further includes: switching to a corresponding screen mode according to the target brightness value.
具体的,在获取到目标亮度值后,可以直接切换到对应的屏幕模式,也可以理解,不同的目标亮度值对应不同的屏幕模式。Specifically, after the target brightness value is obtained, the corresponding screen mode can be directly switched to, and it can also be understood that different target brightness values correspond to different screen modes.
可见,根据所述目标亮度值切换到对应的屏幕模式,使得调节更加便捷。It can be seen that switching to the corresponding screen mode according to the target brightness value makes the adjustment more convenient.
在一个可能的示例中,所述根据所述目标亮度值切换到对应的屏幕模式,包括:若所述目标亮度值低于或等于第一预设目标亮度值,则进入第一预设模式;或,若所述目标亮度值高于或等于第二预设目标亮度值,则进入第二预设模式;或,若所述目标亮度值大于第一预设目标亮度值,且小于第二预设亮度值,则进入第三预设模式。In a possible example, the switching to the corresponding screen mode according to the target brightness value includes: if the target brightness value is lower than or equal to a first preset target brightness value, entering the first preset mode; Or, if the target brightness value is higher than or equal to the second preset target brightness value, enter the second preset mode; or, if the target brightness value is greater than the first preset target brightness value and less than the second preset value Set the brightness value to enter the third preset mode.
具体的,可以理解为,比如第一预设目标亮度值为50尼特,第二预设目标亮度值为300尼特,当目标亮度值为20尼特时,则进入第一预设模式;当目标亮度值为400尼特时,则进入第二预设模式;当目标亮度值为200尼特时,则进入第三预设模式。所述第一预设模式、第二预设模式以及第三预设模式可以为如上所述屏幕模式中的任意一种。Specifically, it can be understood that, for example, the first preset target brightness value is 50 nits, and the second preset target brightness value is 300 nits, and when the target brightness value is 20 nits, the first preset mode is entered; When the target brightness value is 400 nits, the second preset mode is entered; when the target brightness value is 200 nits, the third preset mode is entered. The first preset mode, the second preset mode, and the third preset mode may be any one of the above-mentioned screen modes.
在一个可能的示例中,所述方法还包括:在不同的屏幕模式和/或不同的屏幕亮度下,所述屏幕显示效果不同。In a possible example, the method further includes: in different screen modes and/or different screen brightness, the screen display effects are different.
具体的,比如屏幕模式对应为护眼模式、深色模式、深夜模式、防闪烁模式、暖色模式、冷色模式、自适应模式、鲜艳模式、标准模式、省电模式、超级省电等模式时,对应的屏幕显示效果不同;同理,在不同的屏幕亮度下,所述屏幕显示效果不同。显示效果比如显示分辨率、显示刷新率、显示色温、显示亮度、显示对比度、显示大小、显示形状、显示颜色、显示位置、显示屏幕、显示数量等不同存在差异。Specifically, for example, when the screen mode corresponds to eye protection mode, dark mode, late night mode, anti-flicker mode, warm color mode, cool color mode, adaptive mode, bright mode, standard mode, power saving mode, super power saving mode, etc., The corresponding screen display effects are different; for the same reason, the screen display effects are different under different screen brightness. Display effects such as display resolution, display refresh rate, display color temperature, display brightness, display contrast, display size, display shape, display color, display position, display screen, display number, etc. are different.
可见,为不同的屏幕模式和屏幕亮度设置不同的显示效果,使得显示效果更加多样化。It can be seen that setting different display effects for different screen modes and screen brightness makes the display effects more diversified.
在一个可能的示例中,还包括:在不同的屏幕模式和/或不同的屏幕亮度下,所述操作界面显示效果不同。In a possible example, it further includes: under different screen modes and/or different screen brightnesses, the display effects of the operation interface are different.
同上述实施例一样,可以为不同的屏幕模式和不同的屏幕亮度,设定不同的操作界面。在此不再赘述。As in the above embodiment, different operation interfaces can be set for different screen modes and different screen brightness. I won't repeat it here.
在一个可能的示例中,所述显示效果包括以下至少一种:显示分辨率、显示刷新率、显示色温、显示亮度、显示对比度、显示大小、显示形状、显示颜色、显示位置、显示屏幕、显示数量。In a possible example, the display effect includes at least one of the following: display resolution, display refresh rate, display color temperature, display brightness, display contrast, display size, display shape, display color, display position, display screen, display quantity.
在一个可能的示例中,所述根据所述目标亮度值切换到对应的屏幕模式,包括以下至少一种:若当前应用或界面不属于切换后屏幕模式下的预设应用或预设界面,则不允许进行屏幕切换或者退出所述当前应用或界面;若当前应用或界面属于切换后屏幕模式下的预设应用或预设界面,则允许进行屏幕切换。In a possible example, the switching to the corresponding screen mode according to the target brightness value includes at least one of the following: if the current application or interface does not belong to the preset application or the preset interface in the switched screen mode, then It is not allowed to switch screens or exit the current application or interface; if the current application or interface belongs to a preset application or a preset interface in the screen mode after the switch, the screen switch is allowed.
具体的,可以理解为在根据目标亮度值进行屏幕模式切换时,由于预先设定了每种屏幕模式下可以运行的预设应用,或者可以打开的预设界面,比如护眼模式下的预设应用为微信,阅读,可以打开的界面为聊天界面或者具体的阅读界面,则在根据目标亮度值确定切换后的屏幕模式为护眼模式时,当前的应用为游戏,对应的界面为游戏界面,则禁止将屏幕模式切换为护眼模式。或者将直接退出当前的游戏界面,再将屏幕模式切换为护眼模式。同理,若当前界面为阅读界面等护眼模式下的预设应用或预设界面,则将屏幕模式切换为护眼模式。Specifically, it can be understood that when the screen mode is switched according to the target brightness value, the preset applications that can be run in each screen mode are preset, or the preset interface that can be opened, such as the preset in the eye protection mode The application is WeChat, and the interface that can be opened for reading is the chat interface or the specific reading interface. When the screen mode after switching is determined to be the eye protection mode according to the target brightness value, the current application is a game, and the corresponding interface is a game interface. It is forbidden to switch the screen mode to the eye protection mode. Or you will directly exit the current game interface, and then switch the screen mode to the eye protection mode. Similarly, if the current interface is a preset application or a preset interface in an eye-protection mode such as a reading interface, the screen mode is switched to the eye-protection mode.
可见,在根据目标亮度值进行屏幕模式切换时,检测当前应用或者当前界面,进一步的,判断当前应用或界面是否属于切换后屏幕模式下的预设应用或预设界面。并基于判断结果进行屏幕模式的切换,或者退出所述当前应用或界面。使得屏幕模式切换更加智能化。It can be seen that when the screen mode is switched according to the target brightness value, the current application or the current interface is detected, and further, it is judged whether the current application or interface belongs to the preset application or the preset interface in the screen mode after the switch. And based on the judgment result, the screen mode is switched, or the current application or interface is exited. Make the screen mode switch more intelligent.
在一个可能的示例中,在所述根据所述目标亮度值切换到对应的屏幕模式之前,还包括:输出提示信息和/或切换选项。In a possible example, before switching to the corresponding screen mode according to the target brightness value, the method further includes: outputting prompt information and/or switching options.
具体的,可以理解为,在进行屏幕模式切换之前,先输出提示信息,用于提示所述终端用户即将进行屏幕模式切换。进一步的,还可以在接收用户的确认切换指示后,进行屏幕模式的切换。或者,在接收用户的拒绝切换指示后,禁止进行屏幕模式的切换。以及,在达到预设时间后,未接收到用户关于切换操作的指示,则自行进行屏幕模式的切换。Specifically, it can be understood that, before the screen mode switch is performed, a prompt message is first output for prompting the terminal user that the screen mode switch is about to be performed. Further, after receiving the user's confirmation switch instruction, the screen mode can be switched. Or, after receiving the user's refusal to switch instruction, the screen mode switch is prohibited. And, after the preset time is reached, if the user's instruction on the switching operation is not received, the screen mode is switched by itself.
另外,输出切换选项,比如当目标亮度值对应多个屏幕模式时,切换选项包括多种屏幕模式;以及切换屏幕持续时间,在达到持续时间后,又将屏幕模式切换成当前对应的屏幕模式等。In addition, output switching options, such as when the target brightness value corresponds to multiple screen modes, the switching options include multiple screen modes; and switching the screen duration, after reaching the duration, the screen mode is switched to the current corresponding screen mode, etc. .
可见,在进行屏幕模式切换之前,输出提示信息和/或切换选项,有效避免由于终端故障或者操作失误导致的误切换,提升终端的稳定性。另外,输出切换选项便于直接选择具体切换的屏幕模式以及切换持续时间等。It can be seen that before switching the screen mode, outputting prompt information and/or switching options effectively avoids erroneous switching due to terminal failure or operation errors, and improves the stability of the terminal. In addition, the output switching option is convenient to directly select the specific switching screen mode and switching duration.
在一个可能的示例中,所述预设区域包括以下至少一种:屏幕的边缘区域、物理实体按键、指纹识 别区域、虚拟操作按键、预设系统或应用界面、托盘、状态栏、Dock栏。In a possible example, the preset area includes at least one of the following: an edge area of the screen, a physical entity button, a fingerprint recognition area, a virtual operation button, a preset system or application interface, a tray, a status bar, and a Dock bar.
在一个可能的示例中,所述方法还包括以下至少一种:不同屏幕模式对应的操作界面不同;不同屏幕亮度对应的操作界面不同;不同环境参数对应的操作界面不同;不同应用类型对应的操作界面不同。In a possible example, the method further includes at least one of the following: different operation interfaces corresponding to different screen modes; different operation interfaces corresponding to different screen brightness; different operation interfaces corresponding to different environmental parameters; different operations corresponding to different application types The interface is different.
具体的,如上述示例所述,可以根据屏幕模式、屏幕亮度、环境参数、界面应用的类型输出对应的用于调整屏幕亮度的操作界面,但输出的操作界面不同,也即对应于不同的操作界面。Specifically, as described in the above example, the corresponding operation interface for adjusting the screen brightness can be output according to the screen mode, screen brightness, environmental parameters, and type of interface application, but the output operation interface is different, that is, it corresponds to different operations. interface.
可见,根据不同的屏幕模式、屏幕亮度、环境参数、界面应用的类型输出不同的操作界面,提升屏幕亮度调节的针对性。It can be seen that different operation interfaces are output according to different screen modes, screen brightness, environmental parameters, and types of interface applications to improve the pertinence of screen brightness adjustment.
与上述图1A所示的实施例一致,请参阅图2,图2是本申请实施例提供的另一种屏幕亮度调节方法的流程示意图,所述方法包括:Consistent with the embodiment shown in FIG. 1A, please refer to FIG. 2. FIG. 2 is a schematic flowchart of another screen brightness adjustment method provided by an embodiment of the present application, and the method includes:
201、检测终端的关联信息是否满足第一条件。201. Detect whether the associated information of the terminal meets the first condition.
可选的,在所述关联信息满足预设条件的情况下,输出至少一用于调整屏幕亮度的操作界面;Optionally, when the associated information meets a preset condition, output at least one operation interface for adjusting screen brightness;
202、若满足所述第一条件,检测所述终端的屏幕亮度值和所述终端的界面信息是否满足第二条件,所述界面信息包括当前应用和/或当前界面;202. If the first condition is met, detect whether the screen brightness value of the terminal and the interface information of the terminal meet the second condition, where the interface information includes the current application and/or the current interface;
203、若满足所述第二条件,输出用于调整屏幕亮度的操作界面。203. If the second condition is met, output an operation interface for adjusting screen brightness.
步骤201-203,同上述步骤101-103,在此不再赘述。Steps 201-203 are the same as the above steps 101-103, and will not be repeated here.
204、接收针对所述操作界面的至少一操作,以根据所述操作获取目标亮度值。204. Receive at least one operation on the operation interface, so as to obtain a target brightness value according to the operation.
具体的,可以理解为,所述至少一操作,包括以下至少一种:单击操作、双击操作、长按操作、重按操作、滑动操作、隔空触控。该操作可以是针对所述操作界面的任意区域,也可以是针对所述操作界面的预设区域,预设区域如上所述,可以为以下任意一种或多种:屏幕的边缘区域、物理实体按键、指纹识别区域、虚拟操作按键、预设系统或应用界面、托盘、状态栏、Dock栏等。以根据该操作来获取目标亮度值。Specifically, it can be understood that the at least one operation includes at least one of the following: a single-click operation, a double-click operation, a long-press operation, a re-press operation, a sliding operation, and an air touch. The operation can be directed to any area of the operating interface, or it can be directed to a preset area of the operating interface. The preset area, as described above, can be any one or more of the following: the edge area of the screen, the physical entity Buttons, fingerprint recognition area, virtual operation buttons, preset system or application interface, tray, status bar, Dock bar, etc. In order to obtain the target brightness value according to this operation.
可选的,若所述操作为滑动操作,则获取所述滑动操作的操作信息,所述操作信息包括以下至少一种:滑动方向、滑动距离、滑动速度、滑动轨迹。Optionally, if the operation is a sliding operation, obtain operation information of the sliding operation, and the operation information includes at least one of the following: a sliding direction, a sliding distance, a sliding speed, and a sliding track.
可选的,所述根据所述操作获取目标亮度值的步骤,包括以下至少一种:若所述滑动方向为第一预设方向,增加当前屏幕亮度值,以得到所述目标亮度值;若所述滑动方向为第二预设方向,降低当前屏幕亮度值,以得到所述目标亮度值;根据所述滑动距离来确定所述目标屏幕亮度值;根据所述滑动速度确定所述目标屏幕亮度值增加或降低的调节频率。Optionally, the step of obtaining the target brightness value according to the operation includes at least one of the following: if the sliding direction is a first preset direction, increasing the current screen brightness value to obtain the target brightness value; if The sliding direction is the second preset direction, and the current screen brightness value is reduced to obtain the target brightness value; the target screen brightness value is determined according to the sliding distance; the target screen brightness is determined according to the sliding speed Adjust the frequency of value increase or decrease.
205、根据所述目标亮度值调整所述屏幕亮度。205. Adjust the screen brightness according to the target brightness value.
可见,在终端的关联信息满足预设条件的情况下,可输出至少一用于调整屏幕亮度的操作界面,并基于操作界面接收的至少一操作,来获取目标亮度值。进一步,根据该目标亮度值进行屏幕亮度调节。提高目标亮度值确定的准确度,实现对屏幕亮度的精准调节。It can be seen that when the associated information of the terminal meets the preset condition, at least one operation interface for adjusting the screen brightness can be output, and the target brightness value can be obtained based on at least one operation received by the operation interface. Further, the screen brightness is adjusted according to the target brightness value. Improve the accuracy of determining the target brightness value, and achieve precise adjustment of the screen brightness.
与上述图1A、图2所示的实施例一致,请参阅图3A,图3A是本申请实施例提供的另一种屏幕亮度调节方法的流程示意图,所述方法应用于至少一终端,包括:Consistent with the embodiments shown in FIG. 1A and FIG. 2, please refer to FIG. 3A. FIG. 3A is a schematic flowchart of another screen brightness adjustment method provided by an embodiment of the present application. The method is applied to at least one terminal and includes:
301、检测终端的状态信息是否满足预设条件,所述状态信息包括所述终端的关联信息、所述终端的屏幕亮度值和所述终端的界面信息,所述界面信息包括当前应用和/或当前界面。301. Detect whether the state information of a terminal meets a preset condition, the state information includes the associated information of the terminal, the screen brightness value of the terminal and the interface information of the terminal, and the interface information includes the current application and/or Current interface.
具体的,终端可以按照预设周期或者由外界条件触发对终端当前的状态信息的检测,判断终端的状态信息是否满足预设条件。而终端的状态信息包括该终端的关联信息、该终端的屏幕亮度值和该终端的界面信息,该界面信息包括当前应用和/或当前界面。具体的,以终端的屏幕亮度值是否符合预设条件为例,该屏幕亮度值大于当前屏幕模式的最大亮度值,则所述屏幕亮度值符合预设条件,比如屏幕亮度值为500尼特,当前屏幕模式的最大亮度值为400尼特,则判断所述屏幕亮度值符合预设条件;还可以为若所述屏幕亮度值小于当前屏幕模式的最小亮度值,则所述屏幕亮度值符合预设条件,比如屏幕亮度值为20尼特,当前屏幕模式的最小亮度值为50尼特,则所述屏幕亮度值符合预设条件;还可以为若当前应用不属于当前屏幕模式的预设应用,则所述屏幕亮度值符合预设条件,比如当前应用为游戏应用,当前屏幕模式为省电或者超级省电模式,游戏应用不属于省电或者超级省电模式,则所述屏幕亮度值符合预设条件;同理,若当前界面不属于当前屏幕模式的预设界面,则所述屏幕亮度值符合预设条件。另外,终端的关联信息是否符合预设条件,该关联信息可以是以下任意一种或多种:所述终端用户的面部特征信息、所述用户距离终端界面的距离信息、环境参数信息、终端状态信息等。满足上述第一条件,即为面部特征信息与预设面部特征信息匹配和/或所述距离信息与预设距离信息匹配。比如面部特征信息包含的眼镜佩戴信息为当前用户佩戴了眼镜,而预设第一条件之一种即为当前用户佩戴了眼镜,则可以确定出终端的关联信息满足第一条件。Specifically, the terminal may detect the current state information of the terminal according to a preset period or triggered by external conditions, and determine whether the state information of the terminal meets the preset conditions. The state information of the terminal includes the associated information of the terminal, the screen brightness value of the terminal, and the interface information of the terminal, and the interface information includes the current application and/or the current interface. Specifically, taking whether the screen brightness value of the terminal meets the preset condition as an example, the screen brightness value is greater than the maximum brightness value of the current screen mode, then the screen brightness value meets the preset condition, for example, the screen brightness value is 500 nits, If the maximum brightness value of the current screen mode is 400 nits, it is determined that the screen brightness value meets the preset condition; it can also be that if the screen brightness value is less than the minimum brightness value of the current screen mode, then the screen brightness value meets the preset condition. Set conditions, for example, the screen brightness value is 20 nits, and the minimum brightness value of the current screen mode is 50 nits, then the screen brightness value meets the preset conditions; it can also be the preset application if the current application is not in the current screen mode , The screen brightness value meets the preset condition, for example, the current application is a game application, the current screen mode is power saving or super power saving mode, and the game application is not in power saving or super power saving mode, then the screen brightness value meets The preset condition; similarly, if the current interface does not belong to the preset interface of the current screen mode, the screen brightness value meets the preset condition. In addition, whether the associated information of the terminal meets the preset conditions, the associated information can be any one or more of the following: facial feature information of the terminal user, distance information of the user from the terminal interface, environmental parameter information, and terminal status Information etc. Satisfying the above-mentioned first condition is that the facial feature information matches the preset facial feature information and/or the distance information matches the preset distance information. For example, if the glasses wearing information contained in the facial feature information is that the current user wears glasses, and one of the preset first conditions is that the current user wears glasses, it can be determined that the associated information of the terminal satisfies the first condition.
可选的,所述终端的状态信息满足预设条件,包括以下至少一种:所述终端的关联信息匹配预设的关联信息;所述终端的屏幕亮度值满足预设的屏幕亮度条件;所述终端的界面信息匹配预设的界面信息;所述关联信息不匹配所述屏幕亮度值;所述关联信息不匹配所述界面信息;所述屏幕亮度值不匹配所述界面信息。Optionally, the state information of the terminal satisfies a preset condition, including at least one of the following: the associated information of the terminal matches the preset associated information; the screen brightness value of the terminal satisfies the preset screen brightness condition; The interface information of the terminal matches the preset interface information; the associated information does not match the screen brightness value; the associated information does not match the interface information; the screen brightness value does not match the interface information.
302、若是,触发屏幕模式切换,和/或,输出用于调整屏幕亮度的操作界面。302. If yes, trigger screen mode switching, and/or output an operation interface for adjusting screen brightness.
具体的,在检测所述终端的状态信息符合预设条件时,触发屏幕模式切换,和/或,输出用于调整屏 幕亮度的操作界面。在进行屏幕模式切换时,可以按照预设设定的切换方式进行切换。Specifically, when it is detected that the state information of the terminal meets a preset condition, a screen mode switch is triggered, and/or an operation interface for adjusting the brightness of the screen is output. When switching the screen mode, you can switch according to the preset switching mode.
可选的,所述预设设定的切换方式包括以下至少一种:系统预设、用户设置、根据操作习惯自动生成、上次用户选择。Optionally, the preset switching mode includes at least one of the following: system preset, user setting, automatic generation according to operating habits, and last user selection.
可见,在获取所述终端的状态信息后,在所述终端的状态信息符合预设条件的情况下,触发屏幕模式切换,和/或,输出用于调整屏幕亮度的操作界面。基于多维度信息进行预先判断,在匹配判断后,进行切换屏幕模式,或者根据操作界面对当前屏幕亮度进行调节。提升屏幕亮度调节的智能性以及准确程度。It can be seen that after acquiring the state information of the terminal, if the state information of the terminal meets a preset condition, a screen mode switch is triggered, and/or an operation interface for adjusting screen brightness is output. Pre-judgment is made based on multi-dimensional information, and after the matching judgment, the screen mode is switched, or the current screen brightness is adjusted according to the operation interface. Improve the intelligence and accuracy of screen brightness adjustment.
在一个可能的示例中,所述屏幕亮度值满足预设的屏幕亮度条件,包括以下至少一种:若所述屏幕亮度值大于当前屏幕模式的最大亮度值,则所述屏幕亮度值满足预设的屏幕亮度条件;若所述屏幕亮度值小于当前屏幕模式的最小亮度值,则所述屏幕亮度值满足预设的屏幕亮度条件。In a possible example, the screen brightness value satisfies a preset screen brightness condition, including at least one of the following: if the screen brightness value is greater than the maximum brightness value of the current screen mode, the screen brightness value satisfies the preset screen brightness If the screen brightness value is less than the minimum brightness value of the current screen mode, the screen brightness value meets the preset screen brightness condition.
具体如上所述,在此不再赘述。The details are as described above and will not be repeated here.
在一个可能的示例中,所述终端的界面信息匹配预设的界面信息,包括以下至少一种:所述当前应用不属于当前屏幕模式的预设应用,则所述终端的界面信息匹配预设的界面信息;所所述终端的界面信息匹配预设的界面信息。In a possible example, the interface information of the terminal matches the preset interface information, including at least one of the following: the current application does not belong to the preset application of the current screen mode, then the interface information of the terminal matches the preset The interface information; the interface information of the terminal matches the preset interface information.
具体如上所述,在此不再赘述。The details are as described above and will not be repeated here.
在一个可能的示例中,所述触发屏幕模式切换,包括以下至少一种:获取所述屏幕亮度值对应的屏幕模式,并切换到所述对应的屏幕模式;获取所述当前应用对应的屏幕模式,并切换到所述对应的屏幕模式;获取所述当前界面对应的屏幕模式,并切换到所述对应的屏幕模式。In a possible example, the triggering of screen mode switching includes at least one of the following: acquiring the screen mode corresponding to the screen brightness value, and switching to the corresponding screen mode; acquiring the screen mode corresponding to the current application , And switch to the corresponding screen mode; obtain the screen mode corresponding to the current interface, and switch to the corresponding screen mode.
具体的,可以理解为在进行屏幕模式切换时,可以根据当前屏幕亮度,或者当前应用以及当前界面进行屏幕模式切换。Specifically, it can be understood that when the screen mode is switched, the screen mode can be switched according to the current screen brightness, or the current application and the current interface.
可见,在进行屏幕模式切换时,将屏幕模式切换为与当前屏幕亮度,或者当前应用或者当前界面匹配的屏幕模式,提升屏幕模式切换的针对性。It can be seen that when the screen mode is switched, the screen mode is switched to a screen mode that matches the current screen brightness, or the current application or the current interface, to improve the pertinence of the screen mode switching.
在一个可能的示例中,在所述输出用于调整屏幕亮度的操作界面之后,还包括:接收至少一操作,以根据所述操作获取目标亮度值;根据所述目标亮度值调整所述屏幕亮度。In a possible example, after the output of the operation interface for adjusting screen brightness, the method further includes: receiving at least one operation to obtain a target brightness value according to the operation; and adjusting the screen brightness according to the target brightness value .
具体的,在确定目标亮度值时,可以针对基于该操作界面上接收的操作,比如该界面接收了叩击操作,通过叩击的次数,压力值,频率等来确定所述终端屏幕亮度调节的目标亮度值。Specifically, when determining the target brightness value, based on the operation received on the operation interface, for example, the interface receives a tap operation, the number of taps, pressure value, frequency, etc. can be used to determine the brightness adjustment of the terminal screen. Target brightness value.
另外,可选的,所述至少一操作包括以下至少一种:单击操作、双击操作、长按操作、重按操作、滑动操作、隔空触控。In addition, optionally, the at least one operation includes at least one of the following: a single-click operation, a double-click operation, a long-press operation, a re-press operation, a sliding operation, and an air touch.
其中,所述滑动操作包括以下任意一种或多种:滑动方向、滑动距离、滑动速度、滑动轨迹。Wherein, the sliding operation includes any one or more of the following: sliding direction, sliding distance, sliding speed, and sliding track.
可见,通过终端接收的施加于该操作界面的操作来确定目标亮度值,提升确定目标亮度值的便捷性。It can be seen that the target brightness value is determined through the operation received by the terminal and applied to the operation interface, which improves the convenience of determining the target brightness value.
在一个可能的示例中,若所述操作为长按操作和/或重按操作,所述根据所述操作获取目标亮度值包括以下至少一种:根据所述操作的时长来确定所述目标屏幕亮度值;根据所述操作的压力值来确定所述目标屏幕亮度值;根据所述预设触控操作的次数来确定所述目标屏幕亮度值;根据所述操作的时长、压力值和次数中的至少两者共同确定所述目标亮度值。In a possible example, if the operation is a long-press operation and/or a re-press operation, the obtaining the target brightness value according to the operation includes at least one of the following: determining the target screen according to the duration of the operation Brightness value; Determine the target screen brightness value according to the pressure value of the operation; Determine the target screen brightness value according to the preset number of touch operations; Determine the target screen brightness value according to the duration, pressure value, and frequency of the operation At least two of them jointly determine the target brightness value.
具体的,可以理解为接收针对输出的至少一用于调整屏幕亮度的操作界面的至少一操作,可以为长按操作和/或重按操作,进一步的可以根据该操作的时长、压力值和次数中的任意一种或多种来确定目标亮度值。通过传感器检测按压操作(长按操作和/或重按操作)的压力值,并且检测按压的时长和次数,以及按压的频率,以此来确定目标亮度值。Specifically, it can be understood as receiving at least one operation for the output of at least one operation interface for adjusting the screen brightness, which can be a long press operation and/or a repress operation, and further can be based on the duration, pressure value, and number of operations. Any one or more of them to determine the target brightness value. The pressure value of the pressing operation (long pressing operation and/or repressing operation) is detected by the sensor, and the duration and number of pressings, and the frequency of pressing are detected to determine the target brightness value.
可见,通过接收的多种按压操作的时长、压力值、次数和频率等来确定目标亮度值,方便快捷。It can be seen that it is convenient and quick to determine the target brightness value through the duration, pressure value, number and frequency of the received multiple pressing operations, etc.
在一个可能的示例中,若所述操作为单击操作或双击操作,所述根据所述操作获取目标亮度值包括:根据所述操作的点击位置来确定所述目标屏幕亮度值。In a possible example, if the operation is a single click operation or a double click operation, the obtaining the target brightness value according to the operation includes: determining the target screen brightness value according to the click position of the operation.
具体的,比如单击操作或所述双击操作在操作界面的不同位置,则对应不同的目标亮度值。Specifically, for example, the single-click operation or the double-click operation at different positions of the operation interface corresponds to different target brightness values.
可见,通过接收的单击操作或双击操作在操作界面的不同位置来确定,目标亮度值,操作简洁,便利。It can be seen that the target brightness value is determined by the received single-click operation or double-click operation in different positions of the operation interface, and the operation is simple and convenient.
在一个可能的示例中,还包括以下至少一种:在不同的屏幕模式和/或不同的屏幕亮度下,所述屏幕显示效果不同;在不同的屏幕模式和/或不同的屏幕亮度下,所述操作界面显示效果不同。In a possible example, it also includes at least one of the following: in different screen modes and/or different screen brightness, the screen display effect is different; in different screen modes and/or different screen brightness, so The display effect of the operation interface is different.
具体的,比如屏幕模式对应为护眼模式、深色模式、深夜模式、防闪烁模式、暖色模式、冷色模式、自适应模式、鲜艳模式、标准模式、省电模式、超级省电等模式时,对应的屏幕显示效果不同;同理,在不同的屏幕亮度下,所述屏幕显示效果不同。显示效果比如显示分辨率、显示刷新率、显示色温、显示亮度、显示对比度、显示大小、显示形状、显示颜色、显示位置、显示屏幕、显示数量等不同存在差异。同理,可以为不同的屏幕模式和不同的屏幕亮度,设定不同的操作界面。Specifically, for example, when the screen mode corresponds to eye protection mode, dark mode, late night mode, anti-flicker mode, warm color mode, cool color mode, adaptive mode, bright mode, standard mode, power saving mode, super power saving mode, etc., The corresponding screen display effects are different; for the same reason, the screen display effects are different under different screen brightness. Display effects such as display resolution, display refresh rate, display color temperature, display brightness, display contrast, display size, display shape, display color, display position, display screen, display number, etc. are different. In the same way, different operation interfaces can be set for different screen modes and different screen brightness.
可见,为不同的屏幕模式和屏幕亮度设置不同的显示效果以及不同的操作界面,使得显示效果更加多样化的同时,使得操作界面更便于亮度调节操作。It can be seen that setting different display effects and different operation interfaces for different screen modes and screen brightness makes the display effects more diversified and at the same time makes the operation interface more convenient for brightness adjustment operations.
在一个可能的示例中,所述显示效果包括以下至少一种:显示分辨率、显示刷新率、显示色温、显示亮度、显示对比度、显示大小、显示形状、显示颜色、显示位置、显示屏幕、显示数量。In a possible example, the display effect includes at least one of the following: display resolution, display refresh rate, display color temperature, display brightness, display contrast, display size, display shape, display color, display position, display screen, display quantity.
在一个可能的示例中,在所述屏幕模式切换之前,还包括:输出提示信息和/或切换选项。In a possible example, before the screen mode switching, the method further includes: outputting prompt information and/or switching options.
具体的,可以理解为,在进行屏幕模式切换之前,先输出提示信息,用于提示所述终端用户即将进行屏幕模式切换。进一步的,还可以在接收用户的确认切换指示后,进行屏幕模式的切换。或者,在接 收用户的拒绝切换指示后,禁止进行屏幕模式的切换。以及,在达到预设时间后,未接收到用户关于切换操作的指示,则自行进行屏幕模式的切换。Specifically, it can be understood that, before the screen mode switch is performed, a prompt message is first output for prompting the terminal user that the screen mode switch is about to be performed. Further, after receiving the user's confirmation switch instruction, the screen mode can be switched. Or, after receiving the user's refusal to switch instruction, the screen mode switch is prohibited. And, after the preset time is reached, if the user's instruction on the switching operation is not received, the screen mode is switched by itself.
另外,输出切换选项,比如当目标亮度值对应多个屏幕模式时,切换选项包括多种屏幕模式;以及切换屏幕持续时间,在达到持续时间后,又将屏幕模式切换成当前对应的屏幕模式等。In addition, output switching options, such as when the target brightness value corresponds to multiple screen modes, the switching options include multiple screen modes; and switching the screen duration, after reaching the duration, the screen mode is switched to the current corresponding screen mode, etc. .
可见,在进行屏幕模式切换之前,输出提示信息和/或切换选项,有效避免由于终端故障或者操作失误导致的误切换,提升终端的稳定性。另外,输出切换选项便于直接选择具体切换的屏幕模式以及切换持续时间等。It can be seen that before switching the screen mode, outputting prompt information and/or switching options effectively avoids erroneous switching due to terminal failure or operation errors, and improves the stability of the terminal. In addition, the output switching option is convenient to directly select the specific switching screen mode and switching duration.
在一个可能的示例中,其特征在于,所述切换选项的设定方式包括以下至少一种:系统预设、用户设置、根据操作习惯自动生成、上次用户选择。In a possible example, it is characterized in that the setting mode of the switching option includes at least one of the following: system preset, user setting, automatic generation according to operating habits, and last user selection.
在一个可能的示例中,所述屏幕模式包括以下至少一种:护眼模式、深色模式、深夜模式、防闪烁模式、暖色模式、冷色模式、自适应模式、鲜艳模式、标准模式、省电模式、超级省电模式。In a possible example, the screen mode includes at least one of the following: eye protection mode, dark mode, late night mode, anti-flicker mode, warm color mode, cool color mode, adaptive mode, bright mode, standard mode, power saving Mode, super power saving mode.
在一个可能的示例中,所述终端包括至少一第一屏幕和至少一第二屏幕,还包括以下至少一种:若所述屏幕亮度值来自于所述第一屏幕,则所述触发屏幕模式切换的屏幕是所述第一屏幕和/或所述第二屏幕;若所述屏幕亮度值包含第一屏幕的亮度值与所述第二屏幕的亮度值,则所述触发屏幕模式切换的屏幕是所述第一屏幕和/或所述第二屏幕。In a possible example, the terminal includes at least one first screen and at least one second screen, and further includes at least one of the following: if the screen brightness value comes from the first screen, the trigger screen mode The screen to be switched is the first screen and/or the second screen; if the screen brightness value includes the brightness value of the first screen and the brightness value of the second screen, the screen that triggers the screen mode switch It is the first screen and/or the second screen.
具体的,可以理解为所述终端包含多个屏幕,并且当前打开了多个屏幕,比如分屏或者外接其他显示屏时,如图3B所示,若检测到其中一个屏幕的亮度值,比如第一屏幕的屏幕亮度值,可以基于该屏幕的亮度值对所述第一屏幕和/或所述第二屏幕进行屏幕模式切换。或者,如图3C所示,获取的屏幕亮度值包含第一屏幕的亮度值与所述第二屏幕的亮度值,则可以根据第一屏幕的亮度值触发第一屏幕的屏幕模式切换,以及根据第二屏幕的亮度值触发第二屏幕的屏幕模式切换。Specifically, it can be understood that the terminal includes multiple screens, and multiple screens are currently turned on, such as a split screen or an external display screen, as shown in Figure 3B, if the brightness value of one of the screens is detected, such as the first The screen brightness value of a screen can switch the screen mode of the first screen and/or the second screen based on the brightness value of the screen. Or, as shown in FIG. 3C, the acquired screen brightness value includes the brightness value of the first screen and the brightness value of the second screen, the screen mode switch of the first screen can be triggered according to the brightness value of the first screen, and according to The brightness value of the second screen triggers the screen mode switching of the second screen.
可见,在终端包含多个屏幕时,进行屏幕模式切换既可以基于其中一个屏幕的亮度值进行,也可以基于各自的屏幕亮度值,分别进行。提升屏幕模式切换的针对性。It can be seen that when the terminal includes multiple screens, the screen mode switching can be performed based on the brightness value of one of the screens, or can be performed separately based on the respective screen brightness values. Improve the pertinence of screen mode switching.
在一个可能的示例中,若触发屏幕模式切换的屏幕为至少两个,则切换的方式包括以下至少一种:同时,顺序,随机,根据用户习惯切换,用户设置,系统设定,上次选择。In a possible example, if there are at least two screens that trigger the screen mode switching, the switching method includes at least one of the following: simultaneous, sequential, random, switching according to user habits, user settings, system settings, last selection .
具体的,可以理解为在有多个屏幕需要进行屏幕模式切换时,切换的方式既可以是同时进行,也可以随机切换或者按照上下、左右、检测屏幕亮度值的先后顺序等进行,也可以按照用户设置或者系统设定进行切换,以及根据上次选择,也即历史选择的切换方式进行。Specifically, it can be understood that when there are multiple screens that need to switch the screen mode, the switching can be done at the same time, or at random, or according to the order of up and down, left and right, and the order of detecting the brightness value of the screen, or according to User settings or system settings are switched, and according to the last selection, that is, the switching method of historical selection.
可见,多样化的切换方式,使得屏幕模式切换更加简洁,提升屏幕模式切花的可操作性。It can be seen that the diversified switching methods make the screen mode switching more concise and improve the operability of the screen mode cut flowers.
在一个可能的示例中,还包括:所述操作界面可以只显示在所述第一屏幕或所述第二屏幕;或,同时显示在所述第一屏幕和所述第二屏幕。In a possible example, it further includes: the operation interface may only be displayed on the first screen or the second screen; or, be displayed on the first screen and the second screen at the same time.
具体的,可以理解为操作界面可以只显示在其中一个屏幕上,也可以在多个屏幕上分别显示相同或者不同的操作界面,不同屏幕上对应的操作界面匹配当前屏幕的界面,或者当前屏幕的应用。Specifically, it can be understood that the operation interface can be displayed on only one of the screens, or the same or different operation interfaces can be displayed on multiple screens. The corresponding operation interfaces on different screens match the interface of the current screen, or the interface of the current screen. application.
可见,操作界面显示在其中任意一个屏幕上,可以简化操作界面。显示在不同的界面上,提升操作界面与对应屏幕的匹配性。It can be seen that the operation interface is displayed on any one of the screens, which can simplify the operation interface. Display on different interfaces to improve the matching of the operation interface and the corresponding screen.
在一个可能的示例中,在所述输出用于调整屏幕亮度的操作界面的步骤之后,接收在所述操作界面上的操作信息,还包括以下至少一种:若所述操作界面只显示在一个屏幕,则根据所述操作信息只调节显示所述操作界面的屏幕的亮度值;若所述操作界面显示在至少两个屏幕,则根据所述操作信息调节显示所述操作界面的所有屏幕的亮度值。In a possible example, after the step of outputting an operation interface for adjusting screen brightness, receiving operation information on the operation interface further includes at least one of the following: if the operation interface is only displayed on one Screen, only adjust the brightness value of the screen displaying the operation interface according to the operation information; if the operation interface is displayed on at least two screens, adjust the brightness of all screens displaying the operation interface according to the operation information value.
具体的,可以理解为,所述操作信息可以为触控手势,比如点击、长按、滑动、重按等,也开始隔空手势。若所述操作界面只显示在一个屏幕,比如第一屏幕上,则根据所述操作信息包含的重压操作来调节显示所述操作界面对应的第一屏幕的亮度值。同理,若所述操作界面显示在至少两个屏幕,比如第一屏幕与第二屏幕上,则根据所述操作信息调节显示所述操作界面的所有屏幕的亮度值,即第一屏幕与第二屏幕的亮度值。Specifically, it can be understood that the operation information may be a touch gesture, such as tap, long press, slide, and double press, etc., and also start a space gesture. If the operation interface is displayed on only one screen, such as the first screen, the brightness value of the first screen corresponding to the operation interface is adjusted according to the heavy pressing operation included in the operation information. Similarly, if the operation interface is displayed on at least two screens, such as the first screen and the second screen, the brightness values of all screens displaying the operation interface are adjusted according to the operation information, that is, the first screen and the second screen. 2. The brightness value of the screen.
可见,根据操作界面呈现与不同的屏幕,来确定实施亮度调节的目标屏幕,提升屏幕亮度调节的针对性。It can be seen that the target screen for brightness adjustment is determined according to the display of the operation interface and different screens, and the pertinence of the screen brightness adjustment is improved.
在一个可能的示例中,所述方法还包括:当所述屏幕的亮度值发生变化时,所述操作界面也发生相应变化。In a possible example, the method further includes: when the brightness value of the screen changes, the operation interface also changes accordingly.
具体的,譬如进度条的调节值区间发生变化,或者进度条的调节步长发生变化,或者进度条的显示效果(如大小、位置等)发生变化。还有,若同时显示在多个屏幕上,则每个屏幕上的操作界面都同步发生变化。Specifically, for example, the adjustment value interval of the progress bar changes, or the adjustment step length of the progress bar changes, or the display effect (such as size, position, etc.) of the progress bar changes. Also, if it is displayed on multiple screens at the same time, the operation interface on each screen will change synchronously.
可见,操作界面随着所述屏幕的亮度值的变化而变化,便于实时显示当前屏幕亮度,以及便于下一次对屏幕亮度进行调节。It can be seen that the operation interface changes with the change of the brightness value of the screen, which is convenient for displaying the current screen brightness in real time and for adjusting the screen brightness next time.
请参阅图4,图4是本申请实施例提供的一种终端400的功能单元示意图,所述终端400可包括处理单元410,可选的,还可包括通信单元420等。其中,所述处理单元410可用于执行如上述方法实施例中任一步骤的指令,此处不赘述。可以理解,本申请中,对于单元的划分方式并不限定,以上仅示出一种可能的方式。Please refer to FIG. 4, which is a schematic diagram of functional units of a terminal 400 according to an embodiment of the present application. The terminal 400 may include a processing unit 410, and optionally, a communication unit 420 and the like. Wherein, the processing unit 410 can be used to execute instructions of any step in the foregoing method embodiment, which will not be repeated here. It can be understood that, in the present application, there is no limitation on the way of dividing the units, and only one possible way is shown above.
请参阅图5,图5是本申请实施例提供的一种终端500的结构示意图,所述终端500包括:处理器 510、存储器520。可选的,该终端还可以包括输入设备、与输出设备,所述处理器510、存储器520与输入设备以及输出设备相互连接。其中,所述存储器520用于存储计算机程序521,所述计算机程序521包括程序指令,所述处理器510被配置用于调用所述程序指令,执行如上述方法实施例中任一步骤的指令,此处不赘述。Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a terminal 500 provided by an embodiment of the present application. The terminal 500 includes a processor 510 and a memory 520. Optionally, the terminal may also include an input device and an output device. The processor 510 and the memory 520 are connected to the input device and the output device. Wherein, the memory 520 is used to store a computer program 521, the computer program 521 includes program instructions, and the processor 510 is configured to call the program instructions to execute instructions such as any one of the steps in the above method embodiments, I won't repeat them here.
可选的,处理器510也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器510还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。Optionally, the processor 510 may also include a main processor and a co-processor. The main processor is a processor used to process data in an awake state, and is also called a CPU (Central Processing Unit, central processing unit); The coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing content that needs to be displayed on the display screen. In some embodiments, the processor 510 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computing operations related to machine learning.
存储器520可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器520还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。本实施例中,存储器520至少用于存储以下计算机程序,其中,该计算机程序被处理器510加载并执行之后,能够实现前述任一实施例公开的多元主体硬件的管理方法中的相关步骤。另外,存储器520所存储的资源还可以包括操作系统和数据等,存储方式可以是短暂存储或者永久存储。其中,操作系统可以包括Windows、Unix、Linux等。数据可以包括但不限于终端交互数据、终端设备信号等。The memory 520 may include one or more computer-readable storage media, which may be non-transitory. The memory 520 may also include a high-speed random access memory and a non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices. In this embodiment, the memory 520 is used to store at least the following computer program, where the computer program is loaded and executed by the processor 510 to implement the relevant steps in the method for managing multi-body hardware disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 520 may also include an operating system and data, etc., and the storage mode may be short-term storage or permanent storage. Among them, the operating system may include Windows, Unix, Linux, etc. The data may include, but is not limited to, terminal interaction data, terminal device signals, and so on.
本领域技术人员可以理解,本实施例公开的结构并不构成对电子设备的限定,可以包括更多或更少的组件。Those skilled in the art can understand that the structure disclosed in this embodiment does not constitute a limitation on the electronic device, and may include more or fewer components.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solution of the embodiment of the present application from the perspective of the execution process on the method side. It can be understood that, in order to implement the above-mentioned functions, an electronic device includes a hardware structure and/or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and steps of the examples described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本申请实施例还提供一种计算机存储介质,其中,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如上述方法实施例中任一步骤的指令。An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program, the computer program includes program instructions, and the program instructions when executed by a processor cause the processor to execute Instructions for any step in the method embodiment.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。The embodiments of the present application also provide a computer program product. The above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program. The above-mentioned computer program is operable to cause a computer to execute any of the methods described in the above-mentioned method embodiments. Part or all of the steps of the method. The computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
应该理解的是,虽然上述实施例中的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the steps in the flowchart in the foregoing embodiment are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least part of the steps in the figure may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the order of execution is not necessarily sequential. Instead, it may be performed alternately or alternately with other steps or at least a part of other steps or sub-steps or stages.
以上所揭露的仅为本申请的部分实施例而已,当然不能以此来限定本申请之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本申请权利要求所作的等同变化,仍属于本申请所涵盖的范围。The above-disclosed are only part of the embodiments of this application. Of course, it cannot be used to limit the scope of rights of this application. Those of ordinary skill in the art can understand all or part of the procedures for implementing the above-mentioned embodiments and make them in accordance with the claims of this application. The equivalent change of is still within the scope of this application.
Claims (42)
- 一种屏幕亮度调整方法,其特征在于,所述方法包括:A method for adjusting screen brightness, characterized in that the method includes:检测终端的关联信息是否满足第一条件;Detecting whether the associated information of the terminal meets the first condition;若满足所述第一条件,检测所述终端的屏幕亮度值和所述终端的界面信息是否满足第二条件,所述界面信息包括当前应用和/或当前界面;If the first condition is met, detecting whether the screen brightness value of the terminal and the interface information of the terminal meet the second condition, where the interface information includes the current application and/or the current interface;若满足所述第二条件,触发屏幕模式切换,和/或,输出用于调整屏幕亮度的操作界面。If the second condition is met, a screen mode switch is triggered, and/or an operation interface for adjusting the brightness of the screen is output.
- 根据权利要求1所述的方法,其特征在于,所述输出用于调整屏幕亮度的操作界面之后,所述方法还包括:The method according to claim 1, wherein after the output of the operation interface for adjusting the brightness of the screen, the method further comprises:接收针对所述操作界面的至少一操作,以根据所述操作获取目标亮度值;Receiving at least one operation on the operation interface to obtain a target brightness value according to the operation;根据所述目标亮度值进行屏幕亮度调整。The screen brightness is adjusted according to the target brightness value.
- 根据权利要求1所述的方法,其特征在于,所述满足所述第二条件,包括以下至少一种:The method according to claim 1, wherein the meeting the second condition includes at least one of the following:所述终端的屏幕亮度值满足预设的屏幕亮度条件和所述终端的界面信息匹配预设的界面信息;The screen brightness value of the terminal satisfies a preset screen brightness condition and the interface information of the terminal matches the preset interface information;所述屏幕亮度值不匹配所述界面信息。The screen brightness value does not match the interface information.
- 根据权利要求1所述的方法,其特征在于,所述触发屏幕模式切换,包括:The method according to claim 1, wherein said triggering screen mode switching comprises:获取目标亮度值,根据所述目标亮度值切换到对应的屏幕模式。Obtain the target brightness value, and switch to the corresponding screen mode according to the target brightness value.
- 根据权利要求4所述的方法,其特征在于,所述根据所述目标亮度值切换到对应的屏幕模式,包括:The method according to claim 4, wherein the switching to a corresponding screen mode according to the target brightness value comprises:若所述目标亮度值低于或等于第一预设目标亮度值,则进入第一预设模式;或,If the target brightness value is lower than or equal to the first preset target brightness value, enter the first preset mode; or,若所述目标亮度值高于或等于第二预设目标亮度值,则进入第二预设模式;或,If the target brightness value is higher than or equal to the second preset target brightness value, enter the second preset mode; or,若所述目标亮度值大于第一预设目标亮度值,且小于第二预设亮度值,则进入第三预设模式。If the target brightness value is greater than the first preset target brightness value and less than the second preset brightness value, enter the third preset mode.
- 根据权利要求1所述的方法,其特征在于,所述触发屏幕模式切换,包括以下至少一种:The method according to claim 1, wherein said triggering screen mode switching comprises at least one of the following:若当前应用或界面不属于切换后屏幕模式下的预设应用或预设界面,则不允许进行屏幕切换或者退出所述当前应用或界面;If the current application or interface does not belong to the preset application or preset interface in the screen mode after the switch, it is not allowed to switch the screen or exit the current application or interface;若当前应用或界面属于切换后屏幕模式下的预设应用或预设界面,则允许进行屏幕切换。If the current application or interface belongs to the preset application or preset interface in the screen mode after the switch, the screen switch is allowed.
- 根据权利要求1所述的方法,其特征在于,所述关联信息包括所述终端用户的面部特征信息和/或所述用户距离终端界面的距离信息,The method according to claim 1, wherein the associated information includes facial feature information of the terminal user and/or distance information of the user from the terminal interface,所述若满足所述第一条件,检测所述屏幕亮度值和所述终端的界面信息是否满足第二条件,包括:If the first condition is met, detecting whether the screen brightness value and the interface information of the terminal meet the second condition includes:所述面部特征信息与预设面部特征信息匹配的情况下和/或所述距离信息与预设距离信息匹配的情况下,检测所述屏幕亮度值和所述终端的界面信息是否满足第二条件。In the case where the facial feature information matches the preset facial feature information and/or the distance information matches the preset distance information, detecting whether the screen brightness value and the interface information of the terminal meet the second condition .
- 根据权利要求1所述的方法,其特征在于,所述关联信息包括所述终端用户的面部特征信息和/或所述用户距离终端界面的距离信息,The method according to claim 1, wherein the associated information includes facial feature information of the terminal user and/or distance information of the user from the terminal interface,所述检测所述屏幕亮度值和所述终端的界面信息是否满足第二条件之前,所述方法还包括:Before the detecting whether the screen brightness value and the interface information of the terminal meet the second condition, the method further includes:根据所述面部特征信息和/或所述距离信息确定目标亮度值;Determining a target brightness value according to the facial feature information and/or the distance information;所述触发屏幕模式切换,包括:The triggering screen mode switching includes:根据所述目标亮度值触发屏幕模式切换。The screen mode switch is triggered according to the target brightness value.
- 根据权利要求8所述的方法,其特征在于,所述面部特征信息包括:眼镜佩戴信息,眼睛状态信息和面部倾斜信息;The method according to claim 8, wherein the facial feature information includes: glasses wearing information, eye state information, and facial tilt information;所述根据所述面部特征信息确定目标亮度值,包括:The determining the target brightness value according to the facial feature information includes:获取与所述眼镜佩戴信息对应的眼睛状态信息表;Acquiring an eye state information table corresponding to the glasses wearing information;根据所述眼睛状态信息与所述眼睛状态信息表确定眼睛状态值;Determining an eye state value according to the eye state information and the eye state information table;根据所述眼睛状态值与所述面部倾斜信息确定目标亮度值。The target brightness value is determined according to the eye state value and the face tilt information.
- 根据权利要求9所述的方法,其特征在于,所述根据所述距离信息确定目标亮度值,包括:The method according to claim 9, wherein the determining the target brightness value according to the distance information comprises:获取预先设置的距离与屏幕亮度值的映射关系表;Obtain the mapping relationship table between the preset distance and the screen brightness value;根据所述距离信息包括的距离和所述映射关系表确定所述目标亮度值。The target brightness value is determined according to the distance included in the distance information and the mapping relationship table.
- 根据权利要求8所述的方法,其特征在于,所述根据所述面部特征信息和所述距离信息确定目标亮度值,包括:The method according to claim 8, wherein the determining the target brightness value according to the facial feature information and the distance information comprises:根据所述面部特征信息确定第一亮度范围;Determining a first brightness range according to the facial feature information;根据所述距离信息和所述第一亮度范围确定所述目标亮度值。The target brightness value is determined according to the distance information and the first brightness range.
- 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, wherein the method further comprises:获取环境参数信息以及终端状态信息;Obtain environmental parameter information and terminal status information;所述根据所述面部特征信息和所述距离信息确定目标亮度值,包括:The determining a target brightness value according to the facial feature information and the distance information includes:根据所述环境参数信息与所述终端状态信息获取对比度信息,所述对比度信息包括以下至少一种:明暗对比度,冷暖对比度,色纯对比度;Acquire contrast information according to the environmental parameter information and the terminal state information, where the contrast information includes at least one of the following: light-dark contrast, cold-warm contrast, and color purity contrast;将所述面部特征信息输入预先训练好的视疲劳神经网络模型,输出所述用户的视疲劳程度;Inputting the facial feature information into a pre-trained asthenopia neural network model, and outputting the user's asthenopia degree;根据所述对比度信息,所述视疲劳程度、所述距离信息确定目标亮度值。According to the contrast information, the degree of visual fatigue, and the distance information, a target brightness value is determined.
- 根据权利要求1所述的方法,其特征在于,所述输出用于调整屏幕亮度的操作界面,包括以下至少一种:The method according to claim 1, wherein said outputting an operation interface for adjusting screen brightness includes at least one of the following:根据屏幕模式输出对应的用于调整屏幕亮度的操作界面;Output the corresponding operation interface for adjusting the screen brightness according to the screen mode;根据屏幕亮度值输出对应的用于调整屏幕亮度的操作界面;Output the corresponding operation interface for adjusting the screen brightness according to the screen brightness value;根据环境参数信息输出对应的用于调整屏幕亮度的操作界面;Output corresponding operation interface for adjusting screen brightness according to environmental parameter information;根据界面应用的类型输出对应的用于调整屏幕亮度的操作界面。According to the type of interface application, the corresponding operation interface for adjusting the screen brightness is output.
- 根据权利要求13所述的方法,其特征在于,所述根据屏幕亮度值输出用于调整屏幕亮度的操作界面,包括以下至少一种:The method according to claim 13, wherein the output of the operation interface for adjusting the screen brightness according to the screen brightness value comprises at least one of the following:直接获取屏幕亮度值对应的用于调整屏幕亮度的操作界面,并输出所述操作界面;Obtain directly the operation interface for adjusting the screen brightness corresponding to the screen brightness value, and output the operation interface;获取所述屏幕亮度值对应的屏幕模式,输出所述屏幕模式对应的用于调整屏幕亮度的操作界面。The screen mode corresponding to the screen brightness value is acquired, and the operation interface for adjusting the screen brightness corresponding to the screen mode is output.
- 根据权利要求1所述的方法,其特征在于,所述检测终端的关联信息是否满足第一条件之前,所述方法还包括以下至少一种:The method according to claim 1, wherein before the detecting whether the associated information of the terminal meets the first condition, the method further comprises at least one of the following:所述终端的屏幕被点亮;The screen of the terminal is lit;接收到预设触控操作;A preset touch operation is received;在预设区域或预设控件上接收到预设触控操作;A preset touch operation is received on a preset area or a preset control;接收到预设语音指令;A preset voice command is received;检测到环境亮度低于或等于第一预设阈值;It is detected that the environmental brightness is lower than or equal to the first preset threshold;检测到所述屏幕亮度与环境亮度的差值大于或等于第二预设阈值;It is detected that the difference between the brightness of the screen and the brightness of the environment is greater than or equal to a second preset threshold;检测到所述环境参数信息包括的噪声系数小于第一噪声阈值;It is detected that the noise coefficient included in the environmental parameter information is less than the first noise threshold;检测到所述环境参数信息包括的噪声系数大于或等于第二噪声阈值;It is detected that the noise coefficient included in the environmental parameter information is greater than or equal to the second noise threshold;检测到所述终端符合预设条件。It is detected that the terminal meets a preset condition.
- 根据权利要求15所述的方法,其特征在于,所述终端符合预设条件,包括以下至少一种:The method according to claim 15, wherein the terminal meets a preset condition, including at least one of the following:屏幕上当前运行的应用属于预设应用;The application currently running on the screen is a preset application;屏幕上显示的界面内容为预设目标界面内容;The interface content displayed on the screen is the preset target interface content;终端当前时间属于预设时间段;The current time of the terminal belongs to the preset time period;终端当前地理位置属于预设地理位置;The current geographic location of the terminal belongs to the preset geographic location;终端当前处于运动状态;The terminal is currently in motion;终端的运动速度低于第一预设速度阈值;The movement speed of the terminal is lower than the first preset speed threshold;终端的运动速度高于第二预设速度阈值;The movement speed of the terminal is higher than the second preset speed threshold;终端的运动速度从快到慢或者从慢到快;The movement speed of the terminal is from fast to slow or from slow to fast;终端根据用户操作习惯自动触发。The terminal is automatically triggered according to the user's operating habits.
- 根据权利要求2所述的方法,其特征在于,若所述至少一操作为所述长按操作和/或所述重按操作,则所述根据所述操作获取目标亮度值包括以下至少一种:The method according to claim 2, wherein if the at least one operation is the long-press operation and/or the re-press operation, the obtaining the target brightness value according to the operation includes at least one of the following :根据所述长按操作和/或所述重按操作的时长来确定所述目标屏幕亮度值;Determine the target screen brightness value according to the duration of the long-press operation and/or the re-press operation;根据所述长按操作和/或所述重按操作的压力值来确定所述目标屏幕亮度值;Determine the target screen brightness value according to the pressure value of the long press operation and/or the repress operation;根据所述长按操作和/或所述重按操作的次数来确定所述目标屏幕亮度值;Determining the target screen brightness value according to the number of long-press operations and/or the re-press operations;根据所述长按操作和/或所述重按操作的时长、压力值和次数中的至少两者共同确定所述目标亮度值。The target brightness value is jointly determined according to at least two of the duration, pressure value, and number of times of the long-press operation and/or the re-press operation.
- 根据权利要求2所述的方法,其特征在于,若所述至少一操作为所述单击操作或所述双击操作,则所述根据所述操作获取目标亮度值包括:The method according to claim 2, wherein if the at least one operation is the single-click operation or the double-click operation, the obtaining the target brightness value according to the operation comprises:根据所述单击操作或所述双击操作的点击位置来确定所述目标亮度值。The target brightness value is determined according to the click position of the single-click operation or the double-click operation.
- 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:在不同的屏幕模式和/或不同的屏幕亮度下,所述屏幕显示效果不同。In different screen modes and/or different screen brightness, the screen display effect is different.
- 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:在不同的屏幕模式和/或不同的屏幕亮度下,所述操作界面显示效果不同。In different screen modes and/or different screen brightness, the operation interface display effect is different.
- 根据权利要求19或20所述的方法,其特征在于,所述显示效果包括以下至少一种:The method according to claim 19 or 20, wherein the display effect comprises at least one of the following:显示分辨率、显示刷新率、显示色温、显示亮度、显示对比度、显示大小、显示形状、显示颜色、显示位置、显示屏幕、显示数量。Display resolution, display refresh rate, display color temperature, display brightness, display contrast, display size, display shape, display color, display position, display screen, display number.
- 根据权利要求15所述的方法,其特征在于,所述预设区域包括以下至少一种:The method according to claim 15, wherein the preset area includes at least one of the following:屏幕的边缘区域、物理实体按键、指纹识别区域、虚拟操作按键、预设系统或应用界面、托盘、状态栏、Dock栏。The edge area of the screen, physical buttons, fingerprint recognition area, virtual operation buttons, preset system or application interface, tray, status bar, Dock bar.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括以下至少一种:The method according to claim 1, wherein the method further comprises at least one of the following:不同屏幕模式对应的操作界面不同;The operation interface corresponding to different screen modes is different;不同屏幕亮度对应的操作界面不同;The operation interface corresponding to different screen brightness is different;不同环境参数对应的操作界面不同;The operation interface corresponding to different environmental parameters is different;不同应用类型对应的操作界面不同。The operation interface corresponding to different application types is different.
- 一种屏幕亮度调整方法,其特征在于,应用于至少一终端,包括:A method for adjusting screen brightness, which is characterized in that it is applied to at least one terminal and includes:检测终端的状态信息是否满足预设条件,所述状态信息包括所述终端的关联信息、所述终端的屏幕亮度值和所述终端的界面信息,所述界面信息包括当前应用和/或当前界面;Detect whether the state information of the terminal meets preset conditions, the state information includes the associated information of the terminal, the screen brightness value of the terminal and the interface information of the terminal, and the interface information includes the current application and/or the current interface ;若是,触发屏幕模式切换,和/或,输出用于调整屏幕亮度的操作界面。If yes, trigger the screen mode switch, and/or output an operation interface for adjusting the screen brightness.
- 根据权利要求24所述的方法,其特征在于,所述终端的状态信息满足预设条件,包括以下至少一种:The method according to claim 24, wherein the state information of the terminal satisfies a preset condition and includes at least one of the following:所述终端的关联信息匹配预设的关联信息;The associated information of the terminal matches the preset associated information;所述终端的屏幕亮度值满足预设的屏幕亮度条件;The screen brightness value of the terminal meets a preset screen brightness condition;所述终端的界面信息匹配预设的界面信息;The interface information of the terminal matches the preset interface information;所述关联信息不匹配所述屏幕亮度值;The associated information does not match the screen brightness value;所述关联信息不匹配所述界面信息;The associated information does not match the interface information;所述屏幕亮度值不匹配所述界面信息。The screen brightness value does not match the interface information.
- 根据权利要求24所述的方法,其特征在于,所述屏幕亮度值满足预设的屏幕亮度条件,包括以下至少一种:The method according to claim 24, wherein the screen brightness value satisfies a preset screen brightness condition and includes at least one of the following:若所述屏幕亮度值大于当前屏幕模式的最大亮度值,则所述屏幕亮度值满足预设的屏幕亮度条件;If the screen brightness value is greater than the maximum brightness value of the current screen mode, the screen brightness value meets the preset screen brightness condition;若所述屏幕亮度值小于当前屏幕模式的最小亮度值,则所述屏幕亮度值满足预设的屏幕亮度条件。If the screen brightness value is less than the minimum brightness value of the current screen mode, the screen brightness value meets the preset screen brightness condition.
- 根据权利要求24所述的方法,其特征在于,所述终端的界面信息匹配预设的界面信息,包括以下至少一种:The method according to claim 24, wherein the interface information of the terminal matches preset interface information and includes at least one of the following:所述当前应用不属于当前屏幕模式的预设应用,则所述终端的界面信息匹配预设的界面信息;If the current application does not belong to the preset application of the current screen mode, the interface information of the terminal matches the preset interface information;所述当前界面不属于当前屏幕模式的预设界面,则所述终端的界面信息匹配预设的界面信息。If the current interface does not belong to the preset interface of the current screen mode, the interface information of the terminal matches the preset interface information.
- 根据权利要求24所述的方法,其特征在于,所述触发屏幕模式切换,包括以下至少一种:The method according to claim 24, wherein said triggering screen mode switching comprises at least one of the following:获取所述屏幕亮度值对应的屏幕模式,并切换到所述对应的屏幕模式;Acquiring the screen mode corresponding to the screen brightness value, and switching to the corresponding screen mode;获取所述当前应用对应的屏幕模式,并切换到所述对应的屏幕模式;Acquiring the screen mode corresponding to the current application, and switching to the corresponding screen mode;获取所述当前界面对应的屏幕模式,并切换到所述对应的屏幕模式。Acquire the screen mode corresponding to the current interface, and switch to the corresponding screen mode.
- 根据权利要求24所述的方法,其特征在于,在所述输出用于调整屏幕亮度的操作界面之后,还包括:The method according to claim 24, wherein after said outputting an operation interface for adjusting screen brightness, the method further comprises:接收至少一操作,以根据所述操作获取目标亮度值;Receiving at least one operation to obtain the target brightness value according to the operation;根据所述目标亮度值调整所述屏幕亮度。The screen brightness is adjusted according to the target brightness value.
- 根据权利要求29所述的方法,其特征在于,若所述操作为长按操作和/或重按操作,The method according to claim 29, wherein if the operation is a long-press operation and/or a re-press operation,所述根据所述操作获取目标亮度值包括以下至少一种:The obtaining the target brightness value according to the operation includes at least one of the following:根据所述操作的时长来确定所述目标亮度值;Determining the target brightness value according to the duration of the operation;根据所述操作的压力值来确定所述目标亮度值;Determining the target brightness value according to the pressure value of the operation;根据所述操作的次数来确定所述目标亮度值;Determining the target brightness value according to the number of operations;根据所述操作的时长、压力值和次数中的至少两者共同确定所述目标亮度值。The target brightness value is jointly determined according to at least two of the duration, pressure value, and number of operations of the operation.
- 根据权利要求29所述的方法,其特征在于,若所述操作为单击操作或双击操作,The method according to claim 29, wherein if the operation is a single-click operation or a double-click operation,所述根据所述操作获取目标亮度值包括:The obtaining the target brightness value according to the operation includes:根据所述操作的点击位置来确定所述目标亮度值。The target brightness value is determined according to the click position of the operation.
- 根据权利要求24所述的方法,其特征在于,还包括以下至少一种:The method according to claim 24, further comprising at least one of the following:在不同的屏幕模式和/或不同的屏幕亮度下,所述屏幕显示效果不同;In different screen modes and/or different screen brightness, the screen display effect is different;在不同的屏幕模式和/或不同的屏幕亮度下,所述操作界面显示效果不同。In different screen modes and/or different screen brightness, the operation interface display effect is different.
- 根据权利要求32所述的方法,其特征在于,所述显示效果包括以下至少一种:The method according to claim 32, wherein the display effect comprises at least one of the following:显示分辨率、显示刷新率、显示色温、显示亮度、显示对比度、显示大小、显示形状、显示颜色、显示位置、显示屏幕、显示数量。Display resolution, display refresh rate, display color temperature, display brightness, display contrast, display size, display shape, display color, display position, display screen, display number.
- 根据权利要求33所述的方法,其特征在于,所述切换选项的设定方式包括以下至少一种:The method according to claim 33, wherein the setting mode of the switching option comprises at least one of the following:系统预设、用户设置、根据操作习惯自动生成、上次用户选择。System presets, user settings, automatic generation according to operating habits, and last user selection.
- 根据权利要求24所述的方法,其特征在于,所述屏幕模式包括以下至少一种:The method according to claim 24, wherein the screen mode comprises at least one of the following:护眼模式、深色模式、深夜模式、防闪烁模式、暖色模式、冷色模式、自适应模式、鲜艳模式、标准模式、省电模式、超级省电模式。Eye protection mode, dark mode, late night mode, anti-flicker mode, warm color mode, cool color mode, adaptive mode, vivid mode, standard mode, power saving mode, super power saving mode.
- 根据权利要求24至35中任一项所述的方法,其特征在于,所述终端包括至少一第一屏幕和至少一第二屏幕,还包括以下至少一种:The method according to any one of claims 24 to 35, wherein the terminal comprises at least one first screen and at least one second screen, and further comprises at least one of the following:若所述屏幕亮度值来自于所述第一屏幕,则所述触发屏幕模式切换的屏幕是所述第一屏幕和/或所述第二屏幕;If the screen brightness value comes from the first screen, the screen that triggers the screen mode switch is the first screen and/or the second screen;若所述屏幕亮度值包含第一屏幕的亮度值与所述第二屏幕的亮度值,则所述触发屏幕模式切换的屏幕是所述第一屏幕和/或所述第二屏幕。If the screen brightness value includes the brightness value of the first screen and the brightness value of the second screen, the screen that triggers the screen mode switch is the first screen and/or the second screen.
- 根据权利要求36所述的方法,其特征在于,若触发屏幕模式切换的屏幕为至少两个,则切换的方式包括以下至少一种:The method according to claim 36, wherein if there are at least two screens that trigger the screen mode switching, the switching mode includes at least one of the following:同时,顺序,随机,根据用户习惯切换,用户设置,系统设定,上次选择。At the same time, order, random, switch according to user habits, user settings, system settings, last time selection.
- 根据权利要求36所述的方法,其特征在于,还包括:The method according to claim 36, further comprising:所述操作界面只显示在所述第一屏幕或所述第二屏幕;或,The operation interface is only displayed on the first screen or the second screen; or,同时显示在所述第一屏幕和所述第二屏幕。Simultaneously displayed on the first screen and the second screen.
- 根据权利要求38所述的方法,其特征在于,在所述输出用于调整屏幕亮度的操作界面的步骤之后,接收在所述操作界面上的操作信息,还包括以下至少一种:The method according to claim 38, wherein after the step of outputting an operation interface for adjusting screen brightness, receiving operation information on the operation interface further comprises at least one of the following:若所述操作界面只显示在一个屏幕,则根据所述操作信息只调节显示所述操作界面的屏幕的亮度值;If the operation interface is displayed on only one screen, only adjust the brightness value of the screen displaying the operation interface according to the operation information;若所述操作界面显示在至少两个屏幕,则根据所述操作信息调节显示所述操作界面的所有屏幕的亮 度值。If the operation interface is displayed on at least two screens, the brightness values of all screens displaying the operation interface are adjusted according to the operation information.
- 根据权利要求37至39中任一项所述的方法,其特征在于,还包括:The method according to any one of claims 37 to 39, further comprising:当所述屏幕的亮度值发生变化时,所述操作界面也发生相应变化。When the brightness value of the screen changes, the operation interface also changes accordingly.
- 一种终端,其特征在于,包括处理器和存储器,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如权利要求1至40中任一项所述的方法。A terminal, characterized by comprising a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute The method of any one of 1-40 is required.
- 一种计算机可读存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1至40中任一项所述的方法。A computer-readable storage medium, wherein the computer storage medium stores a computer program, the computer program includes program instructions, and when executed by a processor, the program instructions cause the processor to execute as claimed in claim 1. To the method of any one of 40.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/092181 WO2021237425A1 (en) | 2020-05-25 | 2020-05-25 | Screen brightness adjustment method, terminal and storage medium |
CN202080100226.2A CN115443645B (en) | 2020-05-25 | 2020-05-25 | Screen brightness adjusting method, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/092181 WO2021237425A1 (en) | 2020-05-25 | 2020-05-25 | Screen brightness adjustment method, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021237425A1 true WO2021237425A1 (en) | 2021-12-02 |
Family
ID=78745161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/092181 WO2021237425A1 (en) | 2020-05-25 | 2020-05-25 | Screen brightness adjustment method, terminal and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115443645B (en) |
WO (1) | WO2021237425A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114516270A (en) * | 2022-03-11 | 2022-05-20 | 禾多科技(北京)有限公司 | Vehicle control method, device, electronic equipment and computer readable medium |
CN114639332A (en) * | 2022-03-21 | 2022-06-17 | 展讯半导体(南京)有限公司 | Eye protection control method, system, equipment and storage medium for display screen |
CN115175279A (en) * | 2022-06-17 | 2022-10-11 | 北京小米移动软件有限公司 | Screen-turning control method and device and storage medium |
CN115273769A (en) * | 2022-08-29 | 2022-11-01 | 上海闻泰电子科技有限公司 | Screen brightness adjusting method and device, equipment and storage medium |
CN116088944A (en) * | 2022-08-16 | 2023-05-09 | 荣耀终端有限公司 | Interface display method and device |
CN116737243A (en) * | 2022-09-29 | 2023-09-12 | 荣耀终端有限公司 | Screen parameter patch upgrading method and terminal equipment |
CN118038834A (en) * | 2024-04-11 | 2024-05-14 | 深圳市善之能科技有限公司 | Energy-saving adjustment method and system based on use condition of display screen |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262536A (en) * | 2011-07-18 | 2011-11-30 | 李建成 | window interface processing method and device |
CN104767888A (en) * | 2015-04-16 | 2015-07-08 | 广东欧珀移动通信有限公司 | Screen brightness adjusting method and device |
CN105630143A (en) * | 2014-11-18 | 2016-06-01 | 中兴通讯股份有限公司 | Screen display adjusting method and device |
CN105630167A (en) * | 2015-12-24 | 2016-06-01 | 浙江吉利控股集团有限公司 | Self-adaptive screen regulation method, self-adaptive screen regulation device and terminal device |
CN105989487A (en) * | 2015-02-17 | 2016-10-05 | 天津市阿波罗信息技术有限公司 | Composition method of mobile phone face recognition payment and voiceprint payment system of off-line shopping |
CN106055071A (en) * | 2016-05-27 | 2016-10-26 | 维沃移动通信有限公司 | Display control method of notification message, and mobile terminal |
CN106797416A (en) * | 2016-10-31 | 2017-05-31 | 北京小米移动软件有限公司 | Screen control method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105280160A (en) * | 2015-11-16 | 2016-01-27 | 北京奇虎科技有限公司 | Method for adjusting the screen luminance of terminal, and terminal equipment |
CN105759974A (en) * | 2016-03-13 | 2016-07-13 | 来安县新元机电设备设计有限公司 | Method for controlling screen luminance of mobile terminal and mobile terminal |
-
2020
- 2020-05-25 CN CN202080100226.2A patent/CN115443645B/en active Active
- 2020-05-25 WO PCT/CN2020/092181 patent/WO2021237425A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262536A (en) * | 2011-07-18 | 2011-11-30 | 李建成 | window interface processing method and device |
CN105630143A (en) * | 2014-11-18 | 2016-06-01 | 中兴通讯股份有限公司 | Screen display adjusting method and device |
CN105989487A (en) * | 2015-02-17 | 2016-10-05 | 天津市阿波罗信息技术有限公司 | Composition method of mobile phone face recognition payment and voiceprint payment system of off-line shopping |
CN104767888A (en) * | 2015-04-16 | 2015-07-08 | 广东欧珀移动通信有限公司 | Screen brightness adjusting method and device |
CN105630167A (en) * | 2015-12-24 | 2016-06-01 | 浙江吉利控股集团有限公司 | Self-adaptive screen regulation method, self-adaptive screen regulation device and terminal device |
CN106055071A (en) * | 2016-05-27 | 2016-10-26 | 维沃移动通信有限公司 | Display control method of notification message, and mobile terminal |
CN106797416A (en) * | 2016-10-31 | 2017-05-31 | 北京小米移动软件有限公司 | Screen control method and device |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114516270A (en) * | 2022-03-11 | 2022-05-20 | 禾多科技(北京)有限公司 | Vehicle control method, device, electronic equipment and computer readable medium |
CN114516270B (en) * | 2022-03-11 | 2023-09-12 | 禾多科技(北京)有限公司 | Vehicle control method, apparatus, electronic device, and computer-readable medium |
CN114639332A (en) * | 2022-03-21 | 2022-06-17 | 展讯半导体(南京)有限公司 | Eye protection control method, system, equipment and storage medium for display screen |
CN115175279A (en) * | 2022-06-17 | 2022-10-11 | 北京小米移动软件有限公司 | Screen-turning control method and device and storage medium |
CN116088944A (en) * | 2022-08-16 | 2023-05-09 | 荣耀终端有限公司 | Interface display method and device |
CN116088944B (en) * | 2022-08-16 | 2024-04-02 | 荣耀终端有限公司 | Interface display method and device |
CN115273769A (en) * | 2022-08-29 | 2022-11-01 | 上海闻泰电子科技有限公司 | Screen brightness adjusting method and device, equipment and storage medium |
CN116737243A (en) * | 2022-09-29 | 2023-09-12 | 荣耀终端有限公司 | Screen parameter patch upgrading method and terminal equipment |
CN116737243B (en) * | 2022-09-29 | 2024-04-16 | 荣耀终端有限公司 | Screen parameter patch upgrading method and terminal equipment |
CN118038834A (en) * | 2024-04-11 | 2024-05-14 | 深圳市善之能科技有限公司 | Energy-saving adjustment method and system based on use condition of display screen |
Also Published As
Publication number | Publication date |
---|---|
CN115443645B (en) | 2024-06-14 |
CN115443645A (en) | 2022-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021237425A1 (en) | Screen brightness adjustment method, terminal and storage medium | |
US11212449B1 (en) | User interfaces for media capture and management | |
US10936345B1 (en) | Techniques for managing display usage | |
US11617022B2 (en) | User interfaces for managing media | |
US20220221964A1 (en) | Context-specific user interfaces | |
CN113411443B (en) | Method, apparatus, and storage medium for displaying user interface screen | |
US20220350482A1 (en) | Methods and interfaces for media control with dynamic feedback | |
US11567637B2 (en) | Display control method and device | |
US12112024B2 (en) | User interfaces for managing media styles | |
CN110109596A (en) | Recommended method, device and the controller and medium of interactive mode | |
US20150177843A1 (en) | Device and method for displaying user interface of virtual input device based on motion recognition | |
CN104731496B (en) | Unlocking method and electronic device | |
US20120019447A1 (en) | Digital display device | |
CN106681503A (en) | Display control method, terminal and display device | |
US20110248822A1 (en) | Systems and apparatuses and methods to adaptively control controllable systems | |
CN107657590A (en) | Image processing method and device | |
CN108932116A (en) | The adjusting method and device of volume | |
WO2019061123A1 (en) | Information display method, terminal device, and computer readable storage medium | |
CN117234405A (en) | Information input method and device, electronic equipment and storage medium | |
CN112925213B (en) | Household appliance control method, mobile terminal and computer readable storage medium | |
CN111124240B (en) | Control method and wearable device | |
CN112799759A (en) | Parameter adjusting method, intelligent terminal and computer readable storage medium | |
CN117631813A (en) | Interaction method and electronic equipment | |
WO2023191855A1 (en) | Computer platform with shared user experience interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20937478 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12.04.2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20937478 Country of ref document: EP Kind code of ref document: A1 |