CN108924360B - Display method, storage medium, and electronic device - Google Patents

Display method, storage medium, and electronic device Download PDF

Info

Publication number
CN108924360B
CN108924360B CN201810753096.7A CN201810753096A CN108924360B CN 108924360 B CN108924360 B CN 108924360B CN 201810753096 A CN201810753096 A CN 201810753096A CN 108924360 B CN108924360 B CN 108924360B
Authority
CN
China
Prior art keywords
state
screen
display
display screen
electronic equipment
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
CN201810753096.7A
Other languages
Chinese (zh)
Other versions
CN108924360A (en
Inventor
靳勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810753096.7A priority Critical patent/CN108924360B/en
Publication of CN108924360A publication Critical patent/CN108924360A/en
Application granted granted Critical
Publication of CN108924360B publication Critical patent/CN108924360B/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
    • 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
    • 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
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • 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

Abstract

The embodiment of the application provides a display method, a storage medium and an electronic device. The electronic equipment comprises a display screen, a proximity sensor and a control circuit, wherein the display screen comprises a display state, a screen extinguishing state and a screen displaying state; the proximity sensor is used for detecting whether the current distance between the electronic equipment and an external object is in a proximity state; display screen and proximity sensor are connected with control circuit respectively, and control circuit is used for: when the display screen is in the information screen display state, the electronic equipment and the external object are in the approaching state, and the time length of the approaching state is longer than the preset time length, controlling the display screen to be in the screen extinguishing state; the control circuit is further configured to: when the display screen is in the message screen display state, the electronic equipment and the external object are in the approaching state, and the time length of the approaching state is less than the preset time length, the display screen is kept in the message screen display state. When the electronic equipment is not used, the display screen can be controlled to be in the screen-off state through the control circuit, and the electric quantity of the electronic equipment can be saved.

Description

Display method, storage medium, and electronic device
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a display method, a storage medium, and an electronic device.
Background
With the development of terminal devices such as smart phones and tablet computers, the dependence degree of users on smart phones is higher and higher. According to statistics, users should view the smart phone 150 times per day by lighting up the screen, and most users view the smart phone only for viewing time and notification messages, and for this reason, an Always On Display (AOD) mode is developed for the convenience of users to obtain time and notification messages.
In the related art, the smartphone may keep only a partial area of the screen constantly lit to display time and notification messages. The smart phone may obtain current accurate time through an AP (Application Processor), perform drawing according to the obtained time and a preset display format, obtain a current display screen or an animation, and display according to the obtained current display screen or the obtained current display animation. However, the smart phone may continuously consume the power of the smart phone when the smart phone lights up the screen in the display state of the smart phone, and statistically, the display state of the smart phone may consume about ten percent of the power of the smart phone every day.
Disclosure of Invention
The embodiment of the application provides a display method, a storage medium and an electronic device, which can reduce the consumption of electric quantity of the electronic device under the condition of preventing mistaken touch.
The embodiment of the application provides a display method, which is applied to electronic equipment, wherein the electronic equipment comprises a display screen, the display screen comprises a display state, a screen off state and a screen displaying state, and the method comprises the following steps:
when the display screen is in a message screen display state, detecting whether the current distance between the electronic equipment and an external object is in a close state;
if the electronic equipment is in a close state with an external object, judging whether the duration of the close state is greater than a preset duration;
if the duration of the approaching state is longer than the preset duration, controlling the display screen to be in a screen extinguishing state;
and if the time length of the approaching state is less than the preset time length, keeping the display screen in the message screen display state.
Embodiments of the present application also provide a storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the steps of the method described above.
An embodiment of the present application further provides an electronic device, including:
the display screen comprises a display state, a screen off state and a screen displaying state;
the proximity sensor is used for detecting whether the current distance between the electronic equipment and an external object is in a proximity state or not;
the display screen and the proximity sensor are respectively connected with the control circuit, and the control circuit is used for: when the display screen is in an information screen display state, the electronic equipment and an external object are in an approaching state, and the time length of the approaching state is longer than a preset time length, controlling the display screen to be in a screen off state;
the control circuit is further configured to: when the display screen is in the message screen display state, the electronic equipment and the external object are in the approaching state, and the time length of the approaching state is less than the preset time length, the display screen is kept in the message screen display state.
According to the display method, the storage medium and the electronic device, when the display screen is in the information screen display state, the proximity sensor detects whether the current distance between the electronic device and the external object is in the proximity state, and when the proximity sensor detects that the electronic device and the external object are in the proximity state, the control circuit controls the display screen to display according to the duration of the proximity state. Specifically, when the duration of the approaching state is longer than the preset duration, the control circuit controls the display screen to be in a screen-off state without displaying any information; and when the time length of the approaching state is less than the preset time length, the control circuit keeps the display screen in the information screen display state, namely keeps the display screen to perform AOD display. Therefore, in the process of not using the electronic equipment, the display screen can be controlled to be turned off through the control circuit instead of displaying, and the electric quantity of the electronic equipment can be saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 3 is a frame of an electronic device according to an embodiment of the present application.
Fig. 4 is another frame of an electronic device according to an embodiment of the present disclosure.
Fig. 5 is a schematic flowchart of a display method according to an embodiment of the present application.
Fig. 6 is another schematic flow chart of a display method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
The terms "first," "second," "third," and the like in the description and in the claims of the present application and in the above-described drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the objects so described are interchangeable under appropriate circumstances. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, or apparatus, electronic device, system comprising a list of steps is not necessarily limited to those steps or modules or units explicitly listed, may include steps or modules or units not explicitly listed, and may include other steps or modules or units inherent to such process, method, apparatus, electronic device, or system.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device can be a smart phone, a tablet computer and the like. The electronic device 100 includes a display screen 10, a middle frame 20, a control circuit 30, a battery 40, a rear cover 50, and a proximity sensor 60.
Wherein the display screen 10 is mounted on the middle frame 20 to form a display surface of the electronic device 100. The display screen 10 serves as a front housing of the electronic device 100, and forms a receiving space with the rear cover 50 for receiving other electronic components or functional components of the electronic device 100. Meanwhile, the display screen 10 forms a display surface of the electronic apparatus 100 for displaying information such as images, texts, and the like. The Display screen 10 may be a Liquid Crystal Display (LCD) or an Organic Light-Emitting Diode (OLED) Display screen. In some embodiments, when the display screen 10 is a liquid crystal display screen, the display screen 10 may include a backlight module, a lower polarizer, an array substrate, a liquid crystal layer, a color film substrate, an upper polarizer, and the like, which are sequentially stacked. When the display panel 10 is an organic light emitting diode display panel, the display panel 10 may include a base layer, an anode layer, an organic layer, a conductive layer, an emission layer, a cathode layer, and the like, which are sequentially stacked. In some embodiments, the display screen 10 may be a transparent display screen, and the display screen 10 may have a transparent characteristic through which signals may pass. The display screen 10 may also be a non-transparent display screen.
In some embodiments, a glass cover plate may be disposed over the display screen 10. Wherein, the glass cover plate can cover the display screen 10 to protect the display screen 10 and prevent the display screen 10 from being scratched or damaged by water. In some embodiments, the glass cover plate may be a glass cover plate made of a material such as sapphire.
In some embodiments, as shown in FIG. 1, the display screen 10 may include a display area 11 and a non-display area 12. The display area 11 performs a display function of the display screen 10 for displaying information such as images and texts. The non-display area 12 can be used for setting functional components such as a camera, a receiver, a touch electrode of a display screen, and the like. In some embodiments, the non-display area 12 may include at least one area located at upper and lower portions of the display area 11.
It should be noted that the structure of the display screen 10 is not limited to this, for example, the display screen 10 may be a shaped screen or a full screen. Such as: referring to fig. 2, fig. 2 is another schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 100 in fig. 2 differs from the electronic device 100 in fig. 1 in that: the display screen 10 of the electronic device 100 in fig. 2 may have a full-screen structure, that is, the display area of the display screen 10 may cover the display surface of the electronic device 100. At this time, the display screen 10 may display information in a full screen, so that the electronic apparatus 100 has a large screen occupation ratio. The display screen 10 includes only the display area 11 and no non-display area, or the area of the non-display area is small for the user. At this time, functional components such as a camera, a sensor, and a fingerprint recognition module in the electronic device 100 may be hidden under the display screen 10 or disposed at a side of the electronic device 100. The fingerprint recognition module, the camera, and the like of the electronic apparatus 100 may be provided on the back surface of the electronic apparatus 100.
In some embodiments, the display screen 10 may include a display state, a message screen display state, and an off screen state. Wherein the display state indicates that the display screen 10 is in a normal display state. The off state indicates that the display screen 10 is not lit and is not displaying. The display state of the information screen indicates that the display screen 10 performs partial display, specifically, the display area 11 may include a first display area and a second display area, where the first display area may be located at any position on the display area 11, and the first display area and the second display area form a complete display area 11. The electronic equipment can control the first display area to keep a bright screen state and control the second display area to keep a dark screen state. The first display area may be used to display text or image information such as time and weather, and realize the information display of the display screen 10, that is, AOD display.
The middle frame 20 may have a thin plate-like or sheet-like structure, or may have a hollow frame structure. The middle frame 20 can be accommodated in the accommodating space formed by the display screen 10 and the rear cover 50. The middle frame 20 is used for providing a supporting function for the electronic components or functional modules in the electronic device 100, so as to mount the electronic components or functional modules in the electronic device together. For example, functional components such as a camera, a receiver, a control circuit, and a battery in the electronic apparatus may be mounted on the center frame 20 to be fixed. In some embodiments, the material of the middle frame 20 may include metal or plastic.
The control circuit 30 is mounted in the housing space. For example, the control circuit 30 may be mounted on the middle frame 20 and accommodated in the accommodating space together with the middle frame 20. The control circuit 30 may be a motherboard of the electronic device 100. A ground point is provided on the control circuit 30 to ground the control circuit 30. One, two or more of the functional components such as the motor, the microphone, the speaker, the receiver, the earphone interface, the universal serial bus interface (USB interface), the camera, the distance sensor, the ambient light sensor, the gyroscope, and the application processor may be integrated on the control circuit 30. Meanwhile, the display screen 10 may be electrically connected to the control circuit 30.
In some embodiments, a display control circuit is disposed on the control circuit 30. The display control circuit outputs an electrical signal to the display screen 10 to control the display screen 10 to display information.
The battery 40 is mounted inside the receiving space. For example, the battery 40 may be mounted on the middle frame 20 and be received in the receiving space together with the middle frame 20. The battery 40 may be electrically connected to the control circuit 30 to enable the battery 40 to power the electronic device 100. The control circuit 30 may be provided with a power management circuit. The power management circuit is used to distribute the voltage provided by the battery 40 to the various electronic components in the electronic device 100.
The rear cover 50 is used to form an outer contour of the electronic device 100. The rear cover 50 may be integrally formed. In the forming process of the rear cover 50, a rear camera hole, a fingerprint identification module mounting hole and the like can be formed in the rear cover 50. Wherein the rear cover 50 may cover the battery 40 to protect the battery 40.
The proximity sensor 60 may be provided on the control circuit 30. The proximity sensor 60 may be used to detect a current distance state between the display screen 10 and an external object (e.g., a user's face, hands, etc.), such as when the external object is in proximity to the display screen 10, the proximity sensor 60 detects that the external object and the display screen 10 are in a close state, otherwise in a far state. That is, the proximity sensor 60 is configured to detect whether a current distance between the display screen 10 and an external object is a proximity state, it can be understood that the display screen 10 is located on a display surface of the electronic device 100, and the proximity sensor 60 detects a distance between the display screen 10 and the external object, or it can be understood that the proximity sensor 60 detects a distance between the electronic device 100 and the external object, or it can be understood that the proximity sensor 60 detects a state between the display screen 10 and the external object is a state between the electronic device 100 and the external object.
In the embodiment of the present application, the proximity sensor 60 may be disposed under the display area 11 of the display screen 10, in which case the proximity sensor 60 and the display screen 10 are independent from each other. That is, the proximity sensor 60 is hidden under the display area 11 of the display screen 10. The proximity sensor 60 is not visible when viewed from outside the electronic device 100. In some embodiments, the proximity sensor 60 may also be integrated inside the display area 11 of the display screen 10, in which case the proximity sensor 60 is integrated with the display screen 10, for example, the proximity sensor 60 may be disposed at the gap between the pixels of the display screen 10.
The proximity sensor 60 may be a light sensor, and the light sensor may include a light emitter for emitting light and a light receiver for receiving reflected light, the reflected light being formed by the light emitted from the light emitter being reflected by an external object. Taking the light sensor as an infrared sensor for example, it may include an infrared emitter and an infrared receiver. The infrared ray emitter emits infrared rays to the outside through the display area 11 of the display screen 10. The infrared receiver receives infrared rays reflected by an external object (such as the face, hands and the like of a user). Accordingly, the electronic device 100 may determine the distance between the display screen 10 and the external object according to the intensity of the received infrared ray.
In some embodiments, the control circuit 30 may control the display screen 10 to display. When the display screen 10 is in the message screen display state, the control circuit 30 controls the proximity sensor 60 to detect a state between the electronic device 100 and an external object, and when the proximity sensor 60 detects that the electronic device 100 and the external object are in the proximity state, the control circuit 30 may control the display screen 10 to transition from the message screen display state to the screen off state. The control circuit 30 may further detect the duration of the proximity state through the proximity sensor 60, and if the duration of the proximity state is greater than a preset duration, the control circuit 30 controls the display screen 10 to transition from the rest screen display state to the off screen state. And if the time length of the approaching state is less than the preset time length, the control circuit 30 controls the display screen 10 to keep the message screen display state. Wherein the preset time period may be 2 seconds, 3 seconds, etc.
It should be noted that, in the actual usage process, in order to prevent the misoperation, when the duration of the proximity state is less than the preset duration, the control circuit 30 further detects the number of times of interruption in the proximity state through the proximity sensor 60, and if the number of times of interruption in the proximity state is greater than the preset number of times, the control circuit 30 controls the display screen 10 to transition from the off-screen display state to the off-screen state. If the number of interruptions in the proximity state is less than the preset number, it indicates that there is a possibility of a user performing a wrong operation, and at this time, the control circuit 30 controls the display screen 10 to continue to maintain the message screen display state. The preset times are, for example, 3 times, 4 times, and the like.
In some embodiments, when the display screen 10 is in the message display state, the control circuit 30 controls the display screen 10 to continue to maintain the message display state when the proximity sensor 60 detects that the electronic device 10 and the external object are not in the proximity state, that is, when the proximity sensor 60 detects that the electronic device 10 and the external object are in the distant state.
In some embodiments, referring to fig. 3, the electronic device 100 may include a processor 31 and a memory 32, wherein the processor 31 and the memory 32 may be integrated on the control circuit 30.
The processor 31 is a control center of the electronic device 100, connects various parts of the whole electronic device by using various interfaces and lines, and executes various functions of the electronic device 100 and processes data by running or calling a computer program stored in the memory 32 and calling data stored in the memory 32, thereby performing overall monitoring of the electronic device 100. The processor 31 is connected to the display screen 10, the proximity sensor 60, and the memory 32.
The memory 32 may store a computer-readable program and data, and the computer program stored in the memory 32 includes instructions executable in the processor 31. The computer program may constitute various functional modules. The processor 31 executes various functional applications and data processing by calling a computer program stored in the memory 32.
In some embodiments, the processor 31 may control the display state of the display screen 10 based on data detected by the proximity sensor 60. The processor 31 may load instructions corresponding to the processes of one or more computer programs into the memory 32, and the processor 31 may execute the computer programs stored in the memory 32.
In some embodiments, the processor 31 controls the proximity sensor 60 to detect a state between the electronic device 100 and an external object when the display screen 10 is in the message display state, and the processor 31 may control the display screen 10 to transition from the message display state to the screen-off state when the proximity sensor 60 detects a state between the electronic device 100 and the external object. The processor 31 may further detect the duration of the proximity state through the proximity sensor 60, and if the duration of the proximity state is greater than a preset duration, the processor 31 controls the display screen 10 to transition from the rest screen display state to the off screen state. And if the time length of the approaching state is less than the preset time length, the processor 31 controls the display screen 10 to continuously keep the message screen display state. Wherein the preset time period may be 2 seconds, 3 seconds, etc.
It should be noted that, in the actual use process, in order to prevent the misoperation, when the duration of the proximity state is less than the preset duration, the processor 31 further detects the number of interrupts in the proximity state through the proximity sensor 60, and if the number of interrupts in the proximity state is greater than the preset number, the processor 31 controls the display screen 10 to transition from the off-screen display state to the off-screen state. And if the interruption times of the approaching state is less than the preset times, it indicates that there is a possibility of misoperation by the user, and at this time, the processor 31 controls the display screen 10 to continue to maintain the message screen display state. The preset times are, for example, 3 times, 4 times, and the like.
It should be noted that the structure of the electronic device 100 is not limited to this, for example: referring to fig. 4, fig. 4 is another schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic apparatus 100 may further include a radio frequency circuit 33, an audio circuit 34, an input-output unit 35, and a camera 70.
The radio frequency circuit 33 is configured to transmit and receive radio frequency signals, so as to communicate with a network device or other electronic devices through wireless communication.
The audio circuit 34 may provide an audio interface between the user and the electronic device through a speaker or microphone, among other things.
The input/output unit 35 may be used for receiving input numbers, character information, or user characteristic information (e.g., fingerprint), and generating keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control, among others. The input/output unit 35 may include a fingerprint recognition module.
The camera 70 may include a front camera and/or a rear camera, the front camera may be disposed below the display screen 10, and the rear camera may be disposed on the middle frame 20.
The sensor 60 may be the proximity sensor 60 described above, and it should be noted that the sensor 60 is not limited to the proximity sensor 60, and the sensor may also include other sensors that can collect information of the environment outside the electronic device 100, such as: one or more of an ambient brightness sensor, an acceleration sensor, a gyroscope sensor, a gravity sensor and the like.
Although the electronic device 100 in fig. 4 is not shown, the electronic device 100 may further include a bluetooth module or the like, which is not described herein.
As can be seen from the above, when the duration of the approaching state is longer than the preset duration, the processor controls the display screen to be in the screen-off state without any display; and when the time length of the approaching state is less than the preset time length, the processor keeps the display screen in the information screen display state, namely keeps the display screen to perform AOD display. Therefore, the display screen can be controlled to be turned off by the processor instead of displaying during the process of not using the electronic equipment. Therefore, under the condition of preventing misoperation, the electric quantity of the electronic equipment can be saved.
To further describe the control of the display screen 10 by the processor 31 of the control circuit 30 in the embodiment of the present application, the following description is made from the perspective of the display method of the display screen 10.
Referring to fig. 5, fig. 5 is a schematic flow chart of a display method according to an embodiment of the present disclosure. The display method may be applied to the electronic device 100, and the display method may include:
1001, when the display screen is in the message screen display state, detecting whether the current distance between the electronic device and the external object is in the approaching state.
It can be understood that the state of the display screen can be detected by the processor of the control circuit, if the display screen is in the display state of the information screen, then the control circuit controls the proximity sensor to be turned on, the current distance relationship between the electronic device and the external object is detected by the proximity sensor, and then the processor controls the display of the display screen according to the data detected by the proximity sensor.
And 1002, if the electronic equipment is in a close state with an external object, judging whether the time length of the close state is greater than a preset time length.
When the proximity sensor detects that the state between the electronic device and the external object is the proximity state, it indicates that the external object, such as a human face, is closer to the electronic device, and then the processor further determines whether the duration of the proximity state is greater than a preset duration.
1003, if the duration of the approaching state is longer than the preset duration, controlling the display screen to be in a screen-off state.
It can be understood that when the proximity sensor detects that the time length of the proximity state between the electronic device and the external object is longer than the preset time length, the processor can judge that the electronic device is in the non-use state, and at the moment, the processor can control the display screen not to display, that is, the processor can control the display screen to be in the screen-off state.
1004, if the duration of the approaching state is less than the preset duration, keeping the display screen in the message screen display state.
It can be understood that, when the proximity sensor detects that the time length of the proximity state between the electronic device and the external object is less than the preset time length, the processor may determine that the operation at this time may be a misoperation of the user, and therefore, the processor does not need to change the state of the display screen, that is, the processor controls the display screen to continue to maintain the display state of the message screen.
As can be seen from the above, when the duration of the approaching state is longer than the preset duration, the processor controls the display screen to be in the screen-off state without any display; and when the time length of the approaching state is less than the preset time length, the processor keeps the display screen in the information screen display state, namely keeps the display screen to perform AOD display. Therefore, the display screen can be controlled to be turned off by the processor instead of displaying during the process of not using the electronic equipment. Therefore, under the condition of preventing misoperation, the electric quantity of the electronic equipment can be saved.
Note that the display method in the embodiment of the present application is not limited to this.
Referring to fig. 6, fig. 6 is another schematic flow chart of a display method according to an embodiment of the present disclosure. The display method may be applied to the electronic device 100, and the display method may include:
2001, when the display screen is in the message screen display state, a state of a current distance of the electronic device from the external object is detected.
It can be understood that the state of the display screen can be detected by the processor of the control circuit, if the display screen is in the display state of the information screen, then the control circuit controls the proximity sensor to be turned on, the current distance relationship between the electronic device and the external object is detected by the proximity sensor, and then the processor controls the display of the display screen according to the data detected by the proximity sensor. The current distance state between the electronic device and the external object may include a close state and a far state.
2002, determining whether the current distance between the electronic device and the external object is in a close state.
It will be appreciated that the proximity sensor may detect the status of the current distance between the electronic device and the foreign object, and then the proximity sensor may transmit the detected data to the processor.
2003, if the electronic equipment and the external object are in the approaching state, judging whether the duration of the approaching state is greater than the preset duration.
It can be understood that when the proximity sensor detects that the state between the electronic device and the external object is the proximity state, it indicates that the external object, such as a human face, is relatively close to the electronic device, and then the processor further determines whether the duration of the proximity state is greater than the preset duration.
2004, if the electronic device is not in the proximity state with the external object, the display screen is kept in the information screen display state.
It is understood that when the proximity sensor detects that the state between the electronic device and the external object is the distant state, the processor controls the display screen to continue to maintain the screen display state, so that the user views the content displayed in the screen display state, such as time and the like.
2005, if the duration of the proximity state is smaller than the preset duration, it is further determined whether the number of times of interruption of the proximity state is larger than the preset number of times.
It can be understood that when the time length of the proximity sensor detecting the proximity state between the electronic device and the external object is less than the preset time length, there may be a user misoperation, and there may also be a user non-misoperation, and further judgment is required. And then, the processor further acquires data, continuously judges whether the interruption times of the proximity state is greater than the preset times through the proximity sensor, and if the interruption times is less than the preset times, the user performs misoperation, the 2004 is entered, namely the processor keeps the display screen in the information screen display state. And if the interruption times are greater than the preset times, which indicates that the user wants to turn off the AOD display, step 2006 is entered, i.e., the processor controls the display screen to be in a screen-off state.
And 2006, if the duration of the approaching state is greater than the preset duration, controlling the display screen to be in a screen-off state.
It can be understood that when the proximity sensor detects that the time length of the proximity state between the electronic device and the external object is longer than the preset time length, the processor can judge that the electronic device is in the non-use state, and at the moment, the processor can control the display screen not to display, that is, the processor can control the display screen to be in the screen-off state.
The embodiment of the present application further provides a storage medium, which stores a computer program or an instruction, and the program or the instruction realizes the display method according to any one of the above embodiments when being executed by the application processor 31.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, which may include, but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The display method, the storage medium, and the electronic device provided in the embodiments of the present application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (4)

1. A display method is applied to electronic equipment, and is characterized in that the electronic equipment comprises a display screen, and the display screen comprises a display state, a screen off state and a screen displaying state, and the method comprises the following steps:
when the display screen is in a message screen display state, detecting whether the current distance between the electronic equipment and an external object is in a close state;
if the electronic equipment is in a close state with an external object, judging whether the duration of the close state is greater than a preset duration;
if the duration of the approaching state is longer than the preset duration, controlling the display screen to be in a screen extinguishing state;
if the duration of the approaching state is less than the preset duration, acquiring the number of times of interruption of the approaching state of the electronic equipment and an external object;
if the interruption times are greater than the preset times, controlling the display screen to be in a screen-off state;
if the interruption times are less than the preset times, keeping the display screen in a message screen display state;
and if the electronic equipment is not in a close state with the external object, keeping the display screen in a message screen display state.
2. A storage medium on which a computer program is stored which, when being executed by a processor, carries out the steps of the method as claimed in claim 1.
3. An electronic device, comprising:
the display screen comprises a display state, a screen off state and a screen displaying state;
the proximity sensor is used for detecting whether the current distance between the electronic equipment and an external object is in a proximity state or not;
the display screen and the proximity sensor are respectively connected with the control circuit, and the control circuit is used for: when the display screen is in an information screen display state, the electronic equipment and an external object are in an approaching state, and the time length of the approaching state is longer than a preset time length, controlling the display screen to be in a screen off state;
the control circuit is further configured to:
when the display screen is in an information screen display state, the electronic equipment and an external object are in an approaching state, and the time length of the approaching state is less than a preset time length, acquiring the number of times of interruption of the approaching state of the electronic equipment and the external object;
when the interruption times are greater than the preset times, controlling the display screen to be in a screen-off state;
when the interruption times are less than the preset times, keeping the display screen in a message screen display state;
and when the display screen is in the message screen display state and the electronic equipment is not in the state of being close to the external object, keeping the display screen in the message screen display state.
4. The electronic device of claim 3, wherein the proximity sensor is disposed below the display screen.
CN201810753096.7A 2018-07-10 2018-07-10 Display method, storage medium, and electronic device Active CN108924360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810753096.7A CN108924360B (en) 2018-07-10 2018-07-10 Display method, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810753096.7A CN108924360B (en) 2018-07-10 2018-07-10 Display method, storage medium, and electronic device

Publications (2)

Publication Number Publication Date
CN108924360A CN108924360A (en) 2018-11-30
CN108924360B true CN108924360B (en) 2021-03-02

Family

ID=64411804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810753096.7A Active CN108924360B (en) 2018-07-10 2018-07-10 Display method, storage medium, and electronic device

Country Status (1)

Country Link
CN (1) CN108924360B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031594A (en) * 2019-12-03 2020-04-17 Oppo广东移动通信有限公司 Doze mode control method, device, mobile terminal and storage medium
CN113132535B (en) * 2021-04-23 2023-07-14 广州众恩数智技术有限公司 Screen state control method and device, storage medium and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8373648B2 (en) * 2010-07-23 2013-02-12 Capella Microsystems, Corp. Proximity sensor, control method thereof, and electronic apparatus equipped with the same
CN106790978A (en) * 2016-11-18 2017-05-31 广东欧珀移动通信有限公司 The control method of mobile terminal screen state, device and mobile terminal
CN107797746A (en) * 2017-11-22 2018-03-13 广东欧珀移动通信有限公司 Display panel control method, device, storage medium and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815127B (en) * 2010-04-12 2014-08-20 中兴通讯股份有限公司 Mobile terminal and method for adjusting visual effect of screen thereof
CN101951444A (en) * 2010-09-29 2011-01-19 中兴通讯股份有限公司 Method for realizing screen locking and unlocking of mobile terminal and mobile terminal
CN102984372A (en) * 2012-11-21 2013-03-20 广东欧珀移动通信有限公司 Method and device for extinguishing and lighting screen and mobile terminal
CN104918309A (en) * 2015-06-08 2015-09-16 青岛海信移动通信技术股份有限公司 Energy-saving method and device for mobile terminal
CN106200989B (en) * 2016-09-08 2019-11-12 广东小天才科技有限公司 A kind of method and device of the bright screen of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8373648B2 (en) * 2010-07-23 2013-02-12 Capella Microsystems, Corp. Proximity sensor, control method thereof, and electronic apparatus equipped with the same
CN106790978A (en) * 2016-11-18 2017-05-31 广东欧珀移动通信有限公司 The control method of mobile terminal screen state, device and mobile terminal
CN107797746A (en) * 2017-11-22 2018-03-13 广东欧珀移动通信有限公司 Display panel control method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN108924360A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
US11175824B2 (en) Method for detecting ambient light intensity, storage medium and electronic device
CN107968883B (en) Distance state detection method and device, storage medium and electronic equipment
US8909300B2 (en) Mobile terminal and controlling method of displaying direction
CN109064996B (en) Display adjustment method and device, storage medium and electronic equipment
KR102070116B1 (en) Method for controlling portable device by using humidity sensor and portable device thereof
CN109729344B (en) Camera detection device and method and mobile terminal
KR20150049045A (en) Method and apparautus for controlling the brightness of the screen in portable device
CN112229507B (en) Ambient light detection method and device, storage medium and mobile terminal
CN109143717B (en) Control method and device of electronic equipment, storage medium and electronic equipment
CN111754954A (en) Screen brightness adjusting method and device, storage medium and electronic equipment
CN109246288B (en) Control method and device of electronic equipment, storage medium and electronic equipment
CN107945733B (en) Brightness of display screen method of adjustment, device, storage medium and electronic equipment
CN108920059A (en) Message treatment method and mobile terminal
CN107917755A (en) Environment light detection method, device, storage medium and electronic equipment
CN110278325B (en) Electronic device providing notification through display and control method thereof
CN110661949A (en) Control method of display panel and electronic equipment
CN107818038B (en) Information prompting method and mobile terminal
CN107959752B (en) Display screen state control method and device, storage medium and terminal
CN108737652A (en) Luminance control method for display screen, device, storage medium and electronic equipment
CN108549519A (en) split screen processing method, device, storage medium and electronic equipment
CN107613139B (en) Schedule reminding method and mobile terminal
CN111949879A (en) Method and device for pushing message, electronic equipment and readable storage medium
CN108924360B (en) Display method, storage medium, and electronic device
CN111694478A (en) Content display method, device, terminal and storage medium
CN107124902B (en) Display screen backlight control method and device 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