CN106249848B - Exchange method and equipment - Google Patents

Exchange method and equipment Download PDF

Info

Publication number
CN106249848B
CN106249848B CN201510463018.XA CN201510463018A CN106249848B CN 106249848 B CN106249848 B CN 106249848B CN 201510463018 A CN201510463018 A CN 201510463018A CN 106249848 B CN106249848 B CN 106249848B
Authority
CN
China
Prior art keywords
point
threshold
ppg
finger
action
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.)
Active
Application number
CN201510463018.XA
Other languages
Chinese (zh)
Other versions
CN106249848A (en
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 Zhigu Ruituo Technology Services Co Ltd
Original Assignee
Beijing Zhigu Ruituo Technology Services 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 Zhigu Ruituo Technology Services Co Ltd filed Critical Beijing Zhigu Ruituo Technology Services Co Ltd
Priority to CN201510463018.XA priority Critical patent/CN106249848B/en
Publication of CN106249848A publication Critical patent/CN106249848A/en
Application granted granted Critical
Publication of CN106249848B publication Critical patent/CN106249848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application provides a kind of exchange method and equipment, are related to wearable device field.The described method includes: the finger in response to user executes a contact action to an object, the photoplethysmographic PPG information of the finger is obtained;Range value is determined in the PPG information lower than first point of first threshold and range value is higher than the second point of second threshold;According at least to first point of time interval between the second point, the type of action of the contact action is determined.The method and equipment provide a kind of new departure of type of action identification, are conducive to the interaction capabilities for improving wearable device.

Description

Exchange method and equipment
Technical field
This application involves wearable device field more particularly to a kind of exchange method and equipment.
Background technique
As universal and development, the present electronic equipment of electronic equipment are more and more intelligent.Wherein, electronic equipment to The identification of family movement is one of its intelligentized developing direction.
For example, some game stations can identify the fairly simple gesture motion of user by image recognition technology;One The wearable devices such as a little intelligence rings can identify whether user is currently walking about by acceleration transducer, and may be implemented to remember Walk function.
Summary of the invention
The purpose of the application is: providing a kind of exchange method and equipment.
According to the application at least one embodiment in a first aspect, providing a kind of exchange method, which comprises
One contact action is executed to an object in response to the finger of user, obtains the photoplethysmographic of the finger PPG information;
Determine that range value is higher than second threshold lower than and range value at first point of first threshold in the PPG information Second point;
According at least to first point of time interval between the second point, the movement class of the contact action is determined Type.
According to the second aspect of at least one embodiment of the application, a kind of exchange method is provided, which comprises
One contact action is executed to an object in response to the finger of user, obtains the PPG information of the finger;
Determine that range value is higher than second threshold lower than and range value at first point of first threshold in the PPG information Second point;
According at least to first point of time interval between the second point, the duration of the contact action is determined.
According to the third aspect of at least one embodiment of the application, a kind of interactive device is provided, the equipment includes:
One obtains module, executes a contact action to an object for the finger in response to user, obtains the finger PPG information;
One first determining module, first point for range value determining in the PPG information lower than first threshold, and Range value is higher than the second point of second threshold;
One second determining module, for determining according at least to first point of time interval between the second point The type of action of the contact action.
According to the fourth aspect of at least one embodiment of the application, a kind of interactive device is provided, the equipment includes:
One obtains module, executes a contact action to an object for the finger in response to user, obtains the finger PPG information;
One first determining module, first point for range value determining in the PPG information lower than first threshold, and Range value is higher than the second point of second threshold;
One second determining module, for determining according at least to first point of time interval between the second point The duration of the contact action.
Exchange method and equipment described in the embodiment of the present application, it is dynamic to one contact of an object execution in response to the finger of user Make, obtain the PPG information of the finger, determines that range value is lower than and width of first threshold at first point in the PPG information Angle value is higher than the second point of second threshold, then according at least to first point of time interval between the second point, really The type of action of the fixed contact action.To provide a kind of side of type of action for determining contact action according to PPG information Method, the method can be multiplexed the PPG sensor in wearable device, and be conducive to improve the interaction capabilities of wearable device.
Detailed description of the invention
Fig. 1 is the flow chart of exchange method described in the application one embodiment;
PPG waveform diagram when Fig. 2 is index finger short-press in one embodiment of the application;
Fig. 3 is the long PPG waveform diagram on time of index finger in one embodiment of the application;
Fig. 4 is PPG waveform diagram when index finger slides in one embodiment of the application;
Fig. 5 is the flow chart of exchange method described in another embodiment of the application;
Fig. 6 is the module map of interactive device described in the application one embodiment;
Fig. 7 is the module map of interactive device described in one embodiment of the application;
Fig. 8 is the module map of the second determining module described in one embodiment of the application;
Fig. 9 is the module map of interactive device described in the application another embodiment;
Figure 10 is the module map of interactive device described in another embodiment of the application;
Figure 11 is the module map of interactive device described in the application another embodiment;
Figure 12 is the hardware structural diagram of interactive device described in the application one embodiment;
Figure 13 is the hardware structural diagram of interactive device described in another embodiment of the application.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment of the application is described in further detail.Implement below Example is not limited to scope of the present application for illustrating the application.
It will be appreciated by those skilled in the art that the size of the serial number of following each steps is not intended in embodiments herein Execution sequence it is successive, the execution of each step sequence should be determined by its function and internal logic, and implement without coping with the application The implementation process of example constitutes any restriction.
Inventor has found in the course of the research, when the finger of user executes the such as movement such as pressing, sliding, will lead to PPG (photoplethysmographic, the PhotoPlethysmoGraphy) signal acquired at the finger position generates apparent waveform Variation.Based on this, herein described method can according to the PPG information acquired at finger to the movement relevant information of finger into Row identification.
Fig. 1 is the flow chart of exchange method described in the application one embodiment, and the method can be set in such as one interaction Standby upper realization.As shown in Figure 1, which comprises
S120: one contact action is executed to an object in response to the finger of user, obtains the PPG information of the finger;
S140: determine that range value is higher than second lower than and range value at first point of first threshold in the PPG information The second point of threshold value;
S160: according at least to first point of time interval between the second point, the contact action is determined Type of action.
The embodiment of the present application the method executes a contact action to an object in response to the finger of user, obtains institute The PPG information for stating finger determines that range value is higher than lower than and range value at first point of first threshold in the PPG information The second point of second threshold, then according at least to first point of time interval between the second point, determine described in connect Touch the type of action made.To provide a kind of method of type of action for determining contact action according to PPG information, the side Method can be multiplexed the PPG sensor in wearable device, and be conducive to improve the interaction capabilities of wearable device.
Below with reference to specific embodiment, the function of described step S120, S140 and S160 is described in detail.
S120: one contact action is executed to an object in response to the finger of user, obtains the PPG information of the finger.
Wherein, the finger can be any finger, such as index finger, thumb of user etc..The object can be one One accessible interface, for example can be display screen, the desktop of any material, the back side of mobile phone, the surface of glass etc..It is described Contact action can such as be pressing, sliding etc..
The waveform diagram of Fig. 2 collected PPG information when being index finger short-press an object in one embodiment of the application, wherein Waveform in dashed rectangle is the waveform of corresponding short-press movement, it can be seen that when user's short-press, will lead to the width of PPG waveform Angle value reduces, and is gradually increasing after being reduced to a trough, declines again again after rising to a typical peak point, then restores to not having Waveform when pressing.The range value of the typical peak point is substantially equal to the range value of the wave crest of PPG waveform when not pressing.
The waveform diagram of Fig. 3 collected PPG information when being index finger long-pressing an object in one embodiment of the application, wherein Waveform in dashed rectangle is the waveform of corresponding long-pressing movement, it can be seen that when a user long presses, will lead to the width of PPG waveform Angle value reduces, and is gradually increasing again after being reduced to a trough, declines again after rising to a sub- peak point, then rises to again next A Asia peak point declines again, so repeats, until the PPG waveform can rise to a standard when index finger leaves the object Then peak point restores to waveform when not pressing.The Asia peak point is the wave crest that range value is less than typical peak point.
Fig. 4 is the waveform diagram of index finger collected PPG information when sliding in an object in one embodiment of the application, Wherein the waveform in dashed rectangle is the waveform of corresponding sliding action, it can be seen that it is described right to start to press before user's sliding As when, the range value that will lead to PPG waveform reduces, and is gradually increasing again after being reduced to a trough, when rising to a standard valley When point, with the sliding of index finger, range value is substantially maintained near the standard valley point, is slightly fluctuated, and waveform is without bright Aobvious regularity, until the PPG waveform can rise to a typical peak point when index finger leaves the object, then restore to Waveform when not pressing.The range value of the standard valley point is substantially equal to the amplitude of the trough of PPG waveform when not pressing Value.
It can be seen that the waveform of obtained PPG information has obvious when user executes in above-mentioned different action process Difference, the application is based on the principle and realizes identification to user action type.
S140: determine that range value is higher than second lower than and range value at first point of first threshold in the PPG information The second point of threshold value.
Wherein, whether the first threshold is used to detect the range value of the PPG information and be substantially reduced, can be according to not having There is the trough range value of PPG waveform when pressing to determine, i.e., the described first threshold is significantly lower than the trough range value, such as will The trough range value of PPG waveform when not pressing subtracts the amplitude that the peak amplitude value of PPG waveform when not pressing obtains Value is used as the first threshold.Whether the range value that the second threshold is used to detect the PPG information is bright after being substantially reduced It is aobvious to rise, it can be determined according to the peak amplitude value of PPG waveform when not pressing, such as by PPG wave when not pressing The 80% of the peak amplitude value of shape is determined as the second threshold.
It will be appreciated by those skilled in the art that the second threshold should be higher than the first threshold.
In addition, it will be appreciated by those skilled in the art that may be obtained multiple meeting the first of condition according to the first threshold Point, for example, assuming that the first threshold is th1 in Fig. 2, then the point between available d1 to d2 is all satisfied condition, according to upper Herein described method can be achieved in any point for stating the condition of satisfaction.But in order to improve the arithmetic speed of the method, simultaneously Also for the real-time process performance for improving the method, it may further require that be lower than the first threshold at described first point First sampled point may thereby determine that first sampled point in Fig. 2 below d1 point is at described first point.
More second points for meeting condition may be obtained according to the second threshold, such as in Fig. 2, it is assumed that described Two threshold values are th2, then available multiple sections: between u1 to u2, between u3 to u4, between u5 to u6 etc., multiple section Interior point is all satisfied condition, and herein described method may be implemented according to the above-mentioned any point for meeting condition.The step S140 can select one according to a pre-defined rule from multiple second points for meeting condition in some section.For example, in order to Simplify the calculation amount of the method and improves real-time process performance, it can be between u1 to u2, the after selecting at described first point One is higher than the point of the second threshold as the second point, i.e., the described second point is that range value is higher than the second threshold In at least one point, after described first point and with the smallest point of first point of the time interval.In this case, with For Fig. 2, it can determine that first sampled point in figure above u1 point is the second point.
It will be appreciated by those skilled in the art that the pre-defined rule be also possible to select u3 to u4 between, between u5 to u6 or More posteriorly any is equivalent in fact in this case as the second point and moves back several on the basis of afore-mentioned The PPG period is equivalent to first above u1 point and samples for selecting first sampled point in Fig. 2 above u3 point 1 PPG period is moved back on the basis of point.
S160: according at least to first point of time interval between the second point, the contact action is determined Type of action.
In the application, the type of action may include short-press and long contact.The compressing time of the short-press can be less than One predetermined value, such as 1 second;Correspondingly, the time of contact of the long contact can be greater than a predetermined value, such as or 1 second. In addition, the long contact can be further divided into long-pressing and sliding.
In one embodiment, the step S160 may include:
S161: the type of action of the contact action is determined with reference to being spaced less than one first in response to the time interval For short-press.
Wherein, described first is a reference time value for distinguishing the contact action type with reference to interval, can be with It is configured, for example can be set to 1 second according to the use habit of user.For the waveform shown in Fig. 2, it is assumed that pass through and calculate hair Existing first point of time interval between second point is 0.5 second, is less than described first with reference to being spaced 1 second, so as to judge The type of action for stating contact action is short-press.
For the sake of simplicity, in the application described first with reference to be with the second point be at interval before point is between u1 to u2 It mentions and being configured.It will be appreciated by those skilled in the art that when select point between u3 to u4, between u5 to u6 or more posteriorly as institute State second point, described first with reference to interval can by increasing several PPG period to be adjusted, such as, it is assumed that selection Fig. 2 Point between middle u3 to u4 is second point, then described first can be adjusted by increasing by 1 PPG period with reference to interval.This Field technical staff understands that user carries out in human-computer interaction process by movement, and also frequently using double-clicking, double-click in fact may be used To be divided into continuous short-press twice.Therefore, in one embodiment, the method can also include:
S170: being short-press in response to the type of action, and another contact action before the contact action is dynamic Making type is also short-press, determines the second time interval between the contact action and another contact action;
S180: determine whether user performs primary double-click according to second time interval.
Wherein, the type of action of another contact action can be identical according to the type of action of the identification contact action Mode complete.That is, the method can remember the type of action recognition result in for the previous period, for integrating Judge current user action.
In the step S180, second time interval can be double-clicked into interval with one and be compared, and then judge to use Whether the short-press twice at family is continuous action, that is, is double-clicked.The double-click interval can be configured according to the use habit of user, For example can be set to 0.5 second, to can identify that user holds if second time interval is spaced less than the double-click Otherwise primary double-click of having gone can identify that user executes short-press twice respectively.
In one embodiment, the step S160 can also include:
S162: it is greater than one second with reference to being spaced in response to the time interval, determines the type of action of the contact action For long contact.
Wherein, described second can be identical with reference to interval as described first with reference to interval, or described the can also be greater than One with reference to interval.For the sake of simplicity, second reference interval in the application is also with the second point u1 to the point between u2 Premised on be configured.It will be appreciated by those skilled in the art that when the point between selection u3 to u4, between u5 to u6 or more posteriorly is made It can also be by increasing several PPG period to be adjusted with reference to interval for the second point, described second.
The long contact refers to the contact action for time of contact being greater than described second with reference to interval, for example, can be long-pressing or Person's sliding.By taking Fig. 3 and Fig. 4 as an example, it can be seen that when user executive chairman presses or slides, the time interval can be apparent Time interval when than short-press is long.
In some cases, the method can be directly according to the determination of the step S162 as a result, the input long contact Corresponding input information;In other cases, the method it may also be desirable to further discriminate between the long contact, such as into one Step judgement is long-pressing or sliding.
In one embodiment, the step S160 can also include:
S1621: it is greater than described second with reference to being spaced, according to and described second at described first point in response to the time interval PPG information between point determines a heart rate value;
S1622: belonging to a target heart rate range in response to the heart rate value, determines that the type of action of the contact action is Long-pressing.
By taking Fig. 3 as an example, the described first point PPG information between the second point can with v point in corresponding diagram 3 and p point it Between PPG waveform, it can be seen that the portion waveshape be mainly wave crest range value reduce, still show apparent week in fact Phase property rule, periodic regularity and the periodic regularity of PPG information when not pressing have apparent consistency.Inventor grinds Study carefully discovery, the heart rate value being calculated according to the portion waveshape is in normal heart rate interval, for example, according to v point and p in Fig. 3 The heart rate value that PPG waveshape between point obtains is 89.Meanwhile comparison diagram 4, it can be seen that in Fig. 4 between v point and p point PPG waveform, peak amplitude value is also obviously reduced, and waveform is mixed and disorderly.Inventor according to the portion waveshape the study found that calculate The heart rate value arrived is not in normal heart rate interval, for example, being obtained according to the PPG waveshape in Fig. 4 between v point and p point Heart rate value is 201.Based on the above principles, it is long-pressing or cunning that the method, which can distinguish the type of action of the contact action, It is dynamic.
In the step S1621, the heart rate value can be calculated according to any existing PPG algorithm of heart rate, for example, can To input the described first point PPG information between the second point, function is found using vertex and finds out effective PPG information Wave crest vertex, the unit for then calculating adjacent vertex is the time difference of second, finds out the inverse of difference later multiplied by 60 Obtain the heart rate value of user.
In the step S1622, the target heart rate range can be configured according to the state of user, such as most In number situations, i.e., the target heart rate may range from 60-100 beats/min in the case of user is static or experiencing small oscillating movements;And After user strenuous exercise, for example after running, the target heart rate may range from 100-180 beats/min.
In another embodiment, the step S160 can also include:
S1623: it is not belonging to the target heart rate range in response to the heart rate value, determines the movement class of the contact action Type is sliding.
In another embodiment, the method can also include:
S190: the corresponding input information of the type of action is determined.
Wherein, the corresponding relationship between the type of action and the input information can be predetermined, and be corresponded to Relationship can be as shown in table 1.Assuming that an intelligent ring is communicated with an intelligent glasses, intelligent ring obtains the type of action of user And then the intelligent glasses are controlled, in the case where intelligent ring recognizes a long-pressing, it can control intelligent glasses and open APP (application) selects menu;In the case that bracelet recognizes the sliding action of user, intelligent glasses execute a page turn over operation, i.e., Next APP is shown in its display window;In the case that bracelet recognizes the short-press movement of user, the APP that currently shows It is selected.Relation table shown in table 1 can be stored in advance in inside such as described intelligent ring wearable device, and be made at it With such relation table can be provided in specification, executed accordingly with training user by the movement in similar table 1 to instruct Order input.
Table 1
Type of action Input information
Short-press Choose order
Long-pressing Open menu
Sliding Page turning
In addition, the embodiment of the present application also provides a kind of computer-readable medium, including perform the following operation when executed Computer-readable instruction: execute the operation of step S120, S140 and S160 of the method in above-mentioned Fig. 1 illustrated embodiment.
To sum up, the embodiment of the present application the method can identify the dynamic of the finger according to the PPG information at user's finger Make type, and then information can be inputted to corresponding electronic equipment according to recognition result, so as to using user's body as defeated Enter interface and input information to corresponding electronic equipment, improves the input capability of wearable device etc., the user experience is improved.
Fig. 5 is the flow chart of exchange method described in another embodiment of the application, and the method can be in for example another friendship It is realized in mutual equipment.As shown in Figure 5, which comprises
S520: one contact action is executed to an object in response to the finger of user, obtains the PPG information of the finger;
S540: determine that range value is higher than second lower than and range value at first point of first threshold in the PPG information The second point of threshold value;
S560: according at least to first point of time interval between the second point, the contact action is determined Duration.
The embodiment of the present application the method executes a contact action to an object in response to the finger of user, obtains institute The photoplethysmographic PPG information for stating finger determines that range value is lower than first point of first threshold in the PPG information, And range value is higher than the second point of second threshold, then according at least between first point of time between the second point Every determining the duration of the contact action.To provide a kind of method of duration for determining contact action according to PPG information, The method can be multiplexed the PPG sensor in wearable device, and be conducive to improve the interaction capabilities of wearable device.
The realization principle of the step S520 and S540 can be with the reality of step S120 and S140 described in a upper embodiment Existing principle is identical, and details are not described herein again.
In the step S540, in one embodiment, the second point is that range value is higher than the second threshold In at least one point, after described first point and with the smallest point of first point of the time interval.In this case, The duration that the contact action can be directly determined is equal to the time interval.
It of courses, in order to improve the implementation process performance of the method, described first point can be range value lower than first First sampled point of threshold value, the second point can be range value higher than at least one point of the second threshold, be located at First after described first point uses point.
Similar to a upper embodiment, the second point can also such as be in Fig. 2 between u3 to u4 or between u5 to u6 Point be to increase several PPG period on the basis of the duration of the contact action in fact when taking these, therefore, As long as subtracting the PPG period of respective numbers in obtained first point of time interval between the second point, than The second point as described in assuming takes in Fig. 2 point between u3 to u4, then can be by first point of time between the second point Interval subtracts 1 PPG period, with the duration of the determination contact action.
In another embodiment, the method can also include:
S570: the corresponding input information of the duration is determined.
Wherein, the corresponding relationship between the duration and the input information can be predetermined, for example, when described Duration inputted a control command less than 1 second;When the duration be greater than 1 second, input another control command.
In addition, in practical applications, the duration can also be combined with type of action, to be combined into more input letters Breath.For example, when sliding duration was greater than 1 second less than 1.5 seconds, the order of page 1 is turned in input by taking sliding as an example;When sliding duration is greater than At 1.5 seconds, the orders of page 2 are turned in input.
In addition, the embodiment of the present application also provides a kind of computer-readable medium, including perform the following operation when executed Computer-readable instruction: execute the operation of step S520, S540 and S560 of the method in above-mentioned Fig. 5 illustrated embodiment.
To sum up, the embodiment of the present application the method can identify the dynamic of the finger according to the PPG information at user's finger Make duration, and then information can be inputted to corresponding electronic equipment according to recognition result, so as to using user's body as defeated Enter interface and input information to corresponding electronic equipment, improves the input capability of wearable device etc., the user experience is improved.
Fig. 6 is the modular structure schematic diagram of interactive device described in one embodiment of the invention, and the interactive device can be made It is set in the wearable devices such as intelligent ring for a functional module, also can be used as one certainly and independent wearable set For for users to use.As shown in fig. 6, the equipment 600 may include:
One obtains module 610, executes a contact action to an object for the finger in response to user, obtains the hand The PPG information of finger;
One first determining module 620, for determining that range value is lower than first point of first threshold in the PPG information, And range value is higher than the second point of second threshold;
One second determining module 630, for according at least to first point of time interval between the second point, really The type of action of the fixed contact action.
Equipment described in the embodiment of the present application executes a contact action to an object in response to the finger of user, obtains institute The PPG information for stating finger determines that range value is higher than lower than and range value at first point of first threshold in the PPG information The second point of second threshold, then according at least to first point of time interval between the second point, determine described in connect Touch the type of action made.It is described to set to provide a kind of equipment of type of action for determining contact action according to PPG information The standby PPG sensor that can be multiplexed in wearable device, and be conducive to improve the interaction capabilities of wearable device.
Below with reference to specific embodiment, the acquisition module 610,620 and of the first determining module is described in detail The function of second determining module 630.
The acquisition module 610 executes a contact action to an object for the finger in response to user, described in acquisition The PPG information of finger.
Wherein, the finger can be any finger, such as index finger, thumb of user etc..The object can be one One accessible interface, for example can be display screen, the desktop of any material, the back side of mobile phone, the surface of glass etc..It is described Contact action can such as be pressing, sliding etc..
First determining module 620, for determining that range value is lower than the first of first threshold in the PPG information Point and range value are higher than the second point of second threshold.
Wherein, whether the first threshold is used to detect the range value of the PPG information and be substantially reduced, can be according to not having There is the trough range value of PPG waveform when pressing to determine, i.e., the described first threshold is significantly lower than the trough range value, such as will The trough range value of PPG waveform when not pressing subtracts the amplitude that the peak amplitude value of PPG waveform when not pressing obtains Value is used as the first threshold.
Whether the range value that the second threshold is used to detect the PPG information obviously rises after being substantially reduced, can To be determined according to the peak amplitude value of PPG waveform when not pressing, such as by the peak amplitude of PPG waveform when not pressing The 80% of value is determined as the second threshold.
It will be appreciated by those skilled in the art that the second threshold should be higher than the first threshold.
In addition, it will be appreciated by those skilled in the art that may be obtained multiple meeting the first of condition according to the first threshold Point, for example, assuming that the first threshold is th1 in Fig. 2, then the point between available d1 to d2 is all satisfied condition, according to upper Herein described equipment can be achieved in any point for stating the condition of satisfaction.But in order to improve the calculating speed of the equipment, simultaneously It is also beneficial to improve the real-time process performance of the equipment, may further require that be lower than the first threshold at described first point First sampled point.
More second points for meeting condition may be obtained according to the second threshold, such as in Fig. 2, it is assumed that described Two threshold values are th2, then the point etc. between available u1 to u2, between u3 to u4, between u5 to u6 is all satisfied condition, according to upper Herein described equipment may be implemented in any point for stating the condition of satisfaction.But in order to improve the arithmetic speed of the equipment and Real-time process performance, after can choose at described first point first point for being higher than the second threshold as the second point, The i.e. described second point be range value be higher than the second threshold at least one point in, be located at described first point after and with it is described The smallest point of first point of time interval.
It will be appreciated by those skilled in the art that the equipment also can choose between u3 to u4, between u5 to u6 or more posteriorly Point as the second point, in this case, be equivalent in fact and move back several PPG period on the basis of afore-mentioned, For selecting in Fig. 2 p ' point, it is equivalent to and moves back 1 PPG period on the basis of p point.
Second determining module 630, for according at least to first point of time interval between the second point, Determine the type of action of the contact action.
In the application, the type of action may include short-press and long contact.The compressing time of the short-press can be less than One predetermined value, such as 1 second;Correspondingly, the time of contact of the long contact can be greater than a predetermined value, such as or 1 second. In addition, the long contact can be further divided into long-pressing and sliding.
In one embodiment, second determining module 630 is used in response to the time interval less than one first With reference to interval, determine that the type of action of the contact action is short-press.
Wherein, described first is a reference time value for distinguishing the contact action type with reference to interval, can be with It is configured, for example can be set to 1 second according to the use habit of user.For the waveform shown in Fig. 2, it is assumed that pass through and calculate hair Time interval between existing first point v and second point p is 0.5 second, is less than described first with reference to being spaced 1 second, so as to judge The type of action of the contact action is short-press.
For the sake of simplicity, described first in the application is with reference to the interval point that be with the second point be between u1 to u2 Premise is configured.It will be appreciated by those skilled in the art that when select point between u3 to u4, between u5 to u6 or more posteriorly as The second point, the reference interval can be by increasing several PPG period to be adjusted.
It will be appreciated by those skilled in the art that user carries out in human-computer interaction process by movement, also frequently uses and double-clicks, Double-click can be divided into continuous short-press twice in fact.Therefore, in one embodiment, referring to Fig. 7, the equipment 600 is also Include:
One third determining module 640, for being short-press in response to the type of action, and before the contact action The type of action of another contact action is also short-press, when determining second between the contact action and another contact action Between be spaced;
One the 4th determining module 650, for determining whether user performs primary double-click according to second time interval.
Wherein, the type of action of another contact action can be identical according to the type of action of the identification contact action Mode complete.That is, the method can remember the type of action recognition result in for the previous period, for integrating Judge current user action.
Second time interval can be double-clicked interval with one and be compared, and then sentenced by the 4th determining module 650 Whether the short-press twice of disconnected user is continuous action, that is, is double-clicked.The double-click interval can be carried out according to the use habit of user Setting, for example can be set to 0.5 second, to can be identified if second time interval is spaced less than the double-click User performs primary double-click, otherwise, can identify that user executes short-press twice respectively.
In one embodiment, second determining module 630 is also used to be greater than one the in response to the time interval Two, with reference to interval, determine the type of action of the contact action for long contact.
Wherein, the long contact refers to that time of contact is greater than described second with reference to the contact action being spaced, for example can be Long-pressing or sliding.By taking Fig. 3 and Fig. 4 as an example, it can be seen that when user executive chairman presses or slides, the time interval meeting Time interval when significantly than short-press is long.
In some cases, the equipment can be directly according to the determination of second determining module 630 as a result, described in input It is long to contact corresponding input information;In other cases, the equipment it may also be desirable to further discriminate between the long contact, than As further judgement is long-pressing or sliding.Therefore, in one embodiment, referring to Fig. 8, second determining module 630 Include:
One heart rate value determination unit 6321 is spaced for being greater than second reference in response to the time interval, according to The described first point PPG information between the second point determines a heart rate value;
One type determining units 6322 connect described in determination for belonging to a target heart rate range in response to the heart rate value Touching the type of action made is long-pressing.
In the heart rate value determination unit 6321, the heart rate can be calculated according to any existing PPG algorithm of heart rate Value is found function using vertex and is found out effectively for example, the described first point PPG information between the second point can be inputted PPG information wave crest vertex, then calculate adjacent vertex unit be the second time difference, find out the inverse of difference later Multiplied by the heart rate value of 60 you can get it users.
In the type determining units 6322, the target heart rate range can be configured according to the state of user, than As in most cases, i.e., in the case of user is static or experiencing small oscillating movements the target heart rate may range from 60-100 times/ Minute;And after user strenuous exercise, for example after running, the target heart rate may range from 100-180 beats/min.
In another embodiment, the type determining units 6322 are also used to be not belonging in response to the heart rate value The target heart rate range determines the type of action of the contact action for sliding.
In another embodiment, referring to Fig. 9, the equipment 600 further include:
One the 5th determining module 660, for determining the corresponding input information of the type of action.
Wherein, the corresponding relationship between the type of action and the input information can be predetermined, and be corresponded to Relationship can be as shown in table 1.
Figure 10 is the modular structure schematic diagram of interactive device described in another embodiment of the present invention, and the interactive device can be with Be set in the wearable devices such as intelligent ring as a functional module, also can be used as certainly one it is independent wearable Equipment is for users to use.As shown in Figure 10, the equipment 1000 may include:
One obtains module 1010, a contact action is executed to an object for the finger in response to user, described in acquisition The PPG information of finger;
One first determining module 1020, for determining that range value is lower than first point of first threshold in the PPG information, And range value is higher than the second point of second threshold;
One second determining module 1030, for according at least to first point of time interval between the second point, Determine the duration of the contact action.
Equipment described in the embodiment of the present application executes a contact action to an object in response to the finger of user, obtains institute The photoplethysmographic PPG information for stating finger determines that range value is lower than first point of first threshold in the PPG information, And range value is higher than the second point of second threshold, then according at least between first point of time between the second point Every determining the duration of the contact action.To provide a kind of equipment of duration for determining contact action according to PPG information, The equipment can be multiplexed the PPG sensor in wearable device, and be conducive to improve the interaction capabilities of wearable device.
The realization principle for obtaining module 1010 can be with the realization principle of acquisition module 610 described in a upper embodiment It is identical;The realization principle of first determining module 1020 can be with the reality of the first determining module 620 described in a upper embodiment Existing principle is identical, and details are not described herein again.
In second determining module 1030, in one embodiment, the second point is that range value is higher than described the In at least one point of two threshold values, after described first point and with the smallest point of first point of the time interval.At this In the case of kind, the duration that can directly determine the contact action is equal to the time interval.
Similar to a upper embodiment, the second point can also such as be in Fig. 2 between u3 to u4 or between u5 to u6 Point be to increase several PPG period on the basis of the duration of the contact action in fact when taking these, therefore, As long as subtracting the PPG period of respective numbers in obtained first point of time interval between the second point, than The second point as described in assuming takes p ' point in Fig. 2, then first point of time interval between the second point can be subtracted 1 A PPG period, with the duration of the determination contact action.
In one embodiment, referring to Figure 11, the equipment 1000 further include:
One third determining module 1040, for determining the corresponding input information of the duration.
Wherein, the corresponding relationship between the duration and the input information can be predetermined, for example, when described Duration inputted a control command less than 1 second;When the duration be greater than 1 second, input another control command.
In addition, in practical applications, the duration can also be combined with type of action, to be combined into more input letters Breath.For example, when sliding duration was greater than 1 second less than 1.5 seconds, the order of page 1 is turned in input by taking sliding as an example;When sliding duration is greater than At 1.5 seconds, the orders of page 2 are turned in input.
The hardware configuration of interactive device described in the application one embodiment is as shown in figure 12.The application specific embodiment is not The specific implementation of the interactive device is limited, referring to Figure 12, the equipment 1200 may include:
Processor (processor) 1210,1220, memory communication interface (Communications Interface) (memory) 1230 and communication bus 1240.Wherein:
Processor 1210, communication interface 1220 and memory 1230 complete mutual lead to by communication bus 1240 Letter.
Communication interface 1220, for being communicated with other network elements.
Processor 1210 can specifically execute the phase in above-mentioned embodiment of the method shown in FIG. 1 for executing program 1232 Close step.
Specifically, program 1232 may include program code, and said program code includes computer operation instruction.
Processor 1210 may be a central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present application Road.
Memory 1230, for storing program 1232.Memory 1230 may include high speed RAM memory, it is also possible to also Including nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Program 1232 specifically may be used To execute following steps:
One contact action is executed to an object in response to the finger of user, obtains the photoplethysmographic of the finger PPG information;
Determine that range value is higher than second threshold lower than and range value at first point of first threshold in the PPG information Second point;
According at least to first point of time interval between the second point, the movement class of the contact action is determined Type.
The specific implementation of each step may refer to corresponding steps or module in above-described embodiment in program 1232, herein not It repeats.It is apparent to those skilled in the art that for convenience and simplicity of description, the equipment and mould of foregoing description The specific work process of block can refer to corresponding processes in the foregoing method embodiment description, and details are not described herein.
The hardware configuration of interactive device described in another embodiment of the application is as shown in figure 13.The application specific embodiment is simultaneously The specific implementation of the interactive device is not limited, referring to Figure 13, the equipment 1300 may include:
Processor (processor) 1310,1320, memory communication interface (Communications Interface) (memory) 1330 and communication bus 1340.Wherein:
Processor 1310, communication interface 1320 and memory 1330 complete mutual lead to by communication bus 1340 Letter.
Communication interface 1320, for being communicated with other network elements.
Processor 1310 can specifically execute the phase in above-mentioned embodiment of the method shown in FIG. 1 for executing program 1332 Close step.
Specifically, program 1332 may include program code, and said program code includes computer operation instruction.
Processor 1310 may be a central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present application Road.
Memory 1330, for storing program 1332.Memory 1330 may include high speed RAM memory, it is also possible to also Including nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Program 1332 specifically may be used To execute following steps:
One contact action is executed to an object in response to the finger of user, obtains the PPG information of the finger;
Determine that range value is higher than second threshold lower than and range value at first point of first threshold in the PPG information Second point;
According at least to first point of time interval between the second point, the duration of the contact action is determined.
The specific implementation of each step may refer to corresponding steps or module in above-described embodiment in program 1332, herein not It repeats.It is apparent to those skilled in the art that for convenience and simplicity of description, the equipment and mould of foregoing description The specific work process of block can refer to corresponding processes in the foregoing method embodiment description, and details are not described herein.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, controller or network equipment etc.) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
Embodiment of above is merely to illustrate the application, and is not the limitation to the application, in relation to the common of technical field Technical staff can also make a variety of changes and modification in the case where not departing from spirit and scope, therefore all Equivalent technical solution also belongs to the scope of the application, and the scope of patent protection of the application should be defined by the claims.

Claims (10)

1. a kind of exchange method, which is characterized in that the described method includes:
One contact action is executed to an object in response to the finger of user, obtains the photoplethysmographic PPG of the finger Information;
Range value is determined in the PPG information lower than first point of first threshold and range value is higher than the of second threshold 2 points;
According at least to first point of time interval between the second point, the type of action of the contact action is determined.
2. the method as described in claim 1, which is characterized in that the second point is that range value is higher than the second threshold extremely In a few point, after described first point and with the smallest point of first point of the time interval.
3. a kind of exchange method, which is characterized in that the described method includes:
One contact action is executed to an object in response to the finger of user, obtains the PPG information of the finger;
Range value is determined in the PPG information lower than first point of first threshold and range value is higher than the of second threshold 2 points;
According at least to first point of time interval between the second point, the duration of the contact action is determined.
4. method as claimed in claim 3, which is characterized in that the second point is that range value is higher than the second threshold extremely In a few point, after described first point and with the smallest point of first point of the time interval.
5. a kind of interactive device, which is characterized in that the equipment includes:
One obtains module, executes a contact action to an object for the finger in response to user, obtains the PPG of the finger Information;
One first determining module, for determining that range value is lower than and amplitude of first threshold at first point in the PPG information Value is higher than the second point of second threshold;
One second determining module, described in determining according at least to first point of time interval between the second point The type of action of contact action.
6. equipment as claimed in claim 5, which is characterized in that second determining module, in response between the time Every less than one first reference interval, determine that the type of action of the contact action is short-press.
7. a kind of interactive device, which is characterized in that the equipment includes:
One obtains module, executes a contact action to an object for the finger in response to user, obtains the PPG of the finger Information;
One first determining module, for determining that range value is lower than and amplitude of first threshold at first point in the PPG information Value is higher than the second point of second threshold;
One second determining module, described in determining according at least to first point of time interval between the second point The duration of contact action.
8. a kind of wearable device, which is characterized in that the wearable device includes described in any one of claim 5 to 7 Interactive device.
9. a kind of user equipment, which is characterized in that the user equipment includes:
One memory, for storing instruction;
One processor, for executing the instruction of the memory storage, described instruction makes the processor execute following operation:
One contact action is executed to an object in response to the finger of user, obtains the photoplethysmographic PPG of the finger Information;
Range value is determined in the PPG information lower than first point of first threshold and range value is higher than the of second threshold 2 points;
According at least to first point of time interval between the second point, the type of action of the contact action is determined.
10. a kind of user equipment, which is characterized in that the user equipment includes:
One memory, for storing instruction;
One processor, for executing the instruction of the memory storage, described instruction makes the processor execute following operation:
One contact action is executed to an object in response to the finger of user, obtains the PPG information of the finger;
Range value is determined in the PPG information lower than first point of first threshold and range value is higher than the of second threshold 2 points;
According at least to first point of time interval between the second point, the duration of the contact action is determined.
CN201510463018.XA 2015-07-31 2015-07-31 Exchange method and equipment Active CN106249848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510463018.XA CN106249848B (en) 2015-07-31 2015-07-31 Exchange method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510463018.XA CN106249848B (en) 2015-07-31 2015-07-31 Exchange method and equipment

Publications (2)

Publication Number Publication Date
CN106249848A CN106249848A (en) 2016-12-21
CN106249848B true CN106249848B (en) 2019-02-19

Family

ID=57626420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510463018.XA Active CN106249848B (en) 2015-07-31 2015-07-31 Exchange method and equipment

Country Status (1)

Country Link
CN (1) CN106249848B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114112134B (en) * 2021-11-26 2023-01-24 歌尔科技有限公司 Pressure detection method, electronic device and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110068579A (en) * 2009-12-16 2011-06-22 한국전자통신연구원 Method for finger gesture recognition
CN102866843A (en) * 2011-06-29 2013-01-09 Lg电子株式会社 Mobile terminal with at least a body sensor
CN104407703A (en) * 2014-11-27 2015-03-11 北京智谷睿拓技术服务有限公司 Dominant limb determination method and apparatus
CN104615248A (en) * 2015-02-10 2015-05-13 北京智谷睿拓技术服务有限公司 Method and device for determining input information
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102225031B1 (en) * 2014-01-14 2021-03-09 엘지전자 주식회사 Terminal and operating method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110068579A (en) * 2009-12-16 2011-06-22 한국전자통신연구원 Method for finger gesture recognition
CN102866843A (en) * 2011-06-29 2013-01-09 Lg电子株式会社 Mobile terminal with at least a body sensor
CN104407703A (en) * 2014-11-27 2015-03-11 北京智谷睿拓技术服务有限公司 Dominant limb determination method and apparatus
CN104615248A (en) * 2015-02-10 2015-05-13 北京智谷睿拓技术服务有限公司 Method and device for determining input information
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

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Measurement of finger posture and three-axis fingertip touch force using fingernail sensors;Stephen A. Mascaro;《IEEE Transactions on Robotics and Automation》;20040229;第20卷;第26-35页
Photoplethysmograph fingernail sensors for measuring finger forces without haptic obstruction;Stephen A. Mascaro;《IEEE Transactions on Robotics and Automation》;20011031;第17卷;第698-708页

Also Published As

Publication number Publication date
CN106249848A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN108052202B (en) 3D interaction method and device, computer equipment and storage medium
CN106598227B (en) Gesture identification method based on Leap Motion and Kinect
US8866781B2 (en) Contactless gesture-based control method and apparatus
CN110727496B (en) Layout method and device of graphical user interface, electronic equipment and storage medium
US9268405B2 (en) Adaptive gesture-based method, system and computer program product for preventing and rehabilitating an injury
US10198627B2 (en) Gesture identification with natural images
Vivek Veeriah et al. Robust hand gesture recognition algorithm for simple mouse control
CN106249848B (en) Exchange method and equipment
TWI721317B (en) Control instruction input method and input device
Utaminingrum et al. Eye movement and blink detection for selecting menu on-screen display using probability analysis based on facial landmark
ul Haq et al. New hand gesture recognition method for mouse operations
CN115390739A (en) Remote interactive input method and device based on palm touch and electronic equipment
CN113989834A (en) Intelligent magic mirror controlled by gestures based on machine vision
CN106293048B (en) Input information determines method and apparatus
CN106775400A (en) Button display method and system
CN106227326B (en) Dynamics information determines method and apparatus
CN106371645B (en) Dynamics pace of change information determines method and apparatus
CN106339074A (en) Interactive method and device
KR101635600B1 (en) Hand Mouse Functioning Based on Background Subtraction and Finger Gesture Recognition
CN106371558B (en) Interaction method and device
CN110244844A (en) Control method and relevant apparatus
Islam et al. Developing a novel hands-free interaction technique based on nose and teeth movements for using mobile devices
CN106325491B (en) Input information determination method and device
Zhang et al. Free-hand gesture control with" touchable" virtual interface for human-3DTV interaction
CN106339075B (en) Input information determines method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant