WO2015074567A1 - 一种敲击控制方法及终端 - Google Patents

一种敲击控制方法及终端 Download PDF

Info

Publication number
WO2015074567A1
WO2015074567A1 PCT/CN2014/091675 CN2014091675W WO2015074567A1 WO 2015074567 A1 WO2015074567 A1 WO 2015074567A1 CN 2014091675 W CN2014091675 W CN 2014091675W WO 2015074567 A1 WO2015074567 A1 WO 2015074567A1
Authority
WO
WIPO (PCT)
Prior art keywords
tap
terminal
matches
action
preset time
Prior art date
Application number
PCT/CN2014/091675
Other languages
English (en)
French (fr)
Inventor
尹航
姜建辉
郭泽金
关一脉
吴钢
贺丽萍
王婷
吴昊
潘毅
陈旭
徐杰
王晋
罗志华
吴彬
张慧敏
何峰
周平
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Priority to EP14864841.3A priority Critical patent/EP2988199A4/en
Publication of WO2015074567A1 publication Critical patent/WO2015074567A1/zh
Priority to US14/978,915 priority patent/US20160110005A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2200/00Indexing scheme relating to G06F1/04 - G06F1/32
    • G06F2200/16Indexing scheme relating to G06F1/16 - G06F1/18
    • G06F2200/163Indexing scheme relating to constructional details of the computer
    • G06F2200/1636Sensing arrangement for detection of a tap gesture on the housing

Definitions

  • the present invention relates to the field of communications, and in particular, to a tap control method and a terminal.
  • the input mode of the terminal is no longer limited to the key input, and the touch screen input and the motion sensing input are more and more applied to the use of the terminal.
  • the motion sensing input mainly detects the change of the motion state of the terminal through a motion sensor (such as a G-Sensor) built in the terminal, and transmits a signal of the detected motion state change of the terminal to the microprocessor control unit of the terminal (Microprocessor Control).
  • a motion sensor such as a G-Sensor
  • MCU microprocessor Control
  • the MCU can set the terminal according to the specific change of the terminal motion state perceived by the motion sensor, such as setting the mute of the mobile phone, adjusting the volume of the mobile phone and the brightness of the screen.
  • motion sensors such as G-Sensor
  • G-Sensor are generally used to detect low-frequency signals, that is, low-frequency acceleration motion of the terminal.
  • the low frequency is mainly between 50 Hz and 200 Hz.
  • the low frequency acceleration motion of the terminal may include user flipping of the terminal, shaking of the user to the terminal, and the like.
  • the problem is that when the terminal is enabled to set the G-Sensor input, the terminal may be unintentionally operated due to shaking the handheld terminal during the user's walking or causing the mobile phone to frequently flip when the user moves, resulting in frequent automatic setting of the terminal, thereby affecting the terminal.
  • the user's normal use of the terminal has a low user experience.
  • the terminal may set the mobile phone to a mute state according to an unconscious shaking operation during the user's walking process, which may cause the user to miss the incoming call, and the interaction capability between the terminal and the user is low.
  • the embodiments of the present invention provide a tap control method and a terminal, which can implement accurate operation control of the terminal and enhance the interaction capability between the terminal and the user.
  • a first aspect of the embodiments of the present invention provides a tapping control method, which can be applied to a terminal, where the terminal includes a vibration sensor, and the method includes:
  • the tap response event is executed.
  • the method further includes:
  • the obtaining a knock response event that matches the identified type of tap action includes:
  • a tap response event that matches the identified type of tap action and matches the acquired current state information A tap response event that matches the identified type of tap action and matches the acquired current state information.
  • the method further includes:
  • the obtaining a knock response event that matches the identified type of tap action includes:
  • a tap response event that matches the identified type of tap action and matches the acquired trigger position information is found.
  • the method further includes:
  • the obtaining a knock response event that matches the identified type of tap action includes:
  • a tap response event that matches the identified type of tap action and matches the acquired current state information and the acquired trigger location information.
  • the type of the tap action includes: a single tap in a preset time, and a double time in a preset time. Tap, at least three strokes within a preset time.
  • the method further includes:
  • the obtaining a knock response event that matches the identified type of tap action includes:
  • a tap response event that matches at least three taps within the preset time and that matches the acquired tap frequency information is found.
  • the method further includes: after identifying the type of the tapping action corresponding to the tapping trigger signal, the method further includes:
  • the obtaining a knock response event that matches the identified type of tap action includes:
  • a tap response event that matches at least three taps within the preset time and that matches the acquired tap frequency information and the acquired current state information is found.
  • the method further includes:
  • the obtaining a knock response event that matches the identified type of tap action includes:
  • a tap response event that matches at least three taps within the preset time and that matches the acquired tap frequency information and the acquired trigger position information is found.
  • the method further includes:
  • the obtaining a knock response event that matches the identified type of tap action includes:
  • a tap response event matching the at least three taps within the preset time and matching the acquired tap frequency information, the acquired trigger position information, and the acquired current state information is found.
  • the tapping action type is recognized as at least three taps within the preset time, then After the triggering signal is triggered, after the type of the tapping action corresponding to the tapping trigger signal is identified, the method further includes:
  • the obtaining a knock response event that matches the identified type of tap action includes:
  • a tap response event that matches at least three taps within the preset time and that matches the acquired tap direction information is found.
  • the tapping action type is recognized as at least three taps within the preset time, then After the triggering signal is triggered, after the type of the tapping action corresponding to the tapping trigger signal is identified, the method further includes:
  • the obtaining a knock response event that matches the identified type of tap action includes:
  • a tap response event that matches at least three taps within the preset time and that matches the acquired tap direction information and the acquired tap frequency information is found. .
  • the method further includes:
  • the obtaining a knock response event that matches the identified type of tap action includes:
  • a tap response event that matches at least three taps within the preset time and that matches the acquired tap frequency information, the acquired tap direction information, and the acquired current state information is found.
  • the method further includes:
  • the obtaining a knock response event that matches the identified type of tap action includes:
  • a tap response event that matches the double tap in the preset time and matches the acquired tap direction information is found.
  • the method further includes:
  • the obtaining a knock response event that matches the identified type of tap action includes:
  • a tap response event that matches the double tap in the preset time and matches the acquired tap direction information and the acquired current state information is found.
  • a second aspect of the embodiments of the present invention further provides a terminal, including:
  • a vibration sensor for detecting a tap trigger signal within a preset frequency range
  • a processor configured to: after the vibration sensor detects the tap trigger signal, identify a type of tap action corresponding to the tap trigger signal; and acquire a tap response that matches the identified type of tap action Event; execution of the tap response event.
  • the processor is further configured to acquire current state information of the terminal after detecting the tap trigger signal
  • the processor is further configured to search for a tap response event that matches the identified type of tap action and matches the acquired current state information.
  • the processor is further configured to acquire, after detecting the tap trigger signal, the detected by the vibration sensor The trigger position information of the tap trigger signal;
  • the processor is further configured to search for a tap response event that matches the identified type of tap action and matches the acquired trigger position information.
  • the processor is further configured to acquire, after detecting the tap trigger signal, current status information of the terminal and trigger position information of the tap trigger signal detected by the vibration sensor;
  • the processor is further configured to search for a tap response event that matches the identified type of tap action and matches the acquired current state information and the acquired trigger location information.
  • the type of the tap action includes: a single tap in a preset time, and a double time in a preset time. Tap, at least three strokes within a preset time.
  • the processor is further configured to: if the type of the tap action is identified as at least the preset time After the tapping is performed three times, after the type of the tapping action corresponding to the tapping trigger signal is recognized, the tapping frequency information of the at least three taps in the preset time period detected by the vibration sensor is acquired;
  • the processor is further configured to search for a tap response event that matches at least three taps within the preset time and matches the acquired tap frequency information.
  • the processor is further configured to: if the type of the tap action is identified as at least the preset time After the tapping is performed three times, after the type of the tapping action corresponding to the tapping trigger signal is recognized, the tapping frequency information of the at least three taps in the preset time period detected by the vibration sensor is acquired;
  • the processor is further configured to search for a tap response event that matches at least three taps within the preset time and that matches the acquired tap frequency information and the acquired current state information.
  • the processor is further configured to: if the type of the tap action is identified as at least the preset time After three strokes, after the type of the tap action corresponding to the tap trigger signal is recognized, the The tapping frequency information of the at least three taps in the preset time period detected by the vibration sensor;
  • the processor is further configured to search for a tap response event that matches at least three taps in the preset time and matches the acquired tap frequency information and the acquired trigger position information.
  • the processor is further configured to: if the type of the tap action is identified as at least the preset time After the tapping is performed three times, after the type of the tapping action corresponding to the tapping trigger signal is recognized, the tapping frequency information of the at least three taps in the preset time period detected by the vibration sensor is acquired;
  • the processor is further configured to search for at least three hits in the preset time, and match the acquired tap frequency information, the acquired trigger position information, and the acquired current state information. Tap the response event.
  • the processor is further configured to: if the type of the tap action is identified as at least the preset time After three strokes, after detecting the tap trigger signal, after identifying the type of tap action corresponding to the tap trigger signal, acquiring at least three knocks within the preset time detected by the vibration sensor Strike direction information;
  • the processor is further configured to find a tap response event that matches at least three taps in the preset time and matches the acquired tap direction information.
  • the processor is further configured to: if the type of the tap action is identified as at least the preset time After three strokes, after detecting the tap trigger signal, after identifying the type of tap action corresponding to the tap trigger signal, acquiring at least three knocks within the preset time detected by the vibration sensor At least three of the tapping direction information of the hit and the preset time obtained by the vibration sensor The tapping frequency information of the second tap;
  • the processor is further configured to search for a tap response event that matches at least three taps within the preset time and that matches the acquired tap direction information and the acquired tap frequency information.
  • the processor is further configured to: if the type of the tap action is identified as at least the preset time After three strokes, after detecting the tap trigger signal, after identifying the type of tap action corresponding to the tap trigger signal, acquiring at least three knocks within the preset time detected by the vibration sensor Strike frequency information, tap direction information, and current state information of the terminal;
  • the processor is further configured to search for at least three taps in the preset time, and match the acquired tap frequency information, the obtained tap direction information, and the acquired current state information.
  • the tap responds to the event.
  • the processor is further configured to: if the type of the tap action is identified as at least the preset time After the tapping is performed three times, after the type of the tapping action corresponding to the tapping trigger signal is recognized, the tapping direction information of the double tapping in the preset time period detected by the vibration sensor is acquired;
  • the processor is further configured to search for a tap response event that matches the double tap in the preset time and matches the acquired tap direction information.
  • the processor is further configured to: if the type of the tap action is identified as at least the preset time After three strokes, after identifying the type of the tap action corresponding to the tap trigger signal, acquiring the tap direction information of the double tap in the preset time and the terminal detected by the vibration sensor Current status information;
  • the processor is further configured to search for a tap response event that matches the double tap in the preset time and matches the acquired tap direction information and the acquired current state information.
  • the tapping control method and the terminal provided by the embodiment of the present invention may detect a tap trigger signal in a preset frequency range by using a vibration sensor; and identify a tapping action type corresponding to the tap trigger signal after detecting the tap trigger signal Obtaining a tap response event that matches the identified type of tap action; performing a tap response event.
  • the vibration sensor can detect the tap trigger signal in the preset frequency range
  • the trigger signal is detected because the terminal detects the preset frequency range (for example, the terminal detects the unconsciousness during the user's walking process).
  • the problem that the terminal is frequently set automatically caused by the trigger signal generated by the operation of the operation realizes accurate operation control of the terminal and enhances the interaction capability between the terminal and the user.
  • FIG. 1 is a flowchart of a tap control method according to Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of a tap control method according to Embodiment 2 of the present invention.
  • FIG. 3 is a flowchart of a tap control method according to Embodiment 3 of the present invention.
  • FIG. 5 is a flowchart of a tap control method according to Embodiment 4 of the present invention.
  • FIG. 6 is a flowchart of another tap control method in Embodiment 4 of the present invention.
  • FIG. 9 is a flowchart of a tap control method according to Embodiment 5 of the present invention.
  • Embodiment 10 is a flowchart of another tap control method in Embodiment 5 of the present invention.
  • FIG. 11 is a flowchart of another tap control method in Embodiment 5 of the present invention.
  • FIG. 13 is a flowchart of another tap control method in Embodiment 5 of the present invention.
  • FIG. 15 is a schematic structural diagram of a terminal in Embodiment 7 of the present invention.
  • FIG. 16 is a schematic structural diagram of a mobile phone according to Embodiment 7 of the present invention.
  • system and “network” are used interchangeably herein.
  • the term “and/or” in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • An embodiment of the present invention provides a tap control method, which can be applied to a terminal, where the terminal includes a vibration sensor, and the vibration sensor is configured to detect a tap trigger signal in a preset frequency range, as shown in FIG.
  • the tap control method includes:
  • the terminal detects a tap trigger signal in a preset frequency range by using a vibration sensor.
  • the terminal in the embodiment of the present invention may be a terminal that includes a vibration sensor that can detect a tap trigger signal within a preset frequency range.
  • the vibration sensor may be a built-in sensor in the smart high-end, or may be an external sensor that has a connection relationship with the terminal and can detect a user's tapping action on the terminal.
  • the terminal may be any one of a device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a point of sales (POS), an in-vehicle computer, and a wearable device.
  • a device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a point of sales (POS), an in-vehicle computer, and a wearable device.
  • PDA personal digital assistant
  • POS point of sales
  • in-vehicle computer a wearable device.
  • the trigger signal that can be detected is a low frequency signal having a frequency range of about 50 Hz, and the motion sensor is used.
  • the trigger signal of the highest frequency that can be detected is a 200HZ trigger signal.
  • the user's flipping, waving, and shaking of the terminal during the user's walking belong to the above-mentioned low frequency trigger.
  • the G-Sensor is used to collect the trigger information of the user and the related settings are made to the terminal, the user may unintentionally flip, swing, and shake the terminal, which may cause the G-Sensor to output signals frequently, resulting in frequent automatic setting of the terminal. In turn, it affects the normal use of the terminal by the user. For example, if the G-Sensor is used to detect the trigger signal of the external impact, vibration, etc., the terminal can set the mobile phone to the mute state according to the unconscious shaking operation during the user's walking, which may cause the user to miss the incoming call.
  • the shock sensor used in the embodiment of the present invention can be used to detect a tap trigger signal generated by a user tapping a terminal, wherein the user taps the terminal.
  • the frequency of the generated tap trigger signal is in the frequency range above 200 Hz.
  • the frequency range of the signal that the shock sensor can collect is generally 250-400HZ. between.
  • the vibration sensor (Shock Sensor) in the embodiment of the present invention can collect signals in a frequency range of 250-400 Hz.
  • the frequency value included in the frequency range is much larger than the highest frequency value 200HZ that can be collected by the G-Sensor in the prior art, and the frequency value included in the frequency range is much larger than the unintended flip, swing and sway operation of the user to the terminal. Accelerate the frequency of change. Therefore, the shock sensor in the embodiment of the present invention can avoid frequent unintentional setting of the terminal by the user.
  • the terminal After detecting the tap trigger signal, the terminal identifies the type of the tap action corresponding to the tap trigger signal.
  • the type of the tap action in the embodiment of the present invention may include: a single tap in a preset time, a double tap in a preset time, and at least three taps in a preset time.
  • the terminal acquires a tap response event that matches the identified type of tap action.
  • the terminal may look for a tap response event that matches the identified type of tap action in the set of tap events pre-stored in the terminal.
  • the matching relationship between the tap response event and the type of the tap action may be that the server fixes the preset for the terminal, and saves the matching relationship in the terminal in the form of a tap event set; or, taps the response event and the tap.
  • the matching relationship between the action types may be pre-recorded by the server according to the personal operation preference of the end user, and the matching relationship stored in the terminal is saved in the form of a set of tap event.
  • the terminal may acquire a tap response event that matches the identified type of tap action from the server by sending an event request message including the identified type of tap action to the server.
  • the matching relationship between the tap response event and the type of the tap action may be that the server fixes the preset for the terminal and saves the matching relationship in the server; or, the matching relationship between the tap response event and the type of the tap action Can be pre-recorded for the server according to the end user's personal operating preferences, and saved in The matching relationship in the server.
  • the server may also configure or record the server for the terminal, and the matching relationship between the tap response event and the type of the tap action is saved in the server in the form of a set of tap events.
  • the terminal performs a tap response event.
  • the terminal performing the tap response event may include: the terminal switching the terminal from the first state to the second state; or the terminal invoking the application that matches the type of the tap action.
  • the terminal can switch the terminal from the first state to the second state.
  • the specific implementation of the application that matches the type of the tapping action can be referred to the related description in the specific application scenario in Embodiment 6 of the present invention. The embodiment will not be described again here.
  • the terminal may detect a tap trigger signal in a preset frequency range by using a vibration sensor; and after detecting the tap trigger signal, identify a tap action type corresponding to the tap trigger signal; Acquiring a tap response event that matches the identified type of tap action; performing a tap response event.
  • the vibration sensor can detect the tap trigger signal in the preset frequency range
  • the trigger signal is detected because the terminal detects the preset frequency range (for example, the terminal detects the unconsciousness during the user's walking process).
  • the problem that the terminal is frequently set automatically caused by the trigger signal generated by the operation of the operation realizes accurate operation control of the terminal and enhances the interaction capability between the terminal and the user.
  • An embodiment of the present invention provides a tap control method, which can be applied to a terminal, where the terminal includes a vibration sensor, and the vibration sensor is configured to detect a tap trigger signal in a preset frequency range, as shown in FIG. 2, the tap control method include:
  • the terminal detects a tap trigger signal in a preset frequency range by using a vibration sensor.
  • the terminal in this embodiment is the same as the terminal in the first embodiment. Therefore, the specific description of the terminal in this embodiment may refer to the related content in the embodiment 1, and the present embodiment is not described herein.
  • the shock sensor used in the embodiment of the present invention can be used to detect a tap trigger signal generated by a user tapping the terminal, wherein the frequency of the tap trigger signal generated by the user tapping the terminal is above 200 Hz. Frequency Range. Specifically, the frequency of the signals that the Shock Sensor can collect is generally between 250 and 400 Hz.
  • the vibration sensor (Shock Sensor) in the embodiment of the present invention can collect signals in a frequency range of 250-400 Hz.
  • the frequency value included in the frequency range is much larger than the highest frequency value 200HZ that can be collected by the G-Sensor in the prior art, and the frequency value included in the frequency range is much larger than the unintended flip, swing and sway operation of the user to the terminal. Accelerate the frequency of change (the user's unintentional flip, swing and sway operation acceleration of the terminal is up to 200 Hz). Therefore, the shock sensor in the embodiment of the present invention can avoid frequent unintentional setting of the terminal by the user.
  • the terminal After detecting the tap trigger signal, the terminal identifies the type of the tap action corresponding to the tap trigger signal.
  • the specific method for the terminal to identify the type of the tap action corresponding to the tap trigger signal may refer to the related description in Embodiment 1 of the present invention, and details are not described herein again.
  • the terminal may be in a different state when the terminal detects a tap trigger signal within a preset frequency range by using the vibration sensor (eg, the terminal is playing music)
  • the state the terminal is in the state of voice communication, the terminal is in the state of video communication, and the terminal is in the state of video or photo shooting, etc.
  • the terminal Current status information may be different, therefore, the terminal Or the set of the tap event pre-stored in the server may further include: a matching relationship between the tap response event and the type of the tap action and the current state information of the terminal.
  • the method of the embodiment of the present invention may further include: S203:
  • the current state information of the terminal may be: status indication information that the terminal is playing the music state, status indication information that the terminal is in the voice communication state, status indication information that the terminal is in the video communication state, the terminal is in the video or Any of the state indication information such as the state indication information of the photo shooting state, the state indication information that the terminal is in the standby state, the state indication information that the terminal is in the frequency-locked state, and the state indication information that the terminal is in the black screen state.
  • the tap trigger signal of the same tap action type if the current state information of the terminal is different, the tap response response events that the terminal can acquire are different.
  • the terminal acquires the knocking
  • the response event may be “increasing the terminal voice communication volume”; if the terminal detects a tap trigger signal of a single tap in the preset time, the current status information of the terminal indicates that the terminal is positive. If the screen is in a black screen, the tap response event acquired by the terminal may be “lighting the phone screen”.
  • the specific content of the current status information of the terminal includes, but is not limited to, the status indication information enumerated above.
  • the current status information of the terminal may also be status indication information that the terminal is displaying text data by the reader.
  • the terminal searches for a tap response event that matches the identified type of tap action and matches the acquired current state information.
  • the method for the terminal to find the tap response event is similar to the method for the terminal in the first embodiment to find the tap response event.
  • the terminal may search for a tap response event event that matches the identified type of tap action and the acquired current state information in the set of tap events pre-stored in the terminal.
  • the matching relationship between the tap response event and the type of the tap action and the current state information of the terminal may be that the server is a fixed preset for the terminal, and the matching relationship in the terminal is saved in the form of a tap event set; or, The matching relationship between the response response event and the type of the tap action and the current state information of the terminal may be pre-recorded by the server according to the personal operation preference of the terminal user, and the matching relationship stored in the terminal may be saved in the form of a set of tap event.
  • the terminal may obtain an event request message including the identified type of the tap action and the current state information of the terminal from the server, and obtain, from the server, the type of the tap action identified and the current state information of the terminal. Tap the response event.
  • the matching relationship between the tap response event and the type of the tap action and the current state information of the terminal may be that the server fixes the preset for the terminal and saves the matching relationship in the server; or, the tap response event and the tap action
  • the matching relationship between the type and the current state information of the terminal may be a pre-recorded by the server according to the personal operation preference of the end user, and the matching relationship saved in the server.
  • the server may also configure or record the server for the terminal, and the matching relationship between the tap response event and the type of the tap action and the current state information of the terminal is saved in the server in the form of a set of tap events.
  • the terminal performs a tap response event.
  • the method for the terminal to perform the tap response event may include: the terminal sets the terminal by the first state Switching to the second state; or, the terminal invokes an application that matches the type of tap action.
  • the terminal can switch the terminal from the first state to the second state.
  • the specific implementation of the application that matches the type of the tapping action can be referred to the related description in the specific application scenario in Embodiment 6 of the present invention. The embodiment will not be described again here.
  • the terminal may detect a tap trigger signal in a preset frequency range by using a vibration sensor; and after detecting the tap trigger signal, identify a tap action type corresponding to the tap trigger signal; Obtaining current state information of the terminal; acquiring a tap response event that matches the identified type of tap action and current state information of the terminal; and performing a tap response event.
  • the vibration sensor can detect the tap trigger signal in the preset frequency range
  • the trigger signal is detected because the terminal detects the preset frequency range (for example, the terminal detects the unconsciousness during the user's walking process).
  • the problem that the terminal is frequently set automatically caused by the trigger signal generated by the operation of the operation realizes accurate operation control of the terminal and enhances the interaction capability between the terminal and the user.
  • the terminal may obtain a matching tap response event according to the type of the tap action corresponding to the tap trigger signal and the current state information of the terminal, and the tap trigger signal corresponding to the same tap action type detected by the terminal According to the current state information of different terminals, different tap response events can be found and executed, and the search condition of the terminal to find the tap response event is further refined, which can achieve more accurate control of the terminal and further enhance the terminal and the user. The ability to interact.
  • An embodiment of the present invention provides a tap control method, which can be applied to a terminal, where the terminal includes a vibration sensor, and the vibration sensor is configured to detect a tap trigger signal in a preset frequency range, as shown in FIG. 3, the tap control method include:
  • the terminal detects a tap trigger signal in a preset frequency range by using a vibration sensor.
  • the terminal and the vibration sensor in this embodiment are the same as the terminal and the vibration sensor in Embodiment 1 or 2. Therefore, the specific description of the terminal and the vibration sensor in this embodiment can be referred to Embodiment 1 or 2. The related content is not described herein in this embodiment.
  • the terminal After detecting the tap trigger signal, the terminal identifies the type of the tap action corresponding to the tap trigger signal.
  • the specific method for the terminal to identify the type of the tap action corresponding to the tap trigger signal may refer to the related description in Embodiment 1 of the present invention, and details are not described herein again.
  • the trigger position information of the tap trigger signal detected by the terminal through the vibration sensor is detected when the terminal detects the tap trigger signal in the preset frequency range by the vibration sensor.
  • the tapping event set pre-stored in the terminal or the server may further include: a matching relationship between the tapping response event and the type of the tapping action and the obtained triggering position information.
  • the method of the embodiment of the present invention may further include S303a:
  • the terminal acquires trigger position information of the tap trigger signal detected by the vibration sensor.
  • the terminal may recognize, by the vibration sensor, that the vibration sensor detects the tapping action, and the tapping direction information of the terminal of the tapping action acquires trigger position information of the tap trigger signal detected by the vibration sensor.
  • the trigger position information may be a tap position of the tap action corresponding to the tap trigger signal on the terminal when the terminal detects the tap trigger signal by the vibration sensor.
  • the trigger position information may be: the front screen of the terminal, the back shell of the terminal, and the center of the front screen of the terminal. The top of the screen, the bottom of the screen bounded by the center of the front screen of the terminal, the left side of the screen bounded by the center of the front screen of the terminal, and the right side of the screen bounded by the center of the front screen of the terminal. Any one.
  • the terminal triggers the tap trigger signal of the same tap action type, if the trigger location information of the terminal is different, the tap response response events that the terminal can acquire are different.
  • the trigger position information is the left side of the screen bounded by the center of the front screen of the terminal, and the terminal acquires The tap response event may be “dimming the terminal screen brightness according to a preset ratio”; if the terminal detects a tap trigger signal of a single tap in the preset time, the trigger position information is The right side of the screen with the center of the front screen of the terminal is bounded, and the tap response event acquired by the terminal may be “brightening the brightness of the terminal screen according to a preset ratio”.
  • the type of the tap action in the embodiment of the present invention may include: a single tap in a preset time, a double tap in a preset time, and at least three taps in a preset time.
  • the preset time may be configured by the server for the electronic device, or may be configured by the terminal according to the time setting operation of the user. In general, the preset time is in seconds, and after the terminal detects a tap action by the vibration sensor, and detects a second tap action within the preset time threshold, the terminal determines the tap. (Includes: single tap in preset time, double tap in preset time, at least three taps in preset time) End of action.
  • the preset time threshold is less than the preset time. The terminal can determine the length of the preset time according to the number of tapping actions of one tap detected by the vibration sensor.
  • the terminal when the tapping action type is a double tap in a preset time and at least three taps in a preset time, the terminal acquires the multiple taps in the preset time. There may be more than one trigger location information. If the tap action type is a double tap in the preset time, the pair The second tap may be two tapping actions of the user to different positions of the terminal, and the terminal may acquire two trigger position information, which may cause the terminal to determine which one of the two trigger position information needs to be searched. The location information matches the tap response event. Therefore, when the terminal recognizes that the type of the tap action is a double tap in the preset time, it needs to acquire the tap position information corresponding to each tap in the double tap, and then judge the obtained tap.
  • the terminal may perform any of the double taps.
  • the tapping position information corresponding to the tapping is determined as the triggering position information of the double tapping; if the terminal determines that the obtained positional deviation between the tapping positions is not lower than the preset positional deviation threshold, the terminal may The tap position information corresponding to the first tap in the tap is determined as the trigger position information of the double tap.
  • the terminal When the terminal recognizes that the type of the tap action is at least three taps within a preset time, the specific method for the terminal to determine the trigger position information of at least three taps and the terminal determine the double tap of the preset time.
  • the method for triggering the location information is similar, and details are not described herein again.
  • the specific content of the trigger location information includes, but is not limited to, the state indication information listed above, and other content of the trigger location information is not described herein again in the embodiment of the present invention.
  • the terminal searches for a tap response event that matches the identified type of tap action and matches the acquired trigger position information.
  • the method for the terminal to find the tap response event is similar to the method for the terminal in the first embodiment to find the tap response event.
  • the terminal may search for a tap response event event that matches the identified type of tap action and the obtained trigger position information in a set of tap events pre-stored in the terminal.
  • the matching relationship between the tapping response event and the type of the tapping action and the triggering location information of the terminal may be that the server is a fixed preset for the terminal, and is saved in the terminal in the form of a set of tapping events.
  • the matching relationship between the tapping response event and the type of the tapping action and the triggering location information may be pre-recorded by the server according to the personal operation preference of the end user, and saved in the terminal in the form of a set of tapping events. Matching relationship.
  • the terminal may obtain, by sending an event request message including the identified tap action type and trigger position information to the server, the tap response response event matching the recognized tap action type and the trigger position information from the server end.
  • the matching relationship between the tap response event and the type of the tap action and the trigger position information may be that the server fixes the preset for the terminal and saves the matching relationship in the server; or, the type of the tap response event and the tap action
  • the matching relationship between the trigger position information may be pre-recorded by the server according to the personal operation preference of the end user, and the matching relationship stored in the server is saved.
  • the server may also configure or record the server for the terminal, and the matching relationship between the tap response event and the type of the tap action and the trigger position information is saved in the server in the form of a set of tap events.
  • the terminal performs a tap response event.
  • the method for the terminal to perform the tap response event may include: the terminal switches the terminal from the first state to the second state; or the terminal invokes an application that matches the type of the tap action.
  • the terminal can switch the terminal from the first state to the second state.
  • the specific implementation of the application that matches the type of the tapping action can be referred to the related description in the specific application scenario in Embodiment 6 of the present invention. The embodiment will not be described again here.
  • the method of the embodiment of the present invention may further include:
  • S303b The terminal acquires current state information of the terminal.
  • the method for acquiring the current state information of the terminal by the terminal may refer to the method for obtaining the current state information of the terminal by using the terminal in Embodiment 2, which is not described herein again.
  • S303a may be performed first, and then S303b may be performed; S303b may be performed first, then S303a may be performed; and S303a and S303b may be simultaneously performed.
  • the sequence in which S303a and S303b are executed in the embodiment of the present invention is not limited.
  • S304a can be replaced with S304b:
  • S304b The terminal searches for a tap response event that matches the identified type of tap action and matches the acquired current state information and the acquired trigger location information.
  • the terminal searches for a tap response event that matches the identified type of tap action and matches the acquired current state information and the acquired trigger location information, and the embodiment 2 or the embodiment
  • the method for the terminal to find the tap response event is similar to that in the S304a.
  • the specific method for the terminal to find the tap response event in the embodiment 2 or the S304 in the embodiment is not described herein.
  • the terminal may detect a tap trigger signal in a preset frequency range by using a vibration sensor; and after detecting the tap trigger signal, identify a tap action type corresponding to the tap trigger signal; Acquiring trigger position information of the tap trigger signal detected by the vibration sensor; acquiring a tap response event matching the recognized tap action type and the trigger position information; performing a tap response event.
  • the vibration sensor can detect the tap trigger signal in the preset frequency range
  • the trigger signal is detected because the terminal detects the preset frequency range (for example, the terminal detects the unconsciousness during the user's walking process).
  • the problem that the terminal is frequently set automatically caused by the trigger signal generated by the operation of the operation realizes accurate operation control of the terminal and enhances the interaction capability between the terminal and the user.
  • the terminal may obtain a matching tap response event according to the tapping action type and the trigger position information corresponding to the tap trigger signal, and the tap trigger trigger signal corresponding to the same tap action type detected by the terminal may be Find and execute different tap responses based on different trigger position information
  • the event further refines the search condition of the terminal to find the tap response event, which can achieve more accurate control of the terminal and further enhance the interaction capability between the terminal and the user.
  • the embodiment of the present invention provides a tapping control method, which can be applied to a terminal, where the terminal includes a vibration sensor, and the vibration sensor is configured to detect a tap trigger signal in a preset frequency range, and the tapping control method includes:
  • the terminal detects a tap trigger signal in a preset frequency range by using a vibration sensor.
  • the terminal and the vibration sensor in this embodiment are the same as the terminal and the vibration sensor in Embodiment 1 or 2. Therefore, the specific description of the terminal and the vibration sensor in this embodiment can be referred to Embodiment 1 or 2. The related content is not described herein again in this embodiment.
  • the terminal After detecting the tap trigger signal, the terminal identifies the type of the tap action corresponding to the tap trigger signal.
  • the specific method for the terminal to identify the type of the tap action corresponding to the tap trigger signal may refer to the related description in Embodiment 1 of the present invention, and details are not described herein again.
  • the terminal determines that the type of the tap action is at least three taps within a preset time.
  • the method of the embodiment of the present invention further includes S404a, S405a, and S406. :
  • S404a The terminal acquires tapping frequency information of at least three taps within a preset time period detected by the vibration sensor.
  • the terminal can detect at least three taps within a preset time by using the vibration sensor. Obtaining a time interval of at least three taps, and then calculating tapping frequency information of at least three taps in the detected preset time according to the interval of at least three taps.
  • the specific method for the terminal to calculate the tapping frequency information of the at least three taps in the preset preset time according to the time interval of the at least three taps may refer to a specific method of hitting the frequency in the prior art, and the terminal acquires the preset.
  • the method for calculating the tapping frequency information of the at least three times of the time includes, but is not limited to, the method for calculating the tapping frequency information according to the time interval of at least three tappings, and the method for the terminal acquiring the tapping frequency information, which is not in this embodiment of the present invention. Let me repeat.
  • the terminal searches for a tap response event that matches at least three taps within a preset time and matches the acquired tap frequency information.
  • the method for the terminal to find the tap response event is similar to the method for the terminal in the first embodiment to find the tap response event.
  • the terminal may search for a tap response event that matches at least three taps and the acquired trigger location information within the preset preset time in the set of tap events pre-stored in the terminal.
  • the matching relationship in the terminal may be that the server fixes the preset for the terminal, and the matching in the terminal is saved in the form of a tap event set. Relationship; or, the matching relationship between the tap response event and at least three taps in the preset time and the trigger position information may be pre-recorded by the server according to the personal operation preference of the end user, and saved in the form of a tap event set. The matching relationship in the terminal.
  • the terminal may acquire at least three taps from the server and the identified preset time by sending an event request message including at least three taps and trigger position information within the preset preset time to the server.
  • a tap response event that matches the trigger location information.
  • the matching relationship between the tap response event and the at least three taps and the trigger location information in the preset time may be a fixed preset of the server for the terminal and a matching relationship saved in the server; or, the tap response event and the The matching relationship between at least three taps and the trigger position information within the preset time may be pre-recorded by the server according to the personal operation preference of the end user, and the matching relationship stored in the server is saved.
  • the server may also configure or record the server for the terminal, and the matching relationship between the tap response event and the at least three taps and the trigger position information in the preset time is saved in the form of a tap event set. The server.
  • the terminal performs a tap response event.
  • the method for the terminal to perform the tap response event may include: the terminal switches the terminal from the first state to the second state; or the terminal invokes an application that matches the type of the tap action.
  • the terminal can switch the terminal from the first state to the second state.
  • the specific implementation of the application that matches the type of the tapping action can be referred to the related description in the specific application scenario in Embodiment 6 of the present invention. The embodiment will not be described again here.
  • the method of the embodiment of the present invention further includes :S404a, S404b, S405b, and S406:
  • the terminal acquires trigger position information of the tap trigger signal detected by the vibration sensor.
  • the method for the terminal to obtain the trigger position information of the tap trigger signal detected by the vibration sensor may refer to the specific description in Embodiment 1, Embodiment 2 or Embodiment 3 of the present invention, and the embodiment of the present invention no longer Narration.
  • S404a may be executed first, and then S404b may be executed; S404b may be executed first, and then S404a may be executed; and S404a and S404b may be simultaneously executed.
  • the sequence of execution of S404a and S404b is not limited in the embodiment of the present invention.
  • the terminal searches for a tap response event that matches at least three taps in the preset time and matches the acquired tap frequency information and the acquired trigger position information.
  • the method for the terminal to find the tap response event is similar to the method for the terminal in the first embodiment to find the tap response event.
  • the method of the embodiment of the present invention further includes S404a, S404c, S405cb and S406:
  • S404c The terminal acquires current state information of the terminal.
  • the method for acquiring the current state information of the terminal by the terminal may refer to the method for obtaining the current state information of the terminal by using the terminal in Embodiment 2, which is not described herein again.
  • S404a may be executed first, and then S404c may be executed; S404c may be executed first, then S404a may be executed; and S404a and S404c may be simultaneously executed.
  • the sequence of execution of S404a and S404c is not limited in the embodiment of the present invention.
  • S405a can also be replaced by S405c:
  • S405c The terminal searches for a tap response event that matches at least three taps in the preset time and matches the acquired tap frequency information and the acquired current state information.
  • the terminal searches for a tap response event that matches at least three taps within the preset preset time and matches the acquired current state information, and the terminal in Embodiment 2 or Embodiment 3.
  • the method for finding a tap response event is similar.
  • the specific method for the terminal to find a tap response event in the embodiment 2 or the embodiment 3 is not described herein again.
  • the method of the embodiment of the present invention further includes S404a, S404b, S404c, S405d, and S406:
  • sequence of execution of S404a, S404b, and S404c is not limited in the embodiment of the present invention.
  • S405a can also be replaced by S405d:
  • S405d The terminal searches for a tap response event that matches at least three taps in the preset time and matches the acquired tap frequency information, the acquired trigger position information, and the acquired current state information.
  • the terminal searches for a hit that matches at least three taps within the identified preset time, and matches the acquired tap frequency information, the acquired trigger location information, and the acquired current state information.
  • the method for responding to the response event is similar to the method for the terminal to find the response response event in the second embodiment or the third embodiment.
  • the specific method for the terminal to find the response response event in the embodiment 2 or the embodiment 3 is not used in the embodiment of the present invention. Let me repeat.
  • the terminal may detect the tap trigger signal in the preset frequency range by using the vibration sensor; and after identifying the tap trigger signal, if the tap action type corresponding to the tap trigger signal is recognized For at least three taps in a preset time, acquiring tapping frequency information of at least three taps within a preset time; acquiring trigger position information and/or current position information; acquiring at least three taps with a preset time a tap response event that matches the tap frequency information and matches the trigger location information and/or the current location information; performs a tap response event.
  • the vibration sensor can detect the tap trigger signal in the preset frequency range
  • the trigger signal is detected because the terminal detects the preset frequency range (for example, the terminal detects the unconsciousness during the user's walking process).
  • the problem that the terminal is frequently set automatically caused by the trigger signal generated by the operation of the operation realizes accurate operation control of the terminal and enhances the interaction capability between the terminal and the user.
  • the terminal can acquire a tap response response event that matches at least three tapping and tapping frequency information within the preset time and matches the trigger position information and/or the current location information, and further refines the terminal to find the tap response.
  • the search condition of the event can achieve more accurate control of the terminal and further enhance the interaction capability between the terminal and the user.
  • the embodiment of the present invention provides a tapping control method, which can be applied to a terminal, where the terminal includes a vibration sensor, and the vibration sensor is configured to detect a tap trigger signal in a preset frequency range, and the tapping control method includes:
  • the terminal detects a tap trigger signal in a preset frequency range by using a vibration sensor.
  • the terminal in this embodiment is the same as the terminal and the vibration sensor in the first embodiment or the second embodiment
  • the vibration sensor in the present embodiment is the same as the vibration sensor in the first embodiment or the second embodiment. Therefore, for a detailed description of the terminal and the vibration sensor in this embodiment, reference may be made to the specific description of the related content in Embodiment 1 or Embodiment 2, and details are not described herein again.
  • the terminal After detecting the tap trigger signal, the terminal identifies the type of the tap action corresponding to the tap trigger signal.
  • the specific method for the terminal to identify the type of the tap action corresponding to the tap trigger signal may refer to the related description in Embodiment 1 of the present invention, and details are not described herein again.
  • the method of the embodiment of the present invention further includes S503a:
  • the terminal determines that the type of the tap action is a double tap in a preset time.
  • the embodiment of the present invention may also include: S504a, S505a, and S506:
  • S504a The terminal acquires the tapping direction information of the double tapping in the preset time period detected by the vibration sensor.
  • the terminal When the tap action type is a double tap in the preset time, the terminal obtains two tap position information for the double tap in the preset time, and the terminal can obtain the two taps according to the obtained
  • the hit position information determines the tap direction information of the double tap.
  • the tap location information acquired by the terminal may be an intersection of any three sides of the mobile phone surface as a coordinate origin, and the three sides of the intersection are respectively an x-axis, a y-axis, and a z-axis.
  • the terminal can compare the obtained two tap position information (x1, y1, z1) and (x2, y2, z2 after acquiring two tap position information)
  • the change of the three coordinate parameters in the system determines the coordinate value with the largest change of the parameter (such as the parameter change of x1 becomes x2), and then determines the knock of the double tap according to the change of x1 to x2 according to the x-axis parameter. Hit direction information.
  • the terminal searches for a tap response event that matches the double tap in the preset time and matches the obtained tap direction information.
  • the method for the terminal to find the tap response event is similar to the method for the terminal to find the tap response event in the other embodiments of the present invention, and details are not described herein again.
  • the present invention may further include: S504a, S504b, S505b, and S506:
  • S504b The terminal acquires current state information of the terminal.
  • S505b The terminal searches for a tap response event that matches the double tap in the preset time and matches the obtained tap direction information and the acquired current state information.
  • the method of the embodiment of the present invention further includes S503b:
  • the terminal determines that the type of the tap action is at least three taps within a preset time.
  • the first situation in the second application scenario of this embodiment may further include S504c, S505c, and S506 after the terminal determines that the type of the tap action is at least three taps within a preset time:
  • S504c The terminal acquires tapping direction information of at least three taps within a preset time period detected by the vibration sensor.
  • the specific method for the terminal to obtain the tapping direction information of the at least three taps in the preset time period detected by the vibration sensor is compared with the preset time obtained by the terminal acquiring the vibration sensor in the embodiment.
  • the method of tapping the direction information of the double tap is similar, and the details of the embodiment of the present invention are not described herein again.
  • S505c The terminal searches for a tap response event that matches at least three taps in the preset time and matches the obtained tap direction information.
  • the implementation of the example may further include S504c, S504d, S505d, and S506:
  • S504d The terminal acquires tapping frequency information of at least three taps in the preset time period detected by the vibration sensor.
  • the specific method for the terminal to obtain the tapping frequency information of the at least three taps in the preset time is similar to the method of the tapping frequency information of the double tapping in the terminal preset time in the embodiment. The examples are not described here.
  • S505d The terminal searches for a tap response event that matches at least three taps in the preset time and matches the obtained tap direction information and the acquired tap frequency information.
  • the method for the terminal to find the tap response event is similar to the method for the terminal to find the tap response event in the other embodiments of the present invention, and details are not described herein again.
  • the terminal is indeed After the tap action type is at least three taps in the preset time, the method in this embodiment may further include S504b, S504c, S505e, and S506:
  • S505e The terminal searches for a tap response event that matches at least three taps in the preset time and matches the obtained tap direction information and the acquired current state information.
  • the method in this embodiment may further Including S504b, S504c, S504d, S505f and S506:
  • S505f The terminal searches for a tap response event that matches at least three taps in the preset time, and matches the obtained tap direction information, the acquired tap frequency information, and the acquired current state information.
  • the terminal performs a tap response event.
  • the method for the terminal to perform the tap response event may include: the terminal switches the terminal from the first state to the second state; or the terminal invokes an application that matches the type of the tap action.
  • the terminal can switch the terminal from the first state to the second state.
  • the specific implementation of the application that matches the type of the tapping action can be referred to the related description in the specific application scenario in Embodiment 6 of the present invention. The embodiment will not be described again here.
  • the terminal may detect the tap trigger signal in the preset frequency range by using the vibration sensor; and after identifying the tap trigger signal, if the tap action type corresponding to the tap trigger signal is recognized
  • the tapping direction information obtained for a double tap in a preset time or at least three taps in a preset time; searching for a double tap in a preset time or at least three taps in a preset time
  • a knock response event that matches and matches a double tap or a matched preset time; performs a tap response event.
  • the vibration sensor can detect the tap trigger signal in the preset frequency range. No. Therefore, the problem that the terminal is frequently set automatically due to the trigger signal detected by the terminal outside the preset frequency range (such as the trigger signal generated by the terminal detecting the unintentional shaking operation during the user's walking) is avoided, and the terminal is realized. Accurate operation control enhances the interaction between the terminal and the user.
  • the terminal can acquire two times of taps within a preset time or at least three taps within a preset time and double taps or matches within a preset time, and with trigger position information and/or current position information
  • the matching tap response event further refines the search condition of the terminal to find the tap response event, which can achieve more accurate control of the terminal and further enhance the interaction capability between the terminal and the user.
  • the terminal in the embodiment of the present invention may be a terminal including a vibration sensor, such as an electronic device such as a smart phone or a palmtop computer.
  • the mobile phone is taken as an example.
  • the mobile phone is equipped with a vibration sensor capable of detecting a tap trigger signal within a preset frequency range.
  • the vibration sensor can detect a high frequency signal having a frequency range of 200 Hz or more.
  • the vibration sensor can detect a high frequency signal of 250 Hz to 400 Hz.
  • the type of the tap action includes: a single tap, a double tap, and a continuous tap trigger within a preset time.
  • the mobile phone can detect the tapping trigger signal in the preset frequency range by using the vibration sensor, and the tapping trigger signal is generated by the vibration sensor detecting the tapping action of the user on the terminal, identifying the type of the tapping action corresponding to the tapping trigger signal, and then searching A tap response event that matches the type of tap action.
  • the mobile phone can mute the mobile phone; if the mobile phone passes the vibration sensor to detect When the type of the tapping action corresponding to the tap trigger signal is a double tap in a preset time, the mobile phone can unlock the mobile phone; if the tapping action type corresponding to the tap trigger signal detected by the mobile phone through the vibration sensor For at least three taps within a preset time, the phone can perform a shutdown operation on the phone.
  • the mobile phone may search for a tap response event that matches the identified type of tap action in the set of tap events pre-stored in the mobile phone; the mobile phone may also send the type of the tap action included by the mobile phone to the server.
  • the event request message acquires a tap response event that matches the identified type of tap action from the server.
  • the server may also save the matching relationship between the tap response event and the type of the tap action configured or recorded by the server for the terminal in the form of a set of tap events.
  • the tap response event "mute” matches the tap action type “single tap in the preset time”;
  • the tap response event “unlock” matches the tap action type “double tap in the preset time”;
  • the mobile phone can detect a single tapping action within a preset time by using a vibration sensor. After that, not only can the phone be muted, but also other tap response events, such as “lighting the phone screen” and “turning off the phone screen”; accordingly, the phone can detect the preset time by the vibration sensor. After two or at least three tapping actions, not only can the phone be “unlocked” or “powered off”, but other tap response events can also be performed.
  • the mobile phone can detect the tap trigger signal in the preset frequency range by using the vibration sensor, can obtain an accurate tap signal, and automatically set the mobile phone according to the type of the user tapping action received, which can reduce the current
  • the user sets the mobile phone when the user sets the mobile phone, the automatic setting of the mobile phone is quickly realized, and the interaction capability between the mobile phone and the user is enhanced.
  • the mobile phone can detect the tapping trigger signal in the preset frequency range by using the vibration sensor, and the tapping trigger signal is generated by the vibration sensor detecting the tapping action of the user on the terminal, and identifying the type of the tapping action corresponding to the tapping trigger signal, and acquiring the The current status information of the phone, and then find a tap response event that matches the type of tap action and the current state information of the phone.
  • the mobile phone can detect the tap trigger signal in the preset frequency range by using the vibration sensor, identify the type of the tap action corresponding to the tap trigger signal, obtain the current state information of the mobile phone, and then according to the type of the tap action and the current state of the mobile phone.
  • the information looks for a tap response event that matches the type of tap action and the current state information of the phone.
  • the mobile phone may be automatically set differently.
  • the mobile phone may perform different automatic setting on the mobile phone when receiving the tapping trigger signal with different types of tapping actions.
  • the mobile phone can mute the mobile phone; if the mobile phone is in an incoming call, it is detected by the vibration sensor. If the user double-clicks within the preset time, the mobile phone can reject the incoming call; if the mobile phone detects the user's at least three taps within the preset time by the vibration sensor, the mobile phone can automatically shut down. .
  • the tap response event "mute” and the tap action type “single tap in a preset time” + the current state information of the mobile phone is "incoming call” Matching; tap response event “rejected call” and tap action type “double tap in preset time” + current status information of mobile phone matches “call”; tap response event “shutdown” and knock
  • the action type "at least three taps in the preset time” + the current status information of the mobile phone is "call” matching.
  • the mobile phone detects the user's single tap in the preset time by the vibration sensor, and can not only mute the mobile phone, but also perform other operations. Tap the response event, such as "mute and close the phone screen", automatically reply to the message such as "in a meeting, reply later", etc.
  • the mobile phone detects that the user is Double tapping during preset time or connection within preset time After at least three taps are triggered, not only can the phone be rejected or shut down, but other tap response events can also be performed.
  • the mobile phone may perform different automatic settings on the mobile phone when receiving the tap trigger signal of the same type of tap action.
  • the mobile phone may perform silent setting on the mobile phone after detecting a single tap of the user within a preset time; and if the current status information of the mobile phone is In the "lock screen” state, the mobile phone can "unlock” the mobile phone after detecting a single tap of the user within a preset time; if the current state information of the mobile phone is "unlocked", the mobile phone is detecting After a single tap of the user within a preset time, the phone can be "locked” and the like.
  • the mobile phone can detect the tap trigger signal in the preset frequency range by using the vibration sensor, can obtain an accurate tap signal, and automatically set the mobile phone according to the received user tapping action type combined with the current state of the mobile phone.
  • the operation in the prior art when the user sets the mobile phone can be reduced, the fast automatic setting of the mobile phone in different states is realized, and the interaction capability between the terminal and the user is enhanced.
  • the mobile phone can detect the tapping trigger signal in the preset frequency range by using the vibration sensor, and the tapping trigger signal is generated by the vibration sensor to detect the tapping action of the user on the terminal, and the type of the tapping action corresponding to the tapping trigger signal is recognized, and the triggering is obtained.
  • the location information is then searched for a tap response response event that matches the identified type of tap action and the obtained trigger position information, and the found tap response time is executed.
  • the trigger location information may be a location on the terminal triggered by a tap received by the terminal.
  • the trigger position information may be: a tap is triggered on the front screen of the terminal, and a tap is triggered on the back of the terminal.
  • the tap On the back of the face, the tap is triggered above the screen bounded by the center of the front screen of the terminal, the tap is triggered at the bottom of the screen bounded by the center of the front screen of the terminal, and the tap is triggered at the center of the front screen of the terminal To the left of the screen, the tap is triggered to the right of the screen bounded by the center of the front screen of the terminal.
  • the mobile phone can perform different automatic settings on the mobile phone.
  • the screen brightness can be increased; if the mobile phone detects through the vibration sensor When the user taps a single time within a preset time below the screen centered on the front of the front screen of the mobile phone, the screen brightness can be lowered.
  • the mobile phone detects the “single tap in the preset time” of the “above the screen of the front screen of the mobile phone” by the vibration sensor, and can not only increase the screen brightness, but also Perform other tap response events, such as "open the corresponding application software (such as turning on the traffic monitoring software and allocating traffic to the current application to increase the traffic usage of the current application)"; correspondingly, the mobile phone receives When the user taps a single time within a preset time below the screen bounded by the center of the front screen of the mobile phone, not only the screen brightness but also other tap response events can be performed.
  • the mobile phone can perform different automatic settings on the mobile phone.
  • the screen brightness can be increased; if the mobile phone detects through the vibration sensor that the user is within the preset time above the screen centered on the front screen of the mobile phone When double tapping, you can increase the volume of the mobile phone; if the mobile phone detects through the vibration sensor that the user taps a single time within the preset time below the screen bounded by the center of the front screen of the mobile phone, the screen brightness can be lowered. If the mobile phone detects through the vibration sensor that the user double-clicks within the preset time below the screen bounded by the center of the front screen of the mobile phone, the volume of the mobile phone can be lowered.
  • the mobile phone can detect the tap trigger signal in the preset frequency range by using the vibration sensor, can obtain an accurate tap signal, and automatically set the mobile phone according to the received user tapping action type combined with the current state of the mobile phone.
  • the operation of the user in setting the mobile phone in the prior art can be reduced, and the interaction capability between the terminal and the user is enhanced.
  • the mobile phone can detect the tap trigger signal in the preset frequency range by using the vibration sensor, obtain the type of the tap action, the current state information of the mobile phone, and the trigger position information, and then according to the type of the tap action, the current state information of the mobile phone, and the trigger position information.
  • a tap response event is found in the tap event set, and the tap response event matches the type of the tap action, the current state information of the mobile phone, and the trigger location information.
  • the mobile phone when the current state of the mobile phone is in the “play music” state, if the mobile phone detects through the vibration sensor that the user has a single tap in a preset time above the screen bounded by the center of the front screen of the mobile phone, The mobile phone can increase the volume of the music played by the mobile phone; when the current state of the mobile phone is the "play music” state, if the mobile phone detects through the vibration sensor that the user is within the preset time below the screen centered on the front screen of the mobile phone When you tap a single tap, the phone can lower the volume of the music played by the phone.
  • the mobile phone detects through the vibration sensor that the user is on the screen bounded by the center of the front screen of the mobile phone When a single tap in the preset time on the left side of the screen, the mobile phone plays the last music; when the current state of the mobile phone is the "play music" state, if the mobile phone detects the user on the front screen of the mobile phone through the vibration sensor When the center is a single tap on the right side of the screen on the right side of the screen, the mobile phone can play the next music.
  • the mobile phone When the mobile phone is currently in the "Browse Picture” state, if the mobile phone detects by the vibration sensor that the user has a single tap in the preset time above the screen bounded by the center of the front screen of the mobile phone, the mobile phone displays a picture; when the mobile phone is currently in the "Browse Picture” state, if the mobile phone detects through the vibration sensor that the user has a single tap within a preset time below the screen bounded by the center of the front screen of the mobile phone, The phone displays the next picture.
  • the mobile phone searches for a tap response event in the tap event set according to the type of the tap action, the current state information of the mobile phone, and the trigger location information, including but not limited to the method in the above example, for example, when the mobile phone is currently in the “before” Use the rear camera to shoot the status.
  • the mobile phone switches the shooting mode to “use front” "Camera shooting mode”; when the phone is currently in the "Use front camera shooting” state, if the phone receives a single tap in the preset time below the screen bounded by the center of the front screen of the phone When the phone switches the shooting mode to “Pattern shot with the rear camera”.
  • the mobile phone according to the type of tapping action and the current status information of the mobile phone And other methods for finding a tap response event in the tap event set in the tapping event set are not described herein again.
  • trigger types are combined with the current state information of different mobile phones, the trigger position information of different tap triggers, and the tap response event.
  • the matching relationship between the tap response event and the type of tap action, the current state information of the mobile phone, and the trigger position information of the tap trigger is preset by the system, or pre-recorded according to the user's personal operation preferences.
  • the mobile phone can detect the tap trigger signal in the preset frequency range by using the vibration sensor, can obtain an accurate tap signal, and combine the current state of the mobile phone according to the type of the user tapping action received, and different knocks.
  • the trigger position information triggered by the trigger automatically sets the mobile phone, which can reduce the operation when the user sets the mobile phone in the prior art, realizes the fast automatic setting of the mobile phone in different states, and enhances the user experience.
  • the mobile phone may obtain the change information of the tapping frequency information tapping frequency triggered by the tapping after acquiring the tapping action type. And searching for a tap response event in the bridge machine tap event set according to the tap frequency information triggered by the tap.
  • the tap action type is at least three taps within a preset time
  • different tap frequency information matches different tap response events in the tap event set.
  • the mobile phone can determine whether the interval between two adjacent tapping times exceeds a preset threshold. Generate corresponding instructions and then correspond to different tap response events according to different instruction combinations. For example, “1” represents that the time interval is higher than the preset threshold, and “0” represents that the time interval is lower than the preset threshold.
  • the mobile phone can generate “100”, “101”, “110”, “001” according to the tapping frequency information of the user tapping the mobile phone. And an instruction such as "001", and a hit response event event that matches the four taps in the preset time and matches the tapping frequency information triggered by the tap.
  • the tap response event may be to switch the mobile phone from the first state to the second state; or the mobile phone invokes an application that matches the type of the tap action.
  • the mobile phone can detect the tap trigger signal in the preset frequency range by using the vibration sensor, and can obtain an accurate tap signal, and combine the tapping frequency information triggered by the tap according to the identified type of user tap action.
  • Automatic setting of the mobile phone can reduce the operation of the user in setting the mobile phone in the prior art, and enhance the interaction capability between the terminal and the user.
  • the mobile phone searches for a tap response event in the tap event set according to the type of the tap action, which may include: the mobile phone according to the type of the tap action and the tapping frequency information triggered by the tap, combined with the trigger position triggered by the tap. At least one of the information and the current state information of the terminal looks up the tap response event in the set of tap events.
  • the mobile phone searches for the tap in the set of tapping events according to at least one of the triggering position information triggered by the tapping action and the triggering position information of the tapping and the current state information of the terminal according to the type of the tapping action and the tapping triggered triggering frequency information.
  • the method of responding to the event refer to the related description in the application scenario, and no further details are provided in this application scenario.
  • the tap event set includes: at least one of the tap response events; a tap response event and the tap action type and current state information of the terminal, trigger position information of the tap trigger, and the tap trigger.
  • the matching relationship between at least one of the tapping frequency information servers is preset for the mobile phone.
  • At least three taps within the preset time may be triggered by directional continuous taps within a preset time.
  • the mobile phone when the current state of the mobile phone is in the "play music” state, if the mobile phone receives the user When at least three taps in the top-down preset time on the front screen of the mobile phone, the mobile phone can increase the volume of the music played by the mobile phone; for example, when the current state of the mobile phone is "playing music" status When the mobile phone receives at least three taps from the bottom-up preset time on the front screen of the mobile phone, the mobile phone can lower the volume of the music played by the mobile phone.
  • the mobile phone when the current state of the mobile phone is in the “play music” state, if the mobile phone receives at least three taps from the top-down preset time on the front screen of the mobile phone, the mobile phone plays on the mobile phone. a piece of music; when the current state of the phone is the "play music” state, the phone can play if the phone receives at least three taps from the bottom-up preset time on the front screen of the phone. Next music.
  • the method for acquiring and executing the corresponding tap response event according to the directionality of at least three tap triggers in the preset time includes, but is not limited to, the above enumerated methods, and other tap control methods are in this embodiment of the present invention. No longer.
  • the mobile phone can detect the tap trigger signal in the preset frequency range by using the vibration sensor, can obtain an accurate tap signal, and combine the tapping frequency information triggered by the tap according to the type of the user tapping action received.
  • the directionality of the continuous tapping triggers the automatic setting of the mobile phone, which can reduce the operation of the user in setting the mobile phone in the prior art, and enhance the interaction capability between the terminal and the user.
  • the embodiment of the present invention further provides a terminal.
  • the terminal includes: a vibration sensor 71 and a processor 72.
  • the vibration sensor 71 is configured to detect a tap trigger signal in a preset frequency range.
  • the processor 72 is configured to identify the location after the vibration sensor 31 detects the tap trigger signal The type of the tap action corresponding to the tap trigger signal is obtained; the tap response event matching the identified type of the tap action is acquired; and the tap response event is executed.
  • the processor 72 may directly execute the obtained tap response event by the processor 72; or, After acquiring the tap response event matching the type of the tap action, the device 72 may control the hardware module corresponding to the acquired tap response event to execute the tap response event.
  • the processor 72 is further configured to acquire current state information of the terminal after the vibration sensor 31 detects the tap trigger signal.
  • the processor 72 is further configured to search for a tap response event that matches the identified type of tap action and matches the acquired current state information.
  • the processor 72 is further configured to acquire, after the vibration sensor 31 detects the tap trigger signal, the detected by the vibration sensor.
  • the trigger position information of the tap trigger signal is further configured to acquire, after the vibration sensor 31 detects the tap trigger signal, the detected by the vibration sensor.
  • the processor 72 is further configured to search for a tap response event that matches the identified type of tap action and matches the acquired trigger position information.
  • the processor 72 is further configured to acquire current status information of the terminal after the vibration sensor 31 detects the tap trigger signal.
  • the processor 72 is further configured to match the identified type of the tap action, and match the acquired current state information and the acquired trigger location information.
  • the tap responds to the event.
  • the type of the tap action in the embodiment of the present invention may include: a preset time A single tap within, a double tap within a preset time, and at least three taps within a preset time.
  • the processor 72 is further configured to: if the type of the tap action is identified as at least three taps in the preset time, After the tapping action type corresponding to the tap trigger signal, the tapping frequency information of the at least three taps in the preset time period detected by the vibration sensor is acquired.
  • the processor 72 is further configured to search for a tap that matches at least three taps in the preset time and matches the acquired tap frequency information. Hit the response event.
  • the processor 72 is further configured to: if it is recognized that the type of the tap action is at least three taps within the preset time, After the tapping action type corresponding to the tap trigger signal, the tapping frequency information of the at least three taps in the preset time period detected by the vibration sensor is acquired.
  • the processor 72 is further configured to search for at least three taps in the preset time, and obtain the hit frequency information and the acquired information. A tap response event that matches the current state information.
  • the processor 72 is further configured to: if it is recognized that the type of the tap action is at least three taps within the preset time, After the tapping action type corresponding to the tap trigger signal, the tapping frequency information of the at least three taps in the preset time period detected by the vibration sensor is acquired.
  • the processor 72 is further configured to search for at least three hits in the preset time, and obtain the hit frequency information and the acquired information. A tap response event that matches the trigger location information.
  • the processor 72 is further configured to: And if the tapping action type is the at least three taps in the preset time period, after the tapping action type corresponding to the tap trigger signal is recognized, acquiring the The tapping frequency information of at least three taps within a preset time.
  • the processor 72 is further configured to search for at least three hits in the preset time, and obtain the hit frequency information and the acquired information. A tap response event that matches the trigger location information and the acquired current state information.
  • the processor 72 is further configured to: if the tap action type is recognized as at least three taps within the preset time, After the tap trigger signal is detected, after identifying the tap action type corresponding to the tap trigger signal, the tap direction information of the at least three taps in the preset time period detected by the vibration sensor is acquired.
  • the processor 72 is further configured to search for a tap that matches at least three taps in the preset time and matches the obtained tap direction information. Hit the response event.
  • the processor 72 is further configured to detect if the type of the tap action is at least three times of the preset time After the tapping trigger signal is obtained, after identifying the type of the tapping action corresponding to the tapping trigger signal, acquiring the tapping direction information of the at least three taps in the preset time period detected by the vibration sensor and The vibration sensor detects the tapping frequency information of the at least three taps in the preset time period.
  • the processor 72 is further configured to search for at least three hits in the preset time, and the obtained tap direction information and the obtained knock A tap response event that matches the frequency information.
  • the processor 72 is further configured to detect if the type of the tap action is at least three times of the preset time Go to the place After the triggering signal is detected, after identifying the type of the tapping action corresponding to the tapping trigger signal, acquiring the tapping frequency information of at least three taps in the preset time detected by the vibration sensor, and tapping Direction information and current status information of the terminal.
  • the processor 72 is further configured to search for at least three taps in the preset time, and obtain the obtained tap frequency information and acquired information. A tap response response event that matches the direction information and the acquired current state information.
  • the processor 72 if it is recognized that the tapping action type is at least three taps within the preset time, After the tapping action type corresponding to the trigger signal is tapped, the tapping direction information of the double tapping in the preset time period detected by the vibration sensor is acquired.
  • the processor 72 is further configured to search for a double tap that matches the preset time and match the obtained tap direction information. Tap the response event.
  • the processor 72 is further configured to: if it is recognized that the type of the tap action is at least three taps within the preset time, After the type of the tap action corresponding to the tap trigger signal is identified, the tap direction information of the double tap in the preset time and the current state information of the terminal that are detected by the vibration sensor are acquired.
  • the processor 72 is further configured to search for a double tap that matches the preset time, and obtain the tap direction information and obtain the The current state information matches the tap response event.
  • the terminal provided by the embodiment of the invention can detect the knocking in the preset frequency range by using the vibration sensor
  • the trigger signal is detected; after the tap trigger signal is detected, the type of the tap action corresponding to the tap trigger signal is recognized; the tap response event matching the identified type of the tap action is acquired; and the tap response event is executed.
  • the vibration sensor can detect the tap trigger signal in the preset frequency range
  • the trigger signal is detected because the terminal detects the preset frequency range (for example, the terminal detects the unconsciousness during the user's walking process).
  • the problem that the terminal is frequently set automatically caused by the trigger signal generated by the operation of the operation realizes accurate operation control of the terminal and enhances the interaction capability between the terminal and the user.
  • the terminal can be any one of a device such as a mobile phone, a tablet, a PDA, a POS, a car computer, and a wearable device.
  • a device such as a mobile phone, a tablet, a PDA, a POS, a car computer, and a wearable device.
  • FIG. 16 is a block diagram showing a partial structure of a mobile phone 100 related to an embodiment of the present invention.
  • the mobile phone 100 may include: a vibration sensor 110 , a memory 120 , an input unit 130 , a display unit 140 , a radio frequency (RF) circuit 150 , an audio circuit 160 , and a wireless fidelity module. 170, processor 180, and power supply 190 and other components.
  • RF radio frequency
  • the structure of the handset shown in FIG. 16 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
  • the vibration sensor 110 can be used to detect a tap trigger signal in a preset frequency range; specifically, the frequency range of the signal that the shock sensor can collect is generally between 250 and 400 Hz.
  • the processor 180 is the control center of the handset 100, connecting various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, The various functions and processing data of the mobile phone 100 are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes The operating system, user interface, applications, etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the processor 180 may directly identify the type of the tap action corresponding to the tap trigger signal after the vibration sensor 110 detects the tap trigger signal, or call another function module to identify the tap trigger signal. Corresponding types of tapping actions, then acquiring a tap response event that matches the identified type of tapping action, and executing the tapping response event, or invoking other functional modules to execute the tapping response event. For example, the processor 180 can call the audio output module to adjust (lower or increase) the audio output volume.
  • the RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 180 processes the data. In addition, the uplink data is designed to be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the mobile phone 100 by running software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored. Data created based on the use of the mobile phone 100 (such as the number of audio) According to, phone book, etc.).
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the memory 120 is specifically configured to store a set of tap events configured by the server for the mobile phone.
  • the input unit 130 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 100.
  • the input unit 130 may include a touch panel 131 and other input devices 132.
  • the touch panel 131 also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 131 or near the touch panel 131. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 131 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch panel 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 may also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 100.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch panel 131 can cover the display panel 141, and when the touch panel 131 detects a touch operation on or near the touch panel 131, the processing is transmitted to the processing.
  • the device 180 determines the type of touch event, and the processor 180 then provides a corresponding visual output on the display panel 141 depending on the type of touch event.
  • the touch panel 131 and the display panel 141 are two independent components to implement the input and input functions of the mobile phone 100 in FIG. 1, in some embodiments, the touch panel 131 may be integrated with the display panel 141. The input and output functions of the mobile phone 100 are implemented.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the handset 100.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted to audio data, and the audio data is output to the RF circuit 108 for transmission to, for example, another mobile phone, or the audio data is output to the memory 120 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone 100 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users.
  • FIG. 1 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the mobile phone 100, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the handset 100 also includes a power source 190 (such as a battery) that supplies power to the various components.
  • a power source 190 such as a battery
  • the power source can be logically coupled to the processor 180 via a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
  • the mobile phone 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a computer device which may be a personal computer, a server, or a network device, etc.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

本发明实施例公开了一种敲击控制方法及终端,涉及通信领域,可以避免由于用户的无意识操作导致终端的频繁自动设置,实现对终端的准确操作控制,增强终端与用户之间的交互能力。具体方案为:终端通过振动传感器检测预设频率范围内的敲击触发信号;在检测到敲击触发信号后,识别敲击触发信号所对应的敲击动作类型;获取与识别到的敲击动作类型相匹配的敲击响应事件;执行敲击响应事件。本发明可以应用于终端的操作控制的过程中。

Description

一种敲击控制方法及终端
本申请要求于2013年11月22日提交中国专利局、申请号为201310596745.4、发明名称为“一种敲击控制方法及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信领域,尤其涉及一种敲击控制方法及终端。
背景技术
随着科技的发展,终端的输入方式不再局限于按键输入,触屏输入和运动传感输入越来越多的被应用到终端的使用过程中。
具体的,运动传感输入主要通过终端内置的运动传感器(如G-Sensor)感知终端运动状态的改变,并将检测到的终端运动状态改变的信号传输至终端的微处理器控制单元(Microprocessor Control Unit,MCU),MCU则可以根据运动传感器感知到的终端运动状态发生的具体改变对终端进行相应的设置,如设置手机静音、调节手机音量和屏幕亮度等。
其中,运动传感器(如G-Sensor)一般用于检测低频率信号,即终端的低频率加速运动。所述低频率主要在50HZ-200HZ之间。终端的低频率加速运动可以包括用户对终端的翻转、用户对终端时的晃动等。
存在的问题是:在终端开启G-Sensor输入对终端进行设置时,可能会由于用户行走过程中晃动手持终端或者用户运动时导致手机频繁翻转等无意识的操作,导致终端的频繁自动设置,进而影响用户对终端的正常使用,用户体验低。例如,终端可以根据用户行走过程中的无意识晃动操作将手机设置成静音状态,可能会导致该用户漏接来电,终端与用户之间的交互能力较低。
发明内容
本发明的实施例提供一种敲击控制方法及终端,可以实现对终端的准确操作控制,增强终端与用户之间的交互能力。
为达到上述目的,本发明的实施例采用如下技术方案:
本发明实施例的第一方面,提供一种敲击控制方法,可以应用于终端,所述终端包括振动传感器,所述方法包括:
通过所述振动传感器检测预设频率范围内的敲击触发信号;
在检测到所述敲击触发信号后,识别所述敲击触发信号所对应的敲击动作类型;
获取与识别到的敲击动作类型相匹配的敲击响应事件;
执行所述敲击响应事件。
结合第一方面,在一种可能的实现方式中,在所述检测到所述敲击触发信号后,所述方法还包括:
获取所述终端的当前状态信息;
所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
查找与识别到的敲击动作类型相匹配、并且与获取到的当前状态信息相匹配的敲击响应事件。
结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,在所述检测到所述敲击触发信号后,所述方法还包括:
获取通过所述振动传感器检测到的所述敲击触发信号的触发位置信息;
所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
查找与识别到的敲击动作类型相匹配、并且与获取到的触发位置信息相匹配的敲击响应事件。
结合第一方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,在所述检测到所述敲击触发信号后,所述方法还包括:
获取所述终端的当前状态信息和所述振动传感器检测到的所述敲击触发信号的触发位置信息;
所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
查找与识别到的敲击动作类型相匹配、并且与获取到的当前状态信息和获取到的触发位置信息相匹配的敲击响应事件。
结合第一方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,所述敲击动作类型,包括:预设时间内的单次敲击、预设时间内的双次敲击、预设时间内的至少三次敲击。
结合第一方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,所述方法还包括:
获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息;
所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息相匹配的敲击响应事件。
结合第一方面和上述任意一种可能的实现方式,在另一种可能的实现方式 中,若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,所述方法还包括:
获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息和所述终端的当前状态信息;
所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息和获取到的当前状态信息相匹配的敲击响应事件。
结合第一方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,所述方法还包括:
获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息和通过所述振动传感器检测到的所述敲击触发信号的触发位置信息;
所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息和获取到的触发位置信息相匹配的敲击响应事件。
结合第一方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,所述方法还包括:
获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息、所述终端的当前状态信息和通过所述振动传感器检测到的所述敲击触发信号的触发位置信息;
所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息、获取到的触发位置信息以及获取到的当前状态信息相匹配的敲击响应事件。
结合第一方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在检测到所述敲击触发信号后,识别所述敲击触发信号所对应的敲击动作类型之后,所述方法还包括:
获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击方向信息;
所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击方向信息相匹配的敲击响应事件。
结合第一方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在检测到所述敲击触发信号后,识别所述敲击触发信号所对应的敲击动作类型之后,所述方法还包括:
获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击方向信息和所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息;
所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击方向信息和获取到的敲击频率信息相匹配的敲击响应事件。。
结合第一方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,所述方法还包括:
获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息、敲击方向信息和所述终端的当前状态信息;
所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息、获取到的敲击方向信息以及获取到的当前状态信息相匹配的敲击响应事件。
结合第一方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,所述方法还包括:
获取所述振动传感器检测得到的所述预设时间内的双次敲击的敲击方向信息;
所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
查找与所述预设时间内的双次敲击相匹配、并且与获取到的敲击方向信息相匹配的敲击响应事件。
结合第一方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别 所述敲击触发信号所对应的敲击动作类型之后,所述方法还包括:
获取所述振动传感器检测得到的所述预设时间内的双次敲击的敲击方向信息和所述终端的当前状态信息;
所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
查找与所述预设时间内的双次敲击相匹配、并且与获取到的敲击方向信息以及获取到的当前状态信息相匹配的敲击响应事件。
本发明实施例的第二方面,还提供一种终端,包括:
振动传感器,用于检测预设频率范围内的敲击触发信号;
处理器,用于在所述振动传感器检测到所述敲击触发信号后,识别所述敲击触发信号所对应的敲击动作类型;获取与识别到的敲击动作类型相匹配的敲击响应事件;执行所述敲击响应事件。
结合第二方面,在一种可能的实现方式中,所述处理器,还用于在检测到所述敲击触发信号后,获取所述终端的当前状态信息;
所述处理器,还用于查找与识别到的敲击动作类型相匹配、并且与获取到的当前状态信息相匹配的敲击响应事件。
结合第二方面和上述可能的实现方式,在另一种可能的实现方式中,所述处理器,还用于在检测到所述敲击触发信号后,获取通过所述振动传感器检测到的所述敲击触发信号的触发位置信息;
所述处理器,还用于查找与识别到的敲击动作类型相匹配、并且与获取到的触发位置信息相匹配的敲击响应事件。
结合第二方面和上述可能的实现方式,在另一种可能的实现方式中,所述 处理器,还用于在检测到所述敲击触发信号后,获取所述终端的当前状态信息和所述振动传感器检测到的所述敲击触发信号的触发位置信息;
所述处理器,还用于查找与识别到的敲击动作类型相匹配、并且与获取到的当前状态信息和获取到的触发位置信息相匹配的敲击响应事件。
结合第二方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,所述敲击动作类型,包括:预设时间内的单次敲击、预设时间内的双次敲击、预设时间内的至少三次敲击。
结合第二方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,所述处理器,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息;
所述处理器,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息相匹配的敲击响应事件。
结合第二方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,所述处理器,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息;
所述处理器,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息和获取到的当前状态信息相匹配的敲击响应事件。
结合第二方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,所述处理器,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,获取所述 振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息;
所述处理器,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息和获取到的触发位置信息相匹配的敲击响应事件。
结合第二方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,所述处理器,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息;
所述处理器,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息、获取到的触发位置信息以及获取到的当前状态信息相匹配的敲击响应事件。
结合第二方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,所述处理器,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在检测到所述敲击触发信号后,识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击方向信息;
所述处理器,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击方向信息相匹配的敲击响应事件。
结合第二方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,所述处理器,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在检测到所述敲击触发信号后,识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击方向信息和所述振动传感器检测得到的所述预设时间内的至少三 次敲击的敲击频率信息;
所述处理器,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击方向信息和获取到的敲击频率信息相匹配的敲击响应事件。
结合第二方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,所述处理器,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在检测到所述敲击触发信号后,识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息、敲击方向信息和所述终端的当前状态信息;
所述处理器,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息、获取到的敲击方向信息以及获取到的当前状态信息相匹配的敲击响应事件。
结合第二方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,所述处理器,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的双次敲击的敲击方向信息;
所述处理器,还用于查找与所述预设时间内的双次敲击相匹配、并且与获取到的敲击方向信息相匹配的敲击响应事件。
结合第二方面和上述任意一种可能的实现方式,在另一种可能的实现方式中,所述处理器,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的双次敲击的敲击方向信息和所述终端的当前状态信息;
所述处理器,还用于查找与所述预设时间内的双次敲击相匹配、并且与获取到的敲击方向信息以及获取到的当前状态信息相匹配的敲击响应事件。
本发明实施例提供的敲击控制方法及终端,可以通过振动传感器检测预设频率范围内的敲击触发信号;在检测到敲击触发信号后,识别敲击触发信号所对应的敲击动作类型;获取与识别到的敲击动作类型相匹配的敲击响应事件;执行敲击响应事件。与现有技术相比,由于振动传感器可以检测预设频率范围内的敲击触发信号,因此避免了由于终端检测到预设频率范围之外的触发信号(如终端检测到用户行走过程中的无意识晃动操作生成的触发信号)而导致的终端频繁自动设置的问题,实现了对终端的准确操作控制,增强终端与用户之间的交互能力。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例1中的一种敲击控制方法流程图;
图2为本发明实施例2中的一种敲击控制方法流程图;
图3为本发明实施例3中的一种敲击控制方法流程图;
图4为本发明实施例3中的另一种敲击控制方法流程图;
图5为本发明实施例4中的一种敲击控制方法流程图;
图6为本发明实施例4中的另一种敲击控制方法流程图;
图7为本发明实施例4中的另一种敲击控制方法流程图;
图8为本发明实施例4中的另一种敲击控制方法流程图;
图9为本发明实施例5中的一种敲击控制方法流程图;
图10为本发明实施例5中的另一种敲击控制方法流程图;
图11为本发明实施例5中的另一种敲击控制方法流程图;
图12为本发明实施例5中的另一种敲击控制方法流程图;
图13为本发明实施例5中的另一种敲击控制方法流程图;
图14为本发明实施例5中的另一种敲击控制方法流程图;
图15为本发明实施例7中的一种终端的组成示意图;
图16为本发明实施例7中的一种手机的组成示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
实施例1
本发明实施例提供一种敲击控制方法,可以应用于终端,该终端包括振动传感器,振动传感器用于检测预设频率范围内的敲击触发信号,如图1所示, 该敲击控制方法包括:
S101、终端通过振动传感器检测预设频率范围内的敲击触发信号。
具体的,本发明实施例中的终端可以为包含可以检测到预设频率范围内的敲击触发信号的振动传感器的终端。其中,振动传感器可以为该智能高端中的内置传感器,也可以为与该终端存在连接关系的,可以检测到用户对终端的敲击动作的外置传感器。
示例性的,该终端可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、销售终端(Point of Sales,POS)、车载电脑以及可穿戴式设备等设备中的任意一个。
需要说明的是,现有技术中采用运动传感器(如G-Sensor)检测外来冲击、震动等对终端的触发信号时,可以检测到的触发信号为频率范围在50HZ左右的低频信号,该运动传感器能够检测到的最高频率的触发信号为200HZ的触发信号。例如,用户对终端的翻转、挥动和用户行走过程中对终端的晃动等都属于上述的低频触发。若采用G-Sensor采集用户对终端的触发信息,对终端进行相关设置,则会存在用户对终端无意识的翻转、挥动和晃动操作可能会导致G-Sensor频繁输出信号,导致终端的频繁自动设置,进而影响用户对终端的正常使用。例如,若采用G-Sensor检测外来冲击、震动等对终端的触发信号时,终端可以根据用户行走过程中的无意识晃动操作将手机设置成静音状态,可能会导致该用户漏接来电。
与现有技术中的G-Sensor相比,本发明实施例所采用的振动传感器(Shock Sensor)可以用于检测类似于用户敲击终端所产生的敲击触发信号,其中,用户敲击终端所产生的敲击触发信号的频率处于200HZ以上的频率范围。具体的,振动传感器(Shock Sensor)能够采集到的信号的频率范围一般在250-400HZ之 间。
由于本发明实施例中的振动传感器(Shock Sensor)可以采集到的信号的频率范围为250-400HZ。该频率范围中所包含的频率值远大于现有技术中G-Sensor能够采集到的最高频率值200HZ,该频率范围中所包含的频率值远大于用户对终端无意识的翻转、挥动和晃动操作的加速变化频率。因此,本发明实施例中的振动传感器(Shock Sensor),可以避免用户对终端的无意识对终端的频繁设置。
S102、终端在检测到敲击触发信号后,识别敲击触发信号所对应的敲击动作类型。
具体的,本发明实施例中的敲击动作类型,可以包括:预设时间内的单次敲击、预设时间内的双次敲击、预设时间内的至少三次敲击。
S103、终端获取与识别到的敲击动作类型相匹配的敲击响应事件。
一方面,终端可以在终端中预存的敲击事件集合中查找与识别到的敲击动作类型相匹配的敲击响应事件。其中,敲击响应事件与敲击动作类型之间的匹配关系可以为服务器为终端固定预置,并采用敲击事件集合的形式保存在终端中的匹配关系;或者,敲击响应事件与敲击动作类型之间的匹配关系可以为服务器根据终端用户的个人操作喜好预先录制,并采用敲击事件集合的形式保存在终端中的匹配关系。
另一方面,终端可以通过向服务器发送包含识别到的敲击动作类型的事件请求消息,从服务器端获取与识别到的敲击动作类型相匹配的敲击响应事件。其中,敲击响应事件与敲击动作类型之间的匹配关系可以为服务器为终端固定预置,并保存在服务器中的匹配关系;或者,敲击响应事件与敲击动作类型之间的匹配关系可以为服务器根据终端用户的个人操作喜好预先录制,并保存在 服务器中的匹配关系。示例性的,服务器也可以将该服务器为终端所配置或者录制的,敲击响应事件与敲击动作类型之间的匹配关系采用敲击事件集合的形式保存在该服务器。
S104、终端执行敲击响应事件。
具体的,终端执行敲击响应事件,可以包括:终端将终端由第一状态切换至第二状态;或者,终端调用与敲击动作类型相匹配的应用。其中,终端将终端由第一状态切换至第二状态;或者,终端调用与敲击动作类型相匹配的应用的具体实现可以参考本发明实施例6中的具体应用场景中的相关描述,本发明实施例这里不再赘述。
本发明实施例提供的敲击控制方法,终端可以通过振动传感器检测预设频率范围内的敲击触发信号;在检测到敲击触发信号后,识别敲击触发信号所对应的敲击动作类型;获取与识别到的敲击动作类型相匹配的敲击响应事件;执行敲击响应事件。与现有技术相比,由于振动传感器可以检测预设频率范围内的敲击触发信号,因此避免了由于终端检测到预设频率范围之外的触发信号(如终端检测到用户行走过程中的无意识晃动操作生成的触发信号)而导致的终端频繁自动设置的问题,实现了对终端的准确操作控制,增强终端与用户之间的交互能力。
实施例2
本发明实施例提供一种敲击控制方法,可以应用于终端,该终端包括振动传感器,振动传感器用于检测预设频率范围内的敲击触发信号,如图2所示,该敲击控制方法包括:
S201、终端通过振动传感器检测预设频率范围内的敲击触发信号。
需要说明的是,本实施例中的终端与实施例1中的终端相同,因此,本实施例中的终端的具体描述可以参考实施例1中的相关内容,本实施例这里不在赘述。
本发明实施例所采用的振动传感器(Shock Sensor)可以用于检测类似于用户敲击终端所产生的敲击触发信号,其中,用户敲击终端所产生的敲击触发信号的频率处于200HZ以上的频率范围。具体的,振动传感器(Shock Sensor)能够采集到的信号的频率范围一般在250-400HZ之间。
由于本发明实施例中的振动传感器(Shock Sensor)可以采集到的信号的频率范围为250-400HZ。该频率范围中所包含的频率值远大于现有技术中G-Sensor能够采集到的最高频率值200HZ,该频率范围中所包含的频率值远大于用户对终端无意识的翻转、挥动和晃动操作的加速变化频率(用户对终端无意识的翻转、挥动和晃动操作的加速变化频率最高为200HZ)。因此,本发明实施例中的振动传感器(Shock Sensor),可以避免用户对终端的无意识对终端的频繁设置。
S202、终端在检测到敲击触发信号后,识别敲击触发信号所对应的敲击动作类型。
需要说明的是,本实施例中终端识别敲击触发信号所对应的敲击动作类型的具体方法可以参考本发明实施例1中的相关描述,本实施例这里不再赘述。
进一步的,在本发明实施例的一种应用场景中,由于终端在通过振动传感器检测到预设频率范围内的敲击触发信号时,该终端可能处于不同的状态(如,终端正处于播放音乐的状态、终端正处于语音通信的状态、终端正处于视频通信的状态以及终端正处于视频或者照片拍摄的状态等),即终端在检测到预设频率范围内的敲击触发信号时,该终端的当前状态信息可能不同,因此,终端 或者服务器中预存的敲击事件集合中还可以包括:敲击响应事件与敲击动作类型以及终端的当前状态信息之间的匹配关系。
因此,若终端检测到同一敲击动作类型所对应的敲击触发信号时,终端的当前状态信息不同,则终端可以获取到的与该敲击动作类型相匹配的敲击响应事件可能不止一个。因此,终端在检测到所述敲击触发信号后,本发明实施例的方法还可以包括S203:
S203、获取终端的当前状态信息。
示例性的,终端的当前状态信息可以为:终端正处于播放音乐状态的状态指示信息、终端正处于语音通信状态的状态指示信息、终端正处于视频通信状态的状态指示信息、终端正处于视频或者照片拍摄状态的状态指示信息、终端正处于待机状态的状态指示信息、终端正处于锁频状态的状态指示信息和终端正处于黑屏状态的状态指示信息等状态指示信息的中任一项。并且,在本实施例中,终端在检测到同一敲击动作类型的敲击触发信号时,若该终端的当前状态信息不同,则该终端可以获取到的敲击响应事件是不同的。
例如,若终端在检测到敲击动作类型为预设时间内的单次敲击的敲击触发信号时,该终端的当前状态信息指示该终端正处于语音通信状态,则该终端获取到的敲击响应事件可以为“调高终端语音通信音量”;若终端在检测到敲击动作类型为预设时间内的单次敲击的敲击触发信号时,该终端的当前状态信息指示该终端正处于黑屏状态,则该终端获取到的敲击响应事件可以为“点亮手机屏幕”。
需要说明的是,终端的当前状态信息的具体内容包括但不限于上述所列举的状态指示信息,例如,终端的当前状态信息还可以为终端正处于通过阅读器显示文本数据的状态指示信息。终端的当前状态信息的其他内容本发明实施例 这里不再赘述。
S204、终端查找与识别到的敲击动作类型相匹配、并且与获取到的当前状态信息相匹配的敲击响应事件。
需要说明的是,本实施例中终端查找敲击响应事件的方法与实施例1中终端查找敲击响应事件的方法类似。
一方面,终端可以在终端中预存的敲击事件集合中查找与识别到的敲击动作类型和获取到的当前状态信息相匹配的敲击响应事件。
其中,敲击响应事件与敲击动作类型以及终端的当前状态信息之间的匹配关系可以为服务器为终端固定预置,并采用敲击事件集合的形式保存在终端中的匹配关系;或者,敲击响应事件与敲击动作类型以及终端的当前状态信息之间的匹配关系可以为服务器根据终端用户的个人操作喜好预先录制,并采用敲击事件集合的形式保存在终端中的匹配关系。
另一方面,终端可以通过向服务器发送包含识别到的敲击动作类型和终端的当前状态信息的事件请求消息,从服务器端获取与识别到的敲击动作类型以及终端的当前状态信息相匹配的敲击响应事件。其中,敲击响应事件与敲击动作类型以及终端的当前状态信息之间的匹配关系可以为服务器为终端固定预置,并保存在服务器中的匹配关系;或者,敲击响应事件与敲击动作类型以及终端的当前状态信息之间的匹配关系可以为服务器根据终端用户的个人操作喜好预先录制,并保存在服务器中的匹配关系。示例性的,服务器也可以将该服务器为终端所配置或者录制的,敲击响应事件与敲击动作类型以及终端的当前状态信息之间的匹配关系采用敲击事件集合的形式保存在该服务器。
S205、终端执行敲击响应事件。
具体的,终端执行敲击响应事件的方法可以包括:终端将终端由第一状态 切换至第二状态;或者,终端调用与敲击动作类型相匹配的应用。其中,终端将终端由第一状态切换至第二状态;或者,终端调用与敲击动作类型相匹配的应用的具体实现可以参考本发明实施例6中的具体应用场景中的相关描述,本发明实施例这里不再赘述。
本发明实施例提供的敲击控制方法,终端可以通过振动传感器检测预设频率范围内的敲击触发信号;在检测到敲击触发信号后,识别敲击触发信号所对应的敲击动作类型;获取终端的当前状态信息;获取与识别到的敲击动作类型以及终端的当前状态信息相匹配的敲击响应事件;执行敲击响应事件。
与现有技术相比,由于振动传感器可以检测预设频率范围内的敲击触发信号,因此避免了由于终端检测到预设频率范围之外的触发信号(如终端检测到用户行走过程中的无意识晃动操作生成的触发信号)而导致的终端频繁自动设置的问题,实现了对终端的准确操作控制,增强终端与用户之间的交互能力。
并且,终端可以根据识别敲击触发信号所对应的敲击动作类型和终端的当前状态信息获取与之匹配的敲击响应事件,终端在检测到的与同一敲击动作类型对应的敲击触发信号,可以根据不同的终端当前状态信息查找到并执行不同的敲击响应事件,更加细化了终端查找敲击响应事件的查找条件,可以实现对终端更加准确的控制,进一步增强终端与用户之间的交互能力。
实施例3
本发明实施例提供一种敲击控制方法,可以应用于终端,该终端包括振动传感器,振动传感器用于检测预设频率范围内的敲击触发信号,如图3所示,该敲击控制方法包括:
S301、终端通过振动传感器检测预设频率范围内的敲击触发信号。
需要说明的是,本实施例中的终端和振动传感器与实施例1或2中的终端和振动传感器相同,因此,本实施例中的终端和振动传感器的具体描述可以参考实施例1或2中的相关内容,本实施例这里不在赘述。
S302、终端在检测到敲击触发信号后,识别敲击触发信号所对应的敲击动作类型。
需要说明的是,本实施例中终端识别敲击触发信号所对应的敲击动作类型的具体方法可以参考本发明实施例1中的相关描述,本实施例这里不再赘述。
进一步的,在本发明实施例的一种应用场景中,由于终端在通过振动传感器检测到预设频率范围内的敲击触发信号时,终端通过振动传感器检测到的敲击触发信号的触发位置信息可能不同,因此,终端或者服务器中预存的敲击事件集合中还可以包括:敲击响应事件与敲击动作类型以及获取到的触发位置信息之间的匹配关系。
因此,若终端检测到同一敲击动作类型所对应的敲击触发信号时,终端获取到的触发位置信息不同,则终端可以获取到的与该敲击动作类型相匹配的敲击响应事件可能不止一个。因此,终端在检测到所述敲击触发信号后,本发明实施例的方法还可以包括S303a:
S303a、终端获取通过振动传感器检测到的敲击触发信号的触发位置信息。
示例性的,终端可以通过振动传感器识别该振动传感器检测到敲击动作时,该敲击动作的对该终端的敲击方位信息获取通过振动传感器检测到的敲击触发信号的触发位置信息。
示例性的,触发位置信息可以为终端通过振动传感器检测到敲击触发信号时,该敲击触发信号对应的敲击动作在终端上的敲击位置。如触发位置信息可以为:终端的正面屏幕上、终端的背面后壳上、以终端的正面屏幕的中心为界 的屏幕上方、以终端的正面屏幕的中心为界的屏幕下方、以终端的正面屏幕的中心为界的屏幕左方、以终端的正面屏幕的中心为界的屏幕右方等位置信息中的中任一项。并且,在本实施例中,终端在检测到同一敲击动作类型的敲击触发信号时,若该终端的触发位置信息不同,则该终端可以获取到的敲击响应事件是不同的。
例如,若终端在检测到敲击动作类型为预设时间内的单次敲击的敲击触发信号时,触发位置信息为以终端的正面屏幕的中心为界的屏幕左方,则该终端获取到的敲击响应事件可以为“按照预设比例调暗终端屏幕亮度”;若终端在检测到敲击动作类型为预设时间内的单次敲击的敲击触发信号时,触发位置信息为以终端的正面屏幕的中心为界的屏幕右方,则该终端获取到的敲击响应事件可以为“按照预设比例调亮终端屏幕亮度”。
需要说明的是,本发明实施例中的敲击动作类型可以包括:预设时间内的单次敲击、预设时间内的双次敲击、预设时间内的至少三次敲击。其中,预设时间可以为服务器为电子设备预先配置的,也可以是终端根据用户的时间设置操作进行配置的。一般情况下,预设时间为以秒为单位,且当终端通过振动传感器检测到一个敲击动作后,在预设时间阈值内为检测到第二个敲击动作,则终端确定本次敲击(包括:预设时间内的单次敲击、预设时间内的双次敲击、预设时间内的至少三次敲击)动作结束。其中,预设时间阈值小于预设时间。终端可以根据振动传感器检测到的一次敲击的敲击动作个数确定预设时间的长短。
进一步的,在本实施例中,当敲击动作类型为预设时间内的双次敲击、预设时间内的至少三次敲击时,对于预设时间内的多次敲击,终端获取到的触发位置信息可能不止一个。如若敲击动作类型为预设时间内的双次敲击,则该双 次敲击可能为用户对终端的不同位置的两次敲击动作,则终端可能会获取到两个触发位置信息,则可能会导致终端确定需要查找与两个触发位置信息中的具体哪一个触发位置信息相匹配的敲击响应事件。因此,该终端在识别到敲击动作类型为预设时间内的双次敲击时,则需要获取双次敲击中每一次敲击所对应的敲击位置信息,然后判断获取到的敲击位置之间的位置偏差是否低于预设位置偏差阈值,若终端确定获取到的敲击位置之间的位置偏差低于预设位置偏差阈值,则该终端可以将双次敲击中的任意一次敲击所对应的敲击位置信息确定为该双次敲击的触发位置信息;若终端确定获取到的敲击位置之间的位置偏差不低于预设位置偏差阈值,则该终端可以将双次敲击中的第一次敲击所对应的敲击位置信息确定为该双次敲击的触发位置信息。
其中,当该终端在识别到敲击动作类型为预设时间内的至少三次敲击时,终端确定至少三次敲击的触发位置信息的具体方法与终端确定预设时间内的双次敲击的触发位置信息的方法类似,本发明实施例这里不再赘述。
需要说明的是,触发位置信息的具体内容包括但不限于上述所列举的状态指示信息,触发位置信息的其他内容本发明实施例这里不再赘述。
S304a、终端查找与识别到的敲击动作类型相匹配、并且与获取到的触发位置信息相匹配的敲击响应事件。
需要说明的是,本实施例中终端查找敲击响应事件的方法与实施例1中终端查找敲击响应事件的方法类似。
一方面,终端可以在终端中预存的敲击事件集合中查找与识别到的敲击动作类型和获取到的触发位置信息相匹配的敲击响应事件。
其中,敲击响应事件与敲击动作类型以及终端的触发位置信息之间的匹配关系可以为服务器为终端固定预置,并采用敲击事件集合的形式保存在终端中 的匹配关系;或者,敲击响应事件与敲击动作类型以及触发位置信息之间的匹配关系可以为服务器根据终端用户的个人操作喜好预先录制,并采用敲击事件集合的形式保存在终端中的匹配关系。
另一方面,终端可以通过向服务器发送包含识别到的敲击动作类型和触发位置信息的事件请求消息,从服务器端获取与识别到的敲击动作类型以及触发位置信息相匹配的敲击响应事件。其中,敲击响应事件与敲击动作类型以及触发位置信息之间的匹配关系可以为服务器为终端固定预置,并保存在服务器中的匹配关系;或者,敲击响应事件与敲击动作类型以及触发位置信息之间的匹配关系可以为服务器根据终端用户的个人操作喜好预先录制,并保存在服务器中的匹配关系。示例性的,服务器也可以将该服务器为终端所配置或者录制的,敲击响应事件与敲击动作类型以及触发位置信息之间的匹配关系采用敲击事件集合的形式保存在该服务器。
S305、终端执行敲击响应事件。
具体的,终端执行敲击响应事件的方法可以包括:终端将终端由第一状态切换至第二状态;或者,终端调用与敲击动作类型相匹配的应用。其中,终端将终端由第一状态切换至第二状态;或者,终端调用与敲击动作类型相匹配的应用的具体实现可以参考本发明实施例6中的具体应用场景中的相关描述,本发明实施例这里不再赘述。
进一步可选的,如图4所示,在本发明实施例的另一种应用场景中,在S304之前,本发明实施例的方法还可以包括:
S303b、终端获取终端的当前状态信息。
需要说明的是,终端获取终端的当前状态信息的方法可以参考实施例2中终端获取终端的当前状态信息的方法,本发明实施例这里不再赘述。
进一步,需要说明的是,在这种应用场景中,可以先执行S303a,再执行S303b;也可以先执行S303b,再执行S303a;还可以同时执行S303a和S303b。本发明实施例对S303a和S303b执行的先后顺序不做限制。
相应的,在这种应用场景中,S304a可以替换为S304b:
S304b、终端查找与识别到的敲击动作类型相匹配、并且与获取到的当前状态信息和获取到的触发位置信息相匹配的敲击响应事件。
需要说明的是,终端查找与识别到的敲击动作类型相匹配、并且与获取到的当前状态信息和获取到的触发位置信息相匹配的敲击响应事件的方法与实施例2或本实施例S304a中终端查找敲击响应事件的方法类似,可以参考实施例2或本实施例S304a中终端查找敲击响应事件的具体方法,本发明实施例这里不再赘述。
本发明实施例提供的敲击控制方法,终端可以通过振动传感器检测预设频率范围内的敲击触发信号;在检测到敲击触发信号后,识别敲击触发信号所对应的敲击动作类型;获取通过振动传感器检测到的敲击触发信号的触发位置信息;获取与识别到的敲击动作类型以及触发位置信息相匹配的敲击响应事件;执行敲击响应事件。
与现有技术相比,由于振动传感器可以检测预设频率范围内的敲击触发信号,因此避免了由于终端检测到预设频率范围之外的触发信号(如终端检测到用户行走过程中的无意识晃动操作生成的触发信号)而导致的终端频繁自动设置的问题,实现了对终端的准确操作控制,增强终端与用户之间的交互能力。
并且,终端可以根据识别敲击触发信号所对应的敲击动作类型和触发位置信息获取与之匹配的敲击响应事件,终端在检测到的与同一敲击动作类型对应的敲击触发信号,可以根据不同的触发位置信息查找到并执行不同的敲击响应 事件,更加细化了终端查找敲击响应事件的查找条件,可以实现对终端更加准确的控制,进一步增强终端与用户之间的交互能力。
实施例4
本发明实施例提供一种敲击控制方法,可以应用于终端,该终端包括振动传感器,振动传感器用于检测预设频率范围内的敲击触发信号,该敲击控制方法包括:
S401、终端通过振动传感器检测预设频率范围内的敲击触发信号。
需要说明的是,本实施例中的终端和振动传感器与实施例1或2中的终端和振动传感器相同,因此,本实施例中的终端和振动传感器的具体描述可以参考实施例1或2中的相关内容,本实施例这里不再赘述。
S402、终端在检测到敲击触发信号后,识别敲击触发信号所对应的敲击动作类型。
需要说明的是,本实施例中终端识别敲击触发信号所对应的敲击动作类型的具体方法可以参考本发明实施例1中的相关描述,本实施例这里不再赘述。
S403、终端确定敲击动作类型为预设时间内的至少三次敲击。
在本实施例的第一种应用场景中,如图5所示,在终端确定敲击动作类型为预设时间内的至少三次敲击之后,本发明实施例的方法还包括S404a、S405a和S406:
S404a、终端获取振动传感器检测得到的预设时间内的至少三次敲击的敲击频率信息。
具体的,终端可以通过振动传感器检测到预设时间内的至少三次敲击时, 获取至少三次敲击的时间间隔,然后根据至少三次敲击的时间间隔计算检测得到的预设时间内的至少三次敲击的敲击频率信息。
其中,终端根据至少三次敲击的时间间隔计算检测得到的预设时间内的至少三次敲击的敲击频率信息的具体方法可以参考现有技术中敲击频率的具体方法,并且终端获取预设时间内的至少三次敲击的敲击频率信息的方法包括但不限于根据至少三次敲击的时间间隔计算敲击频率信息的方法,终端获取敲击频率信息的其他方法,本发明实施例这里不再赘述。
S405a、终端查找与预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息相匹配的敲击响应事件。
需要说明的是,本实施例中终端查找敲击响应事件的方法与实施例1中终端查找敲击响应事件的方法类似。
一方面,终端可以在终端中预存的敲击事件集合中查找与识别到的预设时间内的至少三次敲击和获取到的触发位置信息相匹配的敲击响应事件。
其中,敲击响应事件与预设时间内的至少三次敲击以及终端的触发位置信息之间的匹配关系可以为服务器为终端固定预置,并采用敲击事件集合的形式保存在终端中的匹配关系;或者,敲击响应事件与预设时间内的至少三次敲击以及触发位置信息之间的匹配关系可以为服务器根据终端用户的个人操作喜好预先录制,并采用敲击事件集合的形式保存在终端中的匹配关系。
另一方面,终端可以通过向服务器发送包含识别到的预设时间内的至少三次敲击和触发位置信息的事件请求消息,从服务器端获取与识别到的预设时间内的至少三次敲击以及触发位置信息相匹配的敲击响应事件。其中,敲击响应事件与预设时间内的至少三次敲击以及触发位置信息之间的匹配关系可以为服务器为终端固定预置,并保存在服务器中的匹配关系;或者,敲击响应事件与 预设时间内的至少三次敲击以及触发位置信息之间的匹配关系可以为服务器根据终端用户的个人操作喜好预先录制,并保存在服务器中的匹配关系。示例性的,服务器也可以将该服务器为终端所配置或者录制的,敲击响应事件与预设时间内的至少三次敲击以及触发位置信息之间的匹配关系采用敲击事件集合的形式保存在该服务器。
S406、终端执行敲击响应事件。
具体的,终端执行敲击响应事件的方法可以包括:终端将终端由第一状态切换至第二状态;或者,终端调用与敲击动作类型相匹配的应用。其中,终端将终端由第一状态切换至第二状态;或者,终端调用与敲击动作类型相匹配的应用的具体实现可以参考本发明实施例6中的具体应用场景中的相关描述,本发明实施例这里不再赘述。
进一步可选的,在本实施例的第二种应用场景中,如图6所示,在终端确定敲击动作类型为预设时间内的至少三次敲击之后,本发明实施例的方法还包括:S404a、S404b、S405b和S406:
404b、终端获取通过振动传感器检测到的敲击触发信号的触发位置信息。
需要说明的是,终端获取通过振动传感器检测到的敲击触发信号的触发位置信息的方法可以参考本发明实施例1、实施例2或者实施例3中的具体描述,本发明实施例这里不再赘述。
进一步,需要说明的是,在本实施例的第二种应用场景中,可以先执行S404a,再执行S404b;也可以先执行S404b,再执行S404a;还可以同时执行S404a和S404b。本发明实施例对S404a和S404b执行的先后顺序不做限制。
S405b、终端查找与预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息和获取到的触发位置信息相匹配的敲击响应事件。
需要说明的是,本实施例中终端查找敲击响应事件的方法与实施例1中终端查找敲击响应事件的方法类似。
进一步可选的,在本实施例的第三种应用场景中,如图7所示,在终端确定敲击动作类型为预设时间内的至少三次敲击之后,本发明实施例的方法还包括S404a、S404c、S405cb和S406:
S404c、终端获取终端的当前状态信息。
需要说明的是,终端获取终端的当前状态信息的方法可以参考实施例2中终端获取终端的当前状态信息的方法,本发明实施例这里不再赘述。
进一步,需要说明的是,在本实施例的第三种应用场景中,可以先执行S404a,再执行S404c;也可以先执行S404c,再执行S404a;还可以同时执行S404a和S404c。本发明实施例对S404a和S404c执行的先后顺序不做限制。
相应的,在本实施例的第三种应用场景中,S405a还可以替换为S405c:
S405c、终端查找与预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息和获取到的当前状态信息相匹配的敲击响应事件。
需要说明的是,终端查找与识别到的预设时间内的至少三次敲击相匹配、并且与获取到的当前状态信息相匹配的敲击响应事件的方法与实施例2或实施例3中终端查找敲击响应事件的方法类似,可以参考实施例2或实施例3中终端查找敲击响应事件的具体方法,本发明实施例这里不再赘述。
进一步可选的,在本实施例的第四种应用场景中,如图8所示,在终端确定敲击动作类型为预设时间内的至少三次敲击之后,本发明实施例的方法还包括S404a、S404b、S404c、S405d和S406:
需要说明的是,本发明实施例对S404a、S404b和S404c执行的先后顺序不做限制。
相应的,在本实施例的第四种应用场景中,S405a还可以替换为S405d:
S405d、终端查找与预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息、获取到的触发位置信息以及获取到的当前状态信息相匹配的敲击响应事件。
需要说明的是,终端查找与识别到的预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息、获取到的触发位置信息以及获取到的当前状态信息相匹配的敲击响应事件的方法与实施例2或实施例3中终端查找敲击响应事件的方法类似,可以参考实施例2或实施例3中终端查找敲击响应事件的具体方法,本发明实施例这里不再赘述。
本发明实施例提供的敲击控制方法,终端可以通过振动传感器检测预设频率范围内的敲击触发信号;在检测到敲击触发信号后,若识别敲击触发信号所对应的敲击动作类型为预设时间内的至少三次敲击,则获取预设时间内的至少三次敲击的敲击频率信息;获取触发位置信息和/或当前位置信息;获取与预设时间内的至少三次敲击、敲击频率信息相匹配、并且与触发位置信息和/或当前位置信息相匹配的敲击响应事件;执行敲击响应事件。
与现有技术相比,由于振动传感器可以检测预设频率范围内的敲击触发信号,因此避免了由于终端检测到预设频率范围之外的触发信号(如终端检测到用户行走过程中的无意识晃动操作生成的触发信号)而导致的终端频繁自动设置的问题,实现了对终端的准确操作控制,增强终端与用户之间的交互能力。
并且,终端可以获取与预设时间内的至少三次敲击和敲击频率信息相匹配、并且与触发位置信息和/或当前位置信息匹配的敲击响应事件,更加细化了终端查找敲击响应事件的查找条件,可以实现对终端更加准确的控制,进一步增强终端与用户之间的交互能力。
实施例5
本发明实施例提供一种敲击控制方法,可以应用于终端,该终端包括振动传感器,振动传感器用于检测预设频率范围内的敲击触发信号,该敲击控制方法包括:
S501、终端通过振动传感器检测预设频率范围内的敲击触发信号。
需要说明的是,本实施例中的终端与实施例1或实施例2中的终端和振动传感器相同,本实施例中的振动传感器与实施例1或实施例2中的振动传感器相同。因此,本实施例中的终端和振动传感器的具体描述可以参考实施例1或实施例2中的相关内容的具体描述,本实施例这里不再赘述。
S502、终端在检测到敲击触发信号后,识别敲击触发信号所对应的敲击动作类型。
需要说明的是,本实施例中终端识别敲击触发信号所对应的敲击动作类型的具体方法可以参考本发明实施例1中的相关描述,本实施例这里不再赘述。
在本实施例的第一种应用场景中,在终端在检测到敲击触发信号后,识别到敲击触发信号所对应的敲击动作类型之后,本发明实施例的方法还包括S503a:
S503a、终端确定敲击动作类型为预设时间内的双次敲击。
其中,如图9所示,在本实施例的第一种应用场景中的第一种情形下:在终端确定敲击动作类型为预设时间内的双次敲击之后,本发明实施例的方法还可以包括:S504a、S505a和S506:
S504a、终端获取振动传感器检测得到的预设时间内的双次敲击的敲击方向信息。
其中,当敲击动作类型为预设时间内的双次敲击时,对于预设时间内的双次敲击,终端获取到两个敲击位置信息,终端则可以根据获取到的两个敲击位置信息判断该双次敲击的敲击方向信息。
示例性的,假设终端为一个手机,则终端获取到的敲击位置信息可以为以手机表面任意三条边的交点作为坐标原点,汇聚与该交点的三条边分别为x轴、y轴和z轴,得到的(x,y,z)坐标值,终端可以在获取到两个敲击位置信息后,对比获取到的两个敲击位置信息(x1,y1,z1)和(x2,y2,z2)中的三个坐标参数的变化,确定出参数变化最大的坐标值(如x1变为x2的参数变化最大),然后根据x轴参数由x1到x2的变化确定出该双次敲击的敲击方向信息。
S505a、终端查找与预设时间内的双次敲击相匹配、并且与获取到的敲击方向信息相匹配的敲击响应事件。
需要说明的是,本实施例中终端查找敲击响应事件的方法与本发明其他方法实施例中终端查找敲击响应事件的方法类似,本实施例这里不再赘述。
进一步可选的,如图10所示,在本实施例的第一种应用场景中的第二种情形下:在终端确定敲击动作类型为预设时间内的双次敲击之后,本发明实施例的方法还可以包括:S504a、S504b、S505b和S506:
S504b、终端获取所述终端的当前状态信息。
S505b、终端查找与预设时间内的双次敲击相匹配、并且与获取到的敲击方向信息和获取到的当前状态信息相匹配的敲击响应事件。
在本实施例的第二种应用场景中,在终端在检测到敲击触发信号后,识别敲击触发信号所对应的敲击动作类型之后,本发明实施例的方法还包括S503b:
S503b、终端确定敲击动作类型为预设时间内的至少三次敲击。
进一步可选的,如图11所示,在本实施例的第二种应用场景中的第一种情 形下,在终端确定敲击动作类型为预设时间内的至少三次敲击之后,本实施例的方法还可以包括S504c、S505c和S506:
S504c、终端获取振动传感器检测得到的预设时间内的至少三次敲击的敲击方向信息。
需要说明的是,本实施例中终端获取振动传感器检测得到的预设时间内的至少三次敲击的敲击方向信息的具体方法与本实施例中终端获取振动传感器检测得到的预设时间内的双次敲击的敲击方向信息的方法类似,本发明实施例这里不再赘述。
S505c、终端查找与预设时间内的至少三次敲击相匹配、并且与获取到的敲击方向信息相匹配的敲击响应事件。
进一步可选的,如图12所示,在本实施例的第二种应用场景中的第二种情形下,在终端确定敲击动作类型为预设时间内的至少三次敲击之后,本实施例的方法还可以包括S504c、S504d、S505d和S506:
S504d、终端获取振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息。
需要说明的是,终端获取预设时间内的至少三次敲击的敲击频率信息的具体方法与本实施例中终端预设时间内的双次敲击的敲击频率信息的方法类似,本实施例这里不再赘述。
S505d、终端查找与预设时间内的至少三次敲击相匹配、并且与获取到的敲击方向信息和获取到的敲击频率信息相匹配的敲击响应事件。
需要说明的是,本实施例中终端查找敲击响应事件的方法与本发明其他方法实施例中终端查找敲击响应事件的方法类似,本实施例这里不再赘述。
如图13所示,在本实施例的第二种应用场景中的第三种情形下,在终端确 定敲击动作类型为预设时间内的至少三次敲击之后,本实施例的方法还可以包括S504b、S504c、S505e和S506:
S505e、终端查找与预设时间内的至少三次敲击相匹配、并且与获取到的敲击方向信息和获取到的当前状态信息相匹配的敲击响应事件。
如图14所示,在本实施例的第二种应用场景中的第四种情形下,在终端确定敲击动作类型为预设时间内的至少三次敲击之后,本实施例的方法还可以包括S504b、S504c、S504d、S505f和S506:
S505f、终端查找与预设时间内的至少三次敲击相匹配、并且与获取到的敲击方向信息、获取到的敲击频率信息和获取到的当前状态信息相匹配的敲击响应事件。
S506、终端执行敲击响应事件。
具体的,终端执行敲击响应事件的方法可以包括:终端将终端由第一状态切换至第二状态;或者,终端调用与敲击动作类型相匹配的应用。其中,终端将终端由第一状态切换至第二状态;或者,终端调用与敲击动作类型相匹配的应用的具体实现可以参考本发明实施例6中的具体应用场景中的相关描述,本发明实施例这里不再赘述。
本发明实施例提供的敲击控制方法,终端可以通过振动传感器检测预设频率范围内的敲击触发信号;在检测到敲击触发信号后,若识别敲击触发信号所对应的敲击动作类型为预设时间内的双次敲击或者预设时间内的至少三次敲击,则获取的敲击方向信息;查找与预设时间内的双次敲击或者预设时间内的至少三次敲击相匹配、并且与获取到的预设时间内的双次敲击或者相匹配的敲击响应事件;执行敲击响应事件。
与现有技术相比,由于振动传感器可以检测预设频率范围内的敲击触发信 号,因此避免了由于终端检测到预设频率范围之外的触发信号(如终端检测到用户行走过程中的无意识晃动操作生成的触发信号)而导致的终端频繁自动设置的问题,实现了对终端的准确操作控制,增强终端与用户之间的交互能力。
并且,终端可以获取与预设时间内的双次敲击或者预设时间内的至少三次敲击和预设时间内的双次敲击或者相匹配、并且与触发位置信息和/或当前位置信息匹配的敲击响应事件,更加细化了终端查找敲击响应事件的查找条件,可以实现对终端更加准确的控制,进一步增强终端与用户之间的交互能力。
实施例6
为了便于本领域技术人员理解本发明的技术方案,通过以下具体实例,对本发明的方案加以说明。
本发明实施例中的终端可以为包括振动传感器的终端,如智能手机、掌上电脑等电子设备。
以下以手机为例,在本发明实施例中该手机为安装有能够检测预设频率范围内的敲击触发信号的振动传感器。其中,该振动传感器可以检测到频率范围为200HZ以上的高频信号,示例性的,该振动传感器可以检测到250HZ-400HZ的高频信号。
具体的,敲击动作类型,包括:单次敲击、双次敲击、预设时间内的连续敲击触发。
应用场景1:
手机可以通过振动传感器检测预设频率范围内的敲击触发信号,敲击触发信号为振动传感器检测用户对终端的敲击动作产生的,识别敲击触发信号所对应的敲击动作类型,然后查找与敲击动作类型相匹配的敲击响应事件。
示例性的,若手机通过振动传感器检测到的敲击触发信号所对应的敲击动作类型为预设时间内的单次敲击,则手机可以将该手机进行静音设置;若手机通过振动传感器检测到的敲击触发信号所对应的敲击动作类型为预设时间内的双次敲击,则手机可以解锁该手机;若手机通过振动传感器检测到的敲击触发信号所对应的敲击动作类型为预设时间内的至少三次敲击,则手机可以对该手机执行关机操作。
在上述实例中,手机可以在手机中预存的敲击事件集合中查找与识别到的敲击动作类型相匹配的敲击响应事件;手机也可以通过向服务器发送包含识别到的敲击动作类型的事件请求消息,从服务器端获取与识别到的敲击动作类型相匹配的敲击响应事件。其中,服务器也可以将该服务器为终端所配置或者录制的敲击响应事件与敲击动作类型之间的匹配关系采用敲击事件集合的形式保存在该服务器。
示例性的,如表1所示,在预存于手机或者服务器中的敲击事件集合中,敲击响应事件“静音”与敲击动作类型“预设时间内的单次敲击”相匹配;敲击响应事件“解锁”与敲击动作类型“预设时间内的双次敲击”相匹配;敲击响应事件“关机”与敲击动作类型“预设时间内的至少三次敲击”相匹配。
表1
Figure PCTCN2014091675-appb-000001
需要说明的是,手机可以通过振动传感器检测预设时间内的单次敲击动作 后,不仅可以将该手机进行静音设置,还可以执行其他的敲击响应事件,如“点亮手机屏幕”和“关闭手机屏幕”等操作;相应的,手机可以通过振动传感器检测预设时间内的双次或者至少三次敲击动作后,不仅可以对该手机进行“解锁”或者“关机”设置,还可以执行其他的敲击响应事件。
在本实例中,手机可以通过振动传感器检测预设频率范围内的敲击触发信号,可以获取到准确的敲击信号,并根据接收到的用户敲击动作类型对手机进行自动设置,可以减少现有技术中用户设置手机时的操作,快速实现手机的自动设置,增强了手机与用户之间的交互能力。
应用场景2:
手机可以通过振动传感器检测预设频率范围内的敲击触发信号,敲击触发信号为振动传感器检测用户对终端的敲击动作产生的,识别敲击触发信号所对应的敲击动作类型,获取该手机的当前状态信息,然后查找与敲击动作类型和该手机的当前状态信息相匹配的敲击响应事件。
手机可以通过振动传感器检测预设频率范围内的敲击触发信号,识别敲击触发信号所对应的敲击动作类型,获取该手机的当前状态信息,然后根据敲击动作类型和该手机的当前状态信息查找与敲击动作类型和该手机的当前状态信息相匹配的敲击响应事件。
具体的,假设手机的当前状态信息相同时,若手机接收到敲击动作类型不同的敲击触发信号时,可以对该手机进行不同的自动设置。
示例性的,假设手机的当前状态信息为“来电”状态,则手机在接收到敲击动作类型不同的敲击触发信号时,可以对该手机进行不同的自动设置。
若手机在来电时,通过振动传感器检测到用户的在预设时间内的单次敲击,则手机可以将该手机进行静音设置;若手机在来电时,通过振动传感器检测到 用户在预设时间内的双次敲击,则手机可以将该手机拒接来电;若手机在来电时,通过振动传感器检测到用户在预设时间内的至少三次敲击,则手机可以自动关机。
如表2所示,在上述实例中的敲击事件集合中,敲击响应事件“静音”与敲击动作类型“预设时间内的单次敲击”+手机的当前状态信息为“来电”相匹配;敲击响应事件“拒接来电”与敲击动作类型“预设时间内的双次敲击”+手机的当前状态信息为“来电”相匹配;敲击响应事件“关机”与敲击动作类型“预设时间内的至少三次敲击”+手机的当前状态信息为“来电”相匹配。
表2
Figure PCTCN2014091675-appb-000002
需要说明的是,手机在当前状态信息为“来电”时,手机通过振动传感器检测到用户的在预设时间内的单次敲击后,不仅可以将该手机进行静音设置,还可以执行其他的敲击响应事件,如“静音并关闭手机屏幕”、自动回复短信如“开会中,稍后回复”等操作;相应的,手机在当前状态信息为“来电”时,通过振动传感器检测到用户在预设时间内的双次敲击触发或者预设时间内的连 续至少三次敲击触发后,不仅可以对该手机进行“拒接来电”或者“关机”设置,还可以执行其他的敲击响应事件。
具体的,假设手机的当前状态信息不同,则手机在接收到敲击动作类型相同的敲击触发信号时,可以对该手机进行不同的自动设置。
示例性的,假设手机的当前状态信息为“来电”状态,则手机在检测到用户在预设时间内的单次敲击后,可以对该手机进行静音设置;而若手机的当前状态信息为“锁屏”状态,则手机在检测到用户在预设时间内的单次敲击后,可以对该手机进行“解锁”操作;若手机的当前状态信息为“解锁”状态,则手机在检测到用户在预设时间内的单次敲击后,可以对该手机进行“锁屏”操作等。
需要注意的是,不同的触发类型结合不同的手机当前状态与敲击响应事件之间一一匹配。
在本实例中,手机可以通过振动传感器检测预设频率范围内的敲击触发信号,可以获取到准确的敲击信号,并根据接收到的用户敲击动作类型结合手机当前状态对手机进行自动设置,可以减少现有技术中用户设置手机时的操作,实现手机在不同状态下的快速自动设置,增强了终端与用户之间的交互能力。
应用场景3:
手机可以通过振动传感器检测预设频率范围内的敲击触发信号,敲击触发信号为振动传感器检测用户对终端的敲击动作产生的,识别敲击触发信号所对应的敲击动作类型,获取触发位置信息,然后查找与识别出的敲击动作类型和获取到的触发位置信息相匹配的敲击响应事件,执行查找到的敲击响应时间。
示例性的,触发位置信息可以为终端接收到的敲击触发在终端上的位置。如触发位置信息可以为:敲击触发在终端的正面屏幕上、敲击触发在终端的背 面后壳上、敲击触发在以终端的正面屏幕的中心为界的屏幕上方、敲击触发在以终端的正面屏幕的中心为界的屏幕下方、敲击触发在以终端的正面屏幕的中心为界的屏幕左方、敲击触发在以终端的正面屏幕的中心为界的屏幕右方。
具体的,假设敲击动作类型相同时,若触发位置信息不同时,则手机可以对该手机进行不同的自动设置。
示例性的,若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏幕上方的预设时间内的单次敲击时,可以调高屏幕亮度;若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏幕下方的预设时间内的单次敲击时,可以调低屏幕亮度。
在上述实例的敲击事件集合中,敲击响应事件“调高屏幕亮度”与敲击动作类型“单次敲击”+触发位置信息“以手机的正面屏幕的中心为界的屏幕上方”相匹配;敲击响应事件“调低屏幕亮度”与敲击动作类型“双次敲击”+触发位置信息“以手机的正面屏幕的中心为界的屏幕下方”相匹配。
需要说明的是,手机通过振动传感器检测到用户在“以手机的正面屏幕的中心为界的屏幕上方”的“预设时间内的单次敲击”后,不仅可以调高屏幕亮度,还可以执行其他的敲击响应事件,如“打开相应的应用软件(如开启流量监测软件,并为当前应用程序分配流量,以提高当前用用程序的流量占有率)”等操作;相应的,手机接收到用户在以手机的正面屏幕的中心为界的屏幕下方的预设时间内的单次敲击时,不仅可以调低屏幕亮度还可以执行其他的敲击响应事件。
具体的,假设触发位置信息相同时,若敲击动作类型不同,则手机可以对该手机进行不同的自动设置。
示例性的,若手机通过振动传感器检测到用户在以手机的正面屏幕的中心 为界的屏幕上方的预设时间内的单次敲击时,可以调高屏幕亮度;若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏幕上方的预设时间内的双次敲击时,可以调高手机音量;若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏幕下方的预设时间内的单次敲击时,可以调低屏幕亮度;若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏幕下方的预设时间内的双次敲击时,可以调低手机音量。
需要注意的是,不同的触发类型结合不同的触发位置信息与敲击响应事件之间一一匹配。
在本实例中,手机可以通过振动传感器检测预设频率范围内的敲击触发信号,可以获取到准确的敲击信号,并根据接收到的用户敲击动作类型结合手机当前状态对手机进行自动设置,可以减少现有技术中用户设置手机时的操作,增强终端与用户之间的交互能力。
应用场景4:
手机可以通过振动传感器检测预设频率范围内的敲击触发信号,获取敲击动作类型、手机的当前状态信息以及触发位置信息,然后根据敲击动作类型、手机的当前状态信息以及触发位置信息在敲击事件集合中查找敲击响应事件,敲击响应事件与敲击动作类型、手机的当前状态信息以及触发位置信息相匹配。
示例性的,当手机的当前状态为“播放音乐”状态时,若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏幕上方的预设时间内的单次敲击时,手机则可以调高手机播放音乐的音量;当手机的当前状态为“播放音乐”状态时,若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏幕下方的预设时间内的单次敲击时,手机则可以调低手机播放音乐的音量。若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏 幕左方的预设时间内的单次敲击时,手机播放上一首音乐;当手机的当前状态为“播放音乐”状态时,若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏幕右方的预设时间内的单次敲击时,手机则可以播放下一首音乐。
当手机的当前处于为“信息输入界面的左手输入界面”状态时,若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏幕右方的预设时间内的单次敲击时,手机则可以切换“信息输入界面”至“右手输入界面”;当手机的当前处于为“信息输入界面的右手输入界面”状态时,若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏幕左方的预设时间内的单次敲击时,手机则可以切换“信息输入界面”至“左手输入界面”。
当手机的当前处于为“浏览图片”状态时,若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏幕上方的预设时间内的单次敲击时,手机则显示上一张图片;当手机的当前处于为“浏览图片”状态时,若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏幕下方的预设时间内的单次敲击时,手机则显示下一张图片。
需要说明的是,手机根据敲击动作类型、手机的当前状态信息以及触发位置信息在敲击事件集合中查找敲击响应事件包括但不限于上述实例中的方法,例如当手机的当前处于为“使用后置摄像头拍摄”状态,若手机通过振动传感器检测到用户在以手机的正面屏幕的中心为界的屏幕上方的预设时间内的单次敲击时,手机切换拍摄模式为“使用前置摄像头拍摄的模式”;当手机的当前处于为“使用前置摄像头拍摄”状态时,若手机接收到用户在以手机的正面屏幕的中心为界的屏幕下方的预设时间内的单次敲击时,手机切换拍摄模式为“使用后置摄像头拍摄的模式”。手机根据敲击动作类型、手机的当前状态信息以 及敲击触发的触发位置信息在敲击事件集合中查找敲击响应事件的其他方法本发明实施例这里不再赘述。
需要注意的是,不同的触发类型结合不同的手机的当前状态信息、不同的敲击触发的触发位置信息与敲击响应事件之间一一匹配。敲击响应事件与敲击动作类型、手机的当前状态信息以及敲击触发的触发位置信息之间的匹配关系是通过系统固定预置的,或者是根据用户的个人操作喜好预先录制的。
在本实例中,手机可以通过振动传感器检测预设频率范围内的敲击触发信号,可以获取到准确的敲击信号,并根据接收到的用户敲击动作类型结合手机当前状态,以及不同的敲击触发的触发位置信息对手机进行自动设置,可以减少现有技术中用户设置手机时的操作,实现手机在不同状态下的快速自动设置,增强了用户体验。
应用场景5:
在本发明实施例中,若敲击动作类型为预设时间内的至少三次敲击,则手机可以在获取敲击动作类型之后,获取敲击触发的敲击频率信息敲击频率的变化信息,并根据敲击触发的敲击频率信息在桥机敲击事件集合中查找敲击响应事件。
示例性的,若敲击动作类型为预设时间内的至少三次敲击,则不同的敲击频率信息与敲击事件集合中不同的敲击响应事件相匹配。
例如:假设预设时间内的至少三次敲击触发具体为预设时间内敲击手机四次,即三次敲击间隔,手机可以判断相邻两次的敲击时间间隔的是否超过预设阈值,生成相应的指令,然后根据不同的指令组合对应于不同的敲击响应事件。如“1”代表时间间隔高于预设阈值,“0”代表时间间隔低于预设阈值。则手机可以根据用户敲击手机的敲击频率信息生成类似于“100”、“101”、“110”、“001” 和“001”等指令,并在敲击事件集合查找与预设时间内的四次敲击相匹配,并且与敲击触发的敲击频率信息相匹配的敲击响应事件。
需要说明的是,在本实例中敲击响应事件可以为将手机由第一状态切换至第二状态;或者,手机调用与敲击动作类型相匹配的应用。
在本实例中,手机可以通过振动传感器检测预设频率范围内的敲击触发信号,可以获取到准确的敲击信号,并根据识别到的用户敲击动作类型结合敲击触发的敲击频率信息对手机进行自动设置,可以减少现有技术中用户设置手机时的操作,增强了终端与用户之间的交互能力。
应用场景6
在本实例中,手机根据敲击动作类型在敲击事件集合中查找敲击响应事件,具体可以包括:手机根据敲击动作类型和敲击触发的敲击频率信息,结合敲击触发的触发位置信息和终端的当前状态信息中的至少一项,在敲击事件集合中查找所述敲击响应事件。
具体的,手机根据敲击动作类型和敲击触发的敲击频率信息,结合敲击触发的触发位置信息和终端的当前状态信息中的至少一项,在敲击事件集合中查找所述敲击响应事件的方法可以参考上述应用场景中的相关描述,本应用场景中不再赘述。
其中,敲击事件集合中包含:至少一个所述敲击响应事件;敲击响应事件与所述敲击动作类型以及终端的当前状态信息、敲击触发的触发位置信息和所述敲击触发的敲击频率信息中至少一项之间的匹配关系服务器为手机预置的。
进一步的,预设时间内的至少三次敲击可以为预设时间内的方向性连续敲击触发。
示例性的,当手机的当前状态为“播放音乐”状态时,若手机接收到用户 在以手机的正面屏幕上的自上而下的预设时间内的至少三次敲击时,手机则可以调高手机播放音乐的音量;示例性的,当手机的当前状态为“播放音乐”状态时,若手机接收到用户在以手机的正面屏幕上的自下而上的预设时间内的至少三次敲击时,手机则可以调低手机播放音乐的音量。
示例性的,当手机的当前状态为“播放音乐”状态时,若手机接收到用户在以手机的正面屏幕上的自上而下的预设时间内的至少三次敲击时,手机则播放上一首音乐;当手机的当前状态为“播放音乐”状态时,若手机接收到用户在以手机的正面屏幕上的自下而上的预设时间内的至少三次敲击时,手机则可以播放下一首音乐。
需要说明的是,手机根据预设时间内的至少三次敲击触发的方向性获取并执行相应敲击响应事件的方法包括但不限于上述列举的方法,其他的敲击控制方法本发明实施例这里不再赘述。
在本实例中,手机可以通过振动传感器检测预设频率范围内的敲击触发信号,可以获取到准确的敲击信号,并根据接收到的用户敲击动作类型结合敲击触发的敲击频率信息以及连续敲击触发的方向性对手机进行自动设置,可以减少现有技术中用户设置手机时的操作,增强了终端与用户之间的交互能力。
实施例7
本发明实施例还提供一种终端,如图15所示,所述终端,包括:振动传感器71、处理器72。
振动传感器71,用于检测预设频率范围内的敲击触发信号。
处理器72,用于在所述振动传感器31检测到所述敲击触发信号后,识别所 述敲击触发信号所对应的敲击动作类型;获取与识别到的敲击动作类型相匹配的敲击响应事件;执行所述敲击响应事件。
需要说明的是,在本发明实施例中,处理器72在获取到与敲击动作类型相匹配的敲击响应事件后,可以直接由处理器72执行获取到的敲击响应事件;或者,处理器72在获取到与敲击动作类型相匹配的敲击响应事件后,可以控制与获取到的敲击响应事件对应的硬件模块执行该敲击响应事件。
进一步的,在本发明实施例的第一种应用场景中,所述处理器72,还用于在所述振动传感器31检测到所述敲击触发信号后,获取所述终端的当前状态信息。
在本实施例的第一种应用场景中,所述处理器72,还用于查找与识别到的敲击动作类型相匹配、并且与获取到的当前状态信息相匹配的敲击响应事件。
进一步的,在本发明实施例的第二种应用场景中,所述处理器72,还用于在所述振动传感器31检测到所述敲击触发信号后,获取通过所述振动传感器检测到的所述敲击触发信号的触发位置信息。
在本实施例的第二种应用场景中,所述处理器72,还用于查找与识别到的敲击动作类型相匹配、并且与获取到的触发位置信息相匹配的敲击响应事件。
进一步的,在本发明实施例的第三种应用场景中,所述处理器72,还用于在所述振动传感器31检测到所述敲击触发信号后,获取所述终端的当前状态信息和所述振动传感器检测到的所述敲击触发信号的触发位置信息。
在本实施例的第三种应用场景中,所述处理器72,还用于查找与识别到的敲击动作类型相匹配、并且与获取到的当前状态信息和获取到的触发位置信息相匹配的敲击响应事件。
需要说明的是,本发明实施例中的所述敲击动作类型可以包括:预设时间 内的单次敲击、预设时间内的双次敲击、预设时间内的至少三次敲击。
进一步的,在本发明实施例的第四种应用场景中,所述处理器72,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息。
在本实施例的第四种应用场景中,所述处理器72,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息相匹配的敲击响应事件。
进一步的,在本发明实施例的第五种应用场景中,所述处理器72,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息。
在本实施例的第五种应用场景中,所述处理器72,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息和获取到的当前状态信息相匹配的敲击响应事件。
进一步的,在本发明实施例的第六种应用场景中,所述处理器72,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息。
在本实施例的第六种应用场景中,所述处理器72,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息和获取到的触发位置信息相匹配的敲击响应事件。
进一步的,在本发明实施例的第七种应用场景中,所述处理器72,还用于 若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息。
在本实施例的第七种应用场景中,所述处理器72,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息、获取到的触发位置信息以及获取到的当前状态信息相匹配的敲击响应事件。
进一步的,在本发明实施例的第八种应用场景中,所述处理器72,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在检测到所述敲击触发信号后,识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击方向信息。
在本实施例的第八种应用场景中,所述处理器72,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击方向信息相匹配的敲击响应事件。
进一步的,在本发明实施例的第九种应用场景中,所述处理器72,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在检测到所述敲击触发信号后,识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击方向信息和所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息。
在本实施例的第九应用场景中,所述处理器72,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击方向信息和获取到的敲击频率信息相匹配的敲击响应事件。
进一步的,在本发明实施例的第十种应用场景中,所述处理器72,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在检测到所 述敲击触发信号后,识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息、敲击方向信息和所述终端的当前状态信息。
在本实施例的第十种应用场景中,所述处理器72,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息、获取到的敲击方向信息以及获取到的当前状态信息相匹配的敲击响应事件。
进一步的,在本发明实施例的第十一种应用场景中,所述处理器72,若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的双次敲击的敲击方向信息。
在本实施例的第十一种应用场景中,所述处理器72,还用于查找与所述预设时间内的双次敲击相匹配、并且与获取到的敲击方向信息相匹配的敲击响应事件。
进一步的,在本发明实施例的第十二种应用场景中,所述处理器72,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的双次敲击的敲击方向信息和所述终端的当前状态信息。
在本实施例的第十二种应用场景中,所述处理器72,还用于查找与所述预设时间内的双次敲击相匹配、并且与获取到的敲击方向信息以及获取到的当前状态信息相匹配的敲击响应事件。
需要说明的是,本发明实施例提供的终端中部分功能模块的具体描述可以参考本发明方法实施例中的对应内容,本实施例这里不再详细赘述。
本发明实施例提供的终端,可以通过振动传感器检测预设频率范围内的敲 击触发信号;在检测到敲击触发信号后,识别敲击触发信号所对应的敲击动作类型;获取与识别到的敲击动作类型相匹配的敲击响应事件;执行敲击响应事件。与现有技术相比,由于振动传感器可以检测预设频率范围内的敲击触发信号,因此避免了由于终端检测到预设频率范围之外的触发信号(如终端检测到用户行走过程中的无意识晃动操作生成的触发信号)而导致的终端频繁自动设置的问题,实现了对终端的准确操作控制,增强终端与用户之间的交互能力。
示例性的,该终端可以为手机、平板电脑、PDA、POS、车载电脑以及可穿戴式设备等设备中的任意一个。
以移动终端为手机为例,图16为与本发明实施例相关的手机100的部分结构的框图。
如图16所示,手机100可以包括:振动传感器110、存储器120、输入单元130、显示单元140、射频(Radio Frequency,RF)电路150、音频电路160、WiFi(wireless fidelity,无线保真)模块170、处理器180、以及电源190等部件。本领域技术人员可以理解,图16中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图16对手机100的各个构成部件进行具体的介绍:
振动传感器110,可用于检测预设频率范围内的敲击触发信号;具体的,振动传感器(Shock Sensor)能够采集到的信号的频率范围一般在250-400HZ之间。
处理器180是手机100的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行手机100的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理单元;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理 操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
具体的,在本发明实施例中,处理器180可以在振动传感器110检测到敲击触发信号后,直接识别敲击触发信号所对应的敲击动作类型,或者调用其他功能模块识别敲击触发信号所对应的敲击动作类型,然后获取与识别到的敲击动作类型相匹配的敲击响应事件,并执行所述敲击响应事件,或者调用其他功能模块执行所述敲击响应事件。如处理器180可以调用音频输出模块调整(调低或者调高)音频输出音量。
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器180处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行手机100的各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图象播放功能等)等;存储数据区可存储根据手机100的使用所创建的数据(比如音频数 据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
具体的,在本发明实施例中,存储器120具体可用于存储服务器为该手机配置的敲击事件集合。
输入单元130可用于接收输入的数字或字符信息,以及产生与手机100的用户设置以及功能控制有关的键信号输入。具体地,输入单元130可包括触控面板131以及其他输入设备132。触控面板131,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板131上或在触控面板131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板131。除了触控面板131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及手机100的各种菜单。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触控面板131可覆盖显示面板141,当触控面板131检测到在其上或附近的触摸操作后,传送给处理 器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图1中,触控面板131与显示面板141是作为两个独立的部件来实现手机100的输入和输入功能,但是在某些实施例中,可以将触控面板131与显示面板141集成而实现手机100的输入和输出功能。
音频电路160、扬声器161,麦克风162可提供用户与手机100之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,麦克风162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出至RF电路108以发送给比如另一手机,或者将音频数据输出至存储器120以便进一步处理。
WiFi属于短距离无线传输技术,手机100通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1示出了WiFi模块170,但是可以理解的是,其并不属于手机100的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
手机100还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。
尽管未示出,手机100还可以包括摄像头、蓝牙模块等,在此不再赘述。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系 统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的全部或 部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (12)

  1. 一种敲击控制方法,其特征在于,应用于终端,所述终端包括振动传感器,所述方法包括:
    通过所述振动传感器检测预设频率范围内的敲击触发信号;
    在检测到所述敲击触发信号后,识别所述敲击触发信号所对应的敲击动作类型;
    获取与识别到的敲击动作类型相匹配的敲击响应事件;
    执行所述敲击响应事件。
  2. 根据权利要求1所述的敲击控制方法,其特征在于,在所述检测到所述敲击触发信号后,所述方法还包括:
    获取所述终端的当前状态信息;
    所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
    查找与识别到的敲击动作类型相匹配、并且与获取到的当前状态信息相匹配的敲击响应事件。
  3. 根据权利要求1所述的敲击控制方法,其特征在于,在所述检测到所述敲击触发信号后,所述方法还包括:
    获取通过所述振动传感器检测到的所述敲击触发信号的触发位置信息;
    所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
    查找与识别到的敲击动作类型相匹配、并且与获取到的触发位置信息相匹配的敲击响应事件。
  4. 根据权利要求1所述的敲击控制方法,其特征在于,在所述检测到所述 敲击触发信号后,所述方法还包括:
    获取所述终端的当前状态信息和所述振动传感器检测到的所述敲击触发信号的触发位置信息;
    所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
    查找与识别到的敲击动作类型相匹配、并且与获取到的当前状态信息和获取到的触发位置信息相匹配的敲击响应事件。
  5. 根据权利要求1所述的敲击控制方法,其特征在于,所述敲击动作类型,包括:预设时间内的单次敲击、预设时间内的双次敲击、预设时间内的至少三次敲击。
  6. 根据权利要求5所述的敲击控制方法,其特征在于,若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,所述方法还包括:
    获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息;
    所述获取与识别到的敲击动作类型相匹配的敲击响应事件,包括:
    查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息相匹配的敲击响应事件。
  7. 一种终端,其特征在于,包括:
    振动传感器,用于检测预设频率范围内的敲击触发信号;
    处理器,用于在所述振动传感器检测到所述敲击触发信号后,识别所述敲击触发信号所对应的敲击动作类型;获取与识别到的敲击动作类型相匹配的敲 击响应事件;执行所述敲击响应事件。
  8. 根据权利要求7所述的终端,其特征在于,所述处理器,还用于在检测到所述敲击触发信号后,获取所述终端的当前状态信息;
    所述处理器,还用于查找与识别到的敲击动作类型相匹配、并且与获取到的当前状态信息相匹配的敲击响应事件。
  9. 根据权利要求7所述的终端,其特征在于,所述处理器,还用于在检测到所述敲击触发信号后,获取通过所述振动传感器检测到的所述敲击触发信号的触发位置信息;
    所述处理器,还用于查找与识别到的敲击动作类型相匹配、并且与获取到的触发位置信息相匹配的敲击响应事件。
  10. 根据权利要求7所述的终端,其特征在于,所述处理器,还用于在检测到所述敲击触发信号后,获取所述终端的当前状态信息和所述振动传感器检测到的所述敲击触发信号的触发位置信息;
    所述处理器,还用于查找与识别到的敲击动作类型相匹配、并且与获取到的当前状态信息和获取到的触发位置信息相匹配的敲击响应事件。
  11. 根据权利要求7所述的终端,其特征在于,所述敲击动作类型,包括:预设时间内的单次敲击、预设时间内的双次敲击、预设时间内的至少三次敲击。
  12. 根据权利要求10所述的终端,其特征在于,所述处理器,还用于若识别到所述敲击动作类型为所述预设时间内的至少三次敲击,则在识别所述敲击触发信号所对应的敲击动作类型之后,获取所述振动传感器检测得到的所述预设时间内的至少三次敲击的敲击频率信息;
    所述处理器,还用于查找与所述预设时间内的至少三次敲击相匹配、并且与获取到的敲击频率信息相匹配的敲击响应事件。
PCT/CN2014/091675 2013-11-22 2014-11-19 一种敲击控制方法及终端 WO2015074567A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP14864841.3A EP2988199A4 (en) 2013-11-22 2014-11-19 CLICK CONTROL METHOD AND TERMINAL
US14/978,915 US20160110005A1 (en) 2013-11-22 2015-12-22 Tapping Control Method and Terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310596745.4A CN103645845B (zh) 2013-11-22 2013-11-22 一种敲击控制方法及终端
CN201310596745.4 2013-11-22

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/978,915 Continuation US20160110005A1 (en) 2013-11-22 2015-12-22 Tapping Control Method and Terminal

Publications (1)

Publication Number Publication Date
WO2015074567A1 true WO2015074567A1 (zh) 2015-05-28

Family

ID=50251072

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/091675 WO2015074567A1 (zh) 2013-11-22 2014-11-19 一种敲击控制方法及终端

Country Status (4)

Country Link
US (1) US20160110005A1 (zh)
EP (1) EP2988199A4 (zh)
CN (1) CN103645845B (zh)
WO (1) WO2015074567A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183188A (zh) * 2015-09-14 2015-12-23 小米科技有限责任公司 电子设备的屏幕控制方法及装置
CN105528165A (zh) * 2015-12-15 2016-04-27 广东欧珀移动通信有限公司 移动终端的控制方法、装置及移动终端

Families Citing this family (73)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645845B (zh) * 2013-11-22 2016-10-05 华为终端有限公司 一种敲击控制方法及终端
CN105022568B (zh) * 2014-04-30 2018-08-24 青岛北电高科技有限公司 基于智能手表的敲击式人机交互方法和系统
CN105022366B (zh) * 2014-04-30 2018-07-06 青岛北电高科技有限公司 基于振动编码的可穿戴式智能家居遥控方法和系统
KR102204553B1 (ko) * 2014-05-23 2021-01-19 엘지전자 주식회사 와치 타입 이동 단말기 및 그것의 제어방법
CN104122997B (zh) * 2014-06-16 2017-11-03 联想(北京)有限公司 信息处理方法及电子设备
WO2016043720A1 (en) * 2014-09-16 2016-03-24 Hewlett-Packard Development Company, L.P. Generate touch input signature for discrete cursor movement
CN105511750B (zh) * 2014-09-26 2020-01-31 联想(北京)有限公司 一种切换方法及电子设备
CN104494752B (zh) * 2015-01-05 2019-04-02 鼎力联合(北京)科技有限公司 动平衡车及其人机交互方法
CN106033309A (zh) * 2015-03-11 2016-10-19 腾讯科技(深圳)有限公司 移动终端的控制方法及装置
CN104679414B (zh) * 2015-03-16 2020-08-25 联想(北京)有限公司 一种显示控制方法和装置
CN104853281A (zh) * 2015-03-23 2015-08-19 广东欧珀移动通信有限公司 音频播放控制方法、装置及音箱
CN104750254B (zh) * 2015-03-23 2019-02-05 联想(北京)有限公司 一种信息处理方法及装置、电子设备
CN106155276A (zh) * 2015-03-25 2016-11-23 阿里巴巴集团控股有限公司 一种响应业务的方法及装置
CN104765455A (zh) * 2015-04-07 2015-07-08 中国海洋大学 基于敲击振动的人机交互系统
CN105094640B (zh) * 2015-07-08 2018-09-04 广东欧珀移动通信有限公司 一种终端操作方法及用户终端
CN105224071B (zh) * 2015-08-26 2018-12-11 广东欧珀移动通信有限公司 一种数据交互的方法、设备及系统
CN105589525A (zh) * 2015-12-21 2016-05-18 联想(北京)有限公司 一种控制方法及电子设备
CN105677148A (zh) * 2015-12-30 2016-06-15 广东欧珀移动通信有限公司 一种终端应用的查找方法及装置
CN105682258B (zh) * 2016-01-20 2019-10-25 Oppo广东移动通信有限公司 一种用户身份识别卡的切换方法和装置
CN105721678A (zh) * 2016-01-20 2016-06-29 广东欧珀移动通信有限公司 一种呼叫处理方法和装置
CN105704530B (zh) * 2016-01-20 2017-11-28 广东欧珀移动通信有限公司 一种电台频道搜索设置方法及装置
CN105739850A (zh) * 2016-01-20 2016-07-06 广东欧珀移动通信有限公司 多媒体进度的处理方法及装置
CN105718179B (zh) * 2016-01-20 2019-02-12 Oppo广东移动通信有限公司 信息处理方法及装置
CN105704370B (zh) * 2016-01-20 2019-04-16 Oppo广东移动通信有限公司 录像处理方法及装置
CN105704840B (zh) * 2016-01-20 2019-10-25 Oppo广东移动通信有限公司 一种无线接入点的接入方法及装置
CN105718162A (zh) * 2016-01-20 2016-06-29 广东欧珀移动通信有限公司 一种横竖屏切换方法及装置
CN105611589A (zh) * 2016-01-20 2016-05-25 广东欧珀移动通信有限公司 一种网络切换方法和装置
CN105719672A (zh) * 2016-01-20 2016-06-29 广东欧珀移动通信有限公司 一种录音情景模式切换方法及装置
CN105681660B (zh) * 2016-01-20 2019-07-16 Oppo广东移动通信有限公司 一种拍摄模式的切换方法和装置
CN105491246B (zh) * 2016-01-20 2019-06-14 Oppo广东移动通信有限公司 拍照处理方法、装置及计算机可读存储介质
CN105718178B (zh) * 2016-01-20 2019-09-24 Oppo广东移动通信有限公司 一种推送消息的展示方法及装置
CN105718175A (zh) * 2016-01-20 2016-06-29 广东欧珀移动通信有限公司 一种屏显参数调节方法及装置
CN105704839B (zh) * 2016-01-20 2019-08-06 Oppo广东移动通信有限公司 一种蓝牙连接方法和装置
CN105718557B (zh) * 2016-01-20 2019-05-24 Oppo广东移动通信有限公司 一种信息搜索方法及装置
CN105700810B (zh) * 2016-02-23 2018-08-28 东莞盛世科技电子实业有限公司 信息交互方法和装置
DE102016106179B4 (de) * 2016-04-05 2019-03-28 Endress+Hauser Flowtec Ag Feldgerät der Mess- und Automatisierungstechnik
CN106126082B (zh) * 2016-06-24 2020-01-14 北京小米移动软件有限公司 控制终端的方法、装置及终端
CN107562596A (zh) * 2016-07-01 2018-01-09 深圳富泰宏精密工业有限公司 电子装置及电子装置侦测方法
CN106303006A (zh) * 2016-08-04 2017-01-04 珠海市魅族科技有限公司 一种来电处理的方法以及移动终端
CN106569653A (zh) * 2016-09-28 2017-04-19 宇龙计算机通信科技(深圳)有限公司 应用程序切换方法及系统
CN106402008B (zh) * 2016-09-30 2018-09-11 广东美的环境电器制造有限公司 风扇及其的控制方法和装置
CN106438429B (zh) * 2016-09-30 2018-09-11 广东美的环境电器制造有限公司 风扇及其的开关机控制方法和装置
CN106569710A (zh) * 2016-10-31 2017-04-19 宇龙计算机通信科技(深圳)有限公司 一种任务启动方法、装置及终端
CN106648421A (zh) * 2016-11-16 2017-05-10 武汉斗鱼网络科技有限公司 一种智能设备控制方法及智能设备
CN106686207A (zh) * 2016-11-17 2017-05-17 维沃移动通信有限公司 一种音量调节方法及移动终端
KR102429485B1 (ko) * 2016-12-13 2022-08-05 현대자동차주식회사 사용자 인터페이스 장치 및 방법
CN107014481B (zh) * 2017-03-01 2021-01-29 北京小米移动软件有限公司 动作识别方法及装置
CN106940529A (zh) * 2017-03-13 2017-07-11 美的智慧家居科技有限公司 场景联动控制方法及系统
CN106970756B (zh) * 2017-03-24 2020-08-14 宇龙计算机通信科技(深圳)有限公司 应用工具控制方法及移动终端
CN106940545A (zh) * 2017-03-31 2017-07-11 青岛海尔智能技术研发有限公司 一种家用电器及其触控按键组件、触控方法
CN106941570A (zh) * 2017-04-01 2017-07-11 深圳天珑无线科技有限公司 终端的控制方法及装置
CN110521201A (zh) * 2017-04-17 2019-11-29 松下知识产权经营株式会社 相机设备、相机系统和程序
CN108600495A (zh) * 2018-01-29 2018-09-28 北京硬壳科技有限公司 电子设备控制方法及应用其的电子设备
CN109652954B (zh) * 2018-03-22 2020-08-28 青岛海尔滚筒洗衣机有限公司 一种衣物处理装置的控制方法及衣物处理装置
CN109276033A (zh) * 2018-10-26 2019-01-29 广州三拾七度智能家居有限公司 一种动作控制的木质音响茶几
CN111103999A (zh) * 2018-10-26 2020-05-05 泰科电子(上海)有限公司 触控检测装置
CN111854066B (zh) * 2019-04-29 2024-03-08 珠海格力电器股份有限公司 一种空调控制系统、控制方法及空调
CN110335456A (zh) * 2019-05-28 2019-10-15 努比亚技术有限公司 可穿戴设备控制方法、可穿戴设备及计算机可读存储介质
CN110187770B (zh) * 2019-05-31 2022-11-25 深圳市泰辰达信息技术有限公司 一种腕带声控交互方法、设备及计算机可读存储介质
CN112572597B (zh) * 2019-09-30 2022-03-18 比亚迪股份有限公司 基于转向盘的车辆控制方法、装置、转向盘和车辆
CN110689888B (zh) * 2019-10-08 2023-10-24 安徽天德无人机科技有限公司 一种声音控制的植保无人机
CN113126743B (zh) * 2019-12-31 2023-07-18 华为技术有限公司 一种敲击检测方法、检测系统及可穿戴设备
CN113147969A (zh) * 2020-01-22 2021-07-23 纳恩博(北京)科技有限公司 电动车及其控制方法、存储介质
US11418713B2 (en) * 2020-04-02 2022-08-16 Qualcomm Incorporated Input based launch sequences for a camera application
CN112099711A (zh) * 2020-09-16 2020-12-18 深圳传音控股股份有限公司 移动终端的控制方法、移动终端及存储介质
CN112263150B (zh) * 2020-09-21 2022-09-13 华帝股份有限公司 可自动弹出的水箱、应用其的蒸汽烹饪设备及控制方法
CN112135294A (zh) * 2020-09-21 2020-12-25 Oppo广东移动通信有限公司 无线加密方法及其客户终端设备
CN112760904B (zh) * 2020-12-24 2022-05-24 珠海格力电器股份有限公司 一种洗衣机控制方法、装置、存储介质及洗衣机
CN112985575A (zh) * 2021-03-02 2021-06-18 暗物智能科技(广州)有限公司 敲击事件检测方法、装置、电子设备及检测系统
CN113349462A (zh) * 2021-06-07 2021-09-07 深圳市讴可电子科技有限公司 电子烟的交互装置、电子烟、交互方法和存储介质
CN113928232A (zh) * 2021-10-13 2022-01-14 广州小鹏自动驾驶科技有限公司 一种车辆控制的方法和装置
CN116055622B (zh) * 2022-06-24 2023-10-20 荣耀终端有限公司 一种功能触发方法、存储介质和终端
CN117155728A (zh) * 2023-10-27 2023-12-01 深圳市千岩科技有限公司 设备控制方法、装置、系统及计算机可读存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620465A (zh) * 2008-07-02 2010-01-06 联想(北京)有限公司 一种指令输入方法及数据处理系统
CN102436345A (zh) * 2011-10-31 2012-05-02 广州市动景计算机科技有限公司 一种移动设备界面操作控制的方法及实现装置
CN103645845A (zh) * 2013-11-22 2014-03-19 华为终端有限公司 一种敲击控制方法及终端

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6861946B2 (en) * 2000-05-17 2005-03-01 Caveo Technology Llc. Motion-based input system for handheld devices
JP3798637B2 (ja) * 2001-02-21 2006-07-19 インターナショナル・ビジネス・マシーンズ・コーポレーション タッチパネル式記入媒体装置、その制御方法、及びプログラム
FI20022282A0 (fi) * 2002-12-30 2002-12-30 Nokia Corp Menetelmä vuorovaikutuksen mahdollistamiseksi elektronisessa laitteessa ja elektroninen laite
US20060097983A1 (en) * 2004-10-25 2006-05-11 Nokia Corporation Tapping input on an electronic device
CN101018241A (zh) * 2006-02-06 2007-08-15 宏达国际电子股份有限公司 电子装置的操控方法及具敲击操控功能的可携式电子装置
JP2009278294A (ja) * 2008-05-13 2009-11-26 Sony Ericsson Mobilecommunications Japan Inc 情報処理装置、情報処理方法、情報処理プログラム、及び携帯端末装置
US8717291B2 (en) * 2009-10-07 2014-05-06 AFA Micro Co. Motion sensitive gesture device
EP2603838B1 (en) * 2010-08-12 2013-12-04 Koninklijke Philips N.V. Tap sensitive alarm clock
US8982045B2 (en) * 2010-12-17 2015-03-17 Microsoft Corporation Using movement of a computing device to enhance interpretation of input events produced when interacting with the computing device
US8994646B2 (en) * 2010-12-17 2015-03-31 Microsoft Corporation Detecting gestures involving intentional movement of a computing device
JP5743559B2 (ja) * 2011-01-13 2015-07-01 キヤノン株式会社 情報処理装置、その制御方法及びプログラム並びに記録媒体
KR102014273B1 (ko) * 2011-02-10 2019-08-26 삼성전자주식회사 터치 스크린 디스플레이를 구비한 휴대 기기 및 그 제어 방법
US8743069B2 (en) * 2011-09-01 2014-06-03 Google Inc. Receiving input at a computing device
CN102999279A (zh) * 2012-11-29 2013-03-27 四川长虹电器股份有限公司 一种通过敲击声控制智能设备的方法
CN103024201A (zh) * 2012-12-31 2013-04-03 广东欧珀移动通信有限公司 一种移动终端操作方法及装置
CN103345409A (zh) * 2013-06-26 2013-10-09 华为终端有限公司 一种生成终端输入信号的方法、装置及终端
JP6261237B2 (ja) * 2013-08-28 2018-01-17 キヤノン株式会社 画像表示装置、画像表示装置の制御方法およびコンピュータプログラム

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620465A (zh) * 2008-07-02 2010-01-06 联想(北京)有限公司 一种指令输入方法及数据处理系统
CN102436345A (zh) * 2011-10-31 2012-05-02 广州市动景计算机科技有限公司 一种移动设备界面操作控制的方法及实现装置
CN103645845A (zh) * 2013-11-22 2014-03-19 华为终端有限公司 一种敲击控制方法及终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2988199A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183188A (zh) * 2015-09-14 2015-12-23 小米科技有限责任公司 电子设备的屏幕控制方法及装置
CN105528165A (zh) * 2015-12-15 2016-04-27 广东欧珀移动通信有限公司 移动终端的控制方法、装置及移动终端

Also Published As

Publication number Publication date
CN103645845B (zh) 2016-10-05
EP2988199A1 (en) 2016-02-24
EP2988199A4 (en) 2016-06-29
US20160110005A1 (en) 2016-04-21
CN103645845A (zh) 2014-03-19

Similar Documents

Publication Publication Date Title
WO2015074567A1 (zh) 一种敲击控制方法及终端
US11307733B2 (en) Always on display method and electronic device
WO2019015404A1 (zh) 在分屏模式下切换应用的方法、装置及其相关设备
WO2018196660A1 (zh) 指纹识别区域显示方法及相关产品
CN108900231B (zh) 动态天线调整方法及相关产品
US11843715B2 (en) Photographing method and terminal
US10675541B2 (en) Control method of scene sound effect and related products
WO2013149530A1 (zh) 显示信息的方法、移动终端和计算机可读存储介质
CN104866110A (zh) 一种手势控制方法,移动终端及系统
WO2015024372A1 (zh) 发起通信的方法、装置及移动终端
WO2015043188A1 (zh) 一种用于耳机插头的连接部件、耳机插孔及终端
WO2018036565A1 (zh) 终端的控制方法、终端、智能穿戴设备和系统
WO2019011335A1 (zh) 一种移动终端及其控制方法和可读存储介质
CN109542325B (zh) 双面屏触控方法、双面屏终端、可读存储介质
CN105162930B (zh) 移动终端的录音方法及装置
US10853092B2 (en) Method and device for sound effect processing
CN110096213B (zh) 基于手势的终端操作方法、移动终端及可读存储介质
CN105100361B (zh) 移动终端的录音方法及装置
WO2015024393A1 (zh) 发送短信的方法、装置及终端
TWI715818B (zh) 電子裝置的殼體組件及電子裝置
CN109933196A (zh) 一种屏幕控制方法、装置及终端设备
WO2019011297A1 (zh) 查找和搜索fm频道的方法、移动终端及存储装置
WO2015078349A1 (zh) 麦克风收音状态的切换方法和装置
WO2020108262A1 (zh) 终端及其控制方法
CN109947617B (zh) 一种监听应用界面显示内容的方法、终端及可读存储介质

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2014864841

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE