CN106371558A - Interactive method and device - Google Patents
Interactive method and device Download PDFInfo
- Publication number
- CN106371558A CN106371558A CN201510463403.4A CN201510463403A CN106371558A CN 106371558 A CN106371558 A CN 106371558A CN 201510463403 A CN201510463403 A CN 201510463403A CN 106371558 A CN106371558 A CN 106371558A
- Authority
- CN
- China
- Prior art keywords
- point
- action
- time interval
- type
- ppg
- 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.)
- Granted
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides an interactive method and device, and relates to the field of wearable devices. The method comprises the steps of obtaining photoplethysmography (PPG) information of a finger in response to operation of executing a contact action on an object by the finger of a user; determining a first point with an amplitude value lower than a first threshold in the PPG information, and a second point with an amplitude value higher than a second threshold; and determining input information at least according to a time interval between the first point and the second point. According to the method and the device, a new scheme for determining the input information based on the PPG information is provided, so that the interactive capability of the wearable devices can be improved.
Description
Technical field
The application is related to Wearable device field, more particularly, to a kind of exchange method and equipment.
Background technology
Popularization with electronic equipment and development, present electronic equipment is more and more intelligent.Energy
Enough make user convenient, efficiently control electronics be electronic equipment set manufacturer chasing after always
Ask.
Wearable device in electronic equipment (for example adorn by intelligent watch, Intelligent glove, intelligence
Product etc.) generally have laminating user, small volume and less weight, energy consumption relatively low the features such as, these features are determined
Determine that most Wearable device input areas are little, input capability is weak, had a strong impact on user's
Man-machine interaction experience.
Content of the invention
The purpose of the application is: provides a kind of exchange method and equipment.
A kind of first aspect according at least one embodiment of the application, there is provided exchange method,
Methods described includes:
A finger in response to user executes a contact action to an object, obtains described finger
Photoplethysmographic ppg information;
Determine that range value is less than first point of first threshold in described ppg information, and amplitude
Value is higher than the second point of Second Threshold;
According at least to described first point of time interval and described second point between, determine an input
Information.
In conjunction with any one possible implementation of first aspect, in the possible realization side of second
In formula, described second point is at least one point that range value is higher than described Second Threshold, is located at
After described first point and the point minimum with described first point of time interval.
In conjunction with any one possible implementation of first aspect, in the third possible realization side
In formula, described according at least to described first point of time interval and described second point between, determine
One input information includes:
According at least to described first point of time interval and described second point between, connect described in determination
Touch the type of action made;
Determine the corresponding described input information of described type of action.
In conjunction with any one possible implementation of first aspect, the 4th kind of possible realization side
In formula, described according at least to described first point of time interval and described second point between, determine
The type of action of described contact action includes:
It is less than one first reference interval in response to described time interval, determine described contact action
Type of action is short pressing.
In conjunction with any one possible implementation of first aspect, the 5th kind of possible realization side
In formula, methods described also includes:
Press for short in response to described type of action, and another contact before described contact action
The type of action of action be also short press, determine described contact action and described another contact action it
Between the second time interval;
Determine whether user performs according to described second time interval once to double-click.
In conjunction with any one possible implementation of first aspect, the 6th kind of possible realization side
In formula, described according at least to described first point of time interval and described second point between, determine
The type of action of described contact action includes:
It is more than one second reference interval in response to described time interval, determine described contact action
Type of action is long contact.
In conjunction with any one possible implementation of first aspect, the 7th kind of possible realization side
In formula, described according at least to described first point of time interval and described second point between, determine
The type of action of described contact action includes:
It is more than one second reference interval in response to described time interval, according to and institute at described first point
The ppg information stated between second point determines a heart rate value;
Belong to a target heart rate scope in response to described heart rate value, determine the dynamic of described contact action
Make type be long by.
In conjunction with any one possible implementation of first aspect, the 8th kind of possible realization side
In formula, described according at least to described first point of time interval and described second point between, determine
The type of action of described contact action also includes:
It is not belonging to described target heart rate scope in response to described heart rate value, determine described contact action
Type of action be slide.
In conjunction with any one possible implementation of first aspect, the 9th kind of possible realization side
In formula, described target heart rate scope is 60-100 beat/min.
In conjunction with any one possible implementation of first aspect, the tenth kind of possible realization side
In formula, described according at least to described first point of time interval and described second point between, determine
One input information includes:
According at least to described first point of time interval and described second point between, connect described in determination
Touch the duration made;
Determine the corresponding described input information of described duration.
In conjunction with any one possible implementation of first aspect, in a kind of the tenth possible realization
In mode, described Second Threshold is higher than described first threshold.
A kind of second aspect according at least one embodiment of the application, there is provided interactive device,
Described equipment includes:
One acquisition module, executes a contact action for the finger in response to user to an object,
Obtain the ppg information of described finger;
One first determining module, for determining that in described ppg information range value is less than the first threshold
First point of value, and range value is higher than the second point of Second Threshold;
One second determining module, for according at least to described first point and described second point between
Time interval, determines an input information.
In conjunction with any one possible implementation of second aspect, in the possible realization side of second
In formula, described second determining module includes:
One type of action determining unit, for according at least to described first point and described second point it
Between time interval, determine the type of action of described contact action;
One input information determining unit, for determining the corresponding described input letter of described type of action
Breath.
In conjunction with any one possible implementation of second aspect, in the third possible realization side
In formula, described type of action determining unit, for being less than one first in response to described time interval
Reference interval, determine described contact action type of action be short by.
In conjunction with any one possible implementation of second aspect, the 4th kind of possible realization side
In formula, described equipment also includes:
One the 3rd determining module, in response to described type of action be short press, and described connect
The type of action touching another contact action before making also is pressed for short, determines described contact action
The second time interval and described another contact action between;
According to described second time interval, one the 4th determining module, for determining whether user executes
Once double-click.
In conjunction with any one possible implementation of second aspect, the 5th kind of possible realization side
In formula, described type of action determining unit, for being more than one second in response to described time interval
Reference interval, determines that the type of action of described contact action is long contact.
In conjunction with any one possible implementation of second aspect, the 6th kind of possible realization side
In formula, described type of action determining unit includes:
One heart rate value determination subelement, for being more than one second reference in response to described time interval
Interval, determines a heart rate value according to the described first point ppg information and described second point between;
One type of action determination subelement, for belonging to a target heart rate in response to described heart rate value
Scope, determine described contact action type of action be long by.
In conjunction with any one possible implementation of second aspect, the 7th kind of possible realization side
In formula, described type of action determination subelement, it is additionally operable to be not belonging to institute in response to described heart rate value
State target heart rate scope, determine that the type of action of described contact action is to slide.
In conjunction with any one possible implementation of second aspect, the 8th kind of possible realization side
In formula, described second determining module includes:
One action duration determining unit, for according at least to described first point and described second point it
Between time interval, determine the duration of described contact action;
One input information determining unit, for determining the corresponding described input information of described duration.
A kind of third aspect according at least one embodiment of the application, there is provided user equipment,
Described equipment includes:
One memorizer, for store instruction;
One processor, for executing the instruction of described memory storage, described instruction makes described
Operate below computing device:
A finger in response to user executes a contact action to an object, obtains described finger
Photoplethysmographic ppg information;
Determine that range value is less than first point of first threshold in described ppg information, and amplitude
Value is higher than the second point of Second Threshold;
According at least to described first point of time interval and described second point between, determine an input
Information.
Exchange method described in the embodiment of the present application and equipment, in response to user a finger to a pair
As executing a contact action, obtain the ppg information of described finger, in described ppg information
Determine that range value is less than first point of first threshold, and range value is higher than the second of Second Threshold
Point, then according at least to described first point of time interval and described second point between, determines one
Input information.Thus provide and a kind of the method for input information being determined according to ppg information and sets
Standby, methods described and equipment can be multiplexed the ppg sensor in Wearable, and favorably
In the interaction capabilities improving Wearable.
Brief description
Fig. 1 is the flow chart of exchange method described in one embodiment of the application;
Fig. 2 is the short ppg oscillogram on time of forefinger in one embodiment of the application;
Fig. 3 is forefinger length ppg oscillogram on time in one embodiment of the application;
Fig. 4 is ppg oscillogram when forefinger slides in one embodiment of the application;
Fig. 5 is the module map of interactive device described in one embodiment of the application;
Fig. 6 is the module map of the second determining module described in one embodiment of the application;
Fig. 7 is the module map of interactive device described in another embodiment of the application;
Fig. 8 is the module map of type of action determining unit described in one embodiment of the application;
Fig. 9 is the module map of the second determining module described in another embodiment of the application;
Figure 10 is the hardware architecture diagram of user equipment described in one embodiment of the application.
Specific embodiment
With reference to the accompanying drawings and examples, detailed further to the specific embodiment work of the application
Explanation.Following examples are used for the application is described, but are not limited to scope of the present application.
It will be appreciated by those skilled in the art that in embodiments herein, the sequence number of following each steps
Size be not meant to the priority of execution sequence, the execution sequence of each step should with its function and
Internal logic determine, and should not constitute any restriction to the implementation process of the embodiment of the present application.
Inventor finds in research process, when finger execution such as pressing, slip etc. of user
During action, can lead at this finger position collection ppg (photoplethysmographic,
Photoplethysmography) signal produces obvious waveform change.Based on this, the application
Methods described can be according to the action relevant information to finger for the ppg information of collection at finger
It is identified, and then can determine corresponding input information.
Fig. 1 is the flow chart of exchange method described in one embodiment of the application, and methods described is permissible
Such as one interactive device is realized.As shown in figure 1, methods described includes:
S120: the finger in response to user executes a contact action to an object, obtains described
The photoplethysmographic ppg information of finger;
S140: determine that range value is less than first point of first threshold in described ppg information, with
And range value is higher than the second point of Second Threshold;
S160: according at least to described first point of time interval and described second point between, determine
One input information.
The embodiment of the present application methods described, the finger in response to user connects to an object execution one
Touch and make, obtain the ppg information of described finger, described ppg information determines range value
Less than first point of first threshold, and range value is higher than the second point of Second Threshold, Ran Houzhi
Less according to described first point of time interval and described second point between, determine described input information.
Thus providing one kind to determine input information method according to ppg information, methods described can be answered
With the ppg sensor in Wearable, the interactive energy of Wearable can be effectively improved
Power.
Below with reference to specific embodiment, describe described step s120, s140 and s160 in detail
Function.
S120: the finger in response to user executes a contact action to an object, obtains described
The ppg information of finger.
Wherein, described finger can be arbitrary finger of user, such as forefinger, thumb etc..Institute
Stating object can be an arbitrary accessible interface, can be such as display screen, any material
Desktop, the back side of mobile phone, the surface of glass etc..Described contact action can be such as pressing,
Slide etc..
Fig. 2 be in one embodiment of the application forefinger short by an object when collect ppg letter
The oscillogram of breath, the wherein waveform in dashed rectangle are the corresponding short waveforms by action, can see
Arrive, when user is short on time, the range value of ppg waveform can be led to reduce, when being reduced to a ripple
It is gradually increasing after paddy again, declines after rising to a typical peak point again, then recover to not pressing
Waveform during pressure.The range value of described typical peak point is substantially equal to ppg ripple when not pressing
The range value of the crest of shape.
Fig. 3 be in one embodiment of the application forefinger length by an object when collect ppg letter
The oscillogram of breath, the wherein waveform in dashed rectangle are the corresponding long waveforms by action, can see
Arrive, when a user long presses, the range value of ppg waveform can be led to reduce, when being reduced to a ripple
It is gradually increasing after paddy again, decline after rising to a sub- peak point again, then rise to the next one again
Sub- peak point declines again, so repeats, until when forefinger leaves described object, described ppg
Waveform can rise to a typical peak point, then recovers to waveform when not pressing.Described
Sub- peak point is the crest that range value is less than typical peak point.
Fig. 4 is that in one embodiment of the application, forefinger collects when sliding on an object
Waveform in the oscillogram of ppg information, wherein dashed rectangle is the waveform of corresponding sliding action,
Can see, when starting to press described object before user slides, ppg waveform can be led to
Range value reduces, and is gradually increasing after being reduced to a trough again, when rising to a standard valley point
When, with the slip of forefinger, its range value substantially maintains near described standard valley point, slightly
There is fluctuation, its waveform no evident regularity, until when forefinger leaves described object, described ppg
Waveform can rise to a typical peak point, then recovers to waveform when not pressing.Described
The range value of standard valley point is substantially equal to the range value of the trough of ppg waveform when not pressing.
Can see, when user executes in above-mentioned different course of action, obtained ppg believes
The waveform of breath has obvious difference, and the application is based on this principle and realizes to user action class
The identification of type.
S140: determine that range value is less than first point of first threshold in described ppg information, with
And range value is higher than the second point of Second Threshold.
Wherein, described first threshold is used for detecting whether the range value of described ppg information substantially drops
Low, it can determine according to the trough range value of ppg waveform when not pressing, that is, described
First threshold is significantly lower than described trough range value, such as by ppg waveform when not pressing
Trough range value deduct the amplitude that the peak amplitude of ppg waveform when not pressing is worth to
Value is as described first threshold.Described Second Threshold is used for detecting the amplitude of described ppg information
Whether value substantially rises after obvious reduction, and it can be according to ppg waveform when not pressing
Peak amplitude value determine, such as by the peak amplitude value of ppg waveform when not pressing
80% is defined as described Second Threshold.
It will be appreciated by those skilled in the art that described Second Threshold should be higher than described first threshold.
In addition, it will be appreciated by those skilled in the art that may be obtained multiple according to described first threshold
Meet at first point of condition, such as, in Fig. 2, assume that described first threshold is th1, then permissible
The point obtaining between d1 to d2 is satisfied by condition, according to the above-mentioned any point meeting condition
Realize herein described method.But, in order to improve the arithmetic speed of methods described, simultaneously
In order to improve the real-time processing performance of methods described, may further require that be low at described first point
In first sampled point of described first threshold, may thereby determine that below d1 point in Fig. 2
First sampled point is at described first point.
The second point that more meet condition may be obtained according to described Second Threshold, such as scheme
It is assumed that described Second Threshold is th2 in 2, then can obtain multiple intervals: between u1 to u2,
Between u3 to u4, between u5 to u6 etc., the point in the plurality of interval is satisfied by condition, root
Herein described method all can be realized according to the above-mentioned any point meeting condition.Described step s140
Can select from multiple second points meeting condition in some interval according to a pre-defined rule
One.Such as, in order to simplify the amount of calculation of methods described and improve real-time processing performance, permissible
Between u1 to u2, first point higher than described Second Threshold after selecting at described first point
As described second point, that is, described second point is at least that range value is higher than described Second Threshold
In individual point, after described first point and the point minimum with described first point of time interval.
In this case, first sampled point it may be determined that above in figure u1 point taking Fig. 2 as a example
For described second point.
It will be appreciated by those skilled in the art that described pre-defined rule can also be select u3 to u4 between,
Between u5 to u6 or more posteriorly a little as described second point, in this case, in fact
Be equivalent to and move several ppg cycles after on the basis of afore-mentioned, to select u3 in Fig. 2
As a example first sampled point of point top, it is equivalent to first sampled point above u1 point
On the basis of after move 1 ppg cycle.
S160: according at least to described first point of time interval and described second point between, determine
One input information.
In one embodiment, described time interval can be used for reflecting described contact action
Type of action, the different time interval of that is, different type of action correspondences, and then correspondence is different
Input information.In present embodiment, described step s160 may include that
S161: according at least to described first point of time interval and described second point between, determine
The type of action of described contact action;
S162: determine the corresponding described input information of described type of action.
In described step s161, described type of action can include short by with length contact.Described
The short compressing time pressed can be less than a predetermined value, such as 1 second;Accordingly, described long contact
Time of contact can be more than a predetermined value, such as can also be 1 second.In addition, described length connects
Touch to be further divided into and grow by and slide.
Corresponding pass in described step s162, between described type of action and described input information
System can be predetermined, and its corresponding relation can be as shown in table 1.Assume an intelligent ring
Communicate with intelligent glasses, intelligent ring obtains the type of action of user and then controls described intelligence
Can glasses, intelligent ring recognize one long by the case of, it can control intelligent glasses to beat
Open app (application) and select menu;In the case that bracelet recognizes a sliding action of user,
Intelligent glasses execute a page turn over operation, show next app in its display window;Work as bracelet
Recognize user one short by action in the case of, currently displaying app is selected.Table 1
Shown relation table can be stored in advance in as inside the Wearable such as described intelligent ring, and
And such relation table can be provided in its operation instructions, to instruct and to train user to lead to
The action executing crossed in similar table 1 orders input accordingly.
Table 1
Type of action | Input information |
Short press | Choose order |
Length is pressed | Open menu |
Slide | Page turning |
In one embodiment, described step s161 may further include:
S1611: be less than one first reference interval in response to described time interval, connect described in determination
Touching the type of action made is short pressing.
Wherein, described first reference interval is the reference for distinguishing described contact action type
Time value, it can be configured according to the use habit of user, such as could be arranged to 1 second.
It is assumed that finding first point of time and second point between by calculating taking waveform shown in Fig. 2 as a example
It is spaced apart 0.5 second, less than described first reference interval 1 second, such that it is able to judge described contact
The type of action of action is short pressing.
For the sake of simple, described first reference interval in the application is all to be u1 with described second point
It is configured premised on putting between u2.It will be appreciated by those skilled in the art that when selection u3 arrives
Point between u4, between u5 to u6 or more posteriorly is as described second point, described first ginseng
Examine interval to be adjusted by increasing several ppg cycles, such as it is assumed that selecting
In Fig. 2, the point between u3 to u4 is second point, then described first reference interval can be by increasing
Plus 1 ppg cycle is adjusted.It will be appreciated by those skilled in the art that user is by action
Carry out in interactive process, also frequently using double-click, double-click and in fact can be divided into continuously
Short twice press.Therefore, in one embodiment, methods described can also include:
S170: press for short in response to described type of action, and another before described contact action
The type of action of one contact action be also short press, determine that described contact action another contacts with described
The second time interval between action;
S180: determine whether user performs according to described second time interval and once double-click.
Wherein, the type of action of described another contact action can be according to the described contact action of identification
Type of action identical mode complete.That is, when methods described can remember the last period
Interior type of action recognition result, for the current user action of comprehensive descision.
In described step s180, described second time interval can be carried out with a double-click interval
Relatively, so judge user short twice by whether being continuous action, that is, double-click.Described double-click
Interval can be configured according to the use habit of user, such as could be arranged to 0.5 second, from
And if described second time interval is less than described double-click and is spaced, then can be performed with identifying user
Once double-click, otherwise, short twice pressing can be executed respectively with identifying user.
In one embodiment, described step s161 can also include:
S1612: be more than one second reference interval in response to described time interval, connect described in determination
Touching the type of action made is long contact.
Wherein, described second reference interval can be identical with described first reference interval, or
Described first reference interval can be more than.For the sake of simple, between described second reference in the application
Every be also be between u1 to u2 by described second point point premised on be configured.This area skill
Art personnel understand, make when selecting point between u3 to u4, between u5 to u6 or more posteriorly
For described second point, described second reference interval can also be by increasing several ppg cycles
To be adjusted.
Described long contact refers to be more than the contact action of described second reference interval time of contact, than
As can be long by or slide.Taking Fig. 3 and Fig. 4 as a example it can be seen that working as user's execution
When length is pressed or slided, described time interval can be significantly long than short time interval on time.
In some cases, the determination result that methods described can directly according to described step s1612,
The input corresponding input information of described long contact;In other cases, methods described is also possible to
Need to further discriminate between described long contact, such as determine whether to grow by or slide.
In one embodiment, described step s161 can also include:
S16121: be more than described second reference interval in response to described time interval, according to described
First point of ppg information and described second point between determines a heart rate value;
S16122: belong to a target heart rate scope in response to described heart rate value, determine described contact
The type of action of action is that length is pressed.
, the described first point ppg information and described second point between can correspond to taking Fig. 3 as a example
In Fig. 3, the ppg waveform between v point and p point is it can be seen that this portion waveshape is mainly
The range value of crest reduces, and in fact still shows obvious periodic regularity, and it is periodically advised
Rule has obvious concordance with the periodic regularity of ppg information when not pressing.Inventor
Research finds, according to the calculated heart rate value of this portion waveshape in normal heart rate interval,
Such as, according to the heart rate value that the ppg waveshape between v point and p point in Fig. 3 obtains it is
89.Meanwhile, contrast Fig. 4 is it can be seen that the ppg waveform between v point and p point in Fig. 4,
Peak amplitude value is also obviously reduced, and waveform is mixed and disorderly.Inventor's research finds, according to this portion
The calculated heart rate value of partial wave shape not in normal heart rate interval, such as, according in Fig. 4
The heart rate value that ppg waveshape between v point and p point obtains is 201.Based on above-mentioned principle,
The type of action that methods described can distinguish described contact action is to grow by or slide.
In described step s16121, can be calculated according to any one existing ppg algorithm of heart rate
Described heart rate value, such as, can input described first point of ppg and described second point between
Information, finds, using summit, the crest summit that function finds out effective ppg information, then counts
The unit calculating adjacent vertex is the time difference of second, and the inverse obtaining difference afterwards is multiplied by 60
The heart rate value of user can be drawn.
In described step s16122, described target heart rate scope can be entered according to the state of user
Row setting, such as in most of the cases, that is, user is static or experiencing small oscillating movements in the case of described
Target heart rate may range from 60-100 beat/min;And after user strenuous exercise, such as run
After step, described target heart rate may range from 100-180 beat/min.
In another embodiment, described step s161 can also include:
S16123: be not belonging to described target heart rate scope in response to described heart rate value, determine described
The type of action of contact action is to slide.
Clearer in order to describe, in above-mentioned embodiment, substantially according to the described time
Interval determines described type of action, and then determines described input information according to described type of action,
Namely have one first between described time interval, described type of action and described input information
Corresponding relation.It will be appreciated by those skilled in the art that for the execution equipment of methods described, its
Described type of action may not necessarily be concerned about completely that is to say, that its can directly according to described when
Between interval and described input information between the second corresponding relation determine described input information.Certainly
, for a user, it is still necessary understanding described first corresponding relation, will pass through
Input different types of action, the different input information of control input.
In another embodiment, described time interval can be used for reflecting described contact action
Duration, the different time intervals of that is, different duration correspondences, and then the different inputs letter of correspondence
Breath.In present embodiment, described step s160 may include that
S161 ': according at least to described first point of time interval and described second point between, determine
The duration of described contact action;
S162 ': determine the corresponding input information of described duration.
Described step s161 ' in, if described second point is range value is higher than described Second Threshold
At least one point in, after described first point and with described first point of time interval
Little point.In such a case, it is possible to directly determine the duration of described contact action equal to described
Time interval.
Similar to a upper embodiment, described second point can also be such as u3 to u4 in Fig. 2
Between or u5 to u6 between point, when taking these, be in described contact action in fact
Duration on the basis of increased several ppg cycle, therefore, as long as described in obtain
First point of time interval and described second point between deducts the ppg cycle of respective numbers
Determine the duration of described contact action, such as assume described second point take in Fig. 2 u3 to u4 it
Between point, then described first point of time interval and described second point between can be deducted 1
The ppg cycle, to determine the duration of described contact action.
Described step s162 ' in, the corresponding relation between described duration and described input information can
To be predetermined, such as, when described duration is less than 1 second, input a control command;
When described duration is more than 1 second, input another control command.
Clearer in order to describe, in above-mentioned embodiment, substantially according to the described time
Interval determines described duration, and then determines described input information according to described duration, that is, institute
State and there is between time interval, described duration and described input information one the 3rd corresponding relation.This
Skilled person understands, for the execution equipment of methods described, it completely may not necessarily
It is concerned about described duration that is to say, that it can be directly according to described time interval and described input
The 4th corresponding relation between information determines described input information.Of course, for a user,
It is still necessary understanding described 3rd corresponding relation, will pass through the action of the different duration of input,
The different input information of control input.
In addition, in actual applications, described duration can also be combined with type of action, with group
Close out more input informations.Such as, taking slide as a example, when slip duration was less than more than 1 second
When 1.5 seconds, page 1 order is turned in input;When slip duration is more than 1.5 seconds, page 2 are turned in input
Order.
Additionally, the embodiment of the present application also provides a kind of computer-readable medium, including being performed
The computer-readable instruction of below Shi Jinhang operation: execute in above-mentioned Fig. 1 illustrated embodiment
Step s120, s140 of method and the operation of s160.
To sum up, the embodiment of the present application methods described, can in response to the contact action of user's finger,
Obtain user's finger at ppg information, and then can to corresponding electronic equipment input information,
Such that it is able to using user's body as inputting interface to corresponding electronic equipment input information, be lifted
The input capability of Wearable etc., improves Consumer's Experience.
Fig. 5 is the modular structure schematic diagram of interactive device described in one embodiment of the invention, described
Interactive device can be arranged in the Wearable device such as intelligent ring as One function module,
Certainly also can as an independent Wearable device for users to use.As shown in figure 5, institute
State equipment 500 may include that
One acquisition module 510, executes a contact for the finger in response to user to an object
Action, obtains the ppg information of described finger;
One first determining module 520, for determining that in described ppg information range value is less than the
First point of one threshold value, and range value is higher than the second point of Second Threshold;
One second determining module 530, for according at least to described first point and described second point it
Between time interval, determine an input information.
Equipment described in the embodiment of the present application, the finger in response to user connects to an object execution one
Touch and make, obtain the ppg information of described finger, described ppg information determines range value
Less than first point of first threshold, and range value is higher than the second point of Second Threshold, Ran Houzhi
Less according to described first point of time interval and described second point between, determine described input information.
Thus providing one kind in response to a contact action, input is determined according to the ppg information obtaining
The equipment of information, described equipment can be multiplexed the ppg sensor in Wearable, and has
Beneficial to the interaction capabilities improving Wearable.
Below with reference to specific embodiment, describe in detail described acquisition module 510, described the
One determining module 520 and the function of described second determining module 530.
Described acquisition module 510, executes one for the finger in response to user to an object and connects
Touch and make, obtain the ppg information of described finger.
Wherein, described finger can be arbitrary finger of user, such as forefinger, thumb etc..Institute
Stating object can be an arbitrary accessible interface, can be such as display screen, any material
Desktop, the back side of mobile phone, the surface of glass etc..Described contact action can be such as pressing,
Slide etc..
Described first determining module 520, for determining that in described ppg information range value is less than
First point of first threshold, and range value is higher than the second point of Second Threshold.
Wherein, described first threshold is used for detecting whether the range value of described ppg information substantially drops
Low, it can determine according to the trough range value of ppg waveform when not pressing, that is, described
First threshold is significantly lower than described trough range value, such as by ppg waveform when not pressing
Trough range value deduct the amplitude that the peak amplitude of ppg waveform when not pressing is worth to
Value is as described first threshold.
Described Second Threshold is used for detecting that the range value of described ppg information is after obvious reduction
No obvious rising, it can determine according to the peak amplitude value of ppg waveform when not pressing,
Such as the 80% of the peak amplitude value of ppg waveform when not pressing is defined as described second
Threshold value.
It will be appreciated by those skilled in the art that described Second Threshold should be higher than described first threshold.
In addition, it will be appreciated by those skilled in the art that may be obtained multiple according to described first threshold
Meet at first point of condition, such as, in Fig. 2, assume that described first threshold is th1, then permissible
The point obtaining between d1 to d2 is satisfied by condition, according to the above-mentioned any point meeting condition
Realize herein described equipment.But, in order to improve the calculating speed of described equipment, simultaneously
Be conducive to improving the real-time processing performance of described equipment, may further require that be at described first point
First sampled point less than described first threshold.
The second point that more meet condition may be obtained according to described Second Threshold, such as scheme
It is assumed that described Second Threshold is th2 in 2, then can obtain between u1 to u2, u3 to u4
Between, point between u5 to u6 etc. be satisfied by condition, according to the above-mentioned any point meeting condition
Herein described equipment all can be realized.But, in order to improve described equipment arithmetic speed and
Real-time processing performance, can select after described first point first to be higher than described Second Threshold
Point as described second point, that is, described second point be range value be higher than described Second Threshold at least
In one point, after described first point and the point minimum with described first point of time interval.
It will be appreciated by those skilled in the art that described equipment can also select between u3 to u4, u5 arrives
Point between u6 or more posteriorly, as described second point, in this case, is equivalent in fact
Move several ppg cycles after on the basis of afore-mentioned, taking select p ' point in Fig. 2 as a example,
It is equivalent to 1 ppg cycle of shifting after on the basis of p point.
Described second determining module 530, for according at least to described first point and described second point
Between time interval, determine an input information.
In one embodiment, described time interval can be used for reflecting described contact action
Type of action, the different time interval of that is, different type of action correspondences, and then correspondence is different
Input information.In present embodiment, referring to Fig. 6, described second determining module 530 can be wrapped
Include:
One type of action determining unit 531, for according at least to described first point and described second
Time interval between point, determines the type of action of described contact action;
One input information determining unit 532, corresponding described defeated for determining described type of action
Enter information.
Described type of action can include short by with length contact.The described short compressing time pressed is permissible
Less than a predetermined value, such as 1 second;Accordingly, the time of contact of described long contact can be more than
One predetermined value, can also be such as 1 second.In addition, described long contact can be further divided into length
Press and slide.
Corresponding relation between described type of action and described input information can be predetermined
, its corresponding relation can be as shown in table 1.
In one embodiment, described type of action determining unit 531, in response to institute
State time interval and be less than one first reference interval, determine that the type of action of described contact action is short
Press.
Wherein, described first reference interval is the reference for distinguishing described contact action type
Time value, it can be configured according to the use habit of user, such as could be arranged to 1 second.
It is assumed that finding first point of time and second point between by calculating taking waveform shown in Fig. 2 as a example
It is spaced apart 0.5 second, less than described first reference interval 1 second, such that it is able to judge described contact
The type of action of action is short pressing.
For the sake of simple, described first reference interval in the application is all to be u1 with described second point
It is configured premised on putting between u2.It will be appreciated by those skilled in the art that when selection u3 arrives
Point between u4, between u5 to u6 or more posteriorly is as described second point, described first ginseng
Examine interval to be adjusted by increasing several ppg cycles, such as it is assumed that selecting
In Fig. 2, the point between u3 to u4 is second point, then described first reference interval can be by increasing
Plus 1 ppg cycle is adjusted.It will be appreciated by those skilled in the art that user is by action
Carry out in interactive process, also frequently using double-click, double-click and in fact can be divided into continuously
Short twice press.Therefore, in one embodiment, referring to Fig. 7, described equipment 500 is also
Including:
One the 3rd determining module 540, for pressing for short in response to described type of action, and institute
Stating the type of action of another contact action before contact action is also short by determining described contact
The second time interval between action and described another contact action;
Whether one the 4th determining module 550, for determining user according to described second time interval
Perform and once double-click.
Wherein, the type of action of described another contact action can be according to the described contact action of identification
Type of action identical mode complete.That is, when methods described can remember the last period
Interior type of action recognition result, for the current user action of comprehensive descision.
Described second time interval can be double-clicked interval with one by described 4th determining module 550
Be compared, so judge user short twice by whether being continuous action, that is, double-click.Described
Double-click interval to be configured according to the use habit of user, such as could be arranged to 0.5 second,
If thus described second time interval is less than described double-click and is spaced, can be executed with identifying user
Once double-click, otherwise, short twice pressing can be executed respectively with identifying user.
In one embodiment, described type of action determining unit 531, be additionally operable in response to
Described time interval is more than one second reference interval, determines that the type of action of described contact action is
Long contact.
Wherein, described second reference interval can be identical with described first reference interval, or
Described first reference interval can be more than.For the sake of simple, between described second reference in the application
Every be also be between u1 to u2 by described second point point premised on be configured.This area skill
Art personnel understand, make when selecting point between u3 to u4, between u5 to u6 or more posteriorly
For described second point, described second reference interval can also be by increasing several ppg cycles
To be adjusted.
Described long contact refers to be more than the contact action of described second reference interval time of contact, than
As can be long by or slide.Taking Fig. 3 and Fig. 4 as a example it can be seen that working as user's execution
When length is pressed or slided, described time interval can be significantly long than short time interval on time.
In some cases, methods described can be directly according to described type of action determining unit 531
Determination result, input is described long to contact corresponding input information;In other cases, institute
State type of action determining unit 531 to it may also be desirable to further discriminate between described long contact, such as enter
One step judges it is to grow by or slide.
In one embodiment, referring to Fig. 8, described type of action determining unit 531 includes:
One heart rate value determination subelement 5311, for being more than one second in response to described time interval
Reference interval, determines wholeheartedly according to the described first point ppg information and described second point between
Rate value;
One type of action determination subelement 5312, makes a reservation for for belonging to one in response to described heart rate value
Heart rate range, determine described contact action type of action be long by.
, the described first point ppg information and described second point between can correspond to taking Fig. 3 as a example
In Fig. 3, the ppg waveform between v point and p point is it can be seen that this portion waveshape is mainly
The range value of crest reduces, and in fact still shows obvious periodic regularity, and it is periodically advised
Rule has obvious concordance with the periodic regularity of ppg information when not pressing.Inventor
Research finds, according to the calculated heart rate value of this portion waveshape in normal heart rate interval,
Such as, according to the heart rate value that the ppg waveshape between v point and p point in Fig. 3 obtains it is
89.Meanwhile, contrast Fig. 4 is it can be seen that the ppg waveform between v point and p point in Fig. 4,
Peak amplitude value is also obviously reduced, and waveform is mixed and disorderly.Inventor's research finds, according to this portion
The calculated heart rate value of partial wave shape not in normal heart rate interval, such as, according in Fig. 4
The heart rate value that ppg waveshape between v point and p point obtains is 201.Based on above-mentioned principle,
The type of action that methods described can distinguish described contact action is to grow by or slide.
In described heart rate value determination subelement 5311, can be according to any one existing ppg heart
Rate algorithm calculates described heart rate value, such as, can input described first point and described second point it
Between ppg information, find function using summit and find out the crest summit of effective ppg information,
Then the unit calculating adjacent vertex is the time difference of second, and the inverse obtaining difference afterwards is taken advantage of
With 60 heart rate values that can draw user.
In described type of action determination subelement 5312, described target heart rate scope can basis
The state of user is configured, and such as in most of the cases, that is, user is static or transports by a small margin
In the case of dynamic, described target heart rate may range from 60-100 beat/min;And acutely transport in user
After dynamic, after such as running, described target heart rate may range from 100-180 beat/min.
In another embodiment, described type of action determination subelement 5312, is additionally operable to ring
Heart rate value described in Ying Yu is not belonging to described target heart rate scope, determines the action of described contact action
Type is to slide.
Clearer in order to describe, in above-mentioned embodiment, substantially according to the described time
Interval determines described type of action, and then determines described input information according to described type of action,
Namely have one first between described time interval, described type of action and described input information
Corresponding relation.It will be appreciated by those skilled in the art that for described equipment, it completely may not be used
Described type of action must be concerned about that is to say, that it can be directly according to described time interval and institute
The second corresponding relation stated between input information determines described input information.Of course, for
For family, it is still necessary understanding described first corresponding relation, will pass through input inhomogeneity
The action of type, the different input information of control input.
In another embodiment, described time interval can be used for reflecting described contact action
Duration, the different time intervals of that is, different duration correspondences, and then the different inputs letter of correspondence
Breath.In present embodiment, referring to Fig. 9, described second determining module 530 includes:
One action duration determining unit 531 ', for according at least to described first point and described second
Time interval between point, determines the duration of described contact action;
One input information determining unit 532 ', for determining the corresponding described input letter of described duration
Breath.
In described action duration determining unit 531 ', if described second point is range value is higher than institute
State Second Threshold at least one point in, after described first point and with described first point
The minimum point of time interval.In such a case, it is possible to directly determine described contact action when
Length is equal to described time interval.
Similar to a upper embodiment, described second point can also be such as u3 to u4 in Fig. 2
Between or u5 to u6 between point, when taking these, be in described contact action in fact
Duration on the basis of increased several ppg cycle, therefore, as long as described in obtain
First point of time interval and described second point between deducts the ppg cycle of respective numbers
Determine the duration of described contact action, such as assume described second point take in Fig. 2 u3 to u4 it
Between point, then described first point of time interval and described second point between can be deducted 1
The ppg cycle, to determine the duration of described contact action.
In described input information determining unit 532 ', between described duration and described input information
Corresponding relation can be predetermined, such as, when described duration is less than 1 second, inputs one
Control command;When described duration is more than 1 second, input another control command.
Clearer in order to describe, in above-mentioned embodiment, substantially according to the described time
Interval determines described duration, and then determines described input information according to described duration, that is, institute
State and there is between time interval, described duration and described input information one the 3rd corresponding relation.This
Skilled person understands, for the execution equipment of methods described, it completely may not necessarily
It is concerned about described duration that is to say, that it can be directly according to described time interval and described input
The 4th corresponding relation between information determines described input information.Of course, for a user,
It is still necessary understanding described 3rd corresponding relation, will pass through the action of the different duration of input,
The different input information of control input.
In addition, in actual applications, described duration can also be combined with type of action, with group
Close out more input informations.Such as, taking slide as a example, when slip duration was less than more than 1 second
When 1.5 seconds, page 1 order is turned in input;When slip duration is more than 1.5 seconds, page 2 are turned in input
Order.
The hardware configuration of one embodiment user equipment of the application is as shown in Figure 10.The application has
Body embodiment does not limit to implementing of described user equipment, referring to Figure 10, described
Equipment 1000 may include that
Processor (processor) 1010, communication interface (communications interface) 1020,
Memorizer (memory) 1030, and communication bus 1040.Wherein:
Processor 1010, communication interface 1020, and memorizer 1030 is by communication bus
1040 complete mutual communication.
Communication interface 1020, for other net element communications.
Processor 1010, for configuration processor 1032, specifically can execute shown in above-mentioned Fig. 1
Embodiment of the method in correlation step.
Specifically, program 1032 can include program code, and described program code includes calculating
Machine operational order.
Processor 1010 is probably a central processing unit cpu, or specific integrated circuit
Asic (application specific integrated circuit), or be arranged to implement
One or more integrated circuits of the embodiment of the present application.
Memorizer 1030, is used for depositing program 1032.Memorizer 1030 may comprise at a high speed
Ram memorizer it is also possible to also include nonvolatile memory (non-volatile memory),
For example, at least one disk memory.Program 1032 specifically can execute following steps:
A finger in response to user executes a contact action to an object, obtains described finger
Photoplethysmographic ppg information;
Determine that range value is less than first point of first threshold in described ppg information, and amplitude
Value is higher than the second point of Second Threshold;
According at least to described first point of time interval and described second point between, connect described in determination
Touch the type of action made.
In program 1032, each step implements the corresponding step that may refer in above-described embodiment
Rapid or module, will not be described here.Those skilled in the art can be understood that, is
The convenience of description and succinct, the equipment of foregoing description and the specific work process of module, Ke Yican
State the corresponding process description in embodiment of the method before examination, will not be described here.
Those of ordinary skill in the art are it is to be appreciated that retouch with reference to the embodiments described herein
The unit of each example stated and method and step, can with electronic hardware or computer software and
Being implemented in combination in of electronic hardware.These functions to be executed with hardware or software mode actually,
Application-specific depending on technical scheme and design constraint.Professional and technical personnel can be to every
The individual specific application function described to use different methods to realization, but this realization is not
It is considered as beyond scope of the present application.
If described function is realized and as independent product pin using in the form of SFU software functional unit
When selling or using, can be stored in a computer read/write memory medium.Based on such
Understand, the part that the technical scheme of the application substantially contributes to prior art in other words or
Partly being embodied in the form of software product of this technical scheme of person, this computer software
Product is stored in a storage medium, including some instructions with so that a computer equipment
(can be personal computer, controller, or network equipment etc.) executes the application, and each is real
Apply all or part of step of a methods described.And aforesaid storage medium includes: u disk, shifting
Dynamic hard disk, read only memory (rom, read-only memory), random access memory
(ram, random access memory), magnetic disc or CD etc. are various can to store journey
The medium of sequence code.
Embodiment of above is merely to illustrate the application, and the not restriction to the application, relevant
The those of ordinary skill of technical field, in the case of without departing from spirit and scope,
Can also make a variety of changes and modification, therefore all equivalent technical schemes fall within the application
Category, the scope of patent protection of the application should be defined by the claims.
Claims (10)
1. a kind of exchange method is it is characterised in that methods described includes:
A finger in response to user executes a contact action to an object, obtains described finger
Photoplethysmographic ppg information;
Determine that range value is less than first point of first threshold in described ppg information, and amplitude
Value is higher than the second point of Second Threshold;
According at least to described first point of time interval and described second point between, determine an input
Information.
2. the method for claim 1 is it is characterised in that described second point is amplitude
Value higher than described Second Threshold at least one point in, after described first point and with described
The minimum point of first point of time interval.
3. the method for claim 1 it is characterised in that described according at least to described
First point of time interval and described second point between, determines that an input information includes:
According at least to described first point of time interval and described second point between, connect described in determination
Touch the type of action made;
Determine the corresponding described input information of described type of action.
4. method as claimed in claim 3 it is characterised in that described according at least to described
First point of time interval and described second point between, determines the type of action of described contact action
Including:
It is less than one first reference interval in response to described time interval, determine described contact action
Type of action is short pressing.
5. method as claimed in claim 3 it is characterised in that described according at least to described
First point of time interval and described second point between, determines the type of action of described contact action
Including:
It is more than one second reference interval in response to described time interval, determine described contact action
Type of action is long contact.
6. method as claimed in claim 3 it is characterised in that described according at least to described
First point of time interval and described second point between, determines the type of action of described contact action
Including:
It is more than one second reference interval in response to described time interval, according to and institute at described first point
The ppg information stated between second point determines a heart rate value;
Belong to a target heart rate scope in response to described heart rate value, determine the dynamic of described contact action
Make type be long by.
7. method as claimed in claim 6 it is characterised in that described according at least to described
First point of time interval and described second point between, determines the type of action of described contact action
Also include:
It is not belonging to described target heart rate scope in response to described heart rate value, determine described contact action
Type of action be slide.
8. a kind of interactive device is it is characterised in that described equipment includes:
One acquisition module, executes a contact action for the finger in response to user to an object,
Obtain the ppg information of described finger;
One first determining module, for determining that in described ppg information range value is less than the first threshold
First point of value, and range value is higher than the second point of Second Threshold;
One second determining module, for according at least to described first point and described second point between
Time interval, determines an input information.
9. a kind of Wearable device is it is characterised in that described Wearable device includes weighing
Profit requires the interactive device described in 8.
10. a kind of user equipment is it is characterised in that described user equipment includes:
One memorizer, for store instruction;
One processor, for executing the instruction of described memory storage, described instruction makes described
Operate below computing device:
A finger in response to user executes a contact action to an object, obtains described finger
Photoplethysmographic ppg information;
Determine that range value is less than first point of first threshold in described ppg information, and amplitude
Value is higher than the second point of Second Threshold;
According at least to described first point of time interval and described second point between, determine an input
Information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510463403.4A CN106371558B (en) | 2015-07-31 | 2015-07-31 | Interaction method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510463403.4A CN106371558B (en) | 2015-07-31 | 2015-07-31 | Interaction method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106371558A true CN106371558A (en) | 2017-02-01 |
CN106371558B CN106371558B (en) | 2020-06-02 |
Family
ID=57880249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510463403.4A Active CN106371558B (en) | 2015-07-31 | 2015-07-31 | Interaction method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106371558B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104656896A (en) * | 2015-02-10 | 2015-05-27 | 北京智谷睿拓技术服务有限公司 | Method and device for confirming input information |
CN104699241A (en) * | 2015-02-10 | 2015-06-10 | 北京智谷睿拓技术服务有限公司 | Method and device for determining action and/or action part |
-
2015
- 2015-07-31 CN CN201510463403.4A patent/CN106371558B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104656896A (en) * | 2015-02-10 | 2015-05-27 | 北京智谷睿拓技术服务有限公司 | Method and device for confirming input information |
CN104699241A (en) * | 2015-02-10 | 2015-06-10 | 北京智谷睿拓技术服务有限公司 | Method and device for determining action and/or action part |
Also Published As
Publication number | Publication date |
---|---|
CN106371558B (en) | 2020-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104656896B (en) | The method and apparatus for determining input information | |
CN104699241B (en) | It is determined that the method and apparatus at action and/or action position | |
CN104615248A (en) | Method and device for determining input information | |
CN104699242A (en) | Method and device for determining action and/or action part | |
CN105117003A (en) | Intelligent wearing equipment and working method thereof | |
CN104656895A (en) | Method and device for confirming input information | |
CN104536663B (en) | A kind of page turning method | |
CN104731322A (en) | Method and device for determining input information | |
CN110866468A (en) | Gesture recognition system and method based on passive RFID | |
CN106778476A (en) | Human posture recognition method and human body attitude identifying device | |
CN105138134A (en) | Electromyographic signal recognition segmentation method | |
CN107450717A (en) | A kind of information processing method and Wearable | |
CN104615984B (en) | Gesture identification method based on user task | |
CN106250038A (en) | The implementation method of a kind of human-computer interaction interface and mobile terminal | |
CN106371558A (en) | Interactive method and device | |
CN104461365A (en) | Touch method and device of terminal | |
CN106249848A (en) | Exchange method and equipment | |
CN106325491A (en) | Input information determination method and equipment | |
CN106339074A (en) | Interactive method and device | |
ul Haq et al. | New hand gesture recognition method for mouse operations | |
CN106293048A (en) | Input information determines method and apparatus | |
CN110309740A (en) | Gesture identification method, wearable device and gestural control system | |
CN106227326B (en) | Dynamics information determines method and apparatus | |
CN105493026B (en) | A kind of intelligent wearable device screen display method and device | |
CN106073791B (en) | Calorie computing method and device based on Intelligent bracelet |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |