CN108769416B - Screen-off display method and device and non-transitory computer-readable storage medium - Google Patents

Screen-off display method and device and non-transitory computer-readable storage medium Download PDF

Info

Publication number
CN108769416B
CN108769416B CN201810551873.XA CN201810551873A CN108769416B CN 108769416 B CN108769416 B CN 108769416B CN 201810551873 A CN201810551873 A CN 201810551873A CN 108769416 B CN108769416 B CN 108769416B
Authority
CN
China
Prior art keywords
screen
brightness
preset condition
sensor
environment
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
CN201810551873.XA
Other languages
Chinese (zh)
Other versions
CN108769416A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810551873.XA priority Critical patent/CN108769416B/en
Publication of CN108769416A publication Critical patent/CN108769416A/en
Application granted granted Critical
Publication of CN108769416B publication Critical patent/CN108769416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The present disclosure relates to a method and a device for displaying a screen-off state, wherein the method comprises the following steps: when a screen of the terminal enters a screen-off display state, starting a sensor; judging whether the environmental state of the environment where the screen is located meets a first preset condition or not according to the measured value of the sensor; and when the environment state meets a first preset condition, closing the screen-off display function of the terminal. In the embodiment of the disclosure, when it is judged whether the environmental state of the environment where the screen is located meets the first preset condition according to the measurement value of the sensor, the screen-off display function of the terminal is turned off. The standby energy consumption of the terminal can be reduced, and the standby time of the terminal is prolonged.

Description

Screen-off display method and device and non-transitory computer-readable storage medium
Technical Field
The present disclosure relates to the field of screen display technologies, and in particular, to a method and an apparatus for turning off a screen display.
Background
When the screen of the terminal is in a non-lighting state, the screen-off display function is utilized, screen-off information such as time information, incoming call information or received short messages can be displayed in a screen-off display area on the screen, and the terminal is convenient for a terminal user to use. However, in the related art, the off-screen display function can increase the power consumption of the terminal in the standby state by several times, thereby greatly shortening the standby time of the terminal.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and an apparatus for displaying a screen-off display.
According to a first aspect of embodiments of the present disclosure, there is provided a screen-off display method, including:
when a screen of the terminal enters a screen-off display state, starting a sensor;
judging whether the environmental state of the environment where the screen is located meets a first preset condition or not according to the measured value of the sensor;
and when the environment state meets a first preset condition, closing the screen-off display function of the terminal.
In one possible implementation, the method further includes:
after the screen-off display function of the terminal is closed, judging whether the environmental state of the environment where the screen is located meets a second preset condition or not according to the measured value of the sensor;
and when the environment state meets a second preset condition, restarting the screen-off display function of the terminal.
In one possible implementation, the sensor includes a distance sensor and/or a brightness sensor.
In a possible implementation manner, judging whether an environmental state of an environment where the screen is located meets a first preset condition according to a measurement value of the sensor includes:
acquiring a distance value measured by the distance sensor and/or a brightness value measured by the brightness sensor, wherein the distance value comprises a distance between the screen measured by the distance sensor and a shielding object in front of the screen, and the brightness value is a brightness value of the external environment of the screen measured by the brightness sensor;
and judging whether the environment state of the environment where the screen is positioned meets a first preset condition or not according to the distance value and/or the brightness value.
In a possible implementation manner, according to the distance value and/or the brightness value, determining whether an environmental state of an environment where the screen is located meets a first preset condition includes one of:
when the distance value is smaller than a distance threshold value, determining that the first preset condition is met;
when the brightness value is smaller than a brightness threshold value, determining that the first preset condition is met;
when the distance value is greater than or equal to a distance threshold value and the brightness value is less than the brightness threshold value, determining that the first preset condition is met;
when the duration of the brightness value smaller than the brightness threshold is larger than a time threshold, determining that the first preset condition is met;
and when the distance value is greater than or equal to a distance threshold value and the duration of the brightness value smaller than the brightness threshold value is greater than a time threshold value, determining that the first preset condition is met.
In a possible implementation manner, when a screen of the terminal enters a screen-off display state, the sensor is turned on, including:
when the screen of the terminal enters a screen-off display state, the distance sensor is started at a first frequency,
wherein the distance value comprises a distance average of the distance values measured by the N distance sensors.
In a possible implementation manner, when a screen of the terminal enters a screen-off display state, turning on the sensor includes:
when the screen of the terminal enters a screen-off display state, the brightness sensor is started at a second frequency,
wherein a duration for which the brightness value is less than a brightness threshold is determined in accordance with the second frequency.
In one possible implementation, the method further includes:
and when the environment state of the environment where the screen is located does not meet the first preset condition, determining the display brightness of the screen in the screen-off display state according to the brightness value.
In a possible implementation manner, the sensor includes a distance sensor and/or a brightness sensor, and the determining, according to a measurement value of the sensor, whether an environmental state of an environment where the screen is located satisfies a second preset condition includes:
acquiring a distance value measured by the distance sensor and/or a brightness value measured by the brightness sensor, wherein the distance value comprises a distance between the screen measured by the distance sensor and a shielding object in front of the screen, and the brightness value is a brightness value of the external environment of the screen measured by the brightness sensor;
judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the distance value and/or the brightness value;
and judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the distance value and/or the brightness value, wherein the judgment comprises one of the following steps:
determining that the second preset condition is met when the distance value is greater than or equal to a distance threshold;
determining that the second preset condition is met when the brightness value is greater than or equal to a brightness threshold;
when the distance value is greater than or equal to a distance threshold value and the brightness value is greater than or equal to a brightness threshold value, determining that the second preset condition is met;
when the duration of the brightness value greater than or equal to the brightness threshold is greater than a time threshold, determining that the second preset condition is met;
and when the distance value is greater than or equal to a distance threshold value and the duration of the brightness value greater than or equal to the brightness threshold value is greater than a time threshold value, determining that the second preset condition is met.
According to a second aspect of embodiments of the present disclosure, there is provided a screen-off display device, the device comprising:
the sensor starting module is used for starting the sensor when the screen of the terminal enters a screen-off display state;
the first preset condition judgment module is used for judging whether the environment state of the environment where the screen is located meets a first preset condition or not according to the measured value of the sensor;
and the screen-off display function closing module is used for closing the screen-off display function of the terminal when the environment state meets a first preset condition.
In one possible implementation, the apparatus further includes:
the second preset condition judgment module is used for judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the measurement value of the sensor after the screen-off display function of the terminal is closed;
and the screen-off display function restarting module is used for restarting the screen-off display function of the terminal when the environment state meets a second preset condition.
In one possible implementation, the sensor includes a distance sensor and/or a brightness sensor.
In a possible implementation manner, the first preset condition determining module includes:
a measurement value acquisition sub-module configured to acquire a distance value measured by the distance sensor and/or a brightness value measured by the brightness sensor, where the distance value includes a distance between the screen and an obstacle in front of the screen measured by the distance sensor, and the brightness value is a brightness value of an environment outside the screen measured by the brightness sensor;
and the first preset condition judgment submodule is used for judging whether the environment state of the environment where the screen is positioned meets a first preset condition or not according to the distance value and/or the brightness value.
In a possible implementation manner, the first preset condition determining submodule is configured to determine whether an environment state of an environment where the screen is located meets a first preset condition according to one of the following conditions:
when the distance value is smaller than a distance threshold value, determining that the first preset condition is met;
when the brightness value is smaller than a brightness threshold value, determining that the first preset condition is met;
when the distance value is greater than or equal to a distance threshold value and the brightness value is less than the brightness threshold value, determining that the first preset condition is met;
when the duration of the brightness value smaller than the brightness threshold is larger than a time threshold, determining that the first preset condition is met;
and when the distance value is greater than or equal to a distance threshold value and the duration of the brightness value smaller than the brightness threshold value is greater than a time threshold value, determining that the first preset condition is met.
In one possible implementation, the sensor activation module includes:
the first starting sub-module is used for starting the distance sensors at a first frequency when a screen of the terminal enters a screen-off display state, wherein the distance values comprise distance average values of the distance values measured by the N distance sensors.
In one possible implementation, the sensor activation module includes:
and the second starting submodule is used for starting the brightness sensor at a second frequency when the screen of the terminal enters a screen-off display state, wherein the duration of the brightness value smaller than the brightness threshold is determined according to the second frequency.
In one possible implementation, the apparatus further includes:
and the brightness adjusting module is used for determining the display brightness of the screen in the screen-off display state according to the brightness value when the environment state of the environment where the screen is located does not meet the first preset condition.
In a possible implementation manner, the sensor includes a distance sensor and/or a brightness sensor, and the second preset condition determining module is configured to:
acquiring a distance value measured by the distance sensor and/or a brightness value measured by the brightness sensor, wherein the distance value comprises a distance between the screen measured by the distance sensor and a shielding object in front of the screen, and the brightness value is a brightness value of the external environment of the screen measured by the brightness sensor;
judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the distance value and/or the brightness value;
and judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the distance value and/or the brightness value, wherein the judgment comprises one of the following steps:
determining that the second preset condition is met when the brightness value is greater than or equal to a brightness threshold;
when the distance value is greater than or equal to a distance threshold value and the brightness value is greater than or equal to a brightness threshold value, determining that the second preset condition is met;
when the duration of the brightness value greater than or equal to the brightness threshold is greater than a time threshold, determining that the second preset condition is met;
and when the distance value is greater than or equal to a distance threshold value and the duration of the brightness value greater than or equal to the brightness threshold value is greater than a time threshold value, determining that the second preset condition is met.
According to a third aspect of the embodiments of the present disclosure, there is provided a screen-off display device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the implementation of the screen-off display method is carried out.
According to a fourth aspect of 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, enable the processor to perform the above-mentioned screen-off display method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: and when the environment state of the environment where the screen is positioned is judged to meet the first preset condition according to the measured value of the sensor, closing the screen-off display function of the terminal. The standby energy consumption of the terminal can be reduced, and the standby time of the terminal is prolonged.
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 flow chart illustrating a method of extinguishing a screen display in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of turning off a screen display in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of turning off a screen display in accordance with an exemplary embodiment;
FIG. 4 is a flow chart illustrating a method of turning off a screen display in accordance with an exemplary embodiment;
FIG. 5 is a flow chart illustrating an example application of a method for turning off a screen display in accordance with an exemplary embodiment;
FIG. 6 is a flow chart illustrating an example application of a method for turning off a screen display in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating an off screen display apparatus in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating an off screen display apparatus in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating an apparatus for turning off a screen display according to an exemplary 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.
Fig. 1 is a flow chart illustrating a method of extinguishing a screen display according to an exemplary embodiment, as shown in fig. 1, the method of extinguishing a screen display comprising the steps of:
and step S10, when the screen of the terminal enters a screen-off display state, starting the sensor.
In a possible implementation manner, the terminal may include various terminal devices configured with screens, such as a mobile phone, a desktop computer, a notebook computer, and an information display terminal. When the screen of the terminal is detected to enter the screen-off display state, screen-off information can be displayed in the screen-off display area of the screen. The screen-off information may include any preset display information such as time information, incoming call information, and the like. Whether the screen of the terminal has entered a screen-off display state can be determined by a central processing unit of the terminal.
When the screen of the terminal enters a screen-off display state, the sensor can be started immediately or after a set time length is delayed. The sensor may include various types of sensors such as a luminance sensor. The sensor can comprise a sensor configured by the terminal, and can also comprise a peripheral sensor.
In one possible implementation, the sensor includes a distance sensor and/or a brightness sensor.
Wherein, the brightness sensor can measure the brightness value of the environment where the screen is located. The distance sensor can measure whether the screen is in the environment with the shield in the set distance range. The brightness sensor and the distance sensor that are known in the related art may be utilized, and the present disclosure does not limit the specific implementation of the brightness sensor and the distance sensor.
Step S20, determining whether the environmental status of the environment where the screen is located meets a first preset condition according to the measurement value of the sensor.
The present disclosure does not limit the type of sensor as long as its measurement value can reflect the environmental state of the environment in which the screen is located. The present disclosure does not limit the environmental status and the first preset condition, the environmental status may be, for example, the environmental brightness, whether the screen is shielded, etc., and the first preset condition may be set as required.
In one possible implementation, different types of sensors may obtain different measurements. For example, when the sensor is a brightness sensor, the measurement value of the sensor is a brightness value. The brightness value measured by the brightness sensor can be used for judging the brightness of the environment where the screen is located and judging whether the brightness of the environment of the screen meets the set brightness condition or not. When the sensor is a distance sensor, whether the shielding object in the environment where the screen is located is smaller than a set distance threshold value can be judged according to the distance between the screen and the shielding object in front of the screen.
The first preset condition may be determined according to a measurement value measured by the sensor and an energy saving requirement of the terminal. For example, the energy consumption of the terminal a is relatively large, the energy consumption of the terminal B is relatively small, and the first preset condition may be set for the terminal a: the luminance value is less than the first luminance threshold. The first preset condition may be set for terminal B as: the luminance value is less than the second luminance threshold. The first brightness threshold is greater than the second brightness threshold.
And step S30, when the environment state meets a first preset condition, closing the screen-off display function of the terminal.
In a possible implementation manner, the sensor is a brightness sensor, the measured value is a brightness value, when the brightness of the environment where the terminal is located is too low, the environment where the terminal is located may be considered to be dark, for example, at night, a user of the terminal has a small demand for screen-off information at night, and the screen-off display function of the terminal may be turned off when the environment where the terminal is located is at night.
When the sensor is a brightness sensor, the measured value is the distance value between the screen and the sheltering object in front of the screen. When a shielding object exists in an environment where the terminal is located and within a short distance from the screen, the screen can be considered to be shielded, the terminal is placed on a desktop with the screen facing downwards, or the terminal is placed in a pocket of clothes, and the screen-off display function of the terminal can be turned off.
After the screen-off display function of the terminal is turned off, the terminal does not display screen-off information in the screen-off display area of the screen, and standby energy consumption of the terminal can be saved.
In this embodiment, when the screen of the terminal enters a screen-off display state, the sensor is turned on. And when judging whether the environmental state of the environment where the screen is positioned meets a first preset condition or not according to the measured value of the sensor, closing the screen-off display function of the terminal. The standby energy consumption of the terminal can be reduced, and the standby time of the terminal is prolonged.
Fig. 2 is a flow chart illustrating a method of turning off a screen display according to an exemplary embodiment, as shown in fig. 2, the method further includes the steps of:
and step S40, after the screen-off display function of the terminal is closed, judging whether the environmental state of the environment where the screen is located meets a second preset condition or not according to the measured value of the sensor.
And step S50, when the environment state meets a second preset condition, restarting the screen-off display function of the terminal.
In a possible implementation manner, after the screen-off display function of the terminal is turned off, the sensor continues to work, and whether the environmental state of the environment where the screen is located meets the second preset condition is continuously judged according to the measured value of the sensor.
The second preset condition may use the same condition threshold as the first preset condition, or may use a different condition threshold. For example, if the first preset condition is that the luminance value is smaller than the first luminance threshold, the second preset condition may be that the luminance value is greater than or equal to the first luminance threshold, and the second preset condition may also be that the luminance value is greater than or equal to the second luminance threshold, where the second luminance threshold may be greater than the first luminance threshold, and the second luminance threshold may also be smaller than the first luminance threshold.
When the environmental condition meets a second preset condition, for example, the shielding object in front of the screen is removed, the terminal is taken out from a pocket of clothes, the terminal is taken up by the screen, or the terminal is in a room with a light on again, and the like. The user of the terminal can be considered to have a new demand for the screen-off information, and the screen-off display function of the terminal can be restarted. And the screen-off display area of the screen restarts displaying the screen-off information.
In this embodiment, after the screen-off display function of the terminal is turned off, when it is determined that the environmental state of the environment where the screen is located meets the second preset condition, the screen-off display function of the terminal is turned on again. The screen-off display function of the terminal is restarted, so that the screen-off display function of the terminal can adapt to different environments, standby energy consumption of the terminal is saved, and the actual use of a user is not influenced.
Fig. 3 is a flowchart illustrating a method for displaying an off screen according to an exemplary embodiment, where step S20 in the method for displaying an off screen, as shown in fig. 3, includes:
step S21, obtaining a distance value measured by the distance sensor and/or a brightness value measured by the brightness sensor, where the distance value includes a distance between the screen measured by the distance sensor and a shield in front of the screen, and the brightness value is a brightness value of an external environment of the screen measured by the brightness sensor.
In one possible implementation, the distance value may be obtained from a distance sensor. The brightness value may also be acquired from a brightness sensor. The distance value and the brightness value can be simultaneously acquired according to the distance sensor and the brightness sensor.
Step S22, determining whether the environmental status of the environment where the screen is located meets a first preset condition according to the distance value and/or the brightness value.
In a possible implementation manner, whether the environment state of the environment where the screen is located meets the first preset condition may be determined according to the distance value, where the first preset condition may include a condition determined according to a distance threshold.
Whether the environment state of the environment where the screen is located meets the first preset condition may also be determined according to the brightness value, where the first preset condition may include a condition determined according to a brightness threshold.
Whether the environment state of the environment where the screen is located meets the first preset condition can be judged according to the distance value and the brightness value, and at this time, the first preset condition may include a condition determined according to the distance threshold and the brightness threshold.
The first preset condition can be determined according to the energy saving requirement of the terminal and the acquired distance value and/or brightness value.
In this embodiment, whether the environmental state of the environment where the screen is located meets a first preset condition may be determined according to the measurement values obtained by the brightness sensor and the distance sensor and the energy saving requirement of the terminal. And conveniently closing the screen-off display function of the terminal by utilizing the measured values of the distance sensor and the brightness sensor and the set first preset condition.
In a possible implementation manner, according to the distance value and/or the brightness value, determining whether an environmental state of an environment where the screen is located meets a first preset condition includes one of:
when the distance value is smaller than a distance threshold value, determining that the first preset condition is met;
when the brightness value is smaller than a brightness threshold value, determining that the first preset condition is met;
when the distance value is greater than or equal to a distance threshold value and the brightness value is less than the brightness threshold value, determining that the first preset condition is met;
when the duration of the brightness value smaller than the brightness threshold is larger than a time threshold, determining that the first preset condition is met;
and when the distance value is greater than or equal to a distance threshold value and the duration of the brightness value smaller than the brightness threshold value is greater than a time threshold value, determining that the first preset condition is met.
In a possible implementation manner, when a screen of the terminal enters a screen-off display state, the sensor is turned on, including:
when the screen of the terminal enters a screen-off display state, the distance sensor is started at a first frequency,
wherein the distance value comprises a distance average of the distance values measured by the N distance sensors.
In one possible implementation, the distance sensor may be turned on at a first frequency, for example, the distance sensor may be turned on at a frequency of once every 3 seconds to measure the distance of the shield in front of the screen. In order to improve the accuracy of the screen-off display method in the embodiment of the present disclosure, a distance average value of the N distance values may be calculated, and whether the environmental state of the environment where the screen is located meets the first preset condition is determined according to the calculated distance average value, so as to prevent a terminal user from performing a wrong operation, or prevent a screen-off display function of the terminal from being turned off due to a suddenly appearing and quickly moving shielding object in front of the screen. The applicability of the disclosed embodiments may be improved.
In a possible implementation manner, when a screen of the terminal enters a screen-off display state, turning on the sensor includes:
when the screen of the terminal enters a screen-off display state, the brightness sensor is started at a second frequency,
wherein a duration for which the brightness value is less than a brightness threshold is determined in accordance with the second frequency.
In one possible implementation, the brightness sensor may be turned on at a second frequency, for example the brightness value of the environment in which the measurement screen is located may be turned on at a frequency of once every 1 second. According to the second frequency and the collected brightness value, the duration of the brightness value being smaller than the brightness threshold value can be judged. For example, the second frequency is 1 second, the luminance sensor is turned on once, starting from the measurement time of the M-th measured luminance value smaller than the luminance threshold, and when the M + P-th measured luminance value is also smaller than the luminance threshold, the duration of the luminance value smaller than the luminance threshold is P × 1 — P seconds. The time threshold value can be set, the duration that the brightness is smaller than the brightness threshold value is calculated, and when the duration that the brightness value measured by the brightness sensor is smaller than the brightness threshold value is larger than the time threshold value, the screen-off display function of the terminal is turned off. The method and the device prevent the screen-off display function of the terminal from being turned off due to misoperation of a terminal user or transient change of the brightness of the environment where the screen is located. The applicability of the disclosed embodiments may be improved.
In a possible implementation manner, when the sensor is a distance sensor, whether the environmental state of the environment where the screen is located meets a first preset condition or not may be determined according to the obtained distance value. When the distance value is smaller than the distance threshold, it may be determined that the environmental state of the environment in which the screen is located satisfies a first preset condition. For example, when the shielding object exists within a range of 5 centimeters from the screen, it can be determined that the environmental state of the environment where the screen is located meets a first preset condition, and the screen-off display function of the terminal can be turned off.
In a possible implementation manner, when the sensor is a brightness sensor, whether the environmental state of the environment where the screen is located meets a first preset condition may be determined according to the obtained brightness value. When the brightness value is smaller than the brightness threshold, it may be determined that an environmental state of an environment in which the screen is located satisfies a first preset condition. For example, when the brightness value of the environment where the screen is located is less than X, the environment state of the environment where the screen is located is satisfied with the first preset condition, and the screen-off display function of the terminal may be turned off.
In a possible implementation manner, when the sensor is a brightness sensor, whether the environmental state of the environment where the screen is located meets a first preset condition may be determined according to the obtained brightness value and the time threshold. When the duration of the brightness value smaller than the brightness threshold is greater than the time threshold, it may be determined that the environmental state of the environment in which the screen is located satisfies a first preset condition. For example, when the brightness value of the environment where the screen is located is less than X and the duration exceeds one minute, it is determined that the environment state of the environment where the screen is located meets the first preset condition, and the screen-off display function of the terminal may be turned off.
In a possible implementation manner, when the sensor is a combination of a distance sensor and a brightness sensor, whether the environmental state of the environment where the screen is located meets a first preset condition may be determined according to the obtained distance value and the obtained brightness value. When the brightness value is smaller than the brightness threshold and the distance value is greater than or equal to the distance threshold, it may be determined that the environmental state of the environment in which the screen is located satisfies a first preset condition. For example, when a shielding object exists in a range 5 centimeters away from the screen and the brightness value of the environment where the screen is located is smaller than X, it is determined that the environment state of the environment where the screen is located meets the first preset condition, and the screen-off display function of the terminal can be turned off.
In a possible implementation manner, when the sensor is a combination of a distance sensor and a brightness sensor, whether the environmental state of the environment where the screen is located meets a first preset condition may be determined according to the obtained distance value, the obtained brightness value, and the obtained time threshold. When the distance value is greater than or equal to the distance threshold value, and the duration of the brightness value smaller than the brightness threshold value is greater than the time threshold value, it may be determined that the environmental state of the environment where the screen is located satisfies a first preset condition. For example, when a shielding object exists in a range 5 centimeters away from the screen and the duration of the brightness value of the environment where the screen is located is less than X exceeds one minute, it is determined that the environment state of the environment where the screen is located meets the first preset condition, and the screen-off display function of the terminal can be turned off.
In this embodiment, according to the type and the requirement of the sensor, a corresponding first preset condition may be set, so that the application range of the screen-off display method is improved.
Fig. 4 is a flow chart illustrating a method of turning off a screen display according to an exemplary embodiment, the method further comprising, as shown in fig. 4:
step S60, when the environment state of the environment where the screen is located does not satisfy the first preset condition, determining the display brightness of the screen in the off-screen display state according to the brightness value.
In a possible implementation manner, when the environment state of the environment where the screen is located does not satisfy a first preset condition, the screen-off display function of the terminal is not turned off. The screen displays the screen-off information in the screen-off display area. According to the brightness value measured by the brightness sensor, the display brightness of the screen can be adjusted, so that the screen-off display function of the screen can be more suitable for the brightness value of the environment where the screen is located.
For example, a corresponding relationship between the measured brightness value and the display brightness of the screen may be preset, and when the brightness value is L1, the preset corresponding relationship may be searched according to the brightness value L1, and the display brightness L2 corresponding to L1 may be determined. By presetting the corresponding relation between the measured brightness value and the display brightness of the screen, the display brightness of the screen is enhanced when the brightness of the environment where the screen is located is stronger, and the display brightness of the screen is weakened when the brightness of the environment where the screen is located is weaker. The display brightness of the screen is more consistent with the terminal use environment.
In this embodiment, when the environment state of the environment where the screen is located does not satisfy the first preset condition, the display brightness of the screen in the off-screen display state is determined according to the brightness value. The display brightness of the screen can be more adaptive to the use environment of the terminal, and therefore the applicability of the embodiment of the disclosure is improved.
In one possible implementation form of the method,
the sensor comprises a distance sensor and/or a brightness sensor,
according to the measured value of the sensor, whether the environmental state of the environment where the screen is located meets a second preset condition is judged, and the judgment comprises the following steps:
acquiring a distance value measured by the distance sensor and/or a brightness value measured by the brightness sensor, wherein the distance value comprises a distance between the screen measured by the distance sensor and a shielding object in front of the screen, and the brightness value is a brightness value of the external environment of the screen measured by the brightness sensor;
judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the distance value and/or the brightness value;
and judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the distance value and/or the brightness value, wherein the judgment comprises one of the following steps:
determining that the second preset condition is met when the distance value is greater than or equal to a distance threshold;
determining that the second preset condition is met when the brightness value is greater than or equal to a brightness threshold;
when the distance value is greater than or equal to a distance threshold value and the brightness value is greater than or equal to a brightness threshold value, determining that the second preset condition is met;
when the duration of the brightness value greater than or equal to the brightness threshold is greater than a time threshold, determining that the second preset condition is met;
and when the distance value is greater than or equal to a distance threshold value and the duration of the brightness value greater than or equal to the brightness threshold value is greater than a time threshold value, determining that the second preset condition is met.
In a possible implementation manner, when the sensor is a distance sensor and a distance value measured by the distance sensor is smaller than a distance threshold, it may be determined that the environmental state of the environment where the screen is located meets the first preset condition, and the screen-off display function of the terminal is turned off. At which point the distance sensor continues to measure distance values. When the measured distance value is greater than or equal to the distance threshold value again, it can be determined that the environment state of the environment where the screen is located meets the second preset condition, and the screen-off display function of the terminal can be restarted.
When the sensor is a brightness sensor and the brightness value measured by the brightness sensor is smaller than the brightness threshold, it can be determined that the environment state of the environment where the screen is located meets the first preset condition, and the screen-off display function of the terminal is turned off. At which time the brightness sensor continues to measure the brightness value. When the measured brightness value is greater than or equal to the brightness threshold value again, it can be determined that the environment state of the environment where the screen is located meets the second preset condition, and the screen-off display function of the terminal can be restarted.
When the sensor is a brightness sensor, and the duration that the brightness value measured by the brightness sensor is smaller than the brightness threshold is larger than the time threshold, it can be determined that the environmental state of the environment where the screen is located meets the first preset condition, and the screen-off display function of the terminal is turned off. At which time the brightness sensor continues to measure the brightness value. When the duration of the measured brightness value which is greater than or equal to the brightness threshold value again is greater than the time threshold value, it can be determined that the environment state of the environment where the screen is located meets the second preset condition, and the screen-off display function of the terminal can be restarted.
When the sensor comprises a distance sensor and a brightness sensor, according to the measured brightness value and the measured distance value, the environment state of the environment where the screen is located can be determined to meet the first preset condition, and the screen-off display function of the terminal is turned off. At this time, the brightness sensor continues to measure the brightness value, and the distance sensor continues to measure the distance value. When the measured distance value is greater than or equal to the distance threshold value again and the measured brightness value is greater than or equal to the brightness threshold value again, it can be determined that the environment state of the environment where the screen is located meets the second preset condition, and the screen-off display function of the terminal can be restarted. Or when the measured distance value is greater than or equal to the distance threshold again, and the duration of the measured brightness value which is greater than or equal to the brightness threshold again is greater than or equal to the time threshold, it may be determined that the environment state of the environment where the screen is located satisfies the second preset condition, and the screen-off display function of the terminal may be restarted.
In this embodiment, after the screen-off display function of the terminal is turned off, when it is determined that the environmental status meets the second preset condition, the screen-off display function of the terminal is turned on again. The screen-off display function of the terminal is restarted, so that the screen-off display function of the terminal can be more suitable for different environments, standby energy consumption of the terminal is saved, and the actual use of a user is not influenced.
Application example 1
Fig. 5 is a flowchart illustrating an application example of a screen turn-off display method according to an exemplary embodiment, where as shown in fig. 5, the terminal is a mobile phone, a screen of the mobile phone is an OLED screen, and the sensor is a distance sensor P-sensor, the screen turn-off display method includes:
in step S1, the mobile phone closes the screen. The mobile phone enters a screen-off state.
In step S2, the CPU controls the screen display to be on. And the CPU of the mobile phone judges that the mobile phone enters a screen-off display state, and a screen-off display area of the screen starts to display screen-off information.
In step S3, the P-sensor is turned on intermittently according to the frequency K1.
And step S4, the P-sensor collects the shielding object distance data in front of the screen and uploads the data to the CPU.
In step S5, the CPU determines whether there is a mask in front of the screen. And the CPU judges whether a shelter exists in front of the screen of the mobile phone according to the distance data acquired by the P-sensor.
In step S6, the CPU determines that there is no blocking object in front of the screen. Return is made to step S2. For example, if the distance from the screen to the obstruction is greater than or equal to the distance threshold, the CPU may determine that there is no obstruction in front of the screen.
In step S7, the CPU determines that there is a barrier in front of the screen. For example, if the distance from the screen to the obstruction is less than the distance threshold, the CPU may determine that there is no obstruction in front of the screen.
Step S8, turn off the display of the OLED. And the mobile phone turns off the screen-off display function. Returning to the step S3, the P-sensor continues to open intermittently according to the frequency K1, and the distance data of the shielding object in front of the screen is collected.
Application example 2
Fig. 6 is a flowchart illustrating an application example of a screen turn-off display method according to an exemplary embodiment, as shown in fig. 6, where the terminal is a mobile phone, a screen of the mobile phone is an OLED screen, and the sensor is a luminance sensor L-sensor, the screen turn-off display method includes:
and step S100, the mobile phone closes the screen. The mobile phone enters a screen-off state.
Step S200, the CPU controls the screen display to be opened. And the CPU of the mobile phone judges that the mobile phone enters a screen-off display state, and the screen-off information screen-off display area of the screen starts to display screen-off information.
And step S300, the L-sensor is intermittently opened according to the frequency K1.
And S400, the L-sensor collects the ambient light brightness data and uploads the ambient light brightness data to the CPU.
In step S500, the CPU determines the ambient brightness condition.
In step S600, the CPU determines that the ambient light intensity is higher than L2. L2 is a luminance threshold. The ambient light intensity is greater than or equal to the brightness threshold.
Step S700, adjusting the corresponding brightness displayed on the screen according to the light intensity, and returning to step S200.
In step S800, the CPU determines that the ambient light intensity is lower than L2. The ambient light intensity is less than the brightness threshold.
And step S900, closing the OLED display. And the mobile phone turns off the screen-off display function. Returning to the step S300, the L-sensor is continuously opened according to the frequency K1, and the ambient light brightness data are collected.
Fig. 7 is a block diagram illustrating an off screen display apparatus according to an exemplary embodiment, the off screen display apparatus, as shown in fig. 7, including:
the sensor starting module 10 is used for starting a sensor when a screen of the terminal enters a screen-off display state;
the first preset condition judgment module 20 is configured to judge whether an environmental state of an environment where the screen is located meets a first preset condition according to a measurement value of the sensor;
and the off-screen display function closing module 30 is configured to close the off-screen display function of the terminal when the environment state meets a first preset condition.
Fig. 8 is a block diagram illustrating an off-screen display apparatus according to an exemplary embodiment, as shown in fig. 8, in one possible implementation, the apparatus further includes:
the second preset condition judgment module 40 is configured to judge whether the environment state of the environment where the screen is located meets a second preset condition according to the measurement value of the sensor after the screen-off display function of the terminal is turned off;
and the screen-off display function restarting module 50 is used for restarting the screen-off display function of the terminal when the environment state meets a second preset condition.
In one possible implementation, the sensor includes a distance sensor and/or a brightness sensor.
In a possible implementation manner, the first preset condition determining module 20 includes:
a measurement value acquisition sub-module 21 configured to acquire a distance value measured by the distance sensor and/or a brightness value measured by the brightness sensor, where the distance value includes a distance between the screen and an obstacle in front of the screen measured by the distance sensor, and the brightness value is a brightness value of an external environment of the screen measured by the brightness sensor;
and the first preset condition judgment submodule 22 is configured to judge whether the environment state of the environment where the screen is located meets a first preset condition according to the distance value and/or the brightness value.
In a possible implementation manner, the first preset condition determining submodule 22 is configured to determine whether the environment state of the environment where the screen is located meets a first preset condition according to one of the following conditions:
when the distance value is smaller than a distance threshold value, determining that the first preset condition is met;
when the brightness value is smaller than a brightness threshold value, determining that the first preset condition is met;
when the distance value is greater than or equal to a distance threshold value and the brightness value is less than the brightness threshold value, determining that the first preset condition is met;
when the duration of the brightness value smaller than the brightness threshold is larger than a time threshold, determining that the first preset condition is met;
and when the distance value is greater than or equal to a distance threshold value and the duration of the brightness value smaller than the brightness threshold value is greater than a time threshold value, determining that the first preset condition is met.
In one possible implementation, the sensor activation module 10 includes:
and the first starting sub-module 11 is configured to start the distance sensors at a first frequency when the screen of the terminal enters a screen-off display state, where the distance values include a distance average of the distance values measured by the N distance sensors.
In one possible implementation, the sensor activation module 10 includes:
and the second starting submodule 12 is configured to start the brightness sensor at a second frequency when the screen of the terminal enters a screen-off display state, where a duration of the brightness value being less than the brightness threshold is determined according to the second frequency.
In one possible implementation, the apparatus further includes:
and the brightness adjusting module 60 is configured to determine, according to the brightness value, the display brightness of the screen in the off-screen display state when the environment state of the environment where the screen is located does not satisfy the first preset condition.
In a possible implementation manner, the sensor includes a distance sensor and/or a brightness sensor, and the second preset condition determining module 40 is configured to:
acquiring a distance value measured by the distance sensor and/or a brightness value measured by the brightness sensor, wherein the distance value comprises a distance between the screen measured by the distance sensor and a shielding object in front of the screen, and the brightness value is a brightness value of the external environment of the screen measured by the brightness sensor;
judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the distance value and/or the brightness value;
and judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the distance value and/or the brightness value, wherein the judgment comprises one of the following steps:
determining that the second preset condition is met when the brightness value is greater than or equal to a brightness threshold;
when the distance value is greater than or equal to a distance threshold value and the brightness value is greater than or equal to a brightness threshold value, determining that the second preset condition is met;
when the duration of the brightness value greater than or equal to the brightness threshold is greater than a time threshold, determining that the second preset condition is met;
and when the distance value is greater than or equal to a distance threshold value and the duration of the brightness value greater than or equal to the brightness threshold value is greater than a time threshold value, determining that the second preset condition is met.
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. 9 is a block diagram illustrating an apparatus for turning off a screen display according to an exemplary embodiment. For example, the apparatus 800 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. 9, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 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.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a 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 touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also measure the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 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 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 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 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 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 assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 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 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 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 816 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 816 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 800 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 the memory 804 comprising instructions, executable by the processor 820 of the device 800 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.
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 method of extinguishing a screen display, the method comprising:
when a screen of the terminal enters a screen-off display state, starting a sensor;
judging whether the environmental state of the environment where the screen is located meets a first preset condition or not according to the measured value of the sensor; the first preset condition is determined according to the energy consumption of the terminal;
when the environment state meets a first preset condition, closing a screen-off display function of the terminal;
the sensor comprises a brightness sensor;
according to the measured value of the sensor, whether the environmental state of the environment where the screen is located meets a first preset condition is judged, and the method comprises the following steps:
acquiring a brightness value measured by the brightness sensor, wherein the brightness value is the brightness value of the external environment of the screen measured by the brightness sensor;
judging whether the environment state of the environment where the screen is located meets a first preset condition or not according to the brightness value;
the larger the energy consumption of the terminal is, the larger the brightness threshold corresponding to the terminal is; according to the brightness value, judging whether the environment state of the environment where the screen is located meets a first preset condition, wherein the first preset condition comprises one of the following conditions:
when the brightness value is smaller than the brightness threshold value, determining that the first preset condition is met;
and when the duration of the brightness value smaller than the brightness threshold is larger than a time threshold, determining that the first preset condition is met.
2. The method of claim 1, further comprising:
after the screen-off display function of the terminal is closed, judging whether the environmental state of the environment where the screen is located meets a second preset condition or not according to the measured value of the sensor;
and when the environment state meets a second preset condition, restarting the screen-off display function of the terminal.
3. The method of claim 1, wherein turning on the sensor when the screen of the terminal enters a screen-off display state comprises:
when the screen of the terminal enters a screen-off display state, the brightness sensor is started at a second frequency,
wherein a duration for which the brightness value is less than a brightness threshold is determined in accordance with the second frequency.
4. The method of claim 1, further comprising:
and when the environment state of the environment where the screen is located does not meet the first preset condition, determining the display brightness of the screen in the screen-off display state according to the brightness value.
5. The method of claim 2, wherein the sensor comprises a brightness sensor,
according to the measured value of the sensor, whether the environmental state of the environment where the screen is located meets a second preset condition is judged, and the judgment comprises the following steps:
acquiring a brightness value measured by the brightness sensor, wherein the brightness value is the brightness value of the external environment of the screen measured by the brightness sensor;
judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the brightness value;
and judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the brightness value, wherein the second preset condition comprises one of the following conditions:
determining that the second preset condition is satisfied when the brightness value is greater than or equal to the brightness threshold;
and when the duration of the brightness value being greater than or equal to the brightness threshold is greater than a time threshold, determining that the second preset condition is met.
6. An off-screen display device, the device comprising:
the sensor starting module is used for starting the sensor when the screen of the terminal enters a screen-off display state;
the first preset condition judgment module is used for judging whether the environment state of the environment where the screen is located meets a first preset condition or not according to the measured value of the sensor; the first preset condition is determined by the energy consumption of the terminal;
the screen-off display function closing module is used for closing the screen-off display function of the terminal when the environment state meets a first preset condition;
the sensor comprises a brightness sensor;
the first preset condition judgment module includes:
a measurement value obtaining sub-module, configured to obtain a brightness value measured by the brightness sensor, where the brightness value is a brightness value of an external environment of the screen measured by the brightness sensor;
the first preset condition judgment submodule is used for judging whether the environment state of the environment where the screen is located meets a first preset condition or not according to the brightness value;
the larger the energy consumption of the terminal is, the larger the brightness threshold corresponding to the terminal is; the first preset condition judgment submodule is used for judging whether the environment state of the environment where the screen is located meets a first preset condition according to one of the following conditions:
when the brightness value is smaller than the brightness threshold value, determining that the first preset condition is met;
and when the duration of the brightness value smaller than the brightness threshold is larger than a time threshold, determining that the first preset condition is met.
7. The apparatus of claim 6, further comprising:
the second preset condition judgment module is used for judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the measurement value of the sensor after the screen-off display function of the terminal is closed;
and the screen-off display function restarting module is used for restarting the screen-off display function of the terminal when the environment state meets a second preset condition.
8. The apparatus of claim 6, wherein the sensor activation module comprises:
and the second starting submodule is used for starting the brightness sensor at a second frequency when the screen of the terminal enters a screen-off display state, wherein the duration of the brightness value smaller than the brightness threshold is determined according to the second frequency.
9. The apparatus of claim 6, further comprising:
and the brightness adjusting module is used for determining the display brightness of the screen in the screen-off display state according to the brightness value when the environment state of the environment where the screen is located does not meet the first preset condition.
10. The apparatus of claim 7, wherein the sensor comprises a brightness sensor, and the second preset condition determining module is configured to:
acquiring a brightness value measured by the brightness sensor, wherein the brightness value is the brightness value of the external environment of the screen measured by the brightness sensor;
judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the brightness value;
and judging whether the environment state of the environment where the screen is located meets a second preset condition or not according to the brightness value, wherein the second preset condition comprises one of the following conditions:
determining that the second preset condition is satisfied when the brightness value is greater than or equal to the brightness threshold;
and when the duration of the brightness value being greater than or equal to the brightness threshold is greater than a time threshold, determining that the second preset condition is met.
11. A screen-off display device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the steps of the method of any one of claims 1 to 5 are performed.
12. A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor, enable the processor to perform the method of any of claims 1 to 5.
CN201810551873.XA 2018-05-31 2018-05-31 Screen-off display method and device and non-transitory computer-readable storage medium Active CN108769416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810551873.XA CN108769416B (en) 2018-05-31 2018-05-31 Screen-off display method and device and non-transitory computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810551873.XA CN108769416B (en) 2018-05-31 2018-05-31 Screen-off display method and device and non-transitory computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN108769416A CN108769416A (en) 2018-11-06
CN108769416B true CN108769416B (en) 2021-05-18

Family

ID=64001400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810551873.XA Active CN108769416B (en) 2018-05-31 2018-05-31 Screen-off display method and device and non-transitory computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN108769416B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109599066A (en) * 2018-11-21 2019-04-09 上海闻泰电子科技有限公司 Screen backlight regulating device and electronic equipment
CN109857235A (en) * 2019-02-25 2019-06-07 努比亚技术有限公司 Put out screen display control method, wearable device and computer readable storage medium
CN110099176A (en) * 2019-04-30 2019-08-06 努比亚技术有限公司 Breath screen display methods, wearable device and computer readable storage medium
CN110658906A (en) * 2019-08-30 2020-01-07 华为技术有限公司 Display method and electronic equipment
CN115150500A (en) * 2021-03-30 2022-10-04 华为技术有限公司 Screen-off display method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375606A (en) * 2016-11-14 2017-02-01 青岛海信移动通信技术股份有限公司 Method, device and system for controlling display of smart communication equipment in call state
CN106774789A (en) * 2016-11-23 2017-05-31 珠海市魅族科技有限公司 Method for information display and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9220062B2 (en) * 2011-03-30 2015-12-22 Nokia Technologies Oy Method and apparatus for low-power browsing
CN106201313A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of method for information display and system
US9940498B2 (en) * 2016-09-09 2018-04-10 Motorola Mobility Llc Low power application access using fingerprint sensor authentication
CN106708358A (en) * 2016-11-18 2017-05-24 珠海市魅族科技有限公司 Always-on display control method and device
CN107390989A (en) * 2017-07-18 2017-11-24 深圳天珑无线科技有限公司 Screen display method, device and computer-readable recording medium
CN107580134B (en) * 2017-09-07 2020-03-31 维沃移动通信有限公司 Display method of mobile terminal and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375606A (en) * 2016-11-14 2017-02-01 青岛海信移动通信技术股份有限公司 Method, device and system for controlling display of smart communication equipment in call state
CN106774789A (en) * 2016-11-23 2017-05-31 珠海市魅族科技有限公司 Method for information display and device

Also Published As

Publication number Publication date
CN108769416A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN108769416B (en) Screen-off display method and device and non-transitory computer-readable storage medium
CN106797416B (en) Screen control method and device
CN105159640B (en) Display interface rotating method and device and mobile terminal
CN110796988B (en) Backlight adjusting method and device
CN107390932B (en) Edge false touch prevention method and device and computer readable storage medium
EP3032821A1 (en) Method and device for shooting a picture
US10708512B2 (en) Method and device for capturing image and storage medium
CN105868709B (en) Method and device for closing fingerprint identification function
JP6431911B2 (en) Method and apparatus for setting a threshold
CN108629178B (en) Resource access authority configuration method and device of application program
US11062640B2 (en) Screen display method and screen display device
EP3629318A2 (en) Method and apparatus for compensating operating parameter of display circuit
CN107734303B (en) Video identification method and device
CN112331158B (en) Terminal display adjusting method, device, equipment and storage medium
CN107656616B (en) Input interface display method and device and electronic equipment
CN106919302B (en) Operation control method and device of mobile terminal
CN105786561B (en) Method and device for calling process
CN107682101B (en) Noise detection method and device and electronic equipment
CN107809538B (en) Alarm clock reminding method and device and computer readable storage medium
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN106775246B (en) Screen brightness adjusting method and device
CN106791057B (en) Alarm clock control method and device
US9723218B2 (en) Method and device for shooting a picture
CN112689047B (en) Display control method and device and electronic equipment
CN113946398A (en) Display control method and device of terminal 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
GR01 Patent grant
GR01 Patent grant