CN108307075B - Incoming call processing method and mobile terminal - Google Patents
Incoming call processing method and mobile terminal Download PDFInfo
- Publication number
- CN108307075B CN108307075B CN201810122507.2A CN201810122507A CN108307075B CN 108307075 B CN108307075 B CN 108307075B CN 201810122507 A CN201810122507 A CN 201810122507A CN 108307075 B CN108307075 B CN 108307075B
- Authority
- CN
- China
- Prior art keywords
- incoming call
- user
- distance
- mobile terminal
- hanging
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides an incoming call processing method and a mobile terminal, which relate to the technical field of communication, and the method comprises the following steps: controlling the distance sensor to detect the distance change between the mobile terminal and the user in the state of receiving the first incoming call; under the condition of receiving a second incoming call, acquiring distance change information detected by the distance sensor in the ringing process of the second incoming call; and under the condition that the distance change information meets a preset condition and the answering request of the second way of incoming call input by the user is not received, executing the operation of hanging up the second way of incoming call. The invention can improve the conversation quality when the user answers the first incoming call.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an incoming call processing method and a mobile terminal.
Background
When a user answers a call by using a mobile terminal such as a mobile phone, if a second call (which can be called as a second incoming call) is called, the mobile phone reminds the user through a receiver and provides a button on a desktop for the user to select whether to answer the second incoming call.
In such a scenario, the user will generally remove the phone from the ear, check the information of the second incoming call, and then decide whether to answer the call. If the user does not intend to answer the second incoming call, the user is required to manually refuse to connect. Then the quality of the call that the user is currently receiving is affected in this case.
Disclosure of Invention
The embodiment of the invention provides an incoming call processing method and a mobile terminal, and aims to solve the problem that the existing incoming call processing method affects the conversation quality of a user.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an incoming call processing method, applied to a mobile terminal provided with a distance sensor, including:
controlling the distance sensor to detect the distance change between the mobile terminal and the user in the state of receiving the first incoming call;
under the condition of receiving a second incoming call, acquiring distance change information detected by the distance sensor in the ringing process of the second incoming call;
and under the condition that the distance change information meets a preset condition and the answering request of the second way of incoming call input by the user is not received, executing the operation of hanging up the second way of incoming call.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where a distance sensor is disposed in the mobile terminal, and the mobile terminal includes:
the first processing module is used for controlling the distance sensor to detect the distance change between the mobile terminal and the user in the state of receiving the first incoming call;
the information acquisition module is used for acquiring distance change information detected by the distance sensor in the ringing process of the second incoming call under the condition of receiving the second incoming call;
and the second processing module is used for executing the operation of hanging up the second path of incoming call under the condition that the distance change information meets the preset condition and the answering request of the second path of incoming call input by the user is not received.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including: memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the incoming call processing method according to the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps in the incoming call processing method according to the first aspect.
In the embodiment of the invention, in the process of answering the first incoming call, if the second incoming call is received, the second incoming call can be automatically rejected for the user according to the distance change information of the distance sensor of the mobile terminal and whether the answering request of the user to the second incoming call is received. Therefore, the scheme of the embodiment of the invention can improve the conversation quality when the user answers the first incoming call.
Drawings
Fig. 1 is a flowchart of an incoming call processing method according to an embodiment of the present invention;
fig. 2 is a second flowchart of an incoming call processing method according to an embodiment of the present invention;
fig. 3 is one of the structural diagrams of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a second block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a third structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of an incoming call processing method provided by an embodiment of the present invention, and is applied to a mobile terminal, where a distance sensor is disposed in the mobile terminal, as shown in fig. 1, including the following steps:
In the embodiment of the invention, the mobile terminal is provided with the distance sensor. The distance sensors on the mobile terminal are typically located on both sides of the mobile terminal handset or in a mobile terminal handset recess. When the user is answering the call, the mobile terminal is brought close to the ear, and the distance sensor can measure that the distance between the ear and the mobile terminal is reduced. After the signal is reduced to a certain degree, the screen background light is informed to be turned off; when the mobile terminal is detected to be far away from the ear, the background light is lightened again, so that the operation of a user is more convenient, and the device is more electricity-saving.
A distance sensor used in a mobile terminal is a type of sensor that uses time to perform distance measurement. When the distance sensor works, an infrared pulse sensor in the distance sensor calculates the distance between the mobile terminal and the object by emitting a particularly short light pulse and measuring the time from the emission of the light pulse to the reflection of the light pulse by the object.
When the mobile terminal receives the first incoming call, the mobile terminal can ring to the user, lighten the screen of the mobile terminal and display the options of answering and rejecting on the screen for the user to select. If the user selects 'answer', the user triggers the answering operation of the first incoming call, and correspondingly, the mobile terminal receives the answering request of the user for the first incoming call. At this time, under the condition that an answering request of the first incoming call input by a user is received, call connection of the first incoming call is established, and the distance sensor is activated to enable the distance sensor to detect distance change between the mobile terminal and the user.
And 102, under the condition that a second incoming call is received, acquiring distance change information detected by the distance sensor in the ringing process of the second incoming call.
Generally, when a user answers a call by using an earphone, if there is an incoming call, a screen is lighted, and the user picks up the mobile terminal to bring the mobile terminal close to the ear of the user. In the process, the distance between the mobile terminal and the ear of the user is monitored by the distance sensor, and compared with the state when the call is not received, the distance is gradually reduced until the distance is reduced to be less than a certain threshold value, and the background light of the screen is informed to be turned off. At this time, if there is a second incoming call, the user will usually take the mobile terminal away from the ear, and the distance between the mobile terminal and the ear of the user is gradually increased. No matter whether the second path of incoming call is rejected or answered, if the user continues to answer the first path of incoming call again, the mobile terminal still approaches the ear again, so that the distance between the mobile terminal and the ear of the user is reduced again.
Therefore, if the mobile terminal receives the second incoming call, the distance between the ear of the user and the mobile terminal will show the change process in the ringing process of the second incoming call, that is, the distance change information detected by the distance sensor is: first decrease, then increase, then decrease.
Or, in the above process, under the condition that the connection has been established for the first incoming call, it is assumed that at this time, the user brings the mobile terminal close to the ear to answer the first incoming call. In the process, if the second incoming call is received, the user takes the mobile terminal away from the ear, and the distance between the mobile terminal and the ear of the user gradually increases. No matter whether the second path of incoming call is rejected or answered, if the user continues to answer the first path of incoming call again, the mobile terminal still approaches the ear again, so that the distance between the mobile terminal and the ear of the user is reduced again. Namely, the distance change information detected by the distance sensor is: first increasing and then decreasing.
And 103, under the condition that the distance change information meets a preset condition and an answering request of the second path of incoming call input by a user is not received, executing an operation of hanging up the second path of incoming call.
When receiving the second path of incoming call, the mobile terminal can ring to the user, lighten the screen of the mobile terminal and display the options of answering and rejecting on the screen for the user to select. If the user selects 'answer', the user inputs an answer request for the second path of incoming call, and correspondingly, the mobile terminal receives the answer request for the second path of incoming call from the user. Otherwise, if the user selects the "reject" option or any operation of the user is not detected, it may be considered that the answer request of the user for the second incoming call is not received.
According to the description of step 102, in the case that the distance change information indicates that the distance between the mobile terminal and the user is changed from distance increase to distance decrease in the ringing process of the second incoming call, and the answer request of the second incoming call input by the user is not received, the operation of hanging up the second incoming call is executed. Or, in the ringing process of the second incoming call indicated by the distance change information, the operation of hanging up the second incoming call is executed under the condition that the distance between the mobile terminal and the user is changed from distance reduction to distance increase and then to distance reduction, and the answering request of the second incoming call input by the user is not received.
Specifically, when the operation of hanging up the second incoming call is performed, the mobile terminal may not play the second incoming call prompt tone any more, and the call interface recovers to the call state of the first incoming call. By the method, whether the user really wants to reject the second incoming call can be determined more accurately.
In the embodiment of the present invention, the method may be applied to a mobile terminal, for example: a Mobile phone, a tablet Computer (tablet personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
In the embodiment of the invention, in the process of answering the first incoming call, if the second incoming call is received, the second incoming call can be automatically rejected for the user according to the distance change information of the distance sensor of the mobile terminal and whether the answering request of the user to the second incoming call is received. Therefore, the scheme of the embodiment of the invention can improve the conversation quality when the user answers the first incoming call.
Referring to fig. 2, fig. 2 is a flowchart of an incoming call processing method provided by an embodiment of the present invention, and is applied to a mobile terminal, where a distance sensor is disposed in the mobile terminal, as shown in fig. 2, the method includes the following steps:
Wherein, the descriptions of steps 201 and 202 can refer to the descriptions of steps 101-102.
In the embodiment of the invention, in the setting information of the mobile terminal, a setting option is provided for the user to select whether the mobile terminal is allowed to automatically hang up the second path of incoming call, so that the operation of the user is more convenient, and the user experience is improved. In this embodiment, it is assumed that the user inputs a request to automatically hang up the second incoming call.
And step 204, responding to a request for automatically hanging up the second way of incoming call input by the user, and executing the operation of hanging up the second way of incoming call.
And after the operation of hanging up the second path of incoming call is executed, the distance sensor can be triggered to enter a dormant state so as to save electric energy.
In the embodiment of the invention, in the process of answering the first incoming call, if the second incoming call is received, the second incoming call can be automatically rejected for the user according to the distance change information of the distance sensor of the mobile terminal and whether the answering request of the user to the second incoming call is received. Therefore, the scheme of the embodiment of the invention can improve the conversation quality when the user answers the first incoming call.
Referring to fig. 3, fig. 3 is a structural diagram of a mobile terminal provided in an embodiment of the present invention, where a distance sensor is disposed in the mobile terminal, and as shown in fig. 3, the mobile terminal 300 includes:
the first processing module 301 is configured to control the distance sensor to detect a distance change between the mobile terminal and the user in a state where the first incoming call is received;
an information obtaining module 302, configured to obtain, if the mobile terminal receives a second incoming call, a state change of the distance sensor in a ringing process of the second incoming call;
the second processing module 303 is configured to execute an operation of hanging up the second way of incoming call when the distance change information meets a predetermined condition and an answer request of the second way of incoming call input by a user is not received.
Optionally, the first processing module 301 is specifically configured to, in a case that an answer request of the first incoming call input by a user is received, establish a call connection of the first incoming call, and activate a distance sensor, so that the distance sensor detects a distance change between the mobile terminal and the user.
Optionally, the second processing module 303 is specifically configured to, in a case that the distance between the mobile terminal and the user is changed from increasing to decreasing in a ringing process of the second incoming call indicated by the distance change information, and an answer request of the second incoming call input by the user is not received, execute an operation of hanging up the second incoming call.
Optionally, the second processing module 303 is specifically configured to, in a case that the distance between the mobile terminal and the user is changed from distance reduction to distance increase and then to distance reduction in a ringing process of the second incoming call indicated by the distance change information, and an answer request of the second incoming call input by the user is not received, execute an operation of hanging up the second incoming call.
As shown in fig. 4, to further improve the user experience, the mobile terminal may further include: a receiving module 304, configured to receive a request for automatically hanging up the second path of incoming call, where the request is input by a user; the second processing module 303 is specifically configured to, in response to a request for automatically hooking up the second way of incoming call input by the user, execute an operation of hooking up the second way of incoming call.
The mobile terminal 300 can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
In the embodiment of the invention, in the process of answering the first incoming call, if the second incoming call is received, the second incoming call can be automatically rejected for the user according to the distance change information of the distance sensor of the mobile terminal and whether the answering request of the user to the second incoming call is received. Therefore, the scheme of the embodiment of the invention can improve the conversation quality when the user answers the first incoming call.
Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 500 includes, but is not limited to: the device comprises a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510 and a power supply 511, wherein the sensor 505 comprises a distance sensor. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 510 is configured to, in a state where the first incoming call is received, control the distance sensor to detect a change in distance between the mobile terminal and the user; under the condition of receiving a second incoming call, acquiring distance change information detected by the distance sensor in the ringing process of the second incoming call; and under the condition that the distance change information meets a preset condition and the answering request of the second way of incoming call input by the user is not received, executing the operation of hanging up the second way of incoming call.
The processor 510 is configured to, in a case that an answer request of the first incoming call input by a user is received, establish a call connection of the first incoming call, and activate a distance sensor, so that the distance sensor detects a distance change between the mobile terminal and the user.
Wherein, the processor 510 is configured to, in a case that the distance change information indicates that the distance between the mobile terminal and the user is changed from distance increase to distance decrease in a ringing process of the second incoming call, and an answer request of the second incoming call input by the user is not received, execute an operation of hanging up the second incoming call.
Wherein, the processor 510 is configured to, in a case that the distance change information indicates that the distance between the mobile terminal and the user is changed from distance decrease to distance increase and then to distance decrease in a ringing process of the second incoming call, and an answer request of the second incoming call input by the user is not received, execute an operation of hanging up the second incoming call.
In the embodiment of the invention, in the process of answering the first incoming call, if the second incoming call is received, the second incoming call can be automatically rejected for the user according to the distance change information of the distance sensor of the mobile terminal and whether the answering request of the user to the second incoming call is received. Therefore, the scheme of the embodiment of the invention can improve the conversation quality when the user answers the first incoming call.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the method embodiment shown in fig. 1 or fig. 2, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the method embodiment shown in fig. 1 or fig. 2, and can achieve the same technical effect, and in order to avoid repetition, the computer program is not described herein again. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. An incoming call processing method is applied to a mobile terminal provided with a distance sensor, and is characterized by comprising the following steps:
controlling the distance sensor to detect the distance change between the mobile terminal and the user in the state of receiving the first incoming call;
under the condition of receiving a second incoming call, acquiring distance change information detected by the distance sensor in the ringing process of the second incoming call;
executing an operation of hanging up the second path of incoming call under the condition that the distance change information meets a preset condition and an answering request of the second path of incoming call input by a user is not received;
the controlling the distance sensor to detect the distance change between the mobile terminal and the user in the state of receiving the first incoming call includes:
and under the condition of receiving the answering request of the first incoming call input by the user, establishing the call connection of the first incoming call, and activating a distance sensor to enable the distance sensor to detect the distance change between the mobile terminal and the user.
2. The method according to claim 1, wherein the performing an operation of hanging up the second incoming call if the distance change information satisfies a predetermined condition and an answer request of the second incoming call input by a user is not received comprises:
and under the condition that the distance change information indicates that the distance between the mobile terminal and the user is changed from distance increase to distance decrease in the ringing process of the second incoming call and the answering request of the second incoming call input by the user is not received, executing the operation of hanging up the second incoming call.
3. The method according to claim 1, wherein the performing an operation of hanging up the second incoming call if the distance change information satisfies a predetermined condition and an answer request of the second incoming call input by a user is not received comprises:
and when the distance change information indicates that the distance between the mobile terminal and the user is changed from distance reduction to distance increase and then to distance reduction in the ringing process of the second incoming call, and the answering request of the second incoming call input by the user is not received, executing the operation of hanging up the second incoming call.
4. The method according to claim 1, wherein before the performing the operation of hanging up the second incoming call if the distance change information satisfies a predetermined condition and the user does not receive the answer request of the second incoming call, the method further comprises:
receiving a request for automatically hanging up the second path of incoming call input by a user;
and under the condition that the distance change information meets a preset condition and an answering request of the second path of incoming call input by a user is not received, executing an operation of hanging up the second path of incoming call, specifically:
and responding to a request for automatically hanging up the second way of incoming call input by the user, and executing the operation of hanging up the second way of incoming call.
5. A mobile terminal provided with a distance sensor therein, comprising:
the first processing module is used for controlling the distance sensor to detect the distance change between the mobile terminal and the user in the state of receiving the first incoming call;
the information acquisition module is used for acquiring distance change information detected by the distance sensor in the ringing process of the second incoming call under the condition of receiving the second incoming call;
the second processing module is used for executing the operation of hanging up the second path of incoming call under the condition that the distance change information meets the preset condition and the answering request of the second path of incoming call input by the user is not received;
the first processing module is specifically configured to, in a case where an answer request of the first incoming call input by a user is received, establish a call connection of the first incoming call, and activate a distance sensor, so that the distance sensor detects a change in distance between the mobile terminal and the user.
6. The mobile terminal of claim 5, wherein the second processing module is specifically configured to, in a case that the distance change information indicates that a distance between the mobile terminal and the user is changed from distance increase to distance decrease in a ringing process of the second incoming call, and an answer request of the second incoming call input by the user is not received, perform an operation of hanging up the second incoming call.
7. The mobile terminal of claim 5, wherein the second processing module is specifically configured to, in a case that the distance change information indicates that, in a ringing process of the second incoming call, a distance between the mobile terminal and the user changes from a distance decrease to a distance increase and then to a distance decrease, and an answer request of the second incoming call input by the user is not received, execute an operation of hanging up the second incoming call.
8. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
the receiving module is used for receiving a request for automatically hanging up the second path of incoming call, which is input by a user;
the second processing module is specifically configured to, in response to a request for automatically hooking up the second way of incoming call input by the user, execute an operation of hooking up the second way of incoming call.
9. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method for handling incoming calls as claimed in any one of claims 1 to 4.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the incoming call processing method according to any one of claims 1 to 4.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810122507.2A CN108307075B (en) | 2018-02-07 | 2018-02-07 | Incoming call processing method and mobile terminal |
PCT/CN2019/074410 WO2019154322A1 (en) | 2018-02-07 | 2019-02-01 | Incoming call processing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810122507.2A CN108307075B (en) | 2018-02-07 | 2018-02-07 | Incoming call processing method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108307075A CN108307075A (en) | 2018-07-20 |
CN108307075B true CN108307075B (en) | 2020-06-09 |
Family
ID=62864525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810122507.2A Active CN108307075B (en) | 2018-02-07 | 2018-02-07 | Incoming call processing method and mobile terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108307075B (en) |
WO (1) | WO2019154322A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108307075B (en) * | 2018-02-07 | 2020-06-09 | 维沃移动通信有限公司 | Incoming call processing method and mobile terminal |
CN109246306B (en) * | 2018-10-09 | 2021-03-26 | Oppo广东移动通信有限公司 | Incoming call processing method, incoming call processing device, mobile terminal and computer readable storage medium |
CN111031173B (en) * | 2019-11-27 | 2021-09-24 | 维沃移动通信有限公司 | Incoming call processing method and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012049666A (en) * | 2010-08-25 | 2012-03-08 | Kyocera Corp | Portable telephone set and control program therefor |
CN103581438A (en) * | 2013-10-21 | 2014-02-12 | 深圳市金立通信设备有限公司 | Method and terminal for switching dual-calling states |
CN103825998A (en) * | 2012-11-19 | 2014-05-28 | 振中资讯股份有限公司 | Method for automatically answering or hanging up incoming call according to motion sensing operation |
CN104243701A (en) * | 2014-09-05 | 2014-12-24 | 广州金山网络科技有限公司 | Method for answering call and call answering device |
CN105391854A (en) * | 2015-10-15 | 2016-03-09 | 广东欧珀移动通信有限公司 | Audio incoming call processing method and audio incoming call processing device |
CN105516439A (en) * | 2014-09-23 | 2016-04-20 | 中兴通讯股份有限公司 | Telephone answering method, telephone hanging up method, and terminal |
CN107295151A (en) * | 2016-03-31 | 2017-10-24 | 宇龙计算机通信科技(深圳)有限公司 | A kind of multi-way call control method and device |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101854430A (en) * | 2010-04-19 | 2010-10-06 | 广东欧珀移动通信有限公司 | Mobile phone and incoming call processing method thereof |
EP3073717B1 (en) * | 2012-02-27 | 2019-10-23 | BlackBerry Limited | Method and apparatus pertaining to processing incoming calls |
CN103795843B (en) * | 2012-10-30 | 2016-10-05 | 联想(北京)有限公司 | A kind of method received calls and a kind of electronic equipment |
US8971868B2 (en) * | 2013-05-23 | 2015-03-03 | Elwha Llc | Mobile device that activates upon removal from storage |
CN103701990A (en) * | 2013-12-20 | 2014-04-02 | 上海卓悠网络科技有限公司 | Method and device for muted response of incoming call |
CN105100484B (en) * | 2015-07-31 | 2018-03-20 | 小米科技有限责任公司 | A kind of methods, devices and systems for terminating voice call |
CN106131328B (en) * | 2016-06-30 | 2019-08-02 | 宇龙计算机通信科技(深圳)有限公司 | Call control method, call control apparatus and terminal |
CN108307075B (en) * | 2018-02-07 | 2020-06-09 | 维沃移动通信有限公司 | Incoming call processing method and mobile terminal |
-
2018
- 2018-02-07 CN CN201810122507.2A patent/CN108307075B/en active Active
-
2019
- 2019-02-01 WO PCT/CN2019/074410 patent/WO2019154322A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012049666A (en) * | 2010-08-25 | 2012-03-08 | Kyocera Corp | Portable telephone set and control program therefor |
CN103825998A (en) * | 2012-11-19 | 2014-05-28 | 振中资讯股份有限公司 | Method for automatically answering or hanging up incoming call according to motion sensing operation |
CN103581438A (en) * | 2013-10-21 | 2014-02-12 | 深圳市金立通信设备有限公司 | Method and terminal for switching dual-calling states |
CN104243701A (en) * | 2014-09-05 | 2014-12-24 | 广州金山网络科技有限公司 | Method for answering call and call answering device |
CN105516439A (en) * | 2014-09-23 | 2016-04-20 | 中兴通讯股份有限公司 | Telephone answering method, telephone hanging up method, and terminal |
CN105391854A (en) * | 2015-10-15 | 2016-03-09 | 广东欧珀移动通信有限公司 | Audio incoming call processing method and audio incoming call processing device |
CN107295151A (en) * | 2016-03-31 | 2017-10-24 | 宇龙计算机通信科技(深圳)有限公司 | A kind of multi-way call control method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2019154322A1 (en) | 2019-08-15 |
CN108307075A (en) | 2018-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108391008B (en) | Message reminding method and mobile terminal | |
CN108521501B (en) | Voice input method, mobile terminal and computer readable storage medium | |
CN110233933B (en) | Call method, terminal equipment and computer readable storage medium | |
CN108681413B (en) | Control method of display module and mobile terminal | |
CN107835495B (en) | Message prompting method and device and mobile terminal | |
CN108848267B (en) | Audio playing method and mobile terminal | |
CN111107223B (en) | Message processing method and electronic equipment | |
CN108833683B (en) | Dynamic antenna adjustment implementation method and related product | |
CN108307075B (en) | Incoming call processing method and mobile terminal | |
CN111093137B (en) | Volume control method, volume control equipment and computer readable storage medium | |
CN109982273B (en) | Information reply method and mobile terminal | |
US20220110036A1 (en) | Random access method and terminal | |
CN109639738B (en) | Voice data transmission method and terminal equipment | |
CN109729301B (en) | Message checking method and device | |
CN109005297B (en) | Display method of navigation application and mobile terminal | |
CN108093119B (en) | Strange incoming call number marking method and mobile terminal | |
CN108307048B (en) | Message output method and device and mobile terminal | |
CN110796438A (en) | Message sending method and mobile terminal | |
CN107734153B (en) | Call control method, terminal and computer readable storage medium | |
CN109639905B (en) | Incoming call reminding method, mobile terminal and computer readable storage medium | |
CN110213439B (en) | Message processing method and terminal | |
CN109005377B (en) | Video processing method and terminal equipment | |
CN109660657B (en) | Application program control method and device | |
CN111031173B (en) | Incoming call processing method and electronic equipment | |
CN110493831B (en) | Power determination method and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |