WO2019061536A1 - Call processing method and related product - Google Patents

Call processing method and related product Download PDF

Info

Publication number
WO2019061536A1
WO2019061536A1 PCT/CN2017/105124 CN2017105124W WO2019061536A1 WO 2019061536 A1 WO2019061536 A1 WO 2019061536A1 CN 2017105124 W CN2017105124 W CN 2017105124W WO 2019061536 A1 WO2019061536 A1 WO 2019061536A1
Authority
WO
WIPO (PCT)
Prior art keywords
distance threshold
mobile terminal
threshold
distance
determining
Prior art date
Application number
PCT/CN2017/105124
Other languages
French (fr)
Chinese (zh)
Inventor
张强
Original Assignee
深圳市云中飞网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市云中飞网络科技有限公司 filed Critical 深圳市云中飞网络科技有限公司
Priority to CN201780092543.2A priority Critical patent/CN110800277B/en
Priority to PCT/CN2017/105124 priority patent/WO2019061536A1/en
Publication of WO2019061536A1 publication Critical patent/WO2019061536A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present application relates to the field of mobile terminal technologies, and in particular, to a call processing method and related products.
  • the current posture of the mobile terminal can be detected by the acceleration sensor of the mobile terminal, thereby avoiding unnecessary false alarm screen events or false screen events.
  • the proximity sensor corresponds to a low sensitivity distance threshold
  • the proximity sensor corresponds to a high sensitivity distance threshold, and at a low sensitivity distance threshold
  • the user's call action is sensed, and when the high sensitivity distance threshold is reached, the user's call operation can be sensed in a wider range.
  • the embodiment of the present application provides a call processing method and related products, which can effectively prevent the mobile terminal from falsely illuminating the screen during a call.
  • an embodiment of the present application provides a call processing method, where the foregoing method includes:
  • 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 second distance is The threshold is greater than the first distance threshold, and the distance threshold is used to trigger a remote screen event;
  • the touch display screen of the mobile terminal is illuminated in response to the above-mentioned remote screen event.
  • an embodiment of the present application provides a mobile terminal, including a processing unit,
  • the processing unit is configured to adjust a distance threshold of the proximity sensor of the mobile terminal from a first distance threshold to a second when detecting that the mobile terminal is in an off-screen state, and the mobile terminal is switched from a horizontal posture to a vertical posture. a distance threshold, where the second distance threshold is greater than the first distance threshold, The above distance threshold is used to trigger a remote screen event;
  • the processing unit is further configured to: when detecting that the distance between the current user and the mobile terminal is greater than or equal to the second distance threshold, triggering the remote screen event;
  • the processing unit is further configured to illuminate the touch display screen of the mobile terminal in response to the moving away from the bright screen event.
  • 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.
  • the above program includes instructions for performing the steps in any of the methods of the first aspect of the embodiments of the present application.
  • the embodiment of the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the embodiment of the present application.
  • the computer comprises a mobile terminal.
  • an embodiment of 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, the computer program being operative to cause a computer to perform the implementation of the present invention.
  • the distance threshold of the proximity sensor of the mobile terminal is determined by the first The distance threshold is adjusted to a second distance threshold, the second distance threshold is greater than the first distance threshold, the distance threshold is used to trigger a remote screen event, and secondly, the distance between the current user and the mobile terminal is greater than or equal to
  • the second distance threshold is used, the remote screen event is triggered, and finally, the touch screen of the mobile terminal is illuminated in response to the remote screen event. Therefore, it is advantageous to prevent a false screen event that triggers the touch screen display screen during the call.
  • 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 a functional unit of a mobile terminal according to an embodiment of the present invention.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • the mobile terminal involved in the embodiments of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem, and various forms of user devices (User Equipment, UE), mobile station (MS), terminal device, and the like.
  • user devices User Equipment, UE
  • MS mobile station
  • terminal device terminal device, and the like.
  • the operating system involved in the embodiments of the present invention is a software system that uniformly manages hardware resources and provides a service interface to users.
  • FIG. 1 is a schematic flowchart of a call processing method according to an embodiment of the present application. Applied to a mobile terminal, the call processing method includes:
  • the distance threshold of the proximity sensor of the mobile terminal is adjusted from a first distance threshold to a second distance threshold.
  • the second distance threshold is greater than the first distance threshold, and the distance threshold is used to trigger a remote screen event.
  • the mobile terminal when the mobile terminal is in the horizontal posture, corresponding to the first distance threshold and in the vertical posture, corresponding to the second distance threshold, usually the first distance threshold is smaller than the second distance threshold, so the mobile terminal is vertical It is easier to trigger close to the screen event in the gesture, and it is easier to trigger the event away from the screen in the horizontal attitude.
  • the event that is close to the bright screen can be triggered after the event is triggered, and the near-screen event is used to control the touch screen during the call, and the remote screen is used to control the touch screen during the call. Bright screen.
  • the distance threshold of the proximity sensor is a first distance threshold, and when the mobile terminal is switched from a horizontal attitude to a vertical attitude, the distance threshold is not determined by the first threshold.
  • the distance threshold of the proximity sensor is the second distance threshold, and when the mobile terminal is switched from the vertical attitude to the horizontal attitude, the distance threshold is not Switching from the second threshold to the first threshold.
  • the distance threshold of the proximity sensor when detecting that the mobile terminal is in the interest screen state, and detecting that the mobile terminal is 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.
  • the second distance threshold is greater than the first distance threshold. In this case, it is equivalent to increasing the distance threshold to increase the difficulty of moving away from the bright screen event, which is beneficial to avoid erroneously triggering the bright screen event of the touch display during the call.
  • the distance between the current user and the mobile terminal is gradually decreasing, that is, the current user is approaching the mobile terminal.
  • the touch screen of the touch screen of the mobile terminal can be controlled, and when the event of the screen is far away from the bright screen, the touch screen of the touch screen of the mobile terminal can be controlled to be bright.
  • the distance threshold of the proximity sensor is the first distance threshold. At this time, the mobile terminal is switched from the horizontal attitude to the vertical attitude. If the distance threshold is not adjusted, compared to the second distance threshold, It is easier to trigger a remote screen event when the distance threshold is exceeded, thus causing the mobile terminal to falsely illuminate the screen.
  • the mobile terminal triggers the moving away from the bright screen 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 distance threshold is increased when the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold, and is triggered when it is detected that the distance between the current user and the mobile terminal is greater than or equal to the second distance threshold. Stay away from the bright screen event.
  • the mobile terminal illuminates the touch display screen of the mobile terminal in response to the moving away from the bright screen event.
  • the mobile terminal After the event is triggered away from the bright screen, the mobile terminal responds to the bright screen event and controls the touch screen to be bright.
  • the distance threshold of the proximity sensor of the mobile terminal is determined by the first The distance threshold is adjusted to a second distance threshold, the second distance threshold is greater than the first distance threshold, the distance threshold is used to trigger a remote screen event, and secondly, the distance between the current user and the mobile terminal is greater than or equal to When the second distance threshold is used, the remote screen event is triggered, and finally, the touch screen of the mobile terminal is illuminated in response to the remote screen event.
  • the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold, and the distance threshold is used for triggering. Keep away from the bright screen event, reduce the sensitivity of the bright screen by increasing the distance threshold for triggering the bright screen operation, which is beneficial to prevent the touch screen from being touched by the touch screen during the call.
  • the method before the adjusting the distance threshold of the proximity sensor of the mobile terminal by the first distance threshold to the second distance threshold, the method further includes: determining the second distance threshold; determining a distance of the proximity sensor. The threshold is adjusted by the first distance threshold to the second distance threshold.
  • the current distance threshold of the proximity sensor is a first distance threshold. After determining the second distance threshold, the distance threshold of the proximity sensor may be adjusted from the first distance threshold to the second distance threshold.
  • the distance threshold of the proximity sensor of the mobile terminal is adjusted from the first distance threshold to the second distance threshold, and then the remote screen event is triggered according to the second distance threshold, thereby improving the difficulty of moving away from the bright screen event. It helps to avoid false triggering of the touch screen during the call.
  • the foregoing determining the second distance threshold includes: acquiring a mobile terminal Pre-stored first distance threshold and second distance threshold; determining a distance threshold of the proximity sensor of the mobile terminal is the second distance threshold.
  • the mobile terminal prestores a first distance threshold and a second distance threshold.
  • the first distance threshold and the second distance threshold may be set by a user, or may be self-contained by the mobile terminal, and the mobile terminal is in proximity.
  • the second distance threshold may be determined.
  • the mobile terminal prestores the first distance threshold and the second distance threshold of the proximity sensor, and after determining the second distance threshold by a simple amount search and adjusting the distance threshold of the proximity sensor from the first distance threshold to the second
  • the distance threshold facilitates triggering away from the bright screen event according to the second distance threshold.
  • the determining the foregoing second distance threshold includes: acquiring a historical usage record of the mobile terminal during a call; and determining, according to the historical usage record, the first distance threshold and the second distance threshold of the mobile terminal.
  • the first distance threshold and the second distance threshold may be determined by a historical usage record of the mobile terminal during the call. For example, according to the record of the distance between the current user and the mobile terminal when the mobile terminal is in the horizontal posture, the first distance threshold is determined to be 10 cm, and the distance between the current user and the mobile terminal according to the mobile terminal in the vertical posture. The record determines that the second distance threshold is 30 cm. That is, the first distance threshold is 10 cm and the second distance threshold is 30 cm.
  • 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 is adjusted from the first distance threshold to The second distance threshold is more flexible and helps to improve the accuracy and reliability of the threshold adjustment.
  • the method further includes: determining an inclination angle between the mobile terminal and the horizontal plane; determining that the mobile terminal is horizontal by detecting that the tilt angle is changed from a preset angle threshold to a preset angle threshold. The attitude is switched to a vertical attitude.
  • the tilt angle between the horizontal plane and the horizontal plane is lower than the preset threshold, and the tilt angle of the mobile terminal is detected in real time, and the tilt angle between the mobile terminal and the horizontal plane is detected to be less than the preset angle threshold.
  • it becomes greater than the preset angle threshold it can be determined that the mobile terminal is switched from the horizontal attitude to the vertical attitude.
  • the mobile terminal can detect the tilt angle between the mobile terminal and the horizontal plane through the acceleration sensor.
  • the mobile terminal may be determined In the vertical posture, when it is detected that the tilt angle of the mobile terminal is less than the preset angle threshold, it may be determined that the mobile terminal is in the horizontal posture.
  • the preset angle threshold is 30 degrees
  • the mobile terminal may 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.
  • the preset angle threshold is 30 degrees
  • the mobile terminal may be determined to be in a vertical posture
  • the angle between the mobile terminal and the horizontal plane is less than 30 degrees
  • the present example by detecting the angle between the mobile terminal and the horizontal plane in real time, determining whether the mobile terminal is in a horizontal posture or in a vertical posture, thereby determining whether to switch the distance threshold of the proximity sensor from the first distance threshold to the second distance.
  • the threshold avoids false triggering of the touch screen display during a call.
  • FIG. 2 is a schematic flowchart of a call processing method according to an embodiment of the present application, which is applied to a mobile terminal. As shown in the figure, the call processing method includes:
  • the mobile terminal detects that the mobile terminal is in an off-screen state, and when the mobile terminal switches from a horizontal posture to a vertical posture, acquires a first distance threshold and a second distance threshold pre-stored by the mobile terminal.
  • the distance threshold of the mobile terminal that determines the proximity sensor is the second distance threshold.
  • the mobile terminal adjusts a distance threshold of the proximity sensor 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 remote screen event.
  • the mobile terminal triggers the moving away from the bright screen 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 mobile terminal illuminates the touch display screen of the mobile terminal in response to the moving away from the bright screen event.
  • the distance threshold of the proximity sensor of the mobile terminal is determined by the first The distance threshold is adjusted to a second distance threshold, the second distance threshold is greater than the first distance threshold, the distance threshold is used to trigger a remote screen event, and secondly, the distance between the current user and the mobile terminal is greater than or equal to When the second distance threshold is used, the remote screen event is triggered, and finally, the touch screen of the mobile terminal is illuminated in response to the remote screen event. It can be seen that when the mobile terminal is in the state of interest screen during the call, it is detected that it is cut by the horizontal posture.
  • the distance threshold of the proximity sensor When changing to the vertical attitude, the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold, the distance threshold is used to trigger the away from the bright screen event, and the bright screen is reduced by increasing the distance threshold for triggering the bright screen operation. Sensitivity helps prevent accidental triggering of the touch screen display screen during the call.
  • FIG. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • the application server runs one or more applications and An operating system, as shown, the processor, the memory, the communication interface, and one or more programs, wherein the one or more programs are different from the one or more applications, and the one or more
  • the program is stored in the above memory and configured to be executed by the processor, the program including instructions for performing the following steps;
  • 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 second distance is The threshold is greater than the first distance threshold, and the distance threshold is used to trigger a remote screen event;
  • the touch display screen of the mobile terminal is illuminated in response to the above-mentioned remote screen event.
  • the distance threshold of the proximity sensor of the mobile terminal is determined by the first The distance threshold is adjusted to a second distance threshold, the second distance threshold is greater than the first distance threshold, the distance threshold is used to trigger a remote screen event, and secondly, the distance between the current user and the mobile terminal is greater than or equal to When the second distance threshold is used, the remote screen event is triggered, and finally, the touch screen of the mobile terminal is illuminated in response to the remote screen event.
  • the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold, and the distance threshold is used for triggering. Keep away from the bright screen event, reduce the sensitivity of the bright screen by increasing the distance threshold for triggering the bright screen operation, which is beneficial to prevent the touch screen from being touched by the touch screen during the call.
  • the instructions in the program are further used to: determine the second distance threshold; The distance threshold of the proximity sensor is adjusted by the first distance threshold It is the above second distance threshold.
  • the instructions in the foregoing procedure are specifically configured to: obtain a first distance threshold and a second distance threshold pre-stored by the mobile terminal; and determine a proximity sensor of the mobile terminal.
  • the distance threshold is the second distance threshold described above.
  • the instruction in the foregoing procedure is specifically configured to: obtain a historical usage record of the mobile terminal during a call; and determine, according to the historical usage record, the mobile terminal The first distance threshold and the second distance threshold.
  • the instructions in the above program are further configured to: determine a tilt angle between the mobile terminal and the horizontal plane; and determine, when detecting that the tilt angle is changed from a preset angle threshold to a preset angle threshold; The above mobile terminal is switched from a horizontal attitude to a vertical attitude.
  • the mobile terminal includes corresponding hardware structures and/or software modules for performing various functions.
  • the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for each particular application to implement the described functionality, but such implementation should not be considered to be beyond the scope of the application.
  • the embodiment of the present application may divide the functional unit into the mobile terminal according to the foregoing method example.
  • each functional unit may be divided according to each function, or two or more functions may be integrated into one processing unit.
  • the above integrated unit can be implemented in the form of hardware or in the 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 logical function division. In actual implementation, there may be another division manner.
  • FIG. 4 shows a block diagram of a possible functional unit composition of the mobile terminal involved in the above embodiment.
  • the mobile terminal 400 includes a processing unit 402 and a communication unit 403.
  • the processing unit 402 is configured to perform control management on the actions of the mobile terminal.
  • the processing unit 402 is configured to support the mobile terminal to perform steps S101-S103 in FIG. Steps S201-S205 and/or other processes for the techniques described herein, communicate.
  • the mobile terminal may further include a storage unit 401. Program code and data for storing a mobile terminal.
  • the processing unit 402 can be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the above processors may also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication unit 403 can be a communication interface, a transceiver, a transceiver circuit, etc., wherein the communication interface is a collective name and can include one or more interfaces.
  • the storage unit 401 can be a memory.
  • the processing unit 402 is configured to adjust a distance threshold of the proximity sensor of the mobile terminal from a first distance threshold when detecting that the mobile terminal is in a blackout state and the mobile terminal is switched from a horizontal posture to a vertical posture.
  • a second distance threshold where the second distance threshold is greater than the first distance threshold, the distance threshold is used to trigger a remote screen event; and is configured to detect that a distance between the current user and the mobile terminal is greater than or equal to the foregoing
  • the distance threshold is two, the above-mentioned far away bright screen event is triggered; and the touch display screen of the mobile terminal is illuminated in response to the above-mentioned far away bright screen event.
  • the processing unit 402 before the adjusting the distance threshold of the proximity sensor of the mobile terminal from the first distance threshold to the second distance threshold, is further configured to: determine the second distance threshold; and determine The distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold.
  • the processing unit 402 is specifically configured to: acquire a first distance threshold and a second distance threshold pre-stored by the mobile terminal; and determine a proximity sensor of the mobile terminal.
  • the distance threshold is the second distance threshold described above.
  • the processing unit 402 is specifically configured to: acquire a historical usage record of the mobile terminal during a call; and determine the mobile terminal according to the historical usage record.
  • the first distance threshold and the second distance threshold are specifically configured to: acquire a historical usage record of the mobile terminal during a call; and determine the mobile terminal according to the historical usage record.
  • the processing unit 402 is further configured to determine an angle of inclination between the mobile terminal and the horizontal plane; and to determine when the detected tilt angle is changed from less than the preset angle threshold to greater than the preset angle threshold.
  • the above mobile terminal is switched from a horizontal attitude to a vertical attitude.
  • the mobile terminal described in the device embodiment of the present invention is presented in the form of a functional unit.
  • the term "unit” as used herein shall be understood to mean the broadest possible meaning, and the object for implementing the functions described for each "unit” may be, for example, an integrated circuit ASIC, a single circuit for executing one or more software or firmware.
  • a processor shared, dedicated or chipset
  • memory of the program combinatorial logic, and/or other suitable components that perform the functions described above.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program causing the computer to perform some or all of the steps of any of the methods described in the foregoing method embodiments.
  • the above computer includes a mobile terminal.
  • the embodiment of the present invention further provides a computer program product, the computer program product comprising a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause the computer to execute any one of the methods described in the foregoing method embodiments Part or all of the steps of the method.
  • the computer program product can be a software installation package, and the computer includes a mobile terminal.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the above units is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose some or all of them according to actual needs.
  • the unit is to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the above-described integrated unit can 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 standalone product. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a memory. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-described methods of various embodiments of the present invention.
  • the foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

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

Abstract

Disclosed are a call processing method and a related product, the method comprising: detecting that a mobile terminal is in a screen-off call state, and when the mobile terminal switches 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, the second distance threshold being greater than the first distance threshold, the distance threshold being used for triggering a remote screen-on event; upon detecting that the distance between a user and the mobile terminal is greater than or equal to the second distance threshold, triggering the remote screen-on event; in response to the remote screen-on event, illuminating a touch display screen of the mobile terminal. The present application helps to prevent a situation wherein a touch display screen is falsely triggered to be on during a call.

Description

通话处理方法及相关产品Call processing method and related products 技术领域Technical field
本申请涉及移动终端技术领域,具体涉及通话处理方法及相关产品。The present application relates to the field of mobile terminal technologies, and in particular, to a call processing method and related products.
背景技术Background technique
在使用移动终端进行通话的过程中,可以通过移动终端的加速度传感器来检测移动终端当前的姿态,从而避免不必要的误息屏事件或者误亮屏事件。在检测到移动终端当前处于水平姿态时,接近传感器对应有低灵敏度距离阀值,在检测到移动终端当前处于竖直姿态时,接近传感器对应有高灵敏度距离阈值,在低灵敏度距离阈值时,可在小范围内感应用户的通话动作,在高灵敏度距离阈值时,可在更大范围内感应用户的通话操作。In the process of using the mobile terminal to make a call, the current posture of the mobile terminal can be detected by the acceleration sensor of the mobile terminal, thereby avoiding unnecessary false alarm screen events or false screen events. When detecting that the mobile terminal is currently in a horizontal posture, the proximity sensor corresponds to a low sensitivity distance threshold, and when detecting that the mobile terminal is currently in a vertical posture, the proximity sensor corresponds to a high sensitivity distance threshold, and at a low sensitivity distance threshold, In the small range, the user's call action is sensed, and when the high sensitivity distance threshold is reached, the user's call operation can be sensed in a wider range.
发明内容Summary of the invention
本申请实施例提供了通话处理方法及相关产品,可以有效避免移动终端在通话过程中误亮屏。The embodiment of the present application provides a call processing method and related products, which can effectively prevent the mobile terminal from falsely illuminating the screen during a call.
第一方面,本申请实施例提供一种通话处理方法,上述方法包括:In a first aspect, an embodiment of the present application provides a call processing method, where the foregoing method includes:
检测到移动终端处于熄屏通话状态,且上述移动终端由水平姿态切换为竖直姿态时,将上述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,上述第二距离阈值大于上述第一距离阈值,上述距离阈值用于触发远离亮屏事件;When the mobile terminal is in the state of being in the off-screen state, and the mobile terminal is switched from the horizontal posture to the vertical posture, 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 second distance is The threshold is greater than the first distance threshold, and the distance threshold is used to trigger a remote screen event;
在检测到当前用户与上述移动终端之间的距离大于或等于上述第二距离阈值时,触发上述远离亮屏事件;When the distance between the current user and the mobile terminal is greater than or equal to the second distance threshold, the above-mentioned remote screen event is triggered;
响应上述远离亮屏事件,点亮上述移动终端的触控显示屏。The touch display screen of the mobile terminal is illuminated in response to the above-mentioned remote screen event.
第二方面,本申请实施例提供了一种移动终端,包括处理单元,In a second aspect, an embodiment of the present application provides a mobile terminal, including a processing unit,
上述处理单元,用于在检测到移动终端处于熄屏通话状态,且上述移动终端由水平姿态切换为竖直姿态时,将上述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,上述第二距离阈值大于上述第一距离阈值, 上述距离阈值用于触发远离亮屏事件;The processing unit is configured to adjust a distance threshold of the proximity sensor of the mobile terminal from a first distance threshold to a second when detecting that the mobile terminal is in an off-screen state, and the mobile terminal is switched from a horizontal posture to a vertical posture. a distance threshold, where the second distance threshold is greater than the first distance threshold, The above distance threshold is used to trigger a remote screen event;
上述处理单元,还用于在检测到当前用户与上述移动终端之间的距离大于或等于上述第二距离阈值时,触发上述远离亮屏事件;The processing unit is further configured to: when detecting that the distance between the current user and the mobile terminal is greater than or equal to the second distance threshold, triggering the remote screen event;
上述处理单元,还用于响应上述远离亮屏事件,点亮上述移动终端的触控显示屏。The processing unit is further configured to illuminate the touch display screen of the mobile terminal in response to the moving away from the bright screen event.
第三方面,本申请实施例提供一种移动终端,包括处理器、存储器以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。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. The above program includes instructions for performing the steps in any of the methods of the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面或第一方面任一方法中所描述的部分或全部步骤,上述计算机包括移动终端。In a fourth aspect, the embodiment of the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the embodiment of the present application. In one aspect or part or all of the steps described in any of the methods of the first aspect, the computer comprises a mobile terminal.
第五方面,本发明实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本发明实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括移动终端。In a fifth aspect, an embodiment of 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, the computer program being operative to cause a computer to perform the implementation of the present invention. Some or all of the steps described in any of the methods of the first aspect. The computer program product can be a software installation package, and the computer includes 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 state, and the mobile terminal switches from a horizontal posture to a vertical posture, the distance threshold of the proximity sensor of the mobile terminal is determined by the first The distance threshold is adjusted to a second distance threshold, the second distance threshold is greater than the first distance threshold, the distance threshold is used to trigger a remote screen event, and secondly, the distance between the current user and the mobile terminal is greater than or equal to When the second distance threshold is used, the remote screen event is triggered, and finally, the touch screen of the mobile terminal is illuminated in response to the remote screen event. Therefore, it is advantageous to prevent a false screen event that triggers the touch screen display screen during the call.
附图说明DRAWINGS
下面将对本申请实施例所涉及到的附图作简单地介绍。The drawings referred to in the embodiments of the present application will be briefly described below.
图1是本申请实施例提供的一种通话处理方法的流程示意图; 1 is a schematic flowchart of a call processing method according to an embodiment of the present application;
图2是本申请实施例提供的一种通话处理方法的流程示意图;2 is a schematic flowchart of a call processing method according to an embodiment of the present application;
图3是本发明实施例公开的一种移动终端的结构示意图;3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
图4是本发明实施例公开的一种移动终端的功能单元组成框图。4 is a block diagram of a functional unit of a mobile terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish different objects, and are not intended to describe a specific order. Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or, optionally, Other steps or units inherent to these processes, methods, products, or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
本申请实施例所涉及到的移动终端可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为移动终端。本发明实施例所涉及到的操作系统是对硬件资源进行统一管理,并向用户提供业务接口的软件系统。The mobile terminal involved in the embodiments of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem, and various forms of user devices (User Equipment, UE), mobile station (MS), terminal device, and the like. For convenience of description, the devices mentioned above are collectively referred to as mobile terminals. The operating system involved in the embodiments of the present invention is a software system that uniformly manages hardware resources and provides a service interface to users.
下面结合附图对本申请实施例进行介绍。The embodiments of the present application are described below with reference to the accompanying drawings.
请参阅图1,图1是本申请实施例提供了一种通话处理方法的流程示意图, 应用于移动终端,本通话处理方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a call processing method according to an embodiment of the present application. Applied to a mobile terminal, the call processing method includes:
S101,移动终端检测到移动终端处于熄屏通话状态,且上述移动终端由水平姿态切换为竖直姿态时,将上述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,上述第二距离阈值大于上述第一距离阈值,上述距离阈值用于触发远离亮屏事件。S101: When the mobile terminal detects that the mobile terminal is in an off-screen state, and the mobile terminal switches from a horizontal posture to a vertical posture, the distance threshold of the proximity sensor of the mobile terminal is adjusted from a first distance threshold to a second distance threshold. The second distance threshold is greater than the first distance threshold, and the distance threshold is used to trigger a remote screen event.
其中,现有技术中,移动终端处于水平姿态时,对应第一距离阈值,处于竖直姿态时,对应第二距离阈值,通常第一距离阈值小于第二距离阈值,因此在移动终端在竖直姿态下更容易触发接近息屏事件,在水平姿态下更容易触发远离亮屏事件。此外,在触发接近息屏事件后,才可以触发远离亮屏事件,接近息屏事件用于控制触控显示屏在通话过程中息屏,远离亮屏事件用于控制触控显示屏在通话过程中亮屏。In the prior art, when the mobile terminal is in the horizontal posture, corresponding to the first distance threshold and in the vertical posture, corresponding to the second distance threshold, usually the first distance threshold is smaller than the second distance threshold, so the mobile terminal is vertical It is easier to trigger close to the screen event in the gesture, and it is easier to trigger the event away from the screen in the horizontal attitude. In addition, the event that is close to the bright screen can be triggered after the event is triggered, and the near-screen event is used to control the touch screen during the call, and the remote screen is used to control the touch screen during the call. Bright screen.
其中,现有技术中,若在通话过程中移动终端处于水平姿态,则接近传感器的距离阈值为第一距离阈值,当移动终端由水平姿态切换为竖直姿态时,距离阈值不会由第一阈值切换为第二距离阈值,同理,若在通话过程中移动终端处于竖直姿态,则接近传感器的距离阈值为第二距离阈值,当移动终端由竖直姿态切换为水平姿态时,距离阈值不会由第二阈值切换为第一阈值。在本发明实施例中,在检测到移动终端处于息屏状态时,且检测到移动终端由水平姿态切换到竖直姿态时,将接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,第二距离阈值大于第一距离阈值,此时,相当于通过增大距离阈值实现增加远离亮屏事件的难度,有利于避免通话过程中误触发触控显示屏的亮屏事件。In the prior art, if the mobile terminal is in a horizontal posture during a call, the distance threshold of the proximity sensor is a first distance threshold, and when the mobile terminal is switched from a horizontal attitude to a vertical attitude, the distance threshold is not determined by the first threshold. Switching to the second distance threshold, in the same way, if the mobile terminal is in the vertical posture during the call, the distance threshold of the proximity sensor is the second distance threshold, and when the mobile terminal is switched from the vertical attitude to the horizontal attitude, the distance threshold is not Switching from the second threshold to the first threshold. In the embodiment of the present invention, when detecting that the mobile terminal is in the interest screen state, and detecting that the mobile terminal is 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. The second distance threshold is greater than the first distance threshold. In this case, it is equivalent to increasing the distance threshold to increase the difficulty of moving away from the bright screen event, which is beneficial to avoid erroneously triggering the bright screen event of the touch display during the call.
其中,移动终端处于息屏状态时,包括当前用户和移动终端的距离在逐渐减小的情况,即当前用户正在接近移动终端的情况。Wherein, when the mobile terminal is in the interest screen state, the distance between the current user and the mobile terminal is gradually decreasing, that is, the current user is approaching the mobile terminal.
其中,在通话过程中,在触发接近息屏事件时,可以控制移动终端触控显示屏息屏,在触发远离亮屏事件时,可以控制移动终端触控显示屏亮屏。在移动终端处于水平姿态时,接近传感器的距离阈值为第一距离阈值,此时,移动终端由水平姿态切换为了竖直姿态,若不对距离阈值进行调整,相比于第二距离阈值,在第一距离阈值时更容易触发远离亮屏事件,因此,会导致移动终端误亮屏。 In the process of the call, when the event of the near-screen is triggered, the touch screen of the touch screen of the mobile terminal can be controlled, and when the event of the screen is far away from the bright screen, the touch screen of the touch screen of the mobile terminal can be controlled to be bright. When the mobile terminal is in the horizontal posture, the distance threshold of the proximity sensor is the first distance threshold. At this time, the mobile terminal is switched from the horizontal attitude to the vertical attitude. If the distance threshold is not adjusted, compared to the second distance threshold, It is easier to trigger a remote screen event when the distance threshold is exceeded, thus causing the mobile terminal to falsely illuminate the screen.
S102,上述移动终端在检测到当前用户与上述移动终端之间的距离大于或等于上述第二距离阈值时,触发上述远离亮屏事件。S102. The mobile terminal triggers the moving away from the bright screen 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 distance threshold is increased when the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold, and is triggered when it is detected that the distance between the current user and the mobile terminal is greater than or equal to the second distance threshold. Stay away from the bright screen event.
S103,上述移动终端响应上述远离亮屏事件,点亮上述移动终端的触控显示屏。S103. The mobile terminal illuminates the touch display screen of the mobile terminal in response to the moving away from the bright screen event.
其中,在触发远离亮屏事件后,移动终端响应远离亮屏事件,控制触控显示屏亮屏。After the event is triggered away from the bright screen, the mobile terminal responds to the bright screen event and controls the touch screen to be bright.
可以看出,本申请实施例中,移动终端首先检测到移动终端处于熄屏通话状态,且上述移动终端由水平姿态切换为竖直姿态时,将上述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,上述第二距离阈值大于上述第一距离阈值,上述距离阈值用于触发远离亮屏事件,其次,在检测到当前用户与上述移动终端之间的距离大于或等于上述第二距离阈值时,触发上述远离亮屏事件,最后,响应上述远离亮屏事件,点亮上述移动终端的触控显示屏。可见,移动终端在通话过程中处于息屏状态时,在检测到由水平姿态切换到竖直姿态时会将接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,距离阈值用于触发远离亮屏事件,通过增大触发亮屏操作的距离阈值来降低亮屏的灵敏度,有利于防止通话过程中误触发触控显示屏息屏亮屏。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 state, and the mobile terminal switches from a horizontal posture to a vertical posture, the distance threshold of the proximity sensor of the mobile terminal is determined by the first The distance threshold is adjusted to a second distance threshold, the second distance threshold is greater than the first distance threshold, the distance threshold is used to trigger a remote screen event, and secondly, the distance between the current user and the mobile terminal is greater than or equal to When the second distance threshold is used, the remote screen event is triggered, and finally, the touch screen of the mobile terminal is illuminated in response to the remote screen event. It can be seen that when the mobile terminal is in the interest screen state during the call, when the horizontal attitude is switched to the vertical attitude, the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold, and the distance threshold is used for triggering. Keep away from the bright screen event, reduce the sensitivity of the bright screen by increasing the distance threshold for triggering the bright screen operation, which is beneficial to prevent the touch screen from being touched by the touch screen during the call.
在一个可能的示例中,上述将上述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值之前,上述方法还包括:确定上述第二距离阈值;确定将上述接近传感器的距离阈值由上述第一距离阈值调整为上述第二距离阈值。In a possible example, before the adjusting the distance threshold of the proximity sensor of the mobile terminal by the first distance threshold to the second distance threshold, the method further includes: determining the second distance threshold; determining a distance of the proximity sensor. The threshold is adjusted by the first distance threshold to the second distance threshold.
其中,接近传感器当前的距离阈值为第一距离阈值,在确定第二距离阈值后,即可将接近传感器的距离阈值由第一距离阈值调整为第二距离阈值。The current distance threshold of the proximity sensor is a first distance threshold. After determining the second distance threshold, the distance threshold of the proximity sensor may be adjusted from the first distance threshold to the second distance threshold.
可见,本示例中,通过将移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,再根据第二距离阈值触发远离亮屏事件,提高了远离亮屏事件的难度,有利于避免在通话过程中误触发触控显示屏亮屏。It can be seen that, in this 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 then the remote screen event is triggered according to the second distance threshold, thereby improving the difficulty of moving away from the bright screen event. It helps to avoid false triggering of the touch screen during the call.
在一个可能的示例中,上述确定上述第二距离阈值,包括:获取移动终端 预存的第一距离阈值和第二距离阈值;确定上述移动终端的接近传感器的距离阈值为上述第二距离阈值。In a possible example, the foregoing determining the second distance threshold includes: acquiring a mobile terminal Pre-stored first distance threshold and second distance threshold; determining a distance threshold of the proximity sensor of the mobile terminal is the second distance threshold.
其中,移动终端预存有第一距离阈值和第二距离阈值,第一距离阈值和第二距离阈值可以是由用户设定的,也可以是由移动终端出厂是自带的,移动终端在接近传感的当前距离阈值为第一距离阈值时,可确定第二距离阈值。The mobile terminal prestores a first distance threshold and a second distance threshold. The first distance threshold and the second distance threshold may be set by a user, or may be self-contained by the mobile terminal, and the mobile terminal is in proximity. When the current distance threshold of the sense is the first distance threshold, the second distance threshold may be determined.
可见,本示例中,移动终端预存有接近传感器的第一距离阈值和第二距离阈值,通过简单的额查找确定第二距离阈值后和将接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,有利于根据第二距离阈值触发远离亮屏事件。It can be seen that, in this example, the mobile terminal prestores the first distance threshold and the second distance threshold of the proximity sensor, and after determining the second distance threshold by a simple amount search and adjusting the distance threshold of the proximity sensor from the first distance threshold to the second The distance threshold facilitates triggering away from the bright screen event according to the second distance threshold.
在一个可能的示例中,上述确定上述第二距离阈值,包括:获取移动终端在通话过程中的历史使用记录;根据上述历史使用记录,确定上述移动终端的第一距离阈值和第二距离阈值。In a possible example, the determining the foregoing second distance threshold includes: acquiring a historical usage record of the mobile terminal during a call; and determining, according to the historical usage record, the first distance threshold and the second distance threshold of the mobile terminal.
其中,可通过移动终端在通话过程中的历史使用记录,确定第一距离阈值和第二距离阈值。举例说明,根据移动终端处于水平姿态时,当前用户和移动终端之间的距离的记录,确定第一距离阈值为10厘米,根据移动终端处于竖直姿态时,当前用户和移动终端之间的距离的记录,确定第二距离阈值为30厘米。即第一距离阈值为10厘米,第二距离阈值为30厘米。The first distance threshold and the second distance threshold may be determined by a historical usage record of the mobile terminal during the call. For example, according to the record of the distance between the current user and the mobile terminal when the mobile terminal is in the horizontal posture, the first distance threshold is determined to be 10 cm, and the distance between the current user and the mobile terminal according to the mobile terminal in the vertical posture. The record determines that the second distance threshold is 30 cm. That is, the first distance threshold is 10 cm and the second distance threshold is 30 cm.
可见,本示例中,可以根据当前用户和移动终端之间的距离的历史记录,确定接近传感器的第一距离阈值和第二距离阈值,并将当前接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,更加灵活,有利于提高阈值调整的准确性和可靠性。It can be seen that, 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 is adjusted from the first distance threshold to The second distance threshold is more flexible and helps to improve the accuracy and reliability of the threshold adjustment.
在一个可能的示例中,上述方法还包括:确定移动终端和水平面之间的倾斜角度;在检测到上述倾斜角度由小于预设角度阈值变为大于预设角度阈值时,确定上述移动终端由水平姿态切换为竖直姿态。In a possible example, the method further includes: determining an inclination angle between the mobile terminal and the horizontal plane; determining that the mobile terminal is horizontal by detecting that the tilt angle is changed from a preset angle threshold to a preset angle threshold. The attitude is switched to a vertical attitude.
其中,移动终端处于水平姿态时,和水平面之间的倾斜角度低于预设阈值,实时对移动终端的倾斜角度进行检测,在检测到移动终端和水平面之间的倾斜角度由小于预设角度阈值变为大于预设角度阈值时,可确定移动终端由水平姿态切换为竖直姿态。Wherein, when the mobile terminal is in the horizontal posture, the tilt angle between the horizontal plane and the horizontal plane is lower than the preset threshold, and the tilt angle of the mobile terminal is detected in real time, and the tilt angle between the mobile terminal and the horizontal plane is detected to be less than the preset angle threshold. When it becomes greater than the preset angle threshold, it can be determined that the mobile terminal is switched from the horizontal attitude to the vertical attitude.
其中,移动终端可以通过加速度传感器检测移动终端和水平面之间的倾斜角度。在检测到移动终端的倾斜角度大于预设角度阈值时,可确定移动终端处 于竖直姿态,在检测到移动终端的倾斜角度小于预设角度阈值时,可确定移动终端处于水平姿态。例如,预设角度阈值为30度,在移动终端和水平面之间的角度大于30度时,可判定移动终端为竖直姿态,在移动终端和水平面之间的角度小于30度时,确定移动终端为水平姿态。Wherein, the mobile terminal can detect the tilt angle between the mobile terminal and the horizontal plane through the acceleration sensor. When it is detected that the tilt angle of the mobile terminal is greater than a preset angle threshold, the mobile terminal may be determined In the vertical posture, when it is detected that the tilt angle of the mobile terminal is less than the preset angle threshold, it may be determined that the mobile terminal is in the horizontal posture. For example, when 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 may 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. For a horizontal posture.
可见,在本示例中,通过实时检测移动终端和水平面之间的角度,确定移动终端处于水平姿态还是处于竖直姿态,从而确定是否将接近传感器的距离阈值由第一距离阈值切换为第二距离阈值,进而,避免在通话过程中误触发触控显示屏亮屏。It can be seen that in the present example, by detecting the angle between the mobile terminal and the horizontal plane in real time, determining whether the mobile terminal is in a horizontal posture or in a vertical posture, thereby determining whether to switch the distance threshold of the proximity sensor from the first distance threshold to the second distance. The threshold, in turn, avoids false triggering of the touch screen display during a call.
与上述图1所示的实施例一致的,请参阅图2,图2是本申请实施例提供的一种通话处理方法的流程示意图,应用于移动终端。如图所示,本通话处理方法包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart of a call processing method according to an embodiment of the present application, which is applied to a mobile terminal. As shown in the figure, the call processing method includes:
S201,上述移动终端检测到移动终端处于熄屏通话状态,且上述移动终端由水平姿态切换为竖直姿态时,获取移动终端预存的第一距离阈值和第二距离阈值。S201: The mobile terminal detects that the mobile terminal is in an off-screen state, and when the mobile terminal switches from a horizontal posture to a vertical posture, acquires a first distance threshold and a second distance threshold pre-stored by the mobile terminal.
S202,上述移动终端确定接近传感器的距离阈值为上述第二距离阈值。S202. The distance threshold of the mobile terminal that determines the proximity sensor is the second distance threshold.
S203,上述移动终端将接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,上述第二距离阈值大于上述第一距离阈值,上述距离阈值用于触发远离亮屏事件。S203. The mobile terminal adjusts a distance threshold of the proximity sensor 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 remote screen event.
S204,上述移动终端在检测到当前用户与上述移动终端之间的距离大于或等于上述第二距离阈值时,触发上述远离亮屏事件。S204. The mobile terminal triggers the moving away from the bright screen event when detecting that the distance between the current user and the mobile terminal is greater than or equal to the second distance threshold.
S205,上述移动终端响应上述远离亮屏事件,点亮上述移动终端的触控显示屏。S205. The mobile terminal illuminates the touch display screen of the mobile terminal in response to the moving away from the bright screen event.
可以看出,本申请实施例中,移动终端首先检测到移动终端处于熄屏通话状态,且上述移动终端由水平姿态切换为竖直姿态时,将上述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,上述第二距离阈值大于上述第一距离阈值,上述距离阈值用于触发远离亮屏事件,其次,在检测到当前用户与上述移动终端之间的距离大于或等于上述第二距离阈值时,触发上述远离亮屏事件,最后,响应上述远离亮屏事件,点亮上述移动终端的触控显示屏。可见,移动终端在通话过程中处于息屏状态时,在检测到由水平姿态切 换到竖直姿态时会将接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,距离阈值用于触发远离亮屏事件,通过增大触发亮屏操作的距离阈值来降低亮屏的灵敏度,有利于防止通话过程中误触发触控显示屏息屏亮屏。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 state, and the mobile terminal switches from a horizontal posture to a vertical posture, the distance threshold of the proximity sensor of the mobile terminal is determined by the first The distance threshold is adjusted to a second distance threshold, the second distance threshold is greater than the first distance threshold, the distance threshold is used to trigger a remote screen event, and secondly, the distance between the current user and the mobile terminal is greater than or equal to When the second distance threshold is used, the remote screen event is triggered, and finally, the touch screen of the mobile terminal is illuminated in response to the remote screen event. It can be seen that when the mobile terminal is in the state of interest screen during the call, it is detected that it is cut by the horizontal posture. When changing to the vertical attitude, the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold, the distance threshold is used to trigger the away from the bright screen event, and the bright screen is reduced by increasing the distance threshold for triggering the bright screen operation. Sensitivity helps prevent accidental triggering of the touch screen display screen during the call.
与上述图1、图2、所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种移动终端的结构示意图,该应用服务器运行有一个或多个应用程序和操作系统,如图所示,该应用服务器包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序不同于上述一个或多个应用程序,且上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行以下步骤的指令;FIG. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure. The application server runs one or more applications and An operating system, as shown, the processor, the memory, the communication interface, and one or more programs, wherein the one or more programs are different from the one or more applications, and the one or more The program is stored in the above memory and configured to be executed by the processor, the program including instructions for performing the following steps;
检测到移动终端处于熄屏通话状态,且上述移动终端由水平姿态切换为竖直姿态时,将上述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,上述第二距离阈值大于上述第一距离阈值,上述距离阈值用于触发远离亮屏事件;When the mobile terminal is in the state of being in the off-screen state, and the mobile terminal is switched from the horizontal posture to the vertical posture, 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 second distance is The threshold is greater than the first distance threshold, and the distance threshold is used to trigger a remote screen event;
在检测到当前用户与上述移动终端之间的距离大于或等于上述第二距离阈值时,触发上述远离亮屏事件;When the distance between the current user and the mobile terminal is greater than or equal to the second distance threshold, the above-mentioned remote screen event is triggered;
响应上述远离亮屏事件,点亮上述移动终端的触控显示屏。The touch display screen of the mobile terminal is illuminated in response to the above-mentioned remote screen event.
可以看出,本申请实施例中,移动终端首先检测到移动终端处于熄屏通话状态,且上述移动终端由水平姿态切换为竖直姿态时,将上述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,上述第二距离阈值大于上述第一距离阈值,上述距离阈值用于触发远离亮屏事件,其次,在检测到当前用户与上述移动终端之间的距离大于或等于上述第二距离阈值时,触发上述远离亮屏事件,最后,响应上述远离亮屏事件,点亮上述移动终端的触控显示屏。可见,移动终端在通话过程中处于息屏状态时,在检测到由水平姿态切换到竖直姿态时会将接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,距离阈值用于触发远离亮屏事件,通过增大触发亮屏操作的距离阈值来降低亮屏的灵敏度,有利于防止通话过程中误触发触控显示屏息屏亮屏。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 state, and the mobile terminal switches from a horizontal posture to a vertical posture, the distance threshold of the proximity sensor of the mobile terminal is determined by the first The distance threshold is adjusted to a second distance threshold, the second distance threshold is greater than the first distance threshold, the distance threshold is used to trigger a remote screen event, and secondly, the distance between the current user and the mobile terminal is greater than or equal to When the second distance threshold is used, the remote screen event is triggered, and finally, the touch screen of the mobile terminal is illuminated in response to the remote screen event. It can be seen that when the mobile terminal is in the interest screen state during the call, when the horizontal attitude is switched to the vertical attitude, the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold, and the distance threshold is used for triggering. Keep away from the bright screen event, reduce the sensitivity of the bright screen by increasing the distance threshold for triggering the bright screen operation, which is beneficial to prevent the touch screen from being touched by the touch screen during the call.
在一个可能的示例中,上述将上述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值之前,上述程序中的指令还用于执行:确定上述第二距离阈值;确定将上述接近传感器的距离阈值由上述第一距离阈值调整 为上述第二距离阈值。In one possible example, before the distance threshold of the proximity sensor of the mobile terminal is adjusted from the first distance threshold to the second distance threshold, the instructions in the program are further used to: determine the second distance threshold; The distance threshold of the proximity sensor is adjusted by the first distance threshold It is the above second distance threshold.
在一个可能的示例中,在上述确定上述第二距离阈值方面,上述程序中的指令具体用于执行:获取移动终端预存的第一距离阈值和第二距离阈值;确定上述移动终端的接近传感器的距离阈值为上述第二距离阈值。In one possible example, in the foregoing determining the foregoing second distance threshold, the instructions in the foregoing procedure are specifically configured to: obtain a first distance threshold and a second distance threshold pre-stored by the mobile terminal; and determine a proximity sensor of the mobile terminal. The distance threshold is the second distance threshold described above.
在一个可能的示例中,在上述确定上述第二距离阈值方面,上述程序中的指令具体用于执行:获取移动终端在通话过程中的历史使用记录;根据上述历史使用记录,确定上述移动终端的第一距离阈值和第二距离阈值。In one possible example, in the foregoing determining the second distance threshold, the instruction in the foregoing procedure is specifically configured to: obtain a historical usage record of the mobile terminal during a call; and determine, according to the historical usage record, the mobile terminal The first distance threshold and the second distance threshold.
在一个可能的示例中,上述程序中的指令还用于执行:确定移动终端和水平面之间的倾斜角度;在检测到上述倾斜角度由小于预设角度阈值变为大于预设角度阈值时,确定上述移动终端由水平姿态切换为竖直姿态。In one possible example, the instructions in the above program are further configured to: determine a tilt angle between the mobile terminal and the horizontal plane; and determine, when detecting that the tilt angle is changed from a preset angle threshold to a preset angle threshold; The above mobile terminal is switched from a horizontal attitude to a vertical attitude.
上述实施例主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。The foregoing embodiment mainly introduces the solution of the embodiment of the present application from the perspective of performing the process on the method side.
可以理解的是,移动终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to implement the above functions, the mobile terminal includes corresponding hardware structures and/or software modules for performing various functions. Those skilled in the art will readily appreciate that the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for each particular application to implement the described functionality, but such implementation should not be considered to be beyond the scope of the application.
本申请实施例可以根据上述方法示例对移动终端进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the functional unit into the mobile terminal according to the foregoing method example. For example, each functional unit may be divided according to each function, or two or more functions may be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the 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 logical function division. In actual implementation, there may be another division manner.
在采用集成的单元的情况下,图4示出了上述实施例中所涉及的移动终端的一种可能的功能单元组成框图。移动终端400包括:处理单元402和通信单元403,处理单元402用于对移动终端的动作进行控制管理,例如,处理单元402用于支持移动终端执行图1中的步骤S101-S103、图2中的步骤S201-S205和/或用于本文所描述的技术的其它过程,通信。移动终端还可以包括存储单元 401,用于存储移动终端的程序代码和数据。In the case of employing an integrated unit, FIG. 4 shows a block diagram of a possible functional unit composition of the mobile terminal involved in the above embodiment. The mobile terminal 400 includes a processing unit 402 and a communication unit 403. The processing unit 402 is configured to perform control management on the actions of the mobile terminal. For example, the processing unit 402 is configured to support the mobile terminal to perform steps S101-S103 in FIG. Steps S201-S205 and/or other processes for the techniques described herein, communicate. The mobile terminal may further include a storage unit 401. Program code and data for storing a mobile terminal.
其中,处理单元402可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。上述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元403可以是通信接口、收发器、收发电路等,其中,通信接口是统称,可以包括一个或多个接口。存储单元401可以是存储器。The processing unit 402 can be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The above processors may also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication unit 403 can be a communication interface, a transceiver, a transceiver circuit, etc., wherein the communication interface is a collective name and can include one or more interfaces. The storage unit 401 can be a memory.
其中,上述处理单元402,用于在检测到移动终端处于熄屏通话状态,且上述移动终端由水平姿态切换为竖直姿态时,将上述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,上述第二距离阈值大于上述第一距离阈值,上述距离阈值用于触发远离亮屏事件;以及用于在检测到当前用户与上述移动终端之间的距离大于或等于上述第二距离阈值时,触发上述远离亮屏事件;以及用于响应上述远离亮屏事件,点亮上述移动终端的触控显示屏。The processing unit 402 is configured to adjust a distance threshold of the proximity sensor of the mobile terminal from a first distance threshold when detecting that the mobile terminal is in a blackout state and the mobile terminal is switched from a horizontal posture to a vertical posture. a second distance threshold, where the second distance threshold is greater than the first distance threshold, the distance threshold is used to trigger a remote screen event; and is configured to detect that a distance between the current user and the mobile terminal is greater than or equal to the foregoing When the distance threshold is two, the above-mentioned far away bright screen event is triggered; and the touch display screen of the mobile terminal is illuminated in response to the above-mentioned far away bright screen event.
在一个可能的示例中,上述将上述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值之前,上述处理单元402还用于:确定上述第二距离阈值;以及用于确定将上述接近传感器的距离阈值由上述第一距离阈值调整为上述第二距离阈值。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: determine the second distance threshold; and determine The distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold.
在一个可能的示例中,在上述确定上述第二距离阈值方面,上述处理单元402具体用于:获取移动终端预存的第一距离阈值和第二距离阈值;以及用于确定上述移动终端的接近传感器的距离阈值为上述第二距离阈值。In a possible example, in the foregoing determining the foregoing second distance threshold, the processing unit 402 is specifically configured to: acquire a first distance threshold and a second distance threshold pre-stored by the mobile terminal; and determine a proximity sensor of the mobile terminal. The distance threshold is the second distance threshold described above.
在一个可能的示例中,在上述确定上述第二距离阈值方面,上述处理单元402具体用于:获取移动终端在通话过程中的历史使用记录;以及用于根据上述历史使用记录,确定上述移动终端的第一距离阈值和第二距离阈值。In a possible example, in the foregoing determining the foregoing second distance threshold, the processing unit 402 is specifically configured to: acquire a historical usage record of the mobile terminal during a call; and determine the mobile terminal according to the historical usage record. The first distance threshold and the second distance threshold.
在一个可能的示例中,上述处理单元402还用于确定移动终端和水平面之间的倾斜角度;以及用于在检测到上述倾斜角度由小于预设角度阈值变为大于预设角度阈值时,确定上述移动终端由水平姿态切换为竖直姿态。 In one possible example, the processing unit 402 is further configured to determine an angle of inclination between the mobile terminal and the horizontal plane; and to determine when the detected tilt angle is changed from less than the preset angle threshold to greater than the preset angle threshold. The above mobile terminal is switched from a horizontal attitude to a vertical attitude.
需要注意的是,本发明装置实施例所描述的移动终端是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。It should be noted that the mobile terminal described in the device embodiment of the present invention is presented in the form of a functional unit. The term "unit" as used herein shall be understood to mean the broadest possible meaning, and the object for implementing the functions described for each "unit" may be, for example, an integrated circuit ASIC, a single circuit for executing one or more software or firmware. A processor (shared, dedicated or chipset) and memory of the program, combinatorial logic, and/or other suitable components that perform the functions described above.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括移动终端。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program causing the computer to perform some or all of the steps of any of the methods described in the foregoing method embodiments. The above computer includes a mobile terminal.
本发明实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括移动终端。The embodiment of the present invention further provides a computer program product, the computer program product comprising a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause the computer to execute any one of the methods described in the foregoing method embodiments Part or all of the steps of the method. The computer program product can be a software installation package, and the computer includes a mobile terminal.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部 单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose some or all of them according to actual needs. The unit is to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The above-described integrated unit can 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 standalone product. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a memory. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-described methods of various embodiments of the present invention. The foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person skilled in the art can understand that all or part of the steps of the foregoing embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable memory, and the memory can include: a flash drive , read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or CD.
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The embodiments of the present invention have been described in detail above, and the principles and implementations of the present invention are described in detail herein. The description of the above embodiments is only for helping to understand the method of the present invention and its core ideas; It should be understood by those skilled in the art that the present invention is not limited by the scope of the present invention.

Claims (12)

  1. 一种通话处理方法,其特征在于,所述方法包括:A call processing method, characterized in that the method comprises:
    检测到移动终端处于熄屏通话状态,且所述移动终端由水平姿态切换为竖直姿态时,将所述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,所述第二距离阈值大于所述第一距离阈值,所述距离阈值用于触发远离亮屏事件;When detecting that the mobile terminal is in an off-screen state, and the mobile terminal is switched from a horizontal attitude to a vertical attitude, the distance threshold of the proximity sensor of the mobile terminal is adjusted from a first distance threshold to a second distance threshold, The second distance threshold is greater than the first distance threshold, and the distance threshold is used to trigger a remote screen event;
    在检测到当前用户与所述移动终端之间的距离大于或等于所述第二距离阈值时,触发所述远离亮屏事件;When the distance between the current user and the mobile terminal is greater than or equal to the second distance threshold, the remote screen event is triggered;
    响应所述远离亮屏事件,点亮所述移动终端的触控显示屏。The touch display screen of the mobile terminal is illuminated in response to the away from the bright screen event.
  2. 根据权利要求1所述的方法,其特征在于,所述将所述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值之前,所述方法还包括:The method according to claim 1, wherein the method further comprises: 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 comprising:
    确定所述第二距离阈值;Determining the second distance threshold;
    确定将所述接近传感器的距离阈值由所述第一距离阈值调整为所述第二距离阈值。Determining that the distance threshold of the proximity sensor is adjusted from the first distance threshold to the second distance threshold.
  3. 根据权利要求2所述的方法,其特征在于,所述确定所述第二距离阈值,包括:The method of claim 2, wherein the determining the second distance threshold comprises:
    获取移动终端预存的第一距离阈值和第二距离阈值;Obtaining a first distance threshold and a second distance threshold pre-stored by the mobile terminal;
    确定所述移动终端的接近传感器的距离阈值为所述第二距离阈值。Determining a distance threshold of the proximity sensor of the mobile terminal is the second distance threshold.
  4. 根据权利要求2所述的方法,其特征在于,所述确定所述第二距离阈值,包括:The method of claim 2, wherein the determining the second distance threshold comprises:
    获取移动终端在通话过程中的历史使用记录;Obtaining a historical usage record of the mobile terminal during the call;
    根据所述历史使用记录,确定所述移动终端的第一距离阈值和第二距离阈值。Determining, according to the historical usage record, a first distance threshold and a second distance threshold of the mobile terminal.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, further comprising:
    确定移动终端和水平面之间的倾斜角度;Determining the angle of inclination between the mobile terminal and the horizontal plane;
    在检测到所述倾斜角度由小于预设角度阈值变为大于预设角度阈值时,确定所述移动终端由水平姿态切换为竖直姿态。When it is detected that the tilt angle is changed from a preset angle threshold to a preset angle threshold, it is determined that the mobile terminal is switched from a horizontal attitude to a vertical attitude.
  6. 一种移动终端,其特征在于,包括处理单元, A mobile terminal, comprising: a processing unit,
    所述处理单元,用于在检测到移动终端处于熄屏通话状态,且所述移动终端由水平姿态切换为竖直姿态时,将所述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值,所述第二距离阈值大于所述第一距离阈值,所述距离阈值用于触发远离亮屏事件;The processing unit is configured to adjust a distance threshold of the proximity sensor of the mobile terminal by a first distance threshold when detecting that the mobile terminal is in an off-screen state, and the mobile terminal is switched from a horizontal attitude to a vertical attitude a second distance threshold, where the second distance threshold is greater than the first distance threshold, where the distance threshold is used to trigger a remote screen event;
    所述处理单元,还用于在检测到当前用户与所述移动终端之间的距离大于或等于所述第二距离阈值时,触发所述远离亮屏事件;The processing unit is further configured to trigger the remote bright screen 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 illuminate the touch display screen of the mobile terminal in response to the remote screen event.
  7. 根据权利要求6所述的移动终端,其特征在于,所述将所述移动终端的接近传感器的距离阈值由第一距离阈值调整为第二距离阈值之前,所述处理单元还用于:确定所述第二距离阈值;以及用于确定将所述接近传感器的距离阈值由所述第一距离阈值调整为所述第二距离阈值。The mobile terminal according to claim 6, wherein the processing unit is further configured to: determine the location before the distance threshold of the proximity sensor of the mobile terminal is adjusted from a first distance threshold to a second distance threshold Determining a second distance threshold; and determining to adjust a distance threshold of the proximity sensor from the first distance threshold to the second distance threshold.
  8. 根据权利要求7所述的移动终端,其特征在于,在所述确定所述第二距离阈值方面,所述处理单元具体用于:获取移动终端预存的第一距离阈值和第二距离阈值;以及用于确定所述移动终端的接近传感器的距离阈值为所述第二距离阈值。The mobile terminal according to claim 7, wherein the processing unit is configured to: acquire a first distance threshold and a second distance threshold pre-stored by the mobile terminal, in the determining the second distance threshold; A distance threshold for determining a proximity sensor of the mobile terminal is the second distance threshold.
  9. 根据权利要求7所述的移动终端,其特征在于,在所述确定所述第二距离阈值方面,所述处理单元具体用于:获取移动终端在通话过程中的历史使用记录;以及用于根据所述历史使用记录,确定所述移动终端的第一距离阈值和第二距离阈值。The mobile terminal according to claim 7, wherein in the determining the second distance threshold, the processing unit is specifically configured to: acquire a historical usage record of the mobile terminal during a call; and The historical usage record determines a first distance threshold and a second distance threshold of the mobile terminal.
  10. 根据权利要求6至9任一项所述的移动终端,其特征在于,所述处理单元还用于确定移动终端和水平面之间的倾斜角度;以及用于在检测到所述倾斜角度由小于预设角度阈值变为大于预设角度阈值时,确定所述移动终端由水平姿态切换为竖直姿态。The mobile terminal according to any one of claims 6 to 9, wherein the processing unit is further configured to determine an inclination angle between the mobile terminal and a horizontal plane; and to detect that the tilt angle is less than When the angle threshold is changed to be greater than the preset angle threshold, it is determined that the mobile terminal is switched from the horizontal attitude to the vertical attitude.
  11. 一种移动终端,其特征在于,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行权利要求1-5任一项方法中的步骤的指令。 A mobile terminal, comprising: a processor, a memory, a communication 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 program includes instructions for performing the steps of the method of any of claims 1-5.
  12. 一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-5任一项所述的方法,所述计算机包括移动终端。 A computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method of any of claims 1-5, the computer comprising Mobile terminal.
PCT/CN2017/105124 2017-09-30 2017-09-30 Call processing method and related product WO2019061536A1 (en)

Priority Applications (2)

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

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 (1)

Publication Number Publication Date
WO2019061536A1 true WO2019061536A1 (en) 2019-04-04

Family

ID=65902320

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/105124 WO2019061536A1 (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)

Cited By (2)

* 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
CN114625249A (en) * 2022-03-07 2022-06-14 清华大学 Method and device for detecting kneading and releasing actions and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449097A (en) * 2022-01-19 2022-05-06 惠州Tcl移动通信有限公司 Screen-off method, device, communication equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917124A (en) * 2012-09-27 2013-02-06 东莞宇龙通信科技有限公司 Method for dynamically adjusting threshold of distance sensor, and mobile terminal
US20150176988A1 (en) * 2013-12-23 2015-06-25 Samsung Electronics Co., Ltd. Method for controlling functions according to distance measurement between electronic devices and electronic device implementing the same
CN106200989A (en) * 2016-09-08 2016-12-07 广东小天才科技有限公司 A kind of method and device of mobile terminal bright screen
CN106598444A (en) * 2016-12-06 2017-04-26 广东欧珀移动通信有限公司 Mobile terminal control method and mobile terminal
CN106797416A (en) * 2016-10-31 2017-05-31 北京小米移动软件有限公司 Screen control method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937866B (en) * 2012-11-12 2015-05-13 小米科技有限责任公司 Screen control method and terminal
CN104618565A (en) * 2013-11-04 2015-05-13 深圳富泰宏精密工业有限公司 Anti-misoperation electronic device and method
CN104935737A (en) * 2015-05-25 2015-09-23 上海卓易科技股份有限公司 Method and equipment for realizing screen on-off in call process
CN105204841B (en) * 2015-08-17 2019-02-15 小米科技有限责任公司 Range method of adjustment and device
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
CN106708332B (en) * 2016-12-19 2019-12-10 Oppo广东移动通信有限公司 threshold setting method and device of proximity sensor and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917124A (en) * 2012-09-27 2013-02-06 东莞宇龙通信科技有限公司 Method for dynamically adjusting threshold of distance sensor, and mobile terminal
US20150176988A1 (en) * 2013-12-23 2015-06-25 Samsung Electronics Co., Ltd. Method for controlling functions according to distance measurement between electronic devices and electronic device implementing the same
CN106200989A (en) * 2016-09-08 2016-12-07 广东小天才科技有限公司 A kind of method and device of mobile terminal bright screen
CN106797416A (en) * 2016-10-31 2017-05-31 北京小米移动软件有限公司 Screen control method and device
CN106598444A (en) * 2016-12-06 2017-04-26 广东欧珀移动通信有限公司 Mobile terminal control method and mobile terminal

Cited By (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
CN114625249A (en) * 2022-03-07 2022-06-14 清华大学 Method and device for detecting kneading and releasing actions and electronic equipment
CN114625249B (en) * 2022-03-07 2024-04-19 清华大学 Method and device for detecting kneading release action and electronic equipment

Also Published As

Publication number Publication date
CN110800277A (en) 2020-02-14
CN110800277B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
US10394443B2 (en) Method for viewing message and user terminal
KR102606422B1 (en) Display control method, storage medium and electronic device for controlling the display
EP2869594B1 (en) Method and device for controlling terminal by using headset wire, and apparatus
EP3386174B1 (en) Method for selection between front-facing camera and rear-facing camera of mobile terminal and mobile terminal
CN106055097B (en) Bright screen control method and device and electronic equipment
CN106020670B (en) Screen lighting control method and device and electronic equipment
US10073493B2 (en) Device and method for controlling a display panel
EP3232309A1 (en) Method and device for launching functions of an application
CN109120841B (en) Camera control method and device, mobile terminal and storage medium
US20180039403A1 (en) Terminal control method, terminal, and storage medium
KR20150092964A (en) Method for processing fingerprint and an electronic device thereof
CN109104521B (en) Method and device for correcting approaching state, mobile terminal and storage medium
US10061497B2 (en) Method, device and storage medium for interchanging icon positions
US20170060301A1 (en) Method and apparatus for setting sensing threshold for a touch screen
CN110908571B (en) Control method, device and equipment of sliding control and storage medium
WO2019061536A1 (en) Call processing method and related product
WO2017107715A1 (en) Method and apparatus for controlling one-hand operation mode of terminal
WO2017023040A1 (en) Screen controlling method and electronic device for supporting the same
US20150242094A1 (en) Method for Processing Information and Electronic Device
CN111078108A (en) Screen display method and device, storage medium and mobile terminal
CN108717325B (en) Operation gesture setting method and device and mobile terminal
CN104571814B (en) Projection method and electronic equipment
CN106293608B (en) Volume control method and system based on mobile terminal touch screen
KR20170054080A (en) Electronic Device And Operating Method Thereof
CN108683812B (en) Volume adjusting method and device and mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17927483

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17927483

Country of ref document: EP

Kind code of ref document: A1