WO2019100331A1 - Method for answering incoming call, terminal, storage medium, and computer program - Google Patents

Method for answering incoming call, terminal, storage medium, and computer program Download PDF

Info

Publication number
WO2019100331A1
WO2019100331A1 PCT/CN2017/112871 CN2017112871W WO2019100331A1 WO 2019100331 A1 WO2019100331 A1 WO 2019100331A1 CN 2017112871 W CN2017112871 W CN 2017112871W WO 2019100331 A1 WO2019100331 A1 WO 2019100331A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
incoming call
yes
detects whether
answering
Prior art date
Application number
PCT/CN2017/112871
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 深圳传音通讯有限公司
Priority to PCT/CN2017/112871 priority Critical patent/WO2019100331A1/en
Priority to CN201780096991.XA priority patent/CN111357266A/en
Publication of WO2019100331A1 publication Critical patent/WO2019100331A1/en

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/725Cordless telephones

Definitions

  • the present invention relates to the field of intelligent terminal technologies, and in particular, to a method for answering incoming calls, a terminal, a storage medium, and a computer program.
  • the user A can contact the friend B who is far away from home in the smart terminal device to share the current situation of each other.
  • FIG. 1 it is a schematic diagram of a user answering an incoming call according to an embodiment of the present invention. Take the user as an example of answering a call through a sliding screen operation. If the touch of the terminal display is insensitive or the user's finger is in a wet or greasy state, the terminal cannot recognize the user's sliding operation for the display of the terminal, and then cannot respond to the call of the other terminal, thereby resulting in a poor user experience. problem.
  • the embodiment of the invention provides a method for answering an incoming call, a terminal, a storage medium and a computer program, and does not need to perform a specific sliding operation or a click operation on the receiving control displayed on the display screen of the terminal, but detects the motion track or terminal of the terminal.
  • the ambient light sense value or the distance between the terminal and the human body part of the user realizes the answering call, and the operation is simple and convenient, and the user experience can be improved.
  • an embodiment of the present invention provides a method for answering an incoming call, the method comprising:
  • the terminal receives an incoming call
  • the terminal answers the call if at least one of the following conditions is met:
  • the movement trajectory of the terminal is from bottom to top, the ambient light sensation value around the terminal is changed from large to small, and the distance between the terminal distance and the preset human body part is greatly reduced.
  • the terminal determines whether to answer the incoming call by detecting the motion track of the user, the light sensitivity value of the surrounding environment, or the distance between the human body parts of the user, without
  • the receiving control displayed on the display screen of the terminal performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the human body part that is insensitive to the display screen of the terminal or the user's touch operation is in a wet or greasy state can be avoided.
  • the terminal can't answer the call, which can improve the user experience.
  • the terminal further includes: detecting, by the terminal, whether the motion track of the terminal is from bottom to top. If so, the terminal detects whether the ambient light sensitivity value around the terminal is greatly reduced. If yes, the terminal performs the step of answering the incoming call.
  • the terminal further includes: detecting whether the ambient light sensation value around the terminal is greatly reduced. If yes, the terminal detects whether the motion track of the terminal is from bottom to top. If yes, the terminal performs the step of answering the incoming call. Or, after the terminal receives the incoming call, the terminal further includes: the terminal detecting whether the ambient light sensation value around the terminal is greatly reduced or not, and the terminal detecting whether the motion trajectory of the terminal is from bottom to top. If yes, the terminal performs the step of answering the incoming call.
  • the terminal determines whether to answer the incoming call by detecting the motion track of the user and the light sense value of the surrounding environment, without answering the call displayed on the display screen of the terminal.
  • the control performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the terminal can be prevented from receiving an incoming call when the touch screen of the terminal is insensitive or the user's touch operation is in a wet or greasy state, and the terminal can be improved. User experience.
  • the terminal further includes: detecting, by the terminal, whether the motion track of the terminal is from bottom to top. If so, whether the distance between the terminal detecting terminal and the preset body part is changed from large to small. If yes, the terminal performs the step of answering the incoming call.
  • the method further includes: detecting, by the terminal, whether the distance between the terminal and the preset human body part is changed from large to small. If so, the terminal detects whether the motion track of the terminal is from bottom to top. If yes, the terminal performs the step of answering the incoming call.
  • the terminal further includes: detecting whether the motion track of the terminal is from bottom to top and the distance between the terminal detecting terminal and the preset body part is changed from large to small. If yes, the terminal performs the step of answering the incoming call.
  • the terminal determines whether to answer the incoming call by detecting the motion track of the user and the distance from the human body part of the user, without
  • the displayed listening control performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the terminal can not avoid the call when the terminal of the terminal is insensitive or the user's touch operation is in a wet or greasy state. Can improve the user experience.
  • the terminal further includes: detecting, by the terminal, whether the ambient light sensitivity value around the terminal is greatly reduced. If so, whether the distance between the terminal detecting terminal and the preset body part is changed from large to small. If yes, the terminal performs the step of answering the incoming call; or, after the terminal receives the incoming call, before the terminal answers the incoming call, the terminal further includes: detecting whether the distance between the terminal and the preset human body part is changed from large to small. If so, the terminal detects whether the ambient light sensitivity value around the terminal is greatly reduced. If yes, the terminal performs the step of answering the incoming call.
  • the terminal further includes: detecting whether the ambient light sensation value around the terminal is greatly reduced or not, and detecting whether the distance between the terminal and the preset human body part is changed from large to small. If yes, the terminal performs the step of answering the incoming call.
  • the terminal determines whether to answer the incoming call by detecting the light sensitivity value of the surrounding environment and the distance between the human body parts of the user, without displaying the terminal.
  • the receiving control displayed on the screen performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the terminal can not be answered when the touch screen of the terminal is insensitive or the user's touch operation is in a wet or greasy state. In the case of incoming calls, the user experience can be improved.
  • the terminal further includes: the terminal detects whether the motion track of the terminal is from bottom to top; if yes, the terminal detects whether the ambient light sensitivity value around the terminal is changed from large to small. If so, whether the distance between the terminal detecting terminal and the preset body part is changed from large to small. If yes, the terminal performs the step of answering the incoming call.
  • the terminal further includes: detecting, by the terminal, whether the motion track of the terminal is from bottom to top. If so, whether the distance between the terminal detecting terminal and the preset body part is changed from large to small. If so, the terminal detects whether the ambient light sensitivity value around the terminal is greatly reduced. If yes, the terminal performs the step of answering the incoming call.
  • the terminal further includes: detecting whether the ambient light sensation value around the terminal is greatly reduced. If so, the terminal detects whether the motion track of the terminal is from bottom to top. If so, whether the distance between the terminal detecting terminal and the preset body part is changed from large to small. If yes, the terminal performs the step of answering the incoming call.
  • the terminal further includes: detecting whether the ambient light sensation value around the terminal is greatly reduced. If so, whether the distance between the terminal detecting terminal and the preset body part is changed from large to small. If so, the terminal detects whether the motion track of the terminal is from bottom to top. If yes, the terminal performs the step of answering the incoming call.
  • the method further includes: detecting, by the terminal, whether the distance between the terminal and the preset human body part is changed from large to small. If so, the terminal detects whether the motion track of the terminal is from bottom to top. If so, the terminal detects whether the ambient light sensitivity value around the terminal is greatly reduced. If yes, the terminal performs the step of answering the incoming call.
  • the method further includes: detecting, by the terminal, whether the distance between the terminal and the preset human body part is changed from large to small. If so, the terminal detects whether the ambient light sensitivity value around the terminal is greatly reduced. If so, the terminal detects whether the motion track of the terminal is from bottom to top. If yes, the terminal performs the step of answering the incoming call.
  • the terminal determines whether to answer the incoming call by simultaneously detecting the motion track of the user, the light sensitivity value of the surrounding environment, and the distance between the human body parts of the user. It is not necessary to perform a specific sliding operation or a click operation on the receiving control displayed on the display screen of the terminal, and the operation is simple and convenient, and the human body part that is insensitive to the display screen of the terminal or the touch operation of the user is in a wet or greasy state.
  • the terminal can't answer the call, which can improve the user experience.
  • the terminal further includes: determining, by the terminal, whether the distance between the preset human body part and the display screen of the terminal is within a preset distance. If so, the terminal goes out.
  • the terminal After the terminal answers the incoming call, the terminal displays the call interface, and the terminal determines whether the terminal is screen-outed by detecting the distance between the human body part and the display screen of the terminal, thereby avoiding the human body part of the user.
  • the call control on the call interface of the accidental touch terminal causes the end of the call, which can improve the user experience.
  • the terminal uses an acceleration sensor to detect a motion track of the terminal.
  • the terminal uses a light distance sensor to detect an ambient light sensation value around the terminal.
  • the terminal uses the distance sensor to detect the distance between the terminal and the preset body part.
  • the distance sensor comprises any one of an ultrasonic ranging sensor, an infrared ranging sensor, and a light distance sensor.
  • an embodiment of the present invention provides a terminal, where the terminal includes a module or unit for performing the method for answering an incoming call described in the first aspect.
  • an embodiment of the present invention provides another terminal, including a processor and a memory, where the processor and the memory are connected to each other, wherein the memory is used to store an application code that supports the terminal to perform the song switching method described in the first aspect.
  • the processor is configured to perform the method of answering an incoming call as described in the first aspect.
  • an embodiment of the present invention provides a computer readable storage medium.
  • the computer storage medium stores a computer program.
  • the computer program includes program instructions. When executed by the processor, the program instructions cause the processor to perform the first aspect. Answer the call method.
  • an embodiment of the present invention provides a computer program, the program comprising program instructions, when executed by a processor, causing a processor to perform the method of answering an incoming call described in the first aspect.
  • the terminal determines whether to answer the call by detecting the motion track of the user, the light sensitivity value of the surrounding environment, or the distance between the human body parts of the user. Incoming calls without having to perform specific sliding or clicking operations on the listening controls displayed on the display of the terminal. It is simple and convenient, and can avoid the situation that the terminal can't answer the call when the touch screen of the terminal is not sensitive or the user's touch operation is in a wet or greasy state.
  • the terminal detects the human body part and the terminal. The distance between the display screens is used to judge whether the terminal is screen-cutted, and the end of the call may be avoided due to the call control on the call interface of the user's body part accidentally touching the terminal, thereby improving the user experience.
  • FIG. 1 is a schematic diagram of a user answering an incoming call according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a terminal according to an embodiment of the present invention.
  • FIG. 2A is a schematic diagram of a terminal display receiving interface according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for answering an incoming call according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a motion track of a terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of another method for answering an incoming call according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal in the prior art, in the case that the terminal receives an incoming call, if the touch of the terminal display screen is insensitive or the user's finger is in a wet or greasy state, the terminal cannot recognize the sliding operation of the user for the display screen of the terminal. Then the call could not be answered.
  • the terminal in order to avoid the above problem, the user is more convenient to answer the incoming call, and the terminal detects the condition by the terminal by detecting the motion track of the terminal or the light sense value of the environment around the terminal or the distance between the terminal and the human body part of the user. Answer the call.
  • the terminal receives an incoming call of another terminal, and the terminal uses an acceleration sensor to detect its own motion track. If the terminal detects that its own motion track is from bottom to top, the terminal answers the call of the other terminal. .
  • the terminal 20 can include a memory 201, a baseband chip 202, a radio frequency module 203, a peripheral system 204, and a sensor 205.
  • the baseband chip 202 includes at least one processor 2021 (for example, a CPU), a clock module 2022, and a power management module 2023.
  • the peripheral system 204 includes a camera 2041, an audio module 2042, a touch display screen 2043, and the like.
  • the sensor 205 may include a sense of light distance.
  • the sensor 2051, the acceleration sensor 2052, the fingerprint sensor 2053, etc.; the modules included in the peripheral system 204 and the sensor 205 can be increased or decreased as needed.
  • bus 206 eg, an address bus, a data bus, a control bus, etc.
  • the bus 206 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the radio frequency module 203 can include an antenna and a transceiver (including a modem) for converting electromagnetic waves received by the antenna into current and finally converting to digital signals, and correspondingly, the transceiver is further configured to use the number to be output by the terminal The signal is converted into a current and then converted into an electromagnetic wave, which is finally transmitted into the free space through the antenna.
  • the radio frequency module 203 can also include at least one amplifier for amplifying the signal.
  • the radio frequency module 203 can perform wireless transmission, such as Bluetooth (Bluetooth) transmission, Wireless-Fidelity (WI-FI) transmission, and 3rd-generation mobile communication (3G) transmission.
  • Touch display 2043 can be used to display information entered by a user or to present information to a user, such as various menus of terminal 20 can be displayed.
  • the touch screen display 2043 can include a touch panel and a display panel.
  • the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel may cover the display panel.
  • the touch panel detects a touch operation on or near the touch panel, the touch panel transmits to the processor 2021 to determine the type of the touch event, and then the processor 2021 displays the type according to the touch event. A corresponding visual output is provided on the panel.
  • the touch panel and the display panel are implemented as two separate components to implement the input and output functions of the terminal 20, but in some embodiments, the input and output functions of the terminal 20 can be implemented by integrating the touch panel with the display panel.
  • the touch display screen 2043 displays an operation interface for receiving the incoming call before the terminal does not answer the incoming call.
  • FIG. 2A is a schematic diagram of a terminal display listening interface according to an embodiment of the present invention.
  • the camera 2041 is configured to expose the surrounding environment to obtain a frame image.
  • the camera 2041 transmits the parameters of the exposed frame image to the processor 2021 to cause the processor 2021 to denoise and enhance the frame image. And processing, generating a picture that can be displayed to the user; in another optional solution, the camera comes with an image processor chip, and the image processing chip can perform preliminary processing on the frame image, and preliminary on the frame image
  • the processed data is passed to the processor 2021 after processing to cause the processor 2021 to ultimately produce an image that can be presented to the user.
  • the number of the cameras 2041 may be one or more.
  • the camera 2041 can be divided into a front camera and a rear camera.
  • the camera 2041 can be used to identify whether the user of the terminal is a preset user. Specifically, the terminal 20 can detect the biometric information of the user of the terminal, for example, a human face, through the camera 2041.
  • the audio input module 2042 can provide an audio interface between the user and the terminal 20.
  • the audio input module 2042 can transmit the converted electrical data of the received audio data to the speaker, and convert the audio signal into a sound signal output; on the other hand, the audio
  • the input module 2042 can acquire a sound signal in the surrounding environment and convert the sound signal into a digital signal, and then pass the digital signal to the processor 2021 for processing.
  • the sensor 205 is used to sense related signals.
  • the light distance sensor 2051 can sense the light intensity of the environment around the terminal 20.
  • the acceleration sensor 2052 can sense the real-time acceleration of the terminal 20.
  • the distance sensor 2053 can measure the terminal 20 and the obstacle. The distance, the acceleration sensor 2052 can sense the magnitude of the acceleration of the terminal 20 in real time.
  • the terminal uses the light distance sensor 2051 to detect the light intensity of the environment around the terminal
  • the terminal uses the acceleration sensor 2052 to detect the motion track of the terminal
  • the terminal uses the distance sensor 2053 to detect the distance between the terminal and the preset body part.
  • the distance sensor, in particular, the distance sensor 2053 may be an ultrasonic distance measuring sensor, an infrared distance measuring sensor, or a light distance sensing sensor, which is not specifically limited in the embodiment of the present invention.
  • the above-mentioned optical distance sensor 2051, acceleration sensor 2052, and distance The off sensor 2053 may be embedded in the display screen of the terminal, and the specific embedded position may be the right side or the left side of the position where the terminal speaker is located, or the right side of the position where the front camera of the terminal is located or On the left side, it can also be integrated in the front camera.
  • the sensor 205 may further include other types of sensors, such as a fingerprint sensor, which may sense fingerprint information input by the user on the terminal 20; after sensing the relevant signal, the sensor 205 quantizes the signal into a digital signal and transmits the signal.
  • the processor 2021 is further processed.
  • the memory 201 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 201 can also optionally include at least one storage device located away from the processor 2021.
  • the memory 201 can specifically include a storage instruction area and a storage data area, wherein the storage instruction area can store an operating system, a user interface program, and a communication interface. a program such as a program, the storage data area may store data required to perform related operations, or perform data generated by related operations.
  • the processor 2021 is a control center of the terminal 20, and connects various parts of the entire terminal by various interfaces and lines, and executes various functions of the terminal 20 by running a program stored in the memory 201 and calling data stored in the memory 201.
  • the processor 2021 can include one or more application processors that primarily process an operating system, a user interface, an application, and the like.
  • terminal 20 is only an example provided by an embodiment of the present invention, and that the terminal 20 may have more or less components than those shown, two or more components may be combined, or may have components. Different configurations are implemented.
  • the method includes, but is not limited to, the following steps S201-S203:
  • the terminal receives an incoming call.
  • the terminal may include a mobile phone, a tablet computer, a personal digital assistant (PDA), a mobile internet device (MID), a smart wearable device (such as a smart watch, a smart bracelet), and the like.
  • PDA personal digital assistant
  • MID mobile internet device
  • smart wearable device such as a smart watch, a smart bracelet
  • the terminal used in the present invention is not specifically limited.
  • the terminal After the terminal receives the incoming call, the terminal displays the receiving interface before the terminal answers the incoming call. Specifically, as shown in FIG. 2A.
  • the step of the terminal performing the answering call only needs to satisfy any one of the above three conditions.
  • the first case may be: if the trajectory of the terminal is from bottom to top, the terminal answers the incoming call;
  • the second case may be: if the ambient light sensation value around the terminal is changed from large to small, the terminal answers the incoming call;
  • the situation may be: if the distance between the terminal and the preset body part is changed from large to small, the terminal answers the incoming call.
  • the terminal uses an acceleration sensor to detect the motion trajectory of the terminal.
  • a real scene that can be applied in the embodiment of the present invention includes, but is not limited to, a terminal is placed on a desk, a terminal (eg, a mobile phone) receives an incoming call of another terminal, and the user lifts the terminal to the ear to answer an incoming call of another terminal.
  • the motion track of the terminal refers to the route that the terminal itself passes during the whole process from the time when the user lifts the terminal (for example, time A) to the time when the user puts it to the ear to answer the call (for example, time B).
  • the spatial characteristics of the actions that make up are examples of the actions that make up.
  • the position at which the terminal is lifted by the user is the position C
  • the position at which the user places the terminal at the ear to answer the call is the position of the terminal.
  • the position D when the position C is satisfied to be lower than the position D, can be regarded as the direction of the motion track of the terminal from top to bottom.
  • the motion process starts from 0s until the end of 10s, where 0s represents the time point at which the terminal receives the incoming call, that is, the time A, and the 10s represents the terminal answering the incoming call. At that moment, it is time B.
  • FIG. 4 is a schematic diagram of a motion track of a terminal according to an embodiment of the present invention. As shown in FIG. 4, the entire process of the motion trajectory lasts for 10 seconds, starting from 0 s and ending at 10 s. Since the position of the terminal at the time point of 0 s is lower than the position of the terminal at the time point of 10 s, at this time, It can be considered that the direction of the motion track of the terminal is from bottom to top.
  • motion trajectory of the terminal mentioned above is only an example, and the motion trajectory of the terminal may also be other motion modes, which is not described in the embodiment of the present invention.
  • the terminal uses a light distance sensor to detect an ambient light sensitivity value around the terminal.
  • the ambient light sensitivity value around the terminal is related to whether there is an obstacle in front of the light distance sensor of the terminal. Taking the position of the front camera of the terminal as an example, when there is no obstacle in front of the display screen of the terminal, the light distance sensor detects a large light sensitivity value. When there is an obstacle in front of the display screen of the terminal, the light distance sensor detects a small light sensitivity value. Moreover, the larger the area of the display screen of the obstacle blocking terminal, the smaller the light sensitivity value detected by the light distance sensor.
  • the terminal is placed on the desk, and the time when the user lifts the terminal (for example, time A), the light sense value detected by the light distance sensor is large, and the user places the terminal In the whole process of the time when the earphone is answered to the other terminal (for example, time B), the light sensitivity value detected by the light distance sensor gradually becomes smaller, and the answering condition is satisfied, and the terminal answers the incoming call.
  • the terminal uses a distance sensor to detect the distance between the terminal and the preset body part.
  • the distance sensor comprises any one of an ultrasonic ranging sensor, an infrared ranging sensor, and a light distance sensor.
  • the preset body part may be a preset user, or may be any user.
  • the preset body part may include a face, an ear, a head, etc., which are not specifically limited in the embodiment of the present invention.
  • the preset body part is a preset user.
  • the terminal can detect whether the user of the terminal is a preset user through the front camera, and the terminal triggers when the biometric information (eg, the face) of the user satisfying the terminal matches the biometric information of the preset user.
  • the distance between the sensor detection terminal and the preset body part can protect the privacy of the terminal and improve the security of the terminal.
  • the terminal uses an ultrasonic distance measuring sensor and a camera to detect the distance between the terminal and the ear as an example.
  • the camera can recognize the ear and the ultrasonic distance measuring sensor detects the distance.
  • the terminal receives an incoming call.
  • the terminal is placed on the desk, and the user raises the terminal (for example, time A), and the terminal uses the ultrasonic ranging sensor and the display screen of the terminal detected by the camera and the user.
  • the distance between the ears is infinity.
  • the terminal uses the ultrasonic distance measuring sensor and the distance between the display screen of the terminal detected by the camera and the user's ear to be a certain value, The setting is less than the terminal placed on the table The value measured by the ultrasonic distance measuring sensor on the surface.
  • the preset body part may be any user.
  • the terminal uses an ultrasonic distance measuring sensor and a camera to detect the distance between the terminal and the ear as an example.
  • the camera can recognize the ear and the ultrasonic distance measuring sensor detects the distance.
  • the terminal receives an incoming call. At this time, the terminal is placed on the desk, and the user raises the terminal (for example, time A), and the terminal uses the ultrasonic ranging sensor and the display screen of the terminal detected by the camera and the user. The distance between the ears is infinity.
  • the terminal uses the ultrasonic distance measuring sensor and the distance between the display screen of the terminal detected by the camera and the user's ear to be a certain value, The value is less than the value measured by the ultrasonic ranging sensor when the terminal is placed on the desktop.
  • the terminal detects that the distance between the terminal and the preset human body part of the preset user is changed from large to small, the terminal answers the incoming call.
  • the step of the terminal performing the answering call needs to satisfy any two of the above three conditions.
  • the terminal when the terminal receives the incoming call, it can first detect whether the motion track of the terminal is from bottom to top. If yes, the terminal detects whether the ambient light sensitivity value around the terminal is greatly changed. If yes, the terminal answers. Call. Alternatively, when receiving the incoming call, the terminal may first detect whether the ambient light sensitivity value around the terminal is greatly changed. If yes, the terminal further detects whether the motion track of the terminal is from bottom to top. If yes, the terminal answers the incoming call. Alternatively, when the terminal receives the incoming call, it can simultaneously detect whether the motion track of the terminal is from bottom to top and whether the ambient light sensitivity value around the terminal is greatly changed. If yes, the terminal answers the incoming call.
  • the terminal determines whether to answer the incoming call by detecting the motion track of the user and the light sense value of the surrounding environment, without answering the call displayed on the display screen of the terminal.
  • the control performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the terminal can be prevented from receiving an incoming call when the touch screen of the terminal is insensitive or the user's touch operation is in a wet or greasy state, and the terminal can be improved. User experience.
  • the terminal when the terminal receives the incoming call, it may first detect whether the motion track of the terminal is from bottom to top, and if so, the terminal further detects whether the distance between the terminal and the preset body part is from large to small, if , the terminal answers the call.
  • the terminal when the terminal receives the incoming call, it may first detect whether the distance between the terminal and the preset human body part is large or small. If yes, the terminal detects whether the motion track of the terminal is from bottom to top, and if so, the terminal answers. Call.
  • the terminal receives the incoming call it can simultaneously detect whether the motion track of the terminal is from bottom to top and the distance between the terminal and the preset body part is large or small. If yes, the terminal answers the incoming call.
  • the terminal determines whether to answer the incoming call by detecting the motion track of the user and the distance from the human body part of the user, without
  • the displayed listening control performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the terminal can not avoid the call when the terminal of the terminal is insensitive or the user's touch operation is in a wet or greasy state. Can improve the user experience.
  • the terminal when the terminal receives an incoming call, it can first detect whether the ambient light sensitivity value around the terminal is large or small, and if so, the terminal detects whether the distance between the terminal and the preset human body part is changed greatly. Small, if so, the terminal answers the call.
  • the terminal may first detect whether the distance between the terminal and the preset human body part is from large to small, and if so, the terminal detects whether the ambient light sensitivity value around the terminal is large or small, and if so, Then the terminal answers the call.
  • the terminal receives the incoming call it can simultaneously detect whether the ambient light sensitivity value around the terminal is from large to small and the distance between the terminal and the preset human body part is large or small. If yes, the terminal answers the incoming call.
  • the terminal determines whether to answer the incoming call by detecting the light sensitivity value of the surrounding environment and the distance between the human body parts of the user, without displaying the terminal.
  • the receiving control displayed on the screen performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the terminal can not be answered when the touch screen of the terminal is insensitive or the user's touch operation is in a wet or greasy state. In the case of incoming calls, the user experience can be improved.
  • the step of the terminal performing the answering call needs to satisfy the above three conditions.
  • the terminal when the terminal receives the incoming call, it may first detect whether the motion track of the terminal is from bottom to top, and if so, the terminal detects whether the ambient light sensitivity value around the terminal is large or small, and if so, the terminal Then, it is detected whether the distance between the terminal and the preset human body part is from large to small, and if so, the terminal answers the incoming call.
  • the terminal when the terminal receives the incoming call, it may first detect whether the motion track of the terminal is from bottom to top, and if so, the terminal further detects whether the distance between the terminal and the preset body part is from large to small, and if so, the terminal It is detected whether the ambient light sensitivity value around the terminal is large or small, and if so, the terminal answers the incoming call.
  • the terminal when receiving the incoming call, the terminal may first detect whether the ambient light sensitivity value around the terminal is large or small, and if so, the terminal detects whether the motion track of the terminal is from bottom to top, and if so, the terminal detects the terminal distance again. Whether the distance between the preset human body parts is large or small, and if so, the terminal answers the incoming call.
  • the terminal when the terminal receives the incoming call, it may first detect whether the ambient light sensitivity value around the terminal is large or small, and if so, the terminal detects whether the distance between the terminal and the preset human body part is larger or smaller, and if so, Then, the terminal detects whether the motion track of the terminal is from bottom to top, and if so, the terminal answers the incoming call.
  • the terminal when the terminal receives the incoming call, it may first detect whether the distance between the terminal and the preset human body part is large or small, and if so, the terminal detects whether the motion track of the terminal is from bottom to top, and if so, the terminal then It is detected whether the ambient light sensitivity value around the terminal is large or small, and if so, the terminal answers the incoming call.
  • the terminal when the terminal receives the incoming call, it may first detect whether the distance between the terminal and the preset human body part is from large to small, and if so, the terminal detects whether the ambient light sensitivity value around the terminal is large or small, and if so, Then, the terminal detects whether the motion track of the terminal is from bottom to top, and if so, the terminal answers the incoming call. Or, when the terminal receives the incoming call, it can simultaneously detect whether the motion track of the terminal is from bottom to top, whether the ambient light sensitivity value around the terminal is large or small, and the distance between the terminal distance and the preset human body part is large. It becomes smaller, and if so, the terminal answers the call.
  • the terminal determines whether to answer the incoming call by simultaneously detecting the motion track of the user, the light sensitivity value of the surrounding environment, and the distance between the human body parts of the user. It is not necessary to perform a specific sliding operation or a click operation on the receiving control displayed on the display screen of the terminal, and the operation is simple and convenient, and the human body part that is insensitive to the display screen of the terminal or the touch operation of the user is in a wet or greasy state.
  • the terminal can't answer the call, which can improve the user experience.
  • the terminal may further perform steps S203-S204.
  • steps S203-S204 Carry out a detailed description.
  • step S203 The terminal determines whether the distance between the preset human body part and the display screen of the terminal is within a preset distance. If yes, step S204 is performed.
  • the terminal uses a distance sensor to detect a distance between the preset body part and the display screen of the terminal.
  • the distance sensor may include any one of an ultrasonic ranging sensor, an infrared ranging sensor, and a light distance sensor.
  • the preset human body parts mentioned herein may be a human face, an ear, a head, etc., which are not specifically limited in the embodiment of the present invention.
  • the preset distance involved herein may be set by the terminal autonomously, or may be set by the user according to the requirements of the user, which is not specifically limited in the embodiment of the present invention.
  • the preset distance is 5 cm.
  • the terminal performs a screen blanking.
  • the terminal blanking screen mentioned here refers to the state in which the display screen of the terminal is not lit. In this state, the terminal can maintain the call state. If the distance detected by the terminal from the face of the user is 3 cm, and the distance is less than the preset distance (for example, 5 cm), the terminal performs the screen blanking.
  • the terminal After the terminal answers the incoming call, the terminal displays the call interface, and the terminal determines whether the terminal is screen-outed by detecting the distance between the human body part and the display screen of the terminal, thereby avoiding the human body part of the user.
  • the call control on the call interface of the accidental touch terminal causes the end of the call, which can improve the user experience.
  • FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal 600 may include: a receiving unit 610, an answering unit 620, where
  • the receiving unit 610 is configured to receive an incoming call.
  • the answering unit 620 is configured to: if the motion trajectory of the terminal is satisfied, the ambient light sensation value from the bottom to the top, the ambient light sensation value around the terminal is changed from large to small, and the distance between the terminal body and the preset human body portion is changed from large to small. Then answer the call.
  • the terminal 600 further includes a detecting unit, and the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, detecting whether the motion track of the terminal is from bottom to top, and if yes, detecting the surrounding of the terminal. Whether the ambient light sensitivity value is changed from large to large, and if so, the answering and receiving unit 620 answers the incoming call.
  • the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the ambient light sensitivity value around the terminal is changed from large to small, and if yes, detecting whether the motion track of the terminal is from bottom to top. If yes, the answering unit 620 is triggered to answer the incoming call.
  • the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, detecting whether the ambient light sensation value around the terminal is greatly reduced or not, and detecting whether the motion trajectory of the terminal is from bottom to top, and if so, Then, the answering and receiving unit 620 answers the incoming call.
  • the terminal 600 further includes a detecting unit, and the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, detecting whether the motion track of the terminal is from bottom to top, and if yes, detecting the terminal distance It is assumed that the distance between the preset human body parts of the user is changed from large to small, and if so, the answering unit 620 is triggered to answer the incoming call.
  • the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the distance between the detecting terminal and the preset human body part of the preset user is changed from large to small, and if so, detecting the motion of the terminal Whether the track is from bottom to top, and if so, the answering unit 620 is triggered to answer the incoming call.
  • the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, check whether the moving track of the terminal is from bottom to top and the distance between the detecting terminal and the preset human body part of the preset user is From large to small, if so, the answering unit 620 is triggered to answer the incoming call.
  • the terminal 600 further includes a detecting unit, and the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, detecting whether the ambient light sensitivity value around the terminal is changed from large to small, and if so, detecting the terminal distance Whether the distance between the preset human body parts of the preset user is changed from large to small, and if so, the answering unit 620 is triggered to answer the incoming call.
  • the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the distance between the detecting terminal and the preset human body part of the preset user is changed from large to small, and if so, detecting the environment around the terminal Whether the light sensitivity value is changed from large to large; if so, the answering and receiving unit 620 answers the incoming call.
  • the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the ambient light sensitivity value around the terminal is changed from large to small and the detecting terminal is away from the preset human body part of the preset user. Whether the distance is changed from large to large, and if so, the answering unit 620 is triggered to answer the incoming call.
  • the terminal 600 further includes a detecting unit, and the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, detecting whether the motion track of the terminal is from bottom to top, and if so, detecting the environment around the terminal. Whether the light sensation value is changed from large to small, and if so, whether the distance between the detection terminal and the preset body part is changed from large to small, and if so, the answering unit 620 is triggered to answer the incoming call.
  • the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the motion track of the terminal is from bottom to top, and if so, whether the distance between the terminal detecting terminal and the preset human body part is If the value is small, if the ambient light sensitivity value around the terminal is detected to be large or small, if so, the answering unit 620 is triggered to answer the incoming call.
  • the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the ambient light sensitivity value around the terminal is changed from large to small, and if so, whether the motion track of the detecting terminal is from bottom to top. If yes, whether the distance between the detection terminal and the preset body part is changed from large to small, and if so, the answering unit 620 is triggered to answer the incoming call.
  • the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the ambient light sense value around the terminal is changed from large to small, and if so, whether the distance between the detecting terminal and the preset human body part is If it is large, if it is, the motion track of the detecting terminal is from bottom to top, and if so, the answering unit 620 is triggered to answer the incoming call.
  • the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the distance between the detecting terminal and the preset human body part is changed from large to small, and if so, whether the motion track of the detecting terminal is lower Upward, if yes, it is detected whether the ambient light sensitivity value around the terminal is greatly reduced, and if so, the answering and receiving unit 620 is called to answer the incoming call.
  • the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the distance between the detecting terminal and the preset human body part is changed from large to small, and if so, whether the ambient light sense value around the detecting terminal is If it is large, if it is, the motion track of the detecting terminal is from bottom to top, and if so, the answering unit 620 is triggered to answer the incoming call.
  • the terminal 600 further includes a determining unit and a processing unit.
  • the judging unit is configured to determine whether the distance between the preset human body part and the display screen of the terminal is within a preset distance after the answering unit 620 answers the incoming call.
  • the processing unit is configured to: if the determining unit determines that the distance between the preset human body part and the display screen of the terminal is within a preset distance, the screen is turned off.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The present invention discloses a method for answering an incoming call, a terminal, a storage medium, and a computer program. The method comprises: a terminal receiving an incoming call; and the terminal answering the incoming call if at least one of the following conditions is met: the motion trajectory of the terminal is an upwards trajectory, an ambient light sensation value surrounding the terminal changes from high to low, and the distance between the terminal and a preset user body part decreases. By means of embodiments of the present invention, whether or not to answer an incoming call is determined by detecting the motion trajectory of a terminal or the ambient light sensation value surrounding the terminal or the distance between the terminal and a human body part of a user, without the need to perform a specific swipe operation or a click operation on an answering control displayed on a display screen of the terminal. Operation is simple and convenient, and user experience can be improved.

Description

一种接听来电方法、终端、存储介质及计算机程序Answering call method, terminal, storage medium and computer program 技术领域Technical field
本发明涉及智能终端技术领域,尤其涉及一种接听来电方法、终端、存储介质及计算机程序。The present invention relates to the field of intelligent terminal technologies, and in particular, to a method for answering incoming calls, a terminal, a storage medium, and a computer program.
背景技术Background technique
随着智能终端技术的发展,给人类的生产生活带来了诸多便利。例如,用户A可以通过智能终端设备与远在异乡的朋友B取得联系,分享彼此的近况。With the development of intelligent terminal technology, it has brought many conveniences to human production and life. For example, the user A can contact the friend B who is far away from home in the smart terminal device to share the current situation of each other.
现有技术中,当终端接收另一终端的来电时,用户通过滑屏操作来接听该来电。例如,参见图1,是本发明实施例提供的一种用户接听来电的示意图。以用户通过滑屏操作接听来电为例。若终端显示屏的触感不灵敏或者用户的手指处于潮湿或者油腻的状态,终端无法识别用户针对终端的显示屏的滑动操作,继而无法响应另一终端的来电,由此带来用户体验较差的问题。In the prior art, when the terminal receives an incoming call from another terminal, the user answers the incoming call through a sliding screen operation. For example, referring to FIG. 1 , it is a schematic diagram of a user answering an incoming call according to an embodiment of the present invention. Take the user as an example of answering a call through a sliding screen operation. If the touch of the terminal display is insensitive or the user's finger is in a wet or greasy state, the terminal cannot recognize the user's sliding operation for the display of the terminal, and then cannot respond to the call of the other terminal, thereby resulting in a poor user experience. problem.
发明内容Summary of the invention
本发明实施例提供一种接听来电方法、终端、存储介质及计算机程序,无需针对终端的显示屏上所显示的接听控件进行具体的滑动操作或点击操作,而是通过检测终端的运动轨迹或者终端周围的环境光感数值或者终端距离用户的人体部位之间的距离实现接听来电,操作简单方便,可提高用户的使用体验。The embodiment of the invention provides a method for answering an incoming call, a terminal, a storage medium and a computer program, and does not need to perform a specific sliding operation or a click operation on the receiving control displayed on the display screen of the terminal, but detects the motion track or terminal of the terminal. The ambient light sense value or the distance between the terminal and the human body part of the user realizes the answering call, and the operation is simple and convenient, and the user experience can be improved.
第一方面,本发明实施例提供了一种接听来电方法,该方法包括:In a first aspect, an embodiment of the present invention provides a method for answering an incoming call, the method comprising:
终端接收来电;The terminal receives an incoming call;
若满足以下条件中的至少一项,则终端接听来电:The terminal answers the call if at least one of the following conditions is met:
终端的运动轨迹为由下往上、终端周围的环境光感值由大变小、终端距离预设人体部位之间的距离由大变小。The movement trajectory of the terminal is from bottom to top, the ambient light sensation value around the terminal is changed from large to small, and the distance between the terminal distance and the preset human body part is greatly reduced.
通过本发明实施例,当终端接收另一终端的来电时,终端通过检测自身的运动轨迹、周围环境的光感值或距离用户的人体部位之间的距离来判断是否接听该来电,而无需针对终端的显示屏上所显示的接听控件进行具体的滑动操作或点击操作,操作简单方便,可避免在终端的显示屏触感不灵敏或用户进行触控操作的人体部位处于潮湿或者油腻的状态下,终端无法接听来电的情况,可提高用户的使用体验。According to the embodiment of the present invention, when the terminal receives an incoming call of another terminal, the terminal determines whether to answer the incoming call by detecting the motion track of the user, the light sensitivity value of the surrounding environment, or the distance between the human body parts of the user, without The receiving control displayed on the display screen of the terminal performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the human body part that is insensitive to the display screen of the terminal or the user's touch operation is in a wet or greasy state can be avoided. The terminal can't answer the call, which can improve the user experience.
可选的,终端接收来电之后,终端接听来电之前,还包括:终端检测终端的运动轨迹是否为由下往上。若是,则终端检测终端周围的环境光感值是否由大变小。若是,则终端执行接听来电的步骤。Optionally, after the terminal receives the incoming call, before the terminal answers the incoming call, the terminal further includes: detecting, by the terminal, whether the motion track of the terminal is from bottom to top. If so, the terminal detects whether the ambient light sensitivity value around the terminal is greatly reduced. If yes, the terminal performs the step of answering the incoming call.
或者,终端接收来电之后,终端接听来电之前,还包括:终端检测终端周围的环境光感值是否由大变小。若是,则终端检测终端的运动轨迹是否为由下往上。若是,则终端执行接听来电的步骤。或者,终端接收来电之后,终端接听来电之前,还包括:终端检测终端周围的环境光感值是否由大变小并且终端检测终端的运动轨迹是否为由下往上。若是,则终端执行接听来电的步骤。 Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the terminal further includes: detecting whether the ambient light sensation value around the terminal is greatly reduced. If yes, the terminal detects whether the motion track of the terminal is from bottom to top. If yes, the terminal performs the step of answering the incoming call. Or, after the terminal receives the incoming call, the terminal further includes: the terminal detecting whether the ambient light sensation value around the terminal is greatly reduced or not, and the terminal detecting whether the motion trajectory of the terminal is from bottom to top. If yes, the terminal performs the step of answering the incoming call.
通过实施本发明实施例,当终端接收另一终端的来电时,终端通过检测自身的运动轨迹以及周围环境的光感值来判断是否接听该来电,而无需针对终端的显示屏上所显示的接听控件进行具体的滑动操作或点击操作,操作简单方便,可避免在终端的显示屏触感不灵敏或用户进行触控操作的人体部位处于潮湿或者油腻的状态下,终端无法接听来电的情况,可提高用户的使用体验。By implementing the embodiment of the present invention, when the terminal receives an incoming call of another terminal, the terminal determines whether to answer the incoming call by detecting the motion track of the user and the light sense value of the surrounding environment, without answering the call displayed on the display screen of the terminal. The control performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the terminal can be prevented from receiving an incoming call when the touch screen of the terminal is insensitive or the user's touch operation is in a wet or greasy state, and the terminal can be improved. User experience.
可选的,终端接收来电之后,终端接听来电之前,还包括:终端检测终端的运动轨迹是否为由下往上。若是,终端检测终端距离预设人体部位之间的距离是否由大变小。若是,则终端执行接听来电的步骤。或者,终端接收来电之后,终端接听来电之前,还包括:终端检测终端距离预设人体部位之间的距离是否由大变小。若是,终端检测终端的运动轨迹是否为由下往上。若是,则终端执行接听来电的步骤。或者,终端接收来电之后,终端接听来电之前,还包括:终端检测终端的运动轨迹是否为由下往上并且终端检测终端距离预设人体部位之间的距离是否由大变小。若是,则终端执行接听来电的步骤。Optionally, after the terminal receives the incoming call, before the terminal answers the incoming call, the terminal further includes: detecting, by the terminal, whether the motion track of the terminal is from bottom to top. If so, whether the distance between the terminal detecting terminal and the preset body part is changed from large to small. If yes, the terminal performs the step of answering the incoming call. Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes: detecting, by the terminal, whether the distance between the terminal and the preset human body part is changed from large to small. If so, the terminal detects whether the motion track of the terminal is from bottom to top. If yes, the terminal performs the step of answering the incoming call. Or, after the terminal receives the incoming call, the terminal further includes: detecting whether the motion track of the terminal is from bottom to top and the distance between the terminal detecting terminal and the preset body part is changed from large to small. If yes, the terminal performs the step of answering the incoming call.
通过实施本发明实施例,当终端接收另一终端的来电时,终端通过检测自身的运动轨迹以及距离用户的人体部位之间的距离来判断是否接听该来电,而无需针对终端的显示屏上所显示的接听控件进行具体的滑动操作或点击操作,操作简单方便,可避免在终端的显示屏触感不灵敏或用户进行触控操作的人体部位处于潮湿或者油腻的状态下,终端无法接听来电的情况,可提高用户的使用体验。By implementing the embodiment of the present invention, when the terminal receives an incoming call of another terminal, the terminal determines whether to answer the incoming call by detecting the motion track of the user and the distance from the human body part of the user, without The displayed listening control performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the terminal can not avoid the call when the terminal of the terminal is insensitive or the user's touch operation is in a wet or greasy state. Can improve the user experience.
可选的,终端接收来电之后,终端接听来电之前,还包括:终端检测终端周围的环境光感值是否由大变小。若是,终端检测终端距离预设人体部位之间的距离是否由大变小。若是,则终端执行接听来电的步骤;或者,终端接收来电之后,终端接听来电之前,还包括:终端检测终端距离预设人体部位之间的距离是否由大变小。若是,终端检测终端周围的环境光感值是否由大变小。若是,则终端执行接听来电的步骤。或者,终端接收来电之后,终端接听来电之前,还包括:终端检测终端周围的环境光感值是否由大变小并且终端检测终端距离预设人体部位之间的距离是否由大变小。若是,则终端执行接听来电的步骤。Optionally, after the terminal receives the incoming call, before the terminal answers the incoming call, the terminal further includes: detecting, by the terminal, whether the ambient light sensitivity value around the terminal is greatly reduced. If so, whether the distance between the terminal detecting terminal and the preset body part is changed from large to small. If yes, the terminal performs the step of answering the incoming call; or, after the terminal receives the incoming call, before the terminal answers the incoming call, the terminal further includes: detecting whether the distance between the terminal and the preset human body part is changed from large to small. If so, the terminal detects whether the ambient light sensitivity value around the terminal is greatly reduced. If yes, the terminal performs the step of answering the incoming call. Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the terminal further includes: detecting whether the ambient light sensation value around the terminal is greatly reduced or not, and detecting whether the distance between the terminal and the preset human body part is changed from large to small. If yes, the terminal performs the step of answering the incoming call.
通过实施本发明实施例,当终端接收另一终端的来电时,终端通过检测自身周围环境的光感值、距离用户的人体部位之间的距离来判断是否接听该来电,而无需针对终端的显示屏上所显示的接听控件进行具体的滑动操作或点击操作,操作简单方便,可避免在终端的显示屏触感不灵敏或用户进行触控操作的人体部位处于潮湿或者油腻的状态下,终端无法接听来电的情况,可提高用户的使用体验。By implementing the embodiment of the present invention, when the terminal receives an incoming call of another terminal, the terminal determines whether to answer the incoming call by detecting the light sensitivity value of the surrounding environment and the distance between the human body parts of the user, without displaying the terminal. The receiving control displayed on the screen performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the terminal can not be answered when the touch screen of the terminal is insensitive or the user's touch operation is in a wet or greasy state. In the case of incoming calls, the user experience can be improved.
可选的,终端接收来电之后,终端接听来电之前,还包括:终端检测终端的运动轨迹是否为由下往上;若是,终端检测终端周围的环境光感值是否由大变小。若是,终端检测终端距离预设人体部位之间的距离是否由大变小。若是,则终端执行接听来电的步骤。Optionally, after the terminal receives the incoming call, the terminal further includes: the terminal detects whether the motion track of the terminal is from bottom to top; if yes, the terminal detects whether the ambient light sensitivity value around the terminal is changed from large to small. If so, whether the distance between the terminal detecting terminal and the preset body part is changed from large to small. If yes, the terminal performs the step of answering the incoming call.
或者,终端接收来电之后,终端接听来电之前,还包括:终端检测终端的运动轨迹是否为由下往上。若是,终端检测终端距离预设人体部位之间的距离是否由大变小。若是,终端检测终端周围的环境光感值是否由大变小。若是,则终端执行接听来电的步骤。Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the terminal further includes: detecting, by the terminal, whether the motion track of the terminal is from bottom to top. If so, whether the distance between the terminal detecting terminal and the preset body part is changed from large to small. If so, the terminal detects whether the ambient light sensitivity value around the terminal is greatly reduced. If yes, the terminal performs the step of answering the incoming call.
或者,终端接收来电之后,终端接听来电之前,还包括:终端检测终端周围的环境光感值是否由大变小。若是,终端检测终端的运动轨迹是否为由下往上。若是,终端检测终端距离预设人体部位之间的距离是否由大变小。若是,则终端执行接听来电的步骤。 Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the terminal further includes: detecting whether the ambient light sensation value around the terminal is greatly reduced. If so, the terminal detects whether the motion track of the terminal is from bottom to top. If so, whether the distance between the terminal detecting terminal and the preset body part is changed from large to small. If yes, the terminal performs the step of answering the incoming call.
或者,终端接收来电之后,终端接听来电之前,还包括:终端检测终端周围的环境光感值是否由大变小。若是,终端检测终端距离预设人体部位之间的距离是否由大变小。若是,终端检测终端的运动轨迹是否为由下往上。若是,则终端执行接听来电的步骤。Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the terminal further includes: detecting whether the ambient light sensation value around the terminal is greatly reduced. If so, whether the distance between the terminal detecting terminal and the preset body part is changed from large to small. If so, the terminal detects whether the motion track of the terminal is from bottom to top. If yes, the terminal performs the step of answering the incoming call.
或者,终端接收来电之后,终端接听来电之前,还包括:终端检测终端距离预设人体部位之间的距离是否由大变小。若是,终端检测终端的运动轨迹是否为由下往上。若是,终端检测终端周围的环境光感值是否由大变小。若是,则终端执行接听来电的步骤。Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes: detecting, by the terminal, whether the distance between the terminal and the preset human body part is changed from large to small. If so, the terminal detects whether the motion track of the terminal is from bottom to top. If so, the terminal detects whether the ambient light sensitivity value around the terminal is greatly reduced. If yes, the terminal performs the step of answering the incoming call.
或者,终端接收来电之后,终端接听来电之前,还包括:终端检测终端距离预设人体部位之间的距离是否由大变小。若是,终端检测终端周围的环境光感值是否由大变小。若是,终端检测终端的运动轨迹是否为由下往上。若是,则终端执行接听来电的步骤。Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes: detecting, by the terminal, whether the distance between the terminal and the preset human body part is changed from large to small. If so, the terminal detects whether the ambient light sensitivity value around the terminal is greatly reduced. If so, the terminal detects whether the motion track of the terminal is from bottom to top. If yes, the terminal performs the step of answering the incoming call.
通过实施本发明实施例,当终端接收另一终端的来电时,终端通过同时检测自身的运动轨迹、周围环境的光感值和距离用户的人体部位之间的距离来判断是否接听该来电,而无需针对终端的显示屏上所显示的接听控件进行具体的滑动操作或点击操作,操作简单方便,可避免在终端的显示屏触感不灵敏或用户进行触控操作的人体部位处于潮湿或者油腻的状态下,终端无法接听来电的情况,可提高用户的使用体验。By implementing the embodiment of the present invention, when the terminal receives an incoming call of another terminal, the terminal determines whether to answer the incoming call by simultaneously detecting the motion track of the user, the light sensitivity value of the surrounding environment, and the distance between the human body parts of the user. It is not necessary to perform a specific sliding operation or a click operation on the receiving control displayed on the display screen of the terminal, and the operation is simple and convenient, and the human body part that is insensitive to the display screen of the terminal or the touch operation of the user is in a wet or greasy state. The terminal can't answer the call, which can improve the user experience.
可选的,终端接听来电之后,还包括:终端判断预设人体部位与终端的显示屏之间的距离是否在预设距离之内。若是,则终端进行熄屏。Optionally, after the terminal answers the incoming call, the terminal further includes: determining, by the terminal, whether the distance between the preset human body part and the display screen of the terminal is within a preset distance. If so, the terminal goes out.
通过实施本发明实施例,终端接听来电之后,终端显示通话界面,终端通过检测用户的人体部位与终端的显示屏之间的距离来判断是否对终端进行熄屏处理,可避免因用户的人体部位意外触控终端的通话界面上的通话控件导致通话结束的情况,可提高用户的使用体验。By implementing the embodiment of the present invention, after the terminal answers the incoming call, the terminal displays the call interface, and the terminal determines whether the terminal is screen-outed by detecting the distance between the human body part and the display screen of the terminal, thereby avoiding the human body part of the user. The call control on the call interface of the accidental touch terminal causes the end of the call, which can improve the user experience.
可选的,终端采用加速度传感器检测终端的运动轨迹。Optionally, the terminal uses an acceleration sensor to detect a motion track of the terminal.
可选的,终端采用光距感传感器检测终端周围的环境光感值。Optionally, the terminal uses a light distance sensor to detect an ambient light sensation value around the terminal.
可选的,终端采用距离传感器检测终端距离预设人体部位之间的距离。Optionally, the terminal uses the distance sensor to detect the distance between the terminal and the preset body part.
可选的,距离传感器包括超声波测距传感器、红外测距传感器、光距感传感器中的任意一种。Optionally, the distance sensor comprises any one of an ultrasonic ranging sensor, an infrared ranging sensor, and a light distance sensor.
第二方面,本发明实施例提供了一种终端,该终端包括用于执行第一方面所描述的接听来电方法的模块或单元。In a second aspect, an embodiment of the present invention provides a terminal, where the terminal includes a module or unit for performing the method for answering an incoming call described in the first aspect.
第三方面,本发明实施例提供了另一种终端,包括处理器和存储器,处理器和存储器相互连接,其中,存储器用于存储支持终端执行第一方面所描述的歌曲切换方法的应用程序代码,处理器被配置用于执行第一方面所描述的接听来电方法。In a third aspect, an embodiment of the present invention provides another terminal, including a processor and a memory, where the processor and the memory are connected to each other, wherein the memory is used to store an application code that supports the terminal to perform the song switching method described in the first aspect. The processor is configured to perform the method of answering an incoming call as described in the first aspect.
第四方面,本发明实施例提供了一种计算机可读存储介质,计算机存储介质存储有计算机程序,计算机程序包括程序指令,程序指令当被处理器执行时使处理器执行第一方面所描述的接听来电方法。In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium. The computer storage medium stores a computer program. The computer program includes program instructions. When executed by the processor, the program instructions cause the processor to perform the first aspect. Answer the call method.
第五方面,本发明实施例提供了一种计算机程序,计算机程序包括程序指令,程序指令当被处理器执行时使处理器执行第一方面所描述的接听来电方法。In a fifth aspect, an embodiment of the present invention provides a computer program, the program comprising program instructions, when executed by a processor, causing a processor to perform the method of answering an incoming call described in the first aspect.
本发明实施例,通过本发明实施例,当终端接收另一终端的来电时,终端通过检测自身的运动轨迹、周围环境的光感值或距离用户的人体部位之间的距离来判断是否接听该来电,而无需针对终端的显示屏上所显示的接听控件进行具体的滑动操作或点击操作,操作 简单方便,可避免在终端的显示屏触感不灵敏或用户进行触控操作的人体部位处于潮湿或者油腻的状态下,终端无法接听来电的情况,在终端接听来电之后,终端通过检测人体部位与终端的显示屏之间的距离来判断是否对终端进行熄屏处理,可避免因用户的人体部位意外触控终端的通话界面上的通话控件导致通话结束的情况,可提高用户的使用体验。According to the embodiment of the present invention, when the terminal receives an incoming call of another terminal, the terminal determines whether to answer the call by detecting the motion track of the user, the light sensitivity value of the surrounding environment, or the distance between the human body parts of the user. Incoming calls without having to perform specific sliding or clicking operations on the listening controls displayed on the display of the terminal. It is simple and convenient, and can avoid the situation that the terminal can't answer the call when the touch screen of the terminal is not sensitive or the user's touch operation is in a wet or greasy state. After the terminal answers the call, the terminal detects the human body part and the terminal. The distance between the display screens is used to judge whether the terminal is screen-cutted, and the end of the call may be avoided due to the call control on the call interface of the user's body part accidentally touching the terminal, thereby improving the user experience.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art description will be briefly described below.
图1是本发明实施例提供的一种用户接听来电的示意图;1 is a schematic diagram of a user answering an incoming call according to an embodiment of the present invention;
图2是本发明实施例提供的一种终端的结构框图;2 is a structural block diagram of a terminal according to an embodiment of the present invention;
图2A是本发明实施例提供的一种终端显示接听界面的示意图;2A is a schematic diagram of a terminal display receiving interface according to an embodiment of the present invention;
图3是本发明实施例提供的一种接听来电方法的流程示意图;3 is a schematic flowchart of a method for answering an incoming call according to an embodiment of the present invention;
图4是本发明实施例提供的一种终端的运动轨迹的示意图;4 is a schematic diagram of a motion track of a terminal according to an embodiment of the present invention;
图5是本发明实施例提供的另一种接听来电方法的流程示意图;FIG. 5 is a schematic flowchart of another method for answering an incoming call according to an embodiment of the present invention; FIG.
图6是本发明实施例提供的一种终端的结构示意图。FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
首先,介绍本发明的发明构思。First, the inventive concept of the present invention will be described.
参见图1,在现有技术中,在终端接收来电的情况下,如果终端显示屏的触感不灵敏或者用户的手指处于潮湿或者油腻的状态,终端无法识别用户针对终端的显示屏的滑动操作,继而无法接听该来电。在本申请中,为了避免上述问题,方便用户更加便捷的接听来电,终端通过检测终端的运动轨迹或终端周围环境的光感值或终端距离用户的人体部位间的距离,在满足条件的情况下接听来电。以终端检测终端的运动轨迹为例,终端接收另一终端的来电,终端采用加速度传感器来检测自身的运动轨迹,若终端检测到自身的运动轨迹为由下往上,终端接听另一终端的来电。Referring to FIG. 1 , in the prior art, in the case that the terminal receives an incoming call, if the touch of the terminal display screen is insensitive or the user's finger is in a wet or greasy state, the terminal cannot recognize the sliding operation of the user for the display screen of the terminal. Then the call could not be answered. In the present application, in order to avoid the above problem, the user is more convenient to answer the incoming call, and the terminal detects the condition by the terminal by detecting the motion track of the terminal or the light sense value of the environment around the terminal or the distance between the terminal and the human body part of the user. Answer the call. Taking the motion track of the terminal detecting terminal as an example, the terminal receives an incoming call of another terminal, and the terminal uses an acceleration sensor to detect its own motion track. If the terminal detects that its own motion track is from bottom to top, the terminal answers the call of the other terminal. .
下面介绍本发明实施例涉及的终端的一种实现方式。An implementation manner of the terminal involved in the embodiment of the present invention is described below.
图2是终端20的一种实现方式的结构框图。如图2所示,该终端20可以包括:存储器201、基带芯片202、射频模块203、外围系统204和传感器205。基带芯片202包括至少一个处理器2021(例如CPU),时钟模块2022和电源管理模块2023;外围系统204包括摄像头2041、音频模块2042、触摸显示屏2043等,进一步地,传感器205可以包括光距感传感器2051、加速度传感器2052、指纹传感器2053等;外围系统204和传感器205包括的模块可以视实际需要来增加或者减少。上述任意两个相连接的模块可以具体通过总线206(例如,地址总线、数据总线、控制总线等)。相连,该总线206可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component Interconnect,PCI)总线或扩展标准体系结构(Extended Industry Standard Architecture,EISA)总线等。 2 is a structural block diagram of an implementation of the terminal 20. As shown in FIG. 2, the terminal 20 can include a memory 201, a baseband chip 202, a radio frequency module 203, a peripheral system 204, and a sensor 205. The baseband chip 202 includes at least one processor 2021 (for example, a CPU), a clock module 2022, and a power management module 2023. The peripheral system 204 includes a camera 2041, an audio module 2042, a touch display screen 2043, and the like. Further, the sensor 205 may include a sense of light distance. The sensor 2051, the acceleration sensor 2052, the fingerprint sensor 2053, etc.; the modules included in the peripheral system 204 and the sensor 205 can be increased or decreased as needed. Any two of the above connected modules may specifically pass through a bus 206 (eg, an address bus, a data bus, a control bus, etc.). Connected, the bus 206 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus.
射频模块203可以包括天线和收发器(包括调制解调器),该收发器用于将天线接收到的电磁波转换为电流并且最终转换为数字信号,相应地,该收发器还用于将该终端将要输出的数字信号据转换为电流然后转换为电磁波,最后通过该天线将该电磁波发射到自由空间中。射频模块203还可包括至少一个用于放大信号的放大器。通常情况下,可以通过该射频模块203进行无线传输,如蓝牙(Bluetooth,蓝牙)传输、无线保证(Wireless-Fidelity,WI-FI)传输、第三代移动通信技术(3rd-Generation,3G)传输、第四代移动通信技术(the 4th Generation mobile Communication,4G)传输等。The radio frequency module 203 can include an antenna and a transceiver (including a modem) for converting electromagnetic waves received by the antenna into current and finally converting to digital signals, and correspondingly, the transceiver is further configured to use the number to be output by the terminal The signal is converted into a current and then converted into an electromagnetic wave, which is finally transmitted into the free space through the antenna. The radio frequency module 203 can also include at least one amplifier for amplifying the signal. Generally, the radio frequency module 203 can perform wireless transmission, such as Bluetooth (Bluetooth) transmission, Wireless-Fidelity (WI-FI) transmission, and 3rd-generation mobile communication (3G) transmission. The 4th Generation mobile communication (4G) transmission, etc.
触摸显示屏2043可用于显示由用户输入的信息或向用户展示信息,例如可以展示终端20的各种菜单。触摸显示屏2043可包括触控面板和显示面板,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板。进一步的,触控面板可覆盖显示面板,当触控面板检测到在其上或附近的触摸操作后,传送给处理器2021以确定触摸事件的类型,随后处理器2021根据触摸事件的类型在显示面板上提供相应的视觉输出。触控面板与显示面板是作为两个独立的部件来实现终端20的输入和输出功能,但是在某些实施例中,可以将触控面板与显示面板集成而实现终端20的输入和输出功能。在本发明实施例中,终端接收来电之后,在终端未接听来电之前,触摸显示屏2043显示接收来电的操作界面。具体的,请参见图2A,是本发明实施例提供的一种终端显示接听界面的示意图。 Touch display 2043 can be used to display information entered by a user or to present information to a user, such as various menus of terminal 20 can be displayed. The touch screen display 2043 can include a touch panel and a display panel. Alternatively, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel may cover the display panel. When the touch panel detects a touch operation on or near the touch panel, the touch panel transmits to the processor 2021 to determine the type of the touch event, and then the processor 2021 displays the type according to the touch event. A corresponding visual output is provided on the panel. The touch panel and the display panel are implemented as two separate components to implement the input and output functions of the terminal 20, but in some embodiments, the input and output functions of the terminal 20 can be implemented by integrating the touch panel with the display panel. In the embodiment of the present invention, after the terminal receives the incoming call, the touch display screen 2043 displays an operation interface for receiving the incoming call before the terminal does not answer the incoming call. Specifically, please refer to FIG. 2A , which is a schematic diagram of a terminal display listening interface according to an embodiment of the present invention.
摄像头2041用于对周围环境曝光以得到帧图像,在一种方式中,该摄像头2041将曝光得到的帧图像的参数传递给处理器2021以使该处理器2021对该帧图像做去噪、增强等处理,生成能够展示给用户的图片;在又一种可选的方案中,该摄像头自带了图像处理器芯片,该图像处理芯片可以对该帧图像做初步处理,对该帧图像做初步处理后在将经处理的数据传递给该处理器2021以使该处理器2021最终生产能够展示给用户的图像。进一步地,该摄像头2041的数量可以为一个也可以为多个。在本发明实施例中,摄像头2041可以分为前置摄像头和后置摄像头。在一些可能的实现方式中,摄像头2041可以用来识别终端的使用者是否为预设用户,具体来说,终端20可以通过摄像头2041来检测终端的使用者的生物特征信息,例如,人脸。The camera 2041 is configured to expose the surrounding environment to obtain a frame image. In one mode, the camera 2041 transmits the parameters of the exposed frame image to the processor 2021 to cause the processor 2021 to denoise and enhance the frame image. And processing, generating a picture that can be displayed to the user; in another optional solution, the camera comes with an image processor chip, and the image processing chip can perform preliminary processing on the frame image, and preliminary on the frame image The processed data is passed to the processor 2021 after processing to cause the processor 2021 to ultimately produce an image that can be presented to the user. Further, the number of the cameras 2041 may be one or more. In the embodiment of the present invention, the camera 2041 can be divided into a front camera and a rear camera. In some possible implementations, the camera 2041 can be used to identify whether the user of the terminal is a preset user. Specifically, the terminal 20 can detect the biometric information of the user of the terminal, for example, a human face, through the camera 2041.
音频输入模块2042可提供用户与终端20之间的音频接口,音频输入模块2042可将接收到的音频数据转换后的电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,音频输入模块2042可以获取周围环境中的声音信号并将该声音信号转换为数字信号,然后将该数字信号传递给处理器2021处理。The audio input module 2042 can provide an audio interface between the user and the terminal 20. The audio input module 2042 can transmit the converted electrical data of the received audio data to the speaker, and convert the audio signal into a sound signal output; on the other hand, the audio The input module 2042 can acquire a sound signal in the surrounding environment and convert the sound signal into a digital signal, and then pass the digital signal to the processor 2021 for processing.
传感器205用于感应相关信号,例如光距感传感器2051可以感应终端20周围环境的光线强度,加速度传感器2052可以感应该终端20实时的加速度大小,距离传感器2053可以测量终端20与障碍物之间的距离,加速度传感器2052可以感应该终端20实时的加速度大小。在本发明实施例中,终端采用光距感传感器2051来检测终端周围环境的光线强度,终端采用加速度传感器2052来检测终端的运动轨迹,终端采用距离传感器2053来检测终端距离预设人体部位之间的距离,具体的,该距离传感器2053可以是超声波测距传感器,也可以是红外测距传感器,还可以是光距感传感器,本发明实施例不作具体限定。The sensor 205 is used to sense related signals. For example, the light distance sensor 2051 can sense the light intensity of the environment around the terminal 20. The acceleration sensor 2052 can sense the real-time acceleration of the terminal 20. The distance sensor 2053 can measure the terminal 20 and the obstacle. The distance, the acceleration sensor 2052 can sense the magnitude of the acceleration of the terminal 20 in real time. In the embodiment of the present invention, the terminal uses the light distance sensor 2051 to detect the light intensity of the environment around the terminal, the terminal uses the acceleration sensor 2052 to detect the motion track of the terminal, and the terminal uses the distance sensor 2053 to detect the distance between the terminal and the preset body part. The distance sensor, in particular, the distance sensor 2053 may be an ultrasonic distance measuring sensor, an infrared distance measuring sensor, or a light distance sensing sensor, which is not specifically limited in the embodiment of the present invention.
在一些可能的实现方式中,上述所提到的光距感传感器2051、加速度传感器2052、距 离传感器2053均可以是内嵌在终端的显示屏上的,其具体的内嵌位置可以为终端的扬声器所在位置的右侧或者左侧,也可以是终端的前置摄像头所在位置的右侧或者左侧,还可以是集成在前置摄像头中的。需要说明的是,传感器205还可以包括其它类型的传感器,例如指纹传感器,指纹传感器可以感应用户在该终端20上输入的指纹信息;传感器205感应到相关信号后将该信号量化为数字信号并传递给处理器2021做进一步处理。In some possible implementation manners, the above-mentioned optical distance sensor 2051, acceleration sensor 2052, and distance The off sensor 2053 may be embedded in the display screen of the terminal, and the specific embedded position may be the right side or the left side of the position where the terminal speaker is located, or the right side of the position where the front camera of the terminal is located or On the left side, it can also be integrated in the front camera. It should be noted that the sensor 205 may further include other types of sensors, such as a fingerprint sensor, which may sense fingerprint information input by the user on the terminal 20; after sensing the relevant signal, the sensor 205 quantizes the signal into a digital signal and transmits the signal. The processor 2021 is further processed.
存储器201可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器201可选的还可以包括至少一个位于远离前述处理器2021的存储装置,该存储器201可以具体包括存储指令区和存储数据区,其中,存储指令区可存储操作系统、用户接口程序、通信接口程序等程序,该存储数据区可存储该处理在执行相关操作所需要的数据,或者执行相关操作所产生的数据。The memory 201 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory. The memory 201 can also optionally include at least one storage device located away from the processor 2021. The memory 201 can specifically include a storage instruction area and a storage data area, wherein the storage instruction area can store an operating system, a user interface program, and a communication interface. a program such as a program, the storage data area may store data required to perform related operations, or perform data generated by related operations.
处理器2021是终端20的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行存储在存储器201内的程序,以及调用存储在存储器201内的数据,执行终端20的各项功能。可选的,处理器2021可包括一个或多个应用处理器,该应用处理器主要处理操作系统、用户界面和应用程序等。The processor 2021 is a control center of the terminal 20, and connects various parts of the entire terminal by various interfaces and lines, and executes various functions of the terminal 20 by running a program stored in the memory 201 and calling data stored in the memory 201. . Optionally, the processor 2021 can include one or more application processors that primarily process an operating system, a user interface, an application, and the like.
应当理解,终端20仅为本发明实施例提供的一个例子,并且,终端20可具有比示出的部件更多或更少的部件,可以组合两个或更多个部件,或者可具有部件的不同配置实现。It should be understood that the terminal 20 is only an example provided by an embodiment of the present invention, and that the terminal 20 may have more or less components than those shown, two or more components may be combined, or may have components. Different configurations are implemented.
基于图2所示的终端结构框图,参见图3,来介绍本发明实施例提供的一种接听来电方法。如图3所示,该方法包括但不限于如下步骤S201-S203:Based on the block diagram of the terminal structure shown in FIG. 2, referring to FIG. 3, a method for answering an incoming call provided by an embodiment of the present invention is introduced. As shown in FIG. 3, the method includes, but is not limited to, the following steps S201-S203:
S201、终端接收来电。S201. The terminal receives an incoming call.
其中,终端可以包括移动手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(Mobile Internet Device,MID)、智能穿戴设备(如智能手表、智能手环)等各种用户可以使用的终端,本发明实施例不作具体限定。The terminal may include a mobile phone, a tablet computer, a personal digital assistant (PDA), a mobile internet device (MID), a smart wearable device (such as a smart watch, a smart bracelet), and the like. The terminal used in the present invention is not specifically limited.
在终端接收来电之后,终端未接听来电之前,终端显示接听界面。具体的,如图2A所示。After the terminal receives the incoming call, the terminal displays the receiving interface before the terminal answers the incoming call. Specifically, as shown in FIG. 2A.
S202、若满足以下条件中的至少一项:终端的运动轨迹为由下往上、终端周围的环境光感值由大变小、终端距离预设人体部位之间的距离由大变小,终端接听来电。S202, if at least one of the following conditions is met: the motion trajectory of the terminal is from bottom to top, the ambient light sensation value around the terminal is changed from large to small, and the distance between the terminal distance and the preset human body part is changed from large to small. Answer the call.
在一种情况下,终端执行接听来电的步骤只需满足上述3个条件中的任意一项即可。In one case, the step of the terminal performing the answering call only needs to satisfy any one of the above three conditions.
具体的,第一种情况可以为:若终端的轨迹为由下往上,终端接听来电;第二种情况可以为:若终端周围的环境光感值由大变小,终端接听来电;第三种情况可以为:若终端距离预设人体部位之间的距离由大变小,终端接听来电。以下对上述三种情况进行详细描述。Specifically, the first case may be: if the trajectory of the terminal is from bottom to top, the terminal answers the incoming call; the second case may be: if the ambient light sensation value around the terminal is changed from large to small, the terminal answers the incoming call; The situation may be: if the distance between the terminal and the preset body part is changed from large to small, the terminal answers the incoming call. The above three cases are described in detail below.
情况一:若终端的轨迹为由下往上,终端接听来电。Case 1: If the trajectory of the terminal is from bottom to top, the terminal answers the incoming call.
在一些可能的实现方式中,终端采用加速度传感器来检测终端的运动轨迹。In some possible implementations, the terminal uses an acceleration sensor to detect the motion trajectory of the terminal.
本发明实施例可以应用的一个真实场景包括但不限于:终端被放置在桌子上,终端(例如,手机)接收另一终端的来电,用户将终端抬起放到耳旁接听另一终端的来电。这里所涉及的终端的运动轨迹是指从用户抬起终端的时刻(例如A时刻)到用户将其放到耳旁接听电话的时刻(例如B时刻)的这整个过程中终端自身所经过的路线组成的动作的空间特征。 A real scene that can be applied in the embodiment of the present invention includes, but is not limited to, a terminal is placed on a desk, a terminal (eg, a mobile phone) receives an incoming call of another terminal, and the user lifts the terminal to the ear to answer an incoming call of another terminal. . The motion track of the terminal referred to herein refers to the route that the terminal itself passes during the whole process from the time when the user lifts the terminal (for example, time A) to the time when the user puts it to the ear to answer the call (for example, time B). The spatial characteristics of the actions that make up.
在本发明实施例中,用户将终端抬起的时刻(例如A时刻)终端所处的位置为位置C,用户将终端放到耳旁接听电话的时刻(例如B时刻)终端所处的位置为位置D,在满足位置C低于位置D的情况下,即可认为终端的运动轨迹的方向为由上往下。In the embodiment of the present invention, the position at which the terminal is lifted by the user (for example, at time A) is the position C, and the position at which the user places the terminal at the ear to answer the call (for example, time B) is the position of the terminal. The position D, when the position C is satisfied to be lower than the position D, can be regarded as the direction of the motion track of the terminal from top to bottom.
例如,以终端的运动轨迹的运动过程为10秒钟为例,该运动过程从0s开始,直至10s结束,其中,0s代表终端接收来电的那个时刻点,即为A时刻,10s代表终端接听来电的那个时刻点,即为B时刻。具体的,请参见图4,是本发明实施例提供的一种终端的运动轨迹的示意图。如图4所示,该运动轨迹整个过程持续10秒钟,从0s开始,10s结束,由于终端在0s的那个时刻点所处的位置低于终端在10s的那个时刻点的位置,此时,即可认为终端的运动轨迹的方向为由下往上。For example, taking the motion course of the motion track of the terminal as 10 seconds, the motion process starts from 0s until the end of 10s, where 0s represents the time point at which the terminal receives the incoming call, that is, the time A, and the 10s represents the terminal answering the incoming call. At that moment, it is time B. Specifically, please refer to FIG. 4 , which is a schematic diagram of a motion track of a terminal according to an embodiment of the present invention. As shown in FIG. 4, the entire process of the motion trajectory lasts for 10 seconds, starting from 0 s and ending at 10 s. Since the position of the terminal at the time point of 0 s is lower than the position of the terminal at the time point of 10 s, at this time, It can be considered that the direction of the motion track of the terminal is from bottom to top.
需要说明的是,上述所提及的终端的运动轨迹均只是作为一种示例,终端的运动轨迹还可以为其它运动形态,本发明实施例不作过多阐述。It should be noted that the motion trajectory of the terminal mentioned above is only an example, and the motion trajectory of the terminal may also be other motion modes, which is not described in the embodiment of the present invention.
情况二:若终端周围的环境光感值由大变小,终端接听来电。Case 2: If the ambient light sensitivity value around the terminal is changed from large to small, the terminal answers the incoming call.
在一些可能的实现方式中,终端采用光距感传感器来检测终端周围的环境光感值。需要说明的是,终端周围的环境光感值与终端的光距离传感器前方是否有障碍物有关。以光距感传感器设置在终端的前置摄像头位置为例,当终端的显示屏前方不存在任何障碍物时,光距离传感器检测出的光感值较大。当终端的显示屏前方存在障碍物时,光距离传感器检测出的光感值较小。并且,障碍物遮挡终端的显示屏的面积越大,光距离传感器检测出的光感值越小。In some possible implementations, the terminal uses a light distance sensor to detect an ambient light sensitivity value around the terminal. It should be noted that the ambient light sensitivity value around the terminal is related to whether there is an obstacle in front of the light distance sensor of the terminal. Taking the position of the front camera of the terminal as an example, when there is no obstacle in front of the display screen of the terminal, the light distance sensor detects a large light sensitivity value. When there is an obstacle in front of the display screen of the terminal, the light distance sensor detects a small light sensitivity value. Moreover, the larger the area of the display screen of the obstacle blocking terminal, the smaller the light sensitivity value detected by the light distance sensor.
在本发明实施例所提供的上述应用场景中,终端被放置在桌子上,用户抬起终端的时刻(例如A时刻),光距离传感器检测出的光感值较大,随着用户将终端放到耳旁接听另一终端电话的时刻(例如B时刻)的这整个过程中,光距离传感器检测出的光感值逐渐变小,满足接听条件,终端接听来电。In the above application scenario provided by the embodiment of the present invention, the terminal is placed on the desk, and the time when the user lifts the terminal (for example, time A), the light sense value detected by the light distance sensor is large, and the user places the terminal In the whole process of the time when the earphone is answered to the other terminal (for example, time B), the light sensitivity value detected by the light distance sensor gradually becomes smaller, and the answering condition is satisfied, and the terminal answers the incoming call.
情况三:若终端距离预设人体部位之间的距离由大变小,终端接听来电。Case 3: If the distance between the terminal and the preset body part is changed from large to small, the terminal answers the incoming call.
可选的,终端采用距离传感器来检测终端距离预设人体部位之间的距离。Optionally, the terminal uses a distance sensor to detect the distance between the terminal and the preset body part.
可选的,距离传感器包括超声波测距传感器、红外测距传感器、光距感传感器中的任意一种。Optionally, the distance sensor comprises any one of an ultrasonic ranging sensor, an infrared ranging sensor, and a light distance sensor.
在本发明实施例中,预设人体部位可以是预设用户的,也可以是任何用户的,该预设人体部位可以包括人脸、耳朵、头等,本发明实施例不作具体限定。In the embodiment of the present invention, the preset body part may be a preset user, or may be any user. The preset body part may include a face, an ear, a head, etc., which are not specifically limited in the embodiment of the present invention.
在一种可能的实现方式中,该预设人体部位是预设用户的。终端可以通过前置摄像头检测终端的使用者是否是预设用户,在满足终端的使用者的生物特征信息(例如,人脸)与预设用户的生物特征信息吻合的情况下,终端才会触发距离传感器检测终端距离预设人体部位之间的距离,可保护终端的隐私,提高终端的安全性。以预设用户的预设人体部位为耳朵为例,终端采用超声波测距传感器和摄像头检测终端距离耳朵之间的距离为例。这里,摄像头可以识别出耳朵,超声波测距传感器检测距离。以前述例子为例,终端接收到来电,此时终端被放置在桌子上,用户抬起终端的时刻(例如A时刻),终端采用超声波测距传感器以及摄像头检测到的终端的显示屏与用户的耳朵之间的距离为无限远。当用户将终端放到耳旁接听另一终端电话的时刻(例如B时刻),终端采用超声波测距传感器和摄像头检测到的终端的显示屏与用户的耳朵之间的距离为某一定值,该定值小于终端放置在桌 面上时超声波测距传感器测量的值。终端在检测到终端距离预设用户的预设人体部位之间的距离由大变小的情况下,终端接听来电。In a possible implementation manner, the preset body part is a preset user. The terminal can detect whether the user of the terminal is a preset user through the front camera, and the terminal triggers when the biometric information (eg, the face) of the user satisfying the terminal matches the biometric information of the preset user. The distance between the sensor detection terminal and the preset body part can protect the privacy of the terminal and improve the security of the terminal. Taking the preset user's preset body part as an example, the terminal uses an ultrasonic distance measuring sensor and a camera to detect the distance between the terminal and the ear as an example. Here, the camera can recognize the ear and the ultrasonic distance measuring sensor detects the distance. Taking the foregoing example as an example, the terminal receives an incoming call. At this time, the terminal is placed on the desk, and the user raises the terminal (for example, time A), and the terminal uses the ultrasonic ranging sensor and the display screen of the terminal detected by the camera and the user. The distance between the ears is infinity. When the user puts the terminal to the ear to answer another terminal phone (for example, time B), the terminal uses the ultrasonic distance measuring sensor and the distance between the display screen of the terminal detected by the camera and the user's ear to be a certain value, The setting is less than the terminal placed on the table The value measured by the ultrasonic distance measuring sensor on the surface. When the terminal detects that the distance between the terminal and the preset human body part of the preset user is changed from large to small, the terminal answers the incoming call.
在另一种可能的实现方式中,预设人体部位可以是任意用户的。以预设人体部位为耳朵为例,终端采用超声波测距传感器和摄像头检测终端距离耳朵之间的距离为例。这里,摄像头可以识别出耳朵,超声波测距传感器检测距离。以前述例子为例,终端接收到来电,此时终端被放置在桌子上,用户抬起终端的时刻(例如A时刻),终端采用超声波测距传感器以及摄像头检测到的终端的显示屏与用户的耳朵之间的距离为无限远。当用户将终端放到耳旁接听另一终端电话的时刻(例如B时刻),终端采用超声波测距传感器和摄像头检测到的终端的显示屏与用户的耳朵之间的距离为某一定值,该定值小于终端放置在桌面上时超声波测距传感器测量的值。终端在检测到终端距离预设用户的预设人体部位之间的距离由大变小的情况下,终端接听来电。In another possible implementation manner, the preset body part may be any user. Taking the preset human body part as the ear as an example, the terminal uses an ultrasonic distance measuring sensor and a camera to detect the distance between the terminal and the ear as an example. Here, the camera can recognize the ear and the ultrasonic distance measuring sensor detects the distance. Taking the foregoing example as an example, the terminal receives an incoming call. At this time, the terminal is placed on the desk, and the user raises the terminal (for example, time A), and the terminal uses the ultrasonic ranging sensor and the display screen of the terminal detected by the camera and the user. The distance between the ears is infinity. When the user puts the terminal to the ear to answer another terminal phone (for example, time B), the terminal uses the ultrasonic distance measuring sensor and the distance between the display screen of the terminal detected by the camera and the user's ear to be a certain value, The value is less than the value measured by the ultrasonic ranging sensor when the terminal is placed on the desktop. When the terminal detects that the distance between the terminal and the preset human body part of the preset user is changed from large to small, the terminal answers the incoming call.
在另一种情况下,终端执行接听来电的步骤需要满足上述3个条件中的任意两项。In another case, the step of the terminal performing the answering call needs to satisfy any two of the above three conditions.
情况一:若终端的轨迹为由下往上且终端周围的环境光感值由大变小,终端接听来电。Case 1: If the trajectory of the terminal is from bottom to top and the ambient light sensation value around the terminal is changed from large to small, the terminal answers the incoming call.
在这种情况下,终端接收到来电时,可以先检测终端的运动轨迹是否为由下往上,若是,则终端再检测终端周围的环境光感值是否由大变小,若是,则终端接听来电。或者,终端接收到来电时,可以先检测终端周围的环境光感值是否由大变小,若是,则终端再检测终端的运动轨迹是否为由下往上,若是,则终端接听来电。或者,终端接收到来电时,可以同时检测终端的运动轨迹是否为由下往上且终端周围的环境光感值是否由大变小,若是,则终端接听来电。In this case, when the terminal receives the incoming call, it can first detect whether the motion track of the terminal is from bottom to top. If yes, the terminal detects whether the ambient light sensitivity value around the terminal is greatly changed. If yes, the terminal answers. Call. Alternatively, when receiving the incoming call, the terminal may first detect whether the ambient light sensitivity value around the terminal is greatly changed. If yes, the terminal further detects whether the motion track of the terminal is from bottom to top. If yes, the terminal answers the incoming call. Alternatively, when the terminal receives the incoming call, it can simultaneously detect whether the motion track of the terminal is from bottom to top and whether the ambient light sensitivity value around the terminal is greatly changed. If yes, the terminal answers the incoming call.
通过实施本发明实施例,当终端接收另一终端的来电时,终端通过检测自身的运动轨迹以及周围环境的光感值来判断是否接听该来电,而无需针对终端的显示屏上所显示的接听控件进行具体的滑动操作或点击操作,操作简单方便,可避免在终端的显示屏触感不灵敏或用户进行触控操作的人体部位处于潮湿或者油腻的状态下,终端无法接听来电的情况,可提高用户的使用体验。By implementing the embodiment of the present invention, when the terminal receives an incoming call of another terminal, the terminal determines whether to answer the incoming call by detecting the motion track of the user and the light sense value of the surrounding environment, without answering the call displayed on the display screen of the terminal. The control performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the terminal can be prevented from receiving an incoming call when the touch screen of the terminal is insensitive or the user's touch operation is in a wet or greasy state, and the terminal can be improved. User experience.
情况二:若终端的轨迹为由下往上且终端距离预设人体部位之间的距离由大变小,终端接听来电。Case 2: If the trajectory of the terminal is from bottom to top and the distance between the terminal and the preset body part is changed from large to small, the terminal answers the incoming call.
在这种情况下,终端接收到来电时,可以先检测终端的运动轨迹是否为由下往上,若是,则终端再检测终端距离预设人体部位之间的距离是否为由大变小,若是,则终端接听来电。或者,终端接收到来电时,可以先检测终端距离预设人体部位之间的距离是否为由大变小,若是,则终端再检测终端的运动轨迹是否为由下往上,若是,则终端接听来电。或者,终端接收到来电时,可以同时检测终端的运动轨迹是否为由下往上且终端距离预设人体部位之间的距离是否为由大变小,若是,则终端接听来电。In this case, when the terminal receives the incoming call, it may first detect whether the motion track of the terminal is from bottom to top, and if so, the terminal further detects whether the distance between the terminal and the preset body part is from large to small, if , the terminal answers the call. Alternatively, when the terminal receives the incoming call, it may first detect whether the distance between the terminal and the preset human body part is large or small. If yes, the terminal detects whether the motion track of the terminal is from bottom to top, and if so, the terminal answers. Call. Alternatively, when the terminal receives the incoming call, it can simultaneously detect whether the motion track of the terminal is from bottom to top and the distance between the terminal and the preset body part is large or small. If yes, the terminal answers the incoming call.
通过实施本发明实施例,当终端接收另一终端的来电时,终端通过检测自身的运动轨迹以及距离用户的人体部位之间的距离来判断是否接听该来电,而无需针对终端的显示屏上所显示的接听控件进行具体的滑动操作或点击操作,操作简单方便,可避免在终端的显示屏触感不灵敏或用户进行触控操作的人体部位处于潮湿或者油腻的状态下,终端无法接听来电的情况,可提高用户的使用体验。By implementing the embodiment of the present invention, when the terminal receives an incoming call of another terminal, the terminal determines whether to answer the incoming call by detecting the motion track of the user and the distance from the human body part of the user, without The displayed listening control performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the terminal can not avoid the call when the terminal of the terminal is insensitive or the user's touch operation is in a wet or greasy state. Can improve the user experience.
情况三:若终端周围的环境光感值由大变小且终端距离预设人体部位之间的距离由大 变小,终端接听来电。Case 3: If the ambient light sensitivity value around the terminal is changed from large to small and the distance between the terminal and the preset human body part is large Become smaller, the terminal answers the call.
在这种情况下,终端接收到来电时,可以先检测终端周围的环境光感值是否为由大变小,若是,则终端再检测终端距离预设人体部位之间的距离是否为由大变小,若是,则终端接听来电。或者,终端接收到来电时,可以先检测终端距离预设人体部位之间的距离是否为由大变小,若是,则终端再检测终端周围的环境光感值是否为由大变小,若是,则终端接听来电。或者,终端接收到来电时,可以同时检测终端周围的环境光感值是否为由大变小且终端距离预设人体部位之间的距离是否为由大变小,若是,则终端接听来电。In this case, when the terminal receives an incoming call, it can first detect whether the ambient light sensitivity value around the terminal is large or small, and if so, the terminal detects whether the distance between the terminal and the preset human body part is changed greatly. Small, if so, the terminal answers the call. Alternatively, when the terminal receives the incoming call, it may first detect whether the distance between the terminal and the preset human body part is from large to small, and if so, the terminal detects whether the ambient light sensitivity value around the terminal is large or small, and if so, Then the terminal answers the call. Alternatively, when the terminal receives the incoming call, it can simultaneously detect whether the ambient light sensitivity value around the terminal is from large to small and the distance between the terminal and the preset human body part is large or small. If yes, the terminal answers the incoming call.
通过实施本发明实施例,当终端接收另一终端的来电时,终端通过检测自身周围环境的光感值、距离用户的人体部位之间的距离来判断是否接听该来电,而无需针对终端的显示屏上所显示的接听控件进行具体的滑动操作或点击操作,操作简单方便,可避免在终端的显示屏触感不灵敏或用户进行触控操作的人体部位处于潮湿或者油腻的状态下,终端无法接听来电的情况,可提高用户的使用体验。By implementing the embodiment of the present invention, when the terminal receives an incoming call of another terminal, the terminal determines whether to answer the incoming call by detecting the light sensitivity value of the surrounding environment and the distance between the human body parts of the user, without displaying the terminal. The receiving control displayed on the screen performs a specific sliding operation or a click operation, and the operation is simple and convenient, and the terminal can not be answered when the touch screen of the terminal is insensitive or the user's touch operation is in a wet or greasy state. In the case of incoming calls, the user experience can be improved.
在另一种情况下,终端执行接听来电的步骤需要满足上述3个条件。In another case, the step of the terminal performing the answering call needs to satisfy the above three conditions.
在这种情况下,终端接收到来电时,可以先检测终端的运动轨迹是否为由下往上,若是,则终端再检测终端周围的环境光感值是否为由大变小,若是,则终端再检测终端距离预设人体部位之间的距离是否为由大变小,若是,则终端接听来电。或者,终端接收到来电时,可以先检测终端的运动轨迹是否为由下往上,若是,则终端再检测终端距离预设人体部位之间的距离是否为由大变小,若是,则终端再检测终端周围的环境光感值是否为由大变小,若是,则终端接听来电。或者,终端接收到来电时,可以先检测终端周围的环境光感值是否为由大变小,若是,则终端再检测终端的运动轨迹是否为由下往上,若是,则终端再检测终端距离预设人体部位之间的距离是否为由大变小,若是,则终端接听来电。或者,终端接收到来电时,可以先检测终端周围的环境光感值是否为由大变小,若是,则终端再检测终端距离预设人体部位之间的距离是否为由大变小,若是,则终端再检测终端的运动轨迹是否为由下往上,若是,则终端接听来电。或者,终端接收到来电时,可以先检测终端距离预设人体部位之间的距离是否为由大变小,若是,则终端再检测终端的运动轨迹是否为由下往上,若是,则终端再检测终端周围的环境光感值是否为由大变小,若是,则终端接听来电。或者,终端接收到来电时,可以先检测终端距离预设人体部位之间的距离是否为由大变小,若是,则终端再检测终端周围的环境光感值是否为由大变小,若是,则终端再检测终端的运动轨迹是否为由下往上,若是,则终端接听来电。或者,终端接收到来电时,可以同时检测终端的运动轨迹是否为由下往上、终端周围的环境光感值是否为由大变小且终端距离预设人体部位之间的距离是否为由大变小,若是,则终端接听来电。In this case, when the terminal receives the incoming call, it may first detect whether the motion track of the terminal is from bottom to top, and if so, the terminal detects whether the ambient light sensitivity value around the terminal is large or small, and if so, the terminal Then, it is detected whether the distance between the terminal and the preset human body part is from large to small, and if so, the terminal answers the incoming call. Alternatively, when the terminal receives the incoming call, it may first detect whether the motion track of the terminal is from bottom to top, and if so, the terminal further detects whether the distance between the terminal and the preset body part is from large to small, and if so, the terminal It is detected whether the ambient light sensitivity value around the terminal is large or small, and if so, the terminal answers the incoming call. Alternatively, when receiving the incoming call, the terminal may first detect whether the ambient light sensitivity value around the terminal is large or small, and if so, the terminal detects whether the motion track of the terminal is from bottom to top, and if so, the terminal detects the terminal distance again. Whether the distance between the preset human body parts is large or small, and if so, the terminal answers the incoming call. Alternatively, when the terminal receives the incoming call, it may first detect whether the ambient light sensitivity value around the terminal is large or small, and if so, the terminal detects whether the distance between the terminal and the preset human body part is larger or smaller, and if so, Then, the terminal detects whether the motion track of the terminal is from bottom to top, and if so, the terminal answers the incoming call. Alternatively, when the terminal receives the incoming call, it may first detect whether the distance between the terminal and the preset human body part is large or small, and if so, the terminal detects whether the motion track of the terminal is from bottom to top, and if so, the terminal then It is detected whether the ambient light sensitivity value around the terminal is large or small, and if so, the terminal answers the incoming call. Alternatively, when the terminal receives the incoming call, it may first detect whether the distance between the terminal and the preset human body part is from large to small, and if so, the terminal detects whether the ambient light sensitivity value around the terminal is large or small, and if so, Then, the terminal detects whether the motion track of the terminal is from bottom to top, and if so, the terminal answers the incoming call. Or, when the terminal receives the incoming call, it can simultaneously detect whether the motion track of the terminal is from bottom to top, whether the ambient light sensitivity value around the terminal is large or small, and the distance between the terminal distance and the preset human body part is large. It becomes smaller, and if so, the terminal answers the call.
通过实施本发明实施例,当终端接收另一终端的来电时,终端通过同时检测自身的运动轨迹、周围环境的光感值和距离用户的人体部位之间的距离来判断是否接听该来电,而无需针对终端的显示屏上所显示的接听控件进行具体的滑动操作或点击操作,操作简单方便,可避免在终端的显示屏触感不灵敏或用户进行触控操作的人体部位处于潮湿或者油腻的状态下,终端无法接听来电的情况,可提高用户的使用体验。By implementing the embodiment of the present invention, when the terminal receives an incoming call of another terminal, the terminal determines whether to answer the incoming call by simultaneously detecting the motion track of the user, the light sensitivity value of the surrounding environment, and the distance between the human body parts of the user. It is not necessary to perform a specific sliding operation or a click operation on the receiving control displayed on the display screen of the terminal, and the operation is simple and convenient, and the human body part that is insensitive to the display screen of the terminal or the touch operation of the user is in a wet or greasy state. The terminal can't answer the call, which can improve the user experience.
可选的,终端在执行上述步骤S202之后,还可以执行步骤S203-S204。具体的,参见图5,是本发明实施例提供的另一种接听来电方法的流程示意图,以下对步骤S203-S204 进行详细描述。Optionally, after performing the foregoing step S202, the terminal may further perform steps S203-S204. Specifically, referring to FIG. 5, which is a schematic flowchart of another method for answering an incoming call according to an embodiment of the present invention, the following steps S203-S204 Carry out a detailed description.
S203、终端判断上述预设人体部位与终端的显示屏之间的距离是否在预设距离之内,若是,则执行步骤S204。S203. The terminal determines whether the distance between the preset human body part and the display screen of the terminal is within a preset distance. If yes, step S204 is performed.
可选的,终端采用距离传感器来检测预设人体部位与终端的显示屏之间的距离。Optionally, the terminal uses a distance sensor to detect a distance between the preset body part and the display screen of the terminal.
可选的,距离传感器可以包括超声波测距传感器、红外测距传感器、光距感传感器中的任意一种。Optionally, the distance sensor may include any one of an ultrasonic ranging sensor, an infrared ranging sensor, and a light distance sensor.
在一些可能的实现方式中,这里所提及的预设人体部位可以为人脸、耳朵、头等,本发明实施例不作具体限定。In some possible implementations, the preset human body parts mentioned herein may be a human face, an ear, a head, etc., which are not specifically limited in the embodiment of the present invention.
在一些可能的实现方式中,这里所涉及的预设距离可以是由终端自主设置的,也可以是由用户根据自身需求设置的,本发明实施例不作具体限定。例如,预设距离为5厘米。In some possible implementation manners, the preset distance involved herein may be set by the terminal autonomously, or may be set by the user according to the requirements of the user, which is not specifically limited in the embodiment of the present invention. For example, the preset distance is 5 cm.
S204、终端进行熄屏。S204. The terminal performs a screen blanking.
需要说明的是,这里所提到的终端熄屏是指终端的显示屏处于不亮的状态。在该状态下,终端可以保持继续通话状态。若终端检测到的终端距离用户的人脸的距离为3厘米,该距离小于预设距离(例如,5厘米),则终端进行熄屏。It should be noted that the terminal blanking screen mentioned here refers to the state in which the display screen of the terminal is not lit. In this state, the terminal can maintain the call state. If the distance detected by the terminal from the face of the user is 3 cm, and the distance is less than the preset distance (for example, 5 cm), the terminal performs the screen blanking.
通过实施本发明实施例,终端接听来电之后,终端显示通话界面,终端通过检测用户的人体部位与终端的显示屏之间的距离来判断是否对终端进行熄屏处理,可避免因用户的人体部位意外触控终端的通话界面上的通话控件导致通话结束的情况,可提高用户的使用体验。By implementing the embodiment of the present invention, after the terminal answers the incoming call, the terminal displays the call interface, and the terminal determines whether the terminal is screen-outed by detecting the distance between the human body part and the display screen of the terminal, thereby avoiding the human body part of the user. The call control on the call interface of the accidental touch terminal causes the end of the call, which can improve the user experience.
参见图6,是本发明实施例提供的一种终端的结构示意图。如图6所示,终端600可以包括:接收单元610、接听单元620,其中,FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 6, the terminal 600 may include: a receiving unit 610, an answering unit 620, where
接收单元610,用于接收来电;The receiving unit 610 is configured to receive an incoming call.
接听单元620,用于若满足终端的运动轨迹为由下往上、终端周围的环境光感值由大变小和终端距离预设人体部位之间的距离由大变小中的至少一项,则接听来电。The answering unit 620 is configured to: if the motion trajectory of the terminal is satisfied, the ambient light sensation value from the bottom to the top, the ambient light sensation value around the terminal is changed from large to small, and the distance between the terminal body and the preset human body portion is changed from large to small. Then answer the call.
可选的,终端600还包括检测单元;检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端的运动轨迹是否为由下往上,若是,则检测终端周围的环境光感值是否由大变小,若是,则触发接听单元620接听来电。Optionally, the terminal 600 further includes a detecting unit, and the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, detecting whether the motion track of the terminal is from bottom to top, and if yes, detecting the surrounding of the terminal. Whether the ambient light sensitivity value is changed from large to large, and if so, the answering and receiving unit 620 answers the incoming call.
或者,检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端周围的环境光感值是否由大变小,若是,则检测终端的运动轨迹是否为由下往上,若是,则触发接听单元620接听来电。Or, the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the ambient light sensitivity value around the terminal is changed from large to small, and if yes, detecting whether the motion track of the terminal is from bottom to top. If yes, the answering unit 620 is triggered to answer the incoming call.
或者,检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端周围的环境光感值是否由大变小并且检测终端的运动轨迹是否为由下往上,若是,则触发接听单元620接听来电。Alternatively, the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, detecting whether the ambient light sensation value around the terminal is greatly reduced or not, and detecting whether the motion trajectory of the terminal is from bottom to top, and if so, Then, the answering and receiving unit 620 answers the incoming call.
可选的,终端600还包括检测单元;检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端的运动轨迹是否为由下往上,若是,则检测终端距离预设用户的预设人体部位之间的距离是否由大变小,若是,则触发接听单元620接听来电。Optionally, the terminal 600 further includes a detecting unit, and the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, detecting whether the motion track of the terminal is from bottom to top, and if yes, detecting the terminal distance It is assumed that the distance between the preset human body parts of the user is changed from large to small, and if so, the answering unit 620 is triggered to answer the incoming call.
或者,检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端距离预设用户的预设人体部位之间的距离是否由大变小,若是,检测终端的运动 轨迹是否为由下往上,若是,则触发接听单元620接听来电。Alternatively, the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the distance between the detecting terminal and the preset human body part of the preset user is changed from large to small, and if so, detecting the motion of the terminal Whether the track is from bottom to top, and if so, the answering unit 620 is triggered to answer the incoming call.
或者,检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端的运动轨迹是否为由下往上并且检测终端距离预设用户的预设人体部位之间的距离是否由大变小,若是,则触发接听单元620接听来电。Alternatively, the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, check whether the moving track of the terminal is from bottom to top and the distance between the detecting terminal and the preset human body part of the preset user is From large to small, if so, the answering unit 620 is triggered to answer the incoming call.
可选的,终端600还包括检测单元;检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端周围的环境光感值是否由大变小,若是,检测终端距离预设用户的预设人体部位之间的距离是否由大变小,若是,则触发接听单元620接听来电。Optionally, the terminal 600 further includes a detecting unit, and the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, detecting whether the ambient light sensitivity value around the terminal is changed from large to small, and if so, detecting the terminal distance Whether the distance between the preset human body parts of the preset user is changed from large to small, and if so, the answering unit 620 is triggered to answer the incoming call.
或者,检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端距离预设用户的预设人体部位之间的距离是否由大变小,若是,检测终端周围的环境光感值是否由大变小;若是,则触发接听单元620接听来电。Or, the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the distance between the detecting terminal and the preset human body part of the preset user is changed from large to small, and if so, detecting the environment around the terminal Whether the light sensitivity value is changed from large to large; if so, the answering and receiving unit 620 answers the incoming call.
或者,检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端周围的环境光感值是否由大变小并且检测终端距离预设用户的预设人体部位之间的距离是否由大变小,若是,则触发接听单元620接听来电。Alternatively, the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the ambient light sensitivity value around the terminal is changed from large to small and the detecting terminal is away from the preset human body part of the preset user. Whether the distance is changed from large to large, and if so, the answering unit 620 is triggered to answer the incoming call.
可选的,终端600还包括检测单元;检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端的运动轨迹是否为由下往上,若是,检测终端周围的环境光感值是否由大变小,若是,检测终端距离预设人体部位之间的距离是否由大变小,若是,则触发接听单元620接听来电。Optionally, the terminal 600 further includes a detecting unit, and the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, detecting whether the motion track of the terminal is from bottom to top, and if so, detecting the environment around the terminal. Whether the light sensation value is changed from large to small, and if so, whether the distance between the detection terminal and the preset body part is changed from large to small, and if so, the answering unit 620 is triggered to answer the incoming call.
或者,检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端的运动轨迹是否为由下往上,若是,终端检测终端距离预设人体部位之间的距离是否由大变小,若是,检测终端周围的环境光感值是否由大变小,若是,则触发接听单元620接听来电。Alternatively, the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the motion track of the terminal is from bottom to top, and if so, whether the distance between the terminal detecting terminal and the preset human body part is If the value is small, if the ambient light sensitivity value around the terminal is detected to be large or small, if so, the answering unit 620 is triggered to answer the incoming call.
或者,检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端周围的环境光感值是否由大变小,若是,检测终端的运动轨迹是否为由下往上,若是,检测终端距离预设人体部位之间的距离是否由大变小,若是,则触发接听单元620接听来电。Or, the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the ambient light sensitivity value around the terminal is changed from large to small, and if so, whether the motion track of the detecting terminal is from bottom to top. If yes, whether the distance between the detection terminal and the preset body part is changed from large to small, and if so, the answering unit 620 is triggered to answer the incoming call.
或者,检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端周围的环境光感值是否由大变小,若是,检测终端距离预设人体部位之间的距离是否由大变小,若是,检测终端的运动轨迹是否为由下往上,若是,则触发接听单元620接听来电。Or, the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the ambient light sense value around the terminal is changed from large to small, and if so, whether the distance between the detecting terminal and the preset human body part is If it is large, if it is, the motion track of the detecting terminal is from bottom to top, and if so, the answering unit 620 is triggered to answer the incoming call.
或者,检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端距离预设人体部位之间的距离是否由大变小,若是,检测终端的运动轨迹是否为由下往上,若是,检测终端周围的环境光感值是否由大变小,若是,则触发接听单元620接听来电。Alternatively, the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the distance between the detecting terminal and the preset human body part is changed from large to small, and if so, whether the motion track of the detecting terminal is lower Upward, if yes, it is detected whether the ambient light sensitivity value around the terminal is greatly reduced, and if so, the answering and receiving unit 620 is called to answer the incoming call.
或者,检测单元,用于在接收单元610接收来电之后,接听单元620接听来电之前,检测终端距离预设人体部位之间的距离是否由大变小,若是,检测终端周围的环境光感值是否由大变小,若是,检测终端的运动轨迹是否为由下往上,若是,则触发接听单元620接听来电。 Or, the detecting unit is configured to: after the receiving unit 610 receives the incoming call, before the answering unit 620 answers the incoming call, whether the distance between the detecting terminal and the preset human body part is changed from large to small, and if so, whether the ambient light sense value around the detecting terminal is If it is large, if it is, the motion track of the detecting terminal is from bottom to top, and if so, the answering unit 620 is triggered to answer the incoming call.
可选的,终端600还包括判断单元和处理单元。Optionally, the terminal 600 further includes a determining unit and a processing unit.
判断单元,用于接听单元620接听来电之后,判断预设人体部位与终端的显示屏之间的距离是否在预设距离之内。The judging unit is configured to determine whether the distance between the preset human body part and the display screen of the terminal is within a preset distance after the answering unit 620 answers the incoming call.
处理单元,用于若判断单元判断出预设人体部位与终端的显示屏之间的距离在预设距离之内,则进行熄屏。The processing unit is configured to: if the determining unit determines that the distance between the preset human body part and the display screen of the terminal is within a preset distance, the screen is turned off.
可以理解的是,本实施例的终端600的各功能单元的功能可根据上述图3、图5所示方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of the functional units of the terminal 600 of the present embodiment may be specifically implemented according to the method in the foregoing method embodiment shown in FIG. 3 and FIG. 5, and the specific implementation process may refer to the related description of the foregoing method embodiments. I will not repeat them here.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims (10)

  1. 一种接听来电方法,其特征在于,包括:A method for answering incoming calls, characterized in that it comprises:
    终端接收来电;The terminal receives an incoming call;
    若满足以下条件中的至少一项,则所述终端接听所述来电:The terminal answers the call if at least one of the following conditions is met:
    所述终端的运动轨迹为由下往上、所述终端周围的环境光感值由大变小、所述终端距离预设人体部位之间的距离由大变小。The motion trajectory of the terminal is from bottom to top, the ambient light sensation value around the terminal is changed from large to small, and the distance between the terminal and the preset human body part is greatly reduced.
  2. 根据权利要求1所述的方法,其特征在于,所述终端接收来电之后,所述终端接听所述来电之前,还包括:The method according to claim 1, wherein after the terminal receives the incoming call, the terminal further includes:
    所述终端检测所述终端的运动轨迹是否为由下往上;The terminal detects whether the motion track of the terminal is from bottom to top;
    若是,则所述终端检测所述终端周围的环境光感值是否由大变小;If yes, the terminal detects whether the ambient light sensation value around the terminal is changed from large to small;
    若是,则所述终端执行所述接听所述来电的步骤;If yes, the terminal performs the step of answering the incoming call;
    或者,所述终端接收来电之后,所述终端接听所述来电之前,还包括:Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes:
    所述终端检测所述终端周围的环境光感值是否由大变小;The terminal detects whether the ambient light sensation value around the terminal is changed from large to small;
    若是,则所述终端检测所述终端的运动轨迹是否为由下往上;If yes, the terminal detects whether the motion track of the terminal is from bottom to top;
    若是,则所述终端执行所述接听所述来电的步骤;If yes, the terminal performs the step of answering the incoming call;
    或者,所述终端接收来电之后,所述终端接听所述来电之前,还包括:Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes:
    所述终端检测所述终端周围的环境光感值是否由大变小并且所述终端检测所述终端的运动轨迹是否为由下往上;The terminal detects whether the ambient light sensation value around the terminal is greatly changed from small to large and the terminal detects whether the motion trajectory of the terminal is from bottom to top;
    若是,则所述终端执行所述接听所述来电的步骤。If yes, the terminal performs the step of answering the incoming call.
  3. 根据权利要求1所述的方法,其特征在于,所述终端接收来电之后,所述终端接听所述来电之前,还包括:The method according to claim 1, wherein after the terminal receives the incoming call, the terminal further includes:
    所述终端检测所述终端的运动轨迹是否为由下往上;The terminal detects whether the motion track of the terminal is from bottom to top;
    若是,所述终端检测所述终端距离预设人体部位之间的距离是否由大变小;If yes, the terminal detects whether the distance between the terminal and the preset human body part is changed from large to small;
    若是,则所述终端执行所述接听所述来电的步骤;If yes, the terminal performs the step of answering the incoming call;
    或者,所述终端接收来电之后,所述终端接听所述来电之前,还包括:Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes:
    所述终端检测所述终端距离预设人体部位之间的距离是否由大变小;The terminal detects whether the distance between the terminal and the preset human body part is changed from large to small;
    若是,所述终端检测所述终端的运动轨迹是否为由下往上;If yes, the terminal detects whether the motion track of the terminal is from bottom to top;
    若是,则所述终端执行所述接听所述来电的步骤;If yes, the terminal performs the step of answering the incoming call;
    或者,所述终端接收来电之后,所述终端接听所述来电之前,还包括:Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes:
    所述终端检测所述终端的运动轨迹是否为由下往上并且所述终端检测所述终端距离预设人体部位之间的距离是否由大变小;The terminal detects whether the motion track of the terminal is from bottom to top and the terminal detects whether the distance between the terminal and the preset body part is changed from large to small;
    若是,则所述终端执行所述接听所述来电的步骤。If yes, the terminal performs the step of answering the incoming call.
  4. 根据权利要求1所述的方法,其特征在于,所述终端接收来电之后,所述终端接听所述来电之前,还包括: The method according to claim 1, wherein after the terminal receives the incoming call, the terminal further includes:
    所述终端检测所述终端周围的环境光感值是否由大变小;The terminal detects whether the ambient light sensation value around the terminal is changed from large to small;
    若是,所述终端检测所述终端距离预设人体部位之间的距离是否由大变小;If yes, the terminal detects whether the distance between the terminal and the preset human body part is changed from large to small;
    若是,则所述终端执行所述接听所述来电的步骤;If yes, the terminal performs the step of answering the incoming call;
    或者,所述终端接收来电之后,所述终端接听所述来电之前,还包括:Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes:
    所述终端检测所述终端距离预设人体部位之间的距离是否由大变小;The terminal detects whether the distance between the terminal and the preset human body part is changed from large to small;
    若是,所述终端检测所述终端周围的环境光感值是否由大变小;If yes, the terminal detects whether the ambient light sensation value around the terminal is changed from large to small;
    若是,则所述终端执行所述接听所述来电的步骤;If yes, the terminal performs the step of answering the incoming call;
    或者,所述终端接收来电之后,所述终端接听所述来电之前,还包括:Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes:
    所述终端检测所述终端周围的环境光感值是否由大变小并且所述终端检测所述终端距离预设人体部位之间的距离是否由大变小;The terminal detects whether the ambient light sensation value around the terminal is greatly reduced or not, and the terminal detects whether the distance between the terminal and the preset human body part is changed from large to small;
    若是,则所述终端执行所述接听所述来电的步骤。If yes, the terminal performs the step of answering the incoming call.
  5. 根据权利要求1所述的方法,其特征在于,所述终端接收来电之后,所述终端接听所述来电之前,还包括:The method according to claim 1, wherein after the terminal receives the incoming call, the terminal further includes:
    所述终端检测所述终端的运动轨迹是否为由下往上;The terminal detects whether the motion track of the terminal is from bottom to top;
    若是,所述终端检测所述终端周围的环境光感值是否由大变小;If yes, the terminal detects whether the ambient light sensation value around the terminal is changed from large to small;
    若是,所述终端检测所述终端距离预设人体部位之间的距离是否由大变小;If yes, the terminal detects whether the distance between the terminal and the preset human body part is changed from large to small;
    若是,则所述终端执行所述接听所述来电的步骤;If yes, the terminal performs the step of answering the incoming call;
    或者,所述终端接收来电之后,所述终端接听所述来电之前,还包括:Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes:
    所述终端检测所述终端的运动轨迹是否为由下往上;The terminal detects whether the motion track of the terminal is from bottom to top;
    若是,所述终端检测所述终端距离预设人体部位之间的距离是否由大变小;If yes, the terminal detects whether the distance between the terminal and the preset human body part is changed from large to small;
    若是,所述终端检测所述终端周围的环境光感值是否由大变小;If yes, the terminal detects whether the ambient light sensation value around the terminal is changed from large to small;
    若是,则所述终端执行所述接听所述来电的步骤;If yes, the terminal performs the step of answering the incoming call;
    或者,所述终端接收来电之后,所述终端接听所述来电之前,还包括:Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes:
    所述终端检测所述终端周围的环境光感值是否由大变小;The terminal detects whether the ambient light sensation value around the terminal is changed from large to small;
    若是,终端检测所述终端的运动轨迹是否为由下往上;If yes, the terminal detects whether the motion track of the terminal is from bottom to top;
    若是,所述终端检测所述终端距离预设人体部位之间的距离是否由大变小;If yes, the terminal detects whether the distance between the terminal and the preset human body part is changed from large to small;
    若是,则所述终端执行所述接听所述来电的步骤;If yes, the terminal performs the step of answering the incoming call;
    或者,所述终端接收来电之后,所述终端接听所述来电之前,还包括:Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes:
    所述终端检测所述终端周围的环境光感值是否由大变小;The terminal detects whether the ambient light sensation value around the terminal is changed from large to small;
    若是,所述终端检测所述终端距离预设人体部位之间的距离是否由大变小;If yes, the terminal detects whether the distance between the terminal and the preset human body part is changed from large to small;
    若是,终端检测所述终端的运动轨迹是否为由下往上;If yes, the terminal detects whether the motion track of the terminal is from bottom to top;
    若是,则所述终端执行所述接听所述来电的步骤;If yes, the terminal performs the step of answering the incoming call;
    或者,所述终端接收来电之后,所述终端接听所述来电之前,还包括:Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes:
    所述终端检测所述终端距离预设人体部位之间的距离是否由大变小;The terminal detects whether the distance between the terminal and the preset human body part is changed from large to small;
    若是,终端检测所述终端的运动轨迹是否为由下往上;If yes, the terminal detects whether the motion track of the terminal is from bottom to top;
    若是,所述终端检测所述终端周围的环境光感值是否由大变小;If yes, the terminal detects whether the ambient light sensation value around the terminal is changed from large to small;
    若是,则所述终端执行所述接听所述来电的步骤; If yes, the terminal performs the step of answering the incoming call;
    或者,所述终端接收来电之后,所述终端接听所述来电之前,还包括:Or, after the terminal receives the incoming call, before the terminal answers the incoming call, the method further includes:
    所述终端检测所述终端距离预设人体部位之间的距离是否由大变小;The terminal detects whether the distance between the terminal and the preset human body part is changed from large to small;
    若是,所述终端检测所述终端周围的环境光感值是否由大变小;If yes, the terminal detects whether the ambient light sensation value around the terminal is changed from large to small;
    若是,终端检测所述终端的运动轨迹是否为由下往上;If yes, the terminal detects whether the motion track of the terminal is from bottom to top;
    若是,则所述终端执行所述接听所述来电的步骤。If yes, the terminal performs the step of answering the incoming call.
  6. 根据权利要求1所述的方法,其特征在于,所述终端接听所述来电之后,还包括:The method according to claim 1, wherein after the terminal answers the incoming call, the method further includes:
    所述终端判断所述预设人体部位与所述终端的显示屏之间的距离是否在预设距离之内;Determining, by the terminal, whether a distance between the preset human body part and a display screen of the terminal is within a preset distance;
    若是,则所述终端进行熄屏。If so, the terminal performs a screen blanking.
  7. 一种终端,其特征在于,所述终端包括用于执行权利要求1-6任一项所述接听来电方法的模块或单元。A terminal, characterized in that the terminal comprises a module or unit for performing the method of answering an incoming call according to any one of claims 1-6.
  8. 一种终端,其特征在于,所述终端包括:处理器和存储器,所述存储器用于存储程序指令和/或数据,所述处理器用于调用所述存储器存储的程序指令执行权利要求1-6任一项所述接听来电方法。A terminal, characterized in that the terminal comprises: a processor for storing program instructions and/or data, the processor for calling the program instructions stored in the memory to execute claims 1-6 Any of the methods of answering incoming calls.
  9. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行权利要求1-6任一项所述接听来电方法。A computer storage medium, characterized in that the computer storage medium stores a computer program, the computer program comprising program instructions, the program instructions, when executed by a processor, causing the processor to perform any of claims 1-6 A method of answering calls.
  10. 一种计算机程序,其特征在于,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行权利要求1-6任一项所述接听来电方法。 A computer program, comprising: program instructions, which, when executed by a processor, cause the processor to perform the method of answering an incoming call according to any one of claims 1-6.
PCT/CN2017/112871 2017-11-24 2017-11-24 Method for answering incoming call, terminal, storage medium, and computer program WO2019100331A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/112871 WO2019100331A1 (en) 2017-11-24 2017-11-24 Method for answering incoming call, terminal, storage medium, and computer program
CN201780096991.XA CN111357266A (en) 2017-11-24 2017-11-24 Method, terminal, storage medium and computer program for answering incoming call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/112871 WO2019100331A1 (en) 2017-11-24 2017-11-24 Method for answering incoming call, terminal, storage medium, and computer program

Publications (1)

Publication Number Publication Date
WO2019100331A1 true WO2019100331A1 (en) 2019-05-31

Family

ID=66631259

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/112871 WO2019100331A1 (en) 2017-11-24 2017-11-24 Method for answering incoming call, terminal, storage medium, and computer program

Country Status (2)

Country Link
CN (1) CN111357266A (en)
WO (1) WO2019100331A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002145A (en) * 2012-11-28 2013-03-27 广东欧珀移动通信有限公司 Phone answering method and device based on mobile terminal
US20130183946A1 (en) * 2012-01-18 2013-07-18 Samsung Electronics Co. Ltd. Apparatus and method for processing call services in mobile terminal
CN103634442A (en) * 2012-08-27 2014-03-12 百度在线网络技术(北京)有限公司 Three-dimensional gesture and voice-based autodialing method and mobile terminal
CN103795843A (en) * 2012-10-30 2014-05-14 联想(北京)有限公司 Call answering method and electronic device
CN104580665A (en) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 Communication method of intelligent terminal and intelligent terminal
CN105245712A (en) * 2015-10-15 2016-01-13 广东欧珀移动通信有限公司 Mobile terminal and call processing method and device of mobile terminal
CN106325467A (en) * 2015-06-15 2017-01-11 中兴通讯股份有限公司 Method and device for controlling mobile terminal, and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009159002A (en) * 2007-12-25 2009-07-16 Panasonic Electric Works Co Ltd Speech apparatus
CN104683544A (en) * 2013-11-29 2015-06-03 深圳富泰宏精密工业有限公司 Portable electronic device and use method thereof
CN106033248B (en) * 2015-03-09 2019-06-25 联想(北京)有限公司 A kind of information processing method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130183946A1 (en) * 2012-01-18 2013-07-18 Samsung Electronics Co. Ltd. Apparatus and method for processing call services in mobile terminal
CN103634442A (en) * 2012-08-27 2014-03-12 百度在线网络技术(北京)有限公司 Three-dimensional gesture and voice-based autodialing method and mobile terminal
CN103795843A (en) * 2012-10-30 2014-05-14 联想(北京)有限公司 Call answering method and electronic device
CN103002145A (en) * 2012-11-28 2013-03-27 广东欧珀移动通信有限公司 Phone answering method and device based on mobile terminal
CN104580665A (en) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 Communication method of intelligent terminal and intelligent terminal
CN106325467A (en) * 2015-06-15 2017-01-11 中兴通讯股份有限公司 Method and device for controlling mobile terminal, and mobile terminal
CN105245712A (en) * 2015-10-15 2016-01-13 广东欧珀移动通信有限公司 Mobile terminal and call processing method and device of mobile terminal

Also Published As

Publication number Publication date
CN111357266A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN107613131B (en) Application program disturbance-free method, mobile terminal and computer-readable storage medium
CN109343759B (en) Screen-turning display control method and terminal
WO2019154181A1 (en) Display control method and mobile terminal
CN108021305B (en) Application association starting method and device and mobile terminal
WO2019154182A1 (en) Method for setting volume of application program, and mobile terminal
CN109240577B (en) Screen capturing method and terminal
WO2019174541A1 (en) Operation method for mobile terminal and mobile terminal
CN108429888B (en) Light supplementing method and mobile terminal
CN108681413B (en) Control method of display module and mobile terminal
WO2019080775A1 (en) Notification message prompting method and mobile terminal
CN108307106B (en) Image processing method and device and mobile terminal
CN109085968B (en) Screen capturing method and terminal equipment
CN110531915B (en) Screen operation method and terminal equipment
CN107613095B (en) Incoming call processing method and mobile terminal
WO2020238459A1 (en) Display method and terminal device
CN107728923B (en) Operation processing method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN112423138A (en) Search result display method and terminal equipment
CN110837327A (en) Message viewing method and terminal
JP2022501739A (en) Stylus pen detection method, system and related equipment
CN111324268A (en) Information reminding method and electronic equipment
CN108322602B (en) Method, terminal and computer readable storage medium for processing application no response
CN111275532A (en) Commodity expiration early warning method and device, computer equipment and storage medium
US20190034685A1 (en) Method and device for optical fingerprint recognition, and computer-readable storage medium
CN110795021B (en) Information display method and device and electronic equipment

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

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

Country of ref document: EP

Kind code of ref document: A1