WO2015062502A1 - Method and terminal for answering incoming call - Google Patents

Method and terminal for answering incoming call Download PDF

Info

Publication number
WO2015062502A1
WO2015062502A1 PCT/CN2014/089782 CN2014089782W WO2015062502A1 WO 2015062502 A1 WO2015062502 A1 WO 2015062502A1 CN 2014089782 W CN2014089782 W CN 2014089782W WO 2015062502 A1 WO2015062502 A1 WO 2015062502A1
Authority
WO
WIPO (PCT)
Prior art keywords
infrared light
signal information
light signal
ambient light
determining
Prior art date
Application number
PCT/CN2014/089782
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 华为终端有限公司
Publication of WO2015062502A1 publication Critical patent/WO2015062502A1/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/724User interfaces specially adapted for cordless or mobile telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and terminal for answering an incoming call.
  • the embodiment of the invention provides a method and a terminal for answering an incoming call, which can solve the problem that the user cannot pick up the mobile phone because the hand is dirty or the mobile phone cannot start the corresponding function because the user wetly touches the mobile phone.
  • an embodiment of the present invention provides a method for answering an incoming call, including:
  • Determining whether the change condition meets a preset condition according to a change condition of the optical signal includes whether there is a reflected infrared light signal, a duration of the reflected infrared light signal, and a change of an intensity of the ambient light signal. At least one of four predetermined conditions of regular, ambient light signal duration over a range of intensities;
  • the response mode corresponding to the preset condition is started.
  • determining the change of the optical signal according to the optical signal information includes:
  • the first time period from the time when the information of the infrared light signal is collected is continuously detected whether the received light has a preset frequency, and the preset frequency is a frequency of the reflected infrared light signal;
  • determining the change of the optical signal according to the optical signal information includes:
  • determining the change of the optical signal according to the optical signal information includes:
  • the intensity change of the ambient light during the third time period is determined according to the collected ambient light intensity.
  • determining the change of the optical signal according to the optical signal information includes:
  • determining the change of the optical signal according to the optical signal information include:
  • determining the change of the optical signal according to the optical signal information include:
  • an embodiment of the present invention provides a terminal for answering an incoming call, including:
  • An acquisition module configured to collect optical signal information after receiving the call request when the display panel is in a horizontally upward state and a stationary state
  • a determining module configured to determine an optical signal according to the optical signal information collected by the collecting module Changes
  • a determining module configured to determine, according to a change of the optical signal determined by the determining module, whether the change condition meets a preset condition, where the preset condition includes whether a reflected infrared light signal or a reflected infrared light signal continues At least one of four preset conditions of time, the variation of the intensity of the ambient light signal, and the duration of the ambient light signal over a range of intensities;
  • the startup module is configured to start a response mode corresponding to the preset condition when the determining module determines that the change condition meets a preset condition.
  • the determining module when the optical signal information is infrared optical signal information, the determining module includes:
  • a first collecting unit configured to collect infrared light signal information
  • the first detecting unit is configured to continuously detect whether the light received by the first collecting unit has a preset frequency within a first time period from the first collecting unit to the infrared light signal information, where the preset frequency is The frequency of the reflected infrared light signal;
  • a first determining unit configured to determine, when the first detecting unit determines that the received light has the preset frequency, an appearance time of the light having the preset frequency in the first time period, A determination of the presence or absence of an infrared light signal during the first time period is determined.
  • the determining module when the optical signal information is infrared optical signal information, the determining module includes:
  • a second collecting unit configured to collect infrared light signal information
  • a second detecting unit configured to continuously detect, in a second period from the second collecting unit, that the light received by the second collecting unit has a preset frequency, where the preset frequency is The frequency of the reflected infrared light signal;
  • a second determining unit configured to determine, when the second detecting unit determines that the received light has the preset frequency, an appearance time of the light having the preset frequency in the second time period, Determining the change of the infrared light signal according to the appearance time of the light of the preset frequency.
  • the determining module when the optical signal information is the ambient light signal information, the determining module includes:
  • a third collecting unit for collecting the intensity of ambient light
  • the third determining unit is configured to determine, according to the collected ambient light intensity, a change in the intensity of the ambient light in the third time period from a third time period after the third collecting unit collects the ambient light intensity.
  • the determining module when the optical signal information is the ambient light signal information, the determining module includes:
  • a fourth collecting unit configured to collect ambient light intensity
  • a fourth determining unit configured to determine, according to the ambient light intensity collected by the fourth collecting unit, a duration of the collected ambient light intensity within a certain intensity range, according to the collected ambient light intensity within a certain intensity range The duration determines the change in the ambient light signal.
  • the determining module when the optical signal information is an infrared light signal and an ambient light signal, the determining module includes:
  • a sixth collecting unit configured to collect infrared light signal information when the ambient light intensity collected by the fifth collecting unit is less than a preset threshold
  • a fifth detecting unit configured to continuously detect, in a fourth period from the sixth collecting unit, that the received light has a preset frequency, where the preset frequency is the reflected infrared light The frequency of the signal;
  • a fifth determining unit configured to determine, at the fifth detecting unit, that the received light has the preset frequency, determine an appearance time of the light having the preset frequency in the fourth time period, and determine The presence or absence of changes in the infrared light signal during the fourth time period.
  • the determining module when the optical signal information is an infrared light signal and an ambient light signal, the determining module includes:
  • the eighth collecting unit is configured to collect the reflected infrared light signal information when the ambient light intensity collected by the seventh collecting unit is less than a preset threshold;
  • a sixth detecting unit configured to receive the fifth time from the information of the infrared light signal from the eighth collecting unit In the interval, continuously detecting whether the received light has a preset frequency
  • a sixth determining unit configured to determine, in the sixth detecting unit, that the received light has the preset frequency, determine an appearance time of the light having the preset frequency in the fifth time period, according to the The appearance time of the light of the frequency determines the change of the infrared light signal.
  • the method and terminal for answering an incoming call provided by the embodiment of the present invention can determine the action that the user wants to start according to the condition of the optical signal, that is, the user can enable the terminal to detect the action of the user without directly contacting the terminal, so as to start
  • the corresponding function compared with the technical solution in the prior art that allows the user to contact the terminal to initiate the function of the terminal call answering, the embodiment of the invention can enable the user to activate the call answering function regardless of whether the mobile phone can be touched. The normal call of the user is guaranteed.
  • FIG. 1 is a flowchart of a method for answering an incoming call according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for answering an incoming call according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an incoming call response operation gesture according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of another method for answering an incoming call according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another call answering operation gesture according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of another method for answering an incoming call according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of another method for answering an incoming call according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of another method for answering an incoming call according to an embodiment of the present invention.
  • FIG. 9 is a schematic block diagram of a call answering terminal according to an embodiment of the present invention.
  • FIG. 10 is a schematic block diagram of another call answering terminal according to an embodiment of the present invention.
  • FIG. 11 is a schematic block diagram of another call answering terminal according to an embodiment of the present invention.
  • FIG. 12 is a schematic block diagram of another call answering terminal according to an embodiment of the present invention.
  • FIG. 13 is a schematic block diagram of another call answering terminal according to an embodiment of the present invention.
  • FIG. 14 is a schematic block diagram of another call answering terminal according to an embodiment of the present invention.
  • FIG. 15 is a schematic block diagram of another call answering terminal according to an embodiment of the present invention.
  • FIG. 16 is a schematic block diagram of an electronic terminal for implementing an incoming call response according to an embodiment of the present invention.
  • Embodiments of the present invention provide a method for processing an incoming call response, which can be applied to an electronic terminal having a communication function, such as a smart phone, a tablet computer, or other communication electronic products, where the electronic terminal needs to be provided with a proximity light sensor, an ambient light sensor, and At least one of the acceleration sensors.
  • the terminal can also set up a controller for processing the information collected by each sensor.
  • the proximity light sensor may emit infrared light, and collect reflected infrared light information through an opening of the terminal device that belongs to the proximity light sensor, and send information of the collected infrared light to the controller;
  • the ambient light sensor can collect the light intensity of the ambient light signal information, read the light intensity value, and send the collected light intensity value to the controller;
  • the acceleration sensor can collect the gravity acceleration information of the terminal, and send the gravity acceleration information of the terminal to the controller.
  • the implementation process of the method for answering an incoming call provided by the embodiment of the present invention is as shown in FIG. 1 , and includes:
  • the optical signal information is collected.
  • the posture of the display panel provided by the embodiment of the present invention is mainly a common placement habit when an ordinary person uses an electronic terminal such as a mobile phone.
  • the determination of the posture of the display panel can be realized by an acceleration sensor in the electronic terminal.
  • the acceleration sensor generally has an X axis in the lateral direction of the display panel, a Y axis in the longitudinal direction of the display panel, and a Z axis in a direction perpendicular to the display panel. To create a stereo coordinate system.
  • the gravitational acceleration of the X-axis on the terminal When the gravitational acceleration of the X-axis on the terminal is 0, the gravitational acceleration of the Y-axis is 0, and the gravitational acceleration on the Z-axis is g, the display panel of the terminal is in a horizontally upward position; when the gravitational acceleration of the X-axis on the terminal is a, the gravitational acceleration on the Y-axis is b, and the gravitational acceleration on the Z-axis is c, where a ⁇ 0, b ⁇ 0, c ⁇ g, and the display panel of the terminal is not in a horizontally upward position, thereby judging the terminal Whether the display panel is horizontally facing upwards; when the terminal is in motion, the gravitational acceleration on the three coordinate axes on the display panel of the terminal is constantly changing, and only when the terminal is in a stationary state, the gravity acceleration a of the X-axis is 0.
  • the gravitational acceleration b on the Y-axis is 0, and the gravitational acceleration c on the Z-axis is g, thereby judging whether the terminal is in a stationary state.
  • the manner in which other gestures are judged can be set based on this analogy, and the present invention will not be described too much.
  • the optical signal information may include at least one of an infrared light signal and an ambient light signal.
  • the optical signal information may generally include an infrared signal having a preset frequency or wavelength, which may be based on the presence or absence of the optical signal, and/or the duration of the acquired infrared signal having a predetermined frequency or wavelength. Determine the change in the optical signal.
  • the optical signal information may generally include ambient light intensity, and the change in the optical signal may be determined based on the duration of the ambient light at different intensities.
  • the preset condition includes whether there is a reflected infrared light signal, a duration of the reflected infrared light signal, a variation law of the intensity of the ambient light signal, and the ambient light signal is within a certain intensity range. The duration of at least one of these four preset conditions.
  • the reflected infrared light signal is an infrared light signal that is emitted by the proximity light sensor and reflected back by a human hand or a mask similar to a human limb.
  • the duration of the infrared light signal, a certain intensity range and the duration of the ambient light signal within a certain intensity range can be adjusted and set separately according to the needs of the user.
  • the response mode may be a response mode when the user responds to the voice call service by using an electronic terminal such as a mobile phone, for example, rejecting the answer, answering, and hands-free.
  • the method for processing the incoming call response provided by the embodiment can determine the action that the user wants to start according to the condition of the optical signal, that is, the user can detect the user's action without directly contacting the terminal, so as to start and pre-empt
  • the response mode corresponding to the condition is compared with the technical solution that the user needs to contact the terminal to activate the call answering function in the prior art, so that the user can activate the call answering function without contacting the mobile phone, thereby ensuring the normal operation of the user. call.
  • the method flow shown in FIG. 2 is implemented for an infrared light signal, and specifically includes:
  • the infrared light is emitted along a preset direction, and the infrared light signal information is collected.
  • the preset direction is a direction in which the infrared sensor emits infrared light, and is generally perpendicular to the display plane.
  • A1022 continuously detecting whether the received light has a preset frequency in a first period from the time when the infrared light signal information is collected.
  • the preset frequency is a frequency of the reflected infrared light signal, that is, a frequency of infrared light emitted by the proximity photosensor.
  • the first time period may be a fixed value, and may also be determined according to the ringing time of the incoming call in the embodiment of the present invention.
  • the received light has the preset frequency, determine an appearance time of the light having the preset frequency in the first time period, and determine infrared light in the first time period. The presence or absence of a change in the signal.
  • the appearance time in the first time period refers to a time period in which the light having the preset frequency appears every time in the first time period.
  • the corresponding response mode may be set according to the presence or absence of the infrared light signal, for example, if the collected light signal is started. If the light with the preset frequency is not detected within 3s after the information, the corresponding response mode may be to reject the call; if within 3 seconds, the detected infrared light signal is changed from nothing to nothing, that is, in 3s In the embodiment, the reflected infrared signal can be recognized as a human hand on the screen.
  • the specific gesture is as shown in FIG. 3, and the corresponding response mode can be the answering call.
  • the different preset conditions of the infrared light can be inferred according to different gestures, and the corresponding preset conditions can be applied to the embodiments of the present invention, which are not enumerated in the present invention.
  • the implementation manner is intended to activate a corresponding response mode by using a gesture action of the user, thereby providing a more flexible operation mode for the user.
  • the method flow shown in FIG. 4 is implemented for an infrared light signal, and specifically includes:
  • Infrared light is emitted along a preset direction, and infrared light signal information is collected.
  • B1022 Continuously detecting whether the received light has a preset frequency in a second period from the collection of the infrared light signal information, wherein the preset frequency is a frequency of the reflected infrared light signal.
  • the second time period and the first time period, and the third time period and the fourth time period mentioned in the subsequent part are the same setting manner, which may be set by the user or may be set before leaving the factory, and the invention is implemented. This will not be repeated here.
  • the appearance duration in the second time period is different from the previously described appearance time, and the description herein refers to the duration of each occurrence in the second time period.
  • the second The duration of the infrared light signal in the time period is different, and the corresponding response mode can be set correspondingly.
  • the corresponding response mode may be Refuse to answer the call; if the detected infrared light signal lasts for 2 s in 3 s, in this embodiment, it can be determined that a human hand or a limb similar to a person stays on the screen.
  • the specific gesture is as shown in FIG. The answer can be to answer the call.
  • the different infrared light receiving conditions are inferred according to different stagnation times, and the corresponding preset conditions are set to be applied in the embodiments of the present invention, which are not enumerated in the present invention.
  • the implementation mode is intended to initiate a corresponding response mode by the user's stagnation action, thereby providing a more convenient and stable operation mode for the user.
  • the changes of the optical signals are determined according to the durations of the reflected infrared light signals and the reflected infrared light signals respectively corresponding to the preset conditions as shown in FIG. 4 and FIG. 5, and the preset conditions are used independently. Can be combined to determine the response mode that the user wants to enable.
  • the corresponding response mode may be to reject the call; if within 3s, The detected infrared light signal changes from nothing to nothing, and the detected infrared light signal continues for 2 s, that is, an infrared signal having a duration of 2 s reflection occurs within 3 s, in this embodiment It can be considered that someone has crossed the screen, and the corresponding answering method can be to answer the call.
  • the method flow shown in FIG. 6 is implemented for an ambient light signal, and specifically includes:
  • C1022 Determine, during a third time period from the ambient light intensity, the intensity change of the ambient light in the third time period according to the collected ambient light intensity.
  • the light intensity is generally expressed in units of lux.
  • the difference in the intensity change of the ambient light signal in the third time period may be correspondingly set corresponding to the response mode, for example, if the acquisition is started. If no ambient light intensity is detected within 3 seconds after the optical signal information, the corresponding response mode may be to refuse to answer the call; if the detected ambient light intensity is weakened from strong to strong within 3 seconds, then In the embodiment, it can be considered that a human hand or a human-like limb is on the screen. On-screen stay, the specific gesture is also shown in Figure 3, the corresponding answer mode can be to answer the phone.
  • the different presets of the ambient light intensity can be inferred according to different gestures, and the corresponding preset conditions can be applied to the embodiments of the present invention, which are not enumerated in the present invention.
  • the implementation manner is intended to activate a corresponding response mode by using a gesture action of the user, thereby providing a more flexible operation mode for the user.
  • the method flow shown in FIG. 7 is implemented for an ambient light signal, and specifically includes:
  • D1022 Determine, according to the collected ambient light intensity, a duration of the collected ambient light intensity within a certain intensity range, and determine a change of the ambient light signal according to the duration of the collected ambient light intensity within a certain intensity range.
  • the setting of the certain intensity range and the preset intensity range used in the preset condition may be consistent.
  • the preset condition provided above may include the duration of the ambient light signal within a certain intensity range
  • the difference in the duration of the ambient light signal in the fourth intensity period within a certain intensity range may correspondingly set the corresponding response.
  • the corresponding response mode may be to reject the answering call; if within 3 seconds, the detected ambient light intensity is below 100 lux.
  • the specific gesture can be as shown in FIG. 5, and the corresponding response mode can be the answering call.
  • different ambient light intensity changes can be inferred according to different stagnation times, and the corresponding preset conditions can be applied to the embodiments of the present invention, which are not enumerated in the present invention.
  • This implementation mode aims to activate the corresponding response mode by the user's stagnation action, and provides a more flexible operation mode for the user.
  • a plurality of preset conditions of the ambient light can also be used in combination, and the corresponding signal acquisition methods can also be combined.
  • the specific combination method can refer to the description of the infrared light signal portion, and will not be described here.
  • the ambient light sensor may not appear in the case where the ambient light intensity is unstable.
  • the present invention provides a specific implementation manner for the implementation of the step 102, as shown in FIG.
  • E102 Collect ambient light intensity. When the ambient light intensity is less than the preset threshold, steps E1022 to E1024 are performed; otherwise, steps C1021 to C2022 are performed, or steps D1021 to D1022 are performed.
  • the threshold range described herein is different from the foregoing various thresholds, and the threshold range is only used to distinguish whether the ambient light intensity of the current scene is sufficient to support the ambient light sensor for motion recognition.
  • E1023 Continuously detecting whether the received light has a preset frequency in a fourth period from the time of collecting the information of the infrared light signal, wherein the preset frequency is a frequency of the reflected infrared light signal.
  • the implementation of the steps E1022 to E1024 may be consistent with the implementation of the steps A1021 to A1023, and details are not described herein again.
  • the present implementation method is that when the ambient light is always relatively strong, the light intensity change caused by the human body blocking the display panel enables the ambient light sensor to accurately capture. However, when the ambient light is always weak, it is only possible to let the light sensor approach the task of motion capture. Of course, it is also possible to directly use the proximity light sensor regardless of the ambient light intensity.
  • steps E1022 to E1024 can also be replaced using steps B1021 to B1023.
  • the embodiment further provides a call answering terminal, which can be used to implement the foregoing method flow.
  • the terminal includes:
  • the acquisition module 21 is configured to collect optical signal information after receiving the call request when the display panel is in a horizontally upward state and a stationary state.
  • the determining module 22 is configured to determine, according to the optical signal information collected by the collecting module 21, a change of the optical signal.
  • the determining module 23 is configured to determine, according to the change of the optical signal determined by the determining module 22 Whether the change condition meets a preset condition, whether the reflected infrared light signal, the duration of the reflected infrared light signal, the intensity of the ambient light signal, and the ambient light signal are within a certain intensity range The duration of at least one of these four preset conditions.
  • the startup module 24 is configured to start a response mode corresponding to the preset condition when the determining module 23 determines that the change condition meets a preset condition.
  • the determining module 22 includes:
  • the first collecting unit 221 is configured to collect infrared light signal information.
  • the first detecting unit 222 is configured to continuously detect whether the light received by the first collecting unit 221 has a preset frequency in a first period from the first collecting unit 221 to the infrared light signal information, Let the frequency be the frequency of the reflected infrared light signal.
  • a first determining unit 223, configured to determine, when the first detecting unit 222 determines that the received light has the preset frequency, the occurrence of light having the preset frequency in the first time period Time, determining the presence or absence of changes in the infrared light signal during the first time period.
  • the determining module 22 includes:
  • the second collecting unit 224 is configured to collect infrared light signal information.
  • the second detecting unit 225 is configured to continuously detect whether the light received by the second collecting unit 224 has a preset frequency in a second time period from the second collecting unit 224 collecting the infrared light signal information, where the preset Let the frequency be the frequency of the reflected infrared light signal.
  • a second determining unit 225 configured to determine, when the second detecting unit 225 determines that the received light has the preset frequency, the occurrence of light having the preset frequency in the second time period The duration determines the change of the infrared light signal according to the appearance time of the light of the preset frequency.
  • the determining module 22 includes:
  • the third collecting unit 226 is configured to collect the intensity of the ambient light.
  • the third determining unit 227 is configured to collect the third from the third collecting unit 226 to the ambient light intensity. During the time period, the intensity change of the ambient light during the third time period is determined according to the collected ambient light intensity.
  • the determining module 22 includes:
  • the fourth collecting unit 228 is configured to collect ambient light intensity.
  • the fourth determining unit 229 is configured to determine, according to the ambient light intensity collected by the fourth collecting unit 228, the duration of the collected ambient light intensity within a certain intensity range, according to the collected ambient light intensity in a certain intensity range. The duration within the interior determines the change in the ambient light signal.
  • the determining module 22 includes:
  • the fifth collecting unit 2210 is configured to collect ambient light intensity.
  • the sixth collecting unit 2211 is configured to collect infrared light signal information when the ambient light intensity collected by the fifth collecting unit 2210 is less than a preset threshold.
  • the fifth detecting unit 2212 is configured to continuously detect whether the received light has a preset frequency within a fourth time period from the sixth collecting unit 2211 collecting the infrared light signal information, where the preset frequency is the reflected The frequency of the infrared light signal.
  • the fifth determining unit 2213 is configured to determine, when the fifth detecting unit 2212 determines that the received light has the preset frequency, determine an appearance time of the light having the preset frequency in the fourth time period, And determining whether the presence or absence of the infrared light signal in the fourth time period changes in combination with the time when the light having the preset frequency does not appear.
  • the determining module 22 includes:
  • the seventh collecting unit 2214 is configured to collect ambient light intensity.
  • the eighth collecting unit 2215 is configured to collect the reflected infrared light signal information when the ambient light intensity collected by the seventh collecting unit 2214 is less than a preset threshold.
  • the sixth detecting unit 2216 is configured to continuously detect whether the received light has a preset frequency within a fifth period from the time when the eighth collecting unit 2215 collects the infrared light signal information.
  • a sixth determining unit 2217 configured to determine, according to the sixth detecting unit 2216, that the received light has the preset frequency, determine an appearance time of the light having the preset frequency in the fifth time period, according to the The appearance time of the light of the preset frequency determines the change of the infrared light signal.
  • the terminal for answering an incoming call provided by the embodiment of the present invention can determine the action that the user wants to start according to the condition of the optical signal, that is, the user can let the terminal detect the action of the user without directly contacting the terminal, so as to initiate the incoming call response.
  • the function of the present invention can enable the user to activate the call answering function regardless of whether the user can touch the mobile phone, and the user is guaranteed. Normal call.
  • the embodiment further provides an electronic terminal for implementing an incoming call response.
  • the electronic terminal includes a controller 31, a proximity light sensor 32, an ambient light sensor 33, and a memory 34.
  • the memory 34 stores the program.
  • the controller 31 may call the program code to perform the method flow shown in FIG. 1 to FIG. 8.
  • the proximity light sensor 32 and the ambient light sensor 33 are configured to collect optical signal information and transmit the optical signal information to the The controller 31 can communicate with each other through a bus.
  • the proximity light sensor 82 and the ambient light sensor 83 can be used to collect optical signal information and transmit the optical signal information to the controller 31 after receiving the call request.
  • the controller 31 is configured to determine a change of the optical signal according to the optical signal information. Determining whether the change condition meets a preset condition according to a change condition of the optical signal, where the preset condition includes whether there is a reflected infrared light signal, a duration of the reflected infrared light signal, and a change of an intensity of the ambient light signal. At least one of four predetermined conditions of regular, ambient light signal duration over a range of intensities. When the change condition meets the preset condition, the response mode corresponding to the preset condition is started.
  • the proximity light sensor 32 is configured to collect infrared light signal information. During the first period from the acquisition of the infrared light signal information, it is continuously detected whether the received light has a preset frequency, and the preset frequency is the frequency of the reflected infrared light signal.
  • the controller 31 is configured to determine, if the received light has the preset frequency, The occurrence time of the light having the preset frequency in the first time period determines the presence or absence of the change of the infrared light signal in the first time period.
  • the proximity light sensor 32 is configured to collect infrared light signal information.
  • the controller 31 is configured to continuously detect whether the received light has a preset frequency during a second time period from the collection of the infrared light signal information, where the preset frequency is the reflected infrared light signal. Frequency of. Determining an appearance time of the light having the preset frequency in the second time period, and determining the infrared light according to the appearance time of the light of the preset frequency, if the received light has the preset frequency The change in signal.
  • the ambient light sensor 33 is configured to collect the intensity of the ambient light.
  • the controller 31 is configured to determine, according to the collected ambient light intensity, a change in intensity of ambient light during the third time period from a third time period after the ambient light intensity is collected.
  • the ambient light sensor 33 can be used to collect ambient light intensity.
  • the controller 31 is configured to determine, according to the collected ambient light intensity, a duration of the collected ambient light intensity within a certain intensity range, and determine the ambient light according to the duration of the collected ambient light intensity within a certain intensity range. The change in signal.
  • the ambient light sensor 33 is configured to collect ambient light intensity.
  • the proximity light sensor 32 is configured to collect infrared light signal information when the ambient light intensity is less than a preset threshold.
  • the controller 31 is configured to continuously detect whether the received light has a preset frequency within a fourth time period from the acquisition of the infrared light signal information, where the preset frequency is a frequency of the reflected infrared light signal. Determining an appearance time of the light having the preset frequency in the fourth time period, and determining a time when the light having the preset frequency does not appear, if it is determined that the received light has the preset frequency And determining a change of the presence or absence of the infrared light signal in the fourth period of time.
  • the ambient light sensor 33 is configured to collect ambient light intensity.
  • the proximity light sensor 32 is configured to collect reflected infrared light signal information when the ambient light intensity is less than a preset threshold.
  • the controller 31 is configured to continuously detect whether the received light has a preset frequency within a fifth period from the time when the infrared light signal is collected. Determining, when the received light has the preset frequency, determining an appearance time of the light having the preset frequency in the fifth time period, determining the infrared according to the appearance time of the light of the preset frequency The change of the optical signal.
  • the electronic terminal for answering an answer provided by the embodiment of the present invention can determine the action that the user wants to start according to the condition of the optical signal, that is, the user can detect the user's action without directly contacting the terminal, so as to initiate the incoming call.
  • the answering function can be used to enable the user to contact the terminal to activate the incoming call answering function.
  • the embodiment of the present invention can enable the user to activate the call answering function regardless of whether the mobile phone can be touched or not. The normal conversation of the user.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk, etc. includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Abstract

The present invention relates to the field of communications, and discloses a method and terminal for answering an incoming call, thereby solving the problem that a user cannot answer a call because of dirty hands or a mobile phone cannot initiate a corresponding function due to that a user has touched the mobile phone with wet hands. The method of the present invention comprises: upon receiving an incoming call request, collecting light signal information; according to the light signal information, determining changes in the light signal; according to the light signal changes, determining whether the changes meet pre-set requirements; if the changes meet the pre-set requirements, executing an incoming call response command corresponding to the pre-set requirements. The present invention is mainly used during an incoming call response of a terminal device.

Description

一种来电应答的方法及终端Method and terminal for answering an incoming call
本申请要求于2013年10月29日提交中国专利局,申请号为201310522550.5、发明名称为“一种来电应答的方法及终端”的中国专利申请,其全部内容通过引用结合在本申请中。The present application is filed on October 29, 2013, the disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及通信领域,尤其涉及一种来电应答的方法及终端。The present invention relates to the field of communications, and in particular, to a method and terminal for answering an incoming call.
背景技术Background technique
日常生活中,当手机来电时,用户都需要直接触摸手机的实体按键或虚拟功能键来启动接听或拒绝接听等功能。但是,用户往往会因为手脏或者手湿不想用手直接接触手机而导致无法接听手机,或者,因为用户在手脏或者手湿的条件下触摸了手机的采集设备(例如,触摸屏),但是手机不能识别到用户的触摸动作而无法启动接听功能,这些情况都在一定程度上影响了用户的正常通话。In daily life, when a mobile phone calls, the user needs to directly touch the physical button or virtual function button of the mobile phone to start receiving or rejecting the call. However, the user often does not want to answer the mobile phone because the hand is dirty or wet, and does not want to answer the mobile phone directly by hand, or because the user touches the mobile phone's collection device (for example, a touch screen) in the dirty or wet hands, but the mobile phone The user's touch action cannot be recognized and the answer function cannot be activated. These conditions affect the normal call of the user to some extent.
发明内容Summary of the invention
本发明实施例提供一种来电应答的方法及终端,能够解决用户因为手脏无法接听手机或者因为用户手湿接触手机而手机无法启动相应功能的问题。The embodiment of the invention provides a method and a terminal for answering an incoming call, which can solve the problem that the user cannot pick up the mobile phone because the hand is dirty or the mobile phone cannot start the corresponding function because the user wetly touches the mobile phone.
第一方面,本发明实施例提供了一种来电应答的方法,包括:In a first aspect, an embodiment of the present invention provides a method for answering an incoming call, including:
当显示面板处于水平朝上并且静止的状态时,在接收到呼叫请求之后,采集光信号信息;When the display panel is in a horizontally upward state and is in a stationary state, after receiving the call request, the optical signal information is collected;
根据所述光信号信息,确定光信号的变化情况;Determining a change of the optical signal according to the optical signal information;
根据所述光信号的变化情况,判断所述变化情况是否符合预设条件,所述预设条件包括是否有反射的红外光信号、反射的红外光信号的持续时间、环境光信号的强度的变化规律、环境光信号在一定强度范围内的持续时间这四种预设条件中的至少一种;Determining whether the change condition meets a preset condition according to a change condition of the optical signal, where the preset condition includes whether there is a reflected infrared light signal, a duration of the reflected infrared light signal, and a change of an intensity of the ambient light signal. At least one of four predetermined conditions of regular, ambient light signal duration over a range of intensities;
当所述变化情况符合预设条件时,启动所述预设条件对应的应答方式。 When the change condition meets the preset condition, the response mode corresponding to the preset condition is started.
结合第一方面,在第一方面的第一种可能的实现方式中,当所述光信号信息为红外光信号信息时,所述根据所述光信号信息,确定光信号的变化情况包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, when the optical signal information is infrared optical signal information, determining the change of the optical signal according to the optical signal information includes:
采集红外光信号信息;Collecting infrared light signal information;
自采集到所述红外光信号信息起的第一时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率;The first time period from the time when the information of the infrared light signal is collected is continuously detected whether the received light has a preset frequency, and the preset frequency is a frequency of the reflected infrared light signal;
若所述接收到的光线具有所述预设频率,则确定在所述第一时间段内具有所述预设频率的光线的出现时间,确定所述第一时间段内的红外光信号的有无的变化情况。Determining, when the received light has the preset frequency, an appearance time of the light having the preset frequency in the first time period, determining that the infrared light signal in the first time period has No change.
结合第一方面,在第一方面的第二种可能的实现方式中,当所述光信号信息为红外线光信号信息时,所述根据所述光信号信息,确定光信号的变化情况包括:With reference to the first aspect, in a second possible implementation manner of the first aspect, when the optical signal information is infrared optical signal information, determining the change of the optical signal according to the optical signal information includes:
采集红外光信号信息;Collecting infrared light signal information;
自采集到所述红外光信号信息起的第二时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率;During a second period from the acquisition of the infrared light signal information, continuously detecting whether the received light has a preset frequency, and the preset frequency is a frequency of the reflected infrared light signal;
若所述接收到的光线具有所述预设频率,则确定在所述第二时间段内具有所述预设频率的光线的出现时长,根据所述预设频率的光线的出现时长确定红外光信号的变化情况。Determining an appearance time of the light having the preset frequency in the second time period, and determining the infrared light according to the appearance time of the light of the preset frequency, if the received light has the preset frequency The change in signal.
结合第一方面,在第一方面的第三种可能的实现方式中,当所述光信号信息为环境光信号信息时,所述根据所述光信号信息,确定光信号的变化情况包括:With reference to the first aspect, in a third possible implementation manner of the first aspect, when the optical signal information is ambient light signal information, determining the change of the optical signal according to the optical signal information includes:
采集环境光的强度;Collecting the intensity of ambient light;
自采集到环境光强度起的第三时间段内,根据采集到的环境光强度,确定在所述第三时间段内的环境光的强度变化情况。During the third time period from the acquisition of the ambient light intensity, the intensity change of the ambient light during the third time period is determined according to the collected ambient light intensity.
结合第一方面,在第一方面的第四种可能的实现方式中,当所述光信号信息为环境光信号信息时,所述根据所述光信号信息,确定光信号的变化情况包括: With reference to the first aspect, in a fourth possible implementation manner of the first aspect, when the optical signal information is ambient light signal information, determining the change of the optical signal according to the optical signal information includes:
采集环境光强度,并根据采集到的环境光强度,确定采集到的环境光强度在一定强度范围内的持续时间,根据采集到的环境光强度在一定强度范围内的持续时间确定环境光信号的变化情况。Collect ambient light intensity, and determine the duration of the collected ambient light intensity within a certain intensity range according to the collected ambient light intensity, and determine the ambient light signal according to the duration of the collected ambient light intensity within a certain intensity range Changes.
结合第一方面,在第一方面的第五种可能的实现方式中,当所述光信号信息为红外光信号和环境光信号时,所述根据所述光信号信息,确定光信号的变化情况包括:With reference to the first aspect, in a fifth possible implementation manner of the first aspect, when the optical signal information is an infrared light signal and an ambient light signal, determining the change of the optical signal according to the optical signal information include:
采集环境光强度;Collect ambient light intensity;
当环境光强度小于预设的阈值时,采集红外光信号信息;Collecting infrared light signal information when the ambient light intensity is less than a preset threshold;
自采集到红外光信号信息起的第四时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率;During a fourth period from the acquisition of the infrared light signal information, continuously detecting whether the received light has a preset frequency, and the preset frequency is a frequency of the reflected infrared light signal;
若确定接收到的光线具有所述预设频率,则确定在所述第四时间段内具有所述预设频率的光线的出现时间,确定所述第四时间段内的红外光信号的有无的变化情况。Determining, when the received light has the preset frequency, determining an appearance time of the light having the preset frequency in the fourth time period, determining whether the infrared light signal in the fourth time period is present The change.
结合第一方面,在第一方面的第六种可能的实现方式中,当所述光信号信息为红外光信号和环境光信号时,所述根据所述光信号信息,确定光信号的变化情况包括:With reference to the first aspect, in a sixth possible implementation manner of the first aspect, when the optical signal information is an infrared light signal and an ambient light signal, determining the change of the optical signal according to the optical signal information include:
采集环境光强度;Collect ambient light intensity;
当环境光强度小于预设的阈值时,采集反射的红外光信号信息;Collecting reflected infrared light signal information when the ambient light intensity is less than a preset threshold;
自采集到红外光信号信息起的第五时间段内,持续检测接收到的光线是否具有预设频率;During the fifth period from the acquisition of the infrared light signal information, continuously detecting whether the received light has a preset frequency;
若确定接收到的光线具有所述预设频率,则确定在所述第五时间段内具有所述预设频率的光线的出现时长,根据所述预设频率的光线的出现时长确定所述红外光信号的变化情况。Determining, when the received light has the preset frequency, determining an appearance time of the light having the preset frequency in the fifth time period, determining the infrared according to the appearance time of the light of the preset frequency The change of the optical signal.
第二方面,本发明实施例提供了一种来电应答的终端,包括:In a second aspect, an embodiment of the present invention provides a terminal for answering an incoming call, including:
采集模块,用于当显示面板处于水平朝上并且静止的状态时,在接收到呼叫请求之后,采集光信号信息;An acquisition module, configured to collect optical signal information after receiving the call request when the display panel is in a horizontally upward state and a stationary state;
确定模块,用于根据所述采集模块采集到的光信号信息,确定光信号的 变化情况;a determining module, configured to determine an optical signal according to the optical signal information collected by the collecting module Changes;
判断模块,用于根据所述确定模块确定的光信号的变化情况,判断所述变化情况是否符合预设条件,所述预设条件包括是否有反射的红外光信号、反射的红外光信号的持续时间、环境光信号的强度的变化规律、环境光信号在一定强度范围内的持续时间这四种预设条件中的至少一种;a determining module, configured to determine, according to a change of the optical signal determined by the determining module, whether the change condition meets a preset condition, where the preset condition includes whether a reflected infrared light signal or a reflected infrared light signal continues At least one of four preset conditions of time, the variation of the intensity of the ambient light signal, and the duration of the ambient light signal over a range of intensities;
启动模块,用于在所述判断模块确定所述变化情况符合预设条件时,启动所述预设条件对应的应答方式。The startup module is configured to start a response mode corresponding to the preset condition when the determining module determines that the change condition meets a preset condition.
结合第二方面,在第二方面的第一种可能的实现方式中,当所述光信号信息为红外光信号信息时,所述确定模块包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, when the optical signal information is infrared optical signal information, the determining module includes:
第一采集单元,用于采集红外光信号信息;a first collecting unit, configured to collect infrared light signal information;
第一检测单元,用于自第一采集单元采集到所述红外光信号信息起的第一时间段内,持续检测第一采集单元接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率;The first detecting unit is configured to continuously detect whether the light received by the first collecting unit has a preset frequency within a first time period from the first collecting unit to the infrared light signal information, where the preset frequency is The frequency of the reflected infrared light signal;
第一确定单元,用于在所述第一检测单元确定所述接收到的光线具有所述预设频率时,确定在所述第一时间段内具有所述预设频率的光线的出现时间,确定所述第一时间段内的红外光信号的有无的变化情况。a first determining unit, configured to determine, when the first detecting unit determines that the received light has the preset frequency, an appearance time of the light having the preset frequency in the first time period, A determination of the presence or absence of an infrared light signal during the first time period is determined.
结合第二方面,在第二方面的第二种可能的实现方式中,当所述光信号信息为红外线光信号信息时,所述确定模块包括:With reference to the second aspect, in a second possible implementation manner of the second aspect, when the optical signal information is infrared optical signal information, the determining module includes:
第二采集单元,用于采集红外光信号信息;a second collecting unit, configured to collect infrared light signal information;
第二检测单元,用于自第二采集单元采集到所述红外光信号信息起的第二时间段内,持续检测第二采集单元接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率;a second detecting unit, configured to continuously detect, in a second period from the second collecting unit, that the light received by the second collecting unit has a preset frequency, where the preset frequency is The frequency of the reflected infrared light signal;
第二确定单元,用于在所述第二检测单元确定所述接收到的光线具有所述预设频率时,确定在所述第二时间段内具有所述预设频率的光线的出现时长,根据所述预设频率的光线的出现时长确定红外光信号的变化情况。a second determining unit, configured to determine, when the second detecting unit determines that the received light has the preset frequency, an appearance time of the light having the preset frequency in the second time period, Determining the change of the infrared light signal according to the appearance time of the light of the preset frequency.
结合第二方面,在第二方面的第三种可能的实现方式中,当所述光信号信息为环境光信号信息时,所述确定模块包括: With reference to the second aspect, in a third possible implementation manner of the second aspect, when the optical signal information is the ambient light signal information, the determining module includes:
第三采集单元,用于采集环境光的强度;a third collecting unit for collecting the intensity of ambient light;
第三确定单元,用于自第三采集单元采集到环境光强度起的第三时间段内,根据采集到的环境光强度,确定在所述第三时间段内的环境光的强度变化情况。The third determining unit is configured to determine, according to the collected ambient light intensity, a change in the intensity of the ambient light in the third time period from a third time period after the third collecting unit collects the ambient light intensity.
结合第二方面,在第二方面的第四种可能的实现方式中,当所述光信号信息为环境光信号信息时,所述确定模块包括:With reference to the second aspect, in a fourth possible implementation manner of the second aspect, when the optical signal information is the ambient light signal information, the determining module includes:
第四采集单元,用于采集环境光强度;a fourth collecting unit, configured to collect ambient light intensity;
第四确定单元,用于根据所述第四采集单元采集到的环境光强度,确定采集到的环境光强度在一定强度范围内的持续时间,根据采集到的环境光强度在一定强度范围内的持续时间确定环境光信号的变化情况。a fourth determining unit, configured to determine, according to the ambient light intensity collected by the fourth collecting unit, a duration of the collected ambient light intensity within a certain intensity range, according to the collected ambient light intensity within a certain intensity range The duration determines the change in the ambient light signal.
结合第二方面,在第二方面的第五种可能的实现方式中,当所述光信号信息为红外光信号和环境光信号时,所述确定模块包括:With reference to the second aspect, in a fifth possible implementation manner of the second aspect, when the optical signal information is an infrared light signal and an ambient light signal, the determining module includes:
第五采集单元,用于采集环境光强度;a fifth collecting unit for collecting ambient light intensity;
第六采集单元,用于在所述第五采集单元采集的环境光强度小于预设的阈值时,采集红外光信号信息;a sixth collecting unit, configured to collect infrared light signal information when the ambient light intensity collected by the fifth collecting unit is less than a preset threshold;
第五检测单元,用于自第六采集单元采集到红外光信号信息起的第四时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率;a fifth detecting unit, configured to continuously detect, in a fourth period from the sixth collecting unit, that the received light has a preset frequency, where the preset frequency is the reflected infrared light The frequency of the signal;
第五确定单元,用于在所述第五检测单元确定接收到的光线具有所述预设频率,则确定在所述第四时间段内具有所述预设频率的光线的出现时间,确定所述第四时间段内的红外光信号的有无的变化情况。a fifth determining unit, configured to determine, at the fifth detecting unit, that the received light has the preset frequency, determine an appearance time of the light having the preset frequency in the fourth time period, and determine The presence or absence of changes in the infrared light signal during the fourth time period.
结合第二方面,在第二方面的第六种可能的实现方式中,当所述光信号信息为红外光信号和环境光信号时,所述确定模块包括:With reference to the second aspect, in a sixth possible implementation manner of the second aspect, when the optical signal information is an infrared light signal and an ambient light signal, the determining module includes:
第七采集单元,用于采集环境光强度;a seventh collecting unit for collecting ambient light intensity;
第八采集单元,用于在第七采集单元采集到的环境光强度小于预设的阈值时,采集反射的红外光信号信息;The eighth collecting unit is configured to collect the reflected infrared light signal information when the ambient light intensity collected by the seventh collecting unit is less than a preset threshold;
第六检测单元,用于自第八采集单元采集到红外光信号信息起的第五时 间段内,持续检测接收到的光线是否具有预设频率;a sixth detecting unit, configured to receive the fifth time from the information of the infrared light signal from the eighth collecting unit In the interval, continuously detecting whether the received light has a preset frequency;
第六确定单元,用于在第六检测单元确定接收到的光线具有所述预设频率,则确定在所述第五时间段内具有所述预设频率的光线的出现时长,根据所述预设频率的光线的出现时长确定所述红外光信号的变化情况。a sixth determining unit, configured to determine, in the sixth detecting unit, that the received light has the preset frequency, determine an appearance time of the light having the preset frequency in the fifth time period, according to the The appearance time of the light of the frequency determines the change of the infrared light signal.
本发明实施例提供的来电应答的方法及终端,能够根据光信号的情况来确定用户想要启动的动作,也就是说,用户可以不用直接接触终端就可以让终端检测到用户的动作,以启动相应的功能,相比于现有技术中要让用户接触终端才能启动终端来电应答的功能的技术方案来说,本发明实施例可以让用户无论能不能接触到手机都可以启动来电应答的功能,保证了用户的正常通话。The method and terminal for answering an incoming call provided by the embodiment of the present invention can determine the action that the user wants to start according to the condition of the optical signal, that is, the user can enable the terminal to detect the action of the user without directly contacting the terminal, so as to start The corresponding function, compared with the technical solution in the prior art that allows the user to contact the terminal to initiate the function of the terminal call answering, the embodiment of the invention can enable the user to activate the call answering function regardless of whether the mobile phone can be touched. The normal call of the user is guaranteed.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例提供的一种来电应答的方法流程图;FIG. 1 is a flowchart of a method for answering an incoming call according to an embodiment of the present invention;
图2为本发明实施例提供的另一种来电应答的方法流程图;2 is a flowchart of another method for answering an incoming call according to an embodiment of the present invention;
图3为本发明实施例提供的一种来电应答操作手势的示意图;3 is a schematic diagram of an incoming call response operation gesture according to an embodiment of the present invention;
图4为本发明实施例提供的另一种来电应答的方法流程图;4 is a flowchart of another method for answering an incoming call according to an embodiment of the present invention;
图5为本发明实施例提供的另一种来电应答操作手势的示意图;FIG. 5 is a schematic diagram of another call answering operation gesture according to an embodiment of the present invention; FIG.
图6为本发明实施例提供的另一种来电应答的方法流程图;FIG. 6 is a flowchart of another method for answering an incoming call according to an embodiment of the present invention;
图7为本发明实施例提供的另一种来电应答的方法流程图;FIG. 7 is a flowchart of another method for answering an incoming call according to an embodiment of the present invention;
图8为本发明实施例提供的另一种来电应答的方法流程图;FIG. 8 is a flowchart of another method for answering an incoming call according to an embodiment of the present invention;
图9为本发明实施例提供的一种来电应答的终端的示意性框图;FIG. 9 is a schematic block diagram of a call answering terminal according to an embodiment of the present invention;
图10为本发明实施例提供的另一种来电应答的终端的示意性框图;FIG. 10 is a schematic block diagram of another call answering terminal according to an embodiment of the present invention;
图11为本发明实施例提供的另一种来电应答的终端的示意性框图; FIG. 11 is a schematic block diagram of another call answering terminal according to an embodiment of the present invention;
图12为本发明实施例提供的另一种来电应答的终端的示意性框图;FIG. 12 is a schematic block diagram of another call answering terminal according to an embodiment of the present invention;
图13为本发明实施例提供的另一种来电应答的终端的示意性框图;FIG. 13 is a schematic block diagram of another call answering terminal according to an embodiment of the present invention;
图14为本发明实施例提供的另一种来电应答的终端的示意性框图;FIG. 14 is a schematic block diagram of another call answering terminal according to an embodiment of the present invention;
图15为本发明实施例提供的另一种来电应答的终端的示意性框图;FIG. 15 is a schematic block diagram of another call answering terminal according to an embodiment of the present invention;
图16为本发明实施例提供的一种用于实现来电应答的电子终端的示意性框图。FIG. 16 is a schematic block diagram of an electronic terminal for implementing an incoming call response according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本实施例中的附图,对本实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the present embodiment will be clearly and completely described in the following with reference to the drawings in the embodiments. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种来电应答的处理方法,可应用于具有通信功能的电子终端,例如智能手机、平板电脑或者其他通信电子产品,这些电子终端需要设置有接近光传感器、环境光传感器和加速度传感器中的至少一种。终端还可以设置用于处理各个传感器采集到的信息的控制器。Embodiments of the present invention provide a method for processing an incoming call response, which can be applied to an electronic terminal having a communication function, such as a smart phone, a tablet computer, or other communication electronic products, where the electronic terminal needs to be provided with a proximity light sensor, an ambient light sensor, and At least one of the acceleration sensors. The terminal can also set up a controller for processing the information collected by each sensor.
所述接近光传感器可以发射红外光,并通过终端设备显示面板上的属于所述接近光传感器的开孔采集反射的红外光信息,并将采集到红外光的信息发送给控制器;The proximity light sensor may emit infrared light, and collect reflected infrared light information through an opening of the terminal device that belongs to the proximity light sensor, and send information of the collected infrared light to the controller;
所述环境光传感器可以采集环境光信号信息的光强度,读取光强度值并将采集到的光强度值发送给控制器;The ambient light sensor can collect the light intensity of the ambient light signal information, read the light intensity value, and send the collected light intensity value to the controller;
所述加速度传感器可以采集终端重力加速度信息,并将终端的重力加速度信息发送给控制器。The acceleration sensor can collect the gravity acceleration information of the terminal, and send the gravity acceleration information of the terminal to the controller.
实施例一Embodiment 1
基于上述电子终端,结合内置的传感器和控制器,本发明实施例提供的来电应答的方法的实现流程如图1所示,包括: Based on the above-mentioned electronic terminal, combined with the built-in sensor and controller, the implementation process of the method for answering an incoming call provided by the embodiment of the present invention is as shown in FIG. 1 , and includes:
101、当显示面板处于水平朝上并且静止的状态,在接收到呼叫请求之后,采集光信号信息。101. When the display panel is in a horizontally upward state and is in a stationary state, after receiving the call request, the optical signal information is collected.
其中,本发明实施例提供的显示面板的姿态主要是考虑通常人在使用手机等电子终端时的常用放置习惯。The posture of the display panel provided by the embodiment of the present invention is mainly a common placement habit when an ordinary person uses an electronic terminal such as a mobile phone.
有关显示面板的姿态的确定可以通过电子终端中的加速度传感器来实现,加速度传感器一般会以显示面板的横向为X轴,以显示面板的纵向为Y轴,以垂直于显示面板的方向为Z轴,来建立一个立体坐标系。当终端上的X轴的重力加速度为0,Y轴的重力加速度为0,Z轴上的重力加速度为g时,终端的显示面板处于水平朝上位置;当终端上的X轴的重力加速度为a,Y轴上的重力加速度为b,Z轴上的重力加速度为c,其中a≠0,b≠0、c<g,终端的显示面板并非处于水平朝上位置,由此来判断终端的显示面板是否水平朝上;当终端处于运动状态时,终端的显示面板上的三个坐标轴上的重力加速度会处于不断变化中,只有当终端处于静止状态时,X轴的重力加速度a为0,Y轴上的重力加速度b为0、Z轴上的重力加速度c为g,由此来判断终端是否处于静止状态。其它姿态的判断方式可以基于此进行类推设置,本发明对此不再过多描述。The determination of the posture of the display panel can be realized by an acceleration sensor in the electronic terminal. The acceleration sensor generally has an X axis in the lateral direction of the display panel, a Y axis in the longitudinal direction of the display panel, and a Z axis in a direction perpendicular to the display panel. To create a stereo coordinate system. When the gravitational acceleration of the X-axis on the terminal is 0, the gravitational acceleration of the Y-axis is 0, and the gravitational acceleration on the Z-axis is g, the display panel of the terminal is in a horizontally upward position; when the gravitational acceleration of the X-axis on the terminal is a, the gravitational acceleration on the Y-axis is b, and the gravitational acceleration on the Z-axis is c, where a≠0, b≠0, c<g, and the display panel of the terminal is not in a horizontally upward position, thereby judging the terminal Whether the display panel is horizontally facing upwards; when the terminal is in motion, the gravitational acceleration on the three coordinate axes on the display panel of the terminal is constantly changing, and only when the terminal is in a stationary state, the gravity acceleration a of the X-axis is 0. The gravitational acceleration b on the Y-axis is 0, and the gravitational acceleration c on the Z-axis is g, thereby judging whether the terminal is in a stationary state. The manner in which other gestures are judged can be set based on this analogy, and the present invention will not be described too much.
另外,基于本发明实施例所使用的电子终端来说,光信号信息可包括红外光信号和环境光信号两种中的至少一种。In addition, based on the electronic terminal used in the embodiment of the present invention, the optical signal information may include at least one of an infrared light signal and an ambient light signal.
102、根据所述光信号信息,确定光信号的变化情况。102. Determine, according to the optical signal information, a change of the optical signal.
对于红外光信号来说,光信号信息一般可包括具有预设频率或波长的红外信号,可以根据光信号的有无,和/或采集到的具有预设频率或波长的红外信号的持续时间来确定光信号的变化情况。For infrared light signals, the optical signal information may generally include an infrared signal having a preset frequency or wavelength, which may be based on the presence or absence of the optical signal, and/or the duration of the acquired infrared signal having a predetermined frequency or wavelength. Determine the change in the optical signal.
对于环境光信号来说,光信号信息一般可包括环境光强度,可以根据环境光在不同强度下的持续时间来确定光信号的变化情况。For ambient light signals, the optical signal information may generally include ambient light intensity, and the change in the optical signal may be determined based on the duration of the ambient light at different intensities.
103、根据所述光信号的变化情况,判断所述变化情况是否符合预设条件。103. Determine, according to the change of the optical signal, whether the change condition meets a preset condition.
其中,所述预设条件包括是否有反射的红外光信号、反射的红外光信号的持续时间、环境光信号的强度的变化规律、环境光信号在一定强度范围内 的持续时间这四种预设条件中的至少一种。The preset condition includes whether there is a reflected infrared light signal, a duration of the reflected infrared light signal, a variation law of the intensity of the ambient light signal, and the ambient light signal is within a certain intensity range. The duration of at least one of these four preset conditions.
其中,反射的红外光信号为由接近光传感器发射并由人手或类似于人的肢体的遮蔽物反射回来的红外光信号。Wherein, the reflected infrared light signal is an infrared light signal that is emitted by the proximity light sensor and reflected back by a human hand or a mask similar to a human limb.
其中,红外光信号的持续时间、一定强度范围以及环境光信号在一定强度范围内的持续时间可以根据用户的需求自行调整和另行设置的。Among them, the duration of the infrared light signal, a certain intensity range and the duration of the ambient light signal within a certain intensity range can be adjusted and set separately according to the needs of the user.
104、当所述变化情况符合预设条件时,启动所述预设条件对应的应答方式。104. When the change condition meets a preset condition, start a response mode corresponding to the preset condition.
在本发明实施例中,应答方式可以为用户在使用如手机等电子终端答复语音呼叫业务时的应答方式,例如,拒接接听、接听、免提等。In the embodiment of the present invention, the response mode may be a response mode when the user responds to the voice call service by using an electronic terminal such as a mobile phone, for example, rejecting the answer, answering, and hands-free.
本实施例提供的来电应答的处理方法,能够根据光信号的情况来确定用户想要启动的动作,也就是说,用户可以不用直接接触终端就可以让终端检测到用户的动作,以启动与预设条件对应的应答方式,相比于现有技术中用户要接触终端才能启动来电应答功能的技术方案来说,能够让用户在不接触到手机就可以启动来电应答的功能,保证了用户的正常通话。The method for processing the incoming call response provided by the embodiment can determine the action that the user wants to start according to the condition of the optical signal, that is, the user can detect the user's action without directly contacting the terminal, so as to start and pre-empt The response mode corresponding to the condition is compared with the technical solution that the user needs to contact the terminal to activate the call answering function in the prior art, so that the user can activate the call answering function without contacting the mobile phone, thereby ensuring the normal operation of the user. call.
下面以红外光信号和环境光信号为例,对步骤102进行阐述。如图2所示的方法流程针对红外光信号来实现,具体包括:The following takes the infrared light signal and the ambient light signal as an example to describe step 102. The method flow shown in FIG. 2 is implemented for an infrared light signal, and specifically includes:
A1021、沿预设方向发射红外光,并采集红外光信号信息。A1021. The infrared light is emitted along a preset direction, and the infrared light signal information is collected.
其中,预设方向为红外线传感器的发射红外光所使用的方向,一般为与显示平面垂直。The preset direction is a direction in which the infrared sensor emits infrared light, and is generally perpendicular to the display plane.
A1022、自采集到所述红外光信号信息起的第一时间段内,持续检测接收到的光线是否具有预设频率。A1022: continuously detecting whether the received light has a preset frequency in a first period from the time when the infrared light signal information is collected.
其中,所述预设频率为所述反射的红外光信号的频率,也就是由接近光传感器发射出去的红外光的频率。Wherein, the preset frequency is a frequency of the reflected infrared light signal, that is, a frequency of infrared light emitted by the proximity photosensor.
其中,第一时间段可以为固定值,在本发明实施例中也可以按照来电振铃时间来决定。The first time period may be a fixed value, and may also be determined according to the ringing time of the incoming call in the embodiment of the present invention.
A1023、若所述接收到的光线具有所述预设频率,则确定在所述第一时间段内具有所述预设频率的光线的出现时间,确定所述第一时间段内的红外光 信号的有无的变化情况。A1023. If the received light has the preset frequency, determine an appearance time of the light having the preset frequency in the first time period, and determine infrared light in the first time period. The presence or absence of a change in the signal.
其中,在第一时间段内的出现时间指的是在第一时间段内具有所述预设频率的光线每次出现的时间段。The appearance time in the first time period refers to a time period in which the light having the preset frequency appears every time in the first time period.
由于前面提供的预设条件可以包括是否有反射的红外光信号,因此,在第一时间段内,可以根据红外光信号的有无的变化情况设置对应的应答方式,例如,若启动采集光信号信息后3s内没有检测到具有预设频率的光线,则对应的应答方式可以是拒绝接听电话;若3s内,检测到的红外光信号从无到有,再从有变成无,即在3s内出现过一次反射的红外线信号,则在本实施例中可认定为有人手在屏幕上划过,具体手势如图3所示,则对应的应答方式可以是接听电话。当然,根据不同的手势动作推断出不同的红外光有无情况,进而设置出的相应预设条件都可以应用在本发明实施例中,本发明对此不再一一列举。Since the preset condition provided above may include whether there is a reflected infrared light signal, in the first time period, the corresponding response mode may be set according to the presence or absence of the infrared light signal, for example, if the collected light signal is started. If the light with the preset frequency is not detected within 3s after the information, the corresponding response mode may be to reject the call; if within 3 seconds, the detected infrared light signal is changed from nothing to nothing, that is, in 3s In the embodiment, the reflected infrared signal can be recognized as a human hand on the screen. The specific gesture is as shown in FIG. 3, and the corresponding response mode can be the answering call. Certainly, the different preset conditions of the infrared light can be inferred according to different gestures, and the corresponding preset conditions can be applied to the embodiments of the present invention, which are not enumerated in the present invention.
本实现方式旨在通过用户的手势动作来启动相应的应答方式,为用户提供较为灵活的操作方式。The implementation manner is intended to activate a corresponding response mode by using a gesture action of the user, thereby providing a more flexible operation mode for the user.
如图4所示的方法流程针对红外光信号来实现,具体包括:The method flow shown in FIG. 4 is implemented for an infrared light signal, and specifically includes:
B1021、沿预设方向发射红外光,并采集红外光信号信息。B1021. Infrared light is emitted along a preset direction, and infrared light signal information is collected.
B1022、自采集到所述红外光信号信息起的第二时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率。B1022: Continuously detecting whether the received light has a preset frequency in a second period from the collection of the infrared light signal information, wherein the preset frequency is a frequency of the reflected infrared light signal.
其中,第二时间段与第一时间段,以及后续部分会提及的第三时间段、第四时间段都是一样的设置方式,可以由用户设置,也可以在出厂前设置,本发明实施例对此不再赘述。Wherein, the second time period and the first time period, and the third time period and the fourth time period mentioned in the subsequent part are the same setting manner, which may be set by the user or may be set before leaving the factory, and the invention is implemented. This will not be repeated here.
B1023、若所述接收到的光线具有所述预设频率,则确定在所述第二时间段内具有所述预设频率的光线的出现时长,根据所述预设频率的光线的出现时长确定红外光信号的变化情况。B1023, if the received light has the preset frequency, determining an appearance time of the light having the preset frequency in the second time period, and determining an appearance time of the light according to the preset frequency The change of infrared light signal.
其中,在所述第二时间段内的出现时长与之前描述的出现时间并不相同,此处描述是指在第二时间段内每次出现的持续时长。Wherein, the appearance duration in the second time period is different from the previously described appearance time, and the description herein refers to the duration of each occurrence in the second time period.
由于前面提供的预设条件可以包括红外光信号的持续时间,因此,第二 时间段内的红外光信号的持续时长的不同是可以相应设置对应的应答方式的,例如,若启动采集光信号信息后3s内没有检测到具有预设频率的光线,则对应的应答方式可以是拒绝接听电话;若3s内,检测到的红外光信号持续了2s,则在本实施例中可认定为有人手或类似于人的肢体在屏幕上停留,具体手势如图5所示,则对应的应答方式可以是接听电话。当然,根据不同的停滞时间推断出不同的红外光接收情况,进而设置出的相应预设条件都可以应用在本发明实施例中,本发明对此不再一一列举。Since the preset condition provided above may include the duration of the infrared light signal, therefore, the second The duration of the infrared light signal in the time period is different, and the corresponding response mode can be set correspondingly. For example, if the light having the preset frequency is not detected within 3 seconds after the information of the collected optical signal is started, the corresponding response mode may be Refuse to answer the call; if the detected infrared light signal lasts for 2 s in 3 s, in this embodiment, it can be determined that a human hand or a limb similar to a person stays on the screen. The specific gesture is as shown in FIG. The answer can be to answer the call. Certainly, the different infrared light receiving conditions are inferred according to different stagnation times, and the corresponding preset conditions are set to be applied in the embodiments of the present invention, which are not enumerated in the present invention.
本实现方式旨在通过用户的停滞动作来启动相应的应答方式,为用户提供较为方便和稳定的操作方式。The implementation mode is intended to initiate a corresponding response mode by the user's stagnation action, thereby providing a more convenient and stable operation mode for the user.
以上如图4和图5所示的分别对应于预设条件是否有反射的红外光信号、反射的红外光信号的持续时间来确定光信号的变化情况,这些预设条件除了独立使用外,也可以结合到一起来判断用户想要启用的应答方式,例如,若启动采集光信号信息后3s内没有检测到具有预设频率的光线,则对应的应答方式可以是拒绝接听电话;若3s内,检测到的红外光信号从无到有,再从有变成无,并且检测到的红外光信号持续了2s,即在3s内出现过一次持续时间为2s反射的红外线信号,则在本实施例中可认定为有人手在屏幕上划过,对应的应答方式可以是接听电话。The changes of the optical signals are determined according to the durations of the reflected infrared light signals and the reflected infrared light signals respectively corresponding to the preset conditions as shown in FIG. 4 and FIG. 5, and the preset conditions are used independently. Can be combined to determine the response mode that the user wants to enable. For example, if the light with the preset frequency is not detected within 3s after starting the collection of the optical signal information, the corresponding response mode may be to reject the call; if within 3s, The detected infrared light signal changes from nothing to nothing, and the detected infrared light signal continues for 2 s, that is, an infrared signal having a duration of 2 s reflection occurs within 3 s, in this embodiment It can be considered that someone has crossed the screen, and the corresponding answering method can be to answer the call.
如图6所示的方法流程针对环境光信号来实现,具体包括:The method flow shown in FIG. 6 is implemented for an ambient light signal, and specifically includes:
C1021、采集环境光的强度。C1021. The intensity of ambient light is collected.
C1022、自采集到环境光强度起的第三时间段内,根据采集到的环境光强度,确定在所述第三时间段内的环境光的强度变化情况。C1022: Determine, during a third time period from the ambient light intensity, the intensity change of the ambient light in the third time period according to the collected ambient light intensity.
其中,光强度一般以lux为单位表示。Among them, the light intensity is generally expressed in units of lux.
由于前面提供的预设条件可以包括环境光信号的强度的变化规律,因此,第三时间段内的环境光信号的强弱变化的不同是可以相应设置对应的应答方式的,例如,若启动采集光信号信息后3s内没有检测到任何环境光强度的,则对应的应答方式可以是拒绝接听电话;若3s内,检测到的环境光强度由强变弱,再由弱变强,则在本实施例中可认定为有人手或类似于人的肢体在屏 幕上停留,具体手势同样如图3所示,则对应的应答方式可以是接听电话。当然,根据不同的手势动作推断出不同的环境光强度的变化情况,进而设置出的相应预设条件都可以应用在本发明实施例中,本发明对此不再一一列举。Since the preset condition provided in the foregoing may include a variation law of the intensity of the ambient light signal, the difference in the intensity change of the ambient light signal in the third time period may be correspondingly set corresponding to the response mode, for example, if the acquisition is started. If no ambient light intensity is detected within 3 seconds after the optical signal information, the corresponding response mode may be to refuse to answer the call; if the detected ambient light intensity is weakened from strong to strong within 3 seconds, then In the embodiment, it can be considered that a human hand or a human-like limb is on the screen. On-screen stay, the specific gesture is also shown in Figure 3, the corresponding answer mode can be to answer the phone. Certainly, the different presets of the ambient light intensity can be inferred according to different gestures, and the corresponding preset conditions can be applied to the embodiments of the present invention, which are not enumerated in the present invention.
本实现方式旨在通过用户的手势动作来启动相应的应答方式,为用户提供较为灵活的操作方式。The implementation manner is intended to activate a corresponding response mode by using a gesture action of the user, thereby providing a more flexible operation mode for the user.
如图7所示的方法流程针对环境光信号来实现,具体包括:The method flow shown in FIG. 7 is implemented for an ambient light signal, and specifically includes:
D1021、采集环境光强度。D1021. Collect ambient light intensity.
D1022、根据采集到的环境光强度,确定采集到的环境光强度在一定强度范围内的持续时间,根据采集到的环境光强度在一定强度范围内的持续时间确定环境光信号的变化情况。D1022: Determine, according to the collected ambient light intensity, a duration of the collected ambient light intensity within a certain intensity range, and determine a change of the ambient light signal according to the duration of the collected ambient light intensity within a certain intensity range.
其中,一定强度范围与预设条件内使用的预设强度范围的设定可以是一致的。Wherein, the setting of the certain intensity range and the preset intensity range used in the preset condition may be consistent.
由于前面提供的预设条件可以包括环境光信号在一定强度范围内的持续时间,因此,第四时间段内的环境光信号的在一定强度范围内的持续时长的不同是可以相应设置对应的应答方式的,例如,若启动采集光信号信息后3s内没有检测到任何光强度的变化,则对应的应答方式可以是拒绝接听电话;若3s内,检测到的环境光强度在低于100lux的范围内持续了2s,则在本实施例中可认定为有人手与类似于人的肢体在屏幕上停留,具体手势可以如图5所示,则对应的应答方式可以是接听电话。当然,根据不同的停滞时间推断出不同的环境光强弱变化情况,进而设置出的相应预设条件都可以应用在本发明实施例中,本发明对此不再一一列举。Since the preset condition provided above may include the duration of the ambient light signal within a certain intensity range, the difference in the duration of the ambient light signal in the fourth intensity period within a certain intensity range may correspondingly set the corresponding response. In the mode, for example, if no change of light intensity is detected within 3 seconds after the information of the collected optical signal is started, the corresponding response mode may be to reject the answering call; if within 3 seconds, the detected ambient light intensity is below 100 lux. In the embodiment, it can be determined that the human hand and the limb similar to the person stay on the screen. The specific gesture can be as shown in FIG. 5, and the corresponding response mode can be the answering call. Certainly, different ambient light intensity changes can be inferred according to different stagnation times, and the corresponding preset conditions can be applied to the embodiments of the present invention, which are not enumerated in the present invention.
本实现方式旨在通过用户的停滞动作来启动相应的应答方式,为用户提供较为灵活的操作方式。This implementation mode aims to activate the corresponding response mode by the user's stagnation action, and provides a more flexible operation mode for the user.
与红外线信号采集的方法流程及预设条件的判决方法类似,环境光的多个预设条件同样可以结合使用,相应的信号采集方法也可以结合使用。具体结合方法可参照红外光信号部分的描述,在此不多做描述。Similar to the method flow of the infrared signal acquisition method and the decision method of the preset condition, a plurality of preset conditions of the ambient light can also be used in combination, and the corresponding signal acquisition methods can also be combined. The specific combination method can refer to the description of the infrared light signal portion, and will not be described here.
另外,针对场景外界光强不稳定的情况下环境光传感器可能出现的不能 识别或识别不准的情况出现,本发明实施例对于步骤102的实现还提供了具体的实现方式,如图8所示,包括:In addition, the ambient light sensor may not appear in the case where the ambient light intensity is unstable. The present invention provides a specific implementation manner for the implementation of the step 102, as shown in FIG.
E1021、采集环境光强度。当环境光强度小于预设的阈值时,则执行步骤E1022至E1024;否则执行步骤C1021至C2022,或执行步骤D1021至D1022。E1021. Collect ambient light intensity. When the ambient light intensity is less than the preset threshold, steps E1022 to E1024 are performed; otherwise, steps C1021 to C2022 are performed, or steps D1021 to D1022 are performed.
其中,在本发明的实施例中,此处描述的阈值范围与前述描述的各类阈值均不相同,该阈值范围仅用于区分当前场景的环境光强度是否足够支持环境光传感器进行动作识别。In the embodiment of the present invention, the threshold range described herein is different from the foregoing various thresholds, and the threshold range is only used to distinguish whether the ambient light intensity of the current scene is sufficient to support the ambient light sensor for motion recognition.
E1022、采集红外光信号信息。E1022, collecting infrared light signal information.
E1023、自采集到红外光信号信息起的第四时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率。E1023: Continuously detecting whether the received light has a preset frequency in a fourth period from the time of collecting the information of the infrared light signal, wherein the preset frequency is a frequency of the reflected infrared light signal.
E1024、若确定接收到的光线具有所述预设频率,则确定在所述第四时间段内具有所述预设频率的光线的出现时间,确定所述第四时间段内的红外光信号的有无的变化情况。E1024. If it is determined that the received light has the preset frequency, determine an appearance time of the light having the preset frequency in the fourth time period, and determine an infrared light signal in the fourth time period. There are no changes.
步骤E1022至E1024的实现与步骤A1021至A1023的实现可以是一致的,本发明实施例对此不再赘述。The implementation of the steps E1022 to E1024 may be consistent with the implementation of the steps A1021 to A1023, and details are not described herein again.
本实现方式在于环境光始终处于比较强的情况下,人的肢体遮挡显示面板而导致的光强变化,才能够让环境光传感器准确地捕捉到。而在环境光始终处于比较弱的情况下,就只能让接近光传感器来实现动作捕捉的任务。当然,也可以直接使用接近光传感器而不考虑外界环境光强。The present implementation method is that when the ambient light is always relatively strong, the light intensity change caused by the human body blocking the display panel enables the ambient light sensor to accurately capture. However, when the ambient light is always weak, it is only possible to let the light sensor approach the task of motion capture. Of course, it is also possible to directly use the proximity light sensor regardless of the ambient light intensity.
另外,步骤E1022至E1024也可以使用步骤B1021至B1023进行替换。In addition, steps E1022 to E1024 can also be replaced using steps B1021 to B1023.
本实施例还提供了一种来电应答的终端,可用于实现前述方法流程,如图9所示,所述终端包括:The embodiment further provides a call answering terminal, which can be used to implement the foregoing method flow. As shown in FIG. 9, the terminal includes:
采集模块21,用于当显示面板处于水平朝上并且静止的状态时,在接收到呼叫请求之后,采集光信号信息。The acquisition module 21 is configured to collect optical signal information after receiving the call request when the display panel is in a horizontally upward state and a stationary state.
确定模块22,用于根据所述采集模块21采集到的光信号信息,确定光信号的变化情况。The determining module 22 is configured to determine, according to the optical signal information collected by the collecting module 21, a change of the optical signal.
判断模块23,用于根据所述确定模块22确定的光信号的变化情况,判断 所述变化情况是否符合预设条件,所述预设条件包括是否有反射的红外光信号、反射的红外光信号的持续时间、环境光信号的强度的变化规律、环境光信号在一定强度范围内的持续时间这四种预设条件中的至少一种。The determining module 23 is configured to determine, according to the change of the optical signal determined by the determining module 22 Whether the change condition meets a preset condition, whether the reflected infrared light signal, the duration of the reflected infrared light signal, the intensity of the ambient light signal, and the ambient light signal are within a certain intensity range The duration of at least one of these four preset conditions.
启动模块24,用于在所述判断模块23确定所述变化情况符合预设条件时,启动所述预设条件对应的应答方式。The startup module 24 is configured to start a response mode corresponding to the preset condition when the determining module 23 determines that the change condition meets a preset condition.
可选的是,如图10所示,当所述光信号信息为红外光信号信息时,所述确定模块22包括:Optionally, as shown in FIG. 10, when the optical signal information is infrared optical signal information, the determining module 22 includes:
第一采集单元221,用于采集红外光信号信息。The first collecting unit 221 is configured to collect infrared light signal information.
第一检测单元222,用于自第一采集单元221采集到所述红外光信号信息起的第一时间段内,持续检测第一采集单元221接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率。The first detecting unit 222 is configured to continuously detect whether the light received by the first collecting unit 221 has a preset frequency in a first period from the first collecting unit 221 to the infrared light signal information, Let the frequency be the frequency of the reflected infrared light signal.
第一确定单元223,用于在所述第一检测单元222确定所述接收到的光线具有所述预设频率时,确定在所述第一时间段内具有所述预设频率的光线的出现时间,确定所述第一时间段内的红外光信号的有无的变化情况。a first determining unit 223, configured to determine, when the first detecting unit 222 determines that the received light has the preset frequency, the occurrence of light having the preset frequency in the first time period Time, determining the presence or absence of changes in the infrared light signal during the first time period.
可选的是,如图11所示,当所述光信号信息为红外线光信号信息时,所述确定模块22包括:Optionally, as shown in FIG. 11, when the optical signal information is infrared optical signal information, the determining module 22 includes:
第二采集单元224,用于采集红外光信号信息。The second collecting unit 224 is configured to collect infrared light signal information.
第二检测单元225,用于自第二采集单元224采集到所述红外光信号信息起的第二时间段内,持续检测第二采集单元224接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率。The second detecting unit 225 is configured to continuously detect whether the light received by the second collecting unit 224 has a preset frequency in a second time period from the second collecting unit 224 collecting the infrared light signal information, where the preset Let the frequency be the frequency of the reflected infrared light signal.
第二确定单元225,用于在所述第二检测单元225确定所述接收到的光线具有所述预设频率时,确定在所述第二时间段内具有所述预设频率的光线的出现时长,根据所述预设频率的光线的出现时长确定红外光信号的变化情况。a second determining unit 225, configured to determine, when the second detecting unit 225 determines that the received light has the preset frequency, the occurrence of light having the preset frequency in the second time period The duration determines the change of the infrared light signal according to the appearance time of the light of the preset frequency.
可选的是,如图12所示,当所述光信号信息为环境光信号信息时,所述确定模块22包括:Optionally, as shown in FIG. 12, when the optical signal information is ambient optical signal information, the determining module 22 includes:
第三采集单元226,用于采集环境光的强度。The third collecting unit 226 is configured to collect the intensity of the ambient light.
第三确定单元227,用于自第三采集单元226采集到环境光强度起的第三 时间段内,根据采集到的环境光强度,确定在所述第三时间段内的环境光的强度变化情况。The third determining unit 227 is configured to collect the third from the third collecting unit 226 to the ambient light intensity. During the time period, the intensity change of the ambient light during the third time period is determined according to the collected ambient light intensity.
可选的是,如图13所示,当所述光信号信息为环境光信号信息时,所述确定模块22包括:Optionally, as shown in FIG. 13, when the optical signal information is ambient optical signal information, the determining module 22 includes:
第四采集单元228,用于采集环境光强度。The fourth collecting unit 228 is configured to collect ambient light intensity.
第四确定单元229,用于根据所述第四采集单元228采集到的环境光强度,确定采集到的环境光强度在一定强度范围内的持续时间,根据采集到的环境光强度在一定强度范围内的持续时间确定环境光信号的变化情况。The fourth determining unit 229 is configured to determine, according to the ambient light intensity collected by the fourth collecting unit 228, the duration of the collected ambient light intensity within a certain intensity range, according to the collected ambient light intensity in a certain intensity range. The duration within the interior determines the change in the ambient light signal.
可选的是,如图14所示,当所述光信号信息为红外光信号和环境光信号时,所述确定模块22包括:Optionally, as shown in FIG. 14, when the optical signal information is an infrared light signal and an ambient light signal, the determining module 22 includes:
第五采集单元2210,用于采集环境光强度。The fifth collecting unit 2210 is configured to collect ambient light intensity.
第六采集单元2211,用于在所述第五采集单元2210采集的环境光强度小于预设的阈值时,采集红外光信号信息。The sixth collecting unit 2211 is configured to collect infrared light signal information when the ambient light intensity collected by the fifth collecting unit 2210 is less than a preset threshold.
第五检测单元2212,用于自第六采集单元2211采集到红外光信号信息起的第四时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率。The fifth detecting unit 2212 is configured to continuously detect whether the received light has a preset frequency within a fourth time period from the sixth collecting unit 2211 collecting the infrared light signal information, where the preset frequency is the reflected The frequency of the infrared light signal.
第五确定单元2213,用于在所述第五检测单元2212确定接收到的光线具有所述预设频率,则确定在所述第四时间段内具有所述预设频率的光线的出现时间,并结合未出现具有所述预设频率的光线的时间,确定所述第四时间段内的红外光信号的有无的变化情况。The fifth determining unit 2213 is configured to determine, when the fifth detecting unit 2212 determines that the received light has the preset frequency, determine an appearance time of the light having the preset frequency in the fourth time period, And determining whether the presence or absence of the infrared light signal in the fourth time period changes in combination with the time when the light having the preset frequency does not appear.
可选的是,如图15所示,当所述光信号信息为红外光信号和环境光信号时,所述确定模块22包括:Optionally, as shown in FIG. 15, when the optical signal information is an infrared light signal and an ambient light signal, the determining module 22 includes:
第七采集单元2214,用于采集环境光强度。The seventh collecting unit 2214 is configured to collect ambient light intensity.
第八采集单元2215,用于在第七采集单元2214采集到的环境光强度小于预设的阈值时,采集反射的红外光信号信息。The eighth collecting unit 2215 is configured to collect the reflected infrared light signal information when the ambient light intensity collected by the seventh collecting unit 2214 is less than a preset threshold.
第六检测单元2216,用于自第八采集单元2215采集到红外光信号信息起的第五时间段内,持续检测接收到的光线是否具有预设频率。 The sixth detecting unit 2216 is configured to continuously detect whether the received light has a preset frequency within a fifth period from the time when the eighth collecting unit 2215 collects the infrared light signal information.
第六确定单元2217,用于在第六检测单元2216确定接收到的光线具有所述预设频率,则确定在所述第五时间段内具有所述预设频率的光线的出现时长,根据所述预设频率的光线的出现时长确定所述红外光信号的变化情况。a sixth determining unit 2217, configured to determine, according to the sixth detecting unit 2216, that the received light has the preset frequency, determine an appearance time of the light having the preset frequency in the fifth time period, according to the The appearance time of the light of the preset frequency determines the change of the infrared light signal.
本发明实施例提供的来电应答的终端,能够根据光信号的情况来确定用户想要启动的动作,也就是说,用户可以不用直接接触终端就可以让终端检测到用户的动作,以启动来电应答功能,相比于现有技术中必须要让用户接触终端才能启动来电应答功能的技术方案来说,本发明实施例可以让用户无论能不能接触到手机都可以启动来电应答的功能,保证了用户的正常通话。The terminal for answering an incoming call provided by the embodiment of the present invention can determine the action that the user wants to start according to the condition of the optical signal, that is, the user can let the terminal detect the action of the user without directly contacting the terminal, so as to initiate the incoming call response. The function of the present invention can enable the user to activate the call answering function regardless of whether the user can touch the mobile phone, and the user is guaranteed. Normal call.
本实施例还提供了一种用于实现来电应答的电子终端,如图16所示,该电子终端包括控制器31、接近光传感器32、环境光传感器33以及存储器34,所述存储器34存储程序代码,所述控制器31可调用该程序代码来执行如图1至图8所示的方法流程,接近光传感器32、环境光传感器33用于采集光信号信息并将光信号信息发送给所述控制器31,上述各个器件之间可通过总线进行通信。The embodiment further provides an electronic terminal for implementing an incoming call response. As shown in FIG. 16, the electronic terminal includes a controller 31, a proximity light sensor 32, an ambient light sensor 33, and a memory 34. The memory 34 stores the program. a code, the controller 31 may call the program code to perform the method flow shown in FIG. 1 to FIG. 8. The proximity light sensor 32 and the ambient light sensor 33 are configured to collect optical signal information and transmit the optical signal information to the The controller 31 can communicate with each other through a bus.
所述接近光传感器82、环境光传感器83均可以用于在接收到呼叫请求之后,采集光信号信息,并将光信号信息传输给所述控制器31。The proximity light sensor 82 and the ambient light sensor 83 can be used to collect optical signal information and transmit the optical signal information to the controller 31 after receiving the call request.
所示控制器31,用于根据所述光信号信息,确定光信号的变化情况。根据所述光信号的变化情况,判断所述变化情况是否符合预设条件,所述预设条件包括是否有反射的红外光信号、反射的红外光信号的持续时间、环境光信号的强度的变化规律、环境光信号在一定强度范围内的持续时间这四种预设条件中的至少一种。当所述变化情况符合预设条件时,启动所述预设条件对应的应答方式。The controller 31 is configured to determine a change of the optical signal according to the optical signal information. Determining whether the change condition meets a preset condition according to a change condition of the optical signal, where the preset condition includes whether there is a reflected infrared light signal, a duration of the reflected infrared light signal, and a change of an intensity of the ambient light signal. At least one of four predetermined conditions of regular, ambient light signal duration over a range of intensities. When the change condition meets the preset condition, the response mode corresponding to the preset condition is started.
进一步的,当所述光信号信息为红外光信号信息时,所述接近光传感器32用于采集红外光信号信息。自采集到所述红外光信号信息起的第一时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率。Further, when the optical signal information is infrared light signal information, the proximity light sensor 32 is configured to collect infrared light signal information. During the first period from the acquisition of the infrared light signal information, it is continuously detected whether the received light has a preset frequency, and the preset frequency is the frequency of the reflected infrared light signal.
所述控制器31,用于若所述接收到的光线具有所述预设频率,则确定在 所述第一时间段内具有所述预设频率的光线的出现时间,确定所述第一时间段内的红外光信号的有无的变化情况。The controller 31 is configured to determine, if the received light has the preset frequency, The occurrence time of the light having the preset frequency in the first time period determines the presence or absence of the change of the infrared light signal in the first time period.
进一步的,当所述光信号信息为红外线光信号信息时,所述接近光传感器32用于采集红外光信号信息。Further, when the optical signal information is infrared light signal information, the proximity light sensor 32 is configured to collect infrared light signal information.
所述控制器31,用于自采集到所述红外光信号信息起的第二时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率。若所述接收到的光线具有所述预设频率,则确定在所述第二时间段内具有所述预设频率的光线的出现时长,根据所述预设频率的光线的出现时长确定红外光信号的变化情况。The controller 31 is configured to continuously detect whether the received light has a preset frequency during a second time period from the collection of the infrared light signal information, where the preset frequency is the reflected infrared light signal. Frequency of. Determining an appearance time of the light having the preset frequency in the second time period, and determining the infrared light according to the appearance time of the light of the preset frequency, if the received light has the preset frequency The change in signal.
进一步的,当所述光信号信息为环境光信号信息时,所述环境光传感器33用于采集环境光的强度。Further, when the optical signal information is ambient light signal information, the ambient light sensor 33 is configured to collect the intensity of the ambient light.
所述控制器31,用于自采集到环境光强度起的第三时间段内,根据采集到的环境光强度,确定在所述第三时间段内的环境光的强度变化情况。The controller 31 is configured to determine, according to the collected ambient light intensity, a change in intensity of ambient light during the third time period from a third time period after the ambient light intensity is collected.
进一步的,当所述光信号信息为环境光信号信息时,所述环境光传感器33可以用于采集环境光强度。Further, when the optical signal information is ambient light signal information, the ambient light sensor 33 can be used to collect ambient light intensity.
所述控制器31,用于根据采集到的环境光强度,确定采集到的环境光强度在一定强度范围内的持续时间,根据采集到的环境光强度在一定强度范围内的持续时间确定环境光信号的变化情况。The controller 31 is configured to determine, according to the collected ambient light intensity, a duration of the collected ambient light intensity within a certain intensity range, and determine the ambient light according to the duration of the collected ambient light intensity within a certain intensity range. The change in signal.
进一步的,当所述光信号信息为红外光信号和环境光信号时,所述环境光传感器33用于采集环境光强度。Further, when the optical signal information is an infrared light signal and an ambient light signal, the ambient light sensor 33 is configured to collect ambient light intensity.
所述接近光传感器32用于当环境光强度小于预设的阈值时,采集红外光信号信息。The proximity light sensor 32 is configured to collect infrared light signal information when the ambient light intensity is less than a preset threshold.
所述控制器31用于自采集到红外光信号信息起的第四时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率。若确定接收到的光线具有所述预设频率,则确定在所述第四时间段内具有所述预设频率的光线的出现时间,并可以结合未出现具有所述预设频率的光线的时间,确定所述第四时间段内的红外光信号的有无的变化情况。 The controller 31 is configured to continuously detect whether the received light has a preset frequency within a fourth time period from the acquisition of the infrared light signal information, where the preset frequency is a frequency of the reflected infrared light signal. Determining an appearance time of the light having the preset frequency in the fourth time period, and determining a time when the light having the preset frequency does not appear, if it is determined that the received light has the preset frequency And determining a change of the presence or absence of the infrared light signal in the fourth period of time.
进一步的,当所述光信号信息为红外光信号和环境光信号时,所述环境光传感器33用于采集环境光强度。Further, when the optical signal information is an infrared light signal and an ambient light signal, the ambient light sensor 33 is configured to collect ambient light intensity.
所述接近光传感器32,用于当环境光强度小于预设的阈值时,采集反射的红外光信号信息。The proximity light sensor 32 is configured to collect reflected infrared light signal information when the ambient light intensity is less than a preset threshold.
所述控制器31,用于自采集到红外光信号信息起的第五时间段内,持续检测接收到的光线是否具有预设频率。若确定接收到的光线具有所述预设频率,则确定在所述第五时间段内具有所述预设频率的光线的出现时长,根据所述预设频率的光线的出现时长确定所述红外光信号的变化情况。The controller 31 is configured to continuously detect whether the received light has a preset frequency within a fifth period from the time when the infrared light signal is collected. Determining, when the received light has the preset frequency, determining an appearance time of the light having the preset frequency in the fifth time period, determining the infrared according to the appearance time of the light of the preset frequency The change of the optical signal.
本发明实施例提供的来电应答的电子终端,能够根据光信号的情况来确定用户想要启动的动作,也就是说,用户可以不用直接接触终端就可以让终端检测到用户的动作,以启动来电应答功能,相比于现有技术中必须要让用户接触终端才能启动来电应答功能的技术方案来说,本发明实施例可以让用户无论能不能接触到手机都可以启动来电应答的功能,保证了用户的正常通话。The electronic terminal for answering an answer provided by the embodiment of the present invention can determine the action that the user wants to start according to the condition of the optical signal, that is, the user can detect the user's action without directly contacting the terminal, so as to initiate the incoming call. The answering function can be used to enable the user to contact the terminal to activate the incoming call answering function. The embodiment of the present invention can enable the user to activate the call answering function regardless of whether the mobile phone can be touched or not. The normal conversation of the user.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. . Based on the understanding, the technical solution of the present invention, which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer. A hard disk or optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims (14)

  1. 一种来电应答的方法,其特征在于,所述方法包括:A method for answering an incoming call, characterized in that the method comprises:
    当显示面板处于水平朝上并且静止的状态时,在接收到呼叫请求之后,采集光信号信息;When the display panel is in a horizontally upward state and is in a stationary state, after receiving the call request, the optical signal information is collected;
    根据所述光信号信息,确定光信号的变化情况;Determining a change of the optical signal according to the optical signal information;
    根据所述光信号的变化情况,判断所述变化情况是否符合预设条件,所述预设条件包括是否有反射的红外光信号、反射的红外光信号的持续时间、环境光信号的强度的变化规律、环境光信号在一定强度范围内的持续时间这四种预设条件中的至少一种;Determining whether the change condition meets a preset condition according to a change condition of the optical signal, where the preset condition includes whether there is a reflected infrared light signal, a duration of the reflected infrared light signal, and a change of an intensity of the ambient light signal. At least one of four predetermined conditions of regular, ambient light signal duration over a range of intensities;
    当所述变化情况符合预设条件时,启动所述预设条件对应的应答方式。When the change condition meets the preset condition, the response mode corresponding to the preset condition is started.
  2. 根据权利要求1所述的方法,其特征在于,当所述光信号信息为红外光信号信息时,所述根据所述光信号信息,确定光信号的变化情况包括:The method according to claim 1, wherein when the optical signal information is infrared light signal information, determining the change of the optical signal according to the optical signal information comprises:
    采集红外光信号信息;Collecting infrared light signal information;
    自采集到所述红外光信号信息起的第一时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率;The first time period from the time when the information of the infrared light signal is collected is continuously detected whether the received light has a preset frequency, and the preset frequency is a frequency of the reflected infrared light signal;
    若所述接收到的光线具有所述预设频率,则确定在所述第一时间段内具有所述预设频率的光线的出现时间,确定所述第一时间段内的红外光信号的有无的变化情况。Determining, when the received light has the preset frequency, an appearance time of the light having the preset frequency in the first time period, determining that the infrared light signal in the first time period has No change.
  3. 根据权利要求1所述的方法,其特征在于,当所述光信号信息为红外线光信号信息时,所述根据所述光信号信息,确定光信号的变化情况包括:The method according to claim 1, wherein when the optical signal information is infrared light signal information, determining the change of the optical signal according to the optical signal information comprises:
    采集红外光信号信息;Collecting infrared light signal information;
    自采集到所述红外光信号信息起的第二时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率;During a second period from the acquisition of the infrared light signal information, continuously detecting whether the received light has a preset frequency, and the preset frequency is a frequency of the reflected infrared light signal;
    若所述接收到的光线具有所述预设频率,则确定在所述第二时间段内具有所述预设频率的光线的出现时长,根据所述预设频率的光线的出现时长确定红外光信号的变化情况。 Determining an appearance time of the light having the preset frequency in the second time period, and determining the infrared light according to the appearance time of the light of the preset frequency, if the received light has the preset frequency The change in signal.
  4. 根据权利要求1所述的方法,其特征在于,当所述光信号信息为环境光信号信息时,所述根据所述光信号信息,确定光信号的变化情况包括:The method according to claim 1, wherein when the optical signal information is ambient light signal information, determining the change of the optical signal according to the optical signal information comprises:
    采集环境光的强度;Collecting the intensity of ambient light;
    自采集到环境光强度起的第三时间段内,根据采集到的环境光强度,确定在所述第三时间段内的环境光的强度变化情况。During the third time period from the acquisition of the ambient light intensity, the intensity change of the ambient light during the third time period is determined according to the collected ambient light intensity.
  5. 根据权利要求1所述的方法,其特征在于,当所述光信号信息为环境光信号信息时,所述根据所述光信号信息,确定光信号的变化情况包括:The method according to claim 1, wherein when the optical signal information is ambient light signal information, determining the change of the optical signal according to the optical signal information comprises:
    采集环境光强度,并根据采集到的环境光强度,确定采集到的环境光强度在一定强度范围内的持续时间,根据采集到的环境光强度在一定强度范围内的持续时间确定环境光信号的变化情况。Collect ambient light intensity, and determine the duration of the collected ambient light intensity within a certain intensity range according to the collected ambient light intensity, and determine the ambient light signal according to the duration of the collected ambient light intensity within a certain intensity range Changes.
  6. 根据权利要求1所述的方法,其特征在于,当所述光信号信息为红外光信号和环境光信号时,所述根据所述光信号信息,确定光信号的变化情况包括:The method according to claim 1, wherein when the optical signal information is an infrared light signal and an ambient light signal, determining the change of the optical signal according to the optical signal information comprises:
    采集环境光强度;Collect ambient light intensity;
    当环境光强度小于预设的阈值时,采集红外光信号信息;Collecting infrared light signal information when the ambient light intensity is less than a preset threshold;
    自采集到红外光信号信息起的第四时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率;During a fourth period from the acquisition of the infrared light signal information, continuously detecting whether the received light has a preset frequency, and the preset frequency is a frequency of the reflected infrared light signal;
    若确定接收到的光线具有所述预设频率,则确定在所述第四时间段内具有所述预设频率的光线的出现时间,确定所述第四时间段内的红外光信号的有无的变化情况。Determining, when the received light has the preset frequency, determining an appearance time of the light having the preset frequency in the fourth time period, determining whether the infrared light signal in the fourth time period is present The change.
  7. 根据权利要求1所述的方法,其特征在于,当所述光信号信息为红外光信号和环境光信号时,所述根据所述光信号信息,确定光信号的变化情况包括:The method according to claim 1, wherein when the optical signal information is an infrared light signal and an ambient light signal, determining the change of the optical signal according to the optical signal information comprises:
    采集环境光强度;Collect ambient light intensity;
    当环境光强度小于预设的阈值时,采集反射的红外光信号信息;Collecting reflected infrared light signal information when the ambient light intensity is less than a preset threshold;
    自采集到红外光信号信息起的第五时间段内,持续检测接收到的光线是否具有预设频率;During the fifth period from the acquisition of the infrared light signal information, continuously detecting whether the received light has a preset frequency;
    若确定接收到的光线具有所述预设频率,则确定在所述第五时间段内具有所述预设频率的光线的出现时长,根据所述预设频率的光线的出现时长确定所 述红外光信号的变化情况。Determining, when the received light has the preset frequency, determining an appearance time of the light having the preset frequency in the fifth time period, determining the appearance time of the light according to the preset frequency The change of the infrared light signal.
  8. 一种来电应答的终端,其特征在于,所述终端包括:A terminal for answering an incoming call, characterized in that the terminal comprises:
    采集模块,用于当显示面板处于水平朝上并且静止的状态时,在接收到呼叫请求之后,采集光信号信息;An acquisition module, configured to collect optical signal information after receiving the call request when the display panel is in a horizontally upward state and a stationary state;
    确定模块,用于根据所述采集模块采集到的光信号信息,确定光信号的变化情况;a determining module, configured to determine, according to the optical signal information collected by the collecting module, a change of the optical signal;
    判断模块,用于根据所述确定模块确定的光信号的变化情况,判断所述变化情况是否符合预设条件,所述预设条件包括是否有反射的红外光信号、反射的红外光信号的持续时间、环境光信号的强度的变化规律、环境光信号在一定强度范围内的持续时间这四种预设条件中的至少一种;a determining module, configured to determine, according to a change of the optical signal determined by the determining module, whether the change condition meets a preset condition, where the preset condition includes whether a reflected infrared light signal or a reflected infrared light signal continues At least one of four preset conditions of time, the variation of the intensity of the ambient light signal, and the duration of the ambient light signal over a range of intensities;
    启动模块,用于在所述判断模块确定所述变化情况符合预设条件时,启动所述预设条件对应的应答方式。The startup module is configured to start a response mode corresponding to the preset condition when the determining module determines that the change condition meets a preset condition.
  9. 根据权利要求8所述的终端,其特征在于,当所述光信号信息为红外光信号信息时,所述确定模块包括:The terminal according to claim 8, wherein when the optical signal information is infrared light signal information, the determining module comprises:
    第一采集单元,用于采集红外光信号信息;a first collecting unit, configured to collect infrared light signal information;
    第一检测单元,用于自第一采集单元采集到所述红外光信号信息起的第一时间段内,持续检测第一采集单元接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率;The first detecting unit is configured to continuously detect whether the light received by the first collecting unit has a preset frequency within a first time period from the first collecting unit to the infrared light signal information, where the preset frequency is The frequency of the reflected infrared light signal;
    第一确定单元,用于在所述第一检测单元确定所述接收到的光线具有所述预设频率时,确定在所述第一时间段内具有所述预设频率的光线的出现时间,确定所述第一时间段内的红外光信号的有无的变化情况。a first determining unit, configured to determine, when the first detecting unit determines that the received light has the preset frequency, an appearance time of the light having the preset frequency in the first time period, A determination of the presence or absence of an infrared light signal during the first time period is determined.
  10. 根据权利要求8所述的终端,其特征在于,当所述光信号信息为红外线光信号信息时,所述确定模块包括:The terminal according to claim 8, wherein when the optical signal information is infrared light signal information, the determining module comprises:
    第二采集单元,用于采集红外光信号信息;a second collecting unit, configured to collect infrared light signal information;
    第二检测单元,用于自第二采集单元采集到所述红外光信号信息起的第二时间段内,持续检测第二采集单元接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率; a second detecting unit, configured to continuously detect, in a second period from the second collecting unit, that the light received by the second collecting unit has a preset frequency, where the preset frequency is The frequency of the reflected infrared light signal;
    第二确定单元,用于在所述第二检测单元确定所述接收到的光线具有所述预设频率时,确定在所述第二时间段内具有所述预设频率的光线的出现时长,根据所述预设频率的光线的出现时长确定红外光信号的变化情况。a second determining unit, configured to determine, when the second detecting unit determines that the received light has the preset frequency, an appearance time of the light having the preset frequency in the second time period, Determining the change of the infrared light signal according to the appearance time of the light of the preset frequency.
  11. 根据权利要求8所述的终端,其特征在于,当所述光信号信息为环境光信号信息时,所述确定模块包括:The terminal according to claim 8, wherein when the optical signal information is ambient light signal information, the determining module comprises:
    第三采集单元,用于采集环境光的强度;a third collecting unit for collecting the intensity of ambient light;
    第三确定单元,用于自第三采集单元采集到环境光强度起的第三时间段内,根据采集到的环境光强度,确定在所述第三时间段内的环境光的强度变化情况。The third determining unit is configured to determine, according to the collected ambient light intensity, a change in the intensity of the ambient light in the third time period from a third time period after the third collecting unit collects the ambient light intensity.
  12. 根据权利要求8所述的终端,其特征在于,当所述光信号信息为环境光信号信息时,所述确定模块包括:The terminal according to claim 8, wherein when the optical signal information is ambient light signal information, the determining module comprises:
    第四采集单元,用于采集环境光强度;a fourth collecting unit, configured to collect ambient light intensity;
    第四确定单元,用于根据所述第四采集单元采集到的环境光强度,确定采集到的环境光强度在一定强度范围内的持续时间,根据采集到的环境光强度在一定强度范围内的持续时间确定环境光信号的变化情况。a fourth determining unit, configured to determine, according to the ambient light intensity collected by the fourth collecting unit, a duration of the collected ambient light intensity within a certain intensity range, according to the collected ambient light intensity within a certain intensity range The duration determines the change in the ambient light signal.
  13. 根据权利要求8所述的方法,其特征在于,当所述光信号信息为红外光信号和环境光信号时,所述确定模块包括:The method according to claim 8, wherein when the optical signal information is an infrared light signal and an ambient light signal, the determining module comprises:
    第五采集单元,用于采集环境光强度;a fifth collecting unit for collecting ambient light intensity;
    第六采集单元,用于在所述第五采集单元采集的环境光强度小于预设的阈值时,采集红外光信号信息;a sixth collecting unit, configured to collect infrared light signal information when the ambient light intensity collected by the fifth collecting unit is less than a preset threshold;
    第五检测单元,用于自第六采集单元采集到红外光信号信息起的第四时间段内,持续检测接收到的光线是否具有预设频率,所述预设频率为所述反射的红外光信号的频率;a fifth detecting unit, configured to continuously detect, in a fourth period from the sixth collecting unit, that the received light has a preset frequency, where the preset frequency is the reflected infrared light The frequency of the signal;
    第五确定单元,用于在所述第五检测单元确定接收到的光线具有所述预设频率,则确定在所述第四时间段内具有所述预设频率的光线的出现时间,确定所述第四时间段内的红外光信号的有无的变化情况。a fifth determining unit, configured to determine, at the fifth detecting unit, that the received light has the preset frequency, determine an appearance time of the light having the preset frequency in the fourth time period, and determine The presence or absence of changes in the infrared light signal during the fourth time period.
  14. 根据权利要求8所述的终端,其特征在于,当所述光信号信息为红外光信号和环境光信号时,所述确定模块包括: The terminal according to claim 8, wherein when the optical signal information is an infrared light signal and an ambient light signal, the determining module comprises:
    第七采集单元,用于采集环境光强度;a seventh collecting unit for collecting ambient light intensity;
    第八采集单元,用于在第七采集单元采集到的环境光强度小于预设的阈值时,采集反射的红外光信号信息;The eighth collecting unit is configured to collect the reflected infrared light signal information when the ambient light intensity collected by the seventh collecting unit is less than a preset threshold;
    第六检测单元,用于自第八采集单元采集到红外光信号信息起的第五时间段内,持续检测接收到的光线是否具有预设频率;a sixth detecting unit, configured to continuously detect whether the received light has a preset frequency within a fifth time period from the information collected by the eighth collecting unit to the infrared light signal;
    第六确定单元,用于在第六检测单元确定接收到的光线具有所述预设频率,则确定在所述第五时间段内具有所述预设频率的光线的出现时长,根据所述预设频率的光线的出现时长确定所述红外光信号的变化情况。 a sixth determining unit, configured to determine, in the sixth detecting unit, that the received light has the preset frequency, determine an appearance time of the light having the preset frequency in the fifth time period, according to the The appearance time of the light of the frequency determines the change of the infrared light signal.
PCT/CN2014/089782 2013-10-29 2014-10-29 Method and terminal for answering incoming call WO2015062502A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310522550.5A CN104580681A (en) 2013-10-29 2013-10-29 Method and terminal for answering call
CN201310522550.5 2013-10-29

Publications (1)

Publication Number Publication Date
WO2015062502A1 true WO2015062502A1 (en) 2015-05-07

Family

ID=53003360

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/089782 WO2015062502A1 (en) 2013-10-29 2014-10-29 Method and terminal for answering incoming call

Country Status (2)

Country Link
CN (1) CN104580681A (en)
WO (1) WO2015062502A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357364B (en) * 2015-09-25 2019-08-27 努比亚技术有限公司 Mobile terminal is answered or the method, device and mobile terminal of hanging up calling

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702742A (en) * 2009-09-18 2010-05-05 宇龙计算机通信科技(深圳)有限公司 Method for automatically answering phone, device and mobile communication terminal
CN103167127A (en) * 2012-08-07 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving incoming call mute of mobile phone based on range sensor and gesture operation

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003218992A (en) * 2002-01-24 2003-07-31 Toshiba Corp Communication terminal
CN101621586B (en) * 2008-06-30 2012-10-03 宏达国际电子股份有限公司 Handheld device and power-saving method
CN102984361B (en) * 2012-11-14 2014-08-06 广东欧珀移动通信有限公司 Method and mobile communication equipment of communication answering and hanging up

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702742A (en) * 2009-09-18 2010-05-05 宇龙计算机通信科技(深圳)有限公司 Method for automatically answering phone, device and mobile communication terminal
CN103167127A (en) * 2012-08-07 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving incoming call mute of mobile phone based on range sensor and gesture operation

Also Published As

Publication number Publication date
CN104580681A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
US9639261B2 (en) Apparatus and method for controlling a suspended state
CN105138171B (en) Touch key-press and fingerprint identification method
CN106131345B (en) Control method and device of proximity sensor and mobile terminal
US10162466B2 (en) Portable device and method of modifying touched position
TWI684116B (en) Terminal state judgment method, device and terminal
US10764415B2 (en) Screen lighting method for dual-screen terminal and terminal
US9001039B2 (en) Device with touch screen false actuation prevention
WO2014183529A1 (en) Mobile terminal talk mode switching method, device and storage medium
CN108966323B (en) Bright screen control method and device and terminal
WO2019184946A1 (en) Human facial recognition control method and mobile terminal
US20150312393A1 (en) Voice communication method and electronic device using the same
CN109799924B (en) False touch prevention control method and device, mobile terminal and computer readable storage medium
CN108600557B (en) Screen on-off control method and mobile terminal
CN111405110B (en) Screen control method and device, storage medium and mobile terminal
CN108521501B (en) Voice input method, mobile terminal and computer readable storage medium
CN106790955A (en) Terminal control method and device
CN107850974A (en) Identify the method and electronic equipment of mistaken touch operation
CN110413148B (en) False touch prevention detection method, device, equipment and storage medium
CN108369447A (en) The method and apparatus for controlling wearable electronic operating status
CN104751586A (en) Terminal, information processing method and information processing device
CN110691168B (en) Screen control method and device of mobile terminal and storage medium
CN105242867A (en) Handset and control method therefor
CN107967418B (en) Face recognition method and mobile terminal
TWI382743B (en) Handheld device and power saving method thereof
JP6381989B2 (en) Portable electronic device, control method and program for portable electronic device

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14858879

Country of ref document: EP

Kind code of ref document: A1