WO2020052494A1 - Terminal device - Google Patents

Terminal device Download PDF

Info

Publication number
WO2020052494A1
WO2020052494A1 PCT/CN2019/104611 CN2019104611W WO2020052494A1 WO 2020052494 A1 WO2020052494 A1 WO 2020052494A1 CN 2019104611 W CN2019104611 W CN 2019104611W WO 2020052494 A1 WO2020052494 A1 WO 2020052494A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
infrared light
display screen
value
distance
Prior art date
Application number
PCT/CN2019/104611
Other languages
French (fr)
Chinese (zh)
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 WO2020052494A1 publication Critical patent/WO2020052494A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components

Definitions

  • the present application relates to the field of terminal equipment, and more particularly, to a terminal equipment.
  • the application provides a terminal device and a method for controlling the terminal device.
  • the screen area of the terminal device provided in this application is relatively large.
  • the present application provides a terminal device including: a display screen and a sensor component; the display screen includes a display area and a non-display area; the sensor component includes a signal transmitter and a signal detector; and the signal transmission Transmitter located in the non-display area for transmitting a detection signal with a first preset radiation intensity; the signal detector located in the display area for receiving a reflected signal; the signal transmitter and the signal detection The distance between the devices is in a second preset range.
  • the signal detector since the signal detector is located in the display area of the display screen, the signal detector no longer occupies the non-display area of the display screen, which can reduce the area of the non-display area of the display screen and increase the screen ratio of the terminal device.
  • the signal detector is capable of receiving a reflection signal of the detection signal.
  • the reflected signal includes a reflected signal incident from outside the display screen into the display screen.
  • the first preset radiation intensity is greater than 7 milliwatts per sphere.
  • the first preset radiation intensity is greater than or equal to 6 milliwatts per sphere.
  • the first preset radiation intensity is greater than 4 milliwatts per sphere.
  • the second preset range is greater than 2 mm and less than or equal to 6 mm.
  • the terminal device further includes: a circuit board, and the signal transmitter and the signal detector are fixed on the circuit board.
  • the terminal device further includes: a light shielding layer, the light shielding layer is disposed between the display screen and the signal detector.
  • the terminal device further includes a through hole
  • the light shielding layer is provided with a through hole
  • the signal detector is located within a range of the through hole.
  • the centers of the signal transmitter and the signal detector are on a straight line.
  • the first preset radiation intensity and the second preset threshold are such that a signal-to-noise ratio of the sensor component is not less than a third preset threshold.
  • the third preset threshold is not less than 5.
  • the present application provides a method for controlling a terminal device.
  • the method includes: acquiring a first value, the first value being an infrared light detected by an infrared light detector of the terminal device when the infrared light emitted by the infrared light transmitter of the terminal device is not reflected by an external object Energy value of light; obtaining a second value, the second value is infrared light detected by an infrared light detector of the terminal device when infrared light emitted by the infrared light transmitter of the terminal device is reflected by an external object Control the terminal device to turn off the screen or light up the screen according to the second value and the first value.
  • the terminal device is controlled to turn off the screen or The accuracy of lighting the screen can be higher.
  • the controlling the terminal device to turn off the screen or light up the screen according to the second value and the first value includes: controlling the terminal device to turn off the screen or light up the screen according to a third value,
  • the third value is a difference between the second value and the first value.
  • controlling the terminal device to turn off the screen or lighting the screen according to a third value includes: controlling the terminal device to turn off the screen when the third value is greater than or equal to a first threshold; When the third value is less than or equal to the second threshold, controlling the terminal device to light up the screen.
  • the terminal device is a terminal device in the first aspect or in any possible implementation manner of the first aspect.
  • the terminal device because the signal detector is set on the display area of the display screen, so that the signal detector no longer occupies the non-display area of the display screen, the area of the non-display area of the display screen can be reduced, and the Screen ratio.
  • FIG. 1 is a schematic structural diagram of a terminal device.
  • FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a proximity sensor according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a terminal device according to another embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a display screen of a terminal device applicable to an embodiment of the present application.
  • Terminal equipment can also be called user equipment, which can be mobile phones, telephone watches, tablet computers, notebook computers, personal digital assistant (PDA) equipment, digital multimedia players, etc., and is not limited to communication terminals.
  • PDA personal digital assistant
  • the terminal device may also be a terminal device in an Internet of Things (IoT) system.
  • IoT Internet of Things
  • the IoT is an important part of the development of future information technology. Its main technical feature is to pass items through communication technology. It is connected to the network to realize the intelligent network of human-machine interconnection and physical interconnection.
  • FIG. 1 shows a schematic diagram of an example of the terminal device.
  • the terminal device 100 may include the following components.
  • the RF circuit 110 may be used to receive and send signals during the transmission and reception of information or during a call.
  • the downlink information of the base station is received and processed by the processor 180; in addition, the uplink data of the design is transmitted to the base station.
  • the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
  • the RF circuit 110 can also communicate with a network and other devices through wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to wireless local area networks (WLAN) global mobile system (GSM) system, code division multiple access (Code Division Multiple Access) (CDMA) system, wideband code division multiple access (WCDMA) system, general packet radio service (GPRS), long term evolution (LTE) system, LTE frequency division duplex (frequency division duplex (FDD)) system, LTE time division duplex (TDD), universal mobile communication system (UMTS), worldwide interconnected microwave access (WiMAX) communication system 5.
  • WLAN wireless local area networks
  • GSM global mobile system
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • GPRS general packet radio service
  • LTE long term evolution
  • LTE LTE frequency division duplex
  • FDD frequency division duplex
  • TDD time division duplex
  • UMTS universal mobile communication system
  • WiMAX worldwide interconnected microwave access
  • the memory 120 may be configured to store software programs and modules, and the processor 180 executes various functional applications and data processing of the terminal device 100 by running the software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store Data (such as audio data, phone book, etc.) created based on the use of the terminal device 100.
  • the memory 120 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the other input devices 130 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the terminal device 100.
  • the other input devices 130 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, an joystick, and a light mouse (a light mouse is a touch-sensitive device that does not display visual output). Or one or more of a touch sensitive surface formed by a touch screen).
  • the other input devices 130 are connected to other input device controllers 171 of the I / O subsystem 170, and perform signal interaction with the processor 180 under the control of the other device input controllers 171.
  • the display screen 140 may be used to display information input by the user or information provided to the user and various menus of the terminal device 100, and may also accept user input.
  • the specific display screen 140 may include a display panel 141 and a touch panel 142.
  • the display panel 141 may be configured with a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • Touch panel 142 also known as touch screen, touch-sensitive screen, etc., can collect user's contact or non-contact operations on or near it (for example, the user uses a finger, a stylus or any suitable object or accessory on touch panel 142 Or the operation near the touch panel 142 may also include a somatosensory operation; the operation includes a single-point control operation, a multi-point control operation and the like), and the corresponding connection device is driven according to a preset program.
  • the touch panel 142 may include a touch detection device and a touch controller.
  • the touch detection device detects a user's touch orientation and posture, and detects signals brought by the touch operation, and transmits the signals to the touch controller; the touch controller receives touch information from the touch detection device and converts it into a processor capable of The processed information is then sent to the processor 180, which can receive commands from the processor 180 and execute them.
  • the touch panel 142 may be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave, and the touch panel 142 may also be implemented using any technology developed in the future.
  • the touch panel 142 may cover the display panel 141, and the user may display the display panel 141 (the display content includes, but is not limited to, a soft keyboard, a virtual mouse, virtual keys, icons, etc.) on the display panel 141 An operation is performed on or near the covered touch panel 142. After the touch panel 142 detects an operation on or near the touch panel 142, the touch panel 142 transmits the operation to the processor 180 through the I / O subsystem 170 to determine a user input. The inputs provide corresponding visual outputs on the display panel 141 through the I / O subsystem 170.
  • the touch panel 142 and the display panel 141 are implemented as two independent components to implement the input and input functions of the terminal device 100, in some embodiments, the touch panel 142 and the display panel 141 may be used. Integrated to implement the input and output functions of the terminal device 100.
  • the sensor 150 may be one or more types.
  • the sensor 150 may include a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor.
  • the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light.
  • the proximity sensor may close the display panel 141 when the terminal device 100 is moved to the ear. And / or backlight.
  • an acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes). It can detect the magnitude and direction of gravity when it is stationary. It can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.
  • the terminal device 100 may be configured with other sensors such as a gravity sensor (also referred to as a gravity sensor), a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and details are not described herein again.
  • a gravity sensor also referred to as a gravity sensor
  • a gyroscope also referred to as a barometer
  • a hygrometer a thermometer
  • an infrared sensor and the like, and details are not described herein again.
  • the audio circuit 160 may transmit the received converted signal of the audio data to the speaker 161, and the speaker 161 converts it into a sound signal for output.
  • the microphone 162 converts the collected sound signal into a signal, and the audio circuit 160 It is converted into audio data, and then the audio data is output to the RF circuit 108 for transmission to, for example, another terminal device, or the audio data is output to the memory 120 for further processing.
  • the I / O subsystem 170 is used to control input and output of external devices, and may include other device input controllers 171, sensor controllers 172, and display controllers 173.
  • one or more other input control device controllers 171 receive signals from and / or send signals to other input devices 130.
  • the other input devices 130 may include physical buttons (press buttons, rocker buttons, etc.) , Dial, slide switch, joystick, click wheel, light mouse (light mouse is a touch-sensitive surface that does not display visual output, or an extension of a touch-sensitive surface formed by a touch screen). It is worth noting that the other input control device controller 171 may be connected to any one or more of the above devices.
  • the display controller 173 in the I / O subsystem 170 receives signals from the display screen 140 and / or sends signals to the display screen 140. After the display screen 140 detects a user input, the display controller 173 converts the detected user input into interaction with a user interface object displayed on the display screen 140, that is, realizes human-computer interaction.
  • the sensor controller 172 may receive signals from and / or send signals to one or more sensors 150.
  • the processor 180 is a control center of the terminal device 100, and uses various interfaces and lines to connect various parts of the entire terminal device.
  • the processor 180 runs or executes software programs and / or modules stored in the memory 120, and calls the stored programs in the memory 120.
  • the data performs various functions of the terminal device 100 and processes data, thereby performing overall monitoring of the terminal device.
  • the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc.
  • the modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 180.
  • the terminal device 100 further includes a power source 190 (such as a battery) for supplying power to various components.
  • the power source can be logically connected to the processor 180 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption through the power management system.
  • the terminal device 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the terminal device shown in FIG. 1 is only an example of a terminal device, and this application is not particularly limited.
  • the embodiments of this application can be applied to electronic devices such as mobile phones and tablet computers, and this application does not limit this. .
  • the terminal device 100 may include a display screen 140.
  • the display screen 140 may include a display panel, and the display panel may also be referred to as a display line.
  • the display screen 140 may further include a cover glass (CG), and the display panel may be covered by the cover glass.
  • the area of the cover glass may be larger than or equal to the display panel, and the cover glass may partially overlap the display panel.
  • the cover glass and the display panel partially overlap, the area where the two overlap may be referred to as the display area of the display screen, and accordingly, the area where the two do not overlap may be referred to as the non-display area of the display screen.
  • the terminal device 100 may further include a sensor 150.
  • the sensor 150 may be a sensor component including a signal transmitter and a signal detector.
  • the sensor component may be an ambient light sensor or a proximity sensor.
  • the signal transmitter may be It is used to transmit the detection signal to the outside of the display screen.
  • the signal detector can be used to receive the reflection signal formed after the detection signal is reflected by an external object.
  • the proximity sensor may be an infrared light-based proximity sensor and may be referred to as an optical proximity sensor. Accordingly, the signal transmitter of the infrared light-based proximity sensor may be an infrared light transmitter for emitting infrared light outside the display screen. The signal detector of the infrared light-based proximity sensor may be an infrared light detector for receiving reflected light formed after infrared light is reflected by an external object.
  • the proximity sensor is not exposed on the surface of the terminal device, but is located in a non-display area of the display screen and is disposed under the cover glass.
  • this application uses an infrared light-based proximity sensor as an example for description.
  • the infrared light-based proximity sensors are collectively referred to as proximity sensors in the following. It should be understood that the proximity sensor described in the embodiment of the present application is only an example of a sensor component, and the present application is not particularly limited.
  • the proximity sensor can sense the distance between the terminal device and the object, so that the terminal device can realize the on / off control of the display screen. That is, the terminal device may control the terminal device to turn off or light up the screen according to the distance between the terminal device and the object detected by the proximity sensor.
  • the proximity sensor can be an infrared light-based proximity sensor.
  • the proximity sensor can be composed of an infrared light transmitter and an infrared light detector.
  • the infrared light transmitter here can also be called an infrared light source, and the infrared light detector can also be called infrared. detector.
  • the application does not limit the type of the proximity sensor.
  • the terminal device can have a communication function.
  • the proximity sensor can collect the distance between the terminal device and the user's ear. If the distance between the terminal device and the ear is less than (or equal to) a preset distance, the terminal The device can turn off the display, which can reduce the power consumption of the terminal device.
  • the proximity sensor can also collect the distance between the terminal device and the user's ear. If the distance between the terminal device and the ear is greater than (or equal to) a preset distance, the terminal device can light up the display screen.
  • the display screen of the terminal device may also be a touch screen.
  • the terminal device may be turned off.
  • the display screen that is, the terminal device enters an approaching state, and no longer accepts a user's touch operation on the touch screen at this time, which can avoid various misoperations caused by accidentally touching the display screen.
  • the terminal device may light up the display screen, that is, the terminal device enters a distant state.
  • the preset first distance may be 2 centimeters (cm), and the preset second distance may be 5 cm.
  • the preset first distance may be 2 centimeters (cm)
  • the preset second distance may be 5 cm.
  • the proximity sensor can more accurately determine that an object is approaching or away from the display screen of the terminal device.
  • the light emitted by the infrared light transmitter passes through the cover glass and is reflected by the approaching object.
  • the reflected infrared light passes through the cover glass and is detected by infrared light.
  • the infrared light emitted by the infrared light transmitter and received by the infrared light detector after being reflected by the receiving object can be referred to as the reflected light near the object.
  • part of the light emitted by the infrared light transmitter fails to pass through the cover glass, but is reflected by the cover glass and received by the infrared light detector.
  • This part of the infrared light can be It is considered as the noise floor, and it is much less than the infrared light reflected by the close object, which can be called the non-close object reflected light.
  • An object that is close to the display screen of the terminal device may be referred to as an approaching object.
  • the infrared light detector When no object approaches the display screen of the terminal device, among the infrared light emitted by the infrared light transmitter, it can be considered that only a part of the infrared light reflected by the cover glass is detected by the infrared light detector. That is, it can be understood that, among the infrared light received by the infrared detector, there is no infrared light reflected near the object, but only the infrared light reflected by the cover glass.
  • the distance between the object and the display screen of the terminal device can be determined by the amount of infrared light energy (or the intensity of the infrared light energy) captured by the infrared light detector, and the terminal device can be determined to be in an approaching state or a distant state according to the distance.
  • the terminal device based on the amount of energy of the infrared light detected by the infrared light detector, it can be determined whether the terminal device is in a near state or a distant state with respect to the object, so that the terminal device can be controlled to turn off or brighten the screen.
  • the intensity of the infrared light detected by the infrared detector is greater than or equal to a preset threshold, it can be determined that the terminal device is in a close state; when the intensity of the infrared light detected by the infrared detector is less than a preset threshold When it is determined that the terminal device is in a distant state.
  • FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present application. It should be understood that the terminal device 200 shown in FIG. 2 is only an example, which may include more modules or units, and the positions of the modules or units in the terminal device 200 shown in FIG. 2 are only examples, and Unlimited.
  • the display screen 210 in FIG. 2 may be the display screen 140 of the terminal device 100 shown in FIG. 1.
  • the terminal device 200 includes: a display screen 210, an infrared light emitter 220, and an infrared light detector 230;
  • the display screen 210 includes a display area 218 and a non-display area 216; and the infrared light emitter 220 Is located in the non-display area 216 for transmitting a detection signal with a first preset radiation intensity;
  • the infrared light detector 230 is located in the display area 218 for receiving a reflected signal; the infrared light transmitter 220 The distance from the infrared light detector 230 is in a second preset range.
  • the infrared light detector 230 is arranged in the display area 218, the display area of the display screen 210 can be increased, thereby increasing the screen ratio of the terminal device 200.
  • the infrared light transmitter 220 and the infrared light detector 230 belong to the proximity sensor of the terminal device 200, and the proximity sensor may be the sensor 150 in the terminal device 100 shown in FIG. 1.
  • the infrared light emitter 220 may be located in the display area 218. In this way, the display area of the display screen 210 can be further increased, thereby further increasing the screen ratio of the terminal device 200.
  • the terminal device 200 shown in FIG. 2 may further include an earphone 201 and a camera 202. Further, the handset 201 and the camera 202 may be configured in the display screen 210 and located in the display area 218, thereby further increasing the screen ratio of the terminal device 200.
  • the infrared light transmitter 220 and the infrared light detector 230 may be packaged together to form a proximity sensor component.
  • the infrared light transmitter 220 may be separated from the proximity sensor component to enable infrared light detection.
  • the monitor 230 may be disposed in the display area 218 of the display screen 210, thereby increasing the screen ratio of the terminal device 200.
  • the infrared light detector 230 is disposed in the display area 218 of the display screen 210, the radiation intensity of the infrared light transmitter 220 needs to be increased so that the infrared light detector 230 can receive the light emitted from the display screen. A reflected signal into the display screen, so that the function of the sensor can be kept normal.
  • the proximity sensor 300 in FIG. 3 is an example of a sensor component in the embodiment of the present application.
  • a pin SCL of the proximity sensor 300 is a clock bus port, and can be connected to a pin SCL of a processor in a terminal device;
  • Pin SDA is a data bus port and can be connected to the pin SDA of the processor in the terminal device;
  • pin INT is an interrupt port and can be connected to the pin INT of the processor in the terminal device;
  • pin VDD is a working voltage port and can be connected to the proximity sensor Internal working voltage;
  • pin GND is the ground port, pin PGND is the protective ground port;
  • pin LDR is the current drive port, which can be connected to the negative (or cathode) of the infrared light transmitter 220, LEDA means infrared light transmitter
  • the positive electrode (or anode) of 220 can be connected to the supply voltage VCC of the internal circuit of the terminal device.
  • the infrared light detector 230 is packaged inside the proximity sensor 300, the positive pole of the infrared light detector 230 is grounded, and the negative pole of the infrared light detector 230 is connected to the pin SCL and the pin SDA through other components or modules.
  • connection method reference may be made to the prior art, and details are not described herein again.
  • the anode of the infrared light transmitter 220 can be outside the infrared light detector 230 and connected to the LDR port of the infrared light detector 230, and the anode of the infrared light transmitter 220 can be connected to the internal circuit of the terminal device.
  • the power supply voltage VCC is connected.
  • the infrared light transmitter 220 can be separated from the proximity sensor 300, so that the infrared light transmitter 220 can be configured in the display area 218 of the display screen 210, and the infrared light detector 230 can be configured. In a non-display area 216 of the display screen 210.
  • the infrared light transmitter 220 can be separated from the proximity sensor, so that the infrared light transmitter 220 is connected to the infrared light detector 230 outside the infrared light detector 230, so that The configuration of the proximity sensor is more flexible.
  • the position of the infrared light detector 230 in the display area needs to be in a second preset range, that is, the infrared light detector 230 needs to be located on the reflected signal that is projected into the display screen from outside the display screen. In this way, the infrared light detector 230 can receive the reflected signal.
  • FIG. 4 is an exemplary structural diagram of a terminal device 200 according to an embodiment of the present application.
  • the display screen 210 of the terminal device 200 includes a cover glass 212 and a display panel 214.
  • the display panel 214 is disposed below the cover glass 212.
  • An area where the display panel 214 and the cover glass 212 overlap may be referred to as a display.
  • the display area 218 of the screen 210, the area where the display panel 214 and the cover glass 212 do not overlap may be referred to as a non-display area 216 of the display screen 210.
  • the infrared light transmitter 220 is located in the non-display area 216 and is located inside the display screen 210 for transmitting a detection signal with a first preset radiation intensity; the infrared light detector 230 is located in the display area 218 and is located in a display The inner side of the screen 210 is used to receive a reflected signal; the distance between the signal transmitter and the signal detector is in a second preset range.
  • the first preset radiation intensity may be greater than 7 milliwatts per sphere (mW / sr).
  • the second preset range may be greater than 2 millimeters (mm) and less than or equal to 6 mm.
  • the terminal device 200 may further include a circuit board 260, and the infrared light transmitter 220 and the infrared light detector 230 are fixed on the circuit board 260.
  • the infrared light transmitter 220 and the infrared light detector 230 may be soldered on the circuit board 260.
  • the circuit board 260 may be a flexible printed circuit board (FPC) or a printed circuit board (PCB).
  • FPC flexible printed circuit board
  • PCB printed circuit board
  • the terminal device 200 may further include a light shielding layer 240, which is disposed between the display screen 210 and the infrared light detector 230.
  • the terminal device 200 may further include a through hole 250. In this way, unnecessary signal attenuation can be reduced, so that the reflected light passing through the display screen 210 can be smoothly received by the signal detector.
  • the light shielding layer 240 may be provided with a through hole 250, and the infrared light detector 230 is located within the range of the through hole 250.
  • the infrared light detector 230 may receive reflected light through the through hole 250.
  • the reflected light may be reflected light formed by the infrared light emitted by the infrared light transmitter 220 after being reflected by an external object.
  • the reflected light may be the infrared light transmitter 220.
  • the emitted infrared light is reflected light after being reflected by the cover glass 212.
  • the display screen 210 may include an ink layer 213, and the ink layer 213 may be located inside the cover glass 212. Further, the ink layer 213 may be printed on the inside of the cover glass 212.
  • the centers of the signal transmitter and the signal detector are on a straight line. As shown in Figure 1.
  • the centers of the signal transmitter and the signal detector may not be in a straight line, and the signal detector is in a possible area of the reflected light, and it is only necessary to ensure that the reflected light can be received.
  • Embodiments of the present application Not specifically limited.
  • the proximity sensor can sense the distance between the terminal device and the approaching object, so that the terminal device can control the terminal device to turn off or brighten the screen according to the distance between the terminal device and the approaching object detected by the proximity sensor.
  • the performance of a proximity sensor in a terminal device needs to meet certain requirements in order to make the terminal device extinguish or light up the display screen at a predetermined distance.
  • the performance of the proximity sensor refers to the sensitivity of the proximity sensor to the distance to the object.
  • the proximity sensor needs to be able to sense an approaching object when the predetermined distance is between the terminal device and the proximity object, that is, the performance of the proximity sensor needs It can be realized that an approaching object is sensed at a predetermined distance.
  • the performance of the proximity sensor can be reflected by the signal-to-noise ratio (SNR) of the proximity sensor. Therefore, in order to make the proximity sensor sense a proximity object at a predetermined distance, the SNR of the proximity transmitter needs to meet certain requirements.
  • SNR signal-to-noise ratio
  • the SNR value of the proximity sensor needs to be greater than or equal to 5.
  • the SNR of the proximity sensor is received by the infrared light detector 230, the energy value of the reflected light 219 from the approaching object, the energy value of the non-proximity object reflected light 217, and the infrared light detected by the infrared light detector 230.
  • the data jitter of the processor 230 is determined.
  • the data jitter of the infrared light detector 230 refers to the bias error of the infrared light detector, and is determined by the performance of the device of the infrared light detector 230.
  • the data jitter of the infrared light detector 230 is a fixed value.
  • SNR (pdata-crosstalk) / jitter.
  • pdata represents the energy value of the reflected light 219 of the near object received by the infrared light detector 230
  • crosstalk represents the energy value of the reflected light 217 of the non-closed object received by the infrared light detector 230
  • jitter represents the data jitter of the infrared light detector .
  • pdata is related to the radiation intensity of the infrared light transmitter and the infrared light transmittance of the display screen. The greater the radiation intensity of the infrared light transmitter and the higher the infrared light transmittance of the display screen, the larger the pdata; otherwise, the smaller the pdata.
  • Crosstalk is related to the radiation intensity of the infrared light transmitter, the infrared light transmittance of the display screen, and the distance between the infrared light transmitter and the infrared light detector. The greater the radiation intensity of the infrared light transmitter, the lower the infrared light transmittance of the display screen, and the closer the distance between the infrared light transmitter and the infrared light detector, the larger the crosstalk; otherwise, the smaller the crosstalk.
  • the terminal device can extinguish or light up the display screen at a predetermined distance.
  • the infrared light detector 230 of the terminal device is located below the cover glass 212 and the display panel 214 of the display area 218, and the infrared light transmitter 220 is located on the cover glass of the non-display area 216. 212 and / or the ink layer 213.
  • the infrared light transmittance of the display screen refers to the infrared light transmittance of the cover glass, the display panel and / or the ink layer.
  • the infrared light transmittance of the same medium is related to the infrared light reflectance.
  • the cover glass is used as an example to explain that if the cover glass has a higher infrared light transmittance, the cover glass has a lower infrared light reflectance; if the cover glass has a lower infrared light transmittance, The higher the infrared light reflectivity of the cover glass. Therefore, pdata and crosstalk can also be considered to be related to the infrared light reflectivity of the display screen (including the display panel, cover glass and / or ink layer).
  • the infrared light transmittance here refers to the infrared light transmittance of the cover glass, the display panel and / or the ink layer.
  • the radiation intensity of the infrared light transmitter The infrared light transmittance The distance between the infrared light transmitter and the infrared light detector
  • Crosstalk is large.
  • the intensity of the infrared light transmitter is high.
  • the infrared light transmittance is low.
  • the distance between the infrared light transmitter and the infrared light detector is small.
  • the crosstalk is small.
  • the radiation intensity of the infrared light transmitter is low.
  • the infrared light transmittance is high.
  • the distance between the infrared light transmitter and the infrared light detector is large.
  • the infrared light transmittance of the display panel is related to the wiring density and material of the display lines of the display panel. Generally speaking, the higher the resolution of the display panel of the same material, the denser the display lines, and the lower the infrared light transmittance; otherwise, the higher the infrared light transmittance. At present, the infrared light transmittance of display panels is much lower than that of cover glass and ink layers.
  • the infrared light detector is located inside the cover glass of the display area and the display panel, that is, the infrared light received by the infrared detector needs to pass through the display panel, and the infrared light transmittance of the display panel is small. Will cause the pdata to become smaller and the crosstalk to be larger. Therefore, if the SNR of the proximity sensor in the embodiments of the present application is not less than the SNR of the proximity sensor in the prior art, it can be achieved by increasing pdata and / or reducing crosstalk. .
  • both the infrared light emitter and the infrared light detector are located in a non-display area of a display screen.
  • the radiation intensity of the infrared light emitter can be increased by 3 to 4 times.
  • the radiation intensity of the infrared light transmitter in the embodiment of the present application can be Increase to more than 6mW / sr.
  • the distance between the infrared light detector and the infrared light emitter can be increased to more than 2 mm, and further, the distance needs to be less than or equal to 6 mm.
  • the crosstalk will also increase accordingly. Therefore, when the radiation intensity of the infrared light transmitter is increased to increase the pdata, the distance between the infrared light detector and the infrared light transmitter can be increased at the same time to reduce the crosstalk, thereby better ensuring that the SNR of the proximity sensor is not less than SNR of the proximity sensor in the prior art.
  • the radiation intensity of the infrared light emitter can be set to a first preset radiation intensity
  • the distance between the infrared light emitter and the infrared light detector can be set to a second preset range
  • the preset range should be such that the SNR of the proximity sensor is not less than a preset SNR threshold, for example, it is not less than the SNR of the proximity sensor in the prior art.
  • a value range of the SNR of the proximity sensor in the prior art is not less than 5.
  • the first preset radiation intensity and the second preset range can be obtained by simulation using a finite element method. For example, through simulation software, the radiation intensity of the infrared light transmitter and the distance between the infrared light transmitter and the infrared light detector can be continuously adjusted until the energy value pdata, infrared, and The SNR calculated by the energy value of the crosstalk received by the light detector from the light reflected by the non-close object and the data jitter of the infrared light detector is greater than or equal to a preset SNR threshold.
  • the radiation intensity of the infrared light transmitter at this time is the first preset radiation intensity
  • the distance between the infrared light transmitter and the infrared light detector is the second preset range.
  • the radiation intensity of the infrared light transmitter can be increased by 3 to 4 times compared to the radiation intensity of the infrared light transmitter in the existing terminal device. At the same time, increase the distance between the infrared light detector and the infrared light transmitter to more than 2mm.
  • the distance between the infrared light detector and the infrared light transmitter may be less than or equal to 6 mm.
  • the radiation intensity of the infrared light transmitter in the existing terminal equipment is 2mW / sr
  • the distance between the infrared light detector and the infrared light transmitter is 1 to 2mm
  • the SNR is not less than 5, based on these data.
  • the finite element simulation can obtain the following results: the first preset radiation intensity is greater than 4mW / sr, or the first preset radiation intensity is greater than or equal to 6mW / sr, and / or, the second preset range is greater than 2mm, and the second preset The setting range can be less than or equal to 6mm.
  • the terminal device in the embodiment of the present application can turn off or light up the display screen at a predetermined distance.
  • the predetermined distance may be the same as the distance at which the terminal device in the prior art turns off or lights up the display screen.
  • the terminal device Because the infrared light actually detected by the infrared light detector of the terminal device usually includes the energy value (pdata) of the reflected light near the object and the energy value of the reflected light (crosstalk) of the non-closed object, the terminal device will be based on the infrared light.
  • the distance between the detector and the infrared light transmitter is preset to an energy value (crosstalk0) of light reflected from a non-proximity object.
  • the crosstalk corresponding to 5mm is preset in the terminal device.
  • the crosstalk 0 corresponding to 5mm refers to: between the infrared light detector and the infrared light transmitter When the distance is 5mm, the energy value of light reflected by non-close objects.
  • the terminal device when it determines whether it is in a near state or a distant state, it can subtract the preset crosstalk0 from the energy value (pdata + crosstalk) of the infrared light actually detected by the infrared light detector, so as to obtain the reflected light of the approaching object An energy value, and compare the energy value with pdata1 or pdata2, and then determine whether the terminal device is in an approaching state or a distant state according to the comparison result.
  • pdata1 is a preset energy value of the reflected light of the terminal device when the terminal device is just close to the object
  • pdata2 is a preset energy value of infrared light of the terminal device when the terminal device is just near the object.
  • pdata1 and pdata2 may be equal.
  • the positions of the infrared light emitters and infrared light detectors in the terminal device will be offset during installation, which makes the infrared light emitters and infrared light detectors.
  • the actual installation distance and the expected installation distance that is, the actual installation distance between the infrared light detector and the infrared light transmitter is not equal to the expected installation distance between the infrared light detector and the infrared light transmitter.
  • the expected installation distance between the infrared light detector and the infrared light transmitter is 5mm, but the actual installation distance between the infrared light detector and the infrared light transmitter may be only 4.9mm, which is a deviation of 0.1mm compared to 5mm .
  • the energy values of the light reflected by non-close objects are different. Therefore, the actual installation distance between the infrared light emitter and the infrared light detector is different from the expected installation distance. When there is a deviation between the two, the energy value of the non-close object light in the infrared light actually detected by the infrared light detector is different from the energy value of the non-close object light preset in the terminal device.
  • the terminal device also presets the energy value of the light of the non-proximity object according to the expected installation distance between the infrared light transmitter and the infrared light detector, it will cause the terminal device to calculate the energy value based on the energy value.
  • the energy value of the light approaching the object is not accurate.
  • this application proposes a method for controlling a terminal device.
  • the method includes: when the infrared light emitted by the infrared light transmitter of the terminal device is not reflected by an external object, the infrared light detector of the terminal device detects the infrared light and presets the energy value of the detected infrared light to be non-close The energy value of the object light and controlling the terminal device to turn off the screen or light up the screen according to the preset energy value of the non-close object light.
  • the terminal device presets the energy value of the non-close-to-object light through this method, and controls the terminal device to turn off the screen or lights the screen according to the preset energy value of the non-close-to-object light, which can improve the terminal device to turn off or light the screen Accuracy.
  • a method for controlling a terminal device may include the following three steps.
  • Step 1 Obtain a first value.
  • the first value is the infrared light detected by the infrared light detector of the terminal device when the infrared light emitted by the infrared light transmitter of the terminal device is not reflected by an external object. Energy value.
  • the first value may be an energy value of the infrared light detected by the infrared light detector of the terminal device when the infrared light emitted by the infrared light transmitter of the terminal device is not reflected by an external object, and the energy value is preset in the terminal.
  • the energy value of the light in the device as a non-proximate object.
  • the first value may be configured on the terminal device when the terminal device is configured before the terminal device leaves the factory.
  • the first value is a value output when the infrared light detector detects the infrared light when the infrared light emitted by the infrared light transmitter is not reflected by an external object when there is no object obstruction above the display screen of the terminal device. Since there is no approaching object above the display screen, the first value here is the energy of light reflected by non-proximity objects.
  • the first value may be an energy value of infrared light reflected by the cover glass and the display panel.
  • the first value may be compared with the energy value of infrared light reflected by a non-close object corresponding to a preset installation distance between the infrared light detector and the infrared light transmitter. Large deviation.
  • Step 2 Obtain a second value, which is the energy of the infrared light detected by the infrared light detector of the terminal device when the infrared light emitted by the infrared light transmitter of the terminal device is reflected by an external object value.
  • the second value may be obtained by the user equipment during the process of using the terminal device.
  • the second value is a value that is output after the infrared light detector detects the infrared light after the infrared light emitted by the infrared light transmitter is reflected by an external object when an object is blocked above the display screen of the terminal device.
  • the second value is the sum of the energy reflected by the approaching object and the energy reflected by the non-proximity object. That is to say, the second value includes the infrared light emitted by the infrared light transmitter of the terminal device after being reflected by the approaching object, and the infrared light detected by the infrared light detector also includes the direct cover without being reflected by the approaching object. Infrared light detected by the infrared light detector after reflection by plate glass, ink or display panel.
  • Step 3 Control the terminal device to turn off the display screen or light up the display screen according to the first value and the second value.
  • the terminal device may be controlled to turn off the display screen or light up the display screen according to a third value obtained by subtracting the first value from the second value.
  • control the terminal device when the third value is greater than or equal to the first threshold value, control the terminal device to turn off the display screen; when the third value is less than or equal to the second threshold value, control the terminal device to light up the display screen.
  • the terminal device may save an energy value (a first threshold value) of infrared light corresponding to a preset distance into the approach state. For example, when the distance between the display screen of the terminal device and the approaching object is less than or equal to 2 cm, the terminal device enters the proximity state, that is, the display screen is turned off, and the terminal device can save the distance between the display screen of the terminal device and the approaching object. When it is 2 cm, only the energy value of the infrared light reflected by the near object is recorded as the first threshold.
  • a first threshold value a first threshold value of infrared light corresponding to a preset distance into the approach state. For example, when the distance between the display screen of the terminal device and the approaching object is less than or equal to 2 cm, the terminal device enters the proximity state, that is, the display screen is turned off, and the terminal device can save the distance between the display screen of the terminal device and the approaching object. When it is 2 cm, only the energy value of the infrared light reflected by the near object is recorded as
  • the energy value (that is, the second value) of the infrared light detected by the infrared light detector in real time can be subtracted from the first value, and the obtained third value and the pre-stored first threshold value In comparison, when the third value is greater than or equal to the first threshold value, the terminal device is controlled to enter an approaching state, that is, the display screen is turned off.
  • the terminal device may save an energy value (a second threshold value) of the infrared light corresponding to a preset distance into the distant state. For example, when the distance between the display screen of the terminal device and the approaching object is greater than or equal to 5 cm, the terminal device enters a distant state, that is, the display screen is lit, and the terminal device can save When the distance is 5 cm, only the energy value of the infrared light reflected by the close object is recorded as the second threshold.
  • a second threshold value a second threshold value of the infrared light corresponding to a preset distance into the distant state. For example, when the distance between the display screen of the terminal device and the approaching object is greater than or equal to 5 cm, the terminal device enters a distant state, that is, the display screen is lit, and the terminal device can save When the distance is 5 cm, only the energy value of the infrared light reflected by the close object is recorded as the second threshold.
  • the energy value (that is, the second value) of the infrared light detected by the infrared light detector in real time can be subtracted from the first value, and the obtained third value and the pre-stored second threshold value
  • the terminal device is controlled to enter a distant state, that is, the display screen is turned on.
  • whether the terminal device is qualified may be tested by the method for controlling the terminal device.
  • the test process here may be a test performed by the terminal device before leaving the factory. For example, before the terminal device leaves the factory, it is detected whether the terminal device can enter a close state and / or a distant state at a predetermined distance.
  • a method for testing a terminal device according to an embodiment of the present application includes the following four steps.
  • Step 1 Start the proximity light test.
  • the proximity light test software may be an application (APP) installed in a terminal device.
  • APP application
  • a proximity light test can be performed on the terminal device, that is, testing whether the terminal device can enter an approaching state and a distant state within a preset distance range.
  • the distance between the terminal device and the object is within a preset distance range, and the terminal device is in a close state, it means that the close state of the terminal device is qualified; otherwise, it is unqualified. If the distance between the terminal device and the object is greater than or equal to a preset distance threshold, and the terminal device is in a distant state, the distant state of the terminal device is qualified; otherwise, the terminal device is unqualified.
  • Step two test the proximity state of the terminal device proximity sensor.
  • the distance between the approaching object and the display screen of the terminal device can be gradually reduced.
  • the terminal device performs the three steps in the foregoing method for controlling a terminal device multiple times. For the specific address, obtain the first value and the second value, subtract the first value from the second value to obtain a third value, and compare the third value with a pre-stored first threshold.
  • One type of comparison result between the third value and the first threshold value is that the third value is smaller than the first threshold value, and the other comparison result is that the third value is greater than or equal to the first threshold value.
  • the comparison result obtained by the optical testing software is close to "0" when it is changed to "1” , Measuring the distance between the proximity object and the display screen of the terminal device, and determining whether the difference between the distance and a preset distance threshold meets a preset condition.
  • the first threshold value may be preset to 2 cm. At this time, if the distance between the measured proximity object and the display of the terminal device is equal to 2cm, or the difference between the distance between the measured proximity object and the display of the terminal device and 2cm is within a preset range , It can be determined that the proximity status of the terminal device is qualified.
  • Step three test the distance of the terminal device from the proximity sensor.
  • the distance between the approaching object and the display screen of the terminal device can be gradually increased.
  • the terminal device performs the three steps in the foregoing method for controlling a terminal device multiple times. For the specific address, obtain a first value and a second value, subtract the first value from the second value to obtain a third value, and compare the third value with a pre-stored second threshold. One comparison result between the third value and the second threshold value is that the third value is greater than the second threshold value, and the other comparison result is that the third value is less than or equal to the second threshold value.
  • the comparison result obtained by the optical testing software is close to “1” when it is changed to “0” , Measuring the distance between the proximity object and the display screen of the terminal device, and determining whether the difference between the distance and a preset distance threshold meets a preset condition.
  • the second threshold value may be preset to 5 cm. At this time, if the distance between the measured proximity object and the display screen of the terminal device is equal to 5cm, or the difference between the distance between the measured proximity object and the display screen of the terminal device and 5cm is within a preset range , It can be determined that the distant state of the terminal device is qualified.
  • Step 4. End the proximity light test.
  • the proximity light test of the terminal device passes; otherwise, the proximity light test of the terminal device Failed.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
  • the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of this application is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
  • the aforementioned storage media include: U disks, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks or compact discs and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present application provides a terminal device. The terminal device comprises a display screen and a transducer assembly. The display screen comprises a display region and a non-display region. The transducer assembly comprises a signal transmitter and a signal detector. The signal transmitter is located at the non-display region, and is used to transmit, at a first preset radiation intensity, a detection signal. The signal detector is located at the display region, and is used to receive a reflected signal. The distance between the signal transmitter and the signal detector is within a second preset range. The terminal device proposed in the present application has a higher screen-to-body ratio.

Description

一种终端设备Terminal equipment
本申请要求于2018年09月15日提交中国国家知识产权局、申请号为201811077457.7、发明名称为“一种终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority from a Chinese patent application filed with the State Intellectual Property Office of China on September 15, 2018, with application number 201811077457.7, and the invention name is "a terminal device", the entire contents of which are incorporated herein by reference.
技术领域Technical field
本申请涉及终端设备领域,并且更具体地,涉及一种终端设备。The present application relates to the field of terminal equipment, and more particularly, to a terminal equipment.
背景技术Background technique
随着智能手机的普及和发展,为了使用户更好的视觉体验,手机的屏幕变得越来越大。但考虑到手机的便携性等特点,不太可能一直无休止地增大手机的屏幕。With the popularization and development of smart phones, in order to provide users with a better visual experience, the screen of mobile phones has become larger and larger. However, considering the characteristics of the portability of the mobile phone, it is unlikely to increase the screen of the mobile phone endlessly.
因此,如何提升手机的屏占比,成为一个亟待解决的技术问题。Therefore, how to increase the screen ratio of mobile phones has become an urgent technical issue.
发明内容Summary of the Invention
本申请提供一种终端设备和控制终端设备的方法。本申请提供的终端设备的屏占比较大。The application provides a terminal device and a method for controlling the terminal device. The screen area of the terminal device provided in this application is relatively large.
第一方面,本申请提供一种终端设备,包括:显示屏和传感器组件;所述显示屏,包括显示区域和非显示区域;所述传感器组件包括信号发射器和信号探测器;所述信号发射器,位于所述非显示区域,用于以第一预设辐射强度发射探测信号;所述信号探测器,位于所述显示区域,用于接收反射信号;所述信号发射器和所述信号探测器之间的距离处于第二预设范围。In a first aspect, the present application provides a terminal device including: a display screen and a sensor component; the display screen includes a display area and a non-display area; the sensor component includes a signal transmitter and a signal detector; and the signal transmission Transmitter located in the non-display area for transmitting a detection signal with a first preset radiation intensity; the signal detector located in the display area for receiving a reflected signal; the signal transmitter and the signal detection The distance between the devices is in a second preset range.
该终端设备中,由于信号探测器位于显示屏的显示区域,从而使信号探测器不再占用显示屏的非显示区域,可以减小显示屏的非显示区域面积,提高终端设备的屏占比。In this terminal device, since the signal detector is located in the display area of the display screen, the signal detector no longer occupies the non-display area of the display screen, which can reduce the area of the non-display area of the display screen and increase the screen ratio of the terminal device.
在一些可能的实现方式中,所述信号探测器能够接收所述探测信号的反射信号。In some possible implementation manners, the signal detector is capable of receiving a reflection signal of the detection signal.
在一些可能的实现方式中,所述反射信号包括从所述显示屏外射入所述显示屏的反射信号。In some possible implementation manners, the reflected signal includes a reflected signal incident from outside the display screen into the display screen.
在一些可能的实现方式中,所述第一预设辐射强度大于7毫瓦每球面度。In some possible implementation manners, the first preset radiation intensity is greater than 7 milliwatts per sphere.
在一些可能的实现方式中,所述第一预设辐射强度大于或等于6毫瓦每球面度。In some possible implementation manners, the first preset radiation intensity is greater than or equal to 6 milliwatts per sphere.
在一些可能的实现方式中,所述第一预设辐射强度大于4毫瓦每球面度。In some possible implementation manners, the first preset radiation intensity is greater than 4 milliwatts per sphere.
在一些可能的实现方式中,所述第二预设范围大于2毫米,且小于或等于6毫米。In some possible implementation manners, the second preset range is greater than 2 mm and less than or equal to 6 mm.
在一些可能的实现方式中,所述终端设备还包括:电路板,所述信号发射器和所述信号探测器固定在所述电路板上。In some possible implementation manners, the terminal device further includes: a circuit board, and the signal transmitter and the signal detector are fixed on the circuit board.
在一些可能的实现方式中,所述终端设备还包括:遮光层,所述遮光层设置于所述 显示屏和所述信号探测器之间。In some possible implementation manners, the terminal device further includes: a light shielding layer, the light shielding layer is disposed between the display screen and the signal detector.
在一些可能的实现方式中,所述终端设备还包括:通孔,所述遮光层设置有通孔,所述信号探测器位于所述通孔范围内。In some possible implementation manners, the terminal device further includes a through hole, the light shielding layer is provided with a through hole, and the signal detector is located within a range of the through hole.
在一些可能的实现方式中,所述信号发射器和所述信号探测器的中心在一条直线上。In some possible implementations, the centers of the signal transmitter and the signal detector are on a straight line.
在一些可能的实现方式中,所述第一预设辐射强度与所述第二预设阈值使得所述传感器组件的信噪比不小于第三预设阈值。In some possible implementation manners, the first preset radiation intensity and the second preset threshold are such that a signal-to-noise ratio of the sensor component is not less than a third preset threshold.
可选地,第三预设阈值不小于5。Optionally, the third preset threshold is not less than 5.
第二方面,本申请提供一种控制终端设备的方法。所述方法包括:获取第一值,所述第一值是在终端设备的红外光发射器所发出的红外光未经外部物体反射时,所述终端设备的红外光探测器所检测到的红外光的能量值;获取第二值,所述第二值是在终端设备的红外光发射器所发出的红外光经外部物体反射时,所述终端设备的红外光探测器所检测到的红外光的能量值;根据所述第二值和第一值控制所述终端设备熄灭屏幕或点亮屏幕。In a second aspect, the present application provides a method for controlling a terminal device. The method includes: acquiring a first value, the first value being an infrared light detected by an infrared light detector of the terminal device when the infrared light emitted by the infrared light transmitter of the terminal device is not reflected by an external object Energy value of light; obtaining a second value, the second value is infrared light detected by an infrared light detector of the terminal device when infrared light emitted by the infrared light transmitter of the terminal device is reflected by an external object Control the terminal device to turn off the screen or light up the screen according to the second value and the first value.
该方法中,因为第一值是终端设备的红外光发射器发出的光未经外部物体反射时,红外光探测器实际检测到的光的能量值,因此根据第一值控制终端设备熄灭屏幕或点亮屏幕的准确率可以更高。In this method, because the first value is the energy value of the light actually detected by the infrared light detector when the light emitted by the infrared light transmitter of the terminal device is not reflected by an external object, the terminal device is controlled to turn off the screen or The accuracy of lighting the screen can be higher.
在一些可能的实现方式中,所述根据所述第二值和第一值控制所述终端设备熄灭屏幕或点亮屏幕,包括:根据第三值控制所述终端设备熄灭屏幕或点亮屏幕,所述第三值为所述第二值减去所述第一值之后的差值。In some possible implementation manners, the controlling the terminal device to turn off the screen or light up the screen according to the second value and the first value includes: controlling the terminal device to turn off the screen or light up the screen according to a third value, The third value is a difference between the second value and the first value.
在一些可能的实现方式中,所述根据第三值控制所述终端设备熄灭屏幕或点亮屏幕,包括:当所述第三值大于或等于第一阈值时,控制所述终端设备熄灭屏幕;当所述第三值小于或等于第二阈值时,控制所述终端设备点亮屏幕。In some possible implementation manners, controlling the terminal device to turn off the screen or lighting the screen according to a third value includes: controlling the terminal device to turn off the screen when the third value is greater than or equal to a first threshold; When the third value is less than or equal to the second threshold, controlling the terminal device to light up the screen.
在一些可能的实现方式中,所述终端设备为第一方面或第一方面中任一种可能的实现方式中的终端设备。In some possible implementation manners, the terminal device is a terminal device in the first aspect or in any possible implementation manner of the first aspect.
本申请提供的终端设备,由于将信号探测器设置于显示屏的显示区域,从而使信号探测器不再占用显示屏的非显示区域,可以减小显示屏的非显示区域面积,提高终端设备的屏占比。The terminal device provided in the present application, because the signal detector is set on the display area of the display screen, so that the signal detector no longer occupies the non-display area of the display screen, the area of the non-display area of the display screen can be reduced, and the Screen ratio.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是终端设备的一种示意性结构图。FIG. 1 is a schematic structural diagram of a terminal device.
图2是本申请一个实施例的终端设备的一种示意性结构图。FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
图3是本申请一个实施例的接近传感器的一种示意性结构图。FIG. 3 is a schematic structural diagram of a proximity sensor according to an embodiment of the present application.
图4是本申请另一个实施例的终端设备的一种示意性结构图。FIG. 4 is a schematic structural diagram of a terminal device according to another embodiment of the present application.
图5是适用于本申请实施例的终端设备显示屏的结构示意图。FIG. 5 is a schematic structural diagram of a display screen of a terminal device applicable to an embodiment of the present application.
具体实施方式detailed description
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in this application will be described below with reference to the drawings.
本申请实施例的技术方案可以应用于各种配置接近传感器的终端设备。终端设备也可以称为用户设备,可以是手机、电话手表、平板电脑、笔记本电脑、个人数字助理(personal digital assistant,PDA)设备、数字多媒体播放器等,而不仅限于通信终端。The technical solutions of the embodiments of the present application can be applied to various terminal devices configured with a proximity sensor. Terminal equipment can also be called user equipment, which can be mobile phones, telephone watches, tablet computers, notebook computers, personal digital assistant (PDA) equipment, digital multimedia players, etc., and is not limited to communication terminals.
此外,在本申请实施例中,终端设备还可以是物联网(internet of things,IoT)系统中的终端设备,IoT是未来信息技术发展的重要组成部分,其主要技术特点是将物品通过通信技术与网络连接,从而实现人机互连,物物互连的智能化网络。In addition, in the embodiments of the present application, the terminal device may also be a terminal device in an Internet of Things (IoT) system. The IoT is an important part of the development of future information technology. Its main technical feature is to pass items through communication technology. It is connected to the network to realize the intelligent network of human-machine interconnection and physical interconnection.
图1示出了该终端设备的一例的示意图,如图1所示,该终端设备100可以包括以下部件。FIG. 1 shows a schematic diagram of an example of the terminal device. As shown in FIG. 1, the terminal device 100 may include the following components.
A.RF电路110A. RF circuit 110
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器180处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(low noise amplifier,LNA)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于无线局域网(wireless local area networks,WLAN)全球移动通讯(global system of mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(wideband code division multiple access,WCDMA)系统、通用分组无线业务(general packet radio service,GPRS)、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、未来的第五代(5th generation,5G)系统或新无线(new radio,NR)等。The RF circuit 110 may be used to receive and send signals during the transmission and reception of information or during a call. In particular, the downlink information of the base station is received and processed by the processor 180; in addition, the uplink data of the design is transmitted to the base station. Generally, the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 110 can also communicate with a network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to wireless local area networks (WLAN) global mobile system (GSM) system, code division multiple access (Code Division Multiple Access) (CDMA) system, wideband code division multiple access (WCDMA) system, general packet radio service (GPRS), long term evolution (LTE) system, LTE frequency division duplex (frequency division duplex (FDD)) system, LTE time division duplex (TDD), universal mobile communication system (UMTS), worldwide interconnected microwave access (WiMAX) communication system 5. Future 5th generation (5G) systems or new radio (NR).
B.存储器120 B. Memory 120
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行终端设备100的各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图象播放功能等)等;存储数据区可存储根据终端设备100的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 120 may be configured to store software programs and modules, and the processor 180 executes various functional applications and data processing of the terminal device 100 by running the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store Data (such as audio data, phone book, etc.) created based on the use of the terminal device 100. In addition, the memory 120 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
C.其他输入设备130C. Other input devices 130
其他输入设备130可用于接收输入的数字或字符信息,以及产生与终端设备100的用户设置以及功能控制有关的键信号输入。具体地,其他输入设备130可包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)等 中的一种或多种。其他输入设备130与I/O子系统170的其他输入设备控制器171相连接,在其他设备输入控制器171的控制下与处理器180进行信号交互。The other input devices 130 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the terminal device 100. Specifically, the other input devices 130 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, an joystick, and a light mouse (a light mouse is a touch-sensitive device that does not display visual output). Or one or more of a touch sensitive surface formed by a touch screen). The other input devices 130 are connected to other input device controllers 171 of the I / O subsystem 170, and perform signal interaction with the processor 180 under the control of the other device input controllers 171.
D.显示屏140 D. Display 140
显示屏140可用于显示由用户输入的信息或提供给用户的信息以及终端设备100的各种菜单,还可以接受用户输入。具体的显示屏140可包括显示面板141,以及触控面板142。其中显示面板141可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板141。触控面板142,也称为触摸屏、触敏屏等,可收集用户在其上或附近的接触或者非接触操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板142上或在触控面板142附近的操作,也可以包括体感操作;该操作包括单点控制操作、多点控制操作等操作类型),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板142可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位、姿势,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成处理器能够处理的信息,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板142,也可以采用未来发展的任何技术实现触控面板142。进一步的,触控面板142可覆盖显示面板141,用户可以根据显示面板141显示的内容(该显示内容包括但不限于,软键盘、虚拟鼠标、虚拟按键、图标等等),在显示面板141上覆盖的触控面板142上或者附近进行操作,触控面板142检测到在其上或附近的操作后,通过I/O子系统170传送给处理器180以确定用户输入,随后处理器180根据用户输入通过I/O子系统170在显示面板141上提供相应的视觉输出。虽然在图4中,触控面板142与显示面板141是作为两个独立的部件来实现终端设备100的输入和输入功能,但是在某些实施例中,可以将触控面板142与显示面板141集成而实现终端设备100的输入和输出功能。The display screen 140 may be used to display information input by the user or information provided to the user and various menus of the terminal device 100, and may also accept user input. The specific display screen 140 may include a display panel 141 and a touch panel 142. The display panel 141 may be configured with a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Touch panel 142, also known as touch screen, touch-sensitive screen, etc., can collect user's contact or non-contact operations on or near it (for example, the user uses a finger, a stylus or any suitable object or accessory on touch panel 142 Or the operation near the touch panel 142 may also include a somatosensory operation; the operation includes a single-point control operation, a multi-point control operation and the like), and the corresponding connection device is driven according to a preset program. Optionally, the touch panel 142 may include a touch detection device and a touch controller. Among them, the touch detection device detects a user's touch orientation and posture, and detects signals brought by the touch operation, and transmits the signals to the touch controller; the touch controller receives touch information from the touch detection device and converts it into a processor capable of The processed information is then sent to the processor 180, which can receive commands from the processor 180 and execute them. In addition, the touch panel 142 may be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave, and the touch panel 142 may also be implemented using any technology developed in the future. Further, the touch panel 142 may cover the display panel 141, and the user may display the display panel 141 (the display content includes, but is not limited to, a soft keyboard, a virtual mouse, virtual keys, icons, etc.) on the display panel 141 An operation is performed on or near the covered touch panel 142. After the touch panel 142 detects an operation on or near the touch panel 142, the touch panel 142 transmits the operation to the processor 180 through the I / O subsystem 170 to determine a user input. The inputs provide corresponding visual outputs on the display panel 141 through the I / O subsystem 170. Although in FIG. 4, the touch panel 142 and the display panel 141 are implemented as two independent components to implement the input and input functions of the terminal device 100, in some embodiments, the touch panel 142 and the display panel 141 may be used. Integrated to implement the input and output functions of the terminal device 100.
E.传感器150 E. Sensor 150
传感器150可以为一种或多种,例如,该可以包括光传感器、运动传感器以及其他传感器。The sensor 150 may be one or more types. For example, the sensor 150 may include a light sensor, a motion sensor, and other sensors.
具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端设备100移动到耳边时,关闭显示面板141和/或背光。Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light. The proximity sensor may close the display panel 141 when the terminal device 100 is moved to the ear. And / or backlight.
作为运动传感器的一种,加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。As a type of motion sensor, an acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes). It can detect the magnitude and direction of gravity when it is stationary. It can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.
此外,终端设备100还可配置的重力感应器(也可以称为重力传感器)、陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。In addition, the terminal device 100 may be configured with other sensors such as a gravity sensor (also referred to as a gravity sensor), a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and details are not described herein again.
F.音频电路160、扬声器161、麦克风162 F. Audio circuit 160, speaker 161, microphone 162
可提供用户与终端设备100之间的音频接口。音频电路160可将接收到的音频数据转换后的信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,麦克风162将收集的声音信号转换为信号,由音频电路160接收后转换为音频数据,再将音频数据输出至RF电路108以发送给比如另一终端设备,或者将音频数据输出至存储器120以便进一步处理。An audio interface between the user and the terminal device 100 may be provided. The audio circuit 160 may transmit the received converted signal of the audio data to the speaker 161, and the speaker 161 converts it into a sound signal for output. On the other hand, the microphone 162 converts the collected sound signal into a signal, and the audio circuit 160 It is converted into audio data, and then the audio data is output to the RF circuit 108 for transmission to, for example, another terminal device, or the audio data is output to the memory 120 for further processing.
G.I/O子系统170G.I / O subsystem 170
I/O子系统170用来控制输入输出的外部设备,可以包括其他设备输入控制器171、传感器控制器172、显示控制器173。可选的,一个或多个其他输入控制设备控制器171从其他输入设备130接收信号和/或者向其他输入设备130发送信号,其他输入设备130可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)。值得说明的是,其他输入控制设备控制器171可以与任一个或者多个上述设备连接。所述I/O子系统170中的显示控制器173从显示屏140接收信号和/或者向显示屏140发送信号。显示屏140检测到用户输入后,显示控制器173将检测到的用户输入转换为与显示在显示屏140上的用户界面对象的交互,即实现人机交互。传感器控制器172可以从一个或者多个传感器150接收信号和/或者向一个或者多个传感器150发送信号。The I / O subsystem 170 is used to control input and output of external devices, and may include other device input controllers 171, sensor controllers 172, and display controllers 173. Optionally, one or more other input control device controllers 171 receive signals from and / or send signals to other input devices 130. The other input devices 130 may include physical buttons (press buttons, rocker buttons, etc.) , Dial, slide switch, joystick, click wheel, light mouse (light mouse is a touch-sensitive surface that does not display visual output, or an extension of a touch-sensitive surface formed by a touch screen). It is worth noting that the other input control device controller 171 may be connected to any one or more of the above devices. The display controller 173 in the I / O subsystem 170 receives signals from the display screen 140 and / or sends signals to the display screen 140. After the display screen 140 detects a user input, the display controller 173 converts the detected user input into interaction with a user interface object displayed on the display screen 140, that is, realizes human-computer interaction. The sensor controller 172 may receive signals from and / or send signals to one or more sensors 150.
H.处理器180 H. Processor 180
处理器180是终端设备100的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端设备100的各种功能和处理数据,从而对终端设备进行整体监控。可选的,处理器180可包括一个或多个处理单元;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is a control center of the terminal device 100, and uses various interfaces and lines to connect various parts of the entire terminal device. The processor 180 runs or executes software programs and / or modules stored in the memory 120, and calls the stored programs in the memory 120. The data performs various functions of the terminal device 100 and processes data, thereby performing overall monitoring of the terminal device. Optionally, the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc. The modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 180.
终端设备100还包括给各个部件供电的电源190(比如电池),电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。The terminal device 100 further includes a power source 190 (such as a battery) for supplying power to various components. The power source can be logically connected to the processor 180 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption through the power management system.
另外,尽管未示出,终端设备100还可以包括摄像头、蓝牙模块等,在此不再赘述。In addition, although not shown, the terminal device 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
需要说明的是,图1所示的终端设备仅为一种终端设备的举例,本申请并未特别限定,本申请实施例可以应用于手机、平板电脑等电子设备,本申请对此不做限定。It should be noted that the terminal device shown in FIG. 1 is only an example of a terminal device, and this application is not particularly limited. The embodiments of this application can be applied to electronic devices such as mobile phones and tablet computers, and this application does not limit this. .
如图1所示,终端设备100可以包括显示屏140。显示屏140可以包括显示面板,显示面板也可以称为显示线路。As shown in FIG. 1, the terminal device 100 may include a display screen 140. The display screen 140 may include a display panel, and the display panel may also be referred to as a display line.
可选地,显示屏140还可以包括盖板玻璃(Cover Glass,CG),显示面板可以被盖板玻璃覆盖。进一步地,盖板玻璃的面积可以大于或等于显示面板,盖板玻璃可以与显示面板部分重叠。当盖板玻璃与显示面板部分重叠时,二者重叠的区域可以称为显示屏的显示区域,相应地,二者未重叠的区域可以称为显示屏的非显示区域。Optionally, the display screen 140 may further include a cover glass (CG), and the display panel may be covered by the cover glass. Further, the area of the cover glass may be larger than or equal to the display panel, and the cover glass may partially overlap the display panel. When the cover glass and the display panel partially overlap, the area where the two overlap may be referred to as the display area of the display screen, and accordingly, the area where the two do not overlap may be referred to as the non-display area of the display screen.
如图1所示,终端设备100还可以包括传感器150,传感器150可以为包括信号发射器和信号探测器的传感器组件,该传感器组件可以为环境光传感器或接近传感器等,其中,信号发射器可以用于向显示屏外发射探测信号,信号探测器可以用于接收探测信号经外部物体反射后形成的反射信号。As shown in FIG. 1, the terminal device 100 may further include a sensor 150. The sensor 150 may be a sensor component including a signal transmitter and a signal detector. The sensor component may be an ambient light sensor or a proximity sensor. The signal transmitter may be It is used to transmit the detection signal to the outside of the display screen. The signal detector can be used to receive the reflection signal formed after the detection signal is reflected by an external object.
接近传感器可以为基于红外光的接近传感器,可以称为光学接近感应传感器,相应地,该基于红外光的接近传感器的信号发射器可以为红外光发射器,用于向显示屏外发射红外光,该基于红外光的接近传感器的信号探测器可以为红外光探测器,用于接收红外光经外部物体反射后形成的反射光。The proximity sensor may be an infrared light-based proximity sensor and may be referred to as an optical proximity sensor. Accordingly, the signal transmitter of the infrared light-based proximity sensor may be an infrared light transmitter for emitting infrared light outside the display screen. The signal detector of the infrared light-based proximity sensor may be an infrared light detector for receiving reflected light formed after infrared light is reflected by an external object.
通常,接近传感器不会裸露在终端设备表面,而是位于显示屏的非显示区域,且配置于盖板玻璃之下。Generally, the proximity sensor is not exposed on the surface of the terminal device, but is located in a non-display area of the display screen and is disposed under the cover glass.
作为示例而非限定,本申请以基于红外光的接近传感器为例进行描述。为了便于描述,下面将基于红外光的接近传感器统一简称为接近传感器。应理解,本申请实施例中描述的接近传感器仅为传感器组件的一种示例,本申请并未特别限定。By way of example and not limitation, this application uses an infrared light-based proximity sensor as an example for description. For ease of description, the infrared light-based proximity sensors are collectively referred to as proximity sensors in the following. It should be understood that the proximity sensor described in the embodiment of the present application is only an example of a sensor component, and the present application is not particularly limited.
接近传感器可以感应终端设备和物体之间的距离,从而可以使终端设备实现对显示屏的亮灭控制。也就是说,终端设备可以根据接近传感器检测的该终端设备和物体的距离,控制终端设备熄屏或亮屏。通常,接近传感器可以是基于红外光的接近传感器,接近传感器可以由红外光发射器和红外光探测器组成,这里的红外光发射器也可以称为红外光源,红外光探测器也可以称为红外探测器。本申请对于接近传感器的种类不做限定。The proximity sensor can sense the distance between the terminal device and the object, so that the terminal device can realize the on / off control of the display screen. That is, the terminal device may control the terminal device to turn off or light up the screen according to the distance between the terminal device and the object detected by the proximity sensor. Generally, the proximity sensor can be an infrared light-based proximity sensor. The proximity sensor can be composed of an infrared light transmitter and an infrared light detector. The infrared light transmitter here can also be called an infrared light source, and the infrared light detector can also be called infrared. detector. The application does not limit the type of the proximity sensor.
终端设备可以具有通信功能,当用户使用该终端设备进行通话时,接近传感器可以采集终端设备和用户耳部的距离,如果终端设备与耳部的距离小于(或等于)预先设置的距离,那么终端设备可以熄灭显示屏,可以降低终端设备的功耗。类似地,当用户结束通话时,接近传感器同样可以采集终端设备和用户耳部的距离,如果终端设备与耳部的距离大于(或等于)预先设置的距离,那么终端设备可以点亮显示屏。The terminal device can have a communication function. When the user uses the terminal device for a call, the proximity sensor can collect the distance between the terminal device and the user's ear. If the distance between the terminal device and the ear is less than (or equal to) a preset distance, the terminal The device can turn off the display, which can reduce the power consumption of the terminal device. Similarly, when the user ends the call, the proximity sensor can also collect the distance between the terminal device and the user's ear. If the distance between the terminal device and the ear is greater than (or equal to) a preset distance, the terminal device can light up the display screen.
在本申请实施例中,终端设备的显示屏也可以为触摸屏,当用户使用终端设备打电话时,若终端设备与耳部的距离小于(或等于)预设的第一距离,终端设备可以熄灭显示屏,即该终端设备进入接近状态,此时不再接收用户对触摸屏的触摸操作,可以避免因意外触碰显示屏而发生的各种误操作。类似地,如果终端设备与耳部的距离大于(或等于)预设的第二距离,那么终端设备可以点亮显示屏,即该终端设备进入远离状态。In the embodiment of the present application, the display screen of the terminal device may also be a touch screen. When a user uses the terminal device to make a call, if the distance between the terminal device and the ear is less than (or equal to) a preset first distance, the terminal device may be turned off. The display screen, that is, the terminal device enters an approaching state, and no longer accepts a user's touch operation on the touch screen at this time, which can avoid various misoperations caused by accidentally touching the display screen. Similarly, if the distance between the terminal device and the ear is greater than (or equal to) a preset second distance, the terminal device may light up the display screen, that is, the terminal device enters a distant state.
例如,在本申请中,上述预设的第一距离可以为2厘米(cm),上述预设的第二距离可以为5cm,此时,当终端设备与接近物体的距离小于或等于2cm时,该终端设备进入接近状态,当终端设备与接近物体的距离大于或等于5cm时,该终端设备进入远离状态。For example, in this application, the preset first distance may be 2 centimeters (cm), and the preset second distance may be 5 cm. At this time, when the distance between the terminal device and the close object is less than or equal to 2 cm, The terminal device enters a close state. When the distance between the terminal device and a close object is greater than or equal to 5 cm, the terminal device enters a distant state.
若终端设备具有通信功能,当用户使用该终端设备进行通话时,接近传感器可以更加准确地确定物体接近或远离终端设备的显示屏。If the terminal device has a communication function, when a user uses the terminal device to make a call, the proximity sensor can more accurately determine that an object is approaching or away from the display screen of the terminal device.
当有物体接近终端设备显示屏,或者说接近该盖板玻璃时,红外光发射器发射的光透过盖板玻璃后被接近物体反射,反射后的红外光透过盖板玻璃被红外光探测器接收到。红外光发射器发射的,且经接收物体反射后被红外光探测器接收到的红外光可以称 为接近物体反射光线。在该过程中,红外光发射器发射的光中,会有部分红外光未能透过盖板玻璃,而是经盖板玻璃反射后,被红外光探测器接收到,这部分红外光可以被认为是底噪,且与接近物体反射的红外光相比少得多,可以称为非接近物体反射光线。这里接近终端设备显示屏的物体可以称为接近物体。When an object approaches the display screen of the terminal device or the cover glass, the light emitted by the infrared light transmitter passes through the cover glass and is reflected by the approaching object. The reflected infrared light passes through the cover glass and is detected by infrared light. Device received. The infrared light emitted by the infrared light transmitter and received by the infrared light detector after being reflected by the receiving object can be referred to as the reflected light near the object. In this process, part of the light emitted by the infrared light transmitter fails to pass through the cover glass, but is reflected by the cover glass and received by the infrared light detector. This part of the infrared light can be It is considered as the noise floor, and it is much less than the infrared light reflected by the close object, which can be called the non-close object reflected light. An object that is close to the display screen of the terminal device may be referred to as an approaching object.
当没有物体接近终端设备显示屏时,红外光发射器发射的红外光中,可以认为仅有通过盖板玻璃反射的部分红外光被红外光探测器探测到。即可以理解为,红外探测器接收的红外光中,没有接近物体反射的红外光,只有盖板玻璃反射的红外光。When no object approaches the display screen of the terminal device, among the infrared light emitted by the infrared light transmitter, it can be considered that only a part of the infrared light reflected by the cover glass is detected by the infrared light detector. That is, it can be understood that, among the infrared light received by the infrared detector, there is no infrared light reflected near the object, but only the infrared light reflected by the cover glass.
通常情况下,接近物体与终端设备显示屏的距离越近,红外光探测器捕捉到的红外光能量就越强。因此,通过红外光探测器捕捉到的红外光能量大小(或红外光能量强度),可确定物体与终端设备显示屏的距离,根据该距离可以判断终端设备处于接近状态或远离状态。或者可以说,根据红外光探测器检测到的红外光的能量大小,可以确定终端设备相对于物体是处于接近状态还是远离状态,从而可以控制终端设备熄屏或亮屏。Generally, the closer the distance between the near object and the display screen of the terminal device, the stronger the infrared light energy captured by the infrared light detector. Therefore, the distance between the object and the display screen of the terminal device can be determined by the amount of infrared light energy (or the intensity of the infrared light energy) captured by the infrared light detector, and the terminal device can be determined to be in an approaching state or a distant state according to the distance. In other words, based on the amount of energy of the infrared light detected by the infrared light detector, it can be determined whether the terminal device is in a near state or a distant state with respect to the object, so that the terminal device can be controlled to turn off or brighten the screen.
例如,当红外探测器检测到的红外光的强度大于或等于某个预设的阈值时,可以确定终端设备处于接近状态;当红外探测器检测到的红外光的强度小于某个预设的阈值时,可以确定终端设备处于远离状态。For example, when the intensity of the infrared light detected by the infrared detector is greater than or equal to a preset threshold, it can be determined that the terminal device is in a close state; when the intensity of the infrared light detected by the infrared detector is less than a preset threshold When it is determined that the terminal device is in a distant state.
图2是本申请一个实施例的终端设备的一种示意性结构图。应理解,图2示出的终端设备200仅是一种示例,其中可以包括更多的模块或单元,同时,图2中示出的终端设备200中的各模块或单元的位置仅是示例而非限定。FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present application. It should be understood that the terminal device 200 shown in FIG. 2 is only an example, which may include more modules or units, and the positions of the modules or units in the terminal device 200 shown in FIG. 2 are only examples, and Unlimited.
作为一种示例,图2中的显示屏210可以为图1所示的终端设备100的显示屏140。As an example, the display screen 210 in FIG. 2 may be the display screen 140 of the terminal device 100 shown in FIG. 1.
如图2所示,终端设备200包括:显示屏210、红外光发射器220和红外光探测器230;所述显示屏210,包括显示区域218和非显示区域216;所述红外光发射器220,位于所述非显示区域216,用于以第一预设辐射强度发射探测信号;所述红外光探测器230,位于所述显示区域218,用于接收反射信号;所述红外光发射器220和所述红外光探测器230之间的距离处于第二预设范围。As shown in FIG. 2, the terminal device 200 includes: a display screen 210, an infrared light emitter 220, and an infrared light detector 230; the display screen 210 includes a display area 218 and a non-display area 216; and the infrared light emitter 220 Is located in the non-display area 216 for transmitting a detection signal with a first preset radiation intensity; the infrared light detector 230 is located in the display area 218 for receiving a reflected signal; the infrared light transmitter 220 The distance from the infrared light detector 230 is in a second preset range.
应理解,本申请实施例中所述的“显示屏内”中的“内”和“显示屏外”中的“外”,分别与“终端设备内”中的“内”和“终端设备外”中的“外”指示的方位相同。It should be understood that “inside” in “inside the display screen” and “outside” in “outside the display screen” described in the embodiments of the present application are respectively different from “inside” and “outside the terminal device” in “inside the terminal device”. "Out" indicates the same orientation.
本申请实施例的终端设备200中,由于红外光探测器230布局在显示区域218,因此可以增大显示屏210的显示区域,从而提高终端设备200的屏占比。In the terminal device 200 in the embodiment of the present application, since the infrared light detector 230 is arranged in the display area 218, the display area of the display screen 210 can be increased, thereby increasing the screen ratio of the terminal device 200.
可选地,红外光发射器220和红外光探测器230属于终端设备200的接近传感器,该接近传感器可以为图1所示的终端设备100中的传感器150。Optionally, the infrared light transmitter 220 and the infrared light detector 230 belong to the proximity sensor of the terminal device 200, and the proximity sensor may be the sensor 150 in the terminal device 100 shown in FIG. 1.
作为本申请实施例一种可能的实现方式,红外光发射器220可以位于所述显示区域218。这样,可以进一步加大显示屏210的显示区域,从而进一步提高终端设备200的屏占比。As a possible implementation manner of the embodiment of the present application, the infrared light emitter 220 may be located in the display area 218. In this way, the display area of the display screen 210 can be further increased, thereby further increasing the screen ratio of the terminal device 200.
在本申请实施例中,图2所示的终端设备200还可以包括听筒201和摄像头202。进一步地,听筒201和摄像头202可以配置在显示屏210内,且位于显示区域218,从而进一步提高终端设备200的屏占比。In the embodiment of the present application, the terminal device 200 shown in FIG. 2 may further include an earphone 201 and a camera 202. Further, the handset 201 and the camera 202 may be configured in the display screen 210 and located in the display area 218, thereby further increasing the screen ratio of the terminal device 200.
通常,红外光发射器220和红外光探测器230可以封装在一起组成接近传感器组件,而在本申请实施例中,可以将红外光发射器220从接近传感器组件中分离出来,以使得红外光探测器230可以设置于显示屏210的显示区域218,从而提高了终端设备200的屏占比。Generally, the infrared light transmitter 220 and the infrared light detector 230 may be packaged together to form a proximity sensor component. In the embodiment of the present application, the infrared light transmitter 220 may be separated from the proximity sensor component to enable infrared light detection. The monitor 230 may be disposed in the display area 218 of the display screen 210, thereby increasing the screen ratio of the terminal device 200.
因为所述红外光探测器230设置于显示屏210的显示区域218,故需要提高所述红外光发射器220的辐射强度,使得所述红外光探测器230可以接收到从所述显示屏外射入所述显示屏的反射信号,从而可以保持所述传感器的功能保持正常。Because the infrared light detector 230 is disposed in the display area 218 of the display screen 210, the radiation intensity of the infrared light transmitter 220 needs to be increased so that the infrared light detector 230 can receive the light emitted from the display screen. A reflected signal into the display screen, so that the function of the sensor can be kept normal.
图3中的接近传感器300为本申请实施例的传感器组件的一个示例,如图3所示,接近传感器300的引脚SCL为时钟总线端口,可以连接终端设备中处理器的引脚SCL;引脚SDA为数据总线端口,可以连接终端设备中处理器的引脚SDA;引脚INT为中断端口,可以连接终端设备中处理器的引脚INT;引脚VDD为工作电压端口,可以连接接近传感器内部的工作电压;引脚GND为接地端口,引脚PGND为保护接地端口;引脚LDR为电流驱动端口,可以连接红外光发射器220的负极(或称为阴极),LEDA表示红外光发射器220的正极(或称为阳极),可以连接终端设备内部电路的供电电压VCC。The proximity sensor 300 in FIG. 3 is an example of a sensor component in the embodiment of the present application. As shown in FIG. 3, a pin SCL of the proximity sensor 300 is a clock bus port, and can be connected to a pin SCL of a processor in a terminal device; Pin SDA is a data bus port and can be connected to the pin SDA of the processor in the terminal device; pin INT is an interrupt port and can be connected to the pin INT of the processor in the terminal device; pin VDD is a working voltage port and can be connected to the proximity sensor Internal working voltage; pin GND is the ground port, pin PGND is the protective ground port; pin LDR is the current drive port, which can be connected to the negative (or cathode) of the infrared light transmitter 220, LEDA means infrared light transmitter The positive electrode (or anode) of 220 can be connected to the supply voltage VCC of the internal circuit of the terminal device.
其中,红外光探测器230封装在接近传感器300的内部,红外光探测器230的正极接地,红外光探测器230的负极通过其他元器件或模块,与引脚SCL和引脚SDA连接,具体的连接方式可以参考现有技术,本申请不再赘述。Among them, the infrared light detector 230 is packaged inside the proximity sensor 300, the positive pole of the infrared light detector 230 is grounded, and the negative pole of the infrared light detector 230 is connected to the pin SCL and the pin SDA through other components or modules. For the connection method, reference may be made to the prior art, and details are not described herein again.
由图3可以看出,红外光发射器220的负极可以在红外光探测器230的外部,且与该红外光探测器230的LDR端口相连,红外光发射器220的正极可以与终端设备内部电路的供电电压VCC相连,此时,可以将红外光发射器220从接近传感器300中分离出来,从而可以实现将红外光发射器220配置在显示屏210的显示区域218、将红外光探测器230配置在显示屏210的非显示区域216。It can be seen from FIG. 3 that the anode of the infrared light transmitter 220 can be outside the infrared light detector 230 and connected to the LDR port of the infrared light detector 230, and the anode of the infrared light transmitter 220 can be connected to the internal circuit of the terminal device. The power supply voltage VCC is connected. At this time, the infrared light transmitter 220 can be separated from the proximity sensor 300, so that the infrared light transmitter 220 can be configured in the display area 218 of the display screen 210, and the infrared light detector 230 can be configured. In a non-display area 216 of the display screen 210.
在本申请实施例的接近传感器300中,可以将红外光发射器220从接近传感器中分离出来,使红外光发射器220在红外光探测器230的外部与该红外光探测器230相连,能够使接近传感器的配置置更加灵活。In the proximity sensor 300 in the embodiment of the present application, the infrared light transmitter 220 can be separated from the proximity sensor, so that the infrared light transmitter 220 is connected to the infrared light detector 230 outside the infrared light detector 230, so that The configuration of the proximity sensor is more flexible.
需要说明的是,所述红外光探测器230在显示区域的位置需要处于第二预设范围,即所述红外光探测器230需要位于从所述显示屏外射入所述显示屏的反射信号的辐射范围内,这样,所述红外光探测器230才能够接收到所述反射信号。It should be noted that the position of the infrared light detector 230 in the display area needs to be in a second preset range, that is, the infrared light detector 230 needs to be located on the reflected signal that is projected into the display screen from outside the display screen. In this way, the infrared light detector 230 can receive the reflected signal.
图4为本申请实施例的终端设备200的一种示例性结构图。如图4所示,终端设备200的显示屏210包括盖板玻璃212和显示面板214,显示面板214配置在盖板玻璃212的下方,显示面板214和盖板玻璃212重叠的区域可以称为显示屏210的显示区域218,显示面板214和盖板玻璃212未重叠的区域可以称为显示屏210的非显示区域216。FIG. 4 is an exemplary structural diagram of a terminal device 200 according to an embodiment of the present application. As shown in FIG. 4, the display screen 210 of the terminal device 200 includes a cover glass 212 and a display panel 214. The display panel 214 is disposed below the cover glass 212. An area where the display panel 214 and the cover glass 212 overlap may be referred to as a display. The display area 218 of the screen 210, the area where the display panel 214 and the cover glass 212 do not overlap may be referred to as a non-display area 216 of the display screen 210.
红外光发射器220,位于所述非显示区域216,且位于显示屏210内侧,用于以第一预设辐射强度发射探测信号;红外光探测器230,位于所述显示区域218,且位于显示屏210的内侧,用于接收反射信号;所述信号发射器和所述信号探测器之间的距离处于第二预设范围。The infrared light transmitter 220 is located in the non-display area 216 and is located inside the display screen 210 for transmitting a detection signal with a first preset radiation intensity; the infrared light detector 230 is located in the display area 218 and is located in a display The inner side of the screen 210 is used to receive a reflected signal; the distance between the signal transmitter and the signal detector is in a second preset range.
可选地,所述第一预设辐射强度可以大于7毫瓦每球面度(mW/sr)。Optionally, the first preset radiation intensity may be greater than 7 milliwatts per sphere (mW / sr).
可选地,所述第二预设范围可以大于2毫米(mm),且小于或等于6mm。Optionally, the second preset range may be greater than 2 millimeters (mm) and less than or equal to 6 mm.
可选地,终端设备200还可以包括电路板260,红外光发射器220和红外光探测器230固定在电路板260上。例如,红外光发射器220和红外光探测器230可以被焊接在电路板260上。Optionally, the terminal device 200 may further include a circuit board 260, and the infrared light transmitter 220 and the infrared light detector 230 are fixed on the circuit board 260. For example, the infrared light transmitter 220 and the infrared light detector 230 may be soldered on the circuit board 260.
电路板260可以为柔性印制电路板(flexible printed circuit,FPC)或印制电路板(printed circuit board,PCB)。The circuit board 260 may be a flexible printed circuit board (FPC) or a printed circuit board (PCB).
可选地,终端设备200还可以包括遮光层240,该遮光层240设置于显示屏210和红外光探测器230之间。Optionally, the terminal device 200 may further include a light shielding layer 240, which is disposed between the display screen 210 and the infrared light detector 230.
可选地,终端设备200还可以包括通孔250。这样,可以减少不必要的信号衰减,使得穿过所述显示屏210的所述反射光可以顺利的被所述信号探测器接收。Optionally, the terminal device 200 may further include a through hole 250. In this way, unnecessary signal attenuation can be reduced, so that the reflected light passing through the display screen 210 can be smoothly received by the signal detector.
作为一种可能的实现方式,遮光层240可以设置有通孔250,红外光探测器230位于该通孔250范围内。红外光探测器230可以通过通孔250接收反射光,例如,该反射光可以为红外光发射器220发出的红外光经外部物体反射后形成的反射光,该反射光可以为红外光发射器220发出的红外光经盖板玻璃212反射后形成的反射光。As a possible implementation manner, the light shielding layer 240 may be provided with a through hole 250, and the infrared light detector 230 is located within the range of the through hole 250. The infrared light detector 230 may receive reflected light through the through hole 250. For example, the reflected light may be reflected light formed by the infrared light emitted by the infrared light transmitter 220 after being reflected by an external object. The reflected light may be the infrared light transmitter 220. The emitted infrared light is reflected light after being reflected by the cover glass 212.
可选地,显示屏210可以包括油墨层213,油墨层213可以位于盖板玻璃212内侧。进一步地,油墨层213可以印刷在盖板玻璃212内侧。Optionally, the display screen 210 may include an ink layer 213, and the ink layer 213 may be located inside the cover glass 212. Further, the ink layer 213 may be printed on the inside of the cover glass 212.
可选的,所述信号发射器和所述信号探测器的中心在一条直线上。如图1所示。当然,所述信号发射器和所述信号探测器的中心也可以不在一条直线,所述信号探测器在所述反射光的可能区域,保证可以接收到所述反射光即可,本申请实施例不做具体限定。Optionally, the centers of the signal transmitter and the signal detector are on a straight line. As shown in Figure 1. Of course, the centers of the signal transmitter and the signal detector may not be in a straight line, and the signal detector is in a possible area of the reflected light, and it is only necessary to ensure that the reflected light can be received. Embodiments of the present application Not specifically limited.
在本申请实施例中,接近传感器可以感应终端设备和接近物体之间的距离,从而使得终端设备可以根据接近传感器检测的终端设备和接近物体的距离,控制终端设备熄屏或亮屏。In the embodiment of the present application, the proximity sensor can sense the distance between the terminal device and the approaching object, so that the terminal device can control the terminal device to turn off or brighten the screen according to the distance between the terminal device and the approaching object detected by the proximity sensor.
一般来说,终端设备中的接近传感器的性能需要满足一定的要求,才能使终端设备在预定的距离熄灭或点亮显示屏。接近传感器的性能是指接近传感器感应接近物体距离的灵敏度。Generally speaking, the performance of a proximity sensor in a terminal device needs to meet certain requirements in order to make the terminal device extinguish or light up the display screen at a predetermined distance. The performance of the proximity sensor refers to the sensitivity of the proximity sensor to the distance to the object.
例如,要想使得终端设备在预定的距离熄灭或点亮显示屏,需要接近传感器在终端设备和接近物体之间相距预定的距离时,能够感应到接近物体,也就是说,接近传感器的性能需要能够实现,在预定的距离感应到接近物体。For example, if the terminal device is to extinguish or light up the display device at a predetermined distance, the proximity sensor needs to be able to sense an approaching object when the predetermined distance is between the terminal device and the proximity object, that is, the performance of the proximity sensor needs It can be realized that an approaching object is sensed at a predetermined distance.
接近传感器的性能可以通过接近传感器的信噪比(signal noise ratio,SNR)来体现。因此,要想使得接近传感器在预定的距离感应到接近物体,接近传输器的SNR需要满足一定的要求。The performance of the proximity sensor can be reflected by the signal-to-noise ratio (SNR) of the proximity sensor. Therefore, in order to make the proximity sensor sense a proximity object at a predetermined distance, the SNR of the proximity transmitter needs to meet certain requirements.
例如,若终端设备需要在与接近物体的距离小于或等于2cm时进入接近状态,并在与接近物体的距离大于或等于5cm时进入远离状态,则接近传感器的SNR数值需要大于或等于5。For example, if the terminal device needs to enter the proximity state when the distance to the proximity object is less than or equal to 2 cm, and enters the far state when the distance to the proximity object is greater than or equal to 5 cm, the SNR value of the proximity sensor needs to be greater than or equal to 5.
如图5所示,接近传感器的SNR由红外光探测器230接收到的由接近物体反射光线219的能量值、红外光探测器230接收到的非接近物体反射光线217的能量值和红外光探测器230的数据抖动决定。红外光探测器230的数据抖动是指红外光探测器的偏置误差,由红外光探测器230的器件本身的性能决定。红外光探测器230的数据抖动是一个固定值。As shown in FIG. 5, the SNR of the proximity sensor is received by the infrared light detector 230, the energy value of the reflected light 219 from the approaching object, the energy value of the non-proximity object reflected light 217, and the infrared light detected by the infrared light detector 230. The data jitter of the processor 230 is determined. The data jitter of the infrared light detector 230 refers to the bias error of the infrared light detector, and is determined by the performance of the device of the infrared light detector 230. The data jitter of the infrared light detector 230 is a fixed value.
具体地,SNR=(pdata-crosstalk)/jitter。其中,pdata表示红外光探测器230接收到的接近物体反射光线219的能量值,crosstalk表示红外光探测器230接收到的非接近物体反射光线217的能量值,jitter表示红外光探测器的数据抖动。Specifically, SNR = (pdata-crosstalk) / jitter. Among them, pdata represents the energy value of the reflected light 219 of the near object received by the infrared light detector 230, crosstalk represents the energy value of the reflected light 217 of the non-closed object received by the infrared light detector 230, and jitter represents the data jitter of the infrared light detector .
pdata与红外光发射器的辐射强度和显示屏的红外光透过率等相关。红外光发射器的辐射强度越大、显示屏的红外光透过率越高,则pdata越大;反之,则pdata越小。pdata is related to the radiation intensity of the infrared light transmitter and the infrared light transmittance of the display screen. The greater the radiation intensity of the infrared light transmitter and the higher the infrared light transmittance of the display screen, the larger the pdata; otherwise, the smaller the pdata.
crosstalk与红外光发射器的辐射强度、显示屏的红外光透过率,以及红外光发射器与红外光探测器之间的距离等相关。红外光发射器的辐射强度越大、显示屏的红外光透过率越低、红外光发射器与红外光探测器的距离越近、则crosstalk越大;反之,则crosstalk越小。Crosstalk is related to the radiation intensity of the infrared light transmitter, the infrared light transmittance of the display screen, and the distance between the infrared light transmitter and the infrared light detector. The greater the radiation intensity of the infrared light transmitter, the lower the infrared light transmittance of the display screen, and the closer the distance between the infrared light transmitter and the infrared light detector, the larger the crosstalk; otherwise, the smaller the crosstalk.
下面结合图5介绍红外光发射器与红外光探测器之间的距离,以及红外光发射器的辐射强度应如何取值,才能使得接近传感器的SNR满足需求,从而使得接近传感器的性能满足需求,最终使得终端设备可以在预定的距离熄灭或点亮显示屏。The following describes the distance between the infrared light transmitter and the infrared light detector and how the radiation intensity of the infrared light transmitter should be taken in conjunction with FIG. 5 so that the SNR of the proximity sensor can meet the requirements, and the performance of the proximity sensor can meet the requirements. Eventually, the terminal device can extinguish or light up the display screen at a predetermined distance.
如图5所示,在本申请实施例中,终端设备的红外光探测器230位于显示区域218的盖板玻璃212和显示面板214下方,红外光发射器220位于非显示区域216的盖板玻璃212和/或油墨层213的下方。由此可知,显示屏的红外光透过率指盖板玻璃、显示面板和/或油墨层的红外光透过率。As shown in FIG. 5, in the embodiment of the present application, the infrared light detector 230 of the terminal device is located below the cover glass 212 and the display panel 214 of the display area 218, and the infrared light transmitter 220 is located on the cover glass of the non-display area 216. 212 and / or the ink layer 213. It can be seen that the infrared light transmittance of the display screen refers to the infrared light transmittance of the cover glass, the display panel and / or the ink layer.
同一介质的红外光透过率与红外光反射率相关,一般来说,红外光透过率越高,则其红外光反射率越低。比如,以盖板玻璃为例来说明,若盖板玻璃的红外光透过率越高,则该盖板玻璃的红外光反射率越低;若盖板玻璃的红外光透过率越低,则该盖板玻璃的红外光反射率越高。因此,pdata和crosstalk也可以认为是与显示屏(包括显示面板、盖板玻璃和/或油墨层)的红外光反射率相关。The infrared light transmittance of the same medium is related to the infrared light reflectance. Generally speaking, the higher the infrared light transmittance, the lower the infrared light reflectance. For example, the cover glass is used as an example to explain that if the cover glass has a higher infrared light transmittance, the cover glass has a lower infrared light reflectance; if the cover glass has a lower infrared light transmittance, The higher the infrared light reflectivity of the cover glass. Therefore, pdata and crosstalk can also be considered to be related to the infrared light reflectivity of the display screen (including the display panel, cover glass and / or ink layer).
基于上述描述,红外光发射器的辐射强度、显示屏的红外光透过率和红外光发射器与红外光探测器之间的距离对pdata和crosstalk的影响如下表所示。这里的红外光透过率指盖板玻璃、显示面板和/或油墨层的红外光透过率。Based on the above description, the influence of the radiation intensity of the infrared light emitter, the infrared light transmittance of the display screen, and the distance between the infrared light emitter and the infrared light detector on pdata and crosstalk are shown in the table below. The infrared light transmittance here refers to the infrared light transmittance of the cover glass, the display panel and / or the ink layer.
红外光发射器的辐射强度      红外光透过率     红外光发射器与红外光探测器之间的距离The radiation intensity of the infrared light transmitter The infrared light transmittance The distance between the infrared light transmitter and the infrared light detector
pdata大    红外光发射器的辐射强度高    红外光透过率高   不影响Large pdata. High intensity of infrared light emitter. High infrared light transmittance. Does not affect.
pdata小    红外光发射器的辐射强度低    红外光透过率低   不影响Small pdata: Low radiation intensity of infrared light transmitter Low infrared light transmittance Does not affect
crosstalk大     红外光发射器的辐射强度高    红外光透过率低   红外光发射器与红外光探测器之间的距离小Crosstalk is large. The intensity of the infrared light transmitter is high. The infrared light transmittance is low. The distance between the infrared light transmitter and the infrared light detector is small.
crosstalk小     红外光发射器的辐射强度低    红外光透过率高   红外光发射器与红外光探测器之间的距离大The crosstalk is small. The radiation intensity of the infrared light transmitter is low. The infrared light transmittance is high. The distance between the infrared light transmitter and the infrared light detector is large.
显示面板的红外光透过率与显示面板的显示线路的走线密度和材质有关。通常来讲,同种材质的显示面板,显示面板的分辨率越高,显示线路的走线越密,红外光透过率越低;反之,红外光透过率越高。目前,显示面板的红外光透过率远低于盖板玻璃和油墨层。The infrared light transmittance of the display panel is related to the wiring density and material of the display lines of the display panel. Generally speaking, the higher the resolution of the display panel of the same material, the denser the display lines, and the lower the infrared light transmittance; otherwise, the higher the infrared light transmittance. At present, the infrared light transmittance of display panels is much lower than that of cover glass and ink layers.
本申请实施例的终端设备中,由于红外光探测器位于显示区域的盖板玻璃和显示面板内侧,即红外探测器接收的红外光需要经过显示面板,而显示面板的红外光透过率较小,会导致pdata变小且crosstalk变大,因此,要想使得本申请实施例中的接近传感器的SNR不小于现有技术中的接近传感器的SNR,则可以通过提高pdata和/或降低crosstalk来实现。此处所述的现有技术中的接近传感器中,红外光发射器和红外光探测器均位于显示屏的非显示区域。In the terminal device in the embodiment of the present application, since the infrared light detector is located inside the cover glass of the display area and the display panel, that is, the infrared light received by the infrared detector needs to pass through the display panel, and the infrared light transmittance of the display panel is small. Will cause the pdata to become smaller and the crosstalk to be larger. Therefore, if the SNR of the proximity sensor in the embodiments of the present application is not less than the SNR of the proximity sensor in the prior art, it can be achieved by increasing pdata and / or reducing crosstalk. . Among the proximity sensors in the prior art described herein, both the infrared light emitter and the infrared light detector are located in a non-display area of a display screen.
要想提高pdata,可以提高红外光发射器的辐射强度。例如,可以红外光发射器的辐射强度提高3至4倍。例如,若红外光探测器位于显示屏的非显示区域时,红外光源的功率为2毫瓦每球面度(mW/sr),则可以将本申请实施例中的红外光发射器的辐射强度可以提升至6mW/sr以上。If you want to increase the pdata, you can increase the radiation intensity of the infrared light emitter. For example, the radiation intensity of an infrared light emitter can be increased by 3 to 4 times. For example, if the infrared light detector is located in a non-display area of a display screen and the power of the infrared light source is 2 milliwatts per sphericity (mW / sr), the radiation intensity of the infrared light transmitter in the embodiment of the present application can be Increase to more than 6mW / sr.
要想降低crosstalk,可以增大红外光探测器与红外光发射器之间的距离。例如,可以将红外光探测器与红外光发射器之间的距离增大至2mm以上,进一步地,该距离还需要小于或等于6mm。To reduce crosstalk, increase the distance between the infrared light detector and the infrared light emitter. For example, the distance between the infrared light detector and the infrared light transmitter can be increased to more than 2 mm, and further, the distance needs to be less than or equal to 6 mm.
由上表可知,提高红外光发射器的辐射强度以增大pdata时,crosstalk也会相应增大。因此,提高红外光发射器的辐射强度以增大pdata时,可以同时增大红外光探测器与红外光发射器之间的距离来减小crosstalk,从而可以更好地保证接近传感器的SNR不小于现有技术中的接近传感器的SNR。As can be seen from the above table, when the radiation intensity of the infrared light emitter is increased to increase the pdata, the crosstalk will also increase accordingly. Therefore, when the radiation intensity of the infrared light transmitter is increased to increase the pdata, the distance between the infrared light detector and the infrared light transmitter can be increased at the same time to reduce the crosstalk, thereby better ensuring that the SNR of the proximity sensor is not less than SNR of the proximity sensor in the prior art.
例如,红外光发射器的辐射强度可以设置第一预设辐射强度,红外光发射器与红外光探测器之间的距离可以设置为第二预设范围,且第一预设辐射强度和第二预设范围应该使得接近传感器的SNR不小于预设的SNR阈值,例如,不小于现有技术中的接近传感器的SNR。现有技术中的接近传感器的SNR的一种取值范围为不小于5。For example, the radiation intensity of the infrared light emitter can be set to a first preset radiation intensity, the distance between the infrared light emitter and the infrared light detector can be set to a second preset range, and the first preset radiation intensity and the second The preset range should be such that the SNR of the proximity sensor is not less than a preset SNR threshold, for example, it is not less than the SNR of the proximity sensor in the prior art. A value range of the SNR of the proximity sensor in the prior art is not less than 5.
第一预设辐射强度与第二预设范围可以通过有限元方法仿真得到。例如,可以通过仿真软件,不断调整红外光发射器的辐射强度和红外光发射器与红外光探测器之间的距离,直到根据红外光探测器接收到的接近物体反射光线的能量值pdata、红外光探测器接收到的非接近物体反射光线的能量值crosstalk和红外光探测器的数据抖动jitter计算得到的SNR大于或等于预设的SNR阈值。此时的红外光发射器的辐射强度即为第一预设辐射强度,红外光发射器与红外光探测器之间的距离为第二预设范围。The first preset radiation intensity and the second preset range can be obtained by simulation using a finite element method. For example, through simulation software, the radiation intensity of the infrared light transmitter and the distance between the infrared light transmitter and the infrared light detector can be continuously adjusted until the energy value pdata, infrared, and The SNR calculated by the energy value of the crosstalk received by the light detector from the light reflected by the non-close object and the data jitter of the infrared light detector is greater than or equal to a preset SNR threshold. The radiation intensity of the infrared light transmitter at this time is the first preset radiation intensity, and the distance between the infrared light transmitter and the infrared light detector is the second preset range.
例如,想要保证本申请实施例中的接近传感器的SNR不小于5,可以在将红外光发射器的辐射强度相对于现有的终端设备中的红外光发射器的辐射强度提高3至4倍的同时,将红外光探测器与红外光发射器之间的距离增大至2mm以上。For example, to ensure that the SNR of the proximity sensor in the embodiments of the present application is not less than 5, the radiation intensity of the infrared light transmitter can be increased by 3 to 4 times compared to the radiation intensity of the infrared light transmitter in the existing terminal device. At the same time, increase the distance between the infrared light detector and the infrared light transmitter to more than 2mm.
可选地,红外光探测器与红外光发射器之间的距离可以小于或等于6mm。Optionally, the distance between the infrared light detector and the infrared light transmitter may be less than or equal to 6 mm.
例如,现有的终端设备中的红外光发射器的辐射强度为2mW/sr,红外光探测器与红外光发射器之间的距离位于1至2mm,且SNR不小于5时,基于这些数据进行有限元仿真,可以得到如下结果:第一预设辐射强度大于4mW/sr,或第一预设辐射强度大于或等于6mW/sr,和/或,第二预设范围大于2mm,且第二预设范围可以小于或等于6mm。这样可以使得本申请实施例的终端设备可以在预定的距离熄灭或点亮显示屏。该预定的距离可以与现有技术中的终端设备熄灭或点亮显示屏的距离相同。For example, the radiation intensity of the infrared light transmitter in the existing terminal equipment is 2mW / sr, and the distance between the infrared light detector and the infrared light transmitter is 1 to 2mm, and the SNR is not less than 5, based on these data. The finite element simulation can obtain the following results: the first preset radiation intensity is greater than 4mW / sr, or the first preset radiation intensity is greater than or equal to 6mW / sr, and / or, the second preset range is greater than 2mm, and the second preset The setting range can be less than or equal to 6mm. In this way, the terminal device in the embodiment of the present application can turn off or light up the display screen at a predetermined distance. The predetermined distance may be the same as the distance at which the terminal device in the prior art turns off or lights up the display screen.
由于终端设备的红外光探测器实际检测到的红外光中通常会包含接近物体反射光线的能量值(pdata)和非接近物体反射光线的能量值(crosstalk),因此,终端设备中会根据红外光探测器与红外光发射器之间的距离预设一个非接近物体反射光线的能量值(crosstalk0)。Because the infrared light actually detected by the infrared light detector of the terminal device usually includes the energy value (pdata) of the reflected light near the object and the energy value of the reflected light (crosstalk) of the non-closed object, the terminal device will be based on the infrared light. The distance between the detector and the infrared light transmitter is preset to an energy value (crosstalk0) of light reflected from a non-proximity object.
例如,红外光探测器与红外光发射器之间的距离为5mm时,终端设备中预设与5mm对应的crosstalk 0。5mm对应的crosstalk 0是指:红外光探测器与红外光发射器之间的距离为5mm时,非接近物体反射光线的能量值。For example, when the distance between the infrared light detector and the infrared light transmitter is 5mm, the crosstalk corresponding to 5mm is preset in the terminal device. The crosstalk 0 corresponding to 5mm refers to: between the infrared light detector and the infrared light transmitter When the distance is 5mm, the energy value of light reflected by non-close objects.
这样,终端设备确定其是否处于接近状态或远离状态时,可以将红外光探测器实际探测到的红外光的能量值(pdata+crosstalk)减去预先设置的crosstalk 0,从而得到接近物体反射光线的能量值,并将该能量值与pdata1或pdata2相比较,然后根据比较结果确定终端设备处于接近状态还是处于远离状态。In this way, when the terminal device determines whether it is in a near state or a distant state, it can subtract the preset crosstalk0 from the energy value (pdata + crosstalk) of the infrared light actually detected by the infrared light detector, so as to obtain the reflected light of the approaching object An energy value, and compare the energy value with pdata1 or pdata2, and then determine whether the terminal device is in an approaching state or a distant state according to the comparison result.
其中,pdata1为预设的、终端设备刚好处于接近状态时接近物体反射光线的能量值,pdata2为预设的、终端设备刚好处于远离状态时接近物体反射的红外光的能量值。可选地,pdata1与pdata2可以相等。Among them, pdata1 is a preset energy value of the reflected light of the terminal device when the terminal device is just close to the object, and pdata2 is a preset energy value of infrared light of the terminal device when the terminal device is just near the object. Optionally, pdata1 and pdata2 may be equal.
但是在实际的装配过程中,由于安装设备精度或工艺水平等问题,终端设备中的红外光发射器和红外光探测器位置在安装时会产生偏差,从而使得红外光发射器和红外光探测器之间的实际安装距离与期望安装距离之间有偏差,即红外光探测器与红外光发射器之间的实际安装距离不等于红外光探测器与红外光发射器之间的期望安装距离。比如,红外光探测器与红外光发射器之间的期望安装距离为5mm,但红外光探测器与红外光发射器之间的实际安装距离可能只有4.9mm,与5mm相比有0.1mm的偏差。However, in the actual assembly process, due to issues such as the accuracy of the installation equipment or the level of technology, the positions of the infrared light emitters and infrared light detectors in the terminal device will be offset during installation, which makes the infrared light emitters and infrared light detectors. There is a deviation between the actual installation distance and the expected installation distance, that is, the actual installation distance between the infrared light detector and the infrared light transmitter is not equal to the expected installation distance between the infrared light detector and the infrared light transmitter. For example, the expected installation distance between the infrared light detector and the infrared light transmitter is 5mm, but the actual installation distance between the infrared light detector and the infrared light transmitter may be only 4.9mm, which is a deviation of 0.1mm compared to 5mm .
由于红外光探测器与红外光发射器之间的不同的距离对应的非接近物体反射光线的能量值不同,因此,红外光发射器和红外光探测器之间的实际安装距离与期望安装距离之间有偏差时,红外光探测器实际检测到的红外光中的非接近物体光线的能量值与终端设备中预设的非接近物体光线的能量值有偏差。这种情况下,若终端设备中还按照红外光发射器和红外光探测器之间的期望安装距离来预设非接近物体光线的能量值,则会导致终端设备根据该能量值所计算得到的接近物体光线的能量值不准确。Due to the different distances between the infrared light detector and the infrared light emitter, the energy values of the light reflected by non-close objects are different. Therefore, the actual installation distance between the infrared light emitter and the infrared light detector is different from the expected installation distance. When there is a deviation between the two, the energy value of the non-close object light in the infrared light actually detected by the infrared light detector is different from the energy value of the non-close object light preset in the terminal device. In this case, if the terminal device also presets the energy value of the light of the non-proximity object according to the expected installation distance between the infrared light transmitter and the infrared light detector, it will cause the terminal device to calculate the energy value based on the energy value. The energy value of the light approaching the object is not accurate.
针对该问题,本申请提出一种控制终端设备的方法。该方法包括:在终端设备的红外光发射器所发出的红外光未经外部物体反射时,终端设备的红外光探测器检测红外光,并将检测到的红外光的能量值预设为非接近物体光线的能量值,以及根据该预设的非接近物体光线的能量值控制终端设备熄灭屏幕或点亮屏幕。In view of this problem, this application proposes a method for controlling a terminal device. The method includes: when the infrared light emitted by the infrared light transmitter of the terminal device is not reflected by an external object, the infrared light detector of the terminal device detects the infrared light and presets the energy value of the detected infrared light to be non-close The energy value of the object light and controlling the terminal device to turn off the screen or light up the screen according to the preset energy value of the non-close object light.
终端设备通过这种方法预设的非接近物体光线的能量值,并根据该预设的非接近物体光线的能量值控制终端设备熄灭屏幕或点亮屏幕,可以提高终端设备熄灭屏幕或点亮屏幕的准确率。The terminal device presets the energy value of the non-close-to-object light through this method, and controls the terminal device to turn off the screen or lights the screen according to the preset energy value of the non-close-to-object light, which can improve the terminal device to turn off or light the screen Accuracy.
本申请一个实施例的控制终端设备的方法可以包括如下三个步骤。A method for controlling a terminal device according to an embodiment of the present application may include the following three steps.
步骤一:获取第一值,所述第一值是在终端设备的红外光发射器所发出的红外光未经外部物体反射时,所述终端设备的红外光探测器所检测到的红外光的能量值。Step 1: Obtain a first value. The first value is the infrared light detected by the infrared light detector of the terminal device when the infrared light emitted by the infrared light transmitter of the terminal device is not reflected by an external object. Energy value.
该第一值可以是在终端设备的红外光发射器所发出的红外光未经外部物体反射时,终端设备的红外光探测器检测到的红外光的能量值,该能量值被预设在终端设备中作为非接近物体光线的能量值。可以在终端设备出厂之前配置终端设备时在终端设备上配置好该第一值。The first value may be an energy value of the infrared light detected by the infrared light detector of the terminal device when the infrared light emitted by the infrared light transmitter of the terminal device is not reflected by an external object, and the energy value is preset in the terminal. The energy value of the light in the device as a non-proximate object. The first value may be configured on the terminal device when the terminal device is configured before the terminal device leaves the factory.
应理解,第一值是在终端设备显示屏上方没有物体遮挡的情况下,红外光发射器所发出的红外光未经外部物体反射时,红外光探测器检测到红外光后输出的数值。由于显示屏上方没有接近物体,因此这里的第一值为非接近物体反射光线的能量。例如,第一值可以是盖板玻璃和显示面板反射的红外光的能量值。It should be understood that the first value is a value output when the infrared light detector detects the infrared light when the infrared light emitted by the infrared light transmitter is not reflected by an external object when there is no object obstruction above the display screen of the terminal device. Since there is no approaching object above the display screen, the first value here is the energy of light reflected by non-proximity objects. For example, the first value may be an energy value of infrared light reflected by the cover glass and the display panel.
需要注意的是,若存在安装偏差,该第一值相比红外光探测器与红外光发射器之间的预设安装距离对应的非接近物体反射的红外光的能量值相比,可能会有较大的偏差。It should be noted that if there is an installation deviation, the first value may be compared with the energy value of infrared light reflected by a non-close object corresponding to a preset installation distance between the infrared light detector and the infrared light transmitter. Large deviation.
步骤二:获取第二值,所述第二值是在终端设备的红外光发射器所发出的红外光经外部物体反射时,所述终端设备的红外光探测器所检测到的红外光的能量值。Step 2: Obtain a second value, which is the energy of the infrared light detected by the infrared light detector of the terminal device when the infrared light emitted by the infrared light transmitter of the terminal device is reflected by an external object value.
第二值可以是用户设备在使用终端设备的过程中获取的。The second value may be obtained by the user equipment during the process of using the terminal device.
应理解,第二值是在终端设备显示屏上方有物体遮挡的情况下,红外光发射器所发出的红外光经外部物体反射后,红外光探测器检测到红外光后输出的数值。此时显示屏上方有接近物体,因此,该第二值为接近物体反射光线与非接近物体反射光线的能量之和。也就是说,第二值即包括终端设备的红外光发射器所发出的红外光经接近物体反射后,红外光探测器所检测到的红外光,也包括未经接近物体反射,而直接被盖板玻璃、油墨或显示面板等反射后,红外光探测器所检测到的红外光。It should be understood that the second value is a value that is output after the infrared light detector detects the infrared light after the infrared light emitted by the infrared light transmitter is reflected by an external object when an object is blocked above the display screen of the terminal device. At this time, there is an approaching object above the display screen, so the second value is the sum of the energy reflected by the approaching object and the energy reflected by the non-proximity object. That is to say, the second value includes the infrared light emitted by the infrared light transmitter of the terminal device after being reflected by the approaching object, and the infrared light detected by the infrared light detector also includes the direct cover without being reflected by the approaching object. Infrared light detected by the infrared light detector after reflection by plate glass, ink or display panel.
步骤三:根据所述第一值和第二值控制所述终端设备熄灭显示屏或点亮显示屏。Step 3: Control the terminal device to turn off the display screen or light up the display screen according to the first value and the second value.
在一些可能的实现方式中,可以根据第二值减去第一值之后得到的第三值控制终端设备熄灭显示屏或点亮显示屏。In some possible implementation manners, the terminal device may be controlled to turn off the display screen or light up the display screen according to a third value obtained by subtracting the first value from the second value.
例如,当所述第三值大于或等于第一阈值时,控制所述终端设备熄灭显示屏;当所述第三值小于或等于第二阈值时,控制所述终端设备点亮显示屏。For example, when the third value is greater than or equal to the first threshold value, control the terminal device to turn off the display screen; when the third value is less than or equal to the second threshold value, control the terminal device to light up the display screen.
例如,终端设备可以保存预先设置的进入接近状态的距离对应的红外光的能量值(第一阈值)。比如,终端设备的显示屏与接近物体之间的距离小于或等于2cm时,该终端设备进入接近状态,即熄灭显示屏,则终端设备可以保存该终端设备的显示屏与接近物体之间的距离为2cm时,仅有接近物体反射的红外光的能量值记为第一阈值。For example, the terminal device may save an energy value (a first threshold value) of infrared light corresponding to a preset distance into the approach state. For example, when the distance between the display screen of the terminal device and the approaching object is less than or equal to 2 cm, the terminal device enters the proximity state, that is, the display screen is turned off, and the terminal device can save the distance between the display screen of the terminal device and the approaching object. When it is 2 cm, only the energy value of the infrared light reflected by the near object is recorded as the first threshold.
当确定终端设备是否处于接近状态时,可以将红外光探测器实时检测到的红外光的能量值(即第二值)减去第一值,并将得到的第三值与预存的第一阈值比较,当第三值大于或等于该第一阈值时,控制该终端设备进入接近状态,即熄灭显示屏。When determining whether the terminal device is in a close state, the energy value (that is, the second value) of the infrared light detected by the infrared light detector in real time can be subtracted from the first value, and the obtained third value and the pre-stored first threshold value In comparison, when the third value is greater than or equal to the first threshold value, the terminal device is controlled to enter an approaching state, that is, the display screen is turned off.
例如,终端设备可以保存预先设置的进入远离状态的距离对应的红外光的能量值(第二阈值)。比如,终端设备的显示屏与接近物体之间的距离大于或等于5cm时,该终端设备进入远离状态,即点亮显示屏,则终端设备可以保存该终端设备的显示屏与接近物体之间的距离为5cm时,仅有接近物体反射的红外光的能量值记为第二阈值。For example, the terminal device may save an energy value (a second threshold value) of the infrared light corresponding to a preset distance into the distant state. For example, when the distance between the display screen of the terminal device and the approaching object is greater than or equal to 5 cm, the terminal device enters a distant state, that is, the display screen is lit, and the terminal device can save When the distance is 5 cm, only the energy value of the infrared light reflected by the close object is recorded as the second threshold.
当确定终端设备是否处于远离状态时,可以将红外光探测器实时检测到的红外光的能量值(即第二值)减去第一值,并将得到的第三值与预存的第二阈值比较,当第三值小于或等于该第二阈值时,控制该终端设备进入远离状态,即点亮显示屏。When determining whether the terminal device is in a distant state, the energy value (that is, the second value) of the infrared light detected by the infrared light detector in real time can be subtracted from the first value, and the obtained third value and the pre-stored second threshold value In comparison, when the third value is less than or equal to the second threshold value, the terminal device is controlled to enter a distant state, that is, the display screen is turned on.
可选地,可以通过上述控制终端设备的方法来测试终端设备是否合格。应理解,这里的测试流程可以是终端设备在出厂前进行的测试,比如,在终端设备出厂前,检测该终端设备能否在预定的距离进入接近状态和/或远离状态。本申请一个实施例的测试终端设备的方法包括如下四个步骤。Optionally, whether the terminal device is qualified may be tested by the method for controlling the terminal device. It should be understood that the test process here may be a test performed by the terminal device before leaving the factory. For example, before the terminal device leaves the factory, it is detected whether the terminal device can enter a close state and / or a distant state at a predetermined distance. A method for testing a terminal device according to an embodiment of the present application includes the following four steps.
步骤一,启动接近光测试。Step 1. Start the proximity light test.
首先,启动接近光测试软件。可选地,该接近光测试软件可以为安装在终端设备中的应用(APP)。First, start the proximity light test software. Optionally, the proximity light test software may be an application (APP) installed in a terminal device.
终端设备的接近传感器安装好后,可以对终端设备进行接近光测试,即测试终端设备是否可以在预设的距离范围进入接近状态和远离状态。After the proximity sensor of the terminal device is installed, a proximity light test can be performed on the terminal device, that is, testing whether the terminal device can enter an approaching state and a distant state within a preset distance range.
例如,若终端设备与物体之间的距离位于预设的距离范围内,该终端设备处于接近状态,则说明终端设备的接近状态合格;反之不合格。若终端设备与物体之间的距离大于或等于预设的距离阈值,该终端设备处于远离状态,则说明终端设备的远离状态合格;反之不合格。For example, if the distance between the terminal device and the object is within a preset distance range, and the terminal device is in a close state, it means that the close state of the terminal device is qualified; otherwise, it is unqualified. If the distance between the terminal device and the object is greater than or equal to a preset distance threshold, and the terminal device is in a distant state, the distant state of the terminal device is qualified; otherwise, the terminal device is unqualified.
步骤二,测试终端设备接近传感器的接近状态。Step two: test the proximity state of the terminal device proximity sensor.
例如,可以逐渐减小接近物体与终端设备显示屏之间的距离。在这个过程中终端设备多次执行前述控制终端设备的方法中的三个步骤。具体地址,获取第一值和获取第二值,并用第二值减去第一值得到第三值,以及将第三值与预存的第一阈值比较。第三值与第一阈值的一种比较结果为第三值小于第一阈值,另一种比较结果为第三值大于或等于第一阈值。For example, the distance between the approaching object and the display screen of the terminal device can be gradually reduced. In this process, the terminal device performs the three steps in the foregoing method for controlling a terminal device multiple times. For the specific address, obtain the first value and the second value, subtract the first value from the second value to obtain a third value, and compare the third value with a pre-stored first threshold. One type of comparison result between the third value and the first threshold value is that the third value is smaller than the first threshold value, and the other comparison result is that the third value is greater than or equal to the first threshold value.
若用“0”表示第三值小于第一阈值,用“1”表示第三值大于或等于第一阈值,则接近光测试软件获取到的比较结果为由“0”变为“1”时,测量接近物体与终端设备的显示屏之间的距离,并判断该距离与预设的距离阈值之间的差值是否满足预设的条件。If "0" is used to indicate that the third value is less than the first threshold value, and "1" is used to indicate that the third value is greater than or equal to the first threshold value, the comparison result obtained by the optical testing software is close to "0" when it is changed to "1" , Measuring the distance between the proximity object and the display screen of the terminal device, and determining whether the difference between the distance and a preset distance threshold meets a preset condition.
例如,预设接近物体与终端设备的显示屏之间的距离小于或等于2cm时,终端设备处于接近状态,则可以预设第一阈值为2cm。此时,若测量的接近物体与终端设备的显示屏之间的距离与2cm相等,或测量的接近物体与终端设备的显示屏之间的距离与2cm之间的差值位于预设的范围内,则可以确定该终端设备的接近状态合格。For example, when the distance between the approaching object and the display screen of the terminal device is less than or equal to 2 cm and the terminal device is in a close state, the first threshold value may be preset to 2 cm. At this time, if the distance between the measured proximity object and the display of the terminal device is equal to 2cm, or the difference between the distance between the measured proximity object and the display of the terminal device and 2cm is within a preset range , It can be determined that the proximity status of the terminal device is qualified.
步骤三,测试终端设备接近传感器的远离状态。Step three: test the distance of the terminal device from the proximity sensor.
例如,可以逐渐增大接近物体与终端设备显示屏之间的距离。在这个过程中终端设备多次执行前述控制终端设备的方法中的三个步骤。具体地址,获取第一值和获取第二值,并用第二值减去第一值得到第三值,以及将第三值与预存的第二阈值比较。第三值与第二阈值的一种比较结果为第三值大于第二阈值,另一种比较结果为第三值小于或等于第二阈值。For example, the distance between the approaching object and the display screen of the terminal device can be gradually increased. In this process, the terminal device performs the three steps in the foregoing method for controlling a terminal device multiple times. For the specific address, obtain a first value and a second value, subtract the first value from the second value to obtain a third value, and compare the third value with a pre-stored second threshold. One comparison result between the third value and the second threshold value is that the third value is greater than the second threshold value, and the other comparison result is that the third value is less than or equal to the second threshold value.
若用“1”表示第三值大于第二阈值,用“0”表示第三值小于或等于第二阈值,则接近光测试软件获取到的比较结果为由“1”变为“0”时,测量接近物体与终端设备的显示屏之间的距离,并判断该距离与预设的距离阈值之间的差值是否满足预设的条件。If “1” is used to indicate that the third value is greater than the second threshold, and “0” is used to indicate that the third value is less than or equal to the second threshold, the comparison result obtained by the optical testing software is close to “1” when it is changed to “0” , Measuring the distance between the proximity object and the display screen of the terminal device, and determining whether the difference between the distance and a preset distance threshold meets a preset condition.
例如,预设接近物体与终端设备的显示屏之间的距离大于或等于5cm时,终端设备处于远离状态,则可以预设第二阈值为5cm。此时,若测量的接近物体与终端设备的显示屏之间的距离与5cm相等,或测量的接近物体与终端设备的显示屏之间的距离与5cm之间的差值位于预设的范围内,则可以确定该终端设备的远离状态合格。For example, when the distance between the approaching object and the display screen of the terminal device is greater than or equal to 5 cm and the terminal device is in a distant state, the second threshold value may be preset to 5 cm. At this time, if the distance between the measured proximity object and the display screen of the terminal device is equal to 5cm, or the difference between the distance between the measured proximity object and the display screen of the terminal device and 5cm is within a preset range , It can be determined that the distant state of the terminal device is qualified.
步骤四,结束接近光测试。Step 4. End the proximity light test.
若该终端设备在预先设置的进入接近状态的距离进入接近状态,且在预先设置的进入远离状态的距离进入远离状态,则该终端设备的接近光测试合格;否则,该终端设备的接近光测试不合格。If the terminal device enters the proximity state at a preset distance to enter the proximity state, and enters the far state at the preset distance to enter the far state, the proximity light test of the terminal device passes; otherwise, the proximity light test of the terminal device Failed.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art may realize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and are not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. The aforementioned storage media include: U disks, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks or compact discs and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of this application, but the scope of protection of this application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this application. It should be covered by the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (8)

  1. 一种终端设备,其特征在于,所述终端设备包括显示屏和传感器组件;A terminal device, characterized in that the terminal device includes a display screen and a sensor component;
    所述显示屏,包括显示区域和非显示区域;The display screen includes a display area and a non-display area;
    所述传感器组件包括信号发射器和信号探测器;The sensor component includes a signal transmitter and a signal detector;
    所述信号发射器,位于所述非显示区域,用于以第一预设辐射强度发射探测信号;The signal transmitter is located in the non-display area, and is configured to transmit a detection signal with a first preset radiation intensity;
    所述信号探测器,位于所述显示区域,用于接收反射信号;The signal detector is located in the display area and is used for receiving a reflected signal;
    所述信号发射器和所述信号探测器之间的距离处于第二预设范围。The distance between the signal transmitter and the signal detector is in a second preset range.
  2. 根据权利要求1所述的终端设备,其特征在于,所述反射信号包括从所述显示屏外射入所述显示屏的反射信号。The terminal device according to claim 1, wherein the reflected signal comprises a reflected signal that is projected into the display screen from outside the display screen.
  3. 根据权利要求1或2所述的终端设备,其特征在于,所述第一预设辐射强度大于7毫瓦每球面度。The terminal device according to claim 1 or 2, wherein the first preset radiation intensity is greater than 7 milliwatts per sphericity.
  4. 根据权利要求1至3中任一项所述的终端设备,其特征在于,所述第二预设范围大于2毫米,且小于或等于6毫米。The terminal device according to any one of claims 1 to 3, wherein the second preset range is larger than 2 mm and smaller than or equal to 6 mm.
  5. 根据权利要求1至4中任一项所述的终端设备,其特征在于,所述终端设备还包括:The terminal device according to any one of claims 1 to 4, wherein the terminal device further comprises:
    电路板,所述信号发射器和所述信号探测器固定在所述电路板上。The circuit board, the signal transmitter and the signal detector are fixed on the circuit board.
  6. 根据权利要求1至5中任一项所述的终端设备,其特征在于,所述终端设备还包括:The terminal device according to any one of claims 1 to 5, wherein the terminal device further comprises:
    遮光层,所述遮光层设置于所述显示屏和所述信号探测器之间。A light-shielding layer disposed between the display screen and the signal detector.
  7. 根据权利要求1至6中任一项所述的终端设备,其特征在于,所述终端设备还包括:The terminal device according to any one of claims 1 to 6, wherein the terminal device further comprises:
    通孔,所述遮光层设置有通孔,所述信号探测器位于所述通孔范围内。A through hole, the light shielding layer is provided with a through hole, and the signal detector is located within the range of the through hole.
  8. 根据权利要求1至7中任一项所述的终端设备,其特征在于,所述信号发射器和所述信号探测器的中心在一条直线上。The terminal device according to any one of claims 1 to 7, wherein the centers of the signal transmitter and the signal detector are on a straight line.
PCT/CN2019/104611 2018-09-15 2019-09-06 Terminal device WO2020052494A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811077457.7 2018-09-15
CN201811077457.7A CN110913040A (en) 2018-09-15 2018-09-15 Terminal equipment

Publications (1)

Publication Number Publication Date
WO2020052494A1 true WO2020052494A1 (en) 2020-03-19

Family

ID=69777141

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/104611 WO2020052494A1 (en) 2018-09-15 2019-09-06 Terminal device

Country Status (2)

Country Link
CN (1) CN110913040A (en)
WO (1) WO2020052494A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113777621A (en) * 2020-06-09 2021-12-10 北京小米移动软件有限公司 Electronic device, relative position relation detection method and device, and storage medium
CN111739428B (en) * 2020-07-23 2022-04-22 维沃移动通信有限公司 Display module and display device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100294938A1 (en) * 2009-05-22 2010-11-25 Rachid Alameh Sensing Assembly for Mobile Device
CN107332948A (en) * 2017-07-11 2017-11-07 广东欧珀移动通信有限公司 Display device, terminal device and proximity state detection method
CN107831834A (en) * 2017-11-22 2018-03-23 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107835319A (en) * 2017-11-22 2018-03-23 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107844247A (en) * 2017-11-22 2018-03-27 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107888726A (en) * 2017-11-22 2018-04-06 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107978260A (en) * 2017-11-22 2018-05-01 广东欧珀移动通信有限公司 Display screen component and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100294938A1 (en) * 2009-05-22 2010-11-25 Rachid Alameh Sensing Assembly for Mobile Device
CN107332948A (en) * 2017-07-11 2017-11-07 广东欧珀移动通信有限公司 Display device, terminal device and proximity state detection method
CN107831834A (en) * 2017-11-22 2018-03-23 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107835319A (en) * 2017-11-22 2018-03-23 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107844247A (en) * 2017-11-22 2018-03-27 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107888726A (en) * 2017-11-22 2018-04-06 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107978260A (en) * 2017-11-22 2018-05-01 广东欧珀移动通信有限公司 Display screen component and electronic equipment

Also Published As

Publication number Publication date
CN110913040A (en) 2020-03-24

Similar Documents

Publication Publication Date Title
US11011131B2 (en) Off-screen control method determining signal intensity calibration value for filmed display screen
CN107943345B (en) Method and device for calibrating proximity sensor, storage medium and electronic equipment
CN107942306B (en) Method and device for calibrating proximity sensor, storage medium and electronic equipment
CA3087731C (en) Screen on-and-off state control method and mobile terminal
CN104375886B (en) Information processing method, device and electronic equipment
CN109240551B (en) Method for controlling electronic device by using gestures and related product
WO2018120240A1 (en) Apparatus and method for adjusting electromagnetic wave radiation parameter, and storage medium
CN111458935A (en) Display panel and terminal
JP7329150B2 (en) Touch button, control method and electronic device
WO2020107401A1 (en) Method for controlling on/off of screen, apparatus for controlling on/off of screen and electronic device
US20230325483A1 (en) Fingerprint unlocking method and terminal
WO2019233232A1 (en) Control method, control device, electronic device, computer storage medium and device
WO2016115682A1 (en) Terminal control method and terminal
CN107291280B (en) Method and device for adjusting sensitivity of touch screen and terminal equipment
KR20220117342A (en) Electronics and Control Methods
WO2020052494A1 (en) Terminal device
CN107528958B (en) Method for controlling mobile terminal, device, readable storage medium storing program for executing and mobile terminal
WO2016061771A1 (en) Power-on circuit and electronic device
US11476684B2 (en) Charging protection method, terminal, and charger
CN110837319B (en) Visual angle adjusting method and electronic equipment
WO2018166057A1 (en) Method and electronic device for outputting touch control signals
WO2019114566A1 (en) Electronic device
CN106940608B (en) Display screen control method, display screen and electronic equipment
WO2017035794A1 (en) Method and device for operating display, user interface, and storage medium
WO2017166209A1 (en) Method and device for configuring untouchable area, electronic device, display interface, and storage medium

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: 19861144

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: 19861144

Country of ref document: EP

Kind code of ref document: A1