[go: up one dir, main page]

CN108174029B - Screen brightness adjusting method and device, terminal and storage medium - Google Patents

Screen brightness adjusting method and device, terminal and storage medium Download PDF

Info

Publication number
CN108174029B
CN108174029B CN201711438585.5A CN201711438585A CN108174029B CN 108174029 B CN108174029 B CN 108174029B CN 201711438585 A CN201711438585 A CN 201711438585A CN 108174029 B CN108174029 B CN 108174029B
Authority
CN
China
Prior art keywords
brightness
screen
adjusting
terminal
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711438585.5A
Other languages
Chinese (zh)
Other versions
CN108174029A (en
Inventor
徐家林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Spreadrise Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Spreadrise Technologies Co Ltd filed Critical Shanghai Spreadrise Technologies Co Ltd
Priority to CN201711438585.5A priority Critical patent/CN108174029B/en
Publication of CN108174029A publication Critical patent/CN108174029A/en
Application granted granted Critical
Publication of CN108174029B publication Critical patent/CN108174029B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The embodiment of the invention discloses a screen brightness adjusting method, a device, a terminal and a storage medium, wherein the method comprises the following steps: the method comprises the steps of obtaining event notification messages detected in a modem, analyzing the event notification messages, adjusting first brightness of a device screen to preset second brightness if target messages need to be displayed on the device screen, executing communication events indicated by the event notification messages, displaying the target messages according to the second brightness, adjusting the second brightness to the first brightness when the communication events are detected to be finished, and adjusting the brightness of the device screen.

Description

Screen brightness adjusting method and device, terminal and storage medium
Technical Field
The invention relates to the technical field of electronic information, in particular to a screen brightness adjusting method, a screen brightness adjusting device, a screen brightness adjusting terminal and a storage medium.
Background
At present, along with the continuous development of terminal technology, the terminal technology is more and more humanized in all aspects to meet the requirements of users, the daily life of the users is greatly facilitated, and taking a mobile phone as an example, the current mobile phone basically adopts a sliding answering mode when answering a call, so that the users can process the call as soon as possible.
Since the brightness of the screen of the terminal is generally manually adjusted by the user according to the needs of the user, how to automatically adjust the brightness of the screen by the terminal becomes a hot point of research.
Disclosure of Invention
The embodiment of the invention provides a screen brightness adjusting method, a screen brightness adjusting device, a terminal and a storage medium, which can adjust the brightness of a terminal screen.
In a first aspect, an embodiment of the present invention provides a method for adjusting screen brightness, where the method includes:
acquiring an event notification message detected in a modem;
analyzing the event notification message, and if a target message needs to be displayed on a terminal screen, adjusting the first brightness of the terminal screen to a preset second brightness, wherein the target message is related to a communication event indicated by the event notification message;
executing the communication event indicated by the event notification message and displaying the target message at the second brightness;
adjusting the second brightness to the first brightness upon detecting the end of the communication event.
Optionally, the adjusting the first brightness of the terminal screen to a preset second brightness includes:
acquiring a first duty ratio of a pulse width modulation signal at the first brightness;
adjusting the first duty cycle to a preset second duty cycle;
and controlling the brightness of the terminal screen according to the second duty ratio, and adjusting the first brightness to a second brightness corresponding to the second duty ratio.
Optionally, after obtaining the first duty cycle of the pulse width modulation signal at the first brightness, the method further includes:
storing the first duty cycle;
the adjusting the second brightness to the first brightness upon detecting the end of the communication event comprises:
when the communication event is detected to end, acquiring the stored first duty ratio;
and controlling the brightness of the terminal screen according to the first duty ratio, and adjusting the second brightness to a first brightness corresponding to the first duty ratio.
Optionally, the method further includes:
dividing a display area of the terminal screen into a first display area and a second display area, wherein the first display area is used for displaying the target message;
the adjusting the first brightness of the terminal screen to a preset second brightness comprises:
and adjusting the screen range of the first display area to the preset second brightness.
Optionally, after the screen range where the first display area is located is adjusted to the preset second brightness, the method further includes:
and adjusting the screen range of the second display area to a third brightness.
Optionally, before the first brightness of the terminal screen is adjusted to the preset second brightness, the method further includes:
acquiring current time information, and judging whether the current time information is in a preset time range;
if the brightness of the terminal screen is within the preset time range, acquiring a brightness parameter of the current environment, and judging whether the brightness of the terminal screen needs to be adjusted according to the brightness parameter;
and if so, triggering to adjust the first brightness of the terminal to a preset second brightness.
Optionally, the determining whether the brightness of the terminal screen needs to be adjusted according to the brightness parameter includes:
if the brightness parameter is greater than or equal to a preset brightness threshold value, determining that the brightness of the terminal screen needs to be adjusted;
and if the brightness parameter is smaller than a preset brightness threshold value, the brightness of the terminal screen does not need to be adjusted.
In a second aspect, embodiments of the present invention provide a screen brightness adjusting apparatus for performing any one of the methods according to the first aspect.
In a third aspect, an embodiment of the present invention provides another terminal, including a processor and a memory, where the processor and the memory are connected to each other, where the memory is used to store a computer program that supports the terminal to execute the above method, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute any one of the methods according to the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, the computer program comprising program instructions that, when executed by a processor, cause the processor to perform any one of the methods according to the first aspect.
The embodiment of the invention acquires the event notification message detected in the modem, analyzes the event notification message, judges whether the communication event indicated by the event notification message needs to display the related information of the communication event on the terminal screen, adjusts the first brightness of the terminal screen to the preset second brightness if the related information of the communication event needs to be displayed, executes the communication event, and adjusts the second brightness to the first brightness when the communication event is detected to be finished, thereby realizing that the brightness of the terminal screen is automatically adjusted when the terminal receives the communication event needing to be displayed, solving the problem that a user cannot immediately process a new message because the user cannot see the received new message clearly due to too dark view of the screen, and further improving the using satisfaction degree of the user on the terminal.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below.
FIG. 1 is a schematic flow chart of a method for adjusting screen brightness according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method for adjusting screen brightness according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of a split screen of a method for adjusting screen brightness according to an embodiment of the present invention;
FIG. 4 is a schematic block diagram of a screen brightness adjusting apparatus according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention.
In the embodiment of the present invention, the terminal may be, for example, a mobile phone, a tablet computer, a notebook computer, a palm computer, a wearable device, a mobile internet device, or other terminal devices that have transceiving functions and can install a client for deploying a communication application.
Referring to fig. 1, which is a schematic flowchart of a method for adjusting screen brightness according to an embodiment of the present invention, as shown in fig. 1, the method may include:
s101, the terminal acquires the event notification message detected in the modem.
In one embodiment, after the modem detects the event notification message, the modem may modulate a signal of the event notification message into an electrical signal that can be received and processed by the terminal processor, and then transmit the electrical signal to the terminal processor, where the terminal receives the electrical signal, that means, the event notification message is received, and similarly, if the terminal finishes processing the electrical signal, the terminal may output another electrical signal, and the modem may demodulate the other electrical signal into an outputable signal and display the outputable signal on the terminal screen. Wherein, the terminal can simultaneously acquire one or more event notification messages.
S102, the terminal analyzes the event notification message, and if a target message needs to be displayed on the terminal screen, the first brightness of the terminal screen is adjusted to a preset second brightness, wherein the target message is related to the communication event indicated by the event notification message.
Optionally, the related information of the communication event that needs to be displayed on the terminal screen may be, for example, an incoming call, a received new short message, a push message of the terminal application, or the like, and the related information of the communication event that does not need to be displayed on the terminal screen may be, for example, an automatic update of the terminal application, or the like.
Optionally, when executing the communication event indicated by the event notification message, the terminal may first divide the display area of the terminal screen into a first display area and a second display area, so that the terminal may display related information of different communication events in different display areas.
In one embodiment, when the terminal acquires the information related to the communication event which needs to be displayed on the terminal screen, the terminal may adjust the screen brightness of the terminal by acquiring the first duty ratio of the pulse width modulation signal at the current first brightness and adjusting the size of the first duty ratio of the pulse width modulation signal. The screen brightness of the terminal is in direct proportion to the duty ratio of the pulse width modulation signal, that is, the larger the pulse width duty ratio is, the brighter the screen brightness is, and the smaller the pulse width duty ratio is, the darker the screen brightness is.
And S103, the terminal executes the communication event indicated by the event notification message and displays the target message according to the second brightness.
And S104, when the terminal detects that the communication event is ended, adjusting the second brightness to the first brightness.
In one embodiment, when the terminal detects that the communication event is ended, the terminal may first obtain a first duty ratio pre-stored by the terminal, and adjust the second duty ratio to the first duty ratio pre-stored by the terminal, so as to adjust the second brightness of the terminal screen to the first brightness. It should be noted that, when detecting that the communication event is ended, the terminal may also adjust the second brightness to the darkest brightness, so that the terminal can save more power.
In an embodiment of the present invention, the terminal obtains the event notification message detected in the modem, and after analyzing the event notification message, determining whether a communication event indicated by the event notification message requires displaying information related to the communication event on a terminal screen, and executing the communication event, if the information related to the communication event needs to be displayed, adjusting the first brightness of the terminal screen to a preset second brightness, and when the end of the communication event is detected, adjusting the second brightness to the first brightness, thereby realizing the automatic adjustment of the screen brightness of the terminal when the terminal receives the communication event needing to be displayed, therefore, the problem that a user cannot process the new message in time because the user cannot clearly see the new message received by the terminal due to too dark screen can be solved, and the using satisfaction degree of the user on the terminal can be further improved.
Referring to fig. 2, which is a schematic flow chart of a method for adjusting screen brightness according to another embodiment of the present invention, as shown in fig. 2, the method may include:
s201, the terminal acquires an event notification message detected in the modem.
The specific implementation manner of step S201 may refer to the related description of step S101 in the foregoing embodiment, and is not described herein again.
S202, the terminal analyzes the event notification message, if the target message needs to be displayed on the terminal screen, a first duty ratio of the pulse width modulation signal of the terminal screen under the first brightness is obtained, and the first duty ratio is stored.
The first duty ratio represents a proportion of the energization time of the pulse width modulation signal at the first brightness to the total energization time in a certain time period. The duty ratio of the pulse width modulation signal can accurately reflect the brightness of the terminal screen, and the comparison and the adjustment of the brightness of the terminal screen can be accurately realized by comparing and adjusting the duty ratio of the pulse width modulation signal, so that the quantitative processing of the size of the terminal screen is realized.
S203, the terminal adjusts the first duty ratio to a preset second duty ratio, controls the screen brightness of the terminal according to the second duty ratio, and adjusts the first brightness to a second brightness corresponding to the second duty ratio.
In one embodiment, before the terminal adjusts the first brightness of the terminal screen to the second brightness corresponding to the second duty ratio, the terminal may obtain a brightness parameter of an environment where the terminal is located, and determine whether the brightness of the terminal screen needs to be adjusted according to the brightness parameter, if the brightness parameter is greater than or equal to a preset brightness threshold, the terminal may trigger an adjustment function of the first brightness of the terminal according to the current time information and when the current time information is within a preset time range; if the current brightness parameter is smaller than the preset brightness threshold, the terminal will not trigger the function of adjusting the first brightness of the terminal.
For example, if the current environment is an open outdoor area (assuming that the brightness parameter is large), the brightness of the terminal screen is the darkest, if the terminal receives an incoming call, because the brightness of the open outdoor area is relatively strong, the brightness parameter of the open outdoor area is greater than the preset brightness threshold, and if the current time information is within the preset time range, the terminal may adjust the first brightness of the terminal screen to the brightest (i.e., the second brightness).
The terminal can also judge the brightness parameter at the current time according to the current time information, and then the terminal can determine whether to adjust the brightness of the terminal screen according to the current time information. For example, when the current time is 12 pm, if the screen brightness of the terminal is darkest, the terminal can adjust the screen brightness to be brightest when the terminal receives a new short message; if the current time is 8 o' clock at night, if the screen brightness of the terminal is the darkest, the terminal can not adjust the screen brightness when receiving a new short message.
And S204, when the terminal detects that the communication event is ended, acquiring the stored first duty ratio, controlling the screen brightness of the terminal according to the first duty ratio, and adjusting the second brightness to the first brightness corresponding to the first duty ratio.
The first brightness and the second brightness only represent two different brightnesses, and do not represent the brightness, and the first brightness may be greater than the second brightness or smaller than the first brightness. For example, if the first brightness is the brightest brightness of the screen of the terminal, when the terminal receives a communication event in the evening, the terminal may adjust the first brightness to a second brightness darker than the first brightness according to the above-described method; similarly, if the first brightness is the darkest brightness of the terminal screen, when the terminal receives a communication event in the daytime, the terminal may adjust the first brightness to a second brightness that is brighter than the first brightness according to the above-described method.
It should be noted that, only when the second brightness is greater than the first brightness, the terminal may adjust the second brightness to the first brightness when detecting that the communication event ends, so that the terminal can save the stored electric quantity, and if the second brightness is less than the first brightness, the terminal may continue to maintain the second brightness when detecting that the communication event ends, so as to save the electric quantity stored by itself.
Optionally, the terminal may divide a display area of the screen into a first display area and a second display area, where the first display area is used to display the relevant information of the communication event, and then when the terminal adjusts the terminal screen brightness, only the first brightness of the first display area is adjusted to the preset second brightness, and only when the terminal receives an operation instruction sent by the user to the second display area, for example, the operation instruction may be a click instruction to the second display area, the terminal adjusts the screen range where the second display area is located to the third brightness. The terminal can realize the highlight display of the terminal on the received communication event through the split screen processing of the screen display range and the different adjustment of the brightness of different display areas, and can save the power consumption of the terminal.
The third luminance may be the first luminance, the second luminance, or a luminance different from the first luminance and the second luminance. For example, when the terminal receives an incoming call at the darkest screen brightness, the terminal may divide the screen into a first display area (i.e., an area shown by 301 in the figure) and a second display area (i.e., an area shown by 302 in the figure) as shown in fig. 3, where the first display area includes a name display area, a phone number display area, and an answering key display area, and the other areas are the second display areas, so that the first brightness is the darkest brightness of the screen of the terminal when the terminal does not receive an incoming call, the second brightness may be the brightest brightness of the screen of the terminal adjusted by the first area according to the above steps, and the third brightness may be the blackest brightness of the second area.
In an embodiment of the present invention, the terminal obtains the event notification message detected in the modem, and analyzes the event notification message to obtain the related information of the communication event to be displayed in the terminal screen, and obtaining the first duty ratio of the pulse width modulation signal of the terminal screen under the current first brightness, the terminal can adjust the brightness of the terminal screen by adjusting the first duty ratio, thereby realizing the quantitative control of the brightness of the terminal screen, and when the second brightness is brighter than the first brightness, the terminal will retrieve the stored first duty cycle, adjust the brighter second brightness to the first brightness upon detecting the end of the communication event, the method and the device can save electricity consumption of the terminal to a great extent while solving the problem that a user cannot process a new message immediately because the user cannot clearly see the received new message due to too dark screen.
In a further embodiment of the invention, a computer-readable storage medium is provided, which stores a computer program comprising program instructions, which when executed by a processor, implement the above-mentioned method.
Referring to fig. 4, which is a schematic block diagram of a screen brightness adjusting apparatus according to an embodiment of the present invention, as shown in the figure, the apparatus includes: an acquisition unit 401, an adjustment unit 402 and an execution unit 403.
An acquiring unit 401, configured to acquire an event notification message detected in a modem;
an adjusting unit 402, configured to analyze the event notification message, and adjust a first brightness of a terminal screen to a preset second brightness if a target message needs to be displayed on the terminal screen, where the target message is a message related to a communication event indicated by the event notification message;
an executing unit 403, configured to execute the communication event indicated by the event notification message, and display the target message according to the second brightness;
the adjusting unit 402 is further configured to adjust the second brightness to the first brightness when the end of the communication event is detected.
Wherein, the adjusting unit 402 is specifically configured to:
acquiring a first duty ratio of a pulse width modulation signal at the first brightness;
adjusting the first duty cycle to a preset second duty cycle;
and controlling the brightness of the terminal screen according to the second duty ratio, and adjusting the first brightness to a second brightness corresponding to the second duty ratio.
Wherein the apparatus further comprises: memory cell 404
The storage unit 404 is configured to store the first duty ratio;
the adjusting unit 402 is specifically configured to:
when the communication event is detected to end, acquiring the stored first duty ratio;
and controlling the brightness of the terminal screen according to the first duty ratio, and adjusting the second brightness to a first brightness corresponding to the first duty ratio.
Wherein the apparatus further comprises: dividing unit 405
A dividing unit 405, configured to divide a display area of the terminal screen into a first display area and a second display area, where the first display area is used to display the target message;
the adjusting unit 402 is specifically configured to:
and adjusting the screen range of the first display area to the preset second brightness.
Wherein the adjusting unit 402 is further configured to: and adjusting the screen range of the second display area to a third brightness.
Wherein the apparatus further comprises: judging unit 406
An obtaining unit 401, configured to obtain current time information,
a determining unit 406, configured to determine whether the current time information is within a preset time range;
the obtaining unit 401 is further configured to obtain a brightness parameter of a current environment if the current time information is within the preset time range,
the judging unit 406 is further configured to judge whether the terminal screen brightness needs to be adjusted according to the brightness parameter;
the adjusting unit 402 is further configured to trigger adjustment of the first brightness of the terminal to a preset second brightness when the terminal screen needs to be adjusted.
The determining unit 406 is specifically configured to:
if the brightness parameter is greater than or equal to a preset brightness threshold value, determining that the brightness of the terminal screen needs to be adjusted;
and if the brightness parameter is smaller than a preset brightness threshold value, the brightness of the terminal screen does not need to be adjusted.
It can be understood that the functions of each functional unit of the apparatus in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description of the foregoing method embodiment, which is not described herein again.
In the embodiment of the present invention, the obtaining unit 401 obtains the event notification message by obtaining the event notification message detected in the modem, and analyzes the event notification message, the determining unit 406 determines whether the communication event indicated by the event notification message needs to display the related information of the communication event on the device screen, if the information related to the communication event needs to be displayed, the adjusting unit 402 adjusts the first brightness of the screen of the device to a preset second brightness, and when detecting the end of the communication event, adjusts the second brightness to the first brightness, thereby realizing that when the device receives the communication event needing to be displayed, the screen brightness of the device is automatically adjusted, therefore, the problem that the user cannot immediately process the new message because the received new message is not clear due to too dark view of the screen can be solved, and the using satisfaction degree of the user to the equipment can be further improved.
Fig. 5 is a schematic block diagram of a terminal according to an embodiment of the present invention. The terminal in this embodiment as shown in the figure may include: one or more processors 501 and memory 502, wherein the processors include one or more modems 504. The processor 501 and the memory 502 are connected by a bus 503. The memory 502 is used to store a computer program comprising program instructions and the processor 501 is used to execute the program instructions stored by the memory 502. Wherein the processor 501 is configured to call the program instruction to perform:
invoking the modem 504 to obtain an event notification message detected in the modem;
analyzing the event notification message, and if a target message needs to be displayed on a device screen, adjusting the first brightness of the device screen to a preset second brightness, wherein the target message is related to a communication event indicated by the event notification message;
executing the communication event indicated by the event notification message and displaying the target message at the second brightness;
adjusting the second brightness to the first brightness upon detecting the end of the communication event.
Wherein the processor 501 is further configured to perform:
acquiring a first duty ratio of a pulse width modulation signal at the first brightness;
adjusting the first duty cycle to a preset second duty cycle;
and controlling the screen brightness of the equipment according to the second duty ratio, and adjusting the first brightness to a second brightness corresponding to the second duty ratio.
Wherein the processor 501 is further configured to perform:
invoking memory 502 to store the first duty cycle;
the adjusting the second brightness to the first brightness upon detecting the end of the communication event comprises:
when the communication event is detected to end, acquiring the stored first duty ratio;
and controlling the screen brightness of the equipment according to the first duty ratio, and adjusting the second brightness to a first brightness corresponding to the first duty ratio.
Wherein the processor 501 is further configured to perform:
dividing a display area of the device screen into a first display area and a second display area, wherein the first display area is used for displaying the target message;
the adjusting the first brightness of the screen of the device to a preset second brightness comprises:
and adjusting the screen range of the first display area to the preset second brightness.
Wherein the processor 501 is further configured to perform:
and adjusting the screen range of the second display area to a third brightness.
Wherein the processor 501 is further configured to perform:
acquiring current time information, and judging whether the current time information is in a preset time range;
if the brightness of the screen of the equipment is within the preset time range, acquiring a brightness parameter of the current environment, and judging whether the brightness of the screen of the equipment needs to be adjusted according to the brightness parameter;
and if so, triggering to adjust the first brightness of the equipment to a preset second brightness.
It should be understood that in the present embodiment, the Processor 501 may be a Central Processing Unit (CPU), and may be other types of processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 502 may include both read-only memory and random access memory, and provides instructions and data to the processor 501. A portion of the memory 502 may also include non-volatile random access memory. For example, the memory 502 may also store device type information.
In a specific implementation, the processor 501 and the one or more modems 504 included in the memory described in the embodiment of the present invention may execute the implementation described in the method for adjusting screen brightness shown in fig. 1 and fig. 2, or may execute the implementation of the device for adjusting screen brightness described in fig. 4 in the embodiment of the present invention, which is not described herein again.
The above is only a part of the embodiments of the present invention, but the scope of the present invention is not limited thereto, and various equivalent modifications or substitutions based on the above embodiments should be included in the scope of the present invention.

Claims (9)

1. A screen brightness adjusting method is characterized by comprising the following steps:
acquiring an event notification message detected in a modem;
analyzing the event notification message, if a target message needs to be displayed on a device screen, acquiring current time information, and judging whether the current time information is within a preset time range, if so, acquiring a brightness parameter of a current environment, and judging whether the brightness of the device screen needs to be adjusted according to the brightness parameter, if so, adjusting the first brightness of the device screen to a preset second brightness, wherein the target message is related to a communication event indicated by the event notification message, and the brightness parameter is determined by the time information;
executing the communication event indicated by the event notification message and displaying the target message at the second brightness;
if the second brightness is larger than the first brightness, when the end of the communication event is detected, the second brightness is adjusted to the first brightness, and if the second brightness is smaller than the first brightness, when the end of the communication event is detected, the second brightness is continuously kept.
2. The method of claim 1, wherein adjusting the first brightness of the device screen to a preset second brightness comprises:
acquiring a first duty ratio of a pulse width modulation signal at the first brightness;
adjusting the first duty cycle to a preset second duty cycle;
and controlling the screen brightness of the equipment according to the second duty ratio, and adjusting the first brightness to a second brightness corresponding to the second duty ratio.
3. The method of claim 2, wherein after obtaining the first duty cycle of the pulse width modulated signal at the first brightness, the method further comprises:
storing the first duty cycle;
the adjusting the second brightness to the first brightness upon detecting the end of the communication event comprises:
when the communication event is detected to end, acquiring the stored first duty ratio;
and controlling the screen brightness of the equipment according to the first duty ratio, and adjusting the second brightness to a first brightness corresponding to the first duty ratio.
4. The method of claim 2, further comprising:
dividing a display area of the device screen into a first display area and a second display area, wherein the first display area is used for displaying the target message;
the adjusting the first brightness of the screen of the device to a preset second brightness comprises:
and adjusting the screen range of the first display area to the preset second brightness.
5. The method according to claim 4, wherein after the adjusting the screen range of the first display area to the preset second brightness, the method further comprises:
and adjusting the screen range of the second display area to a third brightness.
6. The method of claim 5, wherein the determining whether the screen brightness of the device needs to be adjusted according to the brightness parameter comprises:
if the brightness parameter is greater than or equal to a preset brightness threshold value, determining that the brightness of the screen of the equipment needs to be adjusted;
if the brightness parameter is smaller than a preset brightness threshold value, the brightness of the screen of the equipment does not need to be adjusted.
7. A screen brightness adjustment apparatus, comprising:
an acquisition unit for acquiring an event notification message detected in a modem;
the processing unit is used for analyzing the event notification message, acquiring current time information if a target message needs to be displayed on an equipment screen, judging whether the current time information is in a preset time range, acquiring a brightness parameter of a current environment if the current time information is in the preset time range, judging whether the brightness of the equipment screen needs to be adjusted according to the brightness parameter, and adjusting the first brightness of the equipment screen to a preset second brightness if the brightness parameter is in the preset time range, wherein the target message is related to a communication event indicated by the event notification message, and the brightness parameter is determined by the time information;
an execution unit configured to execute the communication event indicated by the event notification message and display the target message at the second brightness;
and the adjusting unit is used for adjusting the second brightness to the first brightness when the end of the communication event is detected if the second brightness is greater than the first brightness, and continuing to maintain the second brightness when the end of the communication event is detected if the second brightness is less than the first brightness.
8. A terminal, characterized in that it comprises a processor and a memory, said processor and said memory being interconnected, wherein said memory is adapted to store a computer program comprising program instructions, said processor being configured to invoke said program instructions to perform the method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the method according to any one of claims 1-6.
CN201711438585.5A 2017-12-26 2017-12-26 Screen brightness adjusting method and device, terminal and storage medium Active CN108174029B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711438585.5A CN108174029B (en) 2017-12-26 2017-12-26 Screen brightness adjusting method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711438585.5A CN108174029B (en) 2017-12-26 2017-12-26 Screen brightness adjusting method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN108174029A CN108174029A (en) 2018-06-15
CN108174029B true CN108174029B (en) 2020-11-24

Family

ID=62521626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711438585.5A Active CN108174029B (en) 2017-12-26 2017-12-26 Screen brightness adjusting method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108174029B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766144A (en) * 2021-08-31 2021-12-07 联想(北京)有限公司 Processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790824A (en) * 2011-05-19 2012-11-21 中兴通讯股份有限公司 Mobile terminal and adjusting method of screen brightness in calling state of mobile terminal
CN102932554A (en) * 2012-11-14 2013-02-13 广东欧珀移动通信有限公司 System and method for intelligently selecting incoming telegram reminding mode of mobile phone
CN103841246A (en) * 2012-11-20 2014-06-04 联想(北京)有限公司 Information processing method and system, and mobile terminal
CN104538005A (en) * 2014-12-16 2015-04-22 深圳市金立通信设备有限公司 Method for adjusting screen brightness
CN104796537A (en) * 2015-03-17 2015-07-22 钟伟权 Method and system for automatically adjusting mobile terminal screen brightness
CN107018230A (en) * 2017-03-10 2017-08-04 深圳市金立通信设备有限公司 A kind of back light brightness regulating method and terminal

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7869799B2 (en) * 2005-07-28 2011-01-11 Research In Motion Limited Method and system for forwarding calls placed to a telecommunications destination
US7213955B1 (en) * 2005-10-26 2007-05-08 Research In Motion Limited System and method for providing ambient light to a display in an electronic device
CN102137178B (en) * 2011-04-07 2013-07-31 广东欧珀移动通信有限公司 Mobile phone backlight control method
CN102184712B (en) * 2011-05-18 2013-05-08 深圳创维-Rgb电子有限公司 Method and device for demonstrating matrix backlight and display equipment
CN202872899U (en) * 2012-08-21 2013-04-10 汉峰世纪科技(北京)有限公司 Telephone for automatically adjusting incoming call prompt according to noise and ambient light
CN103021348A (en) * 2012-12-28 2013-04-03 东莞宇龙通信科技有限公司 Display device and screen backlight control method
US20150061988A1 (en) * 2013-09-05 2015-03-05 Texas Instruments Incorporated Adaptive Power Savings on a Device Display
US9924583B2 (en) * 2015-05-14 2018-03-20 Mnaufacturing Resources International, Inc. Display brightness control based on location data
CN105632459A (en) * 2016-03-28 2016-06-01 山东超越数控电子有限公司 Computer display screen brightness adaptive adjustment method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790824A (en) * 2011-05-19 2012-11-21 中兴通讯股份有限公司 Mobile terminal and adjusting method of screen brightness in calling state of mobile terminal
CN102932554A (en) * 2012-11-14 2013-02-13 广东欧珀移动通信有限公司 System and method for intelligently selecting incoming telegram reminding mode of mobile phone
CN103841246A (en) * 2012-11-20 2014-06-04 联想(北京)有限公司 Information processing method and system, and mobile terminal
CN104538005A (en) * 2014-12-16 2015-04-22 深圳市金立通信设备有限公司 Method for adjusting screen brightness
CN104796537A (en) * 2015-03-17 2015-07-22 钟伟权 Method and system for automatically adjusting mobile terminal screen brightness
CN107018230A (en) * 2017-03-10 2017-08-04 深圳市金立通信设备有限公司 A kind of back light brightness regulating method and terminal

Also Published As

Publication number Publication date
CN108174029A (en) 2018-06-15

Similar Documents

Publication Publication Date Title
CN106227055B (en) Method for controlling intelligent household equipment, server and gateway
CN105933550A (en) Brightness adjustment method, brightness adjustment device and mobile terminal
CN105244006B (en) The backlight adjusting method and its display device of a kind of display device
CN105930119B (en) A display control method and device for an intelligent terminal
CN104735264A (en) Mobile terminal and control method thereof
CN107491162A (en) Display screen state adjustment method, display screen state adjusting device and terminal
CN107870571B (en) Method and device for controlling intelligent equipment and intelligent equipment
WO2016115762A1 (en) Power saving mode control method and device for multiple operating systems, and terminal
CN104699388A (en) Terminal theme adjusting method and system
CN107277259B (en) Signal adjustment method, electronic device, and computer-readable storage medium
CN105335056A (en) Application control method and device and terminal
CN105744034A (en) A screen brightness output method and device
CN106304292A (en) A kind of application message based reminding method and terminal
CN108174029B (en) Screen brightness adjusting method and device, terminal and storage medium
CN104615531A (en) Statistical method for accumulated terminal using duration time and network system
CN104898840A (en) Information processing method and apparatus, and electronic device
JP2013225722A (en) Information processing device, display control method, and display control program
CN104869254B (en) Mobile terminal and its incoming call reminder system and method
CN110556080A (en) Method, device, terminal and storage medium for adjusting backlight
CN107809533A (en) A kind of information interacting method and device, terminal and readable storage medium storing program for executing
CN112992100A (en) Screen brightness adjusting method and device, electronic equipment and storage medium
CN112269702A (en) Screen brightness adjustment method, device, electronic device and computer readable medium
CN105446450A (en) Method and apparatus for determining power consumption strategy
CN105992278A (en) Flow control method and mobile terminal
CN106686702B (en) Network connection processing method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221221

Address after: 201203 1st floor, building 1, Lane 36, Xuelin Road, Pudong New Area Free Trade Zone, Shanghai

Patentee after: SHANGHAI TRANSSION INFORMATION TECHNOLOGY Ltd.

Address before: Room 922 / 926, block a, No.1 Lane 399, shengxia Road, Pudong New Area pilot Free Trade Zone, Shanghai 201203

Patentee before: SHANGHAI SPREADRISE COMMUNICATION TECHNOLOGY Ltd.

TR01 Transfer of patent right