CN108509116A - Trigger method and device, the electronic equipment of click event - Google Patents

Trigger method and device, the electronic equipment of click event Download PDF

Info

Publication number
CN108509116A
CN108509116A CN201710109090.1A CN201710109090A CN108509116A CN 108509116 A CN108509116 A CN 108509116A CN 201710109090 A CN201710109090 A CN 201710109090A CN 108509116 A CN108509116 A CN 108509116A
Authority
CN
China
Prior art keywords
target
electronic equipment
tapping operation
acceleration
button
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710109090.1A
Other languages
Chinese (zh)
Inventor
郑忠香
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710109090.1A priority Critical patent/CN108509116A/en
Publication of CN108509116A publication Critical patent/CN108509116A/en
Pending legal-status Critical Current

Links

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/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
    • G06F3/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

Present disclose provides a kind of method and device of triggering click event, electronic equipments, belong to field of terminal equipment.Method therein is applied to electronic equipment, and the electronic equipment is equipped at least two button arranged in the first direction, and this method includes:Judge whether to detect the target tapping operation for meeting preset condition, target tapping operation is the tapping operation for carrying out the target side of electronic equipment, and target side is one in two sides of electronic equipment in a first direction;When detecting the target tapping operation for meeting preset condition, the click event of target button is triggered, target button is at least two buttons farthest away from the button of target side.The disclosure can provide a kind of replacement mode of operation of finger click distal end button, user is allow to replace clicking operation by tapping operation in single-hand held equipment, two kinds of terminal device suitable for virtual key and physical button simultaneously haves no need to change original key interface layout.

Description

Trigger method and device, the electronic equipment of click event
Technical field
This disclosure relates to field of terminal technology more particularly to a kind of method and device of triggering click event, electronic equipment.
Background technology
Android (Android) is a kind of freedom based on Linux and the operating system of open source code, is answered extensively at present In mobile device for such as smart mobile phone and tablet computer.Using the mainstream equipment of Android system frequently with menu (Menu), homepage (Home), return (Back) three button designs, can be by all pages under succinct key interface realization system General three classes conventional user operations.However for the equipment using the screen sizes of three button designs, user is in list It is the one of user that finger, which can not click menu (Menu) button of distal end or return to (Back) button, when hand handheld device Big pain spot.In this regard, the relevant technologies propose the scheme for being exchanged with each other the display location of two virtual keys under user instruction, But the equipment that its one side can not be applied to multiple entity button, is on the other hand also easy to lead to boundary by toggling for key position Face layout is chaotic, and more inconvenience are brought to user.
Invention content
To overcome the problems in correlation technique, the disclosure provides a kind of triggering method and device of click event, electricity Sub- equipment.
According to the first aspect of the embodiments of the present disclosure, a kind of method of triggering click event is provided, electronic equipment is applied to, The electronic equipment is equipped at least two button arranged in the first direction, the method includes:
Judge whether to detect the target tapping operation for meeting preset condition, the target tapping operation is to the electricity The tapping operation that the target side of sub- equipment carries out, the target side is two of the electronic equipment in said first direction One in a side;
When meeting the target tapping operation of preset condition described in detecting, the click event of target button, institute are triggered It is at least two button farthest away from the button of the target side to state target button.
Optionally, described to judge whether to detect the target tapping operation for meeting preset condition, including:
Judge whether to detect the continuous two percussions direction for executing the target side in the first preset duration Identical single tapping operation;
When detected in the first preset duration to the target side execute it is continuous two tap direction it is identical When single tapping operation, when judging whether the time interval to each other of described two single tapping operations is default less than second It is long;
When the time interval to each other of described two single tapping operations is less than the second preset duration, confirmly detect Meet the target tapping operation of preset condition.
In this embodiment, meet the restrictive condition of the first preset duration, the second preset duration, percussion direction etc. Continuous two single tapping operations can be determined that the tapping operation for meeting preset condition, can profit based on this realization method The generation of error detection is reduced with various restrictive conditions, while user also only being needed to carry out simple double click operation, to Relatively high Detection accuracy is realized with relatively low operation complexity.
Optionally, described to judge whether to detect the target tapping operation for meeting preset condition, including:
The maximum of the electronic equipment in the first preset period of time is judged according to the angular speed sensing signal of the electronic equipment Whether angular speed variable quantity is less than angular speed variable quantity threshold value;
When the maximum angular rate variable quantity of the electronic equipment in first preset period of time is less than angular speed variable quantity threshold When value, the target tapping operation for not detected in first preset period of time and meeting preset condition is determined.
In this embodiment, based on user tap electronic equipment during electronic equipment in any direction on rotation Speed should not have acute variation this point, and the method for the triggering click event under the realization method can be in the side that angular speed changes Face, which excludes a part, may lead to the situation of error detection (such as electronic equipment is rotating and falls on the ground or electronics is set It is standby to be rotating touching user or other objects during being connect by user's throwing), thus help to reduce target tapping operation False detection rate promotes the order of accuarcy of target detection tapping operation.
Optionally, described to judge whether to detect the target tapping operation for meeting preset condition, including:
Judge whether the acceleration change of the electronic equipment meets according to the acceleration sensing signal of the electronic equipment Predetermined acceleration variation characteristic.
In this embodiment, the acceleration sensing signal of electronic equipment is used to the detection of target tapping operation, And meet the target tapping operation of preset condition using the screening of predetermined acceleration variation characteristic, it can utilize in terminal device often The motion sensor of setting realizes the detection of tapping operation, contributes to the reduction of hardware cost.
Optionally, the predetermined acceleration variation characteristic includes the acceleration sensing signal of the electronic equipment described The wave numerics feature that Acceleration pulse on one direction meets in the second preset period of time planted agent, second preset period of time are institutes State the period between two neighboring blank interval in Acceleration pulse;The wave numerics feature includes following one or more :
The absolute value of the peak-peak of Acceleration pulse, which is located at, to be had in bounded above first pre-set interval;
The absolute value of the minimum valley of Acceleration pulse, which is located at, to be had in bounded above second pre-set interval;
Time interval between the maximal peak point of Acceleration pulse and the starting point of second preset period of time is located at tool In bounded above third pre-set interval;
Time interval between the maximal peak point of Acceleration pulse and minimum valley point, which is located at, has the bounded above 4th in advance If in section.
In this embodiment it is possible to reach the mistake of relatively lower single tapping operation by relatively small number of judgement number Inspection rate and omission factor promote the order of accuarcy of detection target tapping operation.
Optionally, the predetermined acceleration variation characteristic, which includes the acceleration sensing signal of the electronic equipment, to meet Acceleration pulse feature;The Acceleration pulse feature includes:
Acceleration pulse on the first direction when executing the target tapping operation to the electronic equipment most Big wave amplitude, which is located at, to be had in bounded below 5th pre-set interval;
Maximum wave of the Acceleration pulse when executing the target tapping operation to the electronic equipment in second direction Width, which is located at, to be had in bounded above 6th pre-set interval;
Maximum of Acceleration pulse when to executing the target tapping operation to the electronic equipment on third direction Wave amplitude, which is located at, to be had in bounded above 7th pre-set interval;
Wherein, the first direction, the second direction and the third direction pairwise orthogonal.
In this embodiment it is possible to which the limitation using the maximum amplitude to the Acceleration pulse on other directions excludes one Part may lead to the situation (such as electronic equipment inadvertently fall off, hit, collide with etc.) of error detection, thus help to reduce The false detection rate of target tapping operation promotes the order of accuarcy of detection target tapping operation.
According to the second aspect of the embodiment of the present disclosure, a kind of device of triggering click event is provided, electronic equipment is applied to, The electronic equipment is equipped at least two button arranged in the first direction, and described device includes:
Judgment module detects the target tapping operation for meeting preset condition for judging whether, the target taps Operation is the tapping operation carried out to the target side of the electronic equipment, and the target side is the electronic equipment described One in two sides on first direction;
Trigger module when for meeting the target tapping operation of preset condition described in detecting, triggers target button Click event, the target button is at least two button farthest away from the button of the target side.
Optionally, the judgment module includes:
First judging unit executes the target side for judging whether to detect in the first preset duration Continuous two tap the identical single tapping operation in direction;
Second judgment unit detects executed to the target side continuous two for working as in the first preset duration When the identical single tapping operation in a percussion direction, judge described two single tapping operations time interval to each other whether Less than the second preset duration;
First determination unit, it is default for being less than second in the time interval to each other of described two single tapping operations When duration, the target tapping operation for meeting preset condition has been confirmly detected.
Optionally, the judgment module includes:
Third judging unit, for judging institute in the first preset period of time according to the angular speed sensing signal of the electronic equipment Whether the maximum angular rate variable quantity for stating electronic equipment is less than angular speed variable quantity threshold value;
It is small to be used for the maximum angular rate variable quantity of the electronic equipment in first preset period of time for second determination unit When angular speed variable quantity threshold value, determines and do not detect that the target for meeting preset condition taps behaviour in first preset period of time Make.
Optionally, the judgment module includes:
4th judging unit, for judging adding for the electronic equipment according to the acceleration sensing signal of the electronic equipment Whether velocity variations meet predetermined acceleration variation characteristic.
Optionally, the predetermined acceleration variation characteristic includes the acceleration sensing signal of the electronic equipment described The wave numerics feature that Acceleration pulse on one direction meets in the second preset period of time planted agent, second preset period of time are institutes State the period between two neighboring blank interval in Acceleration pulse;The wave numerics feature includes following one or more :
The absolute value of the peak-peak of Acceleration pulse, which is located at, to be had in bounded above first pre-set interval;
The absolute value of the minimum valley of Acceleration pulse, which is located at, to be had in bounded above second pre-set interval;
Time interval between the maximal peak point of Acceleration pulse and the starting point of second preset period of time is located at tool In bounded above third pre-set interval;
Time interval between the maximal peak point of Acceleration pulse and minimum valley point, which is located at, has the bounded above 4th in advance If in section.
Optionally, the predetermined acceleration variation characteristic, which includes the acceleration sensing signal of the electronic equipment, to meet Acceleration pulse feature;The Acceleration pulse feature includes:
Acceleration pulse on the first direction when executing the target tapping operation to the electronic equipment most Big wave amplitude, which is located at, to be had in bounded below 5th pre-set interval;
Maximum wave of the Acceleration pulse when executing the target tapping operation to the electronic equipment in second direction Width, which is located at, to be had in bounded above 6th pre-set interval;
Maximum of Acceleration pulse when to executing the target tapping operation to the electronic equipment on third direction Wave amplitude, which is located at, to be had in bounded above 7th pre-set interval;
Wherein, the first direction, the second direction and the third direction pairwise orthogonal.
According to the third aspect of the embodiment of the present disclosure, a kind of electronic equipment is provided, including:
Processor;
Memory for storing the executable instruction of processor;
Wherein, the processor is configured as:
Judge whether to detect the target tapping operation for meeting preset condition, the target tapping operation is to the electricity The tapping operation that the target side of sub- equipment carries out, the target side is two of the electronic equipment in said first direction One in a side;
When meeting the target tapping operation of preset condition described in detecting, the click event of target button, institute are triggered It is at least two button farthest away from the button of the target side to state target button.
The technical scheme provided by this disclosed embodiment can include the following benefits:The disclosure is based on detecting symbol The click event of target button is triggered when closing the target tapping operation of preset condition, target side can be carried out detecting The click event farthest away from the button of target side is triggered when tapping operation, to provide a kind of replacing for finger click distal end button For mode of operation so that user can replace the click of distal end button to grasp in single-hand held equipment by target tapping operation Make.Compared to the relevant technologies, the disclosure is not only suitable for the two kinds of terminal device of virtual key and physical button simultaneously, Have no need to change original key interface layout, can also on the basis of existing equipment only by the improvement in software program come It realizes, helps to promote properties of product, reduces product cost.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of method flow diagram of triggering click event shown according to an exemplary embodiment;
Fig. 2 is the schematic diagram according to a kind of electronic equipment shown in an exemplary embodiment;
Fig. 3 is the schematic diagram according to a kind of electronic equipment shown in an exemplary embodiment;
Fig. 4 is that electronic equipment shown in Fig. 3 is rotating clockwise the schematic diagram after 90 °;
Fig. 5 is a kind of flow chart of the method for triggering click event shown according to an exemplary embodiment;
Fig. 6 A and Fig. 6 B are that a kind of triggering shown according to an exemplary embodiment clicks in the method for event two kinds respectively The partial waveform schematic diagram of acceleration sensing signal;
Fig. 7 is a kind of structure diagram of the device of triggering click event shown according to an exemplary embodiment;
Fig. 8 is the block diagram according to a kind of electronic equipment shown in an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of consistent device and method of some aspects be described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, is not intended to be limiting the application. It is also intended to including majority in the application and "an" of singulative used in the attached claims, " described " and "the" Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
Fig. 1 is a kind of method flow diagram of triggering click event shown according to an exemplary embodiment, as shown in Figure 1, This method is used for electronic equipment, and the electronic equipment is equipped at least two button arranged in the first direction, the method packet Include following steps:
In a step 101, judge whether to detect the target tapping operation for meeting preset condition, the target taps behaviour Work is the tapping operation carried out to the target side of the electronic equipment, and the target side is the electronic equipment described the One in two sides on one direction.
In a step 102, when meeting the target tapping operation of preset condition described in detecting, triggering target button Click event, the target button are at least two button farthest away from the button of the target side.
It should be noted that the electronic equipment in the present embodiment may, for example, be mobile phone, tablet computer, laptop, The equipment of personal digital assistant (Personal Digital Assistant, PDA) etc..At least two in the present embodiment press Key is arranged on an electronic device for example in the form of physical button or virtual key, the arrangement that at least two buttons are arranged in order Direction, that is, first direction.In the side of the both sides of electronic equipment in a first direction, one of those can be set to one Target side can also be respectively set to a target side by two.Since at least two buttons are arranged along first direction, institute With for any one target side, all there is one near the button of the target side and one farthest away from the target side The button in face.
It should also be noted that, the target tapping operation for meeting preset condition in the present embodiment refer to it is preassigned A kind of or a kind of user taps the action of the target side of electronic equipment, and preset condition therein is used in determination by electronic equipment Whether the variation sensed in a period of time meets the target that preassigned a kind of or a kind of user taps electronic equipment The action of side.For example, it is that user sets in hand-held electronics that can preassign the above-mentioned target tapping operation for meeting preset condition Tap the action of the target side of electronic equipment when standby twice in succession using finger, thus in view of beating position, percussion side Each physical quantity that electronic equipment can sense when under the influence of to, percussion dynamics, the time interval tapped twice etc. factor Variation range and changing rule can define the mark for judging whether target tapping operation occurs by the way that above-mentioned preset condition is arranged Standard makes the judgement that the physical quantity variation that target tapping operation should be judged as in convention can be Jing Guo preset condition as far as possible And detect and obtain, and the physical quantity variation that should not be determined as target tapping operation that electronic equipment is sensed in convention is (such as Surprisingly collide with, maloperation etc.) it can all be excluded by the judgement of preset condition.
In a kind of possible realization method of the embodiment of the present disclosure, above-mentioned preset condition includes:Target tapping operation be In first preset duration the identical single tapping operation in direction, and two are tapped to continuous two that the target side executes The time interval to each other of single tapping operation is less than the second preset duration.Wherein, the first preset duration and second it is default when Long numerical value can be preset for example, by modes such as actual test or human configurations.Above-mentioned steps 101 can be with as a result, Including:Judging whether to detect continuous two executed to the target side in the first preset duration, to tap direction identical Single tapping operation;Direction is tapped when detecting continuous two executed to the target side in the first preset duration When identical single tapping operation, it is pre- to judge whether the time interval to each other of described two single tapping operations is less than second If duration;When the time interval to each other of described two single tapping operations is less than the second preset duration, confirmly detect Meet the target tapping operation of preset condition.As can be seen that meeting the first preset duration, the second preset duration, tapping direction Etc. continuous two single tapping operations of restrictive condition can be determined that the target tapping operation for meeting preset condition, Based on this realization method can utilize various restrictive conditions reduce error detection generation, while also only need user into The simple double click operation of row, to realize relatively high Detection accuracy with relatively low operation complexity.
In the alternatively possible realization method of the embodiment of the present disclosure, above-mentioned preset condition includes:Target tapping operation is sent out The maximum angular rate variable quantity of the electronic equipment should be less than angular speed variable quantity threshold value in the raw period.Wherein, electronics is set The standby sensing to own angular velocity variation can be by the angular-rate sensor of configuration in the electronic device (such as oscillating mode or sound Forked type) it realizes, and it is used to define the angular speed variation of the angular speed variation degree of permission and the angular speed variation degree not allowed Measuring threshold value can be by advance obtaining the measuring of electronic equipment.Based on electronics during user taps electronic equipment Equipment in any direction on velocity of rotation should not have acute variation this point, under the realization method triggering click event side Method can exclude a part in terms of angular speed variation may lead to the situation of error detection (such as electronic equipment is rotating Fall on the ground or electronic equipment be rotating touching user or other objects during being connect by user's throwing), thus help In the false detection rate for reducing target tapping operation, the order of accuarcy of target detection tapping operation is promoted.
As can be seen that the embodiment of the present disclosure when detecting the target tapping operation for meeting preset condition based on triggering target The click event of button, can when detecting the tapping operation carried out to target side button of the triggering farthest away from target side Click event, to provide the replacement mode of operation that a kind of finger clicks distal end button so that user is in single-hand held equipment When can by target tapping operation replace distal end button clicking operation.Compared to the relevant technologies, the embodiment of the present disclosure is not only Two kinds of terminal device suitable for virtual key and physical button simultaneously, haves no need to change original key interface cloth Office, can also only be realized by the improvement in software program on the basis of existing equipment, help to promote properties of product, drop Low product cost.
Fig. 2 is the schematic diagram according to a kind of electronic equipment shown in an exemplary embodiment.Referring to Fig. 2, electricity shown in Fig. 2 Sub- equipment is specially a kind of mobile phone.In Fig. 2, the first direction R1, that is, direction of mobile phone front from left to right, second direction R2, that is, hand The direction of machine from top to bottom, the third direction R3, that is, direction of mobile phone from back to front, first direction R1, second direction R2 and third party To R3 pairwise orthogonals.In the lower section of mobile phone screen, R1 has set gradually the menu of symbol " ≡ " representative along a first direction (Menu) return (Back) button that homepage (Home) button and symbol " < " that button, symbol " " represent represent etc. three touches Touch button.Wherein, the symbol of three buttons is printed below cover-plate glass (Cover Glass), and realizes pressing for each button The circuit structure of key function is then separately positioned on the lower section in the printing position of corresponding symbol.Fig. 2 shows with physical button as a result, Three buttons of form setting.
When the method for the triggering click event of mobile phone application the present embodiment shown in Fig. 2, above-mentioned steps 101 can be specific It comprises determining whether to detect the operation that the user for meeting the preset condition taps mobile phone left side, above-mentioned steps 102 can When being specifically included in the operation for detecting the user for meeting preset condition percussion mobile phone left side, three buttons are triggered In farthest away from mobile phone left side return button (symbol " < ") click event.That is, when user taps the left side of mobile phone, Program application on mobile phone will trigger the click event for returning to button, and according to mode identical with user's click return button Respond this operation of user.For example, in user's left hand single-hand handling & mobile phone, the thumb of left hand be likely difficult to touch return by Key, at this time user can use left hand thumb tap mobile phone left side, make mobile phone automatic trigger when detecting the tapping operation The click event for returning to button clicks the equivalent substitution operation for returning to button as user.
The supplement or alternative of the method for triggering click event as above-mentioned mobile phone application the present embodiment shown in Fig. 2, on It may include judging whether to detect the operation that the user for meeting the preset condition taps mobile phone right side to state step 101, Above-mentioned steps 102 may include being touched when detecting the operation of the user for meeting preset condition percussion mobile phone right side The click event of the menu key (symbol " ≡ ") in three buttons farthest away from mobile phone right side is sent out, so that user can profit It is used as the equivalent substitution operation for clicking menu key with the operation for tapping mobile phone right side.
Fig. 3 is the schematic diagram according to a kind of electronic equipment shown in an exemplary embodiment.Referring to Fig. 3, electricity shown in Fig. 3 Sub- equipment is specially a kind of tablet computer.Referring to Fig. 3, first direction R1, second direction R2 and third direction R3 in Fig. 3 are two-by-two Orthogonal, the long side of tablet computer is parallel to first direction R1 and extends, and the short side of tablet computer is parallel to second direction R2 and extends, and puts down The thickness direction of plate computer is parallel to third direction R3.The screen of tablet computer shown in Fig. 3 is showing a width plant picture, The bottom of picture shows virtual key region, in virtual key region, menu key that symbol " ≡ " represents, symbol " " generation R1 is arranged in order the return button that the homepage button and symbol " < " of table represent along a first direction.Wherein, three buttons correspond to In the program that one operates on tablet computer, which can touch when detecting that user touch point hits the operation of some button The click event of respective keys is sent out, and the dispaly state of three buttons can be controlled, the dispaly state about three buttons is provided Information.Fig. 3 shows three buttons being arranged in the form of virtual key as a result,.
When the method for the triggering click event of tablet computer application the present embodiment shown in Fig. 3, above-mentioned steps 101 can be with It specifically includes and first direction R1 (i.e. direction from left to right shown in Fig. 3) is determined according to the dispaly state of three buttons, to Judge whether to detect the user for meeting the preset condition and taps tablet computer left side (tablet computer R1 in a first direction On a side) operation, above-mentioned steps 102, which can be specifically included in, to be detected the user for meeting the preset condition and strikes When hitting the operation of tablet computer left side, the return button (symbol farthest away from tablet computer left side in three buttons is triggered " < ") click event.That is, when user taps the left side of tablet computer, the program application on tablet computer will trigger The click event of button is returned, and responds this operation of user according to mode identical with user's click return button.For example, In user's left hand single-hand handling & tablet computer, the thumb of left hand is likely difficult to touch return button, and user can use a left side at this time Hand thumb taps the left side of tablet computer, and tablet computer automatic trigger when detecting the tapping operation is made to return to the point of button Event is hit, the equivalent substitution operation for returning to button is clicked as user.
The supplement of the method for triggering click event as above-mentioned tablet computer application the present embodiment shown in Fig. 3 is replaced Generation, above-mentioned steps 101 may include according to the dispaly state of three buttons determine first direction R1 (it is i.e. shown in Fig. 3 from a left side to Right direction), judge whether to detect the operation that the user for meeting the preset condition taps tablet computer right side, it is above-mentioned Step 102 may include being touched when detecting the operation of the user for meeting preset condition percussion tablet computer right side The click event for sending out the menu key (symbol " ≡ ") in three buttons farthest away from tablet computer right side, so that user can To be used as the equivalent substitution operation for clicking menu key using the operation for tapping tablet computer right side.
And be arranged different from three buttons of physical button form shown in Fig. 2, on mobile phone shown in Fig. 3 along first party The dispaly state and first direction R1 of three buttons arranged to R1 change such as the variation of display picture.For example, Fig. 4 is that electronic equipment shown in Fig. 3 is rotating clockwise the schematic diagram after 90 °.Comparison diagram 3 and Fig. 4 are it is found that be based on gravity sensitive Detection of the device to gravity direction, tablet computer have been switched to vertical screen mode after 90 ° after rotating clockwise by transverse screen mode, institute The plant picture of display has rotated 90 ° counterclockwise on the screen of tablet computer, so that the plant picture in viewer's eye is still Upright;And the virtual key region of bar shaped then has updated position with the rotational automatic of tablet computer, to be maintained at the bottom of picture Portion.Although the orientation of three buttons is that from left to right, first direction R1 is from parallel in Fig. 3 and Fig. 4 as a result, Become the direction for being parallel to tablet computer short side in the direction of tablet computer long side.In addition, first direction R1, second direction R2 With third direction R3 still pairwise orthogonal, third direction R3 is still parallel with the thickness direction of tablet computer, and second direction R2 is from flat Row becomes the direction for being parallel to tablet computer long side in the direction of tablet computer short side.
Since the dispaly state and first direction of button can change with the variation of display picture, above-mentioned along the When at least one of at least two buttons of one direction arrangement are arranged according to the form of virtual key, above-mentioned steps 101 can be with Include that first direction is determined according to the dispaly state of at least two button.As a result, in Fig. 3 and two kinds of displays shown in Fig. 4 Under state, it will determination obtains different first directions for electronic equipment, and thereby determines that different target sides Face, so that same tapping operation may be produced by whether detecting the process for the target tapping operation for meeting preset condition Raw different judging result.For example, when user taps the left side of the tablet computer in Fig. 3, tablet computer may judge to examine The target tapping operation for meeting preset condition is measured;And the upper side of tablet computer shown in Fig. 4 is tapped (with Fig. 3 in user Shown in tablet computer left side be same side) when because the side is not target side at this time, tablet computer is then It will not judge to detect the target tapping operation for meeting preset condition.
Fig. 5 is a kind of flow chart of the method for triggering click event shown according to an exemplary embodiment, such as Fig. 5 institutes Show, this method is used in electronic equipment, and the electronic equipment is equipped at least two button arranged in the first direction, the side Method includes the following steps:
In step 501, the acceleration sensing signal of electronic equipment is obtained.
Wherein, acceleration sensing signal may come from acceleration transducer, and acceleration transducer can be only fitted to electronics In equipment, any one piezoelectric type, pressure resistance type or capacitive acceleration transducer, the disclosure pair may be used in when specific implementation This is not especially limited.
In step 502, according to the acceleration sensing signal of electronic equipment judge electronic equipment acceleration change whether Meet predetermined acceleration variation characteristic.
If it is not, can then continue to obtain acceleration sensing signal with return to step 501, meet default acceleration until detecting Spend the acceleration change of variation characteristic.Thus, it is possible to form the duration of the acceleration change to predetermined acceleration variation characteristic Monitoring.And in other realization methods of the disclosure, the acceleration for meeting predetermined acceleration variation characteristic is not detected in judgement Degree variation when can not also return to step 501 continue obtain acceleration sensing signal, such as directly with do not detect meet it is pre- The judgement result of the target tapping operation of fixed condition terminates flow, and the disclosure is not especially limited this.
It should be noted that above-mentioned predetermined acceleration variation characteristic is that electronic equipment is tapped in target in above-mentioned preset condition The feature that should meet of acceleration change in the period occurred is operated, acceleration change for defining permission and is not allowed Acceleration change, can be by being obtained in advance to the measuring of electronic equipment.
Above-mentioned detection process may include:Acceleration sensing signal is obtained, judges exist in acceleration sensing signal item by item Acceleration change whether meet each single item single features in predetermined acceleration variation characteristic, and do not met in acceleration change Judge that acceleration change does not meet predetermined acceleration variation characteristic, meets all in acceleration change when any one single features Judge that acceleration change meets predetermined acceleration variation characteristic when single features.
In step 503, it when detecting the acceleration change for meeting predetermined acceleration variation characteristic, is set according to electronics Standby angular speed sensing signal judges whether the maximum angular rate variable quantity of the duration inner electronic equipment of acceleration change is small In angular speed variable quantity threshold value.
It should be noted that angular speed sensing signal may come from the angular-rate sensor being arranged in electronic equipment;On It is maximum of the electronic equipment within the period that target tapping operation occurs in above-mentioned preset condition to state angular speed variable quantity threshold value The numerical value that angular speed variable quantity should be less than, angular speed variation degree for defining permission and the angular speed variation journey not allowed Degree, can be by advance obtaining the measuring of electronic equipment.Moreover, above-mentioned angular speed sensing signal can be single rotation Can also be in more than one rotation direction on direction;When its angular speed sensing signal is more than one rotation side When upward, the maximum angular rate variable quantity in each rotation direction should be less than the angular speed variation in corresponding rotation direction Measure threshold value.Upper deterministic process may include:Obtain angular speed sensing signal, in angular speed sensing signal in calculating prolongeding time Maximum amplitude, obtain angular speed variable quantity threshold value in memory, and compare maximum amplitude and angular speed variable quantity threshold value Between size.
In step 504, the maximum angular rate variable quantity of the electronic equipment within the duration of acceleration change is not small When angular speed variable quantity threshold value, determines and do not detected in the duration of acceleration change electronic equipment execution is met (acceleration change for being determined for compliance with predetermined acceleration variation characteristic is not to meet default item to the target tapping operation of preset condition The target tapping operation of part).
" the maximum angular rate variable quantity of the electronic equipment in the duration of acceleration change is not less than angular speed as a result, Variable quantity threshold value " is the negative evaluation condition being contained in above-mentioned preset condition, i.e., once meeting the condition, it is then not possible to right The target tapping operation for meeting preset condition is detected in seasonable.That is, when the maximum angular of the first preset period of time inner electronic equipment When velocity variable is less than angular speed variable quantity threshold value, it may be determined that do not detect in the first preset period of time and held to electronic equipment The capable target tapping operation for meeting preset condition.In the embodiments of the present disclosure, the first preset period of time meets predetermined acceleration The duration of the acceleration change of variation characteristic, in preset condition about the judgement of angular speed variable quantity threshold value execute about After the judgement of predetermined acceleration variation characteristic.
And in other possible realization methods, the judgement in preset condition about angular speed variable quantity threshold value is sentenced with other Sequence between disconnected process can be arbitrarily arranged, for example, execute at first in all deterministic processes or all deterministic processes in Finally execute.In the realization method executed at first, the angular speed variation of electronic equipment can be monitored constantly, and only in maximum angular Velocity variable is less than detection target tapping operation in the period of angular speed variable quantity threshold value, and (i.e. above-mentioned first preset period of time is inspection Survey the set of the All Time section of target tapping operation).In the realization method finally executed, it will can be determined meeting Judge whether maximum angular rate variable quantity is less than angular speed variable quantity threshold in the duration of the target tapping operation of preset condition The period of value, and only will just determine that it meets preset condition when the determination result is yes.Certainly, " determination " in step 504 can Can also be the one or more subsequent operation under the triggering of judging result not include any concrete operations, this It is open that this is not especially limited.
In step 505, the click event of target button is triggered.
For example, step 505 can specifically include:The maximum angular speed of electronic equipment within the duration of acceleration change When spending variable quantity less than angular speed variable quantity threshold value, following flows are carried out successively:The target tapping operation pair for determining and detecting The target side answered (for example can change according to the Acceleration pulse of Fig. 4 middle plateform computers and determine that target side be first direction The left side in two sides on R1), obtain the mark (ratio of the target button at least two buttons farthest away from target side Such as according to first direction R1 and as the left side of target side, it may be determined that the button farthest away from target side is that symbol is The return button of " < ", so that it is determined that it identifies " BACK "), according to the click thing of the mark triggering target button with target button Part.
Compared to the step flow of the method for triggering click event shown in figure 1, the present embodiment is based on above-mentioned steps 101 The design of the deterministic process in above-mentioned steps 503 and step 504 is specifically included, one can be excluded in terms of angular speed variation Part may lead to the situation of error detection, and (such as electronic equipment is rotating and falls on the ground or electronic equipment is by user Throwing is rotating touching user or other objects during connecing), thus help to reduce the false detection rate of target tapping operation, it carries Rise the order of accuarcy of detection target tapping operation.
Generally speaking, in the disclosure in any one possible realization method, above-mentioned preset condition can include at least one A necessary condition and any number of negative evaluation condition, the variation that electronic equipment is sensed need to meet all necessary items Part and it is unsatisfactory for any one negative evaluation condition, can just be judged as meeting the target tapping operation of preset condition.And sentencing During whether the variation that disconnected electronic equipment is sensed meets preset condition, sentence about each necessary condition and each negative The judgement of broken strip part can carry out (including while judging and judgement in no particular order) in any order, and the disclosure does not make this It is specific to limit.Wherein for simple flow, any negative evaluation condition, which obtains meeting, can terminate above-mentioned judgement electronic equipment institute Whether the variation sensed meets the process of preset condition, and the disclosure is not especially limited this.
Fig. 6 A and Fig. 6 B are that a kind of triggering shown according to an exemplary embodiment clicks in the method for event two kinds respectively The partial waveform schematic diagram of acceleration sensing signal.In Fig. 6 A and Fig. 6 B, abscissa is time T, and ordinate is acceleration a, circle Point is the acceleration value point inscribed in some time, and broken line is line of the acceleration value point under time sequencing;To be more convenient, In Fig. 6 B of two continuous single tapping operations of Fig. 6 A and expression for indicating general state, indicate that the longitudinal axis of acceleration a uses The engineer's scale of same size.Compare Fig. 6 A and Fig. 6 B it can be found that the Acceleration pulse under general state remain fluctuating can The space state ignored, and the waveform variation that the Acceleration pulse under single tapping operation has oscillation more violent.For Judge whether acceleration change belongs to target tapping operation, above-mentioned predetermined acceleration variation characteristic may include electronic equipment The wave numerics feature that the Acceleration pulse of acceleration sensing signal in a first direction meets in the second preset period of time planted agent, In the second preset period of time be period in Acceleration pulse between two neighboring blank interval.Referring to Fig. 6 B, the disclosure is real The wave numerics feature for applying example includes following four necessary conditions:
The peak-peak of Acceleration pulse absolute value (such as | a (Pmax) |) it is located at bounded above first pre-set interval of tool It is interior;
The minimum valley of Acceleration pulse absolute value (such as | a (Pmin) |) it is located at bounded above second pre-set interval of tool It is interior;
Maximal peak point (such as the P of Acceleration pulsemax) with the starting point of the second preset period of time (such as Pstart) between Time interval (such as T (Pmax)-T(Pstart)) be located in the bounded above third pre-set interval of tool;
Maximal peak point (such as the P of Acceleration pulsemax) and minimum valley point (such as Pmin) between time interval (example Such as T (Pmax)-T(Pmin)) be located in bounded above 4th pre-set interval of tool.
It should be noted that the starting point and terminating point of above-mentioned second preset period of time, such as originated shown in Fig. 6 B Point PstartWith terminating point Pfin, belong to the acceleration value point that acceleration absolute value is less than threshold value, and be not only zero including numerical value Acceleration value point.Moreover, in the first pre-set interval, the second pre-set interval, third pre-set interval and the 4th pre-set interval Each can it is unilateral it is unbounded chosen between bilateral bounded, and can interval endpoint be obtained by the measuring carried out in advance Numerical value, such as:Judge the training sample of result come with engineering by several acceleration sensing signals and single tapping operation The mode of habit trains to obtain the prediction model of single tapping operation, and in the prediction model in advance comprising the first pre-set interval, second If section, third pre-set interval and the 4th pre-set interval each interval endpoint numerical value.There is real data to show compared to it The prediction model of his common form has the wave numerics feature of four necessary conditions such as above-mentioned form can be by relatively Few judges that number reaches the false drop rate and omission factor of relatively lower single tapping operation, and at four of specific as above form In the wave numerics feature of necessary condition, the unbounded pre-set interval in an each pair of unilateral side adds the interval endpoint of lower bound, can Further decrease the false drop rate of single tapping operation.In addition, often being removed in aforementioned four necessary condition in wave numerics feature One, the false drop rate of single tapping operation can all have a degree of rising.
As the supplement or replacement of the predetermined acceleration variation characteristic shown in the embodiment of the present disclosure, in the disclosure In another realization method, predetermined acceleration variation characteristic includes the Acceleration pulse feature that acceleration sensing signal should meet. It is shown in Figure 2 go out electronic equipment and first direction R1, second direction R2 and third direction R3 relative to electronic equipment, on Stating Acceleration pulse feature includes:
Maximum amplitude of Acceleration pulse when to electronic equipment performance objective tapping operation on first direction R1 is located at Have in bounded below 5th pre-set interval;
Maximum amplitude of Acceleration pulse when to electronic equipment performance objective tapping operation on second direction R2 is located at Have in bounded above 6th pre-set interval;
Maximum amplitude of Acceleration pulse when to electronic equipment performance objective tapping operation on third direction R3 is located at Have in bounded above 7th pre-set interval;
Wherein, pairwise orthogonal between first direction R1, second direction R2 and third direction R3.It should be noted that the 5th Pre-set interval, the 6th pre-set interval and the 7th pre-set interval are used to define the permitted maximum wave of the Acceleration pulse in all directions Width can be obtained by the measuring carried out in advance.It should be noted that in the present embodiment in a first direction by electronic equipment Two sides are respectively set as a target side, therefore meet the acceleration change of above-mentioned Acceleration pulse feature necessarily two One in the possible target tapping operation of kind.When needing to distinguish two kinds of target tapping operations, acceleration change can be passed through In occur that wave crest or trough at first to distinguish.
As can be seen that above-mentioned realization method utilizes the limitation to the maximum amplitude of the Acceleration pulse on other directions to exclude The situation (such as electronic equipment inadvertently fall off, hit, collide with etc.) of error detection may be led to by falling a part, thus be contributed to Reduce the false detection rate of target tapping operation, promotes the order of accuarcy of detection target tapping operation.
Fig. 7 is a kind of structure diagram of the device of triggering click event shown according to an exemplary embodiment.Referring to figure 7, described device is applied to electronic equipment, and the electronic equipment is equipped at least two button arranged in the first direction, this public affairs Open in embodiment trigger click event device include:
Judgment module 71 detects the target tapping operation for meeting preset condition for judging whether, the target is struck It is the tapping operation carried out to the target side of the electronic equipment to hit operation, and the target side is the electronic equipment in institute State one in two sides on first direction;
Trigger module 72, when for meeting the target tapping operation of preset condition described in detecting, triggering target is pressed The click event of key, the target button are at least two button farthest away from the button of the target side.
It should be noted that the electronic equipment in the present embodiment may, for example, be mobile phone, tablet computer, laptop, The equipment of personal digital assistant (Personal Digital Assistant, PDA) etc..At least two in the present embodiment press Key is arranged on an electronic device for example in the form of physical button or virtual key, the arrangement that at least two buttons are arranged in order Direction, that is, first direction.In the side of the both sides of electronic equipment in a first direction, one of those can be set to one Target side can also be respectively set to a target side by two.Since at least two buttons are arranged along first direction, institute With for any one target side, all there is one near the button of the target side and one farthest away from the target side The button in face.
It should also be noted that, the target tapping operation for meeting preset condition in the present embodiment refer to it is preassigned A kind of or a kind of user taps the action of the target side of electronic equipment, and preset condition therein is used in determination by electronic equipment Whether the variation sensed in a period of time meets the target that preassigned a kind of or a kind of user taps electronic equipment The action of side.For example, it is that user sets in hand-held electronics that can preassign the above-mentioned target tapping operation for meeting preset condition Tap the action of the target side of electronic equipment when standby twice in succession using finger, thus in view of beating position, percussion side Each physical quantity that electronic equipment can sense when under the influence of to, percussion dynamics, the time interval tapped twice etc. factor Variation range and changing rule can define the mark for judging whether target tapping operation occurs by the way that above-mentioned preset condition is arranged Standard makes the judgement that the physical quantity variation that target tapping operation should be judged as in convention can be Jing Guo preset condition as far as possible And detect and obtain, and the physical quantity variation that should not be determined as target tapping operation that electronic equipment is sensed in convention is (such as Surprisingly collide with, maloperation etc.) it can all be excluded by the judgement of preset condition.
In a kind of possible realization method of the embodiment of the present disclosure, above-mentioned preset condition includes:Target tapping operation be In first preset duration the identical single tapping operation in direction, and two are tapped to continuous two that the target side executes The time interval to each other of single tapping operation is less than the second preset duration.Wherein, the first preset duration and second it is default when Long numerical value can be preset for example, by modes such as actual test or human configurations.Above-mentioned judgment module 71 as a result, It can be specifically used for:Judge whether to detect continuous two percussions for executing the target side in the first preset duration The identical single tapping operation in direction;When detecting continuous two executed to the target side in the first preset duration When tapping the identical single tapping operation in direction, judge whether the time interval to each other of described two single tapping operations is small In the second preset duration;When the time interval to each other of described two single tapping operations is less than the second preset duration, really Surely the target tapping operation for meeting preset condition is detected.As can be seen that meet the first preset duration, the second preset duration, The continuous two single tapping operations for tapping the restrictive condition in direction etc. can be determined that the target for meeting preset condition Tapping operation can utilize various restrictive conditions to reduce the generation of error detection, while also only need based on this realization method User is wanted to carry out simple double click operation, to realize that relatively high detection is accurate with relatively low operation complexity Rate.
In the alternatively possible realization method of the embodiment of the present disclosure, above-mentioned preset condition includes:Target tapping operation is sent out The maximum angular rate variable quantity of the electronic equipment should be less than angular speed variable quantity threshold value in the raw period.Wherein, electronics is set The standby sensing to own angular velocity variation can be by the angular-rate sensor of configuration in the electronic device (such as oscillating mode or sound Forked type) it realizes, and it is used to define the angular speed variation of the angular speed variation degree of permission and the angular speed variation degree not allowed Measuring threshold value can be by advance obtaining the measuring of electronic equipment.Based on electronics during user taps electronic equipment Equipment in any direction on velocity of rotation should not have acute variation this point, under the realization method triggering click event dress A part can be excluded in terms of angular speed variation by, which setting, may lead to the situation of error detection (such as electronic equipment is rotating Fall on the ground or electronic equipment be rotating touching user or other objects during being connect by user's throwing), thus help In the false detection rate for reducing target tapping operation, the order of accuarcy of target detection tapping operation is promoted.
As can be seen that the embodiment of the present disclosure when detecting the target tapping operation for meeting preset condition based on triggering target The click event of button, can when detecting the tapping operation carried out to target side button of the triggering farthest away from target side Click event, to provide the replacement mode of operation that a kind of finger clicks distal end button so that user is in single-hand held equipment When can by target tapping operation replace distal end button clicking operation.Compared to the relevant technologies, the embodiment of the present disclosure is not only Two kinds of terminal device suitable for virtual key and physical button simultaneously, haves no need to change original key interface cloth Office, can also only be realized by the improvement in software program on the basis of existing equipment, help to promote properties of product, drop Low product cost.
In a kind of possible realization method, the judgment module includes:
First judging unit executes the target side for judging whether to detect in the first preset duration Continuous two tap the identical single tapping operation in direction;
Second judgment unit detects executed to the target side continuous two for working as in the first preset duration When the identical single tapping operation in a percussion direction, judge described two single tapping operations time interval to each other whether Less than the second preset duration;
First determination unit, it is default for being less than second in the time interval to each other of described two single tapping operations When duration, the target tapping operation for meeting preset condition has been confirmly detected.
In a kind of possible realization method, the judgment module includes:
Third judging unit, for judging institute in the first preset period of time according to the angular speed sensing signal of the electronic equipment Whether the maximum angular rate variable quantity for stating electronic equipment is less than angular speed variable quantity threshold value;
It is small to be used for the maximum angular rate variable quantity of the electronic equipment in first preset period of time for second determination unit When angular speed variable quantity threshold value, determines and do not detect that the target for meeting preset condition taps behaviour in first preset period of time Make.
In a kind of possible realization method, the judgment module includes:
4th judging unit, for judging adding for the electronic equipment according to the acceleration sensing signal of the electronic equipment Whether velocity variations meet predetermined acceleration variation characteristic.
In a kind of possible realization method, the predetermined acceleration variation characteristic includes the acceleration sense of the electronic equipment Survey the wave numerics feature that signal Acceleration pulse in said first direction meets in the second preset period of time planted agent, described the Two preset period of time are the period between two neighboring blank interval in the Acceleration pulse;The wave numerics feature includes Following is one or more:
The absolute value of the peak-peak of Acceleration pulse, which is located at, to be had in bounded above first pre-set interval;
The absolute value of the minimum valley of Acceleration pulse, which is located at, to be had in bounded above second pre-set interval;
Time interval between the maximal peak point of Acceleration pulse and the starting point of second preset period of time is located at tool In bounded above third pre-set interval;
Time interval between the maximal peak point of Acceleration pulse and minimum valley point, which is located at, has the bounded above 4th in advance If in section.
In a kind of possible realization method, the predetermined acceleration variation characteristic includes the acceleration sense of the electronic equipment Survey the Acceleration pulse feature that signal should meet;The Acceleration pulse feature includes:
Acceleration pulse on the first direction when executing the target tapping operation to the electronic equipment most Big wave amplitude, which is located at, to be had in bounded below 5th pre-set interval;
Maximum wave of the Acceleration pulse when executing the target tapping operation to the electronic equipment in second direction Width, which is located at, to be had in bounded above 6th pre-set interval;
Maximum of Acceleration pulse when to executing the target tapping operation to the electronic equipment on third direction Wave amplitude, which is located at, to be had in bounded above 7th pre-set interval;
Wherein, the first direction, the second direction and the third direction pairwise orthogonal.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in triggering click thing It is described in detail in the embodiment of the method for part, explanation will be not set forth in detail herein.
Fig. 8 is the block diagram according to a kind of electronic equipment shown in an exemplary embodiment.For example, electronic equipment 800 can be with It is mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building Equipment, personal digital assistant etc..
With reference to Fig. 4, electronic equipment 800 may include following one or more components:Processing component 802, memory 804, Power supply module 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, And communication component 816.
The integrated operation of 802 usual control electronics 800 of processing component, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 802 may include one or more processors 820 to hold Row instruction, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more moulds Block, convenient for the interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, with Facilitate the interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in electronic equipment 800.These data Example include instruction for any application program or method that are operated on electronic equipment 800, contact data, telephone directory Data, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or it Combination realize, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, soon Flash memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of electronic equipment 800.Power supply module 806 may include power supply pipe Reason system, one or more power supplys and other generated with for electronic equipment 800, management and the associated component of distribution electric power.
Multimedia component 808 is included in the screen of one output interface of offer between the electronic equipment 800 and user. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding The boundary of action, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, Multimedia component 808 includes a front camera and/or rear camera.When electronic equipment 800 is in operation mode, such as clap When taking the photograph pattern or video mode, front camera and/or rear camera can receive external multi-medium data.It is each preposition Camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when electronic equipment 800 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or via logical Believe that component 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, the state for providing various aspects for electronic equipment 800 Assessment, such as acceleration transducer described above (piezoelectric type, pressure resistance type or condenser type) and angular speed described above pass Sensor (such as gyro sensor).Sensor module 814 can detect the state that opens/closes of equipment 800, component it is opposite Positioning, such as the component are the display and keypad of electronic equipment 800, and sensor module 814 can also detect electronics and set For 800 or the position change of 800 1 components of electronic equipment, the existence or non-existence that user contacts with electronic equipment 800, electronics The temperature change in 800 orientation of equipment or acceleration/deceleration and electronic equipment 800.Sensor module 814 may include approaching sensing Device is configured to detect the presence of nearby objects without any physical contact.Sensor module 814 can also include Optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, the sensor group Part 814 can also include Magnetic Sensor, pressure sensor or temperature sensor, for realizing to magnetic signal, pressure signal or temperature Spend the sensing of signal.
Communication component 816 is configured to facilitate the communication of wired or wireless way between electronic equipment 800 and other equipment. Electronic equipment 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.Show at one In example property embodiment, communication component 816 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, short to promote Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 800 can be by one or more application application-specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of electronic equipment 800 to complete above-mentioned trigger point The method for hitting event.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (13)

1. a kind of method of triggering click event, is applied to electronic equipment, which is characterized in that the electronic equipment is equipped with along the At least two buttons of one direction arrangement, the method includes:
Judge whether to detect the target tapping operation for meeting preset condition, the target tapping operation is to set the electronics The tapping operation that standby target side carries out, the target side is two sides of the electronic equipment in said first direction One in face;
When meeting the target tapping operation of preset condition described in detecting, the click event of target button, the mesh are triggered Mark button is at least two button farthest away from the button of the target side.
2. according to the method described in claim 1, it is characterized in that, described judge whether to detect the mesh for meeting preset condition Tapping operation is marked, including:
Judging whether to detect continuous two executed to the target side in the first preset duration, to tap direction identical Single tapping operation;
The identical single in direction is tapped when detecting continuous two executed to the target side in the first preset duration When tapping operation, judge whether the time interval to each other of described two single tapping operations is less than the second preset duration;
When the time interval to each other of described two single tapping operations is less than the second preset duration, symbol has been confirmly detected Close the target tapping operation of preset condition.
3. according to the method described in claim 1, it is characterized in that, described judge whether to detect the mesh for meeting preset condition Tapping operation is marked, including:
The maximum angular speed of the electronic equipment in the first preset period of time is judged according to the angular speed sensing signal of the electronic equipment Spend whether variable quantity is less than angular speed variable quantity threshold value;
When the maximum angular rate variable quantity of the electronic equipment in first preset period of time is less than angular speed variable quantity threshold value, Determine the target tapping operation for not detected in first preset period of time and meeting preset condition.
4. according to the method described in claim 1, it is characterized in that, described judge whether to detect the mesh for meeting preset condition Tapping operation is marked, including:
It is default to judge whether the acceleration change of the electronic equipment meets according to the acceleration sensing signal of the electronic equipment Acceleration change feature.
5. according to the method described in claim 4, it is characterized in that, the predetermined acceleration variation characteristic includes the electronics sets The waveform number that the Acceleration pulse of standby acceleration sensing signal in said first direction meets in the second preset period of time planted agent Value tag, second preset period of time are the periods in the Acceleration pulse between two neighboring blank interval;The wave Figurate number value tag includes following one or more:
The absolute value of the peak-peak of Acceleration pulse, which is located at, to be had in bounded above first pre-set interval;
The absolute value of the minimum valley of Acceleration pulse, which is located at, to be had in bounded above second pre-set interval;
Time interval between the maximal peak point of Acceleration pulse and the starting point of second preset period of time is located at upper In the third pre-set interval on boundary;
Time interval between the maximal peak point of Acceleration pulse and minimum valley point, which is located at, has bounded above 4th preset areas In.
6. according to the method described in claim 4, it is characterized in that, the predetermined acceleration variation characteristic includes the electronics sets The Acceleration pulse feature that standby acceleration sensing signal should meet;The Acceleration pulse feature includes:
Maximum wave of the Acceleration pulse when executing the target tapping operation to the electronic equipment on the first direction Width, which is located at, to be had in bounded below 5th pre-set interval;
Maximum amplitude position of the Acceleration pulse when executing the target tapping operation to the electronic equipment in second direction In in bounded above 6th pre-set interval of tool;
Maximum amplitude of Acceleration pulse when to executing the target tapping operation to the electronic equipment on third direction In bounded above 7th pre-set interval of tool;
Wherein, the first direction, the second direction and the third direction pairwise orthogonal.
7. a kind of device of triggering click event, is applied to electronic equipment, which is characterized in that the electronic equipment is equipped with along the At least two buttons of one direction arrangement, described device include:
Judgment module detects the target tapping operation for meeting preset condition, the target tapping operation for judging whether It is the tapping operation carried out to the target side of the electronic equipment, the target side is the electronic equipment described first One in two sides on direction;
Trigger module when for meeting the target tapping operation of preset condition described in detecting, triggers the point of target button Event is hit, the target button is at least two button farthest away from the button of the target side.
8. device according to claim 7, which is characterized in that the judgment module includes:
First judging unit, for judge whether to detect in the first preset duration the target side is executed it is continuous Two tap the identical single tapping operation in direction;
Second judgment unit is struck for that ought detect continuous two executed to the target side in the first preset duration When hitting the identical single tapping operation in direction, judge whether the time interval to each other of described two single tapping operations is less than Second preset duration;
First determination unit is less than the second preset duration for the time interval to each other in described two single tapping operations When, confirmly detect the target tapping operation for meeting preset condition.
9. device according to claim 7, which is characterized in that the judgment module includes:
Third judging unit, for judging the electricity in the first preset period of time according to the angular speed sensing signal of the electronic equipment Whether the maximum angular rate variable quantity of sub- equipment is less than angular speed variable quantity threshold value;
Second determination unit, the maximum angular rate variable quantity for the electronic equipment in first preset period of time are less than angle When velocity variable threshold value, the target tapping operation for not detected in first preset period of time and meeting preset condition is determined.
10. device according to claim 7, which is characterized in that the judgment module includes:
4th judging unit, the acceleration for judging the electronic equipment according to the acceleration sensing signal of the electronic equipment Whether variation meets predetermined acceleration variation characteristic.
11. device according to claim 10, which is characterized in that the predetermined acceleration variation characteristic includes the electronics The waveform that the Acceleration pulse of the acceleration sensing signal of equipment in said first direction meets in the second preset period of time planted agent Numerical characteristics, second preset period of time are the periods in the Acceleration pulse between two neighboring blank interval;It is described Wave numerics feature includes following one or more:
The absolute value of the peak-peak of Acceleration pulse, which is located at, to be had in bounded above first pre-set interval;
The absolute value of the minimum valley of Acceleration pulse, which is located at, to be had in bounded above second pre-set interval;
Time interval between the maximal peak point of Acceleration pulse and the starting point of second preset period of time is located at upper In the third pre-set interval on boundary;
Time interval between the maximal peak point of Acceleration pulse and minimum valley point, which is located at, has bounded above 4th preset areas In.
12. device according to claim 10, which is characterized in that the predetermined acceleration variation characteristic includes the electronics The Acceleration pulse feature that the acceleration sensing signal of equipment should meet;The Acceleration pulse feature includes:
Maximum wave of the Acceleration pulse when executing the target tapping operation to the electronic equipment on the first direction Width, which is located at, to be had in bounded below 5th pre-set interval;
Maximum amplitude position of the Acceleration pulse when executing the target tapping operation to the electronic equipment in second direction In in bounded above 6th pre-set interval of tool;
Maximum amplitude of Acceleration pulse when to executing the target tapping operation to the electronic equipment on third direction In bounded above 7th pre-set interval of tool;
Wherein, the first direction, the second direction and the third direction pairwise orthogonal.
13. a kind of electronic equipment, which is characterized in that including:
Processor;
Memory for storing the executable instruction of processor;
Wherein, the processor is configured as:
Judge whether to detect the target tapping operation for meeting preset condition, the target tapping operation is to set the electronics The tapping operation that standby target side carries out, the target side is two sides of the electronic equipment in said first direction One in face;
When meeting the target tapping operation of preset condition described in detecting, the click event of target button, the mesh are triggered Mark button is at least two button farthest away from the button of the target side.
CN201710109090.1A 2017-02-27 2017-02-27 Trigger method and device, the electronic equipment of click event Pending CN108509116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710109090.1A CN108509116A (en) 2017-02-27 2017-02-27 Trigger method and device, the electronic equipment of click event

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710109090.1A CN108509116A (en) 2017-02-27 2017-02-27 Trigger method and device, the electronic equipment of click event

Publications (1)

Publication Number Publication Date
CN108509116A true CN108509116A (en) 2018-09-07

Family

ID=63374150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710109090.1A Pending CN108509116A (en) 2017-02-27 2017-02-27 Trigger method and device, the electronic equipment of click event

Country Status (1)

Country Link
CN (1) CN108509116A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113918020A (en) * 2021-10-20 2022-01-11 北京小雅星空科技有限公司 Intelligent interaction method and related device
WO2022222714A1 (en) * 2021-04-23 2022-10-27 华为技术有限公司 Control method and electronic device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425421A (en) * 2012-05-23 2013-12-04 纬创资通股份有限公司 Method for touch unlocking by using rhythmic clicking and related electronic device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425421A (en) * 2012-05-23 2013-12-04 纬创资通股份有限公司 Method for touch unlocking by using rhythmic clicking and related electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022222714A1 (en) * 2021-04-23 2022-10-27 华为技术有限公司 Control method and electronic device
CN113918020A (en) * 2021-10-20 2022-01-11 北京小雅星空科技有限公司 Intelligent interaction method and related device

Similar Documents

Publication Publication Date Title
CN104571922B (en) Touch-responsive method, apparatus and terminal
CN105824431B (en) Message input device and method
CN105138171B (en) Touch key-press and fingerprint identification method
Kratz et al. HoverFlow: expanding the design space of around-device interaction
CN103885632B (en) Input method and device
US9122332B2 (en) Automatic detection for touch through glove
EP1728142B1 (en) Distinguishing tilt and translation motion components in handheld devices
US7301527B2 (en) Feedback based user interface for motion controlled handheld devices
US7280096B2 (en) Motion sensor engagement for a handheld device
US7903084B2 (en) Selective engagement of motion input modes
US20110055753A1 (en) User interface methods providing searching functionality
US20080152263A1 (en) Data transfer using hand-held device
US20050212757A1 (en) Distinguishing tilt and translation motion components in handheld devices
CN106681592A (en) Electronic equipment and device and method for display switching on basis of electronic equipment
US10007304B2 (en) Portable device and related vibration detecting method
CN104020878A (en) Touch input control method and device
CN108595074A (en) Status bar operating method, device and computer readable storage medium
EP3732871B1 (en) Detecting patterns and behavior to prevent a mobile terminal drop event
CN107656666A (en) Mobile terminal and rolling speed determine method
CN103403661A (en) Scaling of gesture based input
CN107037965A (en) A kind of information displaying method based on input, device and mobile terminal
CN107463290A (en) Response control mehtod, device, storage medium and the mobile terminal of touch operation
CN106919283A (en) The touch event processing method of terminal, device and terminal
CN108509116A (en) Trigger method and device, the electronic equipment of click event
CN111145891A (en) Information processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180907