CN113746984A - Terminal, proximity detection method, and computer-readable storage medium - Google Patents

Terminal, proximity detection method, and computer-readable storage medium Download PDF

Info

Publication number
CN113746984A
CN113746984A CN202010400400.7A CN202010400400A CN113746984A CN 113746984 A CN113746984 A CN 113746984A CN 202010400400 A CN202010400400 A CN 202010400400A CN 113746984 A CN113746984 A CN 113746984A
Authority
CN
China
Prior art keywords
screen
driver
ultrasonic
terminal
ultrasonic wave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202010400400.7A
Other languages
Chinese (zh)
Inventor
胡利华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202010400400.7A priority Critical patent/CN113746984A/en
Priority to PCT/CN2021/088519 priority patent/WO2021227795A1/en
Publication of CN113746984A publication Critical patent/CN113746984A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention relates to the technical field of terminals, and discloses a terminal, a proximity detection method and a computer-readable storage medium. In the present invention, the terminal includes: the system comprises a screen, a driver, a main control chip and an ultrasonic receiver; the driver is arranged below the screen and used for driving the screen to emit first ultrasonic waves; the main control chip is connected with the driver and used for controlling the driver to drive the screen to send out first ultrasonic waves when the terminal is detected to be in a call state; the ultrasonic receiver is used for receiving second ultrasonic waves formed by reflection of the first ultrasonic waves after encountering human bodies; the main control chip is connected with the ultrasonic receiver and is further used for judging whether the human body approaches the screen according to the first ultrasonic waves and the second ultrasonic waves, so that approach detection in the conversation process can be completed under the condition that the area of the screen is not occupied, and screen occupation ratio of the terminal is favorably improved.

Description

Terminal, proximity detection method, and computer-readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a terminal, a proximity detection method and a computer-readable storage medium.
Background
At present, the application of smart phones is common, and a general smart phone has a proximity detection function, that is, when people use the smart phone to make a call, when detecting that the mobile phone is close to the head, the screen of the smart phone is controlled to be turned off, so that the screen is prevented from being triggered by mistake. In order to realize the proximity detection function in the prior art, an infrared transmitter and a receiver are usually embedded in a screen, and infrared reflection is utilized to judge whether the proximity is detected.
However, the inventors found that at least the following problems exist in the prior art: the infrared transmitter and the receiver are embedded in the screen, so that the area of the screen is occupied, and the screen occupation is not facilitated to be improved.
Disclosure of Invention
An object of embodiments of the present invention is to provide a terminal, a proximity detection method, and a computer-readable storage medium, which enable proximity detection during a call to be completed without occupying a screen area, and are beneficial to increasing a screen occupation ratio of the terminal.
In order to solve the above technical problem, an embodiment of the present invention provides a terminal, including: the system comprises a screen, a driver, a main control chip and an ultrasonic receiver; the driver is arranged below the screen and used for driving the screen to emit first ultrasonic waves; the main control chip is connected with the driver and used for controlling the driver to drive the screen to send out first ultrasonic waves when the terminal is detected to be in a call state; the ultrasonic receiver is used for receiving second ultrasonic waves formed by reflection of the first ultrasonic waves after encountering human bodies; the main control chip is connected with the ultrasonic receiver and is further used for judging whether the human body approaches the screen or not according to the first ultrasonic wave and the second ultrasonic wave.
The embodiment of the invention also provides a proximity detection method, which is applied to the terminal and comprises the following steps: when the terminal is detected to be in a call state, controlling a driver to drive a screen to send out first ultrasonic waves; receiving second ultrasonic waves formed by reflecting the first ultrasonic waves after encountering the human body through an ultrasonic receiver; and judging whether the human body approaches the screen or not according to the first ultrasonic wave and the second ultrasonic wave.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program which, when executed by a processor, implements the proximity detection method described above.
Compared with the prior art, in order to realize the approach detection, the embodiment of the invention adds a driver for driving the screen to emit ultrasonic waves on hardware, drives the screen to emit first ultrasonic waves by controlling the driver, and receives second ultrasonic waves formed by reflecting the first ultrasonic waves after encountering a human body through the ultrasonic receiver. Therefore, whether the human body approaches the screen can be judged according to the first ultrasonic waves emitted by the screen and the second ultrasonic waves received by the microphone. Because the added driver is arranged below the screen, the area of the screen can not be occupied, and the screen occupation ratio is favorably improved.
In addition, the ultrasonic receiver is a microphone, so that the second ultrasonic can be received by using the existing microphone on the terminal without arranging an additional device for receiving the second ultrasonic.
In addition, the first surface of the driver is tightly attached to the inner surface of the screen, so that the driving effect of the driver is improved, and the screen is driven to vibrate better to emit the first ultrasonic wave.
In addition, the terminal also comprises peripheral devices arranged at the periphery of the driver, and the spacing distance between the second surface of the driver and the peripheral devices is greater than or equal to a preset distance; wherein the second surface is a surface other than the first surface among all surfaces of the driver. The second surface of driver and the interval distance of peripheral device are more than or equal to and predetermine the distance, are favorable to ensureing that the driver can not touch peripheral device, can not influence peripheral device normal work on the one hand, and on the other hand, the vibration sensation when being favorable to the driver vibration is concentrated as far as possible and is transmitted to the screen, and not dispersed peripheral device to further improve the drive effect of driver.
In addition, the driver is used for vibrating according to a preset vibration amplitude after being started so as to drive the screen to emit first ultrasonic waves; wherein the vibration amplitude is smaller than a preset amplitude. The vibration amplitude is smaller than the preset amplitude, so that the human body does not sense the vibration of the screen, and the user experience is favorably improved.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a schematic configuration diagram of a terminal according to a first embodiment of the present invention;
fig. 2 is a schematic configuration diagram of a terminal according to a second embodiment of the present invention;
fig. 3 is a flowchart of a proximity detection method according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the present invention relates to a terminal; the terminal can be a smart phone, a smart watch, a tablet computer and the like with a screen and a conversation function. In the present embodiment, proximity detection of a terminal in a call state is mainly described. The following is a detailed description of the terminal of the present embodiment, and the following is only for the convenience of understanding and is not necessary for implementing the present embodiment.
The schematic structural diagram of the terminal in this embodiment may be as shown in fig. 1, and specifically includes: the terminal comprises a terminal body 100, and a screen 101, a driver 102, a main control chip 103 and an ultrasonic receiver 104 which are arranged in the terminal body 100.
In one example, the screen 101 is a touch screen, such as a Liquid Crystal Display (LCD) screen. In a specific implementation, if the terminal is a mobile phone, the screen 101 is a mobile phone screen.
Specifically, the driver 102 is disposed below the screen 101, and drives the screen 101 to emit the first ultrasonic wave 105.
In one example, after the driver 102 is activated, it may vibrate according to a preset vibration frequency to drive the screen 101 to emit the first ultrasonic wave; wherein the vibration frequency is greater than 20 khz. It is understood that a vibration sense generated when the driver 102 vibrates at a preset vibration frequency may be transferred to the screen 101, thereby driving the screen 101 to vibrate to emit the first ultrasonic wave. In a specific implementation, the preset vibration frequency may be set to be 20khz to 25khz, so that the driver 101 may accurately drive the screen 101 to emit the first ultrasonic wave when vibrating, and excessive energy may not be consumed.
In one example, after the driver 102 is activated, it may vibrate according to a preset vibration amplitude to drive the screen 101 to emit the first ultrasonic wave; the vibration amplitude is smaller than the preset amplitude, so that the vibration sense of the first ultrasonic wave emitted by the human body to the screen 101 is not sensed, and the use experience of a user is promoted. In a particular implementation, the vibration amplitude may be less than 0.05 millimeters.
In one example, a first surface of driver 102 may be flush against an inner surface of screen 101. Referring to fig. 1, the screen 101 may have an inner surface 1011 and an outer surface 1012, where the outer surface 1012 is the surface of the screen 101 that is in contact with the external environment. The first surface of the driver 102 is the surface of the driver 102 that contacts the inner surface 1011 of the screen 101. In a specific implementation, the first surface of the driver 102 may be affixed to any location on the inner surface of the screen 101. It can be understood that when the first surface of the driver 102 is closely attached to the inner surface of the screen 101, the vibration generated by the driver 102 during vibration can be well transmitted to the screen 101, so that the vibration effect of the screen 101 is better, and the first ultrasonic wave can be better emitted through vibration.
In one example, the driver 102 may be closely attached to the middle area of the top of the inner surface 1011 of the screen 101, so that when the screen emits the first ultrasonic wave, the screen is more likely to encounter the human body, and thus the first ultrasonic wave is reflected by the human body to form the second ultrasonic wave, so that the main control chip 103 can conveniently judge whether the human body approaches the screen.
In one example, the first surface of the actuator 102 may be attached to the inner surface of the screen 101 by a predetermined adhesive, such that the first surface of the actuator 102 may be adhered to the inner surface of the screen 101. The adhesive may be selected according to actual needs, and this embodiment is not particularly limited thereto.
In another example, a first surface of driver 102 may be affixed to an inner surface of screen 101 by a structural member.
In a specific implementation, the relationship between the first surface of the driver 102 and the inner surface of the screen 101 is not illustrated as a close contact, and a small distance may be set between the first surface of the driver 102 and the inner surface of the screen 101 on the premise that the vibration of the driver 102 is not excessively influenced and transmitted to the screen 101. However, this embodiment is not particularly limited thereto.
Specifically, the main control chip 103 is connected to the driver 102, and is configured to control the driver 102 to drive the screen 101 to emit the first ultrasonic wave 105 when detecting that the terminal is in a call state.
In one example, the main control chip 103 may start the driver 102 when detecting that the terminal is in a call state, and the driver 102 drives the screen 101 to emit the first ultrasonic wave 105 after being started. For example, when detecting that the terminal is in a call state, the main control chip 103 may send a start signal to the driver 102 to wake up the driver 102 to start to enter the working state, and after the driver 102 starts to enter the working state, the driver starts to vibrate with a preset vibration parameter, so as to drive the screen 101 to emit the first ultrasonic wave 105. The preset vibration parameters may include a vibration frequency and a vibration amplitude. In a specific implementation, after detecting that the terminal has pushed the call state, the main control chip 103 may control the driver 102 to stop working, and stop driving the screen 101 to emit the first ultrasonic wave 105.
In an example, preset vibration parameters may be pre-stored in the driver 102, and after receiving a start signal sent by the main control chip 103, vibration may be started according to the pre-stored vibration parameters to drive the screen 101 to emit the first ultrasonic waves 105. The vibration parameters may include vibration frequency and vibration amplitude, among others.
In another example, the main control chip 103 may send a start signal carrying a vibration parameter to the driver 102 when detecting that the terminal is in a call state; the vibration parameters may include vibration frequency and vibration amplitude, among others. After receiving the start signal sent by the main control chip 103, the driver 102 acquires the vibration parameter carried in the start signal, and starts to vibrate according to the acquired vibration parameter to drive the screen 101 to emit the first ultrasonic wave 105. In a specific implementation, the main control chip 103 is in different environments, and the parameter values of the transmitted vibration parameters may be the same or different, for example, the main control chip 103 may adjust the parameter values of the vibration parameters according to the characteristics of the environment where the terminal is located, but this embodiment is not limited to this specifically.
Specifically, the ultrasonic receiver 104 is connected to the main control chip 103 and configured to receive a second ultrasonic wave formed by reflection of the first ultrasonic wave after encountering the human body.
In an example, the main control chip 103 may start the ultrasonic receiver 104 when detecting that the terminal is in a call state, so that the ultrasonic receiver 104 starts to operate, and when the first ultrasonic wave encounters a human body, the first ultrasonic wave is reflected by the human body to form a second ultrasonic wave, and the second ultrasonic wave may be received by the ultrasonic receiver 104.
In another example, the ultrasonic receiver 104 may be a microphone, and it is understood that a microphone is usually provided in a terminal such as a mobile phone or a tablet computer, and therefore, the reflected second ultrasonic wave may be received by the microphone provided in the terminal, so that an additional device may not be required for receiving the second ultrasonic wave. In a specific implementation, a terminal such as a mobile phone or a tablet computer basically has two microphones respectively located at the top and the bottom of the terminal, and the ultrasonic receiver 104 in fig. 1 can be understood as a microphone disposed at the top of the terminal. According to actual needs, one of the two microphones located at the top and the bottom of the terminal may be optionally used for receiving the reflected second ultrasonic wave, and the two microphones located at the top and the bottom of the terminal may be both used for receiving the reflected second ultrasonic wave, but this embodiment is not limited in this respect.
In a specific implementation, after receiving the second ultrasonic wave, the ultrasonic receiver 104 may obtain characteristic data of the second ultrasonic wave, and perform analog-to-digital conversion on the characteristic data of the second ultrasonic wave to obtain converted second ultrasonic wave data. The second ultrasonic data may include the sound wave intensity of the second ultrasonic wave, the time point of receiving the second ultrasonic wave, and the like.
Specifically, the main control chip 103 is further configured to determine whether a human body approaches the screen 101 according to the first ultrasonic wave and the second ultrasonic wave. For example, the main control chip 103 may read the second ultrasonic data after analog-to-digital conversion from the ultrasonic receiver 104, or the ultrasonic receiver 104 actively sends the second ultrasonic data after analog-to-digital conversion to the main control chip 103.
In one example, the main control chip 103 may record a first point in time when the screen 101 emits the first ultrasonic wave and record a second point in time when the ultrasonic receiver receives the second ultrasonic wave. A time difference between the first point in time and the second point in time is calculated. And judging whether the human body approaches the screen or not according to the calculated time difference. In a specific implementation, the main control chip 103 may estimate a distance between the human body and the screen according to the calculated time difference and the propagation speed of the ultrasonic wave, so as to determine whether the human body approaches the screen according to the distance between the human body and the screen. For example, an approach threshold and a distance threshold may be preset, and if the distance between the human body and the screen is greater than the preset approach threshold, it may be determined that the human body approaches the screen; if the distance between the human body and the screen is less than a preset distance threshold, it can be determined that the human body is far from the screen. The approach threshold and the distance threshold may be distance thresholds set according to actual needs, and the distance threshold is greater than the approach threshold.
In another example, the main control chip 103 may acquire a first sound wave intensity of the first ultrasonic wave and acquire a second sound wave intensity of the second ultrasonic wave. Then, an intensity difference between the first sound wave intensity and the second sound wave intensity is calculated, and thus whether the human body approaches the screen is judged according to the calculated intensity difference. For example, an intensity difference threshold value may be preset according to actual needs, the calculated intensity difference may be compared with the intensity difference threshold value, and if the calculated intensity difference is greater than the intensity difference threshold value, it may be determined that the human body is far from the screen; if the calculated intensity difference is less than or equal to the intensity difference threshold, it may be determined that the human body approaches the screen.
In a specific implementation, whether the human body approaches the screen or not can be directly judged according to the intensity of the second sound wave. For example, if the second sound wave intensity is greater than a preset first intensity value, it is determined that the human body approaches the screen; and if the second sound wave intensity is smaller than the preset second intensity value, judging that the human body is far away from the screen. The first intensity value and the second intensity value are sound wave intensity values set according to actual needs, and the first intensity value is larger than the second intensity value.
In one example, if it is determined that a human body approaches the screen, the main control chip may control the screen to be turned off, for example, may control the backlight of the screen to be turned off. If the human body is far away from the screen, the main control chip can control the screen to be bright, for example, the backlight of the screen can be controlled to be turned on. Therefore, the screen can be automatically controlled to be on or off based on the distance between the human body and the screen in the call process. When the human body is judged to be close to the screen, the screen is controlled to be turned off, so that the false triggering of the screen is prevented, and the power consumption is reduced; when the human body is judged to be far away from the screen, the screen is controlled to be bright, the operation of a user is facilitated, and the use experience of the user is improved.
The above examples in the present embodiment are only for convenience of understanding, and do not limit the technical aspects of the present invention.
Compared with the prior art, in order to realize the approach detection, the screen is additionally provided with the driver for driving the screen to emit the ultrasonic waves on hardware, the screen is driven to emit the first ultrasonic waves by controlling the driver, and the ultrasonic receiver receives the second ultrasonic waves formed by reflecting the first ultrasonic waves after encountering a human body. Therefore, whether the human body approaches the screen can be judged according to the first ultrasonic wave emitted by the screen and the second ultrasonic wave received by the ultrasonic receiver. Because the added driver is arranged below the screen, the area of the screen can not be occupied, and the screen occupation ratio is favorably improved.
A second embodiment of the present invention relates to a terminal. The following is a detailed description of the terminal of the present embodiment, and the following is only for the convenience of understanding and is not necessary for implementing the present embodiment.
As shown in fig. 2, the terminal in this embodiment may specifically include: the terminal comprises a terminal body 100, a screen 101, a driver 102, a main control chip 103, an ultrasonic receiver 104 and peripheral devices arranged at the periphery of the driver 102, wherein the screen 101, the driver 102, the main control chip 103 and the ultrasonic receiver 104 are arranged in the terminal body 100. In this embodiment, the peripheral devices are exemplified by the peripheral device 201 and the peripheral device 202 in fig. 2, and in a specific implementation, the number of the peripheral devices is not limited thereto. The peripheral device is a device for realizing a relevant function provided according to actual needs, however, the function realized by the peripheral device is not particularly limited in this embodiment.
Specifically, the distance between the second surface of the driver 102 and the peripheral device 201 and the peripheral device 202 is greater than or equal to a preset distance; wherein the second surface is the surface except the first surface of all the surfaces of the driver 102, and the preset distance may be set according to actual needs, for example, may be set to 0.1 mm. The first surface of the driver 102 may be a surface that abuts the inner surface 1011 of the screen 101, and in fig. 2 the first surface may be understood as the right surface of the driver 102. The second surface, which may be understood as the upper surface, the lower surface, and the left surface of the driver 102, the peripheral device 201 is at least spaced apart from the upper surface of the driver 102 by a predetermined distance, and the peripheral device 202 is at least spaced apart from the lower surface of the driver 102 by a predetermined distance, so as to ensure that neither the peripheral device 201 nor the peripheral device 202 contacts the driver 102. It is understood that in a specific implementation, if necessary, a peripheral device may be disposed at least a predetermined distance away from the left surface of the driver 102, however, this embodiment is not limited thereto.
That is, in a particular implementation, for peripheral devices disposed at the periphery of the driver 102, the peripheral devices are spaced at least a predetermined distance from the second surface of the driver 102 during the periphery.
Compared with the prior art, in the embodiment, the distance between the second surface of the driver and the peripheral device is greater than or equal to the preset distance, so that the driver is prevented from touching the peripheral device, normal work of the peripheral device is not influenced, vibration sense of the driver during vibration is transmitted to the screen as concentrated as possible, the vibration sense of the driver is prevented from being dispersed to the peripheral device, and the driving effect of the driver is further improved.
It should be noted that, in order to highlight the innovative part of the present invention, devices which are not so closely related to solve the technical problems proposed by the present invention are not introduced in the first embodiment and the second embodiment, but this does not indicate that no other devices exist at the end of the present embodiment.
A third embodiment of the present invention relates to a proximity detection method applied to the terminal in the first or second embodiment. The following describes the approach detection method of the present embodiment in more detail, and the following is only for the sake of easy understanding of the implementation details provided, and is not necessary for implementing the present embodiment.
Fig. 3 may be referred to as a flowchart of the approach detection method in this embodiment, and the method includes:
step 301: when the terminal is detected to be in a call state, the driver is controlled to drive the screen to send out first ultrasonic waves.
That is, after the user initiates a call, the terminal determines that the terminal is currently in a call state, and controls the driver to drive the screen to emit the first ultrasonic wave. For example, the driver is controlled to start vibrating at a preset vibration frequency and vibration amplitude, thereby driving the screen to start vibrating to emit the first ultrasonic wave.
Step 302: and receiving second ultrasonic waves formed by reflecting the first ultrasonic waves after encountering the human body through the ultrasonic receiver.
Specifically, if the first ultrasonic wave emitted by the screen meets a human body, the first ultrasonic wave is reflected by the human body to form a second ultrasonic wave, and the second ultrasonic wave formed by reflection can be received by the ultrasonic receiver in the terminal. In one example, the ultrasonic receiver may be a microphone native to the terminal.
Step 303: judging whether the human body approaches the screen or not according to the first ultrasonic wave and the second ultrasonic wave; if so, step 304 is performed, otherwise step 305 is performed.
In one example, the terminal may record a first point in time at which the screen emits the first ultrasonic wave and record a second point in time at which the ultrasonic receiver receives the second ultrasonic wave. Then, a time difference between the first time point and the second time point is calculated. And then, judging whether the human body approaches to the screen or not according to the calculated time difference. In a specific implementation, the terminal may estimate a distance between the human body and the screen according to the calculated time difference and the propagation speed of the ultrasonic wave, so as to determine whether the human body approaches the screen according to the distance between the human body and the screen. For example, an approach threshold and a distance threshold may be preset, and if the distance between the human body and the screen is greater than the preset approach threshold, it may be determined that the human body approaches the screen; if the distance between the human body and the screen is less than a preset distance threshold, it can be determined that the human body is far from the screen. The approach threshold and the distance threshold may be distance thresholds set according to actual needs, and the distance threshold is greater than the approach threshold.
In another example, the terminal may acquire a first sound wave intensity of the first ultrasonic wave and acquire a second sound wave intensity of the second ultrasonic wave. Then, an intensity difference between the first sound wave intensity and the second sound wave intensity is calculated, and thus whether the human body approaches the screen is judged according to the calculated intensity difference. For example, an intensity difference threshold value may be preset according to actual needs, the calculated intensity difference may be compared with the intensity difference threshold value, and if the calculated intensity difference is greater than the intensity difference threshold value, it may be determined that the human body is far from the screen; if the calculated intensity difference is less than or equal to the intensity difference threshold, it may be determined that the human body approaches the screen.
Step 304: and controlling the screen to be turned off.
Step 305: and controlling the screen to be bright.
That is, if it is determined that a human body approaches the screen, the terminal may control the screen to be turned off, for example, may control the turn-off of the backlight of the screen. If the human body is far away from the screen, the terminal can control the screen to be bright, for example, the backlight of the screen can be controlled to be turned on. Therefore, the screen can be automatically controlled to be on or off based on the distance between the human body and the screen in the call process. When the human body is judged to be close to the screen, the screen is controlled to be turned off, so that the false triggering of the screen is prevented, and the power consumption is reduced; when the human body is judged to be far away from the screen, the screen is controlled to be bright, the operation of a user is facilitated, and the use experience of the user is improved.
In the present embodiment, after the approach detection is completed, the on/off of the screen is controlled based on the detection result, that is, the determination result of whether the human body approaches the screen, for example, but the present invention is not limited to this. According to actual needs, other operations can be performed based on the judgment result of whether the human body approaches the screen.
The above examples in the present embodiment are only for convenience of understanding, and do not limit the technical aspects of the present invention.
Compared with the prior art, when the terminal is detected to be in a call state, the driver is controlled to drive the screen to send out the first ultrasonic wave, and the ultrasonic receiver is used for receiving the second ultrasonic wave formed by reflecting the first ultrasonic wave after the first ultrasonic wave meets a human body. Therefore, whether the human body approaches the screen can be judged according to the first ultrasonic wave emitted by the screen and the second ultrasonic wave received by the ultrasonic receiver. Because the driver in the terminal is arranged below the screen, the area of the screen cannot be occupied, and the screen occupation ratio is favorably improved.
It should be understood that this embodiment is a method example corresponding to the first or second embodiment, and may be implemented in cooperation with the first or second embodiment. The related technical details and technical effects mentioned in the first or second embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first or second embodiment.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fourth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A terminal, comprising: the system comprises a screen, a driver, a main control chip and an ultrasonic receiver;
the driver is arranged below the screen and used for driving the screen to emit first ultrasonic waves;
the main control chip is connected with the driver and used for controlling the driver to drive the screen to send out first ultrasonic waves when the terminal is detected to be in a call state;
the ultrasonic receiver is used for receiving second ultrasonic waves formed by reflection of the first ultrasonic waves after encountering human bodies;
the main control chip is connected with the ultrasonic receiver and is further used for judging whether the human body approaches the screen or not according to the first ultrasonic wave and the second ultrasonic wave.
2. A terminal according to claim 1, characterised in that the ultrasonic receiver is a microphone.
3. A terminal as claimed in claim 1, wherein the first surface of the actuator abuts against an inner surface of the screen.
4. A terminal as claimed in claim 3, further comprising a peripheral device disposed at a periphery of the driver, the second surface of the driver being spaced from the peripheral device by a distance greater than or equal to a predetermined distance; wherein the second surface is a surface other than the first surface among all surfaces of the driver.
5. A terminal as claimed in claim 3, characterised in that the actuator abuts against the top of the inner surface of the screen in the middle region thereof.
6. The terminal according to any one of claims 1 to 5, wherein the driver is activated to vibrate according to a preset vibration amplitude to drive the screen to emit the first ultrasonic wave; wherein the vibration amplitude is smaller than a preset amplitude.
7. A proximity detection method, applied to a terminal according to any one of claims 1 to 6, the method comprising:
when the terminal is detected to be in a call state, controlling a driver to drive a screen to send out first ultrasonic waves;
receiving second ultrasonic waves formed by reflecting the first ultrasonic waves after encountering the human body through an ultrasonic receiver;
and judging whether the human body approaches the screen or not according to the first ultrasonic wave and the second ultrasonic wave.
8. The proximity detection method according to claim 7, wherein the determining whether the human body is in proximity to the screen based on the first ultrasonic wave and the second ultrasonic wave includes:
recording a first time point when the screen sends the first ultrasonic wave, and recording a second time point when the ultrasonic receiver receives the second ultrasonic wave;
calculating a time difference between the first time point and the second time point;
and judging whether the human body approaches the screen or not according to the time difference.
9. The proximity detection method according to claim 7, wherein the determining whether the human body is in proximity to the screen based on the first ultrasonic wave and the second ultrasonic wave includes:
acquiring a first sound wave intensity of the first ultrasonic wave, and acquiring a second sound wave intensity of the second ultrasonic wave;
calculating an intensity difference between the first sound wave intensity and the second sound wave intensity;
and judging whether the human body approaches the screen or not according to the intensity difference.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the proximity detection method of any one of claims 7 to 9.
CN202010400400.7A 2020-05-13 2020-05-13 Terminal, proximity detection method, and computer-readable storage medium Withdrawn CN113746984A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010400400.7A CN113746984A (en) 2020-05-13 2020-05-13 Terminal, proximity detection method, and computer-readable storage medium
PCT/CN2021/088519 WO2021227795A1 (en) 2020-05-13 2021-04-20 Terminal, proximity detection method, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010400400.7A CN113746984A (en) 2020-05-13 2020-05-13 Terminal, proximity detection method, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN113746984A true CN113746984A (en) 2021-12-03

Family

ID=78526351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010400400.7A Withdrawn CN113746984A (en) 2020-05-13 2020-05-13 Terminal, proximity detection method, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN113746984A (en)
WO (1) WO2021227795A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102301684A (en) * 2011-06-24 2011-12-28 华为终端有限公司 Method and device through which a terminal determines approach of an object
CN105282320A (en) * 2015-06-16 2016-01-27 维沃移动通信有限公司 Control method of terminal and terminal
CN106791218A (en) * 2017-03-31 2017-05-31 努比亚技术有限公司 A kind of screen control terminal and method
CN106933366A (en) * 2017-03-23 2017-07-07 北京小米移动软件有限公司 Bright screen method and device
CN108055412A (en) * 2017-12-29 2018-05-18 努比亚技术有限公司 Control method, mobile terminal and the computer readable storage medium of mobile terminal
CN110830644A (en) * 2019-09-16 2020-02-21 深圳市万普拉斯科技有限公司 Display screen control method and device, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201424334A (en) * 2012-12-03 2014-06-16 Fih Hong Kong Ltd Power adjustment system and method
CN104935749A (en) * 2015-06-23 2015-09-23 惠州Tcl移动通信有限公司 Mobile terminal and method for turning off screen during calling through microphone
CN105391853A (en) * 2015-10-15 2016-03-09 广东欧珀移动通信有限公司 Voice call control method and voice call control device
CN106851013A (en) * 2017-03-07 2017-06-13 广东欧珀移动通信有限公司 SOT state of termination determination methods, device and terminal
CN107682558A (en) * 2017-10-26 2018-02-09 维沃移动通信有限公司 A kind of screen control method and mobile terminal
CN108012005A (en) * 2017-11-29 2018-05-08 努比亚技术有限公司 A kind of construction package for being used for realization call breath screen and its call breath screen method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102301684A (en) * 2011-06-24 2011-12-28 华为终端有限公司 Method and device through which a terminal determines approach of an object
CN105282320A (en) * 2015-06-16 2016-01-27 维沃移动通信有限公司 Control method of terminal and terminal
CN106933366A (en) * 2017-03-23 2017-07-07 北京小米移动软件有限公司 Bright screen method and device
CN106791218A (en) * 2017-03-31 2017-05-31 努比亚技术有限公司 A kind of screen control terminal and method
CN108055412A (en) * 2017-12-29 2018-05-18 努比亚技术有限公司 Control method, mobile terminal and the computer readable storage medium of mobile terminal
CN110830644A (en) * 2019-09-16 2020-02-21 深圳市万普拉斯科技有限公司 Display screen control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2021227795A1 (en) 2021-11-18

Similar Documents

Publication Publication Date Title
EP3319011B1 (en) Fingerprint acquisition device and method, terminal apparatus and method for controlling screen to turn on and off
KR101545876B1 (en) Method for power saving based on motion sensor and mobile terminal using the same
KR102442895B1 (en) Noise-sensitive alert presentation
US9019131B2 (en) Terminal and method for executing function using human body communication
KR101572071B1 (en) / apparatus and method for controlling on/off of liquid crystal display in a portable terminal
US20170315777A1 (en) Method, terminal, and storage medium for starting voice input function of terminal
US20210044952A1 (en) Bluetooth-based playback method and electronic device
EP3710921A1 (en) Vibrating the Surface of an Electronic Device to Raise the Perceived Height at a Depression in the Surface
WO2019033984A1 (en) Volume adjusting method, device, terminal, and storage medium
KR20140005764A (en) Method for detecting an input and an electronic device thereof
EP3240268B1 (en) Terminal control method and terminal
KR20130007737A (en) Method and apparatus for resource allocation
CN109089192B (en) Method for outputting voice and terminal equipment
CN108965583B (en) Proximity detection method and related equipment
CN110912574B (en) SIM card detection method, device, storage medium and terminal
US20110087342A1 (en) Ultrasonic sensor and controlling method using the same
WO2017206860A1 (en) Processing method of mobile terminal and mobile terminal
CN108900689B (en) Sound production control method and device, electronic equipment and storage medium
CN108769364B (en) Call control method, device, mobile terminal and computer readable medium
CN113746984A (en) Terminal, proximity detection method, and computer-readable storage medium
CN111104012B (en) Distance measuring method and device, storage medium and terminal equipment
US9681005B2 (en) Mobile communication device and prompting method thereof
CN105812972B (en) System and method for controlling handheld device by utilizing earphone
CN106255146A (en) The electricity-saving control method of a kind of terminal, device and terminal
CN106878294B (en) Method and device for recording voice information by interphone

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20211203

WW01 Invention patent application withdrawn after publication