CN109561217B - Terminal incoming call answering method and device, mobile terminal and storage medium - Google Patents

Terminal incoming call answering method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN109561217B
CN109561217B CN201811561798.1A CN201811561798A CN109561217B CN 109561217 B CN109561217 B CN 109561217B CN 201811561798 A CN201811561798 A CN 201811561798A CN 109561217 B CN109561217 B CN 109561217B
Authority
CN
China
Prior art keywords
terminal
incoming call
answering
call
type
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
Application number
CN201811561798.1A
Other languages
Chinese (zh)
Other versions
CN109561217A (en
Inventor
王蕾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811561798.1A priority Critical patent/CN109561217B/en
Publication of CN109561217A publication Critical patent/CN109561217A/en
Application granted granted Critical
Publication of CN109561217B publication Critical patent/CN109561217B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72427User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting games or graphical animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Abstract

The invention discloses a terminal incoming call answering method, which comprises the steps of acquiring the incoming call type of a terminal incoming call and the application name of foreground application currently running by the terminal when the terminal incoming call is detected; judging whether the foreground application is a preset application or not according to the application name; if the foreground application is a preset application, acquiring the far-end connection state of the terminal, and popping up an answering prompt on a terminal screen according to the type of the incoming call and the far-end connection state; and acquiring a feedback instruction of the user based on the answering prompt, and answering the incoming call of the terminal in an answering mode determined by the feedback instruction and the incoming call type. The invention also discloses a terminal incoming call answering device, a mobile terminal and a storage medium. The invention avoids the problem that the current game or video entertainment application of the user is interrupted by the incoming call of the terminal, and the entertainment experience of the user such as the game or video is influenced. The entertainment experience of the user such as games or videos is improved, and therefore the user experience of the terminal equipment is improved.

Description

Terminal incoming call answering method and device, mobile terminal and storage medium
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a method and a device for answering a terminal incoming call, a mobile terminal and a storage medium.
Background
People are difficult to avoid incoming calls in entertainment processes such as watching videos or playing games by adopting a terminal. When the terminal calls, the call interface always covers the current application interface and interrupts the current entertainment application. However, not all terminal calls are important calls or calls that the user wants to answer, and if the current entertainment application of the user is interrupted when the terminal calls, the user experience is affected.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a terminal incoming call answering method, and aims to solve the technical problem that the user experience is influenced because the current application of a user is interrupted by the incoming call of a terminal.
In order to achieve the above object, the present invention provides a method for answering a terminal incoming call, including:
when a terminal incoming call is detected, acquiring the incoming call type of the terminal incoming call and the application name of foreground application currently running by the terminal;
judging whether the foreground application is a preset application or not according to the application name;
if the foreground application is a preset application, acquiring a far-end connection state of the terminal, and popping up an answering prompt on a terminal screen according to the incoming call type and the far-end connection state;
and acquiring a feedback instruction of the user based on the answering prompt, and answering the incoming call of the terminal in an answering mode determined by the feedback instruction and the incoming call type.
Optionally, the step of acquiring the incoming call type of the terminal incoming call and the application name of the foreground application currently running on the terminal when the terminal incoming call is detected includes:
when a terminal incoming call is detected, determining that the terminal incoming call is a common voice incoming call or a video incoming call;
acquiring an activity attribute of the current stack top layer of the terminal;
and determining the application name of the foreground application currently running by the terminal according to the activity attribute.
Optionally, the step of popping up an answer prompt on a terminal screen according to the incoming call type and the far-end connection state includes:
if the call type is a common voice call and the far-end connection state is that the terminal is connected with a far end, popping up a first answering prompt in a specified area of a terminal screen;
if the call type is a common voice call and the far-end connection state is that the terminal is not connected with the far end, popping up a second answering prompt in a designated area of a terminal screen;
and if the incoming call type is a video incoming call, popping up a third answering prompt in a specified area of a terminal screen.
Optionally, the step of answering the incoming call of the terminal in the answering mode determined by the feedback instruction and the incoming call type includes:
if the call type is a common voice call, determining a first answering type of the terminal call according to the feedback instruction;
and if the first answering type is loudspeaker answering or remote answering, the terminal incoming call is put through, and a call interface of the terminal incoming call is displayed on a terminal status bar.
Optionally, the step of answering the incoming call of the terminal in the answering mode determined by the feedback instruction and the incoming call type includes:
if the call type is a video call, determining a second answering type of the terminal call according to the feedback instruction;
if the second answering type is split screen answering, the terminal incoming call is connected, and a call interface and the foreground application of the terminal incoming call are displayed in a split screen mode on a terminal screen;
and if the second answering type is answering in the status bar, the terminal incoming call is connected, and a call interface of the terminal incoming call is displayed in the status bar of the terminal.
Optionally, the step of obtaining a feedback instruction of the user based on the answering prompt and answering the incoming call of the terminal in an answering mode determined by the feedback instruction and the incoming call type further includes:
detecting and acquiring the duration of no input of a microphone and no output of a receiver of the terminal;
and if the duration is greater than a preset threshold, automatically hanging up the incoming call of the terminal.
Optionally, if the duration is greater than a preset threshold, the step of automatically hanging up the incoming call of the terminal includes:
if the duration is longer than a preset threshold, outputting a hang-up prompt for hanging up the incoming call of the terminal;
acquiring a hang-up instruction fed back by the user based on the hang-up reminder;
and hanging up the incoming call of the terminal according to the hanging-up instruction.
In addition, to achieve the above object, the present invention further provides a terminal incoming call answering device, including:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the incoming call type of a terminal incoming call and the application name of foreground application currently running by the terminal when the terminal incoming call is detected;
the judging module is used for judging whether the foreground application is a preset application or not according to the application name;
the prompt module is used for acquiring the far-end connection state of the terminal if the foreground application is a preset application, and popping up an answering prompt on a terminal screen according to the incoming call type and the far-end connection state;
and the answering module is used for acquiring a feedback instruction of the user based on the answering prompt and answering the incoming call of the terminal in an answering mode determined by the feedback instruction and the incoming call type.
In addition, to achieve the above object, the present invention also provides a mobile terminal, including: the system comprises a memory, a processor and a terminal incoming call answering program which is stored on the memory and can be operated on the processor, wherein the terminal incoming call answering program realizes the steps of the terminal incoming call answering method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a storage medium having a terminal incoming call answering program stored thereon, wherein the terminal incoming call answering program, when executed by a processor, implements the steps of the terminal incoming call answering method as described above.
The embodiment of the invention provides a method for answering a terminal incoming call, which comprises the steps of obtaining the incoming call type of the terminal incoming call and the application name of foreground application currently running by the terminal when the terminal incoming call is detected; judging whether the foreground application is a preset application or not according to the application name; if the foreground application is a preset application, acquiring the far-end connection state of the terminal, and popping up an answering prompt on a terminal screen according to the type of the incoming call and the far-end connection state; and acquiring a feedback instruction of the user based on the answering prompt, and answering the incoming call of the terminal in an answering mode determined by the feedback instruction and the incoming call type. The user can autonomously select whether to answer the incoming call of the terminal under the condition of not interrupting the current entertainment application; and can maintain the current entertainment application interface when answering an incoming call. The method and the device avoid that the current game or video entertainment application of the user is interrupted by the terminal incoming call, and the game or video entertainment experience of the user is influenced. The entertainment experience of the user such as games or videos is improved, and therefore the user experience of the terminal equipment is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal according to an embodiment of the present invention;
FIG. 2 is a diagram of a wireless communication device of the mobile terminal of FIG. 1;
FIG. 3 is a flowchart illustrating a first embodiment of a method for answering an incoming call;
FIG. 4 is a diagram illustrating a scenario of answering prompts of incoming calls of the terminal during a game page according to the first embodiment;
fig. 5 is a schematic view of a scene displayed on a video call page and a game page of the terminal in a split-screen manner according to the second embodiment.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 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.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures 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 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 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 107 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 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 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 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 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 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, without limitation.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. 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 108 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 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store a software program and various data, and the memory 109 may be a computer storage medium, and the memory 109 stores the incoming call answering program of the terminal according to the present invention. The memory 109 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 for 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 109 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 110 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 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. For example, the processor 110 executes the incoming call answering program in the memory 109 to implement the steps of the embodiments of the incoming call answering method of the terminal of the present invention.
Processor 110 may include one or more processing units; alternatively, the processor 110 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 the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving GateWay) 2034, a PGW (PDN GateWay) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, and the like.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Referring to fig. 3, in a first embodiment of a terminal incoming call answering method of the present invention, the terminal incoming call answering method includes:
step S10, when detecting the terminal incoming call, obtaining the incoming call type of the terminal incoming call and the application name of the foreground application currently running by the terminal;
when a terminal incoming call is detected, determining the incoming call type of the terminal incoming call; and acquiring the application name of the foreground application currently running by the terminal. The terminal call can be a voice call or a video call in an application program, such as a voice call or a video call in WeChat; or a common voice call or a video call carried by the terminal, such as a common voice call or a video call of a mobile phone card of a mobile phone. The incoming call type refers to a terminal incoming call mode, and is mainly divided into two types in this embodiment, such as a normal voice incoming call or a video incoming call.
Optionally, step S10 includes:
step A1, when detecting the terminal incoming call, determining the terminal incoming call as a common voice incoming call or a video incoming call;
specifically, when a terminal incoming call is detected, firstly, the incoming call type of the terminal incoming call is determined, whether the terminal incoming call is a common voice incoming call or a video incoming call is determined, and whether the terminal incoming call is a common voice incoming call or a video incoming call carried by the terminal or a voice incoming call or a video incoming call in other application programs can be known.
Step A2, acquiring activity property of the current stack top layer of the terminal;
then, the Activity of the current stack top layer is obtained from the Activity stack of the terminal, and the Activity attribute of the Activity of the current stack top layer of the terminal is determined. The activity attribute refers to activity information and an activity state, and the activity state includes: an active or run state, a pause state, a stop state, and an end or termination state.
Activity is one of the four most basic and most common components (Activity, Service, Content Provider Content receiver, BroadcastReceiver broadcast receiver) in Android components. All actions in Activity are closely related to the user, and are a component responsible for interaction with the user, and the specified control can be displayed through setContentView (View). In an android application, an Activity is usually a separate screen on which controls can be displayed and in which the user's events can be monitored and processed in response. Activity communicates with each other through Intent. Android manages Activity by means of an Activity stack, and the state of an Activity instance determines its position in the stack. Activity in the foreground is always at the top of the stack, and when the Activity in the foreground is destroyed due to an exception or other reasons, the Activity in the second layer of the stack is activated and floats to the top of the stack. When a new Activity initiates a pop, the original Activity will be pushed onto the second level of the stack. A change in the location of an Activity on the stack reflects its transition between different states. In android, Activity has four basic states: Active/Running, after a new Activity is started to be pushed, it is displayed at the forefront of the screen, the processing is at the top of the stack (Activity stack top), and at this time, it is in an Active state which is visible and can interact with the user, called Active or Running state (Active or Running). Paused, when Activity loses focus, is placed on top of the stack by a new non-full-screen Activity or a transparent Activity, the state at this time being called Paused (Paused). At this point it remains connected to the window manager and Activity remains alive (keeping all state, member information, and window manager connected), but will be forced to terminate when system memory is extremely low. It is still visible but has lost focus and is therefore not available for interaction with the user. Stopped, if one Activity is completely covered by another Activity, is called a Stopped state (Stopped). It still maintains all state and member information, but it is no longer visible, so its window is hidden, and when system memory needs to be used elsewhere, the Stopped Activity will be forcibly terminated. If an Activity is in a used or Stopped state, the system can delete the Activity from the memory, and the Android system deletes the Activity in two ways, or requires the Activity to be ended or directly terminates the process of the Activity. When the Activity is again displayed to the user, it must restart and reset the previous state.
Step A3, determining the application name of the foreground application currently running by the terminal according to the activity attribute.
And when the activity state or the running state of the current stack top layer of the terminal is in the activity state, determining the application name of the foreground application currently running by the terminal from the activity information.
Wherein, step a1, step a2 and step A3 are merely illustrative in the embodiments of the present invention; step a1, which is not necessarily sequential to step a2 and step A3, step a1 may be performed before or after step a2, and step a1 may be performed before or after step A3.
In this embodiment, by obtaining the activity attribute of the current stack top layer of the terminal, it is determined that the user is using the terminal application and the application name of the currently running foreground application; through the activity attribute of the current stack top layer of the terminal, the running state of the current application of the terminal and the application name of the currently running foreground application can be more accurately obtained. Therefore, whether the user uses the terminal application or not and the application information of the application used by the user can be accurately judged.
Step S20, judging whether the foreground application is a preset application according to the application name;
the application name of the foreground application currently running by the terminal is compared with the application names of the preset applications, and whether the application name of the foreground application currently running by the terminal is one of the application names of the preset applications or not is judged, so that whether the foreground application currently running by the terminal is the preset application or not is judged. For example, the application names of the preset applications are: "love magic art video", "you cool video", "Tengxin video", "Rong Yao", "Happy Xiaole", etc.; if the application name of the foreground application currently running by the terminal is 'love art video', the application name of the foreground application currently running by the terminal is compared with the application name of the preset application, the application name of the foreground application currently running by the terminal is found to be 'love art video', and the foreground application currently running by the terminal is determined to be the preset application. If the application name of the foreground application currently running by the terminal is 'potato video', the application name is 'potato video' and is compared with the application name of the preset application, and the application name is 'no video' which is not found in the application name of the preset application, the foreground application currently running by the terminal is determined not to be the preset application.
The preset application may be an application set by a user or a default setting of the system, and may be set according to specific needs, and the application name and the number of the preset applications are not specifically limited in this embodiment.
Step S30, if the foreground application is the preset application, acquiring the far-end connection state of the terminal, and popping up an answer prompt on the terminal screen according to the incoming call type and the far-end connection state;
and if the foreground application currently running on the terminal is the preset application, acquiring the far-end connection state of the terminal and determining whether the terminal is connected with the far end. The far-end connection state refers to the connection condition of the terminal and other answering equipment; for example, a wireless earphone is connected to the terminal, a wired earphone is used to connect the terminal, or a sound box is used to connect the terminal. If the terminal call is a common voice call and the terminal has a connection far end, a receiving prompt pops up to prompt the user to utilize the far end to receive or hang up. If the terminal call is a common voice call and the terminal has no connection far end, a receiving prompt pops up to prompt the user to receive or hang up by using the loudspeaker. And if the incoming call of the terminal is a video incoming call, popping up an answering prompt to prompt a user to answer or hang up. Wherein the pop-up listen prompt should be at the top of the terminal or other location that does not obscure or affect the user's use of the current foreground application.
Optionally, whether the terminal is connected with the far end or not is determined, and whether the terminal is in a horizontal screen state or a vertical screen state is determined by acquiring the horizontal screen and vertical screen states of the terminal. When the terminal is in a horizontal screen state, if the incoming call of the terminal is a common voice incoming call and the terminal has a connection far end, a receiving prompt pops up to prompt a user to utilize the far end to receive or hang up. If the terminal call is a common voice call and the terminal has no connection far end, a receiving prompt pops up to prompt the user to receive or hang up by using the loudspeaker. And if the incoming call of the terminal is a video incoming call, popping up an answering prompt to prompt a user to answer or hang up.
Optionally, step S30 includes:
if the call type is a common voice call and the far-end connection state is that the terminal is connected with the far end, popping up a first answering prompt in a specified area of a terminal screen;
if the call type is a common voice call and the far-end connection state is that the terminal is not connected with the far end, popping up a second answering prompt in a specified area of a terminal screen;
and if the incoming call type is a video incoming call, popping up a third answering prompt in a specified area of a terminal screen.
Specifically, if the terminal call is a normal voice call and the terminal has a connection far end, a receiving prompt pops up in a designated area of a terminal screen, wherein the receiving prompt includes options: answer or hang up. The designated area refers to the area on the top of the terminal or other positions which do not obstruct or influence the user to use the current foreground application, and the like.
If the terminal incoming call is a common voice incoming call and the terminal is not connected with a far end, popping up a first answering prompt in a designated area of a terminal screen; wherein the first answer prompt includes an option: listening, listening with a loudspeaker or hanging up.
If the incoming call of the terminal is a common voice incoming call and the terminal is not connected with a far end, popping up a second answering prompt in a designated area of a terminal screen; wherein the second answer prompt includes an option: listening, listening with a loudspeaker or hanging up.
If the incoming call of the terminal is a video incoming call, popping up a third answering prompt in a designated area of a terminal screen; wherein the third answer prompt includes an option: answer or hang up.
For ease of understanding, the description is made by way of example. Referring to fig. 4, fig. 4 is a schematic view of a scene of a receiving prompt of a terminal incoming call in a game page. For example, when a user is playing a game using a terminal, the terminal suddenly comes, and then the terminal call will not generate a call display interface covering the current game page, and a call answering prompt pops up in a specified area, such as the top of a screen, which does not affect the current game page. The answering prompt comprises answering, speaker answering and hang-up, and a user can select to answer the incoming call of the terminal under the condition of not influencing the current game page; when the user selects 'the loudspeaker to answer', the user can directly put through the incoming call of the terminal and automatically turn on the loudspeaker without turning on the loudspeaker by the user.
Optionally, when the terminal is in a landscape state, if the incoming call of the terminal is a common voice incoming call and the terminal has a connected far end, popping up a first answering prompt in a specified area of a terminal screen; wherein the first answer prompt includes an option: "answer" or "hang up"; if the terminal incoming call is a common voice incoming call and the terminal is not connected with a far end, popping up a second answering prompt in a designated area of a terminal screen; wherein the second answer prompt includes an option: listening, listening with a loudspeaker or hanging up. If the incoming call of the terminal is a video incoming call, popping up a third answering prompt in a designated area of a terminal screen; wherein the third answer prompt includes an option: answer or hang up. It can be understood that the implementation of the invention does not influence the user to use the current foreground application when the terminal is called, and the options included in the proposed answering prompt are provided; in other embodiments, the answer prompt may include more or fewer options than are listed for practicing the invention.
In this embodiment, whether the user wants to interrupt the current foreground application and answer the terminal call is more accurately inferred and determined according to the current states of the terminal, such as horizontal screen and vertical screen. Determining a reminding mode of the terminal incoming call according to the foreground application currently running by the terminal, and giving an option for a user to process the terminal incoming call; under the condition that the current foreground application operation of the user is not shielded or influenced, the user can quickly select to answer or hang up the incoming call of the terminal according to the options, and the terminal user experience is greatly improved.
And step S40, obtaining a feedback instruction of the user based on the answering prompt, and answering the incoming call of the terminal in an answering mode determined by the feedback instruction and the incoming call type.
After the answer prompt pops up on the terminal screen, the user selects the option of processing the terminal call according to the requirement. If the user does not want to answer the incoming call of the terminal, the user can directly select to hang up the incoming call of the terminal. If the user does not want to answer the incoming call of the terminal, no feedback can be made, and the incoming call of the terminal cannot cover or influence the application currently used by the user. If the user wants to answer the incoming call of the terminal, the corresponding answering option can be directly selected from the popped answering prompt. And acquiring a feedback instruction of the user based on the answering prompt, and determining the answering mode selected by the user according to the feedback instruction of the user based on the answering prompt. According to the answering mode selected by the user, the incoming call of the terminal is put through; and displaying the call state at the corresponding position according to the call type, such as displaying the call state in a state bar.
The feedback instruction refers to an instruction received by the terminal when the user selects "hang up" or "answer" if the incoming call type of the terminal is a normal voice incoming call and the terminal has a connection far end. And if the incoming call type of the terminal is a common voice incoming call and the terminal is not connected with a far end, the user selects 'hang-up', 'loudspeaker answering' or 'answering', and the terminal receives an instruction. And if the incoming call type of the terminal is a video incoming call, the user selects hanging up, answering in a status bar or split screen answering, and the terminal receives an instruction.
In the embodiment, when a call comes through the terminal, the application currently used by a user is not covered or influenced; the user can select to answer or hang up the incoming call of the terminal on the current foreground application page according to the requirement, and can select an answering mode by one key when selecting answering. The method and the device facilitate the user to quickly process the terminal incoming call when using other applications, do not influence the current foreground application page, and improve the terminal user experience.
Further, in the second embodiment of the method for answering an incoming call by a terminal of the present invention, step S40 includes:
step B1, if the call type is a common voice call, determining a first answering type of the terminal call according to the feedback instruction;
and if the incoming call type of the terminal is a common voice incoming call, determining the answering type of the terminal incoming call according to a feedback instruction made by the user based on the answering prompt.
Specifically, if the incoming call type of the terminal is a normal voice incoming call and the terminal has a connection far end, the terminal can receive an instruction that the user selects 'hang up' or 'answer'; the terminal needs to determine whether the user selects "hang up" or "answer". If the user selects 'answer', the user adopts the far end to answer the common voice call and displays the conversation state in the status bar; if the user selects 'hang up', the incoming call of the terminal is directly hung up; and the incoming call of the terminal can not cover or influence the use of the current foreground application by the user.
If the incoming call type of the terminal is a common voice incoming call and the terminal is not connected with a far end, the terminal can receive an instruction of selecting 'hang up', 'loudspeaker answering' or 'answering' by a user; the terminal needs to determine whether the user selects "hang up" or "speaker listen" or "listen". If the user selects 'hang up', the incoming call of the terminal is directly hung up; if the user selects 'the loudspeaker to answer', automatically starting a terminal loudspeaker to answer a common voice call and displaying a call state in a state bar; and the incoming call of the terminal can not cover or influence the use of the current foreground application by the user. If the user selects 'answer', then adopting a terminal receiver to answer the common voice call; and may override the application currently being used by the user. The first answering type refers to an answering mode for a user to select a common voice call, and includes: hang up, answer and loudspeaker answer.
And step B2, if the first answering type is loudspeaker answering or remote answering, connecting the terminal incoming call, and displaying the call interface of the terminal incoming call in the terminal status bar.
If the incoming call type of the terminal is a common voice incoming call and the terminal has a connection far end, when the user selects 'answer', the incoming call of the terminal is connected and the incoming call of the terminal is directly answered by adopting the far end; and the call interface of the incoming call of the terminal is displayed in the terminal status bar, the application currently used by the user is not covered, and the incoming call of the terminal and the current foreground application can be simultaneously carried out. If the incoming call type of the terminal is a common voice incoming call and the terminal has no connected far end, when the user selects 'the loudspeaker to answer', the incoming call of the terminal is connected and the terminal is directly answered by the loudspeaker of the terminal; and the call interface of the incoming call of the terminal is displayed in the terminal status bar, the application currently used by the user is not covered, and the incoming call of the terminal and the current foreground application can be simultaneously carried out.
When the user selects 'the loudspeaker to answer', the user does not need to enter the corresponding call interface to start the loudspeaker after answering the terminal call, the user can conveniently answer the terminal call, and the condition that the terminal call influences the user to use the current foreground application at the same time is avoided.
In this embodiment, if the incoming call type of the terminal is a normal voice incoming call, the user does not want to interrupt the current applications such as games or video screens, and wants to answer the incoming call of the terminal at the same time; the user can select to adopt the loudspeaker to answer the terminal call or the far-end to answer the terminal call, the current foreground application use of the user cannot be influenced, and the call and the current foreground application can be carried out simultaneously; after the incoming call of the terminal is connected, the call state can be displayed on the status bar and cannot cover the current foreground application page; the use requirements of users are met, the experience of entertainment applications such as games or video screens is improved, and the user experience of the terminal equipment is greatly improved.
Optionally, step S40 further includes:
step C1, if the incoming call type is a video incoming call, determining a second answering type of the incoming call of the terminal according to the feedback instruction;
and if the incoming call type of the terminal is a video incoming call, determining the answering type of the terminal incoming call according to a feedback instruction made by the user based on the answering prompt.
Specifically, if the incoming call type of the terminal is a video incoming call and the terminal has a connection far end, the terminal can receive an instruction that the user selects 'hang-up', 'status bar answering' or 'split screen answering'; the terminal needs to determine whether the user selects "hang up" or "status bar answer" or "split screen answer". If the user selects 'answer in the status bar', answering the video call and displaying the call status in the status bar; if the user selects 'split screen answering', answering a video incoming call, and dividing a terminal screen into two screens to respectively display a call state and the current foreground application; if the user selects 'hang up', the incoming call of the terminal is directly hung up; and the incoming call of the terminal cannot be interrupted or influence the use of the current foreground application by the user. The second answering type refers to an answering mode of a video incoming call selected by a user, and includes: hang up, answer in status bar, and answer in split screen.
Step C2, if the second answering type is split screen answering, the incoming call of the terminal is connected, and the call interface and foreground application of the incoming call of the split screen display terminal are started on the screen of the terminal;
and if the second answering type is answering in the status bar, the incoming call of the terminal is connected, and a call interface of the incoming call of the terminal is displayed in the status bar of the terminal.
If the incoming call type of the terminal is a video incoming call, when a user selects 'answer in the status bar', the incoming call of the terminal is connected and a call interface of the incoming call of the terminal is displayed in the status bar of the terminal without covering the application currently used by the user, and the incoming call of the terminal and the current foreground application can be simultaneously carried out. When the user selects 'split screen answering', the terminal incoming call is connected, the terminal screen is split into two screens, the call state and the current foreground application page are displayed respectively, the application currently used by the user is not covered, and the terminal incoming call and the current foreground application can be carried out simultaneously.
For ease of understanding, the description is made by way of example. Referring to fig. 5, fig. 5 is a schematic view of a scene displayed by the terminal video call page and the game page in a split screen manner. For example, if the user is currently playing a game and the terminal suddenly comes on a call, the user selects "split screen answer"; the terminal divides the video incoming call page and the game page into two screens to display on the screen, and displays the video incoming call page and the game page at the same time; the current game page can not be covered, and the current game process of the user can not be influenced.
In this embodiment, if the incoming call type of the terminal is a video incoming call, the user does not want to interrupt the current applications such as games or video screens, and wants to answer the video incoming call of the terminal at the same time; the user can select 'split screen answering' or 'status bar answering' to answer the video call of the terminal, and after the user selects 'status bar answering' to connect the video call of the terminal, the call state can be displayed in the status bar and cannot cover the current foreground application page; after a user selects 'split screen answering' to connect a video call of a terminal, a terminal screen is divided into two screens, and a call state and a current foreground application page are respectively displayed; the current foreground application of the user cannot be influenced, and the video call and the current foreground application can be simultaneously carried out. The use requirements of users are met, the experience of entertainment applications such as games or video screens is improved, and the user experience of the terminal equipment is greatly improved.
Further, in the third embodiment of the method for answering an incoming call by a terminal of the present invention, after step S40, the method further includes:
step D1, detecting and acquiring the duration of no input of a microphone and no output of a receiver of the terminal;
and D2, if the duration is longer than the preset threshold, automatically hanging up the incoming call of the terminal.
After the incoming call of the terminal is connected, if the user uses other applications at the same time, for example, in the process of playing a game, other operations are inconvenient to be carried out; the user is inconvenient to hang up the current terminal incoming call after the call content is finished. For this terminal, it is necessary to automatically suspend the incoming call of the current terminal according to the call condition of the user. Firstly, whether a microphone of the terminal has input and whether a receiver has output is detected, and if the microphone of the terminal has no input and the receiver has no output, the duration of no input of the microphone and no output of the receiver of the terminal is obtained. And if the microphone of the terminal has no input and the duration of the receiver having no output is greater than the preset threshold, automatically hanging up the current incoming call of the terminal. The preset threshold is a specified maximum value of the duration and is used for judging whether to automatically hang up the current incoming call of the terminal; the threshold value may be set according to specific needs, and the numerical value of the preset threshold value is not particularly limited in this embodiment.
In this embodiment, the duration of no input of the microphone and no output of the receiver of the terminal is obtained, and if the duration is greater than a preset threshold, the incoming call of the terminal is automatically hung up. When the user does not carry out the current call interaction for a long time, the current terminal incoming call is automatically hung up; the method and the device avoid the situation that the current terminal incoming call conversation can be intelligently and automatically hung up when the user carries out other applications, particularly game applications and the like and is inconvenient to carry out other operations, bring convenience to the user to carry out other applications such as games and the like, and improve the user experience of the terminal equipment.
Optionally, step D2 includes:
if the duration is longer than a preset threshold, outputting a hang-up prompt for hanging up the incoming call of the terminal;
acquiring a hang-up instruction fed back by a user based on hang-up reminding;
and hanging up the incoming call of the terminal according to the hanging-up instruction.
Optionally, if the microphone of the terminal has no input and the duration of no output of the receiver is greater than the preset threshold, the terminal outputs a hang-up prompt for hanging up the current incoming call of the terminal to remind the user that the current call is too long and no communication is available, and asks the user whether to hang up the current call. The hang-up prompt can be a voice prompt, or a pop-up prompt box prompt, or a prompt at a specified position such as the top of a screen. The user can directly feed back whether to hang up the current call in the hang up prompt. And acquiring a hang-up instruction fed back by the user based on the hang-up prompt, and hanging up the current terminal incoming call when receiving the hang-up instruction fed back by the user.
In this embodiment, if the microphone of the terminal has no input and the duration of no output of the receiver is greater than the preset threshold, the hang-up prompt of hanging up the incoming call of the terminal is output, so that the user can be timely reminded that the current call is still in progress. Acquiring a hang-up instruction fed back by the user based on the hang-up reminding, and hanging up the current terminal incoming call according to the hang-up instruction; more accurately determining whether the user needs to hang up the current call, and hanging up the current terminal incoming call according to the user need; the user can conveniently play games and other applications, and the user experience of the terminal equipment is improved.
In addition, an embodiment of the present invention further provides a terminal incoming call answering device, where the terminal incoming call answering device includes:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the incoming call type of a terminal incoming call and the application name of foreground application currently running by the terminal when the terminal incoming call is detected;
the judging module is used for judging whether the foreground application is a preset application or not according to the application name;
the prompt module is used for acquiring the far-end connection state of the terminal if the foreground application is a preset application, and popping up an answering prompt on a terminal screen according to the incoming call type and the far-end connection state;
and the answering module is used for acquiring a feedback instruction of the user based on the answering prompt and answering the incoming call of the terminal in an answering mode determined by the feedback instruction and the incoming call type.
Optionally, the obtaining module is further configured to:
when a terminal incoming call is detected, determining that the terminal incoming call is a common voice incoming call or a video incoming call;
acquiring activity attribute of the current stack top layer of the terminal;
and determining the application name of the foreground application currently running by the terminal according to the activity attribute.
Optionally, the listening module is further configured to:
if the call type is a common voice call and the far-end connection state is that the terminal is connected with a far end, popping up a first answering prompt in a specified area of a terminal screen;
if the call type is a common voice call and the far-end connection state is that the terminal is not connected with a far end, popping up a second answering prompt in a specified area of a terminal screen;
and if the call type is a video call, popping up a third answering prompt in a specified area of a terminal screen.
Optionally, the listening module is further configured to:
if the call type is a common voice call, determining a first answering type of the terminal call according to the feedback instruction;
and if the first answering type is loudspeaker answering or remote answering, the terminal incoming call is connected, and a call interface of the terminal incoming call is displayed on a terminal status bar.
Optionally, the prompting module is further configured to:
if the incoming call type is a video incoming call, determining a second answering type of the incoming call of the terminal according to the feedback instruction;
if the second answering type is split screen answering, the terminal incoming call is connected, and a call interface and the foreground application of the terminal incoming call are displayed in a split screen mode on a terminal screen;
and if the second answering type is answering in the status bar, the terminal incoming call is connected, and a call interface of the terminal incoming call is displayed in the status bar of the terminal.
Optionally, the terminal incoming call answering device further comprises a hang-up module, and the hang-up module is configured to:
detecting and acquiring the duration of no input of a microphone and no output of a receiver of the terminal;
and if the duration is greater than a preset threshold, automatically hanging up the incoming call of the terminal.
Optionally, the hang-up module is further configured to:
if the duration is longer than a preset threshold, outputting a hang-up prompt for hanging up the incoming call of the terminal;
acquiring a hang-up instruction fed back by the user based on the hang-up reminder;
and hanging up the incoming call of the terminal according to the hanging up instruction.
In addition, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: a memory 109, a processor 110 and a terminal incoming call answering program stored in the memory 109 and capable of running on the processor 110, wherein the terminal incoming call answering program is executed by the processor 110 to implement the steps of the embodiments of the terminal incoming call answering method.
In addition, the present invention also provides a storage medium, where one or more programs are stored, and the one or more programs may also be executed by one or more processors to implement the steps of the embodiments of the method for answering an incoming call of a terminal.
The specific implementation of the mobile terminal and the storage medium (i.e., the computer-readable storage medium) of the present invention is basically the same as the embodiments of the method for answering an incoming call of the terminal, and is not described herein again.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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. A method for answering a terminal incoming call is characterized by comprising the following steps:
when a terminal incoming call is detected, acquiring the incoming call type of the terminal incoming call and the application name of foreground application currently running by the terminal, wherein the incoming call type is a common voice incoming call or a video incoming call;
judging whether the foreground application is a preset application or not according to the application name;
if the foreground application is a preset application, acquiring a far-end connection state of the terminal, and popping up an answering prompt on a terminal screen according to the incoming call type and the far-end connection state, wherein the far-end refers to other answering equipment of the terminal, and the far-end connection state refers to the connection state of the terminal and the other answering equipment;
and acquiring a feedback instruction of the user based on the answering prompt, and answering the incoming call of the terminal in an answering mode determined by the feedback instruction and the incoming call type.
2. The method as claimed in claim 1, wherein the step of obtaining the incoming call type of the terminal and the application name of the foreground application currently running on the terminal when the incoming call of the terminal is detected comprises:
when a terminal incoming call is detected, determining that the terminal incoming call is a common voice incoming call or a video incoming call;
acquiring an activity attribute of the current stack top layer of the terminal;
and determining the application name of the foreground application currently running by the terminal according to the activity attribute.
3. The method as claimed in claim 1, wherein the step of popping up an answering prompt on a terminal screen according to the incoming call type and the far-end connection state comprises:
if the call type is a common voice call and the far-end connection state is that the terminal is connected with a far end, popping up a first answering prompt in a specified area of a terminal screen;
if the call type is a common voice call and the far-end connection state is that the terminal is not connected with the far end, popping up a second answering prompt in a designated area of a terminal screen;
and if the incoming call type is a video incoming call, popping up a third answering prompt in a specified area of a terminal screen.
4. A method as claimed in claim 1, wherein the step of answering the incoming call of the terminal in an answering manner determined by the feedback instruction and the incoming call type comprises:
if the call type is a common voice call, determining a first answering type of the terminal call according to the feedback instruction;
and if the first answering type is loudspeaker answering or remote answering, the terminal incoming call is connected, and a call interface of the terminal incoming call is displayed on a terminal status bar.
5. A method as claimed in claim 1, wherein the step of answering the incoming call of the terminal in an answering manner determined by the feedback instruction and the incoming call type comprises:
if the incoming call type is a video incoming call, determining a second answering type of the incoming call of the terminal according to the feedback instruction;
if the second answering type is split screen answering, the terminal incoming call is connected, and a call interface and the foreground application of the terminal incoming call are displayed in a split screen mode on a terminal screen;
and if the second answering type is answering in the status bar, the terminal incoming call is connected, and a call interface of the terminal incoming call is displayed in the status bar of the terminal.
6. The method as claimed in claim 1, wherein the step of obtaining the feedback instruction of the user based on the answering prompt and answering the incoming call of the terminal in the answering mode determined by the feedback instruction and the incoming call type further comprises:
detecting and acquiring the duration of no input of a microphone and no output of a receiver of the terminal;
and if the duration is greater than a preset threshold, automatically hanging up the incoming call of the terminal.
7. The method as claimed in claim 6, wherein the step of automatically hanging up the incoming call of the terminal if the duration is greater than a preset threshold comprises:
if the duration is longer than a preset threshold, outputting a hang-up prompt for hanging up the incoming call of the terminal;
acquiring a hang-up instruction fed back by a user based on the hang-up prompt;
and hanging up the incoming call of the terminal according to the hanging up instruction.
8. A terminal incoming call answering device is characterized by comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the incoming call type of a terminal incoming call and the application name of foreground application currently running by the terminal when the terminal incoming call is detected, and the incoming call type is a common voice incoming call or a video incoming call;
the judging module is used for judging whether the foreground application is a preset application or not according to the application name;
the prompt module is used for acquiring the far-end connection state of the terminal if the foreground application is a preset application, and popping up an answering prompt on a terminal screen according to the incoming call type and the far-end connection state, wherein the far-end refers to other answering equipment of the terminal, and the far-end connection state refers to the connection state of the terminal and other answering equipment;
and the answering module is used for acquiring a feedback instruction of the user based on the answering prompt and answering the incoming call of the terminal in an answering mode determined by the feedback instruction and the incoming call type.
9. A mobile terminal, characterized in that the mobile terminal comprises: a memory, a processor and a terminal incoming call answering program stored on the memory and operable on the processor, the terminal incoming call answering program, when executed by the processor, implementing the steps of the terminal incoming call answering method according to any one of claims 1 to 7.
10. A storage medium having a terminal incoming call answering program stored thereon, wherein the terminal incoming call answering program, when executed by a processor, implements the steps of the terminal incoming call answering method according to any one of claims 1 to 7.
CN201811561798.1A 2018-12-19 2018-12-19 Terminal incoming call answering method and device, mobile terminal and storage medium Active CN109561217B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811561798.1A CN109561217B (en) 2018-12-19 2018-12-19 Terminal incoming call answering method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811561798.1A CN109561217B (en) 2018-12-19 2018-12-19 Terminal incoming call answering method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109561217A CN109561217A (en) 2019-04-02
CN109561217B true CN109561217B (en) 2022-06-21

Family

ID=65870584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811561798.1A Active CN109561217B (en) 2018-12-19 2018-12-19 Terminal incoming call answering method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109561217B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20240106922A1 (en) * 2021-03-29 2024-03-28 Beijing Boe Technology Development Co., Ltd. Call Method and Terminal, and Non-transitory Computer-Readable Storage Medium
CN113949833B (en) * 2021-09-01 2024-03-19 杭州当贝网络科技有限公司 Video display control method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375552A (en) * 2016-08-24 2017-02-01 深圳市金立通信设备有限公司 Incoming call interaction method and terminal
CN106506827A (en) * 2016-10-27 2017-03-15 努比亚技术有限公司 A kind of voice connecting device and method
CN106502490A (en) * 2016-09-19 2017-03-15 深圳市金立通信设备有限公司 A kind of incoming call reminding method and terminal
WO2017166634A1 (en) * 2016-03-30 2017-10-05 乐视控股(北京)有限公司 Incoming call processing method and terminal
CN107241656A (en) * 2017-06-30 2017-10-10 广东欧珀移动通信有限公司 A kind of call processing method, device, storage medium and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017166634A1 (en) * 2016-03-30 2017-10-05 乐视控股(北京)有限公司 Incoming call processing method and terminal
CN106375552A (en) * 2016-08-24 2017-02-01 深圳市金立通信设备有限公司 Incoming call interaction method and terminal
CN106502490A (en) * 2016-09-19 2017-03-15 深圳市金立通信设备有限公司 A kind of incoming call reminding method and terminal
CN106506827A (en) * 2016-10-27 2017-03-15 努比亚技术有限公司 A kind of voice connecting device and method
CN107241656A (en) * 2017-06-30 2017-10-10 广东欧珀移动通信有限公司 A kind of call processing method, device, storage medium and terminal

Also Published As

Publication number Publication date
CN109561217A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN109614176B (en) Application interface layout method, terminal and computer readable storage medium
CN109165074B (en) Game screenshot sharing method, mobile terminal and computer-readable storage medium
CN109068167B (en) Screen recording interaction method, mobile terminal, wearable device and storage medium
CN109151169B (en) Camera authority management method, mobile terminal and computer readable storage medium
CN107807767B (en) Communication service processing method, terminal and computer readable storage medium
CN108196750B (en) Screen interface screenshot method and device and computer-readable storage medium
CN112346685B (en) Screen-off and screen-projection control method and device and computer readable storage medium
CN108553896B (en) State information display control method, terminal and computer readable storage medium
CN107635070B (en) Message reminding method, terminal and storage medium
CN107463243B (en) Screen control method, mobile terminal and computer readable storage medium
CN112667181A (en) Screen projection method, screen projection equipment, screen projection control system and storage medium
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN110401870B (en) Method for adjusting screen recording frame rate, terminal and computer readable storage medium
CN109683766B (en) Interactive interface control method, mobile terminal and computer readable storage medium
CN109692474B (en) Game control method based on mobile terminal, mobile terminal and readable storage medium
CN112394896A (en) Method and device for controlling reverse screen projection frame rate and computer readable storage medium
CN108156325B (en) Double-sided screen incoming call control method and device and computer readable storage medium
CN107682541B (en) Audio control method for screen projection, mobile terminal and storage medium
CN113144594A (en) Screen display control method and device, mobile terminal and readable storage medium
CN110381202B (en) Display adjustment method, mobile terminal and computer-readable storage medium
CN109309762B (en) Message processing method, device, mobile terminal and storage medium
CN109561217B (en) Terminal incoming call answering method and device, mobile terminal and storage medium
CN109117069B (en) Interface operation method, terminal and computer readable storage medium
CN110099173B (en) Touch experience mode switching method, terminal and storage medium
CN112712815A (en) Software-based pop sound suppression method, terminal and computer readable medium

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