WO2019061102A1 - Call processing method and related product - Google Patents

Call processing method and related product Download PDF

Info

Publication number
WO2019061102A1
WO2019061102A1 PCT/CN2017/103757 CN2017103757W WO2019061102A1 WO 2019061102 A1 WO2019061102 A1 WO 2019061102A1 CN 2017103757 W CN2017103757 W CN 2017103757W WO 2019061102 A1 WO2019061102 A1 WO 2019061102A1
Authority
WO
WIPO (PCT)
Prior art keywords
distance threshold
proximity sensor
mobile terminal
proximity
event
Prior art date
Application number
PCT/CN2017/103757
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 PCT/CN2017/103757 priority Critical patent/WO2019061102A1/en
Priority to CN201780091918.3A priority patent/CN110741621B/en
Publication of WO2019061102A1 publication Critical patent/WO2019061102A1/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 falsely displaying the screen operation event.
  • 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 being unlit during the call.
  • an embodiment of the present application provides a call processing method, where the foregoing method includes:
  • Detecting the advanced digital signal processor adsh sleep during the call adjusting the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, and the distance threshold is used to trigger a proximity event or a distant event;
  • the above proximity event is triggered by the adjusted proximity sensor to keep the touch display screen in a blanking state
  • the above-mentioned proximity sensor is triggered by the adjusted proximity sensor to control the touch screen display to be bright.
  • an embodiment of the present application provides a mobile terminal, including a processing unit,
  • the processing unit is configured to detect an advanced digital signal processor adsh sleep during a call, and adjust a distance threshold of the proximity sensor to improve detection sensitivity of the proximity sensor, the distance threshold The value is used to trigger a proximity event or to stay away from the event;
  • the processing unit is further configured to trigger the proximity event by using the adjusted proximity sensor to keep the touch display screen in a blanking state;
  • the processing unit is further configured to trigger the remote event by the adjusted proximity sensor to control the touch screen to be bright.
  • 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 mobile terminal first detects that the advanced digital signal processor adsp sleeps during the call, and adjusts the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, and the distance threshold is used to trigger the proximity event. Or moving away from the event, and secondly, the above proximity sensor is triggered by the adjusted proximity sensor to keep the touch display screen in a blanking state. Finally, the adjusted proximity sensor triggers the remote event to control the touch display screen to be bright. . Therefore, it is beneficial to prevent the touch screen from being touched after the touch screen is not illuminated 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 another 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, which is applied to a mobile terminal, and the call processing method includes:
  • the mobile terminal detects that the advanced digital signal processor adsh sleeps during the call, and adjusts a distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, where the distance threshold is used to trigger a proximity event or a distant event.
  • the mobile terminal may view the screen in two situations during the call.
  • the proximity sensor of the mobile terminal detects that the current user is approaching the mobile terminal, and in one case, the mobile terminal has a timeout screen. That is, the screen will be displayed when the bright screen call exceeds a certain time. In the case of a timeout screen, an advanced digital signal processor (adsp) will go to sleep.
  • adssp advanced digital signal processor
  • the mobile terminal can detect the tilt angle between the mobile terminal and the horizontal plane by using the acceleration sensor.
  • the acceleration sensor When detecting that the tilt angle of the mobile terminal is greater than the preset angle threshold, determining that the mobile terminal is in a vertical state, thereby adjusting a distance threshold of the proximity sensor is a high sensitivity distance threshold; detecting that the tilt angle of the mobile terminal is less than a preset angle threshold
  • the distance threshold of the proximity sensor is adjusted to be a low sensitivity distance threshold.
  • the detection sensitivity of the high sensitivity distance threshold is higher than the detection sensitivity of the low sensitivity distance threshold, that is, the detection sensitivity of the mobile terminal in the vertical state is higher than the detection sensitivity in the horizontal state.
  • the acceleration sensor is turned off, so that the distance threshold of the proximity sensor is not dynamically adjusted, that is, the distance threshold of the proximity sensor is fixed to the high sensitivity distance threshold or the low sensitivity distance threshold.
  • the mobile terminal when detecting the adsp sleep, may adjust the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor.
  • the sensitivity of the proximity sensor When the value of the distance threshold is larger, the sensitivity of the proximity sensor is higher. The smaller the value of the distance threshold, the lower the sensitivity of the proximity sensor. Since the proximity sensor is more likely to determine that the current user is approaching the mobile terminal when the sensitivity is higher, the proximity sensor is more likely to trigger the proximity event.
  • the proximity event when the proximity event is triggered, the touch screen of the touch screen of the mobile terminal can be controlled, and when the remote event is triggered, the touch screen of the mobile terminal can be controlled to be bright.
  • the mobile terminal is a timeout information screen, since no proximity event is triggered, the remote event is not triggered, resulting in movement.
  • the terminal may not light up during a call.
  • the detection sensitivity of the proximity sensor is improved by adjusting the distance threshold of the proximity sensing, so that the proximity event is more easily triggered, and the touch display screen of the mobile terminal is brightened by triggering the remote event.
  • the distance threshold when the mobile terminal is in the vertical state, there is a high sensitivity distance threshold.
  • the distance threshold When the mobile terminal is in the horizontal state, corresponding to the low sensitivity distance threshold, when the tilt state of the mobile terminal is changed, the distance threshold is also switched to and currently tilted.
  • the distance threshold corresponding to the state.
  • the distance threshold is set to a high sensitivity threshold regardless of whether the mobile terminal is in a horizontal state or a vertical state, so that it is difficult to trigger a proximity event and a distant event when the mobile terminal is in a horizontal state. As a result, the screen does not light up during a call.
  • the mobile terminal triggers the proximity event by using the adjusted proximity sensor to keep the touch display screen in a blanking state.
  • the adjusted proximity sensor has higher detection sensitivity, and the proximity range that can be sensed is larger.
  • the proximity event can be triggered, due to the current The mobile terminal is already in the state of the interest screen, so the screen state will be maintained.
  • the mobile terminal triggers the remote event by the adjusted proximity sensor to control the touch screen to be bright.
  • the remote event may be triggered to control the touch screen to be bright.
  • the mobile terminal first detects that the advanced digital signal processor adsp sleeps during the call, and adjusts the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, and the distance threshold is used to trigger the proximity event. Or moving away from the event, and secondly, the above proximity sensor is triggered by the adjusted proximity sensor to keep the touch display screen in a blanking state. Finally, the adjusted proximity sensor triggers the remote event to control the touch display screen to be bright. .
  • the proximity threshold of the proximity sensor is adjusted to improve the detection sensitivity of the proximity sensor, so that the triggering of the proximity event is easier, and the touch screen is brightened by triggering the remote event after the proximity event is triggered. It is beneficial to prevent the touch screen from being touched after the touch screen is not illuminated during the call.
  • the above-mentioned advanced digital signal processor adsp is detected during the call. Sleeping, including: reading the sleep flag of the advanced digital signal processor adsp multiple times in the state of the information screen; detecting that the sleep flag is in a sleep state every time the read result is determined, determining that the advanced digital signal processor adsp sleeps.
  • the adsp sleeps indicating that the current interest screen event of the mobile terminal is a timeout screen event, rather than a near screen event triggered by the event.
  • the touch screen display screen when the touch screen display screen is detected, it is first determined whether it is a timeout information screen, that is, whether the adsp is dormant, and can be realized by continuously reading the sleep flag of the adsp multiple times. Since the sleep flag of the adsp is read multiple times instead of a single read, the result of multiple reads is that the sleep flag is in the sleep state, and the adsp sleep can be determined, which is beneficial to improve the timeout screen of the mobile terminal. Reliability and accuracy of the test.
  • the adjusting the proximity threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor includes: determining a target distance threshold of the proximity sensor; adjusting a distance threshold of the proximity sensor from a current distance threshold to the target distance Threshold.
  • the detection sensitivity of the proximity sensor can be improved, the target distance threshold of the proximity sensor is determined, and the current distance threshold of the proximity sensor is adjusted to the target distance threshold.
  • the target distance threshold of the proximity sensor is determined, and the current distance threshold of the proximity sensor is adjusted to the target distance threshold to achieve a distance threshold for adjusting the proximity sensor, thereby improving the detection sensitivity of the proximity sensor.
  • the determining the target distance threshold of the proximity sensor includes: determining the target distance threshold according to a distance between the current user and the mobile terminal; or determining that the preset distance threshold is greater than a current distance threshold.
  • the distance threshold is the above target distance threshold.
  • the target distance threshold may be determined by detecting a distance between the current user and the mobile terminal.
  • the proximity sensor presets a high sensitivity threshold of 20 cm and a low sensitivity threshold of 10 cm. If the distance threshold of the proximity sensor is not dynamically adjusted, the current user and the mobile terminal are detected when the mobile terminal is in a vertical state. Only when the distance between them is less than 20 cm When the mobile terminal is in a horizontal state, when the distance between the current user and the mobile terminal is detected to be less than 10 cm, the proximity event can be triggered. Therefore, if the current mobile terminal is in a horizontal state, it is more difficult to trigger the proximity. The event, which causes the timeout screen during the call, may not be illuminated.
  • the target distance threshold is determined, which may be a value between 20 cm and 25 cm when the distance between the current user and the mobile terminal is greater than 20 cm, such as 25 cm, and the target distance threshold is determined;
  • the target distance threshold is determined to be 20 cm;
  • the target distance threshold can be determined to be 10 cm, which makes it easier to trigger the approach event.
  • the determining the target distance threshold may be determining that the distance threshold greater than the current distance threshold in the preset distance threshold is the target distance threshold.
  • the preset thresholds are 10 cm and 20 cm, which are respectively a low sensitivity threshold corresponding to the horizontal state and a high sensitivity threshold corresponding to the vertical state.
  • the target distance threshold is determined to be 20 cm, that is, the distance threshold. Adjusted from 10 cm to 20 cm, but if the mobile terminal is in the vertical state and the distance threshold is 20 cm, the distance threshold remains unchanged, thereby making the mobile terminal switch from the vertical state to the horizontal state during the pass.
  • the distance threshold can be adjusted to improve the detection sensitivity of the proximity sensor.
  • the target distance threshold of the proximity sensor may be determined according to the distance between the current user and the mobile terminal, or the distance threshold greater than the current distance threshold in the preset distance threshold may be determined as the target threshold, thereby achieving
  • the threshold of the proximity sensor is adjusted to improve the detection sensitivity of the proximity sensor, which is beneficial for triggering the proximity event and the distant event, thereby preventing the touch display screen from being illuminated during the call.
  • the method further includes: stopping the running of the proximity threshold adjustment algorithm of the proximity sensor and the acceleration sensor when the advanced digital signal processor adsp sleeps during the call.
  • the mobile terminal can stop the proximity threshold adjustment algorithm and the acceleration sensor of the proximity sensor, that is, it is no longer necessary to judge whether the mobile terminal is in a horizontal state or in a vertical position. In the straight state, the distance threshold of the mobile terminal is not adjusted to a distance threshold corresponding to the horizontal state or a distance threshold corresponding to the vertical state.
  • the proximity threshold adjustment algorithm and the acceleration sensor of the proximity sensor are stopped, which is beneficial to reducing the power consumption of the mobile terminal and prolonging the usage time of the mobile terminal.
  • 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 reads the sleep flag of the advanced digital signal processor adsp multiple times in the state of the interest screen.
  • the mobile terminal detects that each sleep result is that the sleep flag bit is in a sleep state, and determines that the advanced digital signal processor adsp sleeps.
  • the mobile terminal determines a target distance threshold of the proximity sensor.
  • the mobile terminal adjusts a distance threshold of the proximity sensor from a current distance threshold to the target distance threshold to improve detection sensitivity of the proximity sensor, where the distance threshold is used to trigger a proximity event or a distant event.
  • the mobile terminal triggers the proximity event by using the adjusted proximity sensor to keep the touch display screen in a blanking state.
  • the mobile terminal triggers the remote event by the adjusted proximity sensor to control the touch screen to be bright.
  • the mobile terminal first detects that the advanced digital signal processor adsp sleeps during the call, and adjusts the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, and the distance threshold is used to trigger the proximity event. Or moving away from the event, and secondly, the above proximity sensor is triggered by the adjusted proximity sensor to keep the touch display screen in a blanking state. Finally, the adjusted proximity sensor triggers the remote event to control the touch display screen to be bright. .
  • the proximity threshold of the proximity sensor is adjusted to improve the detection sensitivity of the proximity sensor, so that the triggering of the proximity event is easier, and the touch screen is brightened by triggering the remote event after the proximity event is triggered. It is beneficial to prevent the touch screen from being touched after the touch screen is not illuminated during the call.
  • FIG. 3 is the present application.
  • the application server includes a processor, a memory, a 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 programs are stored in the memory and configured to be executed by the processor, the program comprising the following steps instruction;
  • Detecting the advanced digital signal processor adsh sleep during the call adjusting the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, and the distance threshold is used to trigger a proximity event or a distant event;
  • the above proximity event is triggered by the adjusted proximity sensor to keep the touch display screen in a blanking state
  • the above-mentioned proximity sensor is triggered by the adjusted proximity sensor to control the touch screen display to be bright.
  • the mobile terminal first detects that the advanced digital signal processor adsp sleeps during the call, and adjusts the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, and the distance threshold is used to trigger the proximity event. Or moving away from the event, and secondly, the above proximity sensor is triggered by the adjusted proximity sensor to keep the touch display screen in a blanking state. Finally, the adjusted proximity sensor triggers the remote event to control the touch display screen to be bright. .
  • the proximity threshold of the proximity sensor is adjusted to improve the detection sensitivity of the proximity sensor, so that the triggering of the proximity event is easier, and the touch screen is brightened by triggering the remote event after the proximity event is triggered. It is beneficial to prevent the touch screen from being touched after the touch screen is not illuminated during the call.
  • the above-mentioned detection of the advanced digital signal processor adsh sleep during the call includes: reading the sleep flag of the advanced digital signal processor adsp multiple times in the state of the interest screen; detecting each read The result is that the sleep flag bit is in a sleep state, and the advanced digital signal processor adsp is determined to be dormant.
  • the adjusting the proximity threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor includes: determining a target distance threshold of the proximity sensor; adjusting a distance threshold of the proximity sensor from a current distance threshold to the target distance Threshold.
  • the determining the target distance threshold of the proximity sensor includes: determining the target distance threshold according to a distance between the current user and the mobile terminal; or determining that the preset distance threshold is greater than a current distance threshold.
  • the distance threshold is the above target distance threshold.
  • the method further includes: stopping the running of the proximity threshold adjustment algorithm of the proximity sensor and the acceleration sensor when the advanced digital signal processor adsp sleeps during the call.
  • 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-S206 and/or other processes for the techniques described herein, communicate.
  • the mobile terminal may further include a storage unit 401 for storing program codes and data of the mobile terminal.
  • the processing unit 402 may be a processor or a controller, such as a central processing unit (CPU), a general purpose processor, and a digital signal processor (Digital Signal). Processor, DSP), 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 detect the sleep of the advanced digital signal processor adsp during the call, and adjust the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, where the distance threshold is used to trigger a proximity event or a distant event; And the above proximity event is triggered by the adjusted proximity sensor to keep the touch display screen in an off-screen state; and the touch screen display is controlled by the adjusted proximity sensor to control the touch screen display brightness.
  • the processing unit 402 is specifically configured to: read the sleep of the advanced digital signal processor adsp multiple times in the state of the interest screen.
  • the flag bit is used to detect that each read result is that the sleep flag bit is in a sleep state, and the advanced digital signal processor adsp sleep is determined.
  • the processing unit 402 is specifically configured to: determine a target distance threshold of the proximity sensor; and The distance threshold is adjusted by the current distance threshold to the above target distance threshold.
  • the processing unit 402 is specifically configured to: determine the target distance threshold according to a distance between the current user and the mobile terminal; or determine a preset The distance threshold greater than the current distance threshold in the distance threshold is the target distance threshold.
  • the processing unit 402 is further configured to stop the proximity threshold adjustment algorithm of the proximity sensor and the acceleration sensor when the advanced digital signal processor adsp sleeps during the call.
  • the mobile terminal described in the device embodiment of the present invention is 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)

Abstract

Disclosed are a call processing method and a related product, the method comprising: detecting that an advanced digital signal processor (ADSP) is asleep during a call, and adjusting a distance threshold of a proximity sensor so as to increase the detection sensitivity of the proximity sensor, the distance threshold being used for triggering a proximity event or a remote event; triggering the proximity event via the adjusted proximity sensor, and keeping a touch display screen in a screen-off state; triggering the remote event via the adjusted proximity sensor, and controlling the touch display screen to be on. The present application helps to prevent a situation wherein a touch display screen is not on after being off 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 prior art, during 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 falsely displaying the screen operation event. 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 being unlit during the call.
第一方面,本申请实施例提供一种通话处理方法,上述方法包括:In a first aspect, an embodiment of the present application provides a call processing method, where the foregoing method includes:
在通话过程中检测到高级数字信号处理器adsp休眠,调整接近传感器的距离阈值以提高上述接近传感器的检测灵敏度,上述距离阈值用于触发接近事件或者远离事件;Detecting the advanced digital signal processor adsh sleep during the call, adjusting the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, and the distance threshold is used to trigger a proximity event or a distant event;
通过调整后的上述接近传感器触发上述接近事件,保持触控显示屏处于熄屏状态;The above proximity event is triggered by the adjusted proximity sensor to keep the touch display screen in a blanking state;
通过调整后的上述接近传感器触发上述远离事件,控制上述触控显示屏亮屏。The above-mentioned proximity sensor is triggered by the adjusted proximity sensor to control the touch screen display to be bright.
第二方面,本申请实施例提供了一种移动终端,包括处理单元,In a second aspect, an embodiment of the present application provides a mobile terminal, including a processing unit,
上述处理单元,用于在通话过程中检测到高级数字信号处理器adsp休眠,调整接近传感器的距离阈值以提高上述接近传感器的检测灵敏度,上述距离阈 值用于触发接近事件或者远离事件;The processing unit is configured to detect an advanced digital signal processor adsh sleep during a call, and adjust a distance threshold of the proximity sensor to improve detection sensitivity of the proximity sensor, the distance threshold The value is used to trigger a proximity event or to stay away from the event;
上述处理单元,还用于通过调整后的上述接近传感器触发上述接近事件,保持触控显示屏处于熄屏状态;The processing unit is further configured to trigger the proximity event by using the adjusted proximity sensor to keep the touch display screen in a blanking state;
上述处理单元,还用于通过调整后的上述接近传感器触发上述远离事件,控制上述触控显示屏亮屏。The processing unit is further configured to trigger the remote event by the adjusted proximity sensor to control the touch screen to be bright.
第三方面,本申请实施例提供一种移动终端,包括处理器、存储器以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。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.
可以看出,本申请实施例中,移动终端首先在通话过程中检测到高级数字信号处理器adsp休眠,调整接近传感器的距离阈值以提高上述接近传感器的检测灵敏度,上述距离阈值用于触发接近事件或者远离事件,其次,通过调整后的上述接近传感器触发上述接近事件,保持触控显示屏处于熄屏状态,最后,通过调整后的上述接近传感器触发上述远离事件,控制上述触控显示屏亮屏。从而,有利于防止通话过程中触控显示屏息屏后不亮屏。It can be seen that, in the embodiment of the present application, the mobile terminal first detects that the advanced digital signal processor adsp sleeps during the call, and adjusts the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, and the distance threshold is used to trigger the proximity event. Or moving away from the event, and secondly, the above proximity sensor is triggered by the adjusted proximity sensor to keep the touch display screen in a blanking state. Finally, the adjusted proximity sensor triggers the remote event to control the touch display screen to be bright. . Therefore, it is beneficial to prevent the touch screen from being touched after the touch screen is not illuminated 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 another 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是本申请实施例提供了一种通话处理方法的流程示意图,应用于移动终端,本通话处理方法包括:Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a call processing method according to an embodiment of the present application, which is applied to a mobile terminal, and the call processing method includes:
S101,移动终端在通话过程中检测到高级数字信号处理器adsp休眠,调整接近传感器的距离阈值以提高上述接近传感器的检测灵敏度,上述距离阈值用于触发接近事件或者远离事件。S101: The mobile terminal detects that the advanced digital signal processor adsh sleeps during the call, and adjusts a distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, where the distance threshold is used to trigger a proximity event or a distant event.
其中,移动终端在通话过程中,在两种情况下会息屏,一种情况是移动终端的接近传感器检测到当前用户正在接近移动终端时会息屏,一种情况是移动终端超时息屏,即亮屏通话超过一定时间时会息屏。在超时息屏的情况下,高级数字信号处理器(advanced digital signal processor,简称adsp)会进入休眠状态。The mobile terminal may view the screen in two situations during the call. In one case, the proximity sensor of the mobile terminal detects that the current user is approaching the mobile terminal, and in one case, the mobile terminal has a timeout screen. That is, the screen will be displayed when the bright screen call exceeds a certain time. In the case of a timeout screen, an advanced digital signal processor (adsp) will go to sleep.
其中,现有的技术方案中,移动终端可以通过加速度传感器检测移动终端和水平面之间的倾斜角度。在检测到移动终端的倾斜角度大于预设角度阈值时,可确定移动终端处于竖直状态,从而调整接近传感器的距离阈值为高灵敏度距离阈值;在检测到移动终端的倾斜角度小于预设角度阈值时,可确定移动终端处于水平状态,从而调整接近传感器的距离阈值为低灵敏度距离阈值。其中,高灵敏度距离阈值的检测灵敏度高于低灵敏度距离阈值的检测灵敏度,即移动终端在竖直状态下的检测灵敏度高于在水平状态下的检测灵敏度。当移动终端在通话过程中检测到adsp休眠时,会关闭掉加速度传感器,从而不会再动态调整接近传感器的距离阈值,即接近传感器的距离阈值固定为高灵敏度距离阈值或低灵敏度距离阈值。Wherein, in the existing technical solution, the mobile terminal can detect the tilt angle between the mobile terminal and the horizontal plane by using the acceleration sensor. When detecting that the tilt angle of the mobile terminal is greater than the preset angle threshold, determining that the mobile terminal is in a vertical state, thereby adjusting a distance threshold of the proximity sensor is a high sensitivity distance threshold; detecting that the tilt angle of the mobile terminal is less than a preset angle threshold When the mobile terminal is in a horizontal state, the distance threshold of the proximity sensor is adjusted to be a low sensitivity distance threshold. The detection sensitivity of the high sensitivity distance threshold is higher than the detection sensitivity of the low sensitivity distance threshold, that is, the detection sensitivity of the mobile terminal in the vertical state is higher than the detection sensitivity in the horizontal state. When the mobile terminal detects the adsp sleep during the call, the acceleration sensor is turned off, so that the distance threshold of the proximity sensor is not dynamically adjusted, that is, the distance threshold of the proximity sensor is fixed to the high sensitivity distance threshold or the low sensitivity distance threshold.
其中,在本发明实施例中,移动终端在检测到adsp休眠时,可以调整接近传感器的距离阈值以提高接近传感器的检测灵敏度,在距离阈值的数值越大时,接近传感器的灵敏度越高,在距离阈值的数值越小时,接近传感器的灵敏度越低。由于当灵敏度越高时,距离阈值的数值越大,接近传感器更容易确定当前用户在靠近移动终端,因此更容易触发接近事件。In the embodiment of the present invention, when detecting the adsp sleep, the mobile terminal may adjust the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor. When the value of the distance threshold is larger, the sensitivity of the proximity sensor is higher. The smaller the value of the distance threshold, the lower the sensitivity of the proximity sensor. Since the proximity sensor is more likely to determine that the current user is approaching the mobile terminal when the sensitivity is higher, the proximity sensor is more likely to trigger the proximity event.
其中,在通话过程中,在触发接近事件时,可以控制移动终端触控显示屏息屏,在触发远离事件时,可以控制移动终端触控显示屏亮屏。在移动终端为超时息屏时,由于没有触发接近事件,因此不会触发远离事件,从而导致移动 终端在通话过程中可能不亮屏。本发明实施例中,通过调整接近传感的距离阈值实现提高接近传感器的检测灵敏度,从而更容易触发接近事件,再通过触发远离事件使得移动终端的触控显示屏亮屏。In the process of the call, when the proximity event is triggered, the touch screen of the touch screen of the mobile terminal can be controlled, and when the remote event is triggered, the touch screen of the mobile terminal can be controlled to be bright. When the mobile terminal is a timeout information screen, since no proximity event is triggered, the remote event is not triggered, resulting in movement. The terminal may not light up during a call. In the embodiment of the present invention, the detection sensitivity of the proximity sensor is improved by adjusting the distance threshold of the proximity sensing, so that the proximity event is more easily triggered, and the touch display screen of the mobile terminal is brightened by triggering the remote event.
举例说明,移动终端在竖直状态下时,对应有高灵敏度距离阈值,在水平状态下时,对应有低灵敏度距离阈值,移动终端的倾斜状态发生变换时,距离阈值也会切换到和当前倾斜状态对应的距离阈值。在移动终端的adsp休眠时,不管移动终端处于水平状态还是竖直状态,都将距离阈值设置为高灵敏度阈值,如此,可避免在移动终端处于水平状态下时,难以触发接近事件和远离事件,从而导致通话过程中不亮屏。For example, when the mobile terminal is in the vertical state, there is a high sensitivity distance threshold. When the mobile terminal is in the horizontal state, corresponding to the low sensitivity distance threshold, when the tilt state of the mobile terminal is changed, the distance threshold is also switched to and currently tilted. The distance threshold corresponding to the state. When the adsp of the mobile terminal is dormant, the distance threshold is set to a high sensitivity threshold regardless of whether the mobile terminal is in a horizontal state or a vertical state, so that it is difficult to trigger a proximity event and a distant event when the mobile terminal is in a horizontal state. As a result, the screen does not light up during a call.
S102,上述移动终端通过调整后的上述接近传感器触发上述接近事件,保持触控显示屏处于熄屏状态。S102. The mobile terminal triggers the proximity event by using the adjusted proximity sensor to keep the touch display screen in a blanking state.
其中,调整后的接近传感器的检测灵敏度更高,可感应到的接近范围更大,在检测到当前用户和移动终端之间的距离小于调整后的距离阈值时,即可触发接近事件,由于当前移动终端已经处于息屏状态,因此会保持息屏状态。Wherein, the adjusted proximity sensor has higher detection sensitivity, and the proximity range that can be sensed is larger. When detecting that the distance between the current user and the mobile terminal is less than the adjusted distance threshold, the proximity event can be triggered, due to the current The mobile terminal is already in the state of the interest screen, so the screen state will be maintained.
S103,上述移动终端通过调整后的上述接近传感器触发上述远离事件,控制上述触控显示屏亮屏。S103. The mobile terminal triggers the remote event by the adjusted proximity sensor to control the touch screen to be bright.
其中,在通话过程中,在检测到当前用户和移动终端之间的距离大于调整后的距离阈值时,即可触发远离事件,控制触控显示屏亮屏。During the call, when it is detected that the distance between the current user and the mobile terminal is greater than the adjusted distance threshold, the remote event may be triggered to control the touch screen to be bright.
可以看出,本申请实施例中,移动终端首先在通话过程中检测到高级数字信号处理器adsp休眠,调整接近传感器的距离阈值以提高上述接近传感器的检测灵敏度,上述距离阈值用于触发接近事件或者远离事件,其次,通过调整后的上述接近传感器触发上述接近事件,保持触控显示屏处于熄屏状态,最后,通过调整后的上述接近传感器触发上述远离事件,控制上述触控显示屏亮屏。可见,移动终端在检测到adsp休眠时,通过调整接近传感器的距离阈值以提高接近传感器的检测灵敏度,使得触发接近事件更加容易,在触发接近事件后再通过触发远离事件使触控显示屏亮屏,有利于防止通话过程中触控显示屏息屏后不亮屏。It can be seen that, in the embodiment of the present application, the mobile terminal first detects that the advanced digital signal processor adsp sleeps during the call, and adjusts the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, and the distance threshold is used to trigger the proximity event. Or moving away from the event, and secondly, the above proximity sensor is triggered by the adjusted proximity sensor to keep the touch display screen in a blanking state. Finally, the adjusted proximity sensor triggers the remote event to control the touch display screen to be bright. . It can be seen that when the mobile terminal detects the adsp sleep, the proximity threshold of the proximity sensor is adjusted to improve the detection sensitivity of the proximity sensor, so that the triggering of the proximity event is easier, and the touch screen is brightened by triggering the remote event after the proximity event is triggered. It is beneficial to prevent the touch screen from being touched after the touch screen is not illuminated during the call.
在一个可能的示例中,上述在通话过程中检测到高级数字信号处理器adsp 休眠,包括:在息屏状态下连续多次读取高级数字信号处理器adsp的休眠标志位;检测到每次读取结果均为休眠标志位处于休眠状态,确定高级数字信号处理器adsp休眠。In one possible example, the above-mentioned advanced digital signal processor adsp is detected during the call. Sleeping, including: reading the sleep flag of the advanced digital signal processor adsp multiple times in the state of the information screen; detecting that the sleep flag is in a sleep state every time the read result is determined, determining that the advanced digital signal processor adsp sleeps.
其中,判断adsp是否休眠,可在检测到触控显示屏息屏时,连续多次读取adsp的休眠标志位,在检测到每次读取的结果均为休眠标志位处于休眠状态时,可确定adsp休眠,即表明移动终端当前的息屏事件为超时息屏事件,而非接近事件触发的息屏事件。Wherein, determining whether the adsp is dormant, when the touch screen display screen is detected, the sleep flag of the adsp is read consecutively multiple times, and when the result of detecting each read is that the sleep flag is in the sleep state, the determination may be determined. The adsp sleeps, indicating that the current interest screen event of the mobile terminal is a timeout screen event, rather than a near screen event triggered by the event.
可见,本示例中,在检测到触控显示屏息屏时,首先判断是否是超时息屏,即判断adsp是否休眠,可通过连续多次读取adsp的休眠标志位实现。由于是连续多次读取adsp的休眠标志位而不是单次读取,在多次读取的结果都为休眠标志位处于休眠状态时,才可确定adsp休眠,有利于提高移动终端超时息屏检测的可靠性和准确性。It can be seen that, in this example, when the touch screen display screen is detected, it is first determined whether it is a timeout information screen, that is, whether the adsp is dormant, and can be realized by continuously reading the sleep flag of the adsp multiple times. Since the sleep flag of the adsp is read multiple times instead of a single read, the result of multiple reads is that the sleep flag is in the sleep state, and the adsp sleep can be determined, which is beneficial to improve the timeout screen of the mobile terminal. Reliability and accuracy of the test.
在一个可能的示例中,上述调整接近传感器的距离阈值以提高上述接近传感器的检测灵敏度,包括:确定上述接近传感器的目标距离阈值;将上述接近传感器的距离阈值由当前距离阈值调整为上述目标距离阈值。In one possible example, the adjusting the proximity threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor includes: determining a target distance threshold of the proximity sensor; adjusting a distance threshold of the proximity sensor from a current distance threshold to the target distance Threshold.
其中,通过调整接近传感器距离阈值可以实现提高接近传感器的检测灵敏度,确定接近传感器的目标距离阈值,将接近传感器的当前距离阈值调整为目标距离阈值。Wherein, by adjusting the proximity sensor distance threshold, the detection sensitivity of the proximity sensor can be improved, the target distance threshold of the proximity sensor is determined, and the current distance threshold of the proximity sensor is adjusted to the target distance threshold.
可见,本示例中,确定接近传感器的目标距离阈值,再将接近传感器当前的距离阈值调整为目标距离阈值以实现调整接近传感器的距离阈值,从而实现提高接近传感器的检测灵敏度。It can be seen that, in this example, the target distance threshold of the proximity sensor is determined, and the current distance threshold of the proximity sensor is adjusted to the target distance threshold to achieve a distance threshold for adjusting the proximity sensor, thereby improving the detection sensitivity of the proximity sensor.
在一个可能的示例中,上述确定上述接近传感器的目标距离阈值,包括:根据当前用户与移动终端之间的距离,确定上述目标距离阈值;或者,确定预设的距离阈值中大于当前距离阈值的距离阈值为上述目标距离阈值。In a possible example, the determining the target distance threshold of the proximity sensor includes: determining the target distance threshold according to a distance between the current user and the mobile terminal; or determining that the preset distance threshold is greater than a current distance threshold. The distance threshold is the above target distance threshold.
其中,可通过检测当前用户和移动终端之间的距离,确定目标距离阈值。举例说明,接近传感器预设的高灵敏度阈值为20厘米,低灵敏度阈值为10厘米,如果不对接近传感器的距离阈值进行动态调整的话,在移动终端处于垂直状态时,在检测到当前用户和移动终端之间的距离小于20厘米时,才可触 发接近事件,在移动终端处于水平状态时,在检测到当前用户和移动终端之间的距离小于10厘米时,才可触发接近事件,因此,若当前移动终端处于水平状态时,比较难以触发接近事件,从而导致通话过程中超时息屏后,可能不会亮屏。本示例中,确定目标距离阈值,可以是在检测到当前用户和移动终端之间的距离大于20厘米时,如25厘米,可确定目标距离阈值为20厘米到25厘米之间的一个数值;在检测到当前用户和移动终端之间的距离在10厘米到20厘米之间时,如15厘米,可确定目标距离阈值为20厘米;在检测到当前用户和移动终端之间的距离小于10厘米时,可确定目标距离阈值为10厘米,从而,使得触发接近事件更加容易。The target distance threshold may be determined by detecting a distance between the current user and the mobile terminal. For example, the proximity sensor presets a high sensitivity threshold of 20 cm and a low sensitivity threshold of 10 cm. If the distance threshold of the proximity sensor is not dynamically adjusted, the current user and the mobile terminal are detected when the mobile terminal is in a vertical state. Only when the distance between them is less than 20 cm When the mobile terminal is in a horizontal state, when the distance between the current user and the mobile terminal is detected to be less than 10 cm, the proximity event can be triggered. Therefore, if the current mobile terminal is in a horizontal state, it is more difficult to trigger the proximity. The event, which causes the timeout screen during the call, may not be illuminated. In this example, the target distance threshold is determined, which may be a value between 20 cm and 25 cm when the distance between the current user and the mobile terminal is greater than 20 cm, such as 25 cm, and the target distance threshold is determined; When it is detected that the distance between the current user and the mobile terminal is between 10 cm and 20 cm, such as 15 cm, the target distance threshold is determined to be 20 cm; when the distance between the current user and the mobile terminal is detected to be less than 10 cm , the target distance threshold can be determined to be 10 cm, which makes it easier to trigger the approach event.
其中,确定目标距离阈值,可以是确定预设的距离阈值中大于当前距离阈值的距离阈值为上述目标距离阈值。例如,预设阈值为10厘米和20厘米,分别为对应水平状态的低灵敏度阈值和对应竖直状态的高灵敏度阈值,在移动终端为水平状态时,确定目标距离阈为20厘米,即将距离阈值由10厘米调整为20厘米,但是若移动终端处于竖直状态,距离阈值为20厘米,则距离阈值保存不变,从而,使得在通过过程中,当移动终端由竖直状态切换为水平状态时,可以调整距离阈值以提高接近传感器的检测灵敏度。The determining the target distance threshold may be determining that the distance threshold greater than the current distance threshold in the preset distance threshold is the target distance threshold. For example, the preset thresholds are 10 cm and 20 cm, which are respectively a low sensitivity threshold corresponding to the horizontal state and a high sensitivity threshold corresponding to the vertical state. When the mobile terminal is in the horizontal state, the target distance threshold is determined to be 20 cm, that is, the distance threshold. Adjusted from 10 cm to 20 cm, but if the mobile terminal is in the vertical state and the distance threshold is 20 cm, the distance threshold remains unchanged, thereby making the mobile terminal switch from the vertical state to the horizontal state during the pass. The distance threshold can be adjusted to improve the detection sensitivity of the proximity sensor.
可见,本示例中,可以根据当前用户和移动终端之间的距离确定接近传感器的目标距离阈值,也可以将预设的距离阈值中大于当前距离阈值的距离阈值确定为目标阈值,进而实现了对接近传感器的阈值进行调整,提高了接近传感器的检测灵敏度,有利于触发接近事件和远离事件,从而防止在通话过程中触控显示屏不亮屏。It can be seen that, in this example, the target distance threshold of the proximity sensor may be determined according to the distance between the current user and the mobile terminal, or the distance threshold greater than the current distance threshold in the preset distance threshold may be determined as the target threshold, thereby achieving The threshold of the proximity sensor is adjusted to improve the detection sensitivity of the proximity sensor, which is beneficial for triggering the proximity event and the distant event, thereby preventing the touch display screen from being illuminated during the call.
在一个可能的示例中,上述方法还包括:在通话过程中检测到高级数字信号处理器adsp休眠时,停止运行上述接近传感器的接近阈值调整算法,以及加速度传感器。In one possible example, the method further includes: stopping the running of the proximity threshold adjustment algorithm of the proximity sensor and the acceleration sensor when the advanced digital signal processor adsp sleeps during the call.
其中,在通话过程中间检测到adsp休眠时,即移动终端超时息屏时,即可控制移动终端停止运行接近传感器的接近阈值调整算法以及加速度传感器,即不用再判断移动终端处于水平状态还是处于竖直状态,也不用将移动终端的距离阈值调整为和水平状态对应的距离阈值或者和竖直状态对应的距离阈值。 When the adsp sleep is detected in the middle of the call, that is, when the mobile terminal has a timeout screen, the mobile terminal can stop the proximity threshold adjustment algorithm and the acceleration sensor of the proximity sensor, that is, it is no longer necessary to judge whether the mobile terminal is in a horizontal state or in a vertical position. In the straight state, the distance threshold of the mobile terminal is not adjusted to a distance threshold corresponding to the horizontal state or a distance threshold corresponding to the vertical state.
可见,在本示例中,在检测到adsp休眠时,停止运行接近传感器的接近阈值调整算法和加速度传感器,有利于降低移动终端功耗,延长移动终端使用时长。It can be seen that, in this example, when the adsp sleep is detected, the proximity threshold adjustment algorithm and the acceleration sensor of the proximity sensor are stopped, which is beneficial to reducing the power consumption of the mobile terminal and prolonging the usage time of the mobile terminal.
与上述图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,上述移动终端在息屏状态下连续多次读取高级数字信号处理器adsp的休眠标志位。S201. The mobile terminal reads the sleep flag of the advanced digital signal processor adsp multiple times in the state of the interest screen.
S202,上述移动终端检测到每次读取结果均为休眠标志位处于休眠状态,确定高级数字信号处理器adsp休眠。S202. The mobile terminal detects that each sleep result is that the sleep flag bit is in a sleep state, and determines that the advanced digital signal processor adsp sleeps.
S203,上述移动终端确定上述接近传感器的目标距离阈值。S203. The mobile terminal determines a target distance threshold of the proximity sensor.
S204,上述移动终端将上述接近传感器的距离阈值由当前距离阈值调整为上述目标距离阈值以提高上述接近传感器的检测灵敏度,上述距离阈值用于触发接近事件或者远离事件。S204. The mobile terminal adjusts a distance threshold of the proximity sensor from a current distance threshold to the target distance threshold to improve detection sensitivity of the proximity sensor, where the distance threshold is used to trigger a proximity event or a distant event.
S205,上述移动终端通过调整后的上述接近传感器触发上述接近事件,保持触控显示屏处于熄屏状态。S205. The mobile terminal triggers the proximity event by using the adjusted proximity sensor to keep the touch display screen in a blanking state.
S206,上述移动终端通过调整后的上述接近传感器触发上述远离事件,控制上述触控显示屏亮屏。S206. The mobile terminal triggers the remote event by the adjusted proximity sensor to control the touch screen to be bright.
可以看出,本申请实施例中,移动终端首先在通话过程中检测到高级数字信号处理器adsp休眠,调整接近传感器的距离阈值以提高上述接近传感器的检测灵敏度,上述距离阈值用于触发接近事件或者远离事件,其次,通过调整后的上述接近传感器触发上述接近事件,保持触控显示屏处于熄屏状态,最后,通过调整后的上述接近传感器触发上述远离事件,控制上述触控显示屏亮屏。可见,移动终端在检测到adsp休眠时,通过调整接近传感器的距离阈值以提高接近传感器的检测灵敏度,使得触发接近事件更加容易,在触发接近事件后再通过触发远离事件使触控显示屏亮屏,有利于防止通话过程中触控显示屏息屏后不亮屏。It can be seen that, in the embodiment of the present application, the mobile terminal first detects that the advanced digital signal processor adsp sleeps during the call, and adjusts the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, and the distance threshold is used to trigger the proximity event. Or moving away from the event, and secondly, the above proximity sensor is triggered by the adjusted proximity sensor to keep the touch display screen in a blanking state. Finally, the adjusted proximity sensor triggers the remote event to control the touch display screen to be bright. . It can be seen that when the mobile terminal detects the adsp sleep, the proximity threshold of the proximity sensor is adjusted to improve the detection sensitivity of the proximity sensor, so that the triggering of the proximity event is easier, and the touch screen is brightened by triggering the remote event after the proximity event is triggered. It is beneficial to prevent the touch screen from being touched after the touch screen is not illuminated during the call.
与上述图1、图2、所示的实施例一致的,请参阅图3,图3是本申请实 施例提供的一种移动终端的结构示意图,该应用服务器运行有一个或多个应用程序和操作系统,如图所示,该应用服务器包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序不同于上述一个或多个应用程序,且上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行以下步骤的指令;Referring to the embodiment shown in FIG. 1 and FIG. 2 above, please refer to FIG. 3. FIG. 3 is the present application. A configuration diagram of a mobile terminal running on one or more applications and an operating system, as shown in the figure, the application server includes a processor, a memory, a 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 programs are stored in the memory and configured to be executed by the processor, the program comprising the following steps instruction;
在通话过程中检测到高级数字信号处理器adsp休眠,调整接近传感器的距离阈值以提高上述接近传感器的检测灵敏度,上述距离阈值用于触发接近事件或者远离事件;Detecting the advanced digital signal processor adsh sleep during the call, adjusting the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, and the distance threshold is used to trigger a proximity event or a distant event;
通过调整后的上述接近传感器触发上述接近事件,保持触控显示屏处于熄屏状态;The above proximity event is triggered by the adjusted proximity sensor to keep the touch display screen in a blanking state;
通过调整后的上述接近传感器触发上述远离事件,控制上述触控显示屏亮屏。The above-mentioned proximity sensor is triggered by the adjusted proximity sensor to control the touch screen display to be bright.
可以看出,本申请实施例中,移动终端首先在通话过程中检测到高级数字信号处理器adsp休眠,调整接近传感器的距离阈值以提高上述接近传感器的检测灵敏度,上述距离阈值用于触发接近事件或者远离事件,其次,通过调整后的上述接近传感器触发上述接近事件,保持触控显示屏处于熄屏状态,最后,通过调整后的上述接近传感器触发上述远离事件,控制上述触控显示屏亮屏。可见,移动终端在检测到adsp休眠时,通过调整接近传感器的距离阈值以提高接近传感器的检测灵敏度,使得触发接近事件更加容易,在触发接近事件后再通过触发远离事件使触控显示屏亮屏,有利于防止通话过程中触控显示屏息屏后不亮屏。It can be seen that, in the embodiment of the present application, the mobile terminal first detects that the advanced digital signal processor adsp sleeps during the call, and adjusts the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, and the distance threshold is used to trigger the proximity event. Or moving away from the event, and secondly, the above proximity sensor is triggered by the adjusted proximity sensor to keep the touch display screen in a blanking state. Finally, the adjusted proximity sensor triggers the remote event to control the touch display screen to be bright. . It can be seen that when the mobile terminal detects the adsp sleep, the proximity threshold of the proximity sensor is adjusted to improve the detection sensitivity of the proximity sensor, so that the triggering of the proximity event is easier, and the touch screen is brightened by triggering the remote event after the proximity event is triggered. It is beneficial to prevent the touch screen from being touched after the touch screen is not illuminated during the call.
在一个可能的示例中,上述在通话过程中检测到高级数字信号处理器adsp休眠,包括:在息屏状态下连续多次读取高级数字信号处理器adsp的休眠标志位;检测到每次读取结果均为休眠标志位处于休眠状态,确定高级数字信号处理器adsp休眠。In one possible example, the above-mentioned detection of the advanced digital signal processor adsh sleep during the call includes: reading the sleep flag of the advanced digital signal processor adsp multiple times in the state of the interest screen; detecting each read The result is that the sleep flag bit is in a sleep state, and the advanced digital signal processor adsp is determined to be dormant.
在一个可能的示例中,上述调整接近传感器的距离阈值以提高上述接近传感器的检测灵敏度,包括:确定上述接近传感器的目标距离阈值;将上述接近传感器的距离阈值由当前距离阈值调整为上述目标距离阈值。 In one possible example, the adjusting the proximity threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor includes: determining a target distance threshold of the proximity sensor; adjusting a distance threshold of the proximity sensor from a current distance threshold to the target distance Threshold.
在一个可能的示例中,上述确定上述接近传感器的目标距离阈值,包括:根据当前用户与移动终端之间的距离,确定上述目标距离阈值;或者,确定预设的距离阈值中大于当前距离阈值的距离阈值为上述目标距离阈值。In a possible example, the determining the target distance threshold of the proximity sensor includes: determining the target distance threshold according to a distance between the current user and the mobile terminal; or determining that the preset distance threshold is greater than a current distance threshold. The distance threshold is the above target distance threshold.
在一个可能的示例中,上述方法还包括:在通话过程中检测到高级数字信号处理器adsp休眠时,停止运行上述接近传感器的接近阈值调整算法,以及加速度传感器。In one possible example, the method further includes: stopping the running of the proximity threshold adjustment algorithm of the proximity sensor and the acceleration sensor when the advanced digital signal processor adsp sleeps during the call.
上述实施例主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。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-S206和/或用于本文所描述的技术的其它过程,通信。移动终端还可以包括存储单元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-S206 and/or other processes for the techniques described herein, communicate. The mobile terminal may further include a storage unit 401 for storing program codes and data of the 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 may be a processor or a controller, such as a central processing unit (CPU), a general purpose processor, and a digital signal processor (Digital Signal). Processor, DSP), 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,用于在通话过程中检测到高级数字信号处理器adsp休眠,调整接近传感器的距离阈值以提高上述接近传感器的检测灵敏度,上述距离阈值用于触发接近事件或者远离事件;以及用于通过调整后的上述接近传感器触发上述接近事件,保持触控显示屏处于熄屏状态;以及用于通过调整后的上述接近传感器触发上述远离事件,控制上述触控显示屏亮屏。The processing unit 402 is configured to detect the sleep of the advanced digital signal processor adsp during the call, and adjust the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, where the distance threshold is used to trigger a proximity event or a distant event; And the above proximity event is triggered by the adjusted proximity sensor to keep the touch display screen in an off-screen state; and the touch screen display is controlled by the adjusted proximity sensor to control the touch screen display brightness.
在一个可能的示例中,在上述在通话过程中检测到高级数字信号处理器adsp休眠方面,上述处理单元402具体用于:在息屏状态下连续多次读取高级数字信号处理器adsp的休眠标志位;以及用于检测到每次读取结果均为休眠标志位处于休眠状态,确定高级数字信号处理器adsp休眠。In one possible example, in the above-mentioned detection of the advanced digital signal processor adsh sleep during the call, the processing unit 402 is specifically configured to: read the sleep of the advanced digital signal processor adsp multiple times in the state of the interest screen. The flag bit is used to detect that each read result is that the sleep flag bit is in a sleep state, and the advanced digital signal processor adsp sleep is determined.
在一个可能的示例中,在上述调整接近传感器的距离阈值以提高上述接近传感器的检测灵敏度方面,上述处理单元402具体用于:确定上述接近传感器的目标距离阈值;以及用于将上述接近传感器的距离阈值由当前距离阈值调整为上述目标距离阈值。In one possible example, in the above-mentioned adjusting the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, the processing unit 402 is specifically configured to: determine a target distance threshold of the proximity sensor; and The distance threshold is adjusted by the current distance threshold to the above target distance threshold.
在一个可能的示例中,在上述确定上述接近传感器的目标距离阈值方面,上述处理单元402具体用于:根据当前用户与移动终端之间的距离,确定上述目标距离阈值;或者,确定预设的距离阈值中大于当前距离阈值的距离阈值为上述目标距离阈值。In a possible example, in the foregoing determining the target distance threshold of the proximity sensor, the processing unit 402 is specifically configured to: determine the target distance threshold according to a distance between the current user and the mobile terminal; or determine a preset The distance threshold greater than the current distance threshold in the distance threshold is the target distance threshold.
在一个可能的示例中,上述处理单元402还用于在通话过程中检测到高级数字信号处理器adsp休眠时,停止运行上述接近传感器的接近阈值调整算法,以及加速度传感器。In one possible example, the processing unit 402 is further configured to stop the proximity threshold adjustment algorithm of the proximity sensor and the acceleration sensor when the advanced digital signal processor adsp sleeps during the call.
需要注意的是,本发明装置实施例所描述的移动终端是以功能单元的形式 呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。It should be noted that the mobile terminal described in the device embodiment of the present invention is in the form of a functional unit. Presented. 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:
    在通话过程中检测到高级数字信号处理器高级数字信号处理器adsp休眠,调整接近传感器的距离阈值以提高所述接近传感器的检测灵敏度,所述距离阈值用于触发接近事件或者远离事件;Detecting the advanced digital signal processor advanced digital signal processor adsh sleep during the call, adjusting the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, the distance threshold is used to trigger a proximity event or a distant event;
    通过调整后的所述接近传感器触发所述接近事件,保持触控显示屏处于熄屏状态;The proximity event is triggered by the adjusted proximity sensor to keep the touch display screen in a blanking state;
    通过调整后的所述接近传感器触发所述远离事件,控制所述触控显示屏亮屏。The remote touch event is triggered by the adjusted proximity sensor, and the touch display screen is controlled to be bright.
  2. 根据权利要求1所述的方法,其特征在于,所述在通话过程中检测到高级数字信号处理器adsp休眠,包括:The method according to claim 1, wherein said detecting the advanced digital signal processor adsp sleep during the call comprises:
    在息屏状态下连续多次读取高级数字信号处理器adsp的休眠标志位;Reading the sleep flag of the advanced digital signal processor adsp multiple times in the state of the interest screen;
    检测到每次读取结果均为休眠标志位处于休眠状态,确定高级数字信号处理器adsp休眠。It is detected that each sleep result is that the sleep flag bit is in a sleep state, and it is determined that the advanced digital signal processor adsp sleeps.
  3. 根据权利要求1所述的方法,其特征在于,所述调整接近传感器的距离阈值以提高所述接近传感器的检测灵敏度,包括:The method of claim 1 wherein said adjusting a distance threshold of the proximity sensor to increase detection sensitivity of said proximity sensor comprises:
    确定所述接近传感器的目标距离阈值;Determining a target distance threshold of the proximity sensor;
    将所述接近传感器的距离阈值由当前距离阈值调整为所述目标距离阈值。The distance threshold of the proximity sensor is adjusted from the current distance threshold to the target distance threshold.
  4. 根据权利要求3所述的方法,其特征在于,所述确定所述接近传感器的目标距离阈值,包括:The method according to claim 3, wherein the determining a target distance threshold of the proximity sensor comprises:
    根据当前用户与移动终端之间的距离,确定所述目标距离阈值;或者,Determining the target distance threshold according to a distance between the current user and the mobile terminal; or
    确定预设的距离阈值中大于当前距离阈值的距离阈值为所述目标距离阈值。Determining, by the preset distance threshold, a distance threshold greater than a current distance threshold is the target distance threshold.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    在通话过程中检测到高级数字信号处理器adsp休眠时,停止运行所述接近传感器的接近阈值调整算法,以及加速度传感器。When the advanced digital signal processor adsp sleeps during the call, the proximity threshold adjustment algorithm of the proximity sensor and the acceleration sensor are stopped.
  6. 一种移动终端,其特征在于,包括处理单元, A mobile terminal, comprising: a processing unit,
    所述处理单元,用于在通话过程中检测到高级数字信号处理器adsp休眠,调整接近传感器的距离阈值以提高所述接近传感器的检测灵敏度,所述距离阈值用于触发接近事件或者远离事件;The processing unit is configured to detect an advanced digital signal processor adsh sleep during a call, and adjust a distance threshold of the proximity sensor to improve detection sensitivity of the proximity sensor, where the distance threshold is used to trigger a proximity event or a distant event;
    所述处理单元,还用于通过调整后的所述接近传感器触发所述接近事件,保持触控显示屏处于熄屏状态;The processing unit is further configured to trigger the proximity event by using the adjusted proximity sensor to keep the touch display screen in a blanking state;
    所述处理单元,还用于通过调整后的所述接近传感器触发所述远离事件,控制所述触控显示屏亮屏。The processing unit is further configured to trigger the remote event by the adjusted proximity sensor to control the touch display screen to be bright.
  7. 根据权利要求6所述的移动终端,其特征在于,在所述在通话过程中检测到高级数字信号处理器adsp休眠方面,所述处理单元具体用于:在息屏状态下连续多次读取高级数字信号处理器adsp的休眠标志位;以及用于检测到每次读取结果均为休眠标志位处于休眠状态,确定高级数字信号处理器adsp休眠。The mobile terminal according to claim 6, wherein the processing unit is specifically configured to: continuously read the information in the state of the information screen, in the aspect of detecting the sleep of the advanced digital signal processor adsp during the call. The sleep flag of the advanced digital signal processor adsp; and for detecting that each sleep result is that the sleep flag bit is in a sleep state, determining that the advanced digital signal processor issp sleep.
  8. 根据权利要求6所述的移动终端,其特征在于,在所述调整接近传感器的距离阈值以提高所述接近传感器的检测灵敏度方面,所述处理单元具体用于:确定所述接近传感器的目标距离阈值;以及用于将所述接近传感器的距离阈值由当前距离阈值调整为所述目标距离阈值。The mobile terminal according to claim 6, wherein in the adjusting the distance threshold of the proximity sensor to improve the detection sensitivity of the proximity sensor, the processing unit is specifically configured to: determine a target distance of the proximity sensor a threshold; and a distance threshold for using the proximity sensor to be adjusted from the current distance threshold to the target distance threshold.
  9. 根据权利要求8所述的移动终端,其特征在于,在所述确定所述接近传感器的目标距离阈值方面,所述处理单元具体用于:根据当前用户与移动终端之间的距离,确定所述目标距离阈值;或者,确定预设的距离阈值中大于当前距离阈值的距离阈值为所述目标距离阈值。The mobile terminal according to claim 8, wherein the processing unit is configured to: determine the distance according to a distance between a current user and a mobile terminal, in the determining a target distance threshold of the proximity sensor a target distance threshold; or determining that the distance threshold greater than the current distance threshold of the preset distance threshold is the target distance threshold.
  10. 根据权利要求6-9任一项所述的移动终端,其特征在于,所述处理单元还用于在通话过程中检测到高级数字信号处理器adsp休眠时,停止运行所述接近传感器的接近阈值调整算法,以及加速度传感器。The mobile terminal according to any one of claims 6 to 9, wherein the processing unit is further configured to stop running the proximity threshold of the proximity sensor when the advanced digital signal processor adsp sleeps during the call. Adjustment algorithms, as well as acceleration sensors.
  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/103757 2017-09-27 2017-09-27 Call processing method and related product WO2019061102A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/103757 WO2019061102A1 (en) 2017-09-27 2017-09-27 Call processing method and related product
CN201780091918.3A CN110741621B (en) 2017-09-27 2017-09-27 Call processing method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/103757 WO2019061102A1 (en) 2017-09-27 2017-09-27 Call processing method and related product

Publications (1)

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

Family

ID=65900236

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103757 WO2019061102A1 (en) 2017-09-27 2017-09-27 Call processing method and related product

Country Status (2)

Country Link
CN (1) CN110741621B (en)
WO (1) WO2019061102A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113253826B (en) * 2020-02-10 2024-04-12 华为技术有限公司 Control method, device, terminal and storage medium

Citations (4)

* 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
CN102946497A (en) * 2012-11-16 2013-02-27 成都西可科技有限公司 Method for reducing power consumption of smart phone during communication
WO2014035557A1 (en) * 2012-08-30 2014-03-06 Apple Inc. Electronic device with adaptive proximity sensor threshold
CN104683598A (en) * 2015-03-25 2015-06-03 深圳市欧珀通信软件有限公司 Proximity sensor threshold adjusting method and device and intelligent device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015192362A (en) * 2014-03-28 2015-11-02 富士フイルム株式会社 Image reproducing device, image reproducing method and control program therefor
CN105262882A (en) * 2015-08-28 2016-01-20 上海卓易科技股份有限公司 Method and device for automatically calibrating distance induction
CN106412301A (en) * 2016-09-29 2017-02-15 努比亚技术有限公司 Screen control system based on proximity sensor and mobile terminal
CN106559578B (en) * 2016-11-29 2019-07-30 努比亚技术有限公司 A kind of terminal screen goes out the method and device of screen
CN106791209A (en) * 2017-03-10 2017-05-31 上海传英信息技术有限公司 The self-checking device and method of distance of mobile terminal sensor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014035557A1 (en) * 2012-08-30 2014-03-06 Apple Inc. Electronic device with adaptive proximity sensor threshold
CN102917124A (en) * 2012-09-27 2013-02-06 东莞宇龙通信科技有限公司 Method for dynamically adjusting threshold of distance sensor, and mobile terminal
CN102946497A (en) * 2012-11-16 2013-02-27 成都西可科技有限公司 Method for reducing power consumption of smart phone during communication
CN104683598A (en) * 2015-03-25 2015-06-03 深圳市欧珀通信软件有限公司 Proximity sensor threshold adjusting method and device and intelligent device

Also Published As

Publication number Publication date
CN110741621B (en) 2021-08-10
CN110741621A (en) 2020-01-31

Similar Documents

Publication Publication Date Title
US10978006B2 (en) User terminal device and method for adjusting luminance thereof
US9955341B2 (en) Method for preventing call-up operation errors and system using the same
US10306044B2 (en) Method and apparatus for preventing screen off during automatic response system service in electronic device
US10627887B2 (en) Face detection circuit
KR102049783B1 (en) Method and apparatus for controlling screen brightness corresponding to variation of illumination
WO2018103401A1 (en) Wireless fidelity wi-fi scanning method and related product
US10339078B2 (en) Smart device and method of operating the same
US10228804B2 (en) Mobile device with periodic estimation of underwater state based on detected acceleration
US11115517B2 (en) Method and apparatus for preventing screen off during automatic response system service in electronic device
EP3499852B1 (en) Method and device for controlling screen of mobile terminal
KR20160005066A (en) Wireless communication device, wireless communication system, wireless communication method, non-transitory recording medium, central and peripheral
US20170060301A1 (en) Method and apparatus for setting sensing threshold for a touch screen
JP2019532436A (en) Screen display method and terminal
US20170097722A1 (en) Mobile electronic device, method of controlling mobile electronic device, and recording medium
WO2018077093A1 (en) Method and device for controlling mobile terminal, and mobile terminal
WO2019061536A1 (en) Call processing method and related product
US20150054846A1 (en) Mobile electronic device with orientation dependent ambient light sensitivity
EP3298762B1 (en) User terminal device and method for adjusting luminance thereof
WO2019061102A1 (en) Call processing method and related product
WO2018193877A1 (en) Electronic device, program, and control method
WO2015002300A1 (en) Portable terminal and control method
JP2019083415A (en) Electronic apparatus, control method and control program
US20200314746A1 (en) Electronic device and control method thereof
WO2019056214A1 (en) Conversation processing method and related product
JPWO2017056891A1 (en) Information processing apparatus, electronic device, control method for information processing apparatus, and control program

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: 17927830

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 1205N DATED 04/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17927830

Country of ref document: EP

Kind code of ref document: A1