WO2018161739A1 - 显示屏状态控制方法、装置、存储介质及终端 - Google Patents

显示屏状态控制方法、装置、存储介质及终端 Download PDF

Info

Publication number
WO2018161739A1
WO2018161739A1 PCT/CN2018/074600 CN2018074600W WO2018161739A1 WO 2018161739 A1 WO2018161739 A1 WO 2018161739A1 CN 2018074600 W CN2018074600 W CN 2018074600W WO 2018161739 A1 WO2018161739 A1 WO 2018161739A1
Authority
WO
WIPO (PCT)
Prior art keywords
threshold
value
signal strength
adjustment amount
proximity sensor
Prior art date
Application number
PCT/CN2018/074600
Other languages
English (en)
French (fr)
Inventor
周意保
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018161739A1 publication Critical patent/WO2018161739A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • 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

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a display state control method, apparatus, storage medium, and terminal.
  • Intelligent terminals usually use an infrared emitter and an infrared receiver to detect the proximity or remote state between the smart terminal and an external object.
  • the infrared emitter emits infrared rays, which are reflected by the barrier to form reflected light. After receiving the reflected light, the infrared receiver determines whether the smart terminal is close to or away from the obstacle according to the intensity value of the reflected light.
  • the external environment also contains infrared rays, for example, sunlight contains a large amount of infrared rays. Especially in strong sunlight, infrared rays are more intense.
  • the infrared receiver in the smart terminal is affected by infrared rays in the external environment.
  • the receiving angle of the infrared receiver in the smart terminal is also constantly changing, so that the infrared intensity value received by the infrared receiver is fluctuating, thereby As a result, the smart terminal constantly appears to be off-screen, bright-screen operation, that is, a splash screen phenomenon occurs.
  • the embodiment of the present application provides a display state control method, device, storage medium, and terminal, which can improve the accuracy of the terminal display state control, thereby improving the stability of the terminal.
  • the embodiment of the present application provides a display state control method, which is applied to a terminal, where the terminal includes a display screen and a proximity sensor, and the display state control method includes:
  • the signal strength base value is a signal strength value detected by the proximity sensor when the display screen side of the terminal is not blocked by an external object:
  • a state of the display screen is controlled based on the threshold and a signal strength value detected by the proximity sensor.
  • the embodiment of the present application provides a display state control device, which is applied to a terminal, where the terminal includes a display screen and a proximity sensor, and the display state control device includes:
  • a first acquiring module configured to obtain a signal strength base value, where the signal strength base value is a signal strength value detected by the proximity sensor when the display screen side of the terminal is not blocked by an external object:
  • a second acquiring module configured to acquire a threshold adjustment amount of the proximity sensor according to an environmental state in which the terminal is located
  • a determining module configured to determine a threshold of the proximity sensor according to the signal strength base value and the threshold adjustment amount
  • control module configured to control a state of the display screen according to the threshold and a signal strength value detected by the proximity sensor.
  • an embodiment of the present application provides a storage medium, where the computer program stores a computer program, and when the computer program runs on a computer, the computer executes the display state control method.
  • an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program Implement the following steps:
  • the signal strength base value is a signal strength value detected by the proximity sensor when the display screen side of the terminal is not blocked by an external object:
  • a state of the display screen is controlled based on the threshold and a signal strength value detected by the proximity sensor.
  • FIG. 1 is a schematic structural diagram of a terminal in an embodiment of the present application.
  • FIG. 2 is a schematic view showing the first structure of the panel assembly in the embodiment of the present application.
  • FIG. 3 is a schematic diagram of a second structure of the panel assembly in the embodiment of the present application.
  • FIG. 4 is a schematic view showing a third structure of the panel assembly in the embodiment of the present application.
  • FIG. 5 is a schematic diagram of a fourth structure of the panel assembly in the embodiment of the present application.
  • FIG. 6 is a schematic diagram of a fifth structure of the panel assembly in the embodiment of the present application.
  • FIG. 7 is a sixth structural diagram of a panel assembly in an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a first flow chart of a display state control method according to an embodiment of the present disclosure.
  • FIG. 9 is a second schematic flowchart of a display state control method according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of a third process of a display state control method according to an embodiment of the present disclosure.
  • FIG. 11 is a fourth schematic flowchart diagram of a display state control method according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram of a fifth process of a display state control method according to an embodiment of the present disclosure.
  • FIG. 13 is a sixth schematic flowchart of a display state control method according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic diagram of a first structure of a display state control device according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic diagram of a second structure of a display state control device according to an embodiment of the present disclosure.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” or “second” may include one or more of the described features either explicitly or implicitly.
  • the meaning of "a plurality” is two or more unless specifically and specifically defined otherwise.
  • connection In the description of the present application, it should be noted that the terms “installation”, “connected”, and “connected” are to be understood broadly, and may be fixed or detachable, for example, unless otherwise specifically defined and defined. Connected, or integrally connected; may be mechanically connected, may be electrically connected or may communicate with each other; may be directly connected, or may be indirectly connected through an intermediate medium, may be internal communication of two elements or interaction of two elements relationship.
  • Connected, or integrally connected may be mechanically connected, may be electrically connected or may communicate with each other; may be directly connected, or may be indirectly connected through an intermediate medium, may be internal communication of two elements or interaction of two elements relationship.
  • the specific meanings of the above terms in the present application can be understood on a case-by-case basis.
  • the first feature "on” or “under” the second feature may include direct contact of the first and second features, and may also include first and second features, unless otherwise specifically defined and defined. It is not in direct contact but through additional features between them.
  • the first feature “above”, “above” and “above” the second feature includes the first feature directly above and above the second feature, or merely indicating that the first feature level is higher than the second feature.
  • the first feature “below”, “below” and “below” the second feature includes the first feature directly below and below the second feature, or merely the first feature level being less than the second feature.
  • FIG. 1 is a schematic structural diagram of a terminal 1000 in an embodiment of the present application.
  • the terminal 1000 is, for example, an electronic device such as a mobile phone or a tablet computer. It is to be understood that the terminal 1000 includes, but is not limited to, an example of the present embodiment.
  • the terminal 1000 includes a panel assembly 100 and a housing 200.
  • the panel assembly 100 is disposed on and coupled to the housing 200. It can be understood that the terminal 1000 can also include a receiver.
  • the non-display area 100a of the panel assembly 100 is provided with an opening 300 for the sound of the receiver.
  • the terminal 1000 may further include a fingerprint identification module 400.
  • the fingerprint identification module 400 is disposed on the non-display of the panel assembly 100. Area 100a.
  • the display area 100b of the panel assembly 100 can be used to display a picture or for user touch manipulation or the like.
  • the panel assembly 100 may be a touch panel assembly, a panel assembly, or a terminal panel assembly having other functions, and the like.
  • FIG. 2 is a schematic diagram of a first structure of the panel assembly 100 in the embodiment of the present application.
  • the panel assembly 100 includes a sensor module 11, a cover assembly 12, and a control circuit 13.
  • the sensor module 11 is disposed on an inner surface side of the cover assembly 12 , and the sensor module 11 is spaced apart from the cover assembly 12 .
  • the control circuit 13 is communicatively coupled to the sensor module 11 and the cover assembly 12.
  • the control circuit 13 is a main board, and the sensor module 11 is a proximity sensor.
  • the sensor module 11 is fixedly disposed on the main board.
  • the sensor module 11 includes a first signal transmitter 111, a first signal receiver 112, and a second signal receiver 113.
  • the signal transmitter 111 is used to transmit signals outward.
  • the signal receiver 112 and the signal receiver 113 are for receiving signals reflected by external objects.
  • the sensor module 11 may also include only the signal transmitter 111 and the signal receiver 112.
  • the above signal may be an optical signal such as an infrared ray or a laser light, or may be an acoustic wave signal such as an ultrasonic wave.
  • the signal is an optical signal
  • the signal transmitter is an optical transmitter
  • the signal receiver is an optical receiver.
  • the first light emitter 111 is configured to emit a probe light having a wavelength greater than 850 nm, such as infrared light, which is an infrared emitter.
  • the first light emitter 111 may be an LED (Light Emitting Diode) that emits infrared light.
  • the first light receiver 112 can be an infrared light receiver for receiving a low beam signal formed after the detection light is reflected by the barrier 70.
  • the barrier 70 is generally a human face and is applied to a scene when the user approaches or is away from the face during a call.
  • the second light receiver 113 can be an infrared light receiver for receiving a high beam signal formed by the detection light reflected by the barrier 70.
  • the low beam signal indicates that the light receiver incident after being reflected by the barrier is closer to the first light emitter 111
  • the high beam signal indicates that the light receiver incident after being reflected by the barrier is away from the light receiver The first light emitter 111 is far away.
  • the distance between the first light receiver 112 and the first light emitter 111 is smaller than the distance between the second light receiver 113 and the first light emitter 111. Therefore, when the cover assembly 12 is far from the barrier, the change in light intensity of the second light receiver 113 is more sensitive. When the cover assembly 12 is closer to the barrier, the change in light intensity of the first light receiver 112 is more sensitive. Therefore, in a specific application, the terminal can determine whether the terminal is far away or close according to the light intensity value of the reflected light received by the first light receiver 112 and the second light receiver 113, which can greatly improve the accuracy of the judgment. Sex is good for improving the user experience.
  • the first light emitter 111 and the first light receiver 112 may be integrally disposed in a first integrated chip to form a two-in-one chip. Of course, it can also be separated into two independent chips.
  • the cover assembly 12 includes a cover plate 121, a first adhesion layer 122 disposed on an inner surface of the cover plate 121, and a second adhesion layer 123 disposed on a side of the first adhesion layer 122 away from the cover plate 121. .
  • the first adhesion layer 122 completely covers the second adhesion layer 123.
  • the first adhesion layer 122 and the second adhesion layer 123 constitute an adhesion layer.
  • the first adhesion layer 122 and the second adhesion layer 123 are disposed to achieve the effect of hiding the inner structural member of the terminal 1000 and the second adhesion layer 123. That is, when the user observes the outside of the cover plate 121, only the first adhesion layer 122 can be seen, and the second adhesion layer 123 cannot be seen.
  • the cover plate 121 may be a transparent glass cover plate.
  • the cover plate 121 can be a glass cover plate made of a material such as sapphire.
  • the adhesion layer may be an ink layer or a coating formed by other materials.
  • the adhesion layer is an ink layer
  • the first adhesion layer is a light-transmitting ink layer
  • the second adhesion layer is a light-shielding ink layer.
  • the light transmissive ink layer 122 is a light transmissive ink layer for transmitting most of the light.
  • the light transmittance of the ink layer can be set according to actual needs.
  • the visible light of the light-transmitting ink layer 122 (such as visible light having a wavelength of 550 nm) has a transmittance of between 2% and 10%
  • the optical signal of the proximity sensor (such as the wavelength is The infrared transmittance at 850 nm is greater than or equal to 80%.
  • the light transmissive ink layer 122 can include a plurality of layers of light transmissive ink sub-layers 1221.
  • the light transmissive ink layer 122 has three layers of light transmissive ink sublayers 1221, and each of the light transmissive ink sublayers 1221 is formed by white ink spraying or printing.
  • the white ink is only an example, and the light transmissive ink layer 122 can also be designed into other colors according to different aesthetic requirements.
  • the appearance color appearance of the terminal 1000 is also different.
  • the appearance of the terminal 1000 appears white, that is, the terminal 1000 is a white model.
  • the appearance of the terminal 1000 is gold, that is, the terminal 1000 is a gold model.
  • the light-shielding ink layer 123 is an ink layer that can be shielded from light to block most of the light.
  • the light-shielding ink layer 123 may be formed by spraying or printing with black ink.
  • the light-shielding ink layer 123 includes a first region and a second region.
  • the transmittance of the first region to light is greater than the transmittance of the second region to light.
  • the first region can be understood as a light-transmitting region for transmitting most of the light.
  • This second area can be understood as a light-shielding area for shielding most of the light.
  • the light transmissive ink layer 122 covers the first region on the light shielding ink layer 123.
  • the transmittance of the light-transmitting ink layer 122 to light is greater than the transmittance of the light-shielding ink layer 123 to light.
  • the above transmittance may include transmittance to infrared rays, transmittance to laser light, and transmittance to visible light.
  • the light-shielding ink layer 123 is provided with a first light-passing hole 124 and a second light-passing hole 125.
  • the first light passing hole 124 and the second light passing hole 125 are for transmitting light.
  • the first light passing hole 124 and the second light passing hole 125 form a first region, and a region other than the first light passing hole 124 and the second light passing hole 125 on the light shielding ink layer 123 is a second region.
  • the first light-passing hole 124 and the second light-passing hole 125 can also be filled with a light-transmitting material, and the light-transmitting material can have the same color as the light-transmitting ink layer 122.
  • the first light passing hole 124 may include a separated first light emitting hole 1241 and a first light receiving hole 1242.
  • the first light emitter 111 is opposite to the first light emitting hole 1241, and the detecting light is emitted outward through the first light emitting hole 1241.
  • the first light receiver 112 is opposite to the first light receiving hole 1242, and receives the reflected light of the detecting light through the first light receiving hole 1242.
  • the second light passing hole 125 is opposite to the second light receiving unit 113.
  • the second light receiving unit 113 receives the reflected light of the detecting light through the second light passing hole 125.
  • the shape of the first light emitting hole 1241, the first light receiving hole 1242, and the second light passing hole 125 can be set according to actual needs. For example, it may be a shape such as a circle, a rectangle, a rounded rectangle, or the like.
  • the sensitivity of the sensor is increased, and the opening area of the first light receiving hole 1242 and the second light passing hole 125 may be larger than the first opening.
  • the first light-passing hole 124 can also be a larger hole for the first light emitter 111 and the first light receiver 112. use.
  • control circuit 13 is communicatively coupled to the first light emitter 111, the first light receiver 112, and the second light receiver 113, and the first light emitter 111, the first light receiver 112, and The second light receivers 113 are all fixedly disposed on the main board.
  • the first optical receiver 112 is closer to the first optical receiver 112 because the distance between the first optical receiver 112 and the second optical receiver 113 is different from the first optical transmitter 111.
  • the first light emitter 111 when the panel assembly 100 is closer to the barrier, the second light receiver 113 is far away from the first light emitter 111, and receives less light, and the light intensity changes. The value does not change much with distance.
  • the reflected light is weak, and the light emitted by the first light emitter 111 is directly reflected by the internal light into the first light receiver 112, and the first light receiver 112 receives
  • the base value of the light intensity value is large, and the cover plate is far away from the barrier, and the light intensity value of the reflected light is small, so the reflected light received by the first light receiver is not significantly changed for the detected light intensity.
  • the distance of the second light receiver 113 from the first light emitter 111 is relatively far from the first light receiver 112. Therefore, the light emitted by the first light emitter 111 is internally reflected into the second light receiver 113.
  • the portion has a small portion, and the base light intensity value is small, and the reflected light after the reflection enters the second light receiver 113, the light intensity changes relatively.
  • the control circuit 13 controls the first light emitter 111 to emit the detection light, and determines, according to the light intensity value of the reflected light received by the first light receiver 112 and the second light receiver 113, Whether the terminal of the panel assembly 100 is close to or away from the face.
  • the control cover assembly 12 is illuminated when it is judged to be away from the face, and the control cover assembly 12 is turned off when it is judged to be close to the face.
  • the terminal When the light intensity value received by the first light receiver 113 reaches the first proximity threshold or the light intensity value received by the second light receiver 113 reaches the second proximity threshold, the terminal is determined to be close to the human face. When the light intensity value received by the first light receiver 113 reaches the first distance threshold and the light intensity value received by the second light receiver 113 reaches the second distance threshold, the terminal is determined to be away from the human face.
  • FIG. 4 is another schematic structural diagram of the panel assembly 100 in the embodiment of the present application.
  • the panel assembly 100 includes a sensor module 21, a cover assembly 22, and a control circuit 23.
  • the sensor module 21 is disposed on one side of the inner surface of the cover assembly 22, and the sensor module 21 is spaced apart from the cover assembly 22.
  • the control circuit 23 is communicatively coupled to the sensor module 21 and the cover assembly 22.
  • the control circuit 23 is a main board, and the sensor module 21 is fixedly disposed on the main board.
  • the sensor module 21 includes a first light emitter 211, a first light receiver 212, a second light receiver 213, a second light emitter 214, a first ambient brightness sensor 215, and a second ambient brightness sensor 216.
  • the sensor module 21 can also include a circuit board.
  • the first light emitter 211, the first light receiver 212, the second light receiver 213, the second light emitter 214, the first ambient light sensor 215, and the second ambient light sensor 216 may be disposed on the circuit board.
  • the first light emitter 211 and the second light emitter 214 are both used to emit invisible light having a wavelength greater than 850 nm, such as infrared light.
  • the first light emitter 211 and the second light emitter 214 are both infrared light emitters.
  • the first light receiver 212 and the second light receiver 213 may each be an infrared light receiver.
  • the first light receiver 212 is configured to receive a low beam signal formed after the detection light is reflected by the barrier.
  • the second light receiver 214 is configured to receive a high beam signal formed after the probe light is reflected by the barrier.
  • the distance between the first light receiver 212 and the first light emitter 211 is smaller than the distance between the second light receiver 213 and the first light emitter 211.
  • the low beam signal indicates that the light receiver incident after being reflected by the barrier is closer to the first light emitter 211
  • the high beam signal indicates that the light receiver incident after being reflected by the barrier is away from the light receiver The first light emitter 211 is far away.
  • the distance between the first light receiver 212 and the first light emitter 211 is smaller than the distance between the second light receiver 213 and the first light emitter 211. Therefore, when the first light emitter 211 is used as the probe light emitting person, and when the panel assembly 100 is far from the barrier, the light intensity change detection of the second light receiver is more sensitive; when the panel assembly 100 The light intensity change detection of the first light receiver is more sensitive when the barrier is closer.
  • the second light emitter 214 is used as the probe light emitting person, and when the panel assembly 100 is far from the barrier, the light intensity change detection of the second light receiver 214 is more sensitive; when the panel assembly 100 is away from the distance The light intensity change detection of the first light receiver 212 is more sensitive when the barrier is closer.
  • the control circuit 23 can select one of the first light emitter 211 and the second light emitter 214 as the probe light emitter.
  • the first light emitter 211 is used as the probe light.
  • the issuer when the control circuit 23 detects that the first light emitter 211 is abnormal or damaged, uses the second light emitter 214 as the probe light emitter.
  • the first light emitter 211, the first light receiver 212, and the first ambient light sensor 215 can be integrally disposed on one integrated chip to form a three-in-one chip.
  • the second light emitter 214, the second light receiver 213, and the second ambient light sensor 216 can be integrally disposed on another integrated chip to form another three-in-one chip.
  • the sensor module 21 may include only the light emitter 211, the first light receiver 212, the second light receiver 213, and the ambient brightness sensor 216.
  • the light emitter 211, the first light receiver 212, the second light receiver 213, and the ambient brightness sensor 216 may be disposed on a circuit board.
  • the light emitter 211 and the first light receiver 212 may be integrally disposed on one integrated chip to form a two-in-one chip.
  • the second light receiver 213 and the ambient light sensor 216 can be integrally disposed on another integrated chip to form another two-in-one chip.
  • the two 2-in-1 chips described above may be spaced apart on the circuit board.
  • the distance between the two two-in-one chips is between 2 mm and 12 mm. This distance is the distance between the geometric centers of the two 2-in-1 chips.
  • the cover plate assembly 22 includes a cover plate 221, a light transmissive ink layer 222 disposed on an inner surface of the cover plate 221, and a light shielding ink layer 223 disposed on a side of the light transmissive ink layer 222 away from the cover plate 221.
  • the light transmissive ink layer 122 and the light shielding ink layer 123 constitute an ink layer.
  • the light transmissive ink layer 222 may include a plurality of light transmissive ink sublayers 2221.
  • the light transmissive ink layer 222 has three transparent ink sublayers 2221, each of which has a light transmissive ink sublayer. 2221 is formed by white ink spraying or printing.
  • the white ink is only an example, and the transparent ink layer 222 can also be designed into other colors according to different aesthetic requirements.
  • the light-shielding ink layer 223 may be formed by spraying or printing with black ink.
  • a first light-passing hole 224 and a second light-passing hole 225 are defined in the light-shielding ink layer 223.
  • the light transmissive ink layer 222 on the light-shielding ink layer 223 in this embodiment may be an ink layer that can transmit light.
  • the light transmittance of the ink layer can be set according to actual needs.
  • the visible light of the light-transmitting ink layer 222 (such as visible light having a wavelength of 550 nm) has a transmittance of between 2% and 10%, and the optical signal of the proximity sensor (such as the wavelength is The infrared transmittance at 850 nm is greater than or equal to 80%.
  • the first light passing hole 224 may include a separated first light emitting hole 2241 and a first light receiving hole 2242.
  • the first light emitter 211 is opposite to the first light emitting hole 2241, and the detecting light is emitted outward through the first light emitting hole 2241.
  • the first light receiver 212 and the first ambient light sensor 215 are opposite to the first light receiving hole 2242.
  • the first light receiver 212 receives the reflected light of the detecting light through the first light receiving hole 2242, the first environment.
  • the brightness sensor 215 detects the ambient light intensity through the first light receiving hole 2242.
  • the second light passing hole 225 may include a separated second light emitting hole 2251 and a second light receiving hole 2252.
  • the second light emitter 214 is opposite to the second light emitting hole 2251, and emits detection light outward through the second light emitting hole 2251.
  • the second light receiving hole 2252 is opposite to the second light receiver 213 and the second ambient light sensor 216.
  • the second light receiver 213 receives the reflected light of the detecting light through the second light receiving hole 2252.
  • the second environment The brightness sensor 216 detects the ambient light intensity through the second light receiving hole 2252.
  • the first light-passing hole 224 can also be a larger hole for the first light emitter 211 and the first light receiver 212 .
  • the first ambient brightness sensor 215 is used.
  • the second light-passing aperture 225 can also be a larger aperture for use by the second light emitter 214, the second light receiver 213, and the second ambient light sensor 216.
  • the panel assembly 100 is applied to a mobile phone as an example. Normally, the control circuit 23 selects the first light emitter 211 as the sender of the probe light, and the second light emitter 214 does not work.
  • the cover plate assembly 22 may include only the cover plate 221 and the light transmissive ink layer 222 disposed on the inner surface of the cover plate 221.
  • the light transmissive ink layer 222 can be formed by special ink spraying or printing.
  • the specialty ink can be an infrared ink (IR ink).
  • IR ink has a transmittance of more than or equal to 80% for infrared rays, so that most of the infrared rays can be transmitted.
  • the appearance of the IR ink is a black ink.
  • a functional area may be disposed on the transparent ink layer 222 at a position corresponding to the ambient brightness sensor 216, and the ink for transmitting ambient light may be sprayed or printed on the functional area. This functional area is used to pass ambient light such that ambient brightness sensor 216 detects ambient brightness.
  • the embodiment of the present application provides a display state control method, where the display state control method is applied to a terminal, the terminal includes a display screen and a proximity sensor, and the display state control method includes:
  • the signal strength base value is a signal strength value detected by the proximity sensor when the display screen side of the terminal is not blocked by an external object:
  • a state of the display screen is controlled based on the threshold and a signal strength value detected by the proximity sensor.
  • the proximity sensor includes an infrared emitter and an infrared receiver
  • the step of acquiring the threshold adjustment amount of the proximity sensor according to an environmental state in which the terminal is located includes:
  • the step of acquiring the threshold adjustment amount of the proximity sensor according to the detection value comprises:
  • the step of acquiring the threshold adjustment amount of the proximity sensor according to the detection value comprises:
  • the preset mapping relationship is a mapping relationship between the interval and the threshold adjustment amount.
  • the determining the threshold of the proximity sensor according to the signal strength base value and the threshold adjustment amount comprises:
  • the sum is determined as the threshold of the proximity sensor.
  • the threshold includes a first threshold
  • the step of controlling a state of the display screen according to the threshold and a signal strength value detected by the proximity sensor comprises:
  • the threshold includes a second threshold
  • the step of controlling the state of the display screen according to the threshold and the signal strength value detected by the proximity sensor comprises:
  • the embodiment of the present application further relates to a display state control method.
  • the display state control method controls the state of the display screen according to the distance state between the terminal and the external object.
  • the distance state includes a distant state and a proximity state.
  • the status of the display includes lighting and extinguishing.
  • the display state control method is applied to the terminal.
  • the terminal includes a memory and a processor on which is stored a computer program executable on a processor, the processor implementing the display state control method when the computer program executes the computer program.
  • the proximity sensor includes a signal transmitter and a signal receiver as an example to describe the display state control method.
  • the signal transmitter can be an infrared emitter
  • the signal receiver can be an infrared receiver.
  • the display state control method may include the following steps:
  • S510 Acquire a signal strength base value, where the signal strength value is a signal strength value detected by the proximity sensor when the display side of the terminal is not blocked by the external object.
  • the infrared transmitter can transmit a detection signal after the terminal is powered on. At this time, there is no object blocking on the side of the terminal display. The signal emitted by the infrared emitter to the outside is not reflected by the object. At this time, a part of the signal emitted by the infrared emitter directly enters the infrared receiver through the diffraction inside the terminal. The signals received by the infrared receiver are all from the diffraction inside the terminal, so the signal strength received by the infrared receiver is at a minimum. At this time, the signal strength value detected by the proximity sensor can be used as the signal strength base value.
  • the signal strength value received by the infrared receiver may be acquired multiple times, and the smallest one is taken as the signal strength base value.
  • the environmental state of the terminal indicates the light intensity of the environment in which the terminal is located.
  • Environmental conditions can include both glare and low light environments.
  • the environmental state under strong sunlight is a strong light environment
  • the indoor environmental state is a low light environment.
  • the environmental state may also include multiple gradual states divided between a strong light environment and a low light environment.
  • the threshold adjustment amount is used to adjust the threshold of the proximity sensor.
  • the threshold adjustment amount obtained is different.
  • the threshold is used to determine whether the terminal is in a close state or a distant state between the external object, thereby controlling the display state of the terminal.
  • acquiring the threshold adjustment amount of the proximity sensor according to the environmental state in which the terminal is located includes the following steps:
  • the terminal can control the infrared emitter to turn off, and obtain the detected value of the infrared receiver at this time. Since the infrared emitter is turned off, the infrared rays entering the infrared receiver are all from the external environment. According to the detection value of the infrared receiver at this time, the infrared intensity of the environment in which the terminal is located can be determined, that is, the environmental state of the terminal is determined.
  • the correspondence between the infrared detection value and the threshold adjustment amount may be set in advance in the terminal. After acquiring the detected value of the infrared receiver, the terminal acquires a corresponding threshold adjustment amount according to the detected value.
  • the threshold adjustment amount may be a signal strength value or a percentage.
  • the ambient brightness of the environment in which the terminal is located can also be detected by an ambient brightness sensor in the terminal. Further, a correspondence relationship between the ambient brightness and the threshold adjustment amount of the proximity sensor is set in advance in the terminal. The terminal may acquire the threshold adjustment amount of the proximity sensor according to the detected ambient brightness and the correspondence.
  • acquiring the threshold adjustment amount of the proximity sensor according to the detected value includes the following steps:
  • S5221 Determine whether the detected value is greater than a glare threshold
  • the glare threshold may be an infrared intensity value preset in the terminal.
  • the strong light threshold indicates a boundary point between a strong light environment and a low light environment. That is, when the infrared intensity value in the environment is greater than the strong light threshold, the environmental state is a strong light environment; when the infrared intensity value in the environment is not greater than the strong light threshold, the environmental state is a low light environment.
  • the terminal may determine whether the detection value is greater than a strong light threshold to determine whether the environmental state of the terminal is a strong light environment or a low light environment.
  • the threshold adjustment amount acquired by the terminal is the first threshold adjustment amount.
  • the threshold adjustment amount acquired by the terminal is a second threshold adjustment amount.
  • the second threshold adjustment amount is smaller than the first threshold adjustment amount.
  • the first threshold adjustment amount is 600
  • the second threshold adjustment amount is 300.
  • acquiring the threshold adjustment amount of the proximity sensor according to the detected value includes the following steps:
  • S5225 Obtain a corresponding threshold adjustment amount according to the interval and the preset mapping relationship, where the preset mapping relationship is a mapping relationship between the interval and the threshold adjustment amount.
  • the detection value may be divided into a plurality of intervals in advance, and the information of the plurality of intervals is stored in the terminal. For example, a plurality of sections such as (0, 200), (200, 400], (400, 600], (600, 800) may be divided into detection values.
  • the mapping relationship between the multiple intervals and the threshold adjustment amount may be preset, and the preset mapping relationship is stored in the terminal.
  • the preset mapping relationship may be the mapping relationship shown in Table 1.
  • the terminal may determine the interval in which the detection value is located, and obtain a corresponding threshold adjustment amount according to the determined interval and the preset mapping relationship. For example, if the detection value of the proximity sensor is 500, it can be determined that the detection value is in the interval (400, 600), and the corresponding threshold adjustment amount is obtained as 700.
  • the threshold value of the proximity sensor may be determined according to the signal strength base value and the threshold adjustment amount.
  • the threshold adjustment amount when the threshold adjustment amount is the signal strength value, the value may be increased as the threshold value of the proximity sensor on the signal strength base value. That is, the sum of the signal strength base value and the threshold adjustment amount is calculated, and the calculated sum is determined as a threshold value of the proximity sensor. For example, if the signal strength base value is 1000 and the obtained threshold adjustment amount is 600, the threshold value of the proximity sensor can be determined to be 1600.
  • the threshold adjustment amount is a percentage
  • the signal strength corresponding to the percentage may be increased as a threshold value of the proximity sensor on the signal strength base value. That is, the sum of the signal strength base value and the signal intensity value corresponding to the percentage is calculated, and the calculated sum is determined as the threshold of the proximity sensor. For example, if the signal strength base value is 1000 and the obtained threshold adjustment amount is 50%, the threshold value of the proximity sensor can be determined to be 1500.
  • S540 Control a state of the display screen according to the threshold and a signal strength value detected by the proximity sensor.
  • the terminal may emit an infrared signal through the infrared emitter when the state of the display screen needs to be controlled, the infrared receiver continuously receives the returned signal, and the proximity sensor detects the return signal. Signal strength value.
  • the terminal display side may have an object (for example, a user's face) occlusion or no object occlusion. For example, when the terminal is in a call state, the signal strength value is continuously acquired. The state of the display screen is then controlled based on the threshold and the detected signal strength value.
  • the threshold includes a first threshold
  • controlling the state of the display screen according to the threshold and the signal strength value detected by the proximity sensor includes the following steps:
  • S541 When the display screen is in a bright screen state, determine whether the signal strength value detected by the proximity sensor is greater than a first threshold
  • the threshold may include a first threshold.
  • the first threshold can be a high threshold. This high threshold is used to trigger the control display to go out when the display is in a bright state.
  • the proximity sensor detects the signal strength value, and compares the signal strength value with the first threshold to determine whether the signal strength value is greater than the first threshold.
  • the signal strength value is greater than the first threshold, it indicates that the terminal is in a close state with an external object (for example, a user's face), and the control display is turned off.
  • the signal strength value is greater than the first threshold, and the control display is extinguished.
  • the threshold includes a second threshold
  • controlling the state of the display screen according to the threshold and the signal strength value detected by the proximity sensor includes the following steps:
  • the threshold may include a second threshold.
  • the second threshold can be a low threshold. This low threshold is used to trigger the control display to illuminate when the display is off. For the same terminal, the low threshold is less than the high threshold described above.
  • the proximity sensor detects the signal strength value, and compares the signal strength value with the second threshold to determine whether the signal strength value is less than the second threshold.
  • the signal strength value is less than the second threshold, it indicates that the terminal is in a distant state from an external object (for example, the user's face), and the control display is lit at this time.
  • the control display is illuminated.
  • the display state control method acquires the signal strength base value; obtains the threshold adjustment amount of the proximity sensor according to the environmental state of the terminal; and determines the proximity according to the signal strength base value and the threshold adjustment amount.
  • the threshold of the sensor controlling the state of the display based on the threshold and the signal strength value detected by the proximity sensor.
  • the solution obtains the threshold adjustment amount of the proximity sensor according to the environmental state of the terminal, thereby determining the threshold value of the proximity sensor, so that when the terminal is in different environmental states, the threshold of the proximity sensor is different, so that the state control and the terminal of the terminal display screen are different.
  • the environment state is adapted to improve the accuracy of the display state control, thereby improving the stability of the terminal.
  • the embodiment of the present application provides a display state control device, where the display state control device is applied to a terminal, the terminal includes a display screen and a proximity sensor, and the display state control device includes:
  • a first acquiring module configured to obtain a signal strength base value, where the signal strength base value is a signal strength value detected by the proximity sensor when the display screen side of the terminal is not blocked by an external object:
  • a second acquiring module configured to acquire a threshold adjustment amount of the proximity sensor according to an environmental state in which the terminal is located
  • a determining module configured to determine a threshold of the proximity sensor according to the signal strength base value and the threshold adjustment amount
  • control module configured to control a state of the display screen according to the threshold and a signal strength value detected by the proximity sensor.
  • the proximity sensor includes an infrared emitter and an infrared receiver
  • the second acquisition module includes:
  • a first acquiring submodule configured to acquire a detection value of the infrared receiver when the infrared emitter is turned off
  • a second acquiring submodule configured to acquire a threshold adjustment amount of the proximity sensor according to the detected value.
  • the second acquisition submodule is used to:
  • the second acquisition submodule is used to:
  • the preset mapping relationship is a mapping relationship between the interval and the threshold adjustment amount.
  • the determining module is configured to:
  • the sum is determined as the threshold of the proximity sensor.
  • the threshold includes a first threshold
  • the control module is configured to:
  • the threshold includes a second threshold
  • the control module is configured to:
  • the embodiment of the present application further relates to a display state control device.
  • the display state control device controls the state of the display screen according to the distance state between the terminal and an external object.
  • the distance state includes a distant state and a proximity state.
  • the status of the display includes lighting and extinguishing.
  • the display state control device 600 includes a first acquisition module 601, a second acquisition module 602, a determination module 603, and a control module 604.
  • the first obtaining module 601 is configured to obtain a signal strength base value, where the signal strength base value is a signal strength value detected by the proximity sensor when the display screen side of the terminal is not blocked by the external object.
  • the infrared transmitter can transmit a detection signal after the terminal is powered on. At this time, there is no object blocking on the side of the terminal display. The signal emitted by the infrared emitter to the outside is not reflected by the object. At this time, a part of the signal emitted by the infrared emitter directly enters the infrared receiver through the diffraction inside the terminal. The signals received by the infrared receiver are all from the diffraction inside the terminal, so the signal strength received by the infrared receiver is at a minimum. At this time, the signal strength value detected by the proximity sensor can be used as the signal strength base value.
  • the first acquisition module 601 acquires the signal strength base value through the proximity sensor.
  • the signal strength value received by the infrared receiver may be acquired multiple times, and the smallest one is taken as the signal strength base value.
  • the second obtaining module 602 is configured to acquire a threshold adjustment amount of the proximity sensor according to an environmental state in which the terminal is located.
  • the environmental state of the terminal indicates the light intensity of the environment in which the terminal is located.
  • Environmental conditions can include both glare and low light environments.
  • the environmental state under strong sunlight is a strong light environment
  • the indoor environmental state is a low light environment.
  • the environmental state may also include multiple gradual states divided between a strong light environment and a low light environment.
  • the second obtaining module 602 acquires the threshold adjustment amount of the proximity sensor according to the environmental state in which the terminal is located.
  • the threshold adjustment amount is used to adjust the threshold of the proximity sensor.
  • the threshold adjustment amount acquired by the second obtaining module 602 is different.
  • the threshold is used to determine whether the terminal is in a close state or a distant state between the external object, thereby controlling the display state of the terminal.
  • the second obtaining module 602 includes: a first obtaining sub-module 6021 and a second obtaining sub-module 6022.
  • the first obtaining sub-module 6021 is configured to acquire a detection value of the infrared receiver when the infrared emitter is turned off;
  • the second obtaining sub-module 6022 is configured to acquire a threshold adjustment amount of the proximity sensor according to the detected value.
  • the terminal can control the infrared emitter to be turned off, and the first acquiring sub-module 6021 acquires the detected value of the infrared receiver at this time. Since the infrared emitter is turned off, the infrared rays entering the infrared receiver are all from the external environment. According to the detection value of the infrared receiver at this time, the infrared intensity of the environment in which the terminal is located can be determined, that is, the environmental state of the terminal is determined.
  • the correspondence between the infrared detection value and the threshold adjustment amount may be set in advance in the terminal. After the first acquisition sub-module 6021 obtains the detection value of the infrared receiver, the second acquisition sub-module 6022 acquires a corresponding threshold adjustment amount according to the detection value.
  • the threshold adjustment amount may be a signal strength value or a percentage.
  • the first acquisition sub-module 6021 can also detect the ambient brightness of the environment in which the terminal is located through the ambient brightness sensor in the terminal. Further, a correspondence relationship between the ambient brightness and the threshold adjustment amount of the proximity sensor is set in advance in the terminal. The second obtaining sub-module 6022 can acquire the threshold adjustment amount of the proximity sensor according to the detected ambient brightness and the correspondence.
  • the second obtaining sub-module 6022 is configured to perform the following steps:
  • the second threshold adjustment amount is acquired.
  • the glare threshold may be an infrared intensity value preset in the terminal.
  • the strong light threshold indicates a boundary point between a strong light environment and a low light environment. That is, when the infrared intensity value in the environment is greater than the strong light threshold, the environmental state is a strong light environment; when the infrared intensity value in the environment is not greater than the strong light threshold, the environmental state is a low light environment.
  • the second acquisition sub-module 6022 can determine whether the detection value is greater than the glare threshold to determine whether the environmental state of the terminal is a strong light environment or a low light environment.
  • the threshold adjustment amount acquired by the second acquisition submodule 6022 is a first threshold adjustment amount.
  • the threshold adjustment amount acquired by the second acquisition submodule 6022 is a second threshold adjustment amount.
  • the second threshold adjustment amount is smaller than the first threshold adjustment amount. For example, the first threshold adjustment amount is 600, and the second threshold adjustment amount is 300.
  • the second obtaining sub-module 6022 is configured to perform the following steps:
  • the preset mapping relationship is a mapping relationship between the interval and the threshold adjustment amount.
  • the detection value may be divided into a plurality of intervals in advance, and the information of the plurality of intervals is stored in the terminal. For example, a plurality of sections such as (0, 200), (200, 400], (400, 600], (600, 800) may be divided into detection values.
  • the mapping relationship between the multiple intervals and the threshold adjustment amount may be preset, and the preset mapping relationship is stored in the terminal.
  • the preset mapping relationship may be the mapping relationship shown in Table 2.
  • the second acquisition sub-module 6022 may determine the interval in which the detection value is located, and acquire a corresponding threshold adjustment amount according to the determined interval and the preset mapping relationship. For example, if the detection value of the proximity sensor is 500, it can be determined that the detection value is in the interval (400, 600), and the corresponding threshold adjustment amount is obtained as 700.
  • the determining module 603 is configured to determine a threshold of the proximity sensor according to the signal strength base value and the threshold adjustment amount.
  • the determining module 603 may determine the threshold of the proximity sensor according to the signal strength base value and the threshold adjustment amount.
  • the threshold adjustment amount when the threshold adjustment amount is the signal strength value, the value may be increased as the threshold value of the proximity sensor on the signal strength base value. That is, the sum of the signal strength base value and the threshold adjustment amount is calculated, and the calculated sum is determined as a threshold value of the proximity sensor. For example, if the signal strength base value is 1000 and the obtained threshold adjustment amount is 600, the threshold value of the proximity sensor can be determined to be 1600.
  • the threshold adjustment amount is a percentage
  • the signal strength corresponding to the percentage may be increased as a threshold value of the proximity sensor on the signal strength base value. That is, the sum of the signal strength base value and the signal intensity value corresponding to the percentage is calculated, and the calculated sum is determined as the threshold of the proximity sensor. For example, if the signal strength base value is 1000 and the obtained threshold adjustment amount is 50%, the threshold value of the proximity sensor can be determined to be 1500.
  • the control module 604 is configured to control a state of the display screen according to the threshold and a signal strength value detected by the proximity sensor.
  • the terminal may emit an infrared signal through the infrared emitter when the state of the display screen needs to be controlled, and the infrared receiver continuously receives the returned signal, and the proximity sensor detects The signal strength value of the return signal.
  • the terminal display side may have an object (for example, a user's face) occlusion or no object occlusion.
  • the control module 604 controls the state of the display screen based on the threshold and the signal strength value detected by the proximity sensor.
  • control module 604 is configured to perform the following steps:
  • the display is controlled to be extinguished.
  • the threshold may include a first threshold.
  • the first threshold can be a high threshold. This high threshold is used to trigger the control display to go out when the display is in a bright state.
  • the control module 604 compares the signal strength value with the first threshold to determine whether the signal strength value is greater than the first threshold. When it is determined that the signal strength value is greater than the first threshold, it indicates that the terminal is in a close state with an external object (for example, a user's face), and the control display is turned off.
  • the signal strength value is greater than the first threshold, and the control display is extinguished.
  • control module 604 is configured to perform the following steps:
  • the display is controlled to illuminate.
  • the threshold may include a second threshold.
  • the second threshold can be a low threshold. This low threshold is used to trigger the control display to illuminate when the display is off. For the same terminal, the low threshold is less than the high threshold described above.
  • the control module 604 compares the signal strength value with the second threshold to determine whether the signal strength value is less than the second threshold. When it is determined that the signal strength value is less than the second threshold, it indicates that the terminal is in a distant state from an external object (for example, the user's face), and the control display is lit at this time.
  • the control display is illuminated.
  • the display state control device obtains the signal strength basic value by the first obtaining module 601; the second obtaining module 602 obtains the threshold adjustment amount of the proximity sensor according to the environmental state of the terminal; 603 determines a threshold of the proximity sensor according to the signal strength base value and the threshold adjustment amount; the control module 604 controls the state of the display screen according to the threshold value and the signal strength value detected by the proximity sensor.
  • the solution obtains the threshold adjustment amount of the proximity sensor according to the environmental state of the terminal, thereby determining the threshold value of the proximity sensor, so that when the terminal is in different environmental states, the threshold of the proximity sensor is different, so that the state control and the terminal of the terminal display screen are different.
  • the environment state is adapted to improve the accuracy of the display state control, thereby improving the stability of the terminal.
  • the embodiment of the present application further provides a storage medium, where the computer program stores a computer program, and when the computer program runs on a computer, the computer executes the display state control method described in any of the above embodiments.
  • the storage medium may include, but is not limited to, a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

一种显示屏状态控制方法、装置、存储介质及终端,所述显示屏状态控制方法包括:获取信号强度基础值;根据终端所处的环境状态获取接近传感器的阈值调整量;根据该信号强度基础值和该阈值调整量确定接近传感器的阈值;根据该阈值以及该接近传感器检测到的信号强度值控制显示屏的状态。

Description

显示屏状态控制方法、装置、存储介质及终端
本申请要求于2017年03月06日提交中国专利局、申请号为201710128733.7、发明名称为“显示屏状态控制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,特别涉及一种显示屏状态控制方法、装置、存储介质及终端。
背景技术
随着通信技术的迅速发展,智能终端越来越普及,成为人们生活中必不可少的设备。人们可以通过智能终端学习、娱乐等等。
当前,判断智能终端与外部物体之间的接近或远离状态,以控制智能终端熄屏或者亮屏,是智能终端中一项必须的功能。智能终端通常利用一个红外发射器以及一个红外接收器来实现检测智能终端与外部物体之间的接近状态或远离状态。该红外发射器发出红外线,经过阻挡物反射后形成反射光线,该红外接收器接收到该反射光线后,根据反射光线的强度值来判断该智能终端是接近还是远离阻挡物。
然而,在实际应用中,外部环境也包含红外线,例如太阳光包含大量的红外线。尤其是在强太阳光下,红外线更强烈。此时,智能终端中的红外接收器会受到外部环境中红外线的影响。当用户在强光环境中使用智能终端时,由于智能终端的姿势在不断变化,智能终端中红外接收器的接收角度也在不断变化,导致红外接收器接收到的红外线强度值处于波动状态,从而造成智能终端不停地出现熄屏、亮屏操作,也即出现闪屏现象。
发明内容
本申请实施例提供一种显示屏状态控制方法、装置、存储介质及终端,可以提高终端显示屏状态控制的准确性,进而提高终端的稳定性。
第一方面,本申请实施例提供一种显示屏状态控制方法,应用于终端中,所述终端包括显示屏和接近传感器,所述显示屏状态控制方法包括:
获取信号强度基础值,所述信号强度基础值为所述终端的显示屏一侧未被外部物体遮挡时所述接近传感器检测到的信号强度值:
根据所述终端所处的环境状态获取所述接近传感器的阈值调整量;
根据所述信号强度基础值和所述阈值调整量确定所述接近传感器的阈值;
根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示屏的状态。
第二方面,本申请实施例提供一种显示屏状态控制装置,应用于终端中,所述终端包括显示屏和接近传感器,所述显示屏状态控制装置包括:
第一获取模块,用于获取信号强度基础值,所述信号强度基础值为所述终端的显示屏一侧未被外部物体遮挡时所述接近传感器检测到的信号强度值:
第二获取模块,用于根据所述终端所处的环境状态获取所述接近传感器的阈值调整量;
确定模块,用于根据所述信号强度基础值和所述阈值调整量确定所述接近传感器的阈值;
控制模块,用于根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示屏的状态。
第三方面,本申请实施例提供一种存储介质,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,所述计算机执行上述显示屏状态控制方法。
第四方面,本申请实施例提供一种终端,包括存储器、处理器以及存储在所述存储器 上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现以下步骤:
获取信号强度基础值,所述信号强度基础值为所述终端的显示屏一侧未被外部物体遮挡时所述接近传感器检测到的信号强度值:
根据所述终端所处的环境状态获取所述接近传感器的阈值调整量;
根据所述信号强度基础值和所述阈值调整量确定所述接近传感器的阈值;
根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示屏的状态。
附图说明
图1为本申请实施例中的终端的结构示意图。
图2为本申请实施例中的面板组件的第一种结构示意图。
图3为本申请实施例中的面板组件的第二种结构示意图。
图4为本申请实施例中的面板组件的第三种结构示意图。
图5为本申请实施例中的面板组件的第四种结构示意图。
图6为本申请实施例中的面板组件的第五种结构示意图。
图7为本申请实施例中的面板组件的第六种结构示意图。
图8为本申请实施例提供的显示屏状态控制方法的第一种流程示意图。
图9为本申请实施例提供的显示屏状态控制方法的第二种流程示意图。
图10为本申请实施例提供的显示屏状态控制方法的第三种流程示意图。
图11为本申请实施例提供的显示屏状态控制方法的第四种流程示意图。
图12为本申请实施例提供的显示屏状态控制方法的第五种流程示意图。
图13为本申请实施例提供的显示屏状态控制方法的第六种流程示意图。
图14为本申请实施例提供的显示屏状态控制装置的第一种结构示意图。
图15为本申请实施例提供的显示屏状态控制装置的第二种结构示意图。
具体实施方式
下面详细描述本申请的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本申请,而不能理解为对本申请的限制。
在本申请的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”、“顺时针”、“逆时针”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接或可以相互通讯;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。
在本申请中,除非另有明确的规定和限定,第一特征在第二特征之“上”或之“下”可以包括第一和第二特征直接接触,也可以包括第一和第二特征不是直接接触而是通过它们之间的另外的特征接触。而且,第一特征在第二特征“之上”、“上方”和“上面”包括第一特征在 第二特征正上方和斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”和“下面”包括第一特征在第二特征正下方和斜下方,或仅仅表示第一特征水平高度小于第二特征。
下文的公开提供了许多不同的实施方式或例子用来实现本申请的不同结构。为了简化本申请的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本申请。此外,本申请可以在不同例子中重复参考数字和/或参考字母,这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施方式和/或设置之间的关系。此外,本申请提供了的各种特定的工艺和材料的例子,但是本领域普通技术人员可以意识到其他工艺的应用和/或其他材料的使用。
请参照图1,图1是本申请实施例中的终端1000的结构示意图。该终端1000例如为手机或平板电脑等电子装置。可以理解,终端1000包括但不限于本实施方式的示例。
该终端1000包括面板组件100以及壳体200。该面板组件100设置于该壳体200上并与之连接。可以理解,该终端1000还可以包括供受话器。对应地,该面板组件100的非显示区域100a开设有供受话器发出声音的开孔300,该终端1000还可以包括指纹识别模组400,该指纹识别模组400设置于该面板组件100的非显示区域100a。该面板组件100的显示区域100b可以用来显示画面或者供用户触摸操控等。
其中,面板组件100可以为触摸面板组件、面板组件或者具有其他功能的终端面板组件等等。
请参照图2,图2是本申请实施例中的面板组件100的第一种结构示意图。该面板组件100包括传感器模组11、盖板组件12以及控制电路13。该传感器模组11设置于该盖板组件12的内表面一侧,该传感器模组11与该盖板组件12间隔设置。该控制电路13与传感器模组11以及盖板组件12通信连接。在本实施例中,该控制电路13为主板,该传感器模组11为接近传感器,该传感器模组11固定设置于该主板上。
其中,该传感器模组11包括第一信号发射器111、第一信号接收器112以及第二信号接收器113。
信号发射器111用于向外发射信号。信号接收器112和信号接收器113用于接收外部物体反射的信号。
在一些实施例中,传感器模组11也可以只包括信号发射器111和信号接收器112。
上述信号可以为红外线、激光等光信号,也可以为超声波等声波信号。以下仅以该信号为光信号、信号发射器为光发射器、信号接收器为光接收器进行举例说明。
在一些实施例中,该第一光发射器111用于发射波长大于850nm的探测光线,例如红外光,其为红外发射器。例如,该第一光发射器111可以为发射红外线的LED(Light Emitting Diode,发光二极管)。
对应地,该第一光接收器112可以为红外光接收器,用于接收探测光线经过阻挡物70反射之后形成的近光信号。该阻挡物70一般情况下为人脸,应用于用户在通话过程中,终端接近或远离脸部时的场景。
对应地,该第二光接收器113可以为红外光接收器,用于接收该探测光线经过阻挡物70反射之后形成的远光信号。
其中,该近光信号表示经过阻挡物反射后射入的光接收器距离该第一光发射器111距离较近,而该远光信号表示经过该阻挡物反射后射入的光接收器距离该第一光发射器111距离较远。
该第一光接收器112与第一光发射器111之间的距离小于该第二光接收器113与第一光发射器111之间的距离。因此,当该盖板组件12距离阻挡物较远时,该第二光接收器113的光强度变化检测更灵敏。当该盖板组件12距离阻挡物较近时,该第一光接收器112 的光强度变化检测更灵敏。因此,在具体应用时,终端可以同时根据该第一光接收器112以及第二光接收器113接收到的反射光线的光强度值来判断该终端是远离还是靠近,可以极大地提高判断的准确性,有利于提高用户体验。
在本实施例中,该第一光发射器111以及第一光接收器112可以集成设置在一个第一集成芯片中,形成一个二合一芯片。当然,也可以分离设置成两个独立的芯片。
其中,该盖板组件12包括盖板121、设置于盖板121的内表面上的第一附着层122、以及设置于第一附着层122的远离该盖板121的一面的第二附着层123。该第一附着层122完全覆盖该第二附着层123。其中,该第一附着层122以及第二附着层123构成附着层。
该第一附着层122以及第二附着层123的设置以达到隐藏终端1000的内部结构件以及第二附着层123的效果。即使得用户在盖板121的外侧观察时,仅能看到第一附着层122,而不能看到第二附着层123。
其中,盖板121可以是透明玻璃盖板。在一些实施例中,盖板121可以是用诸如蓝宝石等材料制成的玻璃盖板。
其中,该附着层可以为油墨层,也可以为其他材料所形成的涂层。以下仅以附着层为油墨层、第一附着层为透光油墨层、第二附着层为遮光油墨层进行举例说明。
本实施例中,透光油墨层122为可以透光的油墨层,用于透过大部分光线。油墨层的透光率可以根据实际需求设定,一般透光油墨层122的可见光(如波长为550nm的可见光)透过率在2%-10%之间、接近传感器的光信号(如波长为850nm的红外线)透过率大于或等于80%。
透光油墨层122可以包括若干层透光油墨子层1221。例如,在本实施例中,该透光油墨层122具有3层透光油墨子层1221,每一透光油墨子层1221均为白色油墨喷涂或印刷形成。当然,白色油墨仅为举例,该透光油墨层122也可以根据不同的美观需求设计成其他颜色。
可以理解地,透光油墨层122的颜色不同时,终端1000的外观颜色表现也是不同的。例如,当透光油墨层122为白色油墨时,终端1000的外观表现为白色,也即终端1000为白色机型。当透光油墨层122为金色油墨时,终端1000的外观表现为金色,也即终端1000为金色机型。
遮光油墨层123为可以遮光的油墨层,用于遮挡大部分光线。该遮光油墨层123可以为采用黑色油墨喷涂或印刷形成。遮光油墨层123包括第一区域和第二区域。该第一区域对光线的透射率大于该第二区域对光线的透射率。该第一区域可以理解为透光区域,用于透过大部分光线。该第二区域可以理解为遮光区域,用于遮挡大部分光线。
其中,透光油墨层122覆盖该遮光油墨层123上的该第一区域。
其中,透光油墨层122对光线的透射率大于遮光油墨层123对光线的透射率。
上述透射率可以包括对红外线的透射率、对激光的透射率以及对可见光的透射率。
在一些实施例中,遮光油墨层123上开设有第一通光孔124以及第二通光孔125。该第一通光孔124和第二通光孔125用于透过光线。该第一通光孔124和第二通光孔125形成第一区域,遮光油墨层123上第一通光孔124和第二通光孔125之外的区域为第二区域。可以理解,该第一通光孔124以及第二通光孔125中还可以填充透光材料,该透光材料的颜色可以与透光油墨层122的颜色相同。其中,该第一通光孔124可以包括分离的第一光发射孔1241以及第一光接收孔1242。该第一光发射器111与该第一光发射孔1241相对,并通过该第一光发射孔1241向外发射探测光线。该第一光接收器112与该第一光接收孔1242相对,并通过该第一光接收孔1242接收该探测光线的反射光线。
该第二通光孔125与第二光接收器113相对,该第二光接收器113通过该第二通光孔125接收探测光线的反射光线。
其中,第一光发射孔1241、第一光接收孔1242以及第二通光孔125形状可以根据实际需求设定。例如,可以为圆形、矩形、圆角矩形等形状。本实施例为了提高第一光接收器112以及第二光接收器113接收光信号的能力,提升传感器的灵敏度,可以使得第一光接收孔1242以及第二通光孔125的开孔面积大于第一光发射孔1241的开孔面积。
可以理解地,如图3所示,在另一些实施例中,该第一通光孔124还可以为一个较大的孔,其同时供该第一光发射器111以及第一光接收器112使用。
在本实施例中,该控制电路13与第一光发射器111、第一光接收器112以及第二光接收器113通信连接,且该第一光发射器111、第一光接收器112以及第二光接收器113均固定设置于该主板上。
例如,当该面板组件100应用于手机上时,由于该第一光接收器112与该第二光接收器113距离第一光发射器111的距离不同,该第一光接收器112更接近该第一光发射器111,在该面板组件100距离阻挡物较近时,该第二光接收器113由于距离该第一光发射器111距离较远,其接收到的光线很少,光强度变化值随着距离变的变化不大。当该面板组件100距离阻挡物较远时,由于反射光线较弱,而第一光发射器111发射的光线由内部反射直接进入了第一光接收器112,该第一光接收器112接收到的光强度值的基础值较大,而该盖板距离阻挡物较远,反射光线的光强度值较小,因此该第一光接收器接收到的反射光线对于检测到的光强度变化不明显。该第二光接收器113距离该第一光发射器111的距离相对于第一光接收器112较远,因此,第一光发射器111发出的光线经内部反射进入该第二光接收器113的部分较少,其基础光强度值较小,而经过反射后的反射光线进入该第二光接收器113后光强度变化相对较大。
在终端的通话过程中,该控制电路13控制该第一光发射器111发出探测光线,并根据第一光接收器112以及第二光接收器113接收到的反射光线的光强度值判断安装有该面板组件100的终端是靠近还是远离人脸。当判断远离人脸时控制盖板组件12亮屏,当判断靠近人脸时控制盖板组件12熄屏。
其中,当该第一光接收器113接收到的光强度值达到第一接近阈值或第二光接收器113接收到的光强度值达到第二接近阈值时,判断该终端靠近人脸。当该第一光接收器113接收到的光强度值达到第一远离阈值且第二光接收器113接收到的光强度值达到第二远离阈值时,判断该终端远离人脸。
参考图4,图4是本申请实施例中的面板组件100的另一结构示意图。该面板组件100包括传感器模组21、盖板组件22以及控制电路23。该传感器模组21设置于该盖板组件22的内表面的一侧,该传感器模组21与该盖板组件22间隔设置。该控制电路23与传感器模组21以及盖板组件22通信连接。在本实施例中,该控制电路23为主板,该传感器模组21固定设置于该主板上。
其中,该传感器模组21包括第一光发射器211、第一光接收器212、第二光接收器213、第二光发射器214、第一环境亮度传感器215以及第二环境亮度传感器216。
可以理解地,在一些实施例中,该传感器模组21还可以包括电路板。该第一光发射器211、第一光接收器212、第二光接收器213、第二光发射器214、第一环境亮度传感器215以及第二环境亮度传感器216可以设置在该电路板上。
其中,该第一光发射器211以及第二光发射器214均用于发射波长大于850nm的不可见光,例如红外光。
第一光发射器211以及第二光发射器214均为红外光发射器。该第一光接收器212以及第二光接收器213均可以为红外光接收器。第一光接收器212用于接收探测光线经过阻挡物反射之后形成的近光信号。第二光接收器214用于接收探测光线经过阻挡物反射之后形成的远光信号。该第一光接收器212与第一光发射器211之间的距离小于该第二光接收 器213与第一光发射器211之间的距离。其中,该近光信号表示经过阻挡物反射后射入的光接收器距离该第一光发射器211距离较近,而该远光信号表示经过该阻挡物反射后射入的光接收器距离该第一光发射器211距离较远。
该第一光接收器212与第一光发射器211之间的距离小于该第二光接收器213与第一光发射器211之间的距离。因此,当以该第一光发射器211作为探测光线发出者时,且当该面板组件100距离阻挡物较远时,该第二光接收器的光强度变化检测更灵敏;当该面板组件100距离阻挡物较近时,该第一光接收器的光强度变化检测更灵敏。当以该第二光发射器214作为探测光线发出者时,且当该面板组件100距离阻挡物较远时,该第二光接收器214的光强度变化检测更灵敏;当该面板组件100距离阻挡物较近时,该第一光接收器212的光强度变化检测更灵敏。
在本实施例中,该控制电路23可以选择该第一光发射器211以及第二光发射器214中的一个作为探测光线发出者,通常情况下,以该第一光发射器211作为探测光线的发出者,当控制电路23检测到该第一光发射器211出现异常或损坏时,则以第二光发射器214作为探测光线发出者。
在一些实施例中,该第一光发射器211、第一光接收器212以及第一环境亮度传感器215可以集成设置在一个集成芯片上,形成一个三合一芯片。该第二光发射器214、第二光接收器213以及第二环境亮度传感器216可以集成设置在另一个集成芯片上,形成另一个三合一芯片。
在一些实施例中,如图5所示,传感器模组21可以只包括光发射器211、第一光接收器212、第二光接收器213以及环境亮度传感器216。该光发射器211、第一光接收器212、第二光接收器213以及环境亮度传感器216可以设置在电路板上。
光发射器211和第一光接收器212可以集成设置在一个集成芯片上,形成一个二合一芯片。第二光接收器213和环境亮度传感器216可以集成设置在另一个集成芯片上,形成另一个二合一芯片。上述两个二合一芯片可以间隔设置在电路板上。
该两个二合一芯片之间的距离在2毫米至12毫米之间。该距离为该两个二合一芯片的几何中心之间的距离。
该盖板组件22包括盖板221、设置于盖板221的内表面上的透光油墨层222、以及设置于透光油墨层222的远离该盖板221的一面的遮光油墨层223。其中,该透光油墨层122以及遮光油墨层123构成油墨层。
其中,该透光油墨层222可以包括多层透光油墨子层2221,例如,在本实施例中,该透光油墨层222具有三层透光油墨子层2221,每一透光油墨子层2221均为白色油墨喷涂或印刷形成。当然,白色油墨仅为举例,该透光油墨层222也可以根据不同的美观需求设计成其他颜色。
该遮光油墨层223可以为采用黑色油墨喷涂或印刷形成。遮光油墨层223上开设有第一通光孔224以及第二通光孔225。
本实施例中可以中位于遮光油墨层223上的透光油墨层222为可以透光的油墨层。油墨层的透光率可以根据实际需求设定,一般透光油墨层222的可见光(如波长为550nm的可见光)透过率在2%-10%之间、接近传感器的光信号(如波长为850nm的红外线)透过率大于或等于80%。
其中,该第一通光孔224可以包括分离的第一光发射孔2241以及第一光接收孔2242。该第一光发射器211与该第一光发射孔2241相对,并通过该第一光发射孔2241向外发射探测光线。该第一光接收器212以及该第一环境亮度传感器215与该第一光接收孔2242相对,第一光接收器212通过该第一光接收孔2242接收该探测光线的反射光线,第一环境亮度传感器215通过该第一光接收孔2242检测环境光强度。
该第二通光孔225可以包括分离的第二光发射孔2251以及第二光接收孔2252。该第二光发射器214与该第二光发射孔2251相对,并通过该第二光发射孔2251向外发出探测光线。该第二光接收孔2252与该第二光接收器213以及第二环境亮度传感器216相对,该第二光接收器213通过该第二光接收孔2252接收探测光线的反射光线,该第二环境亮度传感器216通过该第二光接收孔2252检测环境光强度。
可以理解地,如图6所示,在另一些实施例中,该第一通光孔224还可以为一个较大的孔,其同时供该第一光发射器211、第一光接收器212以及第一环境亮度传感器215使用。
该第二通光孔225还可以为一个较大的孔,其同时供该第二光发射器214、第二光接收器213以及第二环境亮度传感器216使用。
以该面板组件100应用于手机上为例进行说明,正常情况下,该控制电路23选择该第一光发射器211作为探测光线的发出者,而该第二光发射器214不工作。
在一些实施例中,如图7所示,盖板组件22可以只包括盖板221和设置于盖板221的内表面上的透光油墨层222。
其中,该透光油墨层222可以由特种油墨喷涂或印刷形成。例如,该特种油墨可以是红外线油墨(IR油墨)。IR油墨对红外线的透过率大于或等于80%,因此可以透过大部分红外线。IR油墨的外观表现为黑色油墨。
其中,可以在该透光油墨层222上与环境亮度传感器216对应的位置设置一功能区域,在该功能区域喷涂或印刷可供环境光透过的油墨。该功能区域用于使环境光通过,以使得环境亮度传感器216检测环境亮度。
本申请实施例提供一种显示屏状态控制方法,所述显示屏状态控制方法应用于终端中,所述终端包括显示屏和接近传感器,所述显示屏状态控制方法包括:
获取信号强度基础值,所述信号强度基础值为所述终端的显示屏一侧未被外部物体遮挡时所述接近传感器检测到的信号强度值:
根据所述终端所处的环境状态获取所述接近传感器的阈值调整量;
根据所述信号强度基础值和所述阈值调整量确定所述接近传感器的阈值;
根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示屏的状态。
在一些实施例中,所述接近传感器包括红外发射器和红外接收器,所述根据所述终端所处的环境状态获取所述接近传感器的阈值调整量的步骤包括:
在所述红外发射器关闭时,获取所述红外接收器的检测值;
根据所述检测值获取所述接近传感器的阈值调整量。
在一些实施例中,所述根据所述检测值获取所述接近传感器的阈值调整量的步骤包括:
判断所述检测值是否大于强光阈值;
若所述检测值大于强光阈值,则获取第一阈值调整量;
若所述检测值不大于强光阈值,则获取第二阈值调整量,所述第二阈值调整量小于所述第一阈值调整量。
在一些实施例中,所述根据所述检测值获取所述接近传感器的阈值调整量的步骤包括:
确定所述检测值所处的区间;
根据所述区间与预设映射关系获取对应的阈值调整量,所述预设映射关系为区间与阈值调整量之间的映射关系。
在一些实施例中,所述根据所述信号强度基础值和所述阈值调整量确定所述接近传感器的阈值的步骤包括:
计算所述信号强度基础值与所述阈值调整量的和;
将所述和确定为所述接近传感器的阈值。
在一些实施例中,所述阈值包括第一阈值,所述根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示屏的状态的步骤包括:
当所述显示屏处于亮屏状态时,判断所述信号强度值是否大于所述第一阈值;
若所述信号强度值大于所述第一阈值,则控制所述显示屏熄灭。
在一些实施例中,所述阈值包括第二阈值,所述根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示屏的状态的步骤包括:
当所述显示屏处于熄屏状态时,判断所述信号强度值是否小于所述第二阈值;
若所述信号强度值小于所述第二阈值,则控制所述显示屏点亮。
本申请实施例还涉及一种显示屏状态控制方法。该显示屏状态控制方法根据终端与外部物体之间的距离状态来控制显示屏的状态。该距离状态包括远离状态和接近状态。显示屏的状态包括点亮和熄灭。其中,所述显示屏状态控制方法应用于终端中。所述终端包括存储器和处理器,所述存储器上存储有可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现所述显示屏状态控制方法。
以下仅以传感器模组为接近传感器,该接近传感器包括一个信号发射器和一个信号接收器为例,对显示屏状态控制方法进行说明。其中,信号发射器可以是红外发射器,信号接收器可以是红外接收器。
如图8所示,显示屏状态控制方法可以包括以下步骤:
S510,获取信号强度基础值,该信号强度基础值为终端的显示屏一侧未被外部物体遮挡时接近传感器检测到的信号强度值。
实际应用中,可以在终端开机运行后,红外发射器向外发射探测信号。此时,终端显示屏一侧没有物体遮挡。红外发射器发射到外部的信号没有经过物体反射。此时,红外发射器发射的信号有一部分经过终端内部的绕射直接进入到红外接收器中。红外接收器接收到的信号全部来自终端内部的绕射,因此红外接收器接收到的信号强度处于最小值。此时接近传感器检测到的信号强度值可以作为信号强度基础值。
在一些实施例中,终端开机运行后,可以多次获取红外接收器接收到的信号强度值,取其中最小的一个作为信号强度基础值。
S520,根据该终端所处的环境状态获取该接近传感器的阈值调整量。
其中,终端所处的环境状态表示终端所处环境的光线强度。环境状态可以包括强光环境和弱光环境。例如,强太阳光下的环境状态为强光环境,室内的环境状态为弱光环境。环境状态也可以包括强光环境和弱光环境之间划分的多个渐变状态。
阈值调整量用于对该接近传感器的阈值进行调整。终端处于不同的环境状态时,获取到的阈值调整量是不同的。从而终端处于不同的环境状态时,具有不同的阈值。该阈值用于判断终端与外部物体之间处于接近状态还是远离状态,从而对终端的显示屏状态进行控制。
在一些实施例中,如图9所示,根据该终端所处的环境状态获取该接近传感器的阈值调整量包括以下步骤:
S521,在红外发射器关闭时,获取红外接收器的检测值;
S522,根据该检测值获取接近传感器的阈值调整量。
实际应用中,终端可以控制红外发射器关闭,获取此时红外接收器的检测值。由于红外发射器关闭,此时进入到红外接收器的红外线全部来自外部环境。根据此时红外接收器的检测值,即可确定终端所处环境的红外线强度,也即确定终端所处的环境状态。
可以预先在终端中设置红外线检测值与阈值调整量之间的对应关系。终端获取到红外接收器的检测值后,根据该检测值获取对应的阈值调整量。其中,阈值调整量可以是信号强度数值,也可以是百分比。
实际应用中,强光环境中的环境亮度与环境红外线强度之间存在一致的变化关系,也即环境亮度越大时环境红外线强度越强,环境亮度越小时环境红外线强度越弱。
因此,在一些实施例中,也可以通过终端中的环境亮度传感器来检测终端所处环境的环境亮度。并且,预先在终端中设置环境亮度与接近传感器的阈值调整量之间的对应关系。终端可以根据检测到的环境亮度和该对应关系来获取接近传感器的阈值调整量。
在一些实施例中,如图10所示,根据该检测值获取接近传感器的阈值调整量包括以下步骤:
S5221,判断该检测值是否大于强光阈值;
S5222,若该检测值大于强光阈值,则获取第一阈值调整量;
S5223,若该检测值不大于强光阈值,则获取第二阈值调整量。
其中,强光阈值可以是预先设置在终端中的一个红外线强度值。该强光阈值表示强光环境与弱光环境之间的分界点。也即,当环境中的红外线强度值大于该强光阈值时,表示环境状态为强光环境;当环境中的红外线强度值不大于该强光阈值时,表示环境状态为弱光环境。
终端获取到接近传感器的检测值后,可以判断该检测值是否大于强光阈值,以判断终端所处的环境状态为强光环境还是弱光环境。强光环境中,终端获取的阈值调整量为第一阈值调整量。弱光环境中,终端获取的阈值调整量为第二阈值调整量。其中,第二阈值调整量小于第一阈值调整量。例如,第一阈值调整量为600,第二阈值调整量为300。
在一些实施例中,如图11所示,根据该检测值获取接近传感器的阈值调整量包括以下步骤:
S5224,确定该检测值所处的区间;
S5225,根据该区间与预设映射关系获取对应的阈值调整量,该预设映射关系为区间与阈值调整量之间的映射关系。
实际应用中,可以预先对检测值划分多个区间,并在终端中存储该多个区间的信息。例如,可以对检测值划分(0,200]、(200,400]、(400,600]、(600,800]等多个区间。
同时,可以预先设置该多个区间与阈值调整量之间的映射关系,并中终端中存储该预设映射关系。例如,该预设映射关系可以为表1所示的映射关系。
区间 阈值调整量
(0,200] 300
(200,400] 500
(400,600] 700
(600,800] 900
表1
终端获取到接近传感器的检测值后,可以确定该检测值所处的区间,并根据确定出的区间和该预设映射关系获取对应的阈值调整量。例如,接近传感器的检测值为500,则可以确定出该检测值所处的区间为(400,600],进而获取到对应的阈值调整量为700。
继续参考图8。
S530,根据该信号强度基础值和该阈值调整量确定该接近传感器的阈值。
实际应用中,终端获取到接近传感器的阈值调整量后,可以根据上述信号强度基础值和该阈值调整量确定该接近传感器的阈值。
其中,当阈值调整量为信号强度数值时,可以在信号强度基础值上增加该数值作为接近传感器的阈值。也即,计算所述信号强度基础值与所述阈值调整量的和,并将计算得到的和确定为接近传感器的阈值。例如,信号强度基础值为1000,获取到的阈值调整量为600,则可以确定出接近传感器的阈值为1600。
当阈值调整量为百分比时,可以在信号强度基础值上增加该百分比对应的信号强度作为接近传感器的阈值。也即,计算所述信号强度基础值与所述百分比对应的信号强度值的和,并将计算得到的和确定为接近传感器的阈值。例如,信号强度基础值为1000,获取到的阈值调整量为50%,则可以确定出接近传感器的阈值为1500。
S540,根据该阈值以及该接近传感器检测到的信号强度值控制该显示屏的状态。
实际应用中,终端确定出接近传感器的阈值后,可以在需要对显示屏的状态进行控制时,通过红外发射器向外发射红外信号,红外接收器持续接收返回的信号,接近传感器检测该返回信号的信号强度值。此时,终端显示屏一侧可以有物体(例如,用户脸部)遮挡,也可以没有物体遮挡。例如,在终端处于通话状态时,持续获取信号强度值。随后,根据该阈值以及检测到的信号强度值控制显示屏的状态。
在一些实施例中,如图12所示,该阈值包括第一阈值,根据该阈值以及该接近传感器检测到的信号强度值控制该显示屏的状态包括以下步骤:
S541,当显示屏处于亮屏状态时,判断接近传感器检测到的信号强度值是否大于第一阈值;
S542,若该信号强度值大于该第一阈值,则控制该显示屏熄灭。
实际应用中,该阈值可以包括第一阈值。该第一阈值可以是高阈值。该高阈值用于在显示屏处于亮屏状态时,触发控制显示屏熄灭。
终端的显示屏处于亮屏状态时,接近传感器检测到信号强度值后,将该信号强度值与该第一阈值进行比较,以判断该信号强度值是否大于第一阈值。当判断出信号强度值大于该第一阈值时,说明终端与外部物体(例如,用户脸部)之间处于接近状态,此时控制显示屏熄灭。
例如,第一阈值为1800,检测到的信号强度值为2000,则该信号强度值大于该第一阈值,此时控制显示屏熄灭。
在一些实施例中,如图13所示,该阈值包括第二阈值,根据该阈值以及该接近传感器检测到的信号强度值控制该显示屏的状态包括以下步骤:
S543,当显示屏处于熄屏状态时,判断接近传感器检测到的信号强度值是否小于第二阈值;
S544,若该信号强度值小于该第二阈值,则控制该显示屏点亮。
实际应用中,该阈值可以包括第二阈值。该第二阈值可以是低阈值。该低阈值用于在显示屏处于熄屏状态时,触发控制显示屏点亮。对于同一部终端,该低阈值小于上述高阈值。
终端的显示屏处于熄屏状态时,接近传感器检测到信号强度值后,将该信号强度值与该第二阈值进行比较,以判断该信号强度值是否小于第二阈值。当判断出信号强度值小于该第二阈值时,说明终端与外部物体(例如,用户脸部)之间处于远离状态,此时控制显示屏点亮。
例如,第二阈值为1600,检测到的信号强度值为1500,则该信号强度值小于该第二阈值,此时控制显示屏点亮。
由上可知,本申请实施例提供的显示屏状态控制方法,获取信号强度基础值;根据终端所处的环境状态获取接近传感器的阈值调整量;根据该信号强度基础值和该阈值调整量确定接近传感器的阈值;根据该阈值以及该接近传感器检测到的信号强度值控制显示屏的状态。该方案根据终端所处的环境状态获取接近传感器的阈值调整量,进而确定接近传感器的阈值,从而终端处于不同的环境状态时,接近传感器的阈值是不同的,使得终端显示屏的状态控制与终端所处的环境状态相适应,从而可以提高显示屏状态控制的准确性,进而提高终端的稳定性。
本申请实施例提供一种显示屏状态控制装置,所述显示屏状态控制装置应用于终端中,所述终端包括显示屏和接近传感器,所述显示屏状态控制装置包括:
第一获取模块,用于获取信号强度基础值,所述信号强度基础值为所述终端的显示屏一侧未被外部物体遮挡时所述接近传感器检测到的信号强度值:
第二获取模块,用于根据所述终端所处的环境状态获取所述接近传感器的阈值调整量;
确定模块,用于根据所述信号强度基础值和所述阈值调整量确定所述接近传感器的阈值;
控制模块,用于根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示屏的状态。
在一些实施例中,所述接近传感器包括红外发射器和红外接收器,所述第二获取模块包括:
第一获取子模块,用于在所述红外发射器关闭时,获取所述红外接收器的检测值;
第二获取子模块,用于根据所述检测值获取所述接近传感器的阈值调整量。
在一些实施例中,所述第二获取子模块用于:
判断所述检测值是否大于强光阈值;
若所述检测值大于强光阈值,则获取第一阈值调整量;
若所述检测值不大于强光阈值,则获取第二阈值调整量,所述第二阈值调整量小于所述第一阈值调整量。
在一些实施例中,所述第二获取子模块用于:
确定所述检测值所处的区间;
根据所述区间与预设映射关系获取对应的阈值调整量,所述预设映射关系为区间与阈值调整量之间的映射关系。
在一些实施例中,所述确定模块用于:
计算所述信号强度基础值与所述阈值调整量的和;
将所述和确定为所述接近传感器的阈值。
在一些实施例中,所述阈值包括第一阈值,所述控制模块用于:
当所述显示屏处于亮屏状态时,判断所述信号强度值是否大于所述第一阈值;
若所述信号强度值大于所述第一阈值,则控制所述显示屏熄灭。
在一些实施例中,所述阈值包括第二阈值,所述控制模块用于:
当所述显示屏处于熄屏状态时,判断所述信号强度值是否小于所述第二阈值;
若所述信号强度值小于所述第二阈值,则控制所述显示屏点亮。
本申请实施例还涉及一种显示屏状态控制装置。该显示屏状态控制装置根据终端与外部物体之间的距离状态来控制显示屏的状态。该距离状态包括远离状态和接近状态。显示屏的状态包括点亮和熄灭。
如图14所示,显示屏状态控制装置600包括:第一获取模块601、第二获取模块602、确定模块603、控制模块604。
第一获取模块601,用于获取信号强度基础值,该信号强度基础值为终端的显示屏一侧未被外部物体遮挡时接近传感器检测到的信号强度值。
实际应用中,可以在终端开机运行后,红外发射器向外发射探测信号。此时,终端显示屏一侧没有物体遮挡。红外发射器发射到外部的信号没有经过物体反射。此时,红外发射器发射的信号有一部分经过终端内部的绕射直接进入到红外接收器中。红外接收器接收到的信号全部来自终端内部的绕射,因此红外接收器接收到的信号强度处于最小值。此时接近传感器检测到的信号强度值可以作为信号强度基础值。第一获取模块601通过接近传感器获取该信号强度基础值。
在一些实施例中,终端开机运行后,可以多次获取红外接收器接收到的信号强度值,取其中最小的一个作为信号强度基础值。
第二获取模块602,用于根据该终端所处的环境状态获取该接近传感器的阈值调整量。
其中,终端所处的环境状态表示终端所处环境的光线强度。环境状态可以包括强光环境和弱光环境。例如,强太阳光下的环境状态为强光环境,室内的环境状态为弱光环境。环境状态也可以包括强光环境和弱光环境之间划分的多个渐变状态。
第二获取模块602根据终端所处的环境状态获取接近传感器的阈值调整量。阈值调整量用于对该接近传感器的阈值进行调整。终端处于不同的环境状态时,第二获取模块602获取到的阈值调整量是不同的。从而终端处于不同的环境状态时,具有不同的阈值。该阈值用于判断终端与外部物体之间处于接近状态还是远离状态,从而对终端的显示屏状态进行控制。
在一些实施例中,如图15所示,第二获取模块602包括:第一获取子模块6021、第二获取子模块6022。
该第一获取子模块6021,用于在红外发射器关闭时,获取红外接收器的检测值;
该第二获取子模块6022,用于根据该检测值获取接近传感器的阈值调整量。
实际应用中,终端可以控制红外发射器关闭,第一获取子模块6021获取此时红外接收器的检测值。由于红外发射器关闭,此时进入到红外接收器的红外线全部来自外部环境。根据此时红外接收器的检测值,即可确定终端所处环境的红外线强度,也即确定终端所处的环境状态。
可以预先在终端中设置红外线检测值与阈值调整量之间的对应关系。第一获取子模块6021获取到红外接收器的检测值后,第二获取子模块6022根据该检测值获取对应的阈值调整量。其中,阈值调整量可以是信号强度数值,也可以是百分比。
实际应用中,强光环境中的环境亮度与环境红外线强度之间存在一致的变化关系,也即环境亮度越大时环境红外线强度越强,环境亮度越小时环境红外线强度越弱。
因此,在一些实施例中,第一获取子模块6021也可以通过终端中的环境亮度传感器来检测终端所处环境的环境亮度。并且,预先在终端中设置环境亮度与接近传感器的阈值调整量之间的对应关系。第二获取子模块6022可以根据检测到的环境亮度和该对应关系来获取接近传感器的阈值调整量。
在一些实施例中,第二获取子模块6022用于执行以下步骤:
判断该检测值是否大于强光阈值;
若该检测值大于强光阈值,则获取第一阈值调整量;
若该检测值不大于强光阈值,则获取第二阈值调整量。
其中,强光阈值可以是预先设置在终端中的一个红外线强度值。该强光阈值表示强光环境与弱光环境之间的分界点。也即,当环境中的红外线强度值大于该强光阈值时,表示环境状态为强光环境;当环境中的红外线强度值不大于该强光阈值时,表示环境状态为弱光环境。
第一获取子模块6021获取到接近传感器的检测值后,第二获取子模块6022可以判断该检测值是否大于强光阈值,以判断终端所处的环境状态为强光环境还是弱光环境。强光环境中,第二获取子模块6022获取的阈值调整量为第一阈值调整量。弱光环境中,第二获取子模块6022获取的阈值调整量为第二阈值调整量。其中,第二阈值调整量小于第一阈值调整量。例如,第一阈值调整量为600,第二阈值调整量为300。
在一些实施例中,第二获取子模块6022用于执行以下步骤:
确定该检测值所处的区间;
根据该区间与预设映射关系获取对应的阈值调整量,该预设映射关系为区间与阈值调 整量之间的映射关系。
实际应用中,可以预先对检测值划分多个区间,并在终端中存储该多个区间的信息。例如,可以对检测值划分(0,200]、(200,400]、(400,600]、(600,800]等多个区间。
同时,可以预先设置该多个区间与阈值调整量之间的映射关系,并中终端中存储该预设映射关系。例如,该预设映射关系可以为表2所示的映射关系。
区间 阈值调整量
(0,200] 300
(200,400] 500
(400,600] 700
(600,800] 900
表2
第一获取子模块6021获取到接近传感器的检测值后,第二获取子模块6022可以确定该检测值所处的区间,并根据确定出的区间和该预设映射关系获取对应的阈值调整量。例如,接近传感器的检测值为500,则可以确定出该检测值所处的区间为(400,600],进而获取到对应的阈值调整量为700。
确定模块603,用于根据该信号强度基础值和该阈值调整量确定该接近传感器的阈值。
实际应用中,第二获取模块602获取到接近传感器的阈值调整量后,确定模块603可以根据上述信号强度基础值和该阈值调整量确定该接近传感器的阈值。
其中,当阈值调整量为信号强度数值时,可以在信号强度基础值上增加该数值作为接近传感器的阈值。也即,计算所述信号强度基础值与所述阈值调整量的和,并将计算得到的和确定为接近传感器的阈值。例如,信号强度基础值为1000,获取到的阈值调整量为600,则可以确定出接近传感器的阈值为1600。
当阈值调整量为百分比时,可以在信号强度基础值上增加该百分比对应的信号强度作为接近传感器的阈值。也即,计算所述信号强度基础值与所述百分比对应的信号强度值的和,并将计算得到的和确定为接近传感器的阈值。例如,信号强度基础值为1000,获取到的阈值调整量为50%,则可以确定出接近传感器的阈值为1500。
控制模块604,用于根据该阈值以及该接近传感器检测到的信号强度值控制该显示屏的状态。
实际应用中,确定模块603确定出接近传感器的阈值后,终端可以在需要对显示屏的状态进行控制时,通过红外发射器向外发射红外信号,红外接收器持续接收返回的信号,接近传感器检测该返回信号的信号强度值。此时,终端显示屏一侧可以有物体(例如,用户脸部)遮挡,也可以没有物体遮挡。例如,在终端处于通话状态时,持续获取信号强度值。随后,控制模块604根据该阈值以及接近传感器检测到的信号强度值控制显示屏的状态。
在一些实施例中,控制模块604用于执行以下步骤:
当显示屏处于亮屏状态时,判断接近传感器检测到的信号强度值是否大于第一阈值;
若该信号强度值大于该第一阈值,则控制该显示屏熄灭。
实际应用中,该阈值可以包括第一阈值。该第一阈值可以是高阈值。该高阈值用于在显示屏处于亮屏状态时,触发控制显示屏熄灭。
终端的显示屏处于亮屏状态时,接近传感器检测到信号强度值后,控制模块604将该信号强度值与该第一阈值进行比较,以判断该信号强度值是否大于第一阈值。当判断出信号强度值大于该第一阈值时,说明终端与外部物体(例如,用户脸部)之间处于接近状态,此时控制显示屏熄灭。
例如,第一阈值为1800,检测到的信号强度值为2000,则该信号强度值大于该第一阈 值,此时控制显示屏熄灭。
在一些实施例中,控制模块604用于执行以下步骤:
当显示屏处于熄屏状态时,判断接近传感器检测到的信号强度值是否小于第二阈值;
若该信号强度值小于该第二阈值,则控制该显示屏点亮。
实际应用中,该阈值可以包括第二阈值。该第二阈值可以是低阈值。该低阈值用于在显示屏处于熄屏状态时,触发控制显示屏点亮。对于同一部终端,该低阈值小于上述高阈值。
终端的显示屏处于熄屏状态时,接近传感器检测到信号强度值后,控制模块604将该信号强度值与该第二阈值进行比较,以判断该信号强度值是否小于第二阈值。当判断出信号强度值小于该第二阈值时,说明终端与外部物体(例如,用户脸部)之间处于远离状态,此时控制显示屏点亮。
例如,第二阈值为1600,检测到的信号强度值为1500,则该信号强度值小于该第二阈值,此时控制显示屏点亮。
由上可知,本申请实施例提供的显示屏状态控制装置,通过第一获取模块601获取信号强度基础值;第二获取模块602根据终端所处的环境状态获取接近传感器的阈值调整量;确定模块603根据该信号强度基础值和该阈值调整量确定接近传感器的阈值;控制模块604根据该阈值以及该接近传感器检测到的信号强度值控制显示屏的状态。该方案根据终端所处的环境状态获取接近传感器的阈值调整量,进而确定接近传感器的阈值,从而终端处于不同的环境状态时,接近传感器的阈值是不同的,使得终端显示屏的状态控制与终端所处的环境状态相适应,从而可以提高显示屏状态控制的准确性,进而提高终端的稳定性。
在本说明书的描述中,参考术语“一个实施方式”、“某些实施方式”、“示意性实施方式”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合所述实施方式或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施方式或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施方式或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施方式或示例中以合适的方式结合。
本申请实施例还提供一种存储介质,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,所述计算机执行上述任一实施例所述的显示屏状态控制方法。
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过计算机程序来指令相关的硬件来完成,所述计算机程序可以存储于计算机可读存储介质中,所述存储介质可以包括但不限于:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。
综上所述,虽然本申请已以一些实施例揭露如上,但上述实施例并非用以限制本申请,本领域的普通技术人员,在不脱离本申请的精神和范围内,均可作各种更动与润饰,因此本申请的保护范围以权利要求界定的范围为准。

Claims (20)

  1. 一种显示屏状态控制方法,应用于终端中,所述终端包括显示屏和接近传感器,其中,所述显示屏状态控制方法包括:
    获取信号强度基础值,所述信号强度基础值为所述终端的显示屏一侧未被外部物体遮挡时所述接近传感器检测到的信号强度值:
    根据所述终端所处的环境状态获取所述接近传感器的阈值调整量;
    根据所述信号强度基础值和所述阈值调整量确定所述接近传感器的阈值;
    根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示屏的状态。
  2. 根据权利要求1所述的显示屏状态控制方法,其中,所述接近传感器包括红外发射器和红外接收器,所述根据所述终端所处的环境状态获取所述接近传感器的阈值调整量的步骤包括:
    在所述红外发射器关闭时,获取所述红外接收器的检测值;
    根据所述检测值获取所述接近传感器的阈值调整量。
  3. 根据权利要求2所述的显示屏状态控制方法,其中,所述根据所述检测值获取所述接近传感器的阈值调整量的步骤包括:
    判断所述检测值是否大于强光阈值;
    若所述检测值大于强光阈值,则获取第一阈值调整量;
    若所述检测值不大于强光阈值,则获取第二阈值调整量,所述第二阈值调整量小于所述第一阈值调整量。
  4. 根据权利要求2所述的显示屏状态控制方法,其中,所述根据所述检测值获取所述接近传感器的阈值调整量的步骤包括:
    确定所述检测值所处的区间;
    根据所述区间与预设映射关系获取对应的阈值调整量,所述预设映射关系为区间与阈值调整量之间的映射关系。
  5. 根据权利要求1所述的显示屏状态控制方法,其中,所述根据所述信号强度基础值和所述阈值调整量确定所述接近传感器的阈值的步骤包括:
    计算所述信号强度基础值与所述阈值调整量的和;
    将所述和确定为所述接近传感器的阈值。
  6. 根据权利要求1所述的显示屏状态控制方法,其中,所述阈值包括第一阈值,所述根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示屏的状态的步骤包括:
    当所述显示屏处于亮屏状态时,判断所述信号强度值是否大于所述第一阈值;
    若所述信号强度值大于所述第一阈值,则控制所述显示屏熄灭。
  7. 根据权利要求1所述的显示屏状态控制方法,其中,所述阈值包括第二阈值,所述根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示屏的状态的步骤包括:
    当所述显示屏处于熄屏状态时,判断所述信号强度值是否小于所述第二阈值;
    若所述信号强度值小于所述第二阈值,则控制所述显示屏点亮。
  8. 一种显示屏状态控制装置,应用于终端中,所述终端包括显示屏和接近传感器,其中,所述显示屏状态控制装置包括:
    第一获取模块,用于获取信号强度基础值,所述信号强度基础值为所述终端的显示屏一侧未被外部物体遮挡时所述接近传感器检测到的信号强度值:
    第二获取模块,用于根据所述终端所处的环境状态获取所述接近传感器的阈值调整量;
    确定模块,用于根据所述信号强度基础值和所述阈值调整量确定所述接近传感器的阈值;
    控制模块,用于根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示 屏的状态。
  9. 根据权利要求8所述的显示屏状态控制装置,其中,所述接近传感器包括红外发射器和红外接收器,所述第二获取模块包括:
    第一获取子模块,用于在所述红外发射器关闭时,获取所述红外接收器的检测值;
    第二获取子模块,用于根据所述检测值获取所述接近传感器的阈值调整量。
  10. 根据权利要求9所述的显示屏状态控制装置,其中,所述第二获取子模块用于:
    判断所述检测值是否大于强光阈值;
    若所述检测值大于强光阈值,则获取第一阈值调整量;
    若所述检测值不大于强光阈值,则获取第二阈值调整量,所述第二阈值调整量小于所述第一阈值调整量。
  11. 根据权利要求9所述的显示屏状态控制装置,其中,所述第二获取子模块用于:
    确定所述检测值所处的区间;
    根据所述区间与预设映射关系获取对应的阈值调整量,所述预设映射关系为区间与阈值调整量之间的映射关系。
  12. 根据权利要求8所述的显示屏状态控制装置,其中,所述阈值包括第一阈值,所述控制模块用于:
    当所述显示屏处于亮屏状态时,判断所述信号强度值是否大于所述第一阈值;
    若所述信号强度值大于所述第一阈值,则控制所述显示屏熄灭。
  13. 根据权利要求8所述的显示屏状态控制装置,其中,所述阈值包括第二阈值,所述控制模块用于:
    当所述显示屏处于熄屏状态时,判断所述信号强度值是否小于所述第二阈值;
    若所述信号强度值小于所述第二阈值,则控制所述显示屏点亮。
  14. 一种存储介质,其中,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,所述计算机执行权利要求1至7任一项所述的显示屏状态控制方法。
  15. 一种终端,包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现以下步骤:
    获取信号强度基础值,所述信号强度基础值为所述终端的显示屏一侧未被外部物体遮挡时所述接近传感器检测到的信号强度值:
    根据所述终端所处的环境状态获取所述接近传感器的阈值调整量;
    根据所述信号强度基础值和所述阈值调整量确定所述接近传感器的阈值;
    根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示屏的状态。
  16. 根据权利要求15所述的终端,其中,所述接近传感器包括红外发射器和红外接收器,根据所述终端所处的环境状态获取所述接近传感器的阈值调整量时,所述处理器执行所述计算机程序时实现以下步骤:
    在所述红外发射器关闭时,获取所述红外接收器的检测值;
    根据所述检测值获取所述接近传感器的阈值调整量。
  17. 根据权利要求16所述的终端,其中,根据所述检测值获取所述接近传感器的阈值调整量时,所述处理器执行所述计算机程序时实现以下步骤:
    判断所述检测值是否大于强光阈值;
    若所述检测值大于强光阈值,则获取第一阈值调整量;
    若所述检测值不大于强光阈值,则获取第二阈值调整量,所述第二阈值调整量小于所述第一阈值调整量。
  18. 根据权利要求16所述的终端,其中,根据所述检测值获取所述接近传感器的阈值调整量时,所述处理器执行所述计算机程序时实现以下步骤:
    确定所述检测值所处的区间;
    根据所述区间与预设映射关系获取对应的阈值调整量,所述预设映射关系为区间与阈值调整量之间的映射关系。
  19. 根据权利要求15所述的终端,其中,所述阈值包括第一阈值,根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示屏的状态时,所述处理器执行所述计算机程序时实现以下步骤:
    当所述显示屏处于亮屏状态时,判断所述信号强度值是否大于所述第一阈值;
    若所述信号强度值大于所述第一阈值,则控制所述显示屏熄灭。
  20. 根据权利要求15所述的终端,其中,所述阈值包括第二阈值,根据所述阈值以及所述接近传感器检测到的信号强度值控制所述显示屏的状态时,所述处理器执行所述计算机程序时实现以下步骤:
    当所述显示屏处于熄屏状态时,判断所述信号强度值是否小于所述第二阈值;
    若所述信号强度值小于所述第二阈值,则控制所述显示屏点亮。
PCT/CN2018/074600 2017-03-06 2018-01-30 显示屏状态控制方法、装置、存储介质及终端 WO2018161739A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710128733.7A CN106940633B (zh) 2017-03-06 2017-03-06 显示屏状态控制方法及装置
CN201710128733.7 2017-03-06

Publications (1)

Publication Number Publication Date
WO2018161739A1 true WO2018161739A1 (zh) 2018-09-13

Family

ID=59468940

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/074600 WO2018161739A1 (zh) 2017-03-06 2018-01-30 显示屏状态控制方法、装置、存储介质及终端

Country Status (2)

Country Link
CN (1) CN106940633B (zh)
WO (1) WO2018161739A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113011216A (zh) * 2019-12-19 2021-06-22 合肥君正科技有限公司 一种多分类阈值自适应的遮挡检测方法

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106940633B (zh) * 2017-03-06 2019-09-13 Oppo广东移动通信有限公司 显示屏状态控制方法及装置
CN107404575B (zh) * 2017-07-18 2020-04-17 Oppo广东移动通信有限公司 一种优化屏幕控制的方法、装置、存储介质及移动终端
CN110800278B (zh) * 2017-09-20 2021-07-13 深圳市欢太科技有限公司 通话处理方法及相关产品
CN107665081B (zh) * 2017-10-16 2020-01-14 Oppo广东移动通信有限公司 显示屏状态控制方法、装置、存储介质及终端
CN107888726A (zh) * 2017-11-22 2018-04-06 广东欧珀移动通信有限公司 显示屏组件及电子设备
CN107884975B (zh) * 2017-11-22 2019-12-31 Oppo广东移动通信有限公司 电子装置及传感器组件
CN107817936A (zh) * 2017-11-22 2018-03-20 广东欧珀移动通信有限公司 电子装置及传感器组件
CN107831901A (zh) * 2017-11-22 2018-03-23 广东欧珀移动通信有限公司 显示屏控制方法、装置、存储介质及电子装置
CN107844247B (zh) * 2017-11-22 2021-04-02 Oppo广东移动通信有限公司 显示屏组件及电子设备
CN108008765A (zh) 2017-11-22 2018-05-08 广东欧珀移动通信有限公司 电子设备
CN107808606B (zh) * 2017-11-22 2020-11-13 Oppo广东移动通信有限公司 显示屏组件及电子设备
CN107909977B (zh) * 2017-11-22 2022-01-07 Oppo广东移动通信有限公司 显示屏组件、控制方法、装置、存储介质及电子设备
CN107942555A (zh) * 2017-11-22 2018-04-20 广东欧珀移动通信有限公司 显示屏、显示屏组件及电子设备
CN107948352B (zh) * 2017-11-22 2020-05-12 Oppo广东移动通信有限公司 电子装置
CN107992163B (zh) * 2017-11-22 2020-01-14 Oppo广东移动通信有限公司 显示屏、显示屏组件及电子设备
CN107948354B (zh) * 2017-11-22 2020-09-08 Oppo广东移动通信有限公司 显示屏组件及电子设备
CN107959753A (zh) * 2017-11-22 2018-04-24 广东欧珀移动通信有限公司 显示屏组件及电子设备
CN107835319A (zh) * 2017-11-22 2018-03-23 广东欧珀移动通信有限公司 显示屏组件及电子设备
CN110275213A (zh) * 2018-03-16 2019-09-24 广东欧珀移动通信有限公司 一种接近检测的方法、装置、存储介质及电子设备
CN108810195B (zh) * 2018-03-16 2021-03-09 Oppo广东移动通信有限公司 电子装置及其制造方法
CN114966720A (zh) * 2018-05-14 2022-08-30 Abb瑞士股份有限公司 光电式接近传感器***和光电式接近检测方法
CN108989566A (zh) * 2018-08-01 2018-12-11 Oppo广东移动通信有限公司 控制方法、电子装置和计算机可读存储介质
CN109328358A (zh) * 2018-09-17 2019-02-12 深圳市汇顶科技股份有限公司 屏下光学检测***、电子设备及其物体接近检测方法
CN109343066B (zh) * 2018-09-18 2020-07-21 Oppo广东移动通信有限公司 接近传感器的控制方法、装置、存储介质及移动终端
CN109451105A (zh) * 2018-11-16 2019-03-08 Oppo广东移动通信有限公司 电子装置、控制方法及控制装置
CN109587341A (zh) * 2018-12-24 2019-04-05 努比亚技术有限公司 一种语音通话控制方法、终端及计算机可读存储介质
CN114038368A (zh) * 2021-10-29 2022-02-11 云谷(固安)科技有限公司 一种显示装置的校准方法和显示装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407399A (zh) * 2014-12-02 2015-03-11 三星半导体(中国)研究开发有限公司 用于在便携式终端中校准接近传感器的方法
CN106055178A (zh) * 2016-07-22 2016-10-26 广东欧珀移动通信有限公司 移动终端和接近传感器
CN106331320A (zh) * 2016-08-15 2017-01-11 广东欧珀移动通信有限公司 控制屏幕状态的方法及装置
CN106940633A (zh) * 2017-03-06 2017-07-11 广东欧珀移动通信有限公司 显示屏状态控制方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103661320B (zh) * 2013-12-05 2015-12-30 柳工无锡路面机械有限公司 一种轮胎压路机的三级互锁制动***
US9277144B2 (en) * 2014-03-12 2016-03-01 Apple Inc. System and method for estimating an ambient light condition using an image sensor and field-of-view compensation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407399A (zh) * 2014-12-02 2015-03-11 三星半导体(中国)研究开发有限公司 用于在便携式终端中校准接近传感器的方法
CN106055178A (zh) * 2016-07-22 2016-10-26 广东欧珀移动通信有限公司 移动终端和接近传感器
CN106331320A (zh) * 2016-08-15 2017-01-11 广东欧珀移动通信有限公司 控制屏幕状态的方法及装置
CN106940633A (zh) * 2017-03-06 2017-07-11 广东欧珀移动通信有限公司 显示屏状态控制方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113011216A (zh) * 2019-12-19 2021-06-22 合肥君正科技有限公司 一种多分类阈值自适应的遮挡检测方法
CN113011216B (zh) * 2019-12-19 2024-04-02 合肥君正科技有限公司 一种多分类阈值自适应的遮挡检测方法

Also Published As

Publication number Publication date
CN106940633B (zh) 2019-09-13
CN106940633A (zh) 2017-07-11

Similar Documents

Publication Publication Date Title
WO2018161739A1 (zh) 显示屏状态控制方法、装置、存储介质及终端
US10403232B2 (en) Method of controlling display screen states, and apparatus
US10650789B2 (en) Method and apparatus for controlling display screen statuses
CN106850990B (zh) 显示屏状态控制方法及装置
CN106385511B (zh) 传感器模组、面板组件及移动终端
CN110249613B (zh) 显示屏状态控制方法、装置、存储介质及电子设备
WO2018210141A1 (zh) 一种传感器组件、盖板组件、显示器组件以及电子设备
CN107064948B (zh) 传感器模组及移动终端
CN209089009U (zh) 电子设备
CN106598444B (zh) 移动终端的控制方法及移动终端
CN107665081B (zh) 显示屏状态控制方法、装置、存储介质及终端
CN106774656B (zh) 传感器组件、盖板、移动终端及终端控制方法
CN106774653B (zh) 一种终端
WO2019019815A1 (zh) 显示屏状态控制方法、装置、存储介质及终端
CN106603836B (zh) 盖板及终端
CN106774655B (zh) 盖板、传感器组件、终端及屏幕亮度的调整方法
CN206341280U (zh) 盖板及终端
CN206260014U (zh) 盖板及终端
CN206489474U (zh) 盖板、传感器组件及终端
CN206490702U (zh) 盖板、显示装置及终端
CN206930778U (zh) 传感器模组及移动终端
CN107844246B (zh) 显示屏状态控制方法、装置、存储介质及终端
CN206370852U (zh) 一种终端
CN106657624B (zh) 盖板及终端
CN117435084A (zh) 触控显示器及触控显示器控制方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18764631

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18764631

Country of ref document: EP

Kind code of ref document: A1