CN112837661A - Screen brightness adjusting method, screen brightness adjusting device and storage medium - Google Patents
Screen brightness adjusting method, screen brightness adjusting device and storage medium Download PDFInfo
- Publication number
- CN112837661A CN112837661A CN202110127189.0A CN202110127189A CN112837661A CN 112837661 A CN112837661 A CN 112837661A CN 202110127189 A CN202110127189 A CN 202110127189A CN 112837661 A CN112837661 A CN 112837661A
- Authority
- CN
- China
- Prior art keywords
- screen brightness
- screen
- configuration parameter
- terminal
- working mode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000004044 response Effects 0.000 claims description 11
- 238000005516 engineering process Methods 0.000 description 20
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000004438 eyesight Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/10—Intensity circuits
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure relates to a screen brightness adjusting method, a screen brightness adjusting device and a storage medium. The screen brightness adjusting method is applied to a terminal with a plurality of working modes, and different working modes correspond to different screen brightness configuration parameters, and the method comprises the following steps: responding to the terminal switching working mode, determining a first working mode which is currently operated, and determining a first screen brightness configuration parameter corresponding to the first working mode; and controlling the screen brightness of the terminal in the first working mode based on the first screen brightness configuration parameter. According to the method and the device, different screen brightness configuration parameters are configured for different working modes, so that the experience of a user on the terminal can be improved, and a good eye use habit can be developed.
Description
Technical Field
The present disclosure relates to the field of screen brightness adjustment technologies, and in particular, to a screen brightness adjustment method, a screen brightness adjustment apparatus, and a storage medium.
Background
With the development of multi-user technology, the application of the multi-user technology is more and more extensive, and the multi-user technology is used for configuring different use scenes for a terminal according to the use conditions of different users of the same terminal. For example, the body-separating function of the terminal realizes different systems of the same terminal, and the different systems are respectively applied to different service requirements. The multi-user technology can be used for realizing the space function of the children, the children are prevented from touching other applications by mistake, and the applications suitable for the children can be installed in the system function. Meanwhile, the multi-user technology is relatively widely applied to the industry of customizing the storage of enterprises.
In the related art, although the terminal implements different usage scenarios based on the multi-user technology, some system parameters configured by the terminal are for all usage scenarios, for example, screen brightness (screen _ light) and screen highlight time (screen _ light _ time). If the screen brightness and the screen-on duration of the terminal are configured or modified, the configured or modified screen brightness and screen-on duration take effect on all the use scenes in the current terminal, so that the condition that the screen brightness and the screen-on duration are not suitable for multiple users when the same terminal is used occurs.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a screen brightness adjusting method, a screen brightness adjusting apparatus, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a screen brightness adjusting method applied to a terminal having a plurality of working modes, where different working modes correspond to different screen brightness configuration parameters, the method including:
responding to the terminal switching working mode, determining a first working mode which is currently operated, and determining a first screen brightness configuration parameter corresponding to the first working mode; and controlling the screen brightness of the terminal in the first working mode based on the first screen brightness configuration parameter.
In one embodiment, the different operation modes correspond to different screen brightness configuration parameters, and are determined as follows:
and creating a database of different working modes, and storing the screen brightness configuration parameters matched with the working modes in the database.
In one embodiment, the determining a first screen brightness configuration parameter corresponding to the first operation mode includes:
determining a first database associated with the first mode of operation; and determining a first screen brightness configuration parameter corresponding to the first working mode based on the first database.
In one embodiment, the screen brightness configuration parameters include a screen brightness size and a screen bright screen duration;
the controlling the screen brightness of the terminal in the first working mode based on the first screen brightness configuration parameter comprises:
controlling the system screen brightness of the terminal based on the first screen brightness in the first screen brightness configuration parameter;
and/or
And controlling the system screen brightness duration of the terminal based on the first screen brightness duration in the first screen brightness configuration parameter.
In one embodiment, the method further comprises:
in response to detecting the configuration parameter adjusting instruction, determining a second screen brightness configuration parameter for adjusting the configuration parameter and a running working mode; determining a database associated with the working mode, and adjusting the screen brightness configuration parameters stored in the database to the second screen brightness configuration parameters; and controlling the screen brightness of the terminal in the working mode based on the second screen brightness configuration parameter.
In one embodiment, the determining a database associated with the operation mode, and adjusting the screen brightness configuration parameter stored in the database to the second screen brightness configuration parameter includes:
in response to the second screen brightness configuration parameter comprising a second screen brightness size, determining to adjust the screen brightness size saved in the database based on the second screen brightness size;
and/or
And determining that the screen bright-screen time length saved in the database is adjusted based on the second screen bright-screen time length in response to the second screen brightness configuration parameter comprising the second screen bright-screen time length.
According to a second aspect of the embodiments of the present disclosure, there is provided a screen brightness adjusting apparatus applied to a terminal having a plurality of operating modes, where different operating modes correspond to different screen brightness configuration parameters, the method including:
the determining module is used for responding to the terminal switching working mode, determining a first working mode which operates currently, and determining a first screen brightness configuration parameter corresponding to the first working mode; and the control module is used for controlling the screen brightness of the terminal in the first working mode based on the first screen brightness configuration parameter.
In one embodiment, the determining module is configured to:
and creating a database of different working modes, and storing the screen brightness configuration parameters matched with the working modes in the database.
In one embodiment, the determining module is configured to:
determining a first database associated with the first mode of operation; and determining a first screen brightness configuration parameter corresponding to the first working mode based on the first database.
In one embodiment, the screen brightness configuration parameters include a screen brightness size and a screen bright screen duration;
the control module is used for:
controlling the system screen brightness of the terminal based on the first screen brightness in the first screen brightness configuration parameter;
and/or
And controlling the system screen brightness duration of the terminal based on the first screen brightness duration in the first screen brightness configuration parameter.
In one embodiment, the control module is further configured to:
in response to detecting the configuration parameter adjusting instruction, determining a second screen brightness configuration parameter for adjusting the configuration parameter and a running working mode; determining a database associated with the working mode, and adjusting the screen brightness configuration parameters stored in the database to the second screen brightness configuration parameters; and controlling the screen brightness of the terminal in the working mode based on the second screen brightness configuration parameter.
According to a third aspect of the embodiments of the present disclosure, there is provided a screen brightness adjusting apparatus including:
a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: the method for adjusting the screen brightness according to the first aspect or any one of the embodiments of the first aspect is performed.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the screen brightness adjustment method of the first aspect or any one of the implementation manners of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: through this openly at terminal switching mode in-process, confirm the current operating mode to confirm the screen brightness configuration parameter that corresponds with this operating mode, can control the screen brightness of terminal in corresponding operating mode, can be directed against different operating modes, the configuration of different screen brightness configuration parameters not only can improve the user and to the experience of terminal, can also form good use of eye habit, when avoiding different users to use the terminal, appear the long maladaptive condition in screen brightness and bright screen.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a screen brightness adjustment method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating another screen brightness adjustment method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating still another screen brightness adjustment method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating still another screen brightness adjustment method according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a screen brightness adjustment apparatus according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
With the development of multi-user technology, the application of the multi-user technology is more and more extensive, and the multi-user technology is to configure different use scenes for a terminal according to the use conditions of different users of the same terminal, namely to realize a plurality of mutually isolated use environments for one terminal. By using the multi-user technology, a plurality of users can share one mobile phone, for example: children's space (i.e., children's mode), etc.; multiple usage scenarios may also be provided for a user, such as a work pattern developed for a government employee. Wherein, the multi-user technology can support a plurality of users to use the system. Typically, the first user to register with the system will default to a system administrator. The settings of different users are different, and the applications and application data installed by different users are also different. But the settings related to hardware in the system are common, such as network settings, system parameter settings, etc.
In other words, some system parameters configured by the terminal are specific to all usage scenarios, such as the screen brightness and the screen bright-screen duration set by the system, and the screen brightness and the screen bright-screen duration do not distinguish the usage scenarios under the same terminal. Wherein in the embodiments of the present disclosure, the usage scenario may also be referred to as an operation mode.
As described in the foregoing embodiments, the multi-user technology can enable a terminal to implement multiple mutually isolated usage environments for different users, and the usage environments can also be not affected by each other. It can be understood that the multi-user technology may be different working modes or usage scenarios provided for the same user, or may also provide corresponding usage scenarios for multiple users. If the same terminal uses the multi-user technology to provide corresponding use scenes for different users, the shared system sets parameters, such as screen brightness and screen bright time set by the system, and if the terminal is configured or modified in terms of the screen brightness and the screen bright time, the configured or modified screen brightness and screen bright time take effect on all the use scenes in the current terminal, so that the condition that the screen brightness and the screen bright time are not suitable for the different users when the different users use the same terminal is caused.
In the related art, the same terminal cannot perform independent configuration, especially system parameters, for different users, and cannot independently control screen brightness adjustment and screen bright time of each user. Based on the technical problems, the present disclosure provides a screen brightness adjustment method, and provides a scheme based on terminal screen brightness and screen bright screen duration of multiple users, that is, independent settings of screen brightness and screen bright screen duration are provided for different usage scenes, and screen brightness data in different modes are stored in separate databases, so that screen brightness and screen bright screen duration corresponding to different usage scenes are implemented, and further, user experience of a terminal is improved, eyesight of teenagers and children can be protected, and good eye habits are developed.
For example, if the same terminal includes a plurality of different usage scenarios, for example, a child space mode, the screen brightness and the screen bright-screen duration that are different from the main space mode may be set separately for the child space mode, and the screen brightness and the screen bright-screen duration that are set in the child space mode may be stored separately, and the screen brightness and the screen bright-screen duration that are stored separately may also be modified separately. The terminal determines the current operation mode, and determines the used screen brightness and the screen bright time.
The embodiment of the disclosure will further explain the screen brightness adjusting method with reference to the drawings.
Fig. 1 is a flowchart illustrating a screen brightness adjustment method according to an exemplary embodiment. As shown in fig. 1, the screen brightness adjusting method is used in a terminal and includes the following steps.
In step S11, in response to the terminal switching operation mode, a first operation mode currently operating is determined, and a first screen brightness configuration parameter corresponding to the first operation mode is determined.
In the embodiment of the disclosure, the terminal may include a plurality of working modes, which may include a main space mode, a child space mode; the main space mode may further include a plurality of working modes, such as a working space mode and a living space mode, which are not illustrated herein. And a plurality of operating modes in the terminal are configured with corresponding screen brightness configuration parameters.
When the terminal needs to switch the working mode, the switched working mode, namely the first working mode which is currently operated, is determined, and a first screen brightness configuration parameter corresponding to the first working mode is determined. Illustratively, the terminal determines that the first operating mode currently running is a child space mode, and further determines a screen brightness configuration parameter corresponding to the child space mode.
In step S12, the screen brightness of the terminal in the first operation mode is controlled based on the first screen brightness configuration parameter.
In the embodiment of the disclosure, the determined first screen brightness configuration parameter corresponding to the currently running first working mode is configured as the system screen brightness configuration parameter of the terminal, and the terminal is controlled to control the screen brightness in the first working mode based on the first screen brightness configuration parameter.
For convenience of description, the terminal controls to configure the first screen brightness configuration parameter corresponding to the child space operating mode as a system screen brightness configuration parameter of the terminal, and determines that the terminal controls the screen brightness of the terminal according to the first screen brightness configuration parameter in the child space mode.
In the screen brightness adjusting method provided in the embodiment of the present disclosure, the system screen brightness configuration parameters of the terminal may be adjusted, and different screen brightness configuration parameters may be respectively set in different working modes or in different user use scenes by using the screen brightness configuration parameters corresponding to the operating working modes, so that the user experience of the terminal is improved.
In the screen brightness adjustment method provided in the embodiment of the present disclosure, the screen brightness configuration parameter corresponding to each of the plurality of different operating modes is determined in the following manner:
fig. 2 is a flowchart illustrating a screen brightness adjustment method according to an exemplary embodiment. As shown in fig. 2, determining different screen brightness configuration parameters corresponding to different operation modes includes the following steps:
in step S21, a database of different operation modes is created, and the screen brightness configuration parameters matching the operation modes are stored in the database.
In embodiments of the present disclosure, the terminal may create a database associated with each operating mode based on the different operating modes. Wherein the created database associated with each operation mode may be created based on the user ID of each operation mode. The terminal can also determine the screen brightness configuration parameters configured for each working mode respectively. For example, a child space database may be created based on the child space mode, and a screen brightness configuration parameter corresponding to the child space mode may also be determined; a master spatial database may be created based on the master spatial mode, and screen brightness configuration parameters corresponding to the master spatial mode may also be determined. In the embodiment of the disclosure, the different working modes are independent from each other, and the databases are created in the different working modes, so that the databases in the different working modes are determined to be also independent from each other. As described above, in response to creating the databases under different working models, the correspondence relationship between the databases under different working modes and the corresponding modes is determined. For example, there is a correspondence relationship between the child spatial pattern and the child spatial database, there is a correspondence relationship between the master spatial pattern and the master spatial database, and the child spatial database and the master spatial database are independent of each other.
In the embodiment of the disclosure, the terminal determines the screen brightness configuration parameters configured in each operation mode based on the created database. As described above, the screen brightness configuration parameters configured in the child space mode are determined, the screen brightness configuration parameters configured in the child space mode are stored in the child space database, the screen brightness configuration parameters configured in the main space mode are determined, and the screen brightness configuration parameters configured in the main space mode are stored in the main space database.
In the screen brightness adjustment method provided in the embodiment of the present disclosure, the following manner may be adopted to determine the first screen brightness configuration parameter corresponding to the first operating mode:
fig. 3 is a flowchart illustrating a screen brightness adjustment method according to an exemplary embodiment. As shown in fig. 3, determining a first screen brightness configuration parameter corresponding to a first operation mode includes the following steps.
In step S31, a first database associated with the first mode of operation is determined.
In an embodiment of the disclosure, the first database is determined based on the first mode of operation. In other words, the terminal determines a first operating mode in which the first database associated with the first operating mode is determined. For example, if the first operation mode is the child space operation mode, the child space database is determined based on the user ID of the child space mode, and if the first operation mode is the master space mode, the master space database is determined based on the user ID of the master space mode.
In step S32, a first screen brightness configuration parameter corresponding to the first operating mode is determined based on the first database.
In the embodiment of the disclosure, the terminal determines the first database, obtains the first screen brightness configuration parameter stored in the first database, and determines the system screen brightness configuration parameter of the terminal. The first screen brightness configuration parameter is the screen brightness configuration parameter of the first working mode which is currently operated.
In the screen brightness adjusting method provided by the embodiment of the disclosure, corresponding databases can be established for different working modes, and different databases are used for storing the screen brightness configuration parameters corresponding to the working modes, so that independence between the databases is ensured, independence of the screen brightness configuration parameters stored by the related databases under other working modes can be ensured, and the beneficial effect that the screen brightness configuration parameters stored between the databases are not mutually influenced is achieved.
In the screen brightness adjustment method provided in the embodiment of the present disclosure, the screen brightness configuration parameter includes a screen brightness size and a screen brightness duration, and therefore, based on the first screen brightness configuration parameter, an implementation manner of controlling the screen brightness configuration parameter of the terminal in the first working mode is as follows:
in the embodiment of the disclosure, the terminal determines a first database associated with the first working mode, determines a first screen brightness configuration parameter stored in the first database, and further determines a first screen brightness size and a first screen bright screen duration included in the first screen brightness configuration parameter. Controlling the system screen brightness of the terminal based on the first screen brightness; and controlling the system screen bright time of the terminal based on the first screen bright time.
In the embodiment of the disclosure, the terminal determines a first screen brightness in the first screen brightness configuration parameter, calls the device screen brightness interface, adjusts the system screen brightness of the terminal based on the first screen brightness, and controls the screen brightness of the terminal in the first working mode to be the first screen brightness.
The terminal determines first screen bright time in the first screen brightness configuration parameter, calls a device screen bright time interface, adjusts system screen bright time of the terminal based on the first screen brightness large time, and controls screen bright time of the terminal in a first working mode to be the first screen bright time.
In the embodiment of the present disclosure, the screen brightness configuration parameter stored in the database may be a field corresponding to the screen brightness configuration parameter; in other words, the database corresponding to the operation mode includes a field for indicating the screen brightness configuration parameter, and the screen brightness configuration parameter is determined based on the field.
In the screen brightness adjusting method provided by the embodiment of the disclosure, based on the operating working mode, the screen brightness configuration parameter corresponding to the working mode is determined, and the screen brightness of the terminal in the working mode is controlled, so that the effect of displaying different screen brightness configuration parameters in different working modes is realized.
Among screen brightness adjustment methods provided in embodiments of the present disclosure, fig. 4 is a flowchart illustrating a screen brightness adjustment method according to an exemplary embodiment. As shown in fig. 4, the screen brightness adjusting method is used in a terminal and further includes the following steps.
In step S41, in response to detecting the configuration parameter adjustment instruction, a second screen brightness configuration parameter and an operating mode of operation for adjusting the configuration parameter are determined.
In the embodiment of the present disclosure, the terminal may modify the screen brightness configuration parameters stored in each data in the corresponding operating mode. And the terminal detects a configuration parameter adjusting instruction, determines the current operation mode and determines a second screen brightness configuration parameter for adjusting the configuration parameter. For the convenience of distinction, the obtained modified screen brightness configuration parameter is referred to as a second screen brightness configuration parameter.
In step S42, a database associated with the operation mode is determined, and the screen brightness configuration parameter stored in the database is adjusted to the second screen brightness configuration parameter.
In the embodiment of the disclosure, the terminal determines the current operating mode, acquires the database corresponding to the operating mode, and determines the screen brightness configuration parameters stored in the database. And adjusting the screen brightness configuration parameters stored in the database into the second screen brightness configuration parameters after modification.
In step S43, the screen brightness of the terminal in the operation mode is controlled based on the second screen brightness configuration parameter.
In the embodiment of the disclosure, the terminal stores the modified second screen brightness configuration parameter in a database associated with the operating mode, recalls the device screen brightness interface and the device screen brightness time interface, and controls the screen brightness of the terminal in the operating mode based on the second screen brightness configuration parameter.
In the screen brightness adjusting method provided by the embodiment of the disclosure, the screen brightness configuration parameters stored in the corresponding database are independently modified based on the working mode, the screen brightness of the currently running working mode can be adjusted, and the screen brightness of other working modes can be ensured not to be affected.
In the following embodiments of the present disclosure, a description is given of determining a database associated with the operating mode, and adjusting the screen brightness configuration parameter stored in the database to the second screen brightness configuration parameter.
In the embodiment of the disclosure, the terminal determines the second screen brightness size and/or the second screen bright screen duration included in the modified second screen brightness configuration parameter.
In one embodiment, if the modified second screen brightness configuration parameter includes a second screen brightness size, the terminal invokes the device screen brightness interface, adjusts the system screen brightness size of the terminal based on the second screen brightness size, and controls the screen brightness of the terminal in the corresponding operating mode to be the first screen brightness size.
In an embodiment, the modified second screen brightness configuration parameter includes a second screen brightness duration, the terminal calls the device screen brightness time interface, adjusts a system screen brightness duration of the terminal based on the second screen brightness duration, and controls the screen brightness duration of the terminal in the corresponding working mode to be the second screen brightness duration.
In another embodiment, the modified second screen brightness configuration parameter includes a second screen brightness and a second screen bright-screen duration, the terminal invokes the device screen brightness interface, adjusts the system screen brightness of the terminal based on the second screen brightness, and controls the screen brightness of the terminal in the corresponding working mode to be the first screen brightness. And the terminal calls the device screen bright time interface, adjusts the system screen bright time of the terminal based on the second screen bright time, and controls the screen bright time of the terminal in the corresponding working mode to be the second screen bright time.
In the screen brightness adjusting method provided by the embodiment of the present disclosure, the screen brightness and the screen bright duration stored in the database associated with the terminal in the terminal working mode may be respectively modified, so as to achieve personalized modification of the screen brightness configuration parameters.
For example, the screen brightness adjustment method provided by the present disclosure is described with the first operating mode as a child space mode and the second operating mode as a main space mode. For convenience of description, the database corresponding to the child space mode is referred to as a first database, and the screen brightness configuration parameter corresponding to the child space mode is referred to as a first screen brightness configuration parameter; the database corresponding to the main spatial mode is referred to as a second database, and the screen brightness configuration parameter corresponding to the main spatial mode is referred to as a second screen brightness configuration parameter.
And the terminal determines to switch the second working mode to the first working mode, namely the terminal is switched from the main space mode to the child space mode, determines a first database corresponding to the first working mode, and determines a first screen brightness configuration parameter stored in the first database, wherein the first screen brightness configuration parameter comprises a first screen brightness size and a first screen bright screen duration.
The terminal configures a second screen brightness size (namely, the screen brightness size of the main space mode) corresponding to a second working mode of system operation before switching into a first screen brightness size (namely, the screen brightness size of the child space mode) by calling the device screen brightness interface, and the screen brightness in control operates based on the first screen brightness size. And configuring a second screen bright-screen duration (namely, the screen bright-screen duration of the main space mode) corresponding to a second working mode of system operation before switching into a second screen bright-screen duration (namely, the screen bright-screen duration of the child space mode) through the device screen bright-screen time interface, wherein the screen brightness in the control is operated based on the second screen bright-screen duration.
And if the terminal is switched back to the second working mode, the second database associated with the second working mode is obtained again, and the terminal is controlled to adopt the second screen brightness configuration parameter to control the screen brightness of the terminal in the second working mode based on the second screen brightness configuration parameter corresponding to the second working mode and stored in the second database.
Based on the same conception, the embodiment of the disclosure also provides a screen brightness adjusting device.
It is understood that, in order to implement the above functions, the screen brightness adjusting apparatus provided in the embodiments of the present disclosure includes a hardware structure and/or a software module corresponding to the execution of each function. The disclosed embodiments can be implemented in hardware or a combination of hardware and computer software, in combination with the exemplary elements and algorithm steps disclosed in the disclosed embodiments. Whether a function is performed by hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Fig. 5 is a block diagram illustrating a screen brightness adjustment apparatus according to an exemplary embodiment. Referring to fig. 5, the screen brightness adjusting apparatus 100 is applied to a terminal having a plurality of operation modes, and different operation modes correspond to different screen brightness configuration parameters. The screen brightness adjusting device comprises a determining module 101 and a control module 102.
The determining module 101 is configured to determine a first operating mode currently running in response to a terminal switching operating mode, and determine a first screen brightness configuration parameter corresponding to the first operating mode. And the control module 102 is configured to control the screen brightness of the terminal in the first operating mode based on the first screen brightness configuration parameter.
In the embodiment of the present disclosure, the determining module 101 is configured to create a database of different operation modes, and store the screen brightness configuration parameters matching the operation modes in the database.
In the embodiment of the present disclosure, the determining module 101 is configured to determine a first database associated with a first operating mode; and determining a first screen brightness configuration parameter corresponding to the first working mode based on the first database.
In the embodiment of the present disclosure, the screen brightness configuration parameters include a screen brightness size and a screen bright screen duration.
The control module 102 is configured to control a system screen brightness of the terminal based on the first screen brightness in the first screen brightness configuration parameter. And/or controlling the system screen bright time of the terminal based on the first screen bright time in the first screen brightness configuration parameter.
In the embodiment of the present disclosure, the control module 102 is further configured to determine a second screen brightness configuration parameter for adjusting the configuration parameter and an operating mode of operation in response to detecting the configuration parameter adjustment instruction. And determining a database associated with the working mode, and adjusting the screen brightness configuration parameters stored in the database to be second screen brightness configuration parameters. And controlling the screen brightness of the terminal in the working mode based on the second screen brightness configuration parameter.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating an apparatus 200 for screen brightness adjustment according to an exemplary embodiment. For example, the apparatus 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, the apparatus 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, an input/output (I/O) interface 212, a sensor component 214, and a communication component 216.
The processing component 202 generally controls overall operation of the device 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 202 can include one or more modules that facilitate interaction between the processing component 202 and other components. For example, the processing component 202 can include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
The memory 204 is configured to store various types of data to support operations at the apparatus 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 204 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 200 is in an operating mode, such as a shooting mode or a video mode. Each of the front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 210 is configured to output and/or input audio signals. For example, audio component 210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 204 or transmitted via the communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
The I/O interface 212 provides an interface between the processing component 202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 214 includes one or more sensors for providing various aspects of status assessment for the device 200. For example, the sensor component 214 may detect an open/closed state of the device 200, the relative positioning of components, such as a display and keypad of the device 200, the sensor component 214 may also detect a change in the position of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration/deceleration of the device 200, and a change in the temperature of the device 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 216 is configured to facilitate wired or wireless communication between the apparatus 200 and other devices. The apparatus 200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 204, comprising instructions executable by processor 220 of apparatus 200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is understood that "a plurality" in this disclosure means two or more, and other words are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the contextual objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," and the like are fully interchangeable. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It will be further understood that, unless otherwise specified, "connected" includes direct connections between the two without the presence of other elements, as well as indirect connections between the two with the presence of other elements.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (12)
1. A screen brightness adjusting method is applied to a terminal with a plurality of working modes, and different working modes correspond to different screen brightness configuration parameters, the method comprises the following steps:
responding to the terminal switching working mode, determining a first working mode which is currently operated, and determining a first screen brightness configuration parameter corresponding to the first working mode;
and controlling the screen brightness of the terminal in the first working mode based on the first screen brightness configuration parameter.
2. The screen brightness adjustment method of claim 1, wherein the different screen brightness configuration parameters are determined as follows:
and creating a database of different working modes, and storing the screen brightness configuration parameters matched with the working modes in the database.
3. The method for adjusting screen brightness according to claim 2, wherein the determining a first screen brightness configuration parameter corresponding to the first operation mode comprises:
determining a first database associated with the first mode of operation;
and determining a first screen brightness configuration parameter corresponding to the first working mode based on the first database.
4. The screen brightness adjustment method of claim 1, wherein the screen brightness configuration parameters comprise screen brightness size and screen bright screen duration;
the controlling the screen brightness configuration parameter of the terminal in the first working mode based on the first screen brightness configuration parameter comprises:
controlling the system screen brightness of the terminal based on the first screen brightness in the first screen brightness configuration parameter;
and/or
And controlling the system screen bright-screen duration of the terminal based on the first screen bright-screen duration in the first screen brightness configuration parameter.
5. The screen brightness adjustment method according to claim 1, further comprising:
in response to detecting the configuration parameter adjusting instruction, determining a second screen brightness configuration parameter for adjusting the configuration parameter and a running working mode;
determining a database associated with the working mode, and adjusting the screen brightness configuration parameters stored in the database to the second screen brightness configuration parameters;
and controlling the screen brightness of the terminal in the working mode based on the second screen brightness configuration parameter.
6. A screen brightness adjusting device is applied to a terminal with a plurality of working modes, and different working modes correspond to different screen brightness configuration parameters, the device comprises:
the determining module is used for responding to the terminal switching working mode, determining a first working mode which operates currently, and determining a first screen brightness configuration parameter corresponding to the first working mode;
and the control module is used for controlling the screen brightness of the terminal in the first working mode based on the first screen brightness configuration parameter.
7. The screen brightness adjustment apparatus of claim 6, wherein the determination module is configured to:
and creating a database of different working modes, and storing the screen brightness configuration parameters matched with the working modes in the database.
8. The screen brightness adjustment apparatus of claim 7, wherein the determination module is configured to:
determining a first database associated with the first mode of operation;
and determining a first screen brightness configuration parameter corresponding to the first working mode based on the first database.
9. The screen brightness adjusting device according to claim 6, wherein the screen brightness configuration parameters comprise screen brightness size and screen bright screen duration;
the control module is used for:
controlling the system screen brightness of the terminal based on the first screen brightness in the first screen brightness configuration parameter;
and/or
And controlling the system screen bright-screen duration of the terminal based on the first screen bright-screen duration in the first screen brightness configuration parameter.
10. The screen brightness adjustment apparatus according to claim 6, wherein the control module is further configured to:
in response to detecting the configuration parameter adjusting instruction, determining a second screen brightness configuration parameter for adjusting the configuration parameter and a running working mode;
determining a database associated with the working mode, and adjusting the screen brightness configuration parameters stored in the database to the second screen brightness configuration parameters;
and controlling the screen brightness of the terminal in the working mode based on the second screen brightness configuration parameter.
11. A screen brightness adjustment apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the screen brightness adjustment method of any one of claims 1-5 is performed.
12. A non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the screen brightness adjustment method of any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110127189.0A CN112837661A (en) | 2021-01-29 | 2021-01-29 | Screen brightness adjusting method, screen brightness adjusting device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110127189.0A CN112837661A (en) | 2021-01-29 | 2021-01-29 | Screen brightness adjusting method, screen brightness adjusting device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112837661A true CN112837661A (en) | 2021-05-25 |
Family
ID=75931123
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110127189.0A Pending CN112837661A (en) | 2021-01-29 | 2021-01-29 | Screen brightness adjusting method, screen brightness adjusting device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112837661A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105551454A (en) * | 2016-02-26 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Control method and device for mobile terminal and mobile terminal |
US20170039994A1 (en) * | 2015-08-06 | 2017-02-09 | Mediatek Inc. | Method for adjusting display of electronic device and electronic device capable of adjusting display |
CN106445647A (en) * | 2016-10-10 | 2017-02-22 | 广东欧珀移动通信有限公司 | Multi-application data operation method, device and mobile terminal |
CN106502605A (en) * | 2016-09-30 | 2017-03-15 | 维沃移动通信有限公司 | A kind of brightness of mobile terminal and color temperature adjusting method and device |
CN107038037A (en) * | 2017-05-22 | 2017-08-11 | 北京小米移动软件有限公司 | Display mode switching method and device |
CN107391062A (en) * | 2017-06-23 | 2017-11-24 | 珠海格力电器股份有限公司 | Method and device for adjusting screen display and mobile terminal thereof |
CN108196899A (en) * | 2017-12-07 | 2018-06-22 | 青岛海信移动通信技术股份有限公司 | A kind of method and device of the establishment of multi-user |
-
2021
- 2021-01-29 CN CN202110127189.0A patent/CN112837661A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170039994A1 (en) * | 2015-08-06 | 2017-02-09 | Mediatek Inc. | Method for adjusting display of electronic device and electronic device capable of adjusting display |
CN105551454A (en) * | 2016-02-26 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Control method and device for mobile terminal and mobile terminal |
CN106502605A (en) * | 2016-09-30 | 2017-03-15 | 维沃移动通信有限公司 | A kind of brightness of mobile terminal and color temperature adjusting method and device |
CN106445647A (en) * | 2016-10-10 | 2017-02-22 | 广东欧珀移动通信有限公司 | Multi-application data operation method, device and mobile terminal |
CN107038037A (en) * | 2017-05-22 | 2017-08-11 | 北京小米移动软件有限公司 | Display mode switching method and device |
CN107391062A (en) * | 2017-06-23 | 2017-11-24 | 珠海格力电器股份有限公司 | Method and device for adjusting screen display and mobile terminal thereof |
CN108196899A (en) * | 2017-12-07 | 2018-06-22 | 青岛海信移动通信技术股份有限公司 | A kind of method and device of the establishment of multi-user |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111966234B (en) | Electronic device, flexible panel control method and device | |
EP3249509A1 (en) | Method and device for playing live videos | |
EP3460631B1 (en) | Method and device for controlling state of terminal | |
CN111381746B (en) | Parameter adjusting method, device and storage medium | |
US10439660B2 (en) | Method and device for adjusting frequencies of intercom apparatuses | |
CN111611034B (en) | Screen display adjustment method, device and storage medium | |
CN112905089B (en) | Equipment control method and device | |
CN111610912B (en) | Application display method, application display device and storage medium | |
US20180254014A1 (en) | Method and device for adjusting current of backlight, and storage medium | |
CN111880681A (en) | Touch screen sampling rate adjusting method and device and computer storage medium | |
CN111243554B (en) | Screen brightness adjusting method, screen brightness adjusting device and storage medium | |
CN109922203B (en) | Terminal, screen off method and device | |
CN114442789A (en) | Dark screen control method, device, equipment and storage medium | |
CN112331158B (en) | Terminal display adjusting method, device, equipment and storage medium | |
CN112667074A (en) | Display method, display device and storage medium | |
CN112269525A (en) | Small screen window display method and device and storage medium | |
CN111225111A (en) | Function control method, function control device, and storage medium | |
EP3955545B1 (en) | Method and apparatus for controlling application, and storage medium | |
CN110609655B (en) | Method and device for changing equipment firmware parameters | |
CN112837661A (en) | Screen brightness adjusting method, screen brightness adjusting device and storage medium | |
CN114296587A (en) | Cursor control method and device, electronic equipment and storage medium | |
CN116301535A (en) | Method and device for adjusting refresh rate, electronic equipment and storage medium | |
CN113542482A (en) | Call control method and device | |
CN112689047A (en) | Display control method and device and electronic equipment | |
CN110955328B (en) | Control method and device of electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |