CN110800277B - Call processing method and related product - Google Patents

Call processing method and related product Download PDF

Info

Publication number
CN110800277B
CN110800277B CN201780092543.2A CN201780092543A CN110800277B CN 110800277 B CN110800277 B CN 110800277B CN 201780092543 A CN201780092543 A CN 201780092543A CN 110800277 B CN110800277 B CN 110800277B
Authority
CN
China
Prior art keywords
distance threshold
mobile terminal
screen
distance
determining
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
CN201780092543.2A
Other languages
Chinese (zh)
Other versions
CN110800277A (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.)
Shenzhen Huantai Technology Co Ltd
Original Assignee
Shenzhen Huantai 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 Shenzhen Huantai Technology Co Ltd filed Critical Shenzhen Huantai Technology Co Ltd
Publication of CN110800277A publication Critical patent/CN110800277A/en
Application granted granted Critical
Publication of CN110800277B publication Critical patent/CN110800277B/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/725Cordless telephones

Landscapes

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

Abstract

The embodiment of the application discloses a call processing method and a related product, wherein the method comprises the following steps: when the mobile terminal is detected to be in a screen-off conversation state and the horizontal posture of the mobile terminal is switched to the vertical posture, adjusting the distance threshold of a proximity sensor of the mobile terminal from a first distance threshold to a second distance threshold, wherein the second distance threshold is larger than the first distance threshold, and the distance threshold is used for triggering a screen-off event; when the fact that the distance between the current user and the mobile terminal is larger than or equal to a second distance threshold value is detected, a screen far-off event is triggered; and responding to the screen-off event, and lighting the touch display screen of the mobile terminal. The embodiment of the application is beneficial to preventing the touch display screen from being triggered to be bright by mistake in the conversation process.

Description

Call processing method and related product
Technical Field
The application relates to the technical field of mobile terminals, in particular to a call processing method and a related product.
Background
In the process of using the mobile terminal for communication, the current posture of the mobile terminal can be detected through the acceleration sensor of the mobile terminal, so that unnecessary screen mistaken screen off events or screen mistaken screen on events are avoided. When the mobile terminal is detected to be in a horizontal posture at present, the proximity sensor corresponds to a low-sensitivity distance threshold, when the mobile terminal is detected to be in a vertical posture at present, the proximity sensor corresponds to a high-sensitivity distance threshold, the call action of the user can be sensed in a small range when the low-sensitivity distance threshold is detected, and the call operation of the user can be sensed in a larger range when the high-sensitivity distance threshold is detected.
Disclosure of Invention
The embodiment of the application provides a call processing method and a related product, which can effectively avoid the situation that a screen of a mobile terminal is turned on by mistake in the call process.
In a first aspect, an embodiment of the present application provides a call processing method, where the method includes:
when the mobile terminal is detected to be in a screen-off conversation state and the horizontal posture of the mobile terminal is switched to the vertical posture, adjusting a distance threshold of a proximity sensor of the mobile terminal from a first distance threshold to a second distance threshold, wherein the second distance threshold is larger than the first distance threshold, and the distance threshold is used for triggering a screen-off event;
when the distance between the current user and the mobile terminal is detected to be larger than or equal to the second distance threshold, triggering the screen-off event;
and responding to the screen far-away event, and lighting the touch display screen of the mobile terminal.
In a second aspect, an embodiment of the present application provides a mobile terminal, including a processing unit,
the processing unit is configured to, when it is detected that the mobile terminal is in a screen-off conversation state and the mobile terminal is switched from a horizontal posture to a vertical posture, adjust a distance threshold of a proximity sensor of the mobile terminal from a first distance threshold to a second distance threshold, where the second distance threshold is greater than the first distance threshold, and the distance threshold is used to trigger a screen-off event;
the processing unit is further configured to trigger the screen-off event when detecting that a distance between the current user and the mobile terminal is greater than or equal to the second distance threshold;
the processing unit is further configured to respond to the screen far-out event and light up the touch display screen of the mobile terminal.
In a third aspect, an embodiment of the present application provides a mobile terminal, including a processor, a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiments of the present application or any of the methods of the first aspect, and the computer includes a mobile terminal.
In a fifth aspect, the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps described in any one of the methods according to the first aspect of the embodiments of the present invention. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It can be seen that, in the embodiment of the present application, when the mobile terminal first detects that the mobile terminal is in an off-screen conversation state, and the mobile terminal is switched from a horizontal posture to a vertical posture, a distance threshold of a proximity sensor of the mobile terminal is adjusted from a first distance threshold to a second distance threshold, where the second distance threshold is greater than the first distance threshold, and the distance threshold is used to trigger a screen far-from and bright event, then, when it is detected that a distance between a current user and the mobile terminal is greater than or equal to the second distance threshold, the screen far-from and bright event is triggered, and finally, a touch display screen of the mobile terminal is lightened in response to the screen far-from and bright event. Therefore, the screen mistaken lightening event of triggering the touch display screen information screen in the conversation process is prevented.
Drawings
Reference will now be made in brief to the accompanying drawings, to which embodiments of the present application relate.
Fig. 1 is a schematic flowchart of a call processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a call processing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a block diagram of functional units of a mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The Mobile terminal according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal. The operating system related to the embodiment of the invention is a software system which performs unified management on hardware resources and provides a service interface for a user.
Embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic flowchart of a call processing method provided in an embodiment of the present application, and the call processing method is applied to a mobile terminal, and includes:
s101, when the mobile terminal detects that the mobile terminal is in a screen-off conversation state and the mobile terminal is switched from a horizontal posture to a vertical posture, adjusting a distance threshold of a proximity sensor of the mobile terminal from a first distance threshold to a second distance threshold, wherein the second distance threshold is larger than the first distance threshold, and the distance threshold is used for triggering a screen-off and screen-on event.
In the prior art, when the mobile terminal is in a horizontal posture, the first distance threshold corresponds to the first distance threshold, and when the mobile terminal is in a vertical posture, the first distance threshold corresponds to the second distance threshold, and the first distance threshold is usually smaller than the second distance threshold, so that the mobile terminal is more likely to trigger an event of approaching to a screen-off state under the vertical posture, and is more likely to trigger an event of keeping away from a screen-on state under the horizontal posture. In addition, after the screen approaching and turning-off event is triggered, the screen far-from and turning-off event can be triggered, the screen approaching and turning-off event is used for controlling the touch display screen to turn off in the call process, and the screen far-from and turning-off event is used for controlling the touch display screen to turn on in the call process.
In the prior art, if the mobile terminal is in the horizontal posture during the call, the distance threshold of the proximity sensor is the first distance threshold, and when the mobile terminal is switched from the horizontal posture to the vertical posture, the distance threshold is not switched from the first threshold to the second distance threshold. In the embodiment of the invention, when the mobile terminal is detected to be in the screen-off state and the mobile terminal is detected to be switched from the horizontal posture to the vertical posture, the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold, and the second distance threshold is larger than the first distance threshold, at this time, the difficulty of increasing the distance from the bright screen event is realized by increasing the distance threshold, which is favorable for avoiding the false triggering of the bright screen event of the touch display screen in the communication process.
When the mobile terminal is in the screen turning state, the situation that the distance between the current user and the mobile terminal is gradually reduced is included, namely the situation that the current user is approaching the mobile terminal.
In the conversation process, when a screen approaching and turning-off event is triggered, the touch display screen of the mobile terminal can be controlled to turn off, and when a screen bright event is triggered and kept away, the touch display screen of the mobile terminal can be controlled to light. When the mobile terminal is in a horizontal posture, the distance threshold of the proximity sensor is a first distance threshold, at the moment, the mobile terminal is switched to a vertical posture from the horizontal posture, if the distance threshold is not adjusted, compared with a second distance threshold, a screen-lightening event is easily triggered and kept away from the mobile terminal when the first distance threshold is adopted, and therefore the mobile terminal is lightened by mistake.
And S102, when the mobile terminal detects that the distance between the current user and the mobile terminal is greater than or equal to the second distance threshold value, triggering the screen-off event.
When the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold, the distance threshold is increased, and when the fact that the distance between the current user and the mobile terminal is greater than or equal to the second distance threshold is detected, a screen-off event is triggered.
And S103, the mobile terminal responds to the screen far-off event and lights up the touch display screen of the mobile terminal.
After the screen-off event is triggered, the mobile terminal responds to the screen-off event and controls the touch display screen to be on.
It can be seen that, in the embodiment of the present application, when the mobile terminal first detects that the mobile terminal is in an off-screen conversation state, and the mobile terminal is switched from a horizontal posture to a vertical posture, a distance threshold of a proximity sensor of the mobile terminal is adjusted from a first distance threshold to a second distance threshold, where the second distance threshold is greater than the first distance threshold, and the distance threshold is used to trigger a screen far-from and bright event, then, when it is detected that a distance between a current user and the mobile terminal is greater than or equal to the second distance threshold, the screen far-from and bright event is triggered, and finally, a touch display screen of the mobile terminal is lightened in response to the screen far-from and bright event. Therefore, when the mobile terminal is in a screen-off state in a call process, the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold when the mobile terminal detects that the mobile terminal is switched from a horizontal posture to a vertical posture, the distance threshold is used for triggering a screen-off event, the screen-off sensitivity is reduced by increasing the distance threshold for triggering screen-off operation, and the screen-off of the touch display screen is prevented from being triggered by mistake in the call process.
In a possible example, before the adjusting the distance threshold of the proximity sensor of the mobile terminal from the first distance threshold to the second distance threshold, the method further includes: determining the second distance threshold; and determining to adjust the distance threshold of the proximity sensor from the first distance threshold to the second distance threshold.
The current distance threshold of the proximity sensor is a first distance threshold, and after the second distance threshold is determined, the distance threshold of the proximity sensor can be adjusted from the first distance threshold to the second distance threshold.
Therefore, in the example, the distance threshold of the proximity sensor of the mobile terminal is adjusted from the first distance threshold to the second distance threshold, and the screen-lightening event is triggered and kept away according to the second distance threshold, so that the difficulty of keeping away from the screen-lightening event is improved, and the touch display screen is favorably prevented from being triggered to lighten the screen by mistake in the communication process.
In one possible example, the determining the second distance threshold includes: acquiring a first distance threshold and a second distance threshold prestored by a mobile terminal; and determining the distance threshold of the proximity sensor of the mobile terminal as the second distance threshold.
The mobile terminal is pre-stored with a first distance threshold and a second distance threshold, where the first distance threshold and the second distance threshold may be set by a user, or may be self-contained when the mobile terminal leaves a factory, and when the current distance threshold of the proximity sensor is the first distance threshold, the mobile terminal may determine the second distance threshold.
As can be seen, in this example, the mobile terminal prestores the first distance threshold and the second distance threshold of the proximity sensor, and after the second distance threshold is determined through simple additional search and the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold, it is beneficial to trigger a far-from-bright-screen event according to the second distance threshold.
In one possible example, the determining the second distance threshold includes: acquiring a historical use record of the mobile terminal in a call process; and determining a first distance threshold value and a second distance threshold value of the mobile terminal according to the historical use record.
The first distance threshold value and the second distance threshold value can be determined through a historical use record of the mobile terminal in the call process. For example, the first distance threshold is determined to be 10 centimeters according to the record of the distance between the current user and the mobile terminal when the mobile terminal is in the horizontal posture, and the second distance threshold is determined to be 30 centimeters according to the record of the distance between the current user and the mobile terminal when the mobile terminal is in the vertical posture. I.e. a first distance threshold of 10 cm and a second distance threshold of 30 cm.
Therefore, in this example, the first distance threshold and the second distance threshold of the proximity sensor may be determined according to the history of the distance between the current user and the mobile terminal, and the distance threshold of the current proximity sensor may be adjusted from the first distance threshold to the second distance threshold, which is more flexible and is beneficial to improving the accuracy and reliability of threshold adjustment.
In one possible example, the method further includes: determining an inclination angle between the mobile terminal and a horizontal plane; and when the inclination angle is detected to be changed from being smaller than a preset angle threshold value to being larger than the preset angle threshold value, determining that the mobile terminal is switched from the horizontal posture to the vertical posture.
When the mobile terminal is in the horizontal posture and the inclination angle between the mobile terminal and the horizontal plane is lower than a preset threshold value, the inclination angle of the mobile terminal is detected in real time, and when the inclination angle between the mobile terminal and the horizontal plane is detected to be changed from being smaller than the preset angle threshold value to being larger than the preset angle threshold value, the mobile terminal can be determined to be switched from the horizontal posture to the vertical posture.
The mobile terminal can detect the inclination angle between the mobile terminal and the horizontal plane through the acceleration sensor. When the inclination angle of the mobile terminal is detected to be larger than a preset angle threshold value, the mobile terminal can be determined to be in a vertical posture, and when the inclination angle of the mobile terminal is detected to be smaller than the preset angle threshold value, the mobile terminal can be determined to be in a horizontal posture. For example, the preset angle threshold is 30 degrees, when the angle between the mobile terminal and the horizontal plane is greater than 30 degrees, the mobile terminal can be determined to be in a vertical posture, and when the angle between the mobile terminal and the horizontal plane is less than 30 degrees, the mobile terminal is determined to be in a horizontal posture.
It can be seen that, in this example, the angle between the mobile terminal and the horizontal plane is detected in real time, and it is determined whether the mobile terminal is in the horizontal posture or in the vertical posture, so as to determine whether to switch the distance threshold of the proximity sensor from the first distance threshold to the second distance threshold, and further, to avoid false triggering of the touch display screen to light the screen during the call.
Referring to fig. 2, fig. 2 is a schematic flowchart of a call processing method according to an embodiment of the present application, and is applied to a mobile terminal. As shown in the figure, the communication processing method includes:
s201, when the mobile terminal detects that the mobile terminal is in a screen-off conversation state and the mobile terminal is switched from a horizontal posture to a vertical posture, acquiring a first distance threshold and a second distance threshold prestored by the mobile terminal.
S202, the mobile terminal determines that the distance threshold of the proximity sensor is the second distance threshold.
And S203, the mobile terminal adjusts the distance threshold of the proximity sensor from a first distance threshold to a second distance threshold, wherein the second distance threshold is greater than the first distance threshold, and the distance threshold is used for triggering a screen-off event.
And S204, when the mobile terminal detects that the distance between the current user and the mobile terminal is greater than or equal to the second distance threshold, triggering the screen-off event.
And S205, the mobile terminal responds to the screen far-off event and lights up the touch display screen of the mobile terminal.
It can be seen that, in the embodiment of the present application, when the mobile terminal first detects that the mobile terminal is in an off-screen conversation state, and the mobile terminal is switched from a horizontal posture to a vertical posture, a distance threshold of a proximity sensor of the mobile terminal is adjusted from a first distance threshold to a second distance threshold, where the second distance threshold is greater than the first distance threshold, and the distance threshold is used to trigger a screen far-from and bright event, then, when it is detected that a distance between a current user and the mobile terminal is greater than or equal to the second distance threshold, the screen far-from and bright event is triggered, and finally, a touch display screen of the mobile terminal is lightened in response to the screen far-from and bright event. Therefore, when the mobile terminal is in a screen-off state in a call process, the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold when the mobile terminal detects that the mobile terminal is switched from a horizontal posture to a vertical posture, the distance threshold is used for triggering a screen-off event, the screen-off sensitivity is reduced by increasing the distance threshold for triggering screen-off operation, and the screen-off of the touch display screen is prevented from being triggered by mistake in the call process.
In accordance with the embodiments shown in fig. 1 and fig. 2, please refer to fig. 3, and fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application, where the application server runs one or more application programs and an operating system, and as shown in the figure, the application server includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are different from the one or more application programs, and the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the following steps;
when the mobile terminal is detected to be in a screen-off conversation state and the horizontal posture of the mobile terminal is switched to the vertical posture, adjusting a distance threshold of a proximity sensor of the mobile terminal from a first distance threshold to a second distance threshold, wherein the second distance threshold is larger than the first distance threshold, and the distance threshold is used for triggering a screen-off event;
when the distance between the current user and the mobile terminal is detected to be larger than or equal to the second distance threshold, triggering the screen-off event;
and responding to the screen far-away event, and lighting the touch display screen of the mobile terminal.
It can be seen that, in the embodiment of the present application, when the mobile terminal first detects that the mobile terminal is in an off-screen conversation state, and the mobile terminal is switched from a horizontal posture to a vertical posture, a distance threshold of a proximity sensor of the mobile terminal is adjusted from a first distance threshold to a second distance threshold, where the second distance threshold is greater than the first distance threshold, and the distance threshold is used to trigger a screen far-from and bright event, then, when it is detected that a distance between a current user and the mobile terminal is greater than or equal to the second distance threshold, the screen far-from and bright event is triggered, and finally, a touch display screen of the mobile terminal is lightened in response to the screen far-from and bright event. Therefore, when the mobile terminal is in a screen-off state in a call process, the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold when the mobile terminal detects that the mobile terminal is switched from a horizontal posture to a vertical posture, the distance threshold is used for triggering a screen-off event, the screen-off sensitivity is reduced by increasing the distance threshold for triggering screen-off operation, and the screen-off of the touch display screen is prevented from being triggered by mistake in the call process.
In a possible example, before the adjusting the distance threshold of the proximity sensor of the mobile terminal from the first distance threshold to the second distance threshold, the instructions in the program are further configured to: determining the second distance threshold; and determining to adjust the distance threshold of the proximity sensor from the first distance threshold to the second distance threshold.
In one possible example, in the aspect of determining the second distance threshold, the instructions in the program are specifically configured to perform: acquiring a first distance threshold and a second distance threshold prestored by a mobile terminal; and determining the distance threshold of the proximity sensor of the mobile terminal as the second distance threshold.
In one possible example, in the aspect of determining the second distance threshold, the instructions in the program are specifically configured to perform: acquiring a historical use record of the mobile terminal in a call process; and determining a first distance threshold value and a second distance threshold value of the mobile terminal according to the historical use record.
In one possible example, the instructions in the program are further configured to: determining an inclination angle between the mobile terminal and a horizontal plane; and when the inclination angle is detected to be changed from being smaller than a preset angle threshold value to being larger than the preset angle threshold value, determining that the mobile terminal is switched from the horizontal posture to the vertical posture.
The above embodiments mainly introduce the scheme of the embodiments of the present application from the perspective of the method-side implementation process.
It is understood that the mobile terminal includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the mobile terminal may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In case of integrated units, fig. 4 shows a block diagram of a possible functional unit composition of the mobile terminal involved in the above embodiments. The mobile terminal 400 includes: a processing unit 402 and a communication unit 403, the processing unit 402 being configured to control and manage the actions of the mobile terminal, for example, the processing unit 402 being configured to support the mobile terminal to perform steps S101-S103 in fig. 1, steps S201-S205 in fig. 2, and/or other processes for the techniques described herein, the communication. The mobile terminal may further include a storage unit 401 for storing program codes and data of the mobile terminal.
The Processing Unit 402 may be a Processor or a controller, such as a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor described above may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs and microprocessors, and the like. The communication unit 403 may be a communication interface, a transceiver, a transceiving circuit, etc., wherein the communication interface is a generic term and may include one or more interfaces. The storage unit 401 may be a memory.
The processing unit 402 is configured to, when it is detected that the mobile terminal is in a screen-off conversation state and the mobile terminal is switched from a horizontal posture to a vertical posture, adjust a distance threshold of a proximity sensor of the mobile terminal from a first distance threshold to a second distance threshold, where the second distance threshold is greater than the first distance threshold, and the distance threshold is used to trigger a screen-off event; and the mobile terminal is used for triggering the screen-off event when detecting that the distance between the current user and the mobile terminal is greater than or equal to the second distance threshold; and the touch display screen is used for responding to the screen far-away event and lighting the touch display screen of the mobile terminal.
In a possible example, before the adjusting the distance threshold of the proximity sensor of the mobile terminal from the first distance threshold to the second distance threshold, the processing unit 402 is further configured to: determining the second distance threshold; and a controller configured to determine to adjust the distance threshold of the proximity sensor from the first distance threshold to the second distance threshold.
In a possible example, in terms of determining the second distance threshold, the processing unit 402 is specifically configured to: acquiring a first distance threshold and a second distance threshold prestored by a mobile terminal; and a distance threshold for determining that the proximity sensor of the mobile terminal is the second distance threshold.
In a possible example, in terms of determining the second distance threshold, the processing unit 402 is specifically configured to: acquiring a historical use record of the mobile terminal in a call process; and a first distance threshold and a second distance threshold for determining the mobile terminal according to the historical usage record.
In one possible example, the processing unit 402 is further configured to determine a tilt angle between the mobile terminal and a horizontal plane; and the mobile terminal is used for determining that the mobile terminal is switched from the horizontal posture to the vertical posture when the inclination angle is detected to be changed from being smaller than the preset angle threshold to being larger than the preset angle threshold.
It should be noted that the mobile terminal described in the embodiment of the apparatus of the present invention is in the form of a functional unit. The term "unit" as used herein is to be understood in its broadest possible sense, and objects used to implement the functions described by the respective "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or chipset) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present invention also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above methods according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A call processing method, comprising:
when the mobile terminal is detected to be in a screen-off conversation state, the distance between the mobile terminal and a current user is gradually reduced, and the horizontal posture is switched to the vertical posture, the distance threshold value of a proximity sensor of the mobile terminal is adjusted to be a second distance threshold value from a first distance threshold value, the second distance threshold value is larger than the first distance threshold value, and the distance threshold value is used for triggering a screen-off and bright-screen event;
when the distance between the current user and the mobile terminal is detected to be larger than or equal to the second distance threshold value, triggering the screen far-from bright event;
and responding to the screen far-away event, and lightening a touch display screen of the mobile terminal.
2. The method according to claim 1, wherein before the adjusting the distance threshold of the proximity sensor of the mobile terminal from the first distance threshold to the second distance threshold, the method further comprises:
determining the second distance threshold;
determining to adjust the distance threshold of the proximity sensor from the first distance threshold to the second distance threshold.
3. The method of claim 2, wherein the determining the second distance threshold comprises:
acquiring a first distance threshold and a second distance threshold prestored by a mobile terminal;
and determining the distance threshold of the proximity sensor of the mobile terminal as the second distance threshold.
4. The method of claim 2, wherein the determining the second distance threshold comprises:
acquiring a historical use record of the mobile terminal in a call process;
and determining a first distance threshold value and a second distance threshold value of the mobile terminal according to the historical use record.
5. The method according to any one of claims 1 to 4, further comprising:
determining an inclination angle between the mobile terminal and a horizontal plane;
when the inclination angle is detected to be changed from being smaller than a preset angle threshold value to being larger than the preset angle threshold value, it is determined that the mobile terminal is switched from a horizontal posture to a vertical posture.
6. A mobile terminal, comprising a processing unit,
the processing unit is used for adjusting a distance threshold of a proximity sensor of the mobile terminal from a first distance threshold to a second distance threshold when the mobile terminal is detected to be in a screen-off conversation state, the distance between the mobile terminal and a current user is gradually reduced, and the horizontal posture is switched to the vertical posture, wherein the second distance threshold is larger than the first distance threshold, and the distance threshold is used for triggering a screen-off and bright event;
the processing unit is further configured to trigger the screen far-from bright event when detecting that the distance between the current user and the mobile terminal is greater than or equal to the second distance threshold;
the processing unit is further used for responding to the screen far-away event and lighting the touch display screen of the mobile terminal.
7. The mobile terminal of claim 6, wherein prior to adjusting the distance threshold of the proximity sensor of the mobile terminal from the first distance threshold to the second distance threshold, the processing unit is further configured to determine the second distance threshold; and means for determining to adjust the distance threshold of the proximity sensor from the first distance threshold to the second distance threshold.
8. The mobile terminal according to claim 7, wherein in the determining the second distance threshold, the processing unit is specifically configured to: acquiring a first distance threshold and a second distance threshold prestored by a mobile terminal; and means for determining that the distance threshold of the proximity sensor of the mobile terminal is the second distance threshold.
9. The mobile terminal according to claim 7, wherein in the determining the second distance threshold, the processing unit is specifically configured to: acquiring a historical use record of the mobile terminal in a call process; and the first distance threshold value and the second distance threshold value of the mobile terminal are determined according to the historical use record.
10. The mobile terminal according to any of claims 6 to 9, wherein the processing unit is further configured to determine a tilt angle between the mobile terminal and a horizontal plane; and the mobile terminal is used for determining that the mobile terminal is switched from the horizontal posture to the vertical posture when the inclination angle is detected to be changed from being smaller than the preset angle threshold to being larger than the preset angle threshold.
11. A mobile terminal comprising a processor, memory, a communications interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1-5.
12. A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-5, the computer comprising a mobile terminal.
CN201780092543.2A 2017-09-30 2017-09-30 Call processing method and related product Active CN110800277B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/105124 WO2019061536A1 (en) 2017-09-30 2017-09-30 Call processing method and related product

Publications (2)

Publication Number Publication Date
CN110800277A CN110800277A (en) 2020-02-14
CN110800277B true CN110800277B (en) 2021-05-18

Family

ID=65902320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780092543.2A Active CN110800277B (en) 2017-09-30 2017-09-30 Call processing method and related product

Country Status (2)

Country Link
CN (1) CN110800277B (en)
WO (1) WO2019061536A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637417A (en) * 2019-09-23 2021-04-09 深圳市万普拉斯科技有限公司 Infrared proximity sensor control method and device and mobile terminal
CN114449097A (en) * 2022-01-19 2022-05-06 惠州Tcl移动通信有限公司 Screen-off method, device, communication equipment and computer readable storage medium
CN114625249B (en) * 2022-03-07 2024-04-19 清华大学 Method and device for detecting kneading release action and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935737A (en) * 2015-05-25 2015-09-23 上海卓易科技股份有限公司 Method and equipment for realizing screen on-off in call process
EP2879035A4 (en) * 2012-11-12 2015-09-30 Xiaomi Inc Screen control method and terminal
CN105204841A (en) * 2015-08-17 2015-12-30 小米科技有限责任公司 Measuring range adjusting method and measuring range adjusting device
CN106708332A (en) * 2016-12-19 2017-05-24 广东欧珀移动通信有限公司 Method, device and terminal for setting thresholds of proximity sensors

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917124B (en) * 2012-09-27 2014-11-26 东莞宇龙通信科技有限公司 Method for dynamically adjusting threshold of distance sensor, and mobile terminal
CN104618565A (en) * 2013-11-04 2015-05-13 深圳富泰宏精密工业有限公司 Anti-misoperation electronic device and method
KR20150073366A (en) * 2013-12-23 2015-07-01 삼성전자주식회사 Method for measuring distance between devices and electronic device implementing the same
CN105681553B (en) * 2016-01-06 2020-07-10 惠州Tcl移动通信有限公司 Handheld terminal and misoperation preventing method thereof
CN106131334B (en) * 2016-07-11 2019-12-10 Oppo广东移动通信有限公司 Method and device for controlling screen state of mobile terminal
CN106200989B (en) * 2016-09-08 2019-11-12 广东小天才科技有限公司 A kind of method and device of the bright screen of mobile terminal
CN106797416B (en) * 2016-10-31 2020-06-19 北京小米移动软件有限公司 Screen control method and device
CN106598444B (en) * 2016-12-06 2020-01-14 Oppo广东移动通信有限公司 Control method of mobile terminal and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2879035A4 (en) * 2012-11-12 2015-09-30 Xiaomi Inc Screen control method and terminal
CN104935737A (en) * 2015-05-25 2015-09-23 上海卓易科技股份有限公司 Method and equipment for realizing screen on-off in call process
CN105204841A (en) * 2015-08-17 2015-12-30 小米科技有限责任公司 Measuring range adjusting method and measuring range adjusting device
CN106708332A (en) * 2016-12-19 2017-05-24 广东欧珀移动通信有限公司 Method, device and terminal for setting thresholds of proximity sensors

Also Published As

Publication number Publication date
CN110800277A (en) 2020-02-14
WO2019061536A1 (en) 2019-04-04

Similar Documents

Publication Publication Date Title
CN108550353B (en) Brightness adjusting method and related product
CN108510963B (en) Screen brightness adjusting method and device, storage medium and intelligent terminal
CN106507445B (en) Wireless fidelity Wi-Fi scanning method and mobile terminal
CN107566015B (en) Antenna control method, antenna control device, storage medium and electronic equipment
CN110800277B (en) Call processing method and related product
CN108764056B (en) Brightness adjusting method and related product
CN108255343B (en) Flash lamp adjusting method, user terminal and medium product
US9998579B2 (en) Method, apparatus, and system for displaying message in mobile terminal
CN108768430B (en) Communication control management method and mobile terminal
WO2016145793A1 (en) Driving mode switching method and device
CN108390734B (en) Network data transmission method and user terminal
US20160165041A1 (en) Incoming call switching method and communications terminal
US11308893B2 (en) Method for controlling brightness in mobile terminal display, mobile terminal and storage device
CN107613087B (en) Control method and mobile terminal
CN108170356B (en) Application split screen method and related product
CN109753350B (en) Resource management method and terminal equipment
KR102559651B1 (en) Electromagnetic interference control method and related products
US9671895B2 (en) Method and system for turning off an alarm of a mobile terminal
CN108415646B (en) Touch function setting method and device
CN105120511B (en) Processor control method and terminal
CN112929492B (en) Control method, control device, storage medium and mobile terminal
WO2015070718A1 (en) Communication number notification method and communication device
CN108762996B (en) Touch detection method and device
CN110741621B (en) Call processing method and related product
CN110800278B (en) Call processing method and related product

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