CN107896272B - Call control method and device - Google Patents

Call control method and device Download PDF

Info

Publication number
CN107896272B
CN107896272B CN201710687755.7A CN201710687755A CN107896272B CN 107896272 B CN107896272 B CN 107896272B CN 201710687755 A CN201710687755 A CN 201710687755A CN 107896272 B CN107896272 B CN 107896272B
Authority
CN
China
Prior art keywords
mobile terminal
lifted
screen
call
terminal
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
CN201710687755.7A
Other languages
Chinese (zh)
Other versions
CN107896272A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710687755.7A priority Critical patent/CN107896272B/en
Publication of CN107896272A publication Critical patent/CN107896272A/en
Application granted granted Critical
Publication of CN107896272B publication Critical patent/CN107896272B/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
    • H04M1/72454User 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
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a call control method, which comprises the following steps: the method comprises the steps that a mobile terminal detects a proximity signal in a call process, wherein the mobile terminal is in a bright screen state at present, and the proximity signal represents that an object is close to the mobile terminal; after detecting the proximity signal, the mobile terminal judges whether the mobile terminal is lifted; and if the mobile terminal is not lifted, the mobile terminal does not turn off the screen. In addition, the application also discloses a call control device and a mobile terminal.

Description

Call control method and device
Technical Field
The present application relates to the field of device control, and in particular, to a call control method and apparatus.
Background
Currently, many terminals having a call function provide a screen having a touch operation function. For some terminals, when a user answers a call, if an object is close to a terminal screen, the terminal can extinguish the screen to prevent the user from mistakenly triggering touch operation on the screen of the terminal during call. In some cases, a user may use a function provided on a terminal screen through a touch operation while receiving a call, that is, the user may need to perform a touch operation on the terminal screen while talking. For example, when the user is in a call, if the call process is in the background, the user may need to switch the call process back to the foreground. However, since the terminal extinguishes the screen when an object approaches the screen, the touch operation meeting the user's requirements cannot be responded by the terminal, and thus the user cannot perform any touch operation during a call, and the user cannot use other functions provided on the screen of the terminal while answering the call.
Disclosure of Invention
The technical problem to be solved by the application is to provide a call control method and device, so that when a user answers a call, a terminal can respond to touch operation meeting the requirements of the user on a screen, and the user can use other functions provided on the screen of the terminal while answering the call.
In a first aspect, a call control method is provided, including:
the method comprises the steps that a mobile terminal detects a proximity signal in a call process, wherein the mobile terminal is in a bright screen state at present, and the proximity signal represents that an object is close to the mobile terminal;
after detecting the proximity signal, the mobile terminal judges whether the mobile terminal is lifted;
if the mobile terminal is not lifted, the mobile terminal does not turn off the screen;
in a second aspect, a call control device is provided, including:
the mobile terminal comprises a detection unit, a processing unit and a processing unit, wherein the detection unit is used for detecting a proximity signal in a communication process, the mobile terminal is currently in a bright screen state, and the proximity signal represents that an object is close to the mobile terminal;
the judging unit is used for judging whether the mobile terminal is lifted up or not after the approach signal is detected;
and the first control unit is used for controlling the mobile terminal not to turn off the screen if the mobile terminal is determined not to be lifted.
In a third aspect, a terminal is provided, which comprises at least a memory for storing software programs and modules and a processor for executing the software programs and modules stored in the memory, thereby performing the method of the above aspects.
In a fourth aspect, a computer-readable storage medium is provided, having stored therein instructions, which when run on a computer, cause the computer to perform the method of the above aspects.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the above aspects.
In the application, in the process of running the call process, if the mobile terminal detects that an object approaches the proximity signal of the mobile terminal in the bright screen state, the mobile terminal can determine whether to turn off the screen by judging whether the mobile terminal is lifted. If the mobile terminal is not lifted under the condition of detecting the proximity signal, the proximity signal is triggered by the touch operation meeting the requirements of the user, and the terminal can not extinguish the screen, so that the terminal can respond to the touch operation on the screen by the user, and therefore, the terminal can respond to the touch operation meeting the requirements of the user on the screen, and the user can use other functions provided on the screen of the terminal while answering the call.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic diagram of an example of an application scenario in an embodiment of the present application;
fig. 2 is a schematic flow chart of a call control method in an embodiment of the present application;
fig. 3 is a schematic diagram illustrating an implementation manner of prompting that a background is running a call in an embodiment of the present application;
fig. 4 is a flowchart illustrating a call control method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a call control device in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a mobile terminal in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a mobile terminal in an embodiment of the present application.
Detailed Description
The application provides a call control method for improving call experience of a user. The application also provides a related call control device and a terminal, which are respectively described below.
For the operation habit of the user, the terminal may run the call process in various ways, taking some types of terminals as examples: when the terminal runs a communication process, if a user takes up the mobile phone to be close to an ear for communication, the terminal detects that the user approaches a screen of the terminal through a proximity sensor and the like. In order to prevent the mistaken touch, the terminal extinguishes the screen, does not receive touch operation on the screen, and plays the voice of the opposite end of the call through the receiver. At this time, the terminal may be considered to be running the call process in the handset mode. However, if the earphone is inserted into the terminal, the terminal lights up the screen to receive the touch signal at any time, and plays the voice of the opposite end of the call through the earphone. At this time, the terminal may be considered to be running a conversation process in the headset mode. If the terminal starts the hands-free call, the screen can be lightened, and the voice of the opposite end of the call is played through the loudspeaker. At this time, the terminal may be considered to be running a call process in the handsfree mode.
With the increasing intellectualization of mobile phones, when a terminal runs a call process in an earphone mode or a hands-free mode, a user can switch the call process to a background and switch other application programs to a foreground. Thus, the user can use other applications in the foreground while maintaining a call with the opposite end through the hands-free or handset. In addition, if the user holds the terminal close to the ear, the terminal can be switched to a receiver mode immediately after detecting that the user is close to the screen of the terminal, and the screen is extinguished and the voice of the opposite end of the call is played through the receiver instead.
For some types of terminals, if the call process is running in the background, the terminal will display a green bar on the top of the screen. The user can click the green prompting bar at any time to switch the conversation process back to the foreground.
However, in some terminals at present, the position of the proximity sensor is arranged above the terminal and is very close to the position of the cue strip of the general-purpose process. If the user needs to switch the call process back to foreground operation, the user will try to click the green bar. However, often, as soon as the finger of the user approaches the position of the prompt bar, the proximity sensor detects that an object approaches the terminal screen, and the terminal is switched to the receiver mode immediately to operate the conversation process. Then the terminal extinguishes the screen and does not accept the touch operation of the user any more. Therefore, when the user clicks the position of the prompt bar, the screen of the terminal is already extinguished, and the response to the clicking operation of the user is not made. This makes it difficult for the user to switch the call process to the foreground, and the user experience is not good.
In order to solve the above problem, in the embodiment of the present application, in the process of running a call process, if a proximity signal that an object approaches the mobile terminal is detected in a non-bright screen state, it may be further determined whether the mobile terminal itself is lifted up, so as to determine whether a touch operation that triggers the proximity signal is a touch operation that a user needs to perform on a screen. If the mobile terminal is lifted under the condition that the proximity signal is detected, the fact that the misoperation which does not meet the user requirement triggers the proximity signal can be determined, at the moment, the mobile terminal can extinguish the screen, and therefore misoperation, which does not meet the user requirement, on the terminal response screen can be avoided. If the mobile terminal is not lifted up under the condition of detecting the proximity signal, the mobile terminal can determine that the touch operation meeting the user requirement triggers the proximity signal, and the mobile terminal can not turn off the screen at the moment, so that the terminal can respond to the touch operation meeting the user requirement on the screen, and the user can use other functions provided on the screen of the terminal while answering the call.
For example, one of the scenarios in the embodiment of the present application may be an application scenario applied to the scenario shown in fig. 1. In this application scenario, the user 102 may interact with the mobile terminal 101. In the process of the user 102 using the mobile terminal 101 to answer the call, a call process is running on the mobile terminal 101. During the operation of the call process, the mobile terminal 101 may detect a proximity signal indicating that an object is close to the mobile terminal 101 while being in a bright screen state. In the case where the proximity signal is detected, the mobile terminal 101 is determined. If the mobile terminal 101 is not lifted, the mobile terminal 101 does not turn off the screen. If the mobile terminal 101 is lifted, the mobile terminal 101 turns off the screen.
It is to be understood that the above scenario is only one example of a scenario provided in the embodiment of the present application, and the embodiment of the present application is not limited to this scenario.
The following describes a specific implementation manner of call control in the embodiments of the present application in detail by embodiments with reference to the drawings.
Referring to fig. 2, a flowchart of a call control method in the embodiment of the present application is shown. In this embodiment, the method may include, for example, the steps of:
s201, a mobile terminal detects a proximity signal in a communication process, wherein the mobile terminal is in a bright screen state at present, and the proximity signal indicates that an object is close to the mobile terminal.
In specific implementation, when a user uses the mobile terminal to answer a call, the mobile terminal can operate a call process for the call of the user. In the process of running the conversation process, the mobile terminal in the bright screen state can detect whether a proximity signal capable of indicating that an object is close to the mobile terminal appears in real time.
The scheme of the embodiment can be applied to various different call scenarios. For example, the scheme of this embodiment may be applicable to a dial-up call scenario provided by an operator, that is, the call process may be a call process triggered by a dial-up call function provided by the operator. For another example, the method of this embodiment may be adapted to a voice call scene or a video call scene provided by an application program such as facetime, wechat, QQ, skype, easy-to-believe, and acrawax, that is, the call process may be a call process triggered by a voice call function or a video call function provided by an application program such as facetime, wechat, QQ, skype, easy-to-believe, and acrawax. It can be understood that, in the case that the mobile terminal is in the bright screen state, the screen of the mobile terminal is in the lighted state, and at this time, the screen is in the wake-up state, and the mobile terminal can respond to the touch operation on the screen, so as to execute the action corresponding to the touch operation. That is, under the condition that the terminal is in a bright screen state, the touch operation performed by the user on the screen can trigger the terminal to execute a corresponding action. In other words, the bright screen state may indicate a state in which a touch operation may be responded to by the terminal and trigger the terminal to perform a corresponding action.
It should be noted that the terminal may detect whether a proximity signal indicating that an object is close to the mobile terminal is present through the sensor. Since the sensor is able to detect whether an object is approaching the sensor itself, the detected approach signal actually indicates whether an object is approaching the area of the sensor accessory on the mobile terminal. For example, the sensor may be disposed in the mobile terminal near the earpiece, and the area near the sensor is the area near the earpiece on the top of the screen of the mobile terminal. For example, in a case that the call process is running in the background of the mobile terminal, the mobile terminal may display a prompt bar of the call process on the top of the screen, and the area near the sensor may include an area where the prompt bar is located, as shown in fig. 3 as an example. It can be understood that the prompt bar may be used to trigger the mobile terminal to switch the call process from background to foreground. That is, under the condition that the call process runs in the background of the mobile terminal, when the user touches the prompt bar displayed on the screen of the mobile terminal, the mobile terminal can switch the call process to the foreground to run. As an example, the mobile terminal may detect whether a proximity signal indicating that an object is close to the mobile terminal is present through a proximity sensor. In particular, a proximity sensor may be provided in the mobile terminal. The proximity sensor may be used to detect whether an object is in proximity to the proximity sensor itself. Thus, in the case where a proximity sensor is provided in the mobile terminal, the proximity sensor may detect whether a proximity signal indicating that an object is approaching the mobile terminal is present, and the terminal may determine whether the proximity signal is present through the proximity sensor. For example, the proximity sensor in the terminal may be disposed at a position where the screen is close to the earpiece, so that the proximity sensor can detect the action of the user approaching the earpiece, thereby triggering the terminal to switch to the screen state, and avoiding the terminal responding to the misoperation triggered on the screen when the user approaches the earpiece. The proximity sensor may be, for example, a proximity optical sensor, an ultrasonic proximity sensor, or a high-frequency oscillation type proximity sensor.
S202, after the mobile terminal detects the approaching signal, judging whether the mobile terminal is lifted up.
It can be understood that after the mobile terminal detects the proximity signal, by determining whether the mobile terminal is lifted, it can be determined whether the touch operation triggering the proximity signal is a touch operation that the user needs to perform on the screen.
When a user needs to use the earphone to communicate, the user usually lifts the mobile terminal and attaches the earphone to the ear, wherein the action of the ear of the user attaching to the earphone can enable the mobile terminal to detect a proximity signal, and in this case, the user usually does not need to touch the screen, that is, the touch operation responded to the screen is usually a misoperation which does not meet the user's requirement. It can be seen that if the mobile terminal is lifted up in the case of detecting the proximity signal, the proximity signal is usually triggered by a malfunction that does not meet the user's requirements.
When a user does not use an earphone to carry out a call, the user does not lift the mobile terminal, and in such a case, the user may need to perform a touch operation on the screen, that is, the touch operation responded on the screen is generally a touch operation meeting the user requirement, and the touch operation may cause the mobile terminal to detect a proximity signal. It can be seen that if the mobile terminal is not lifted up when the proximity signal is detected, the proximity signal is usually a touch operation according to the user's requirement.
In this embodiment, a variety of different determination methods may be used to determine whether the mobile terminal is lifted.
As an example, in the case where an acceleration sensor is mounted on the mobile terminal, the mobile terminal may determine whether the mobile terminal is lifted up through the acceleration sensor. Since the acceleration sensor on the mobile terminal may be used to detect the linear acceleration of the mobile terminal, the mobile terminal may determine whether the mobile terminal is lifted up through the linear acceleration of the mobile terminal. Specifically, S202 may include: measuring the current linear acceleration of the mobile terminal through the acceleration sensor; if the current linear acceleration of the mobile terminal is not smaller than a first threshold value, determining that the mobile terminal is lifted; and if the current linear acceleration of the mobile terminal is smaller than the first threshold value, determining that the mobile terminal is not lifted. Wherein the current linear acceleration of the mobile terminal represents the current acceleration of the mobile terminal along the linear direction.
As another example, in a case where a gyroscope is mounted on the mobile terminal, the mobile terminal may determine whether the mobile terminal is lifted through the gyroscope. Since the gyroscope on the mobile terminal can be used to detect the angular velocity of the mobile terminal, the mobile terminal can determine whether the mobile terminal is lifted up through the angular velocity of the mobile terminal. Specifically, S202 may include: measuring the current angular acceleration of the mobile terminal through the gyroscope; if the current angular acceleration of the mobile terminal is not smaller than a second threshold value, determining that the mobile terminal is lifted; and if the current angular acceleration of the mobile terminal is smaller than the second threshold value, determining that the mobile terminal is not lifted.
As still another example, in a case where an acceleration sensor and a gyroscope are mounted on the mobile terminal, the mobile terminal may determine whether the mobile terminal is lifted up through the acceleration sensor and the gyroscope. Since the acceleration sensor on the mobile terminal may be used to detect the linear acceleration of the mobile terminal and the gyroscope on the mobile terminal may be used to detect the angular velocity of the mobile terminal, the mobile terminal may determine whether the mobile terminal is lifted up through the linear acceleration and the angular velocity of the mobile terminal. Specifically, S203 may include: measuring the current linear acceleration of the mobile terminal through the acceleration sensor, and measuring the current angular acceleration of the mobile terminal through the gyroscope; if the current linear acceleration of the mobile terminal is not smaller than a first threshold value and the current angular acceleration of the mobile terminal is not smaller than a second threshold value, determining that the mobile terminal is lifted; and if the current linear acceleration of the mobile terminal is smaller than the first threshold and the current angular acceleration of the mobile terminal is smaller than the second threshold, determining that the mobile terminal is lifted. In addition, if the current linear acceleration of the mobile terminal is not less than the first threshold and the current angular velocity of the mobile terminal is less than the second threshold, it may be determined that the mobile terminal is not lifted, for example. If the current linear velocity of the mobile terminal is less than the first threshold and the current angular velocity of the mobile terminal is not less than the second threshold, it may be determined that the mobile terminal is not lifted, for example.
It will be appreciated that in order to ensure that the detected action of an object approaching the mobile terminal occurs when the user is to use the handset to make a call, the mobile terminal may only detect whether an action of the mobile terminal being lifted up has occurred within a relatively short period of time in the last time when the terminal detects a proximity signal. Specifically, S202 may be specifically expressed as: and judging whether the mobile terminal is lifted up in the latest time period, wherein the duration of the latest time period is a preset time threshold, such as 3 seconds.
S203, if the mobile terminal is not lifted, the mobile terminal does not turn off the screen.
It is understood that if the mobile terminal is not lifted up in case of detecting the proximity signal, the proximity signal is generally triggered by a touch operation according to a user's requirement. At the moment, the screen of the mobile terminal is still in a lighted state without being turned off, and at the moment, the screen is in a wake-up state, so that the mobile terminal can respond to touch operation meeting the requirements of a user on the screen, and then the action corresponding to the touch operation is executed.
As an example, when a user needs to switch a call process of the mobile terminal running in a background to a foreground running of the mobile terminal during a call using the mobile terminal, the user may perform a touch operation on a prompt bar of the call process displayed on the top of a screen of the mobile terminal. When the user performs the touch operation, the mobile terminal may first detect a proximity signal indicating that an object is close to the mobile terminal, and then receive a touch signal at a prompt bar of a call progress on the screen. In this case, the mobile terminal may determine whether the mobile terminal is lifted up after detecting the proximity signal. If the mobile terminal is determined not to be lifted, the mobile terminal can not turn off the screen. After that, the mobile terminal receives the touch signal at the prompt bar of the call process, and the mobile terminal can switch the call process to the foreground of the mobile terminal to operate according to the touch signal.
In some embodiments, after S202, if it is determined that the mobile terminal is lifted, the mobile terminal may further turn off the screen. It will be appreciated that if the mobile terminal is lifted in the event of detection of a proximity signal, the proximity signal is typically triggered by a malfunction that does not meet the user's requirements. At the moment, the mobile terminal extinguishes the screen, the screen of the mobile terminal is not in a lighted state, at the moment, the screen is not in a wake-up state, the mobile terminal cannot respond to misoperation which is not in line with the requirements of the user on the screen, and therefore actions corresponding to the misoperation do not need to be executed, and the problem that the mobile terminal responds to the misoperation is solved.
In this embodiment, the determination result of whether the mobile terminal is lifted up when the mobile terminal detects the proximity signal may be used to control whether the screen of the mobile terminal is turned off, and may also be used to control the mobile terminal to switch the voice playing mode of the call process. For example, when the mobile terminal in the bright screen state detects a proximity signal, if it is determined that the mobile terminal is not lifted, the voice of the call progress may be played through the speaker. For another example, when the mobile terminal in the bright screen state detects the proximity signal, if it is determined that the mobile terminal is lifted, the voice of the call process can be played through the earphone.
In some embodiments, in the case that the mobile terminal in the bright screen state detects a proximity signal, the operation mode of the call process on the mobile terminal may be used to control whether the mobile terminal turns off the screen. For example, when the mobile terminal in the bright screen state detects a proximity signal, if the call process is running in the foreground of the mobile terminal, the mobile terminal may also turn off the screen. .
It can be understood that, during a call using the mobile terminal, a user usually keeps the current call running in the foreground when the user does not need to touch the screen. It can be seen that when a call is running on the foreground, the touch operation appearing on the screen is not the touch operation that the user wants to trigger, but is the misoperation of the user. Therefore, under the condition that the approach signal is detected, if the call process runs in the foreground of the mobile terminal, the detected object approaching the screen can be regarded as misoperation which does not meet the requirements of the user, and the mobile terminal can stop the screen at the moment.
As an example, an interface presented by the mobile terminal in the process of running the call process may reflect whether the mobile terminal runs the call process in the foreground or the background. And if the mobile terminal is presenting the interface of the call process, the call process is running in the foreground of the mobile terminal. And if the mobile terminal does not present the interface of the call process, the call process is running in the background of the mobile terminal. In addition, under the condition that the call process runs in the background of the mobile terminal, the terminal can provide a prompt bar for prompting that the call is running in the background on the currently presented screen interface. For example, in the example shown in fig. 3, the terminal may add a prompt bar on top of the currently presented interface to prompt that the background is running a call. If the user clicks the prompt bar, the mobile terminal can switch the conversation process from the background to the foreground for running, and the mobile terminal presents an interface of the conversation process on a screen after switching.
In some embodiments, the terminal may determine whether the mobile terminal has turned off the screen in combination with the running state of the call process in the foreground or the background and the determination result of whether the terminal is lifted. For example, in a case where the mobile terminal in a bright screen state detects a proximity signal, the mobile terminal may turn off the screen if a call process is running in the foreground of the mobile terminal. Under the condition that the mobile terminal in a bright screen state detects an approaching signal, if a call process runs in a background of the mobile terminal, judging whether the mobile terminal is lifted; if the mobile terminal is lifted, the mobile terminal extinguishes the screen, and if the mobile terminal is not lifted, the mobile terminal does not extinguish the screen.
In some embodiments of this embodiment, in order to better avoid a response of the terminal to a wrong operation, when the terminal is in a bright screen state, if the terminal needs to put off the screen and switches to a rest screen state, before the terminal switches to the rest screen state, the terminal may further present a prompt message for prompting the rest screen to prompt a user to control the mobile terminal to put off the screen, so that the mobile terminal is switched to the rest screen state. For example, when the call process is switched from the background to the foreground operation of the terminal, a prompt message can be presented to prompt the user to switch the mobile terminal to the screen-off state. The presenting mode of the prompt information may be, for example, that the terminal displays an image of the prompt information on the display interface, or that the terminal sends a prompt tone.
In some embodiments of the present embodiment, in order to facilitate the user to trigger a touch operation on the screen to use other functions provided on the screen during the call, after the mobile terminal is switched from the bright screen state to the silence screen state, the terminal may further detect a far signal whether the object is away from the mobile terminal. If the far signal is detected, the terminal can be switched from a screen-saving state to a screen-lightening state. For example, in the process of a call, when a user uses an earphone to make a call, the mobile terminal detects an approach signal that an object approaches and determines that the mobile terminal is lifted, the terminal can be in a screen-saving state to avoid misoperation triggered by the user, then, the user does not use the earphone to make a call, and uses a loudspeaker or an earphone to make a call, at the moment, the mobile terminal detects a far-away signal that the object leaves, and the mobile terminal can be switched from the screen-saving state to a screen-lighting state, so that the user can use other functions provided on a screen in the process of a call without manually controlling the terminal to be switched to the screen-lighting state.
In some embodiments of the present embodiment, in order to facilitate a user to trigger a touch operation on the screen to use other functions provided on the screen during a call, after the mobile terminal is switched from the bright screen state to the sniff screen state, the mobile terminal may further detect whether the mobile terminal is dropped. If so, the terminal can be switched from the screen-saving state to the screen-lightening state. For example, in the process of a call, when a user uses an earphone to make a call, the mobile terminal detects an approach signal of an object to be approached and determines to be lifted, the mobile terminal can be in a screen-off state to avoid misoperation triggered by the user, then, the user does not use the earphone to make a call, but uses a loudspeaker or an earphone to make a call, at the moment, the mobile terminal detects that the mobile terminal is put down, the mobile terminal can be switched into a screen-on state from the screen-off state, and therefore the user can use other functions provided on a screen in the process of the call without manually controlling the terminal to be switched into the screen-on state.
In this embodiment, in the process of running the call process, if a proximity signal that an object is close to the mobile terminal is detected in a bright screen state, the mobile terminal may determine whether to turn off the screen by determining whether the mobile terminal is lifted. If the mobile terminal is lifted under the condition of detecting the proximity signal, the proximity signal is triggered by misoperation which does not accord with the user requirement, and the terminal can extinguish the screen, so that the misoperation which does not accord with the user requirement on a terminal response screen can be avoided. If the mobile terminal is not lifted under the condition of detecting the proximity signal, the proximity signal is triggered by the touch operation meeting the requirements of the user, and the terminal can not extinguish the screen, so that the terminal can respond to the touch operation on the screen by the user, and therefore, the terminal can respond to the touch operation meeting the requirements of the user on the screen, and the user can use other functions provided on the screen of the terminal while answering the call.
In order to facilitate understanding of an application manner of the embodiment of the present application in an actual scenario, an exemplary application scenario is described below as to a method for screen saver control in the embodiment of the present application.
Referring to fig. 4, a flowchart of a call control method in the embodiment of the present application is shown. In this embodiment, the method may include, for example, the steps of:
s401, the terminal starts a conversation process on the foreground, and a user starts to use the terminal to carry out conversation.
S402, the terminal detects that an object approaches the screen through the proximity sensor.
And S403, the terminal responds to the call progress to operate in the foreground, and switches from the bright screen state to the screen-off state.
It is understood that, after the terminal is switched to the sniff state, even if the touch operation is triggered by the action of the proximity of the object detected in S402, the terminal does not respond.
S404, the terminal detects that the object leaves the screen through the proximity sensor.
S405, the terminal is switched from the screen-saving state to the screen-lightening state.
S406, the terminal responds to the switching operation of the user and switches the conversation process to the background to run.
And S407, the terminal detects that an object approaches the screen through the proximity sensor.
And S408, the terminal responds to the call process and runs in the background, and whether the mobile terminal is lifted up is determined through the acceleration sensor and/or the gyroscope.
Wherein, the terminal may select the subsequent steps according to the result determined in S408. If the terminal determines that the mobile terminal is detected to be lifted, the process proceeds to S409. If the terminal determines that the mobile terminal is not lifted, the process proceeds to S410.
And S409, switching the terminal from the screen-on state to the screen-off state.
It is understood that, after the terminal is switched to the sniff state, even if the touch operation is triggered by the action of the proximity of the object detected in S407, the terminal does not respond.
And S410, the terminal continuously keeps a bright screen state.
It is understood that, after the terminal maintains the bright screen state, if the touch operation is triggered by the action of the object approaching detected in S407, the terminal can respond and execute the corresponding action.
In the embodiment, not only can misoperation of the terminal on the response screen which does not meet the requirements of the user be avoided, but also the terminal can respond to touch operation which meets the requirements of the user on the screen, so that the user can use other functions provided on the screen of the terminal while answering the call. In addition, the terminal keeps a bright screen state only when the communication background runs and the mobile terminal is not detected to be lifted, and is switched into a screen-saving state when the communication foreground runs or the mobile terminal is detected to be lifted by the tower, so that misoperation of the terminal responding to a user can be better avoided, and misoperation of the terminal is better avoided.
Referring to fig. 5, a schematic structural diagram of a call control device in an embodiment of the present application is shown. In this embodiment, the apparatus may include, for example:
a detecting unit 501, configured to detect a proximity signal in a call process, where the mobile terminal is currently in a bright screen state, and the proximity signal indicates that an object is close to the mobile terminal;
a determining unit 502, configured to determine whether the mobile terminal is lifted after the proximity signal is detected;
a first control unit 503, configured to control the mobile terminal not to turn off the screen if it is determined that the mobile terminal is not lifted.
Optionally, the mobile terminal includes an acceleration sensor and/or a gyroscope;
the determining unit 502 is specifically configured to determine whether the mobile terminal is lifted up through the acceleration sensor and/or the gyroscope.
Optionally, the determining unit includes:
the first measuring subunit is used for measuring the current linear acceleration of the mobile terminal through the acceleration sensor;
the second determining subunit is used for determining that the mobile terminal is lifted if the current linear acceleration of the mobile terminal is not smaller than a first threshold;
a third determining subunit, configured to determine that the mobile terminal is not lifted up if the current linear acceleration of the mobile terminal is smaller than the first threshold;
or the like, or, alternatively,
the second measuring subunit is used for measuring the current angular acceleration of the mobile terminal through the gyroscope;
the third determining subunit is used for determining that the mobile terminal is lifted if the current angular acceleration of the mobile terminal is not smaller than a second threshold;
a fourth determining subunit, configured to determine that the mobile terminal is not lifted if the current angular acceleration of the mobile terminal is smaller than the second threshold.
Optionally, the call process runs in a background of the mobile terminal, and the mobile terminal currently displays a prompt bar of the call process at the top of the screen;
the device further comprises:
the receiving unit is used for receiving a touch signal at a prompt bar of the call process after the first control unit controls the mobile terminal not to extinguish the screen;
and the switching unit is used for switching the conversation process to the foreground of the mobile terminal to operate according to the touch signal by the mobile terminal.
Optionally, the apparatus further comprises:
and the second control unit is used for controlling the mobile terminal to extinguish the screen and play the voice of the conversation process through a receiver if the mobile terminal is determined to be lifted.
In the embodiment, not only can misoperation of the terminal which does not meet the requirement of the user on the response screen be avoided, but also the terminal can respond to touch operation which meets the requirement of the user on the screen, so that the user can answer the intention of the call. The mobile terminal 600 includes a processor 601 and a storage connected to the processor 601 while using other functions provided on a terminal screen.
Referring to fig. 6, a hardware structure 602 of a mobile terminal in an embodiment of the present application is shown.
The memory 602 is used to store program instructions and data.
The processor 601 is configured to read instructions and data stored in the memory 602, and perform the following operations:
detecting a proximity signal in a call process, wherein the mobile terminal is currently in a bright screen state, and the proximity signal indicates that an object is close to the mobile terminal;
after the approach signal is detected, judging whether the mobile terminal is lifted;
and if the mobile terminal is not lifted, the screen is not turned off.
Optionally, the mobile terminal further includes an acceleration sensor and/or a gyroscope, and the processor 601 further performs the following operations:
and judging whether the mobile terminal is lifted up or not through the acceleration sensor and/or the gyroscope.
Optionally, the processor 601 is further configured to perform the following operations:
measuring the current linear acceleration of the mobile terminal through the acceleration sensor;
if the current linear acceleration of the mobile terminal is not smaller than a first threshold value, determining that the mobile terminal is lifted;
if the current linear acceleration of the mobile terminal is smaller than the first threshold, determining that the mobile terminal is not lifted;
or the like, or, alternatively,
measuring the current angular acceleration of the mobile terminal through the gyroscope;
if the current angular acceleration of the mobile terminal is not smaller than a second threshold value, determining that the mobile terminal is lifted;
and if the current angular acceleration of the mobile terminal is smaller than the second threshold value, determining that the mobile terminal is not lifted.
Optionally, the call process runs in the background of the mobile terminal, and the mobile terminal currently displays a prompt bar of the call process at the top of the screen, and the processor 601 is further configured to perform the following operations:
if the mobile terminal is not lifted, receiving a touch signal at a prompt bar of the conversation process after the screen is not turned off;
and switching the conversation process to the foreground of the mobile terminal to operate according to the touch signal.
Optionally, the processor 601 is further configured to perform the following operations:
and if the mobile terminal is confirmed to be lifted, turning off the screen, and playing the voice of the conversation process through a receiver.
Optionally, the mobile terminal 600 may specifically be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a Point of Sales (POS), a vehicle-mounted computer, and the like. The processor 601 may be a Central Processing Unit (CPU), a network processor, or a combination thereof. The processor 601 may also include a hardware chip. The memory 602 may be a Random Access Memory (RAM), a Read Only Memory (ROM), a hard disk, a solid state disk, a flash memory, an optical disk, or any combination thereof. In addition, the mobile terminal may also include a transceiver. The transceiver may include a wired physical interface, a wireless physical interface, or a combination thereof. The wired physical interface may be an electrical interface, an optical interface, or a combination thereof, such as an ethernet interface or an Asynchronous Transfer Mode (ATM) interface. The wireless physical interface may be a wireless local area network interface, a cellular mobile network interface, or a combination thereof. The processor 601, the memory 602, and the transceiver may be integrated in one or more separate circuits.
In addition, as shown in fig. 6, for convenience of description, only the parts related to the embodiments of the present application are shown, and details of the specific technology are not disclosed, please refer to the method part of the embodiments of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the mobile terminal as the mobile phone as an example:
fig. 6 is a block diagram illustrating a partial structure of a mobile phone related to a terminal provided in an embodiment of the present application. Referring to fig. 6, the handset includes: radio Frequency (RF) circuitry 1110, memory 1120, input unit 1130, display unit 1140, sensors 1150, audio circuitry 1160, wireless fidelity (WiFi) module 1170, processor 1180, and power supply 1190. Those skilled in the art will appreciate that the handset configuration shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 6:
RF circuit 1110 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages to processor 1180; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 1120 may be used to store software programs and modules, and the processor 1180 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1120. The memory 1120 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 1120 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 input unit 1130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. Touch panel 1131, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1131 (for example, operations of the user on or near touch panel 1131 by using any suitable object or accessory such as a finger or a stylus pen), and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1131 may include two parts, namely, 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 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented by using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 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.
The display unit 1140 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The Display unit 1140 may include a Display panel 1141, and optionally, the Display panel 1141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1131 can cover the display panel 1141, and when the touch panel 1131 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 1180 to determine the type of the touch event, and then the processor 1180 provides a corresponding visual output on the display panel 1141 according to the type of the touch event. Although in fig. 6, the touch panel 1131 and the display panel 1141 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone 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 gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 1160, speakers 1161, and microphone 1162 may provide an audio interface between a user and a cell phone. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signals into electrical signals, which are received by the audio circuit 1160 and converted into audio data, which are then processed by the audio data output processor 1180, and then transmitted to, for example, another cellular phone via the RF circuit 1110, or output to the memory 1120 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the cell phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1170, and provides wireless broadband internet access for the user. Although fig. 6 shows the WiFi module 1170, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1180 is a control center of the mobile phone, and is connected to various parts of the whole mobile phone through various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. Optionally, processor 1180 may include one or more processing units; preferably, the processor 1180 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 within processor 1180.
The phone also includes a power supply 1190 (e.g., a battery) for powering the various components, and preferably, the power supply may be logically connected to the processor 1180 via a power management system, so that the power management system may manage charging, discharging, and power consumption management functions.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiment of the present application, the processor 1180 included in the mobile terminal further has the following functions:
detecting a proximity signal in a call process, wherein the mobile terminal is currently in a bright screen state, and the proximity signal indicates that an object is close to the mobile terminal;
after the approach signal is detected, judging whether the mobile terminal is lifted;
and if the mobile terminal is not lifted, the screen is not turned off.
Optionally, the mobile terminal includes an acceleration sensor and/or a gyroscope, and the processor 1180 included in the mobile terminal further has the following functions:
and judging whether the mobile terminal is lifted up or not through the acceleration sensor and/or the gyroscope.
Optionally, the processor 1180 included in the mobile terminal further has the following functions:
measuring the current linear acceleration of the mobile terminal through the acceleration sensor;
if the current linear acceleration of the mobile terminal is not smaller than a first threshold value, determining that the mobile terminal is lifted;
if the current linear acceleration of the mobile terminal is smaller than the first threshold, determining that the mobile terminal is not lifted;
or the like, or, alternatively,
measuring the current angular acceleration of the mobile terminal through the gyroscope;
if the current angular acceleration of the mobile terminal is not smaller than a second threshold value, determining that the mobile terminal is lifted;
and if the current angular acceleration of the mobile terminal is smaller than the second threshold value, determining that the mobile terminal is not lifted.
Optionally, the call process runs in the background of the mobile terminal, and the mobile terminal currently displays a prompt bar of the call process at the top of the screen, and the processor 1180 included in the mobile terminal further has the following functions:
if the mobile terminal is not lifted, receiving a touch signal at a prompt bar of the conversation process after the screen is not turned off;
and switching the conversation process to the foreground of the mobile terminal to operate according to the touch signal.
Optionally, the processor 1180 included in the mobile terminal further has the following functions:
and if the mobile terminal is determined to be lifted, the mobile terminal extinguishes the screen and plays the voice of the conversation process through a receiver.
Furthermore, an embodiment of the present invention also provides a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to perform the following operations:
detecting a proximity signal in a call process, wherein the mobile terminal is currently in a bright screen state, and the proximity signal indicates that an object is close to the mobile terminal;
after the approach signal is detected, judging whether the mobile terminal is lifted;
and if the mobile terminal is not lifted, controlling the mobile terminal not to turn off the screen.
Optionally, the computer is further caused to perform the following operations:
judging whether the mobile terminal is lifted up or not through the acceleration sensor and/or the gyroscope;
wherein the mobile terminal comprises an acceleration sensor and/or a gyroscope.
Optionally, the computer is further caused to perform the following operations:
measuring the current linear acceleration of the mobile terminal through the acceleration sensor;
if the current linear acceleration of the mobile terminal is not smaller than a first threshold value, determining that the mobile terminal is lifted;
if the current linear acceleration of the mobile terminal is smaller than the first threshold, determining that the mobile terminal is not lifted;
and/or the presence of a gas in the gas,
measuring the current angular acceleration of the mobile terminal through the gyroscope;
if the current angular acceleration of the mobile terminal is not smaller than a second threshold value, determining that the mobile terminal is lifted;
and if the current angular acceleration of the mobile terminal is smaller than the second threshold value, determining that the mobile terminal is not lifted.
Optionally, the computer is further caused to perform the following operations:
if the mobile terminal is not lifted, receiving a touch signal at a prompt bar of the conversation process after the screen is not turned off; the call process runs in a background of the mobile terminal, and the mobile terminal displays a prompt bar of the call process at the top of the screen currently;
and switching the conversation process to the foreground of the mobile terminal to operate according to the touch signal.
Optionally, the computer is further caused to perform the following operations:
and if the mobile terminal is determined to be lifted, the mobile terminal extinguishes the screen and plays the voice of the conversation process through a receiver.
Furthermore, in the above embodiments, all or part may be implemented by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The "first" in the names of "first control unit", "first threshold", and the like mentioned in the embodiments of the present application is used only for name identification, and does not represent the first in sequence. The same applies to "second" etc.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only an exemplary embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (10)

1. A call control method is characterized by comprising the following steps:
the method comprises the steps that a mobile terminal detects a proximity signal in a call process, wherein the mobile terminal is in a bright screen state at present, and the proximity signal represents that an object is close to the mobile terminal;
after detecting the proximity signal, the mobile terminal judges whether the mobile terminal is lifted;
if the mobile terminal is not lifted, the mobile terminal does not turn off the screen;
when the mobile terminal is currently in a bright screen state and the proximity signal is detected, if a call process runs in a foreground of the mobile terminal, the mobile terminal turns off a screen; under the condition that the mobile terminal is currently in a bright screen state and the proximity signal is detected, if the call process runs in a background of the mobile terminal, judging whether the mobile terminal is lifted in a latest time period, wherein the duration of the latest time period is a preset time threshold; if the mobile terminal is lifted, turning off the screen of the mobile terminal, and if the mobile terminal is not lifted, turning off the screen of the mobile terminal;
the call process runs in a background of the mobile terminal, the mobile terminal displays a prompt bar of the call process at the top of the screen at present, and if the mobile terminal is determined not to be lifted, the method further comprises the following steps after the mobile terminal does not extinguish the screen:
the mobile terminal receives a touch signal at a prompt bar of the call process;
and the mobile terminal switches the conversation process to the foreground of the mobile terminal to operate according to the touch signal.
2. The call control method according to claim 1, wherein the mobile terminal comprises an acceleration sensor and/or a gyroscope, and the determining whether the mobile terminal is lifted comprises:
and judging whether the mobile terminal is lifted up or not through the acceleration sensor and/or the gyroscope.
3. The call control method according to claim 2, wherein the determining whether the mobile terminal is lifted by the acceleration sensor and/or the gyroscope comprises:
measuring the current linear acceleration of the mobile terminal through the acceleration sensor;
if the current linear acceleration of the mobile terminal is not smaller than a first threshold value, determining that the mobile terminal is lifted;
if the current linear acceleration of the mobile terminal is smaller than the first threshold, determining that the mobile terminal is not lifted;
or the like, or, alternatively,
measuring the current angular acceleration of the mobile terminal through the gyroscope;
if the current angular acceleration of the mobile terminal is not smaller than a second threshold value, determining that the mobile terminal is lifted;
and if the current angular acceleration of the mobile terminal is smaller than the second threshold value, determining that the mobile terminal is not lifted.
4. The call control method according to any one of claims 1 to 3, wherein the method further comprises:
and if the mobile terminal is determined to be lifted, the mobile terminal extinguishes the screen and plays the voice of the conversation process through a receiver.
5. A call control device, provided in a mobile terminal, comprising:
the mobile terminal comprises a detection unit, a processing unit and a processing unit, wherein the detection unit is used for detecting a proximity signal in a communication process, the mobile terminal is currently in a bright screen state, and the proximity signal represents that an object is close to the mobile terminal;
the judging unit is used for judging whether the mobile terminal is lifted up or not after the approach signal is detected;
the first control unit is used for controlling the mobile terminal not to turn off the screen if the mobile terminal is determined not to be lifted;
when the mobile terminal is currently in a bright screen state and the proximity signal is detected, if a call process runs in a foreground of the mobile terminal, the mobile terminal turns off a screen; under the condition that the mobile terminal is currently in a bright screen state and the proximity signal is detected, if the call process runs in a background of the mobile terminal, judging whether the mobile terminal is lifted in a latest time period, wherein the duration of the latest time period is a preset time threshold; if the mobile terminal is lifted, turning off the screen of the mobile terminal, and if the mobile terminal is not lifted, turning off the screen of the mobile terminal;
the call process runs in a background of the mobile terminal, and the mobile terminal displays a prompt bar of the call process at the top of the screen currently;
the device further comprises:
the receiving unit is used for receiving a touch signal at a prompt bar of the call process after the first control unit controls the mobile terminal not to extinguish the screen;
and the switching unit is used for switching the conversation process to the foreground of the mobile terminal to operate according to the touch signal by the mobile terminal.
6. The call control device according to claim 5, wherein the mobile terminal includes an acceleration sensor and/or a gyroscope;
the judging unit is specifically configured to judge whether the mobile terminal is lifted up through the acceleration sensor and/or the gyroscope.
7. The call control device according to claim 6, wherein the judging unit includes:
the first measuring subunit is used for measuring the current linear acceleration of the mobile terminal through the acceleration sensor;
the second determining subunit is used for determining that the mobile terminal is lifted if the current linear acceleration of the mobile terminal is not smaller than a first threshold;
a third determining subunit, configured to determine that the mobile terminal is not lifted up if the current linear acceleration of the mobile terminal is smaller than the first threshold;
or the like, or, alternatively,
the second measuring subunit is used for measuring the current angular acceleration of the mobile terminal through the gyroscope;
the third determining subunit is used for determining that the mobile terminal is lifted if the current angular acceleration of the mobile terminal is not smaller than a second threshold;
a fourth determining subunit, configured to determine that the mobile terminal is not lifted if the current angular acceleration of the mobile terminal is smaller than the second threshold.
8. The call control device according to any one of claims to 7, further comprising:
and the second control unit is used for controlling the mobile terminal to extinguish the screen and play the voice of the conversation process through a receiver if the mobile terminal is determined to be lifted.
9. A mobile terminal, characterized by comprising at least a memory for storing software programs and modules and a processor for executing the method according to any one of claims 1 to 4 by running the software programs and modules stored in the memory.
10. A computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 4.
CN201710687755.7A 2017-08-11 2017-08-11 Call control method and device Active CN107896272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710687755.7A CN107896272B (en) 2017-08-11 2017-08-11 Call control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710687755.7A CN107896272B (en) 2017-08-11 2017-08-11 Call control method and device

Publications (2)

Publication Number Publication Date
CN107896272A CN107896272A (en) 2018-04-10
CN107896272B true CN107896272B (en) 2020-09-18

Family

ID=61803425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710687755.7A Active CN107896272B (en) 2017-08-11 2017-08-11 Call control method and device

Country Status (1)

Country Link
CN (1) CN107896272B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600557B (en) * 2018-07-13 2020-03-31 维沃移动通信有限公司 Screen on-off control method and mobile terminal
CN109274829A (en) * 2018-09-30 2019-01-25 联想(北京)有限公司 A kind of call control method and device, equipment, storage medium
CN109195213B (en) * 2018-11-26 2023-06-30 努比亚技术有限公司 Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN109587341A (en) * 2018-12-24 2019-04-05 努比亚技术有限公司 A kind of voice communication control method, terminal and computer readable storage medium
CN110502109B (en) * 2019-07-31 2022-04-19 Oppo广东移动通信有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN110753155A (en) * 2019-09-24 2020-02-04 维沃移动通信有限公司 Proximity detection method and terminal equipment
CN110691168B (en) * 2019-09-25 2022-01-04 捷开通讯(深圳)有限公司 Screen control method and device of mobile terminal and storage medium
CN111163213A (en) * 2019-11-20 2020-05-15 华为技术有限公司 Terminal control method and device and terminal equipment
CN111083288B (en) * 2019-12-25 2021-07-06 惠州Tcl移动通信有限公司 Screen control method and device, terminal equipment and storage medium
CN111629104B (en) * 2020-02-28 2022-04-01 北京小米移动软件有限公司 Distance determination method, distance determination device, and computer storage medium
CN112616106B (en) * 2020-11-24 2022-11-18 广东思派康电子科技有限公司 Automatic switching method of earphone conversation audio, computer readable storage medium and electronic system
CN112929492B (en) * 2021-03-03 2022-05-06 惠州Tcl移动通信有限公司 Control method, control device, storage medium and mobile terminal
CN114143399A (en) * 2021-11-29 2022-03-04 惠州Tcl移动通信有限公司 Terminal call screen-off method and device, storage medium and mobile terminal

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025159A (en) * 2015-06-05 2015-11-04 广东欧珀移动通信有限公司 A proximity sensor adjusting method and apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101966708B1 (en) * 2011-10-28 2019-08-14 삼성전자 주식회사 Controlling Method for Background contents and Portable Device supporting the same
CN103369147B (en) * 2013-07-30 2016-06-08 广东欧珀移动通信有限公司 A kind of call mode changing method and mobile terminal
CN106101427A (en) * 2016-06-30 2016-11-09 上海与德通讯技术有限公司 A kind of mobile terminal and the method for preventing error operation of call thereof
CN106797416B (en) * 2016-10-31 2020-06-19 北京小米移动软件有限公司 Screen control method and device
CN106375606B (en) * 2016-11-14 2020-05-15 青岛海信移动通信技术股份有限公司 Control method, device and system for display screen of intelligent communication equipment in call state
CN106557204A (en) * 2016-11-18 2017-04-05 广东小天才科技有限公司 A kind of method and device for preventing false touch

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025159A (en) * 2015-06-05 2015-11-04 广东欧珀移动通信有限公司 A proximity sensor adjusting method and apparatus

Also Published As

Publication number Publication date
CN107896272A (en) 2018-04-10

Similar Documents

Publication Publication Date Title
CN107896272B (en) Call control method and device
US10831161B2 (en) Method and device for sending communication message
KR101978590B1 (en) Message updating method, device and terminal
EP3015978A1 (en) Gesture-based conversation processing method, apparatus, and terminal device
WO2016150331A1 (en) Method and device for operating game client
US20170315777A1 (en) Method, terminal, and storage medium for starting voice input function of terminal
CN107193664B (en) Message display method and device and mobile terminal
CN107465841B (en) Fault information reporting method and terminal
CN108900231B (en) Dynamic antenna adjustment method and related product
CN106911848B (en) Method for outputting prompt message and terminal equipment
CN107786424B (en) Audio and video communication method, terminal and server
WO2015024372A1 (en) Communication initiation method, apparatus, and mobile terminal
WO2020024770A1 (en) Method for determining communication object, and mobile terminal
CN108833683B (en) Dynamic antenna adjustment implementation method and related product
CN103294442A (en) Method, device and terminal unit for playing prompt tones
CN111107223B (en) Message processing method and electronic equipment
CN106506834B (en) Method, terminal and system for adding background sound in call
CN112997471B (en) Audio channel switching method and device, readable storage medium and electronic equipment
CN108307075B (en) Incoming call processing method and mobile terminal
CN111372003A (en) Camera switching method and device and terminal
CN106878294B (en) Method and device for recording voice information by interphone
CN106210325B (en) Method, device and terminal for setting incoming call ringtone of social application
CN105635379B (en) Noise suppression method and device
CN112367425B (en) Volume adjusting method and device and terminal
CN107484225B (en) Network access control method, device and user terminal

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant