The present international patent cooperative treaty (PCT) application claims priority to and benefit of Chinese Patent Application No. 201510069988.1, filed on Feb. 10, 2015, and entitled “Method and Device for Determining Action and/or Action Part”, which is hereby incorporated into the present international PCT application by reference herein in its entirety.
The present application relates to the field of wearable devices, and in particular, to methods and device for determining an action and/or an action part.
With popularization and development of electronic devices, present electronic devices are more and more intelligent, and recognition by the electronic devices of user actions is one of intelligent development directions thereof.
For example, some gaming devices can recognize users'simple gesture actions through an image recognition technology; some smart bracelets and other wearable devices can recognize whether a user is currently walking through an acceleration sensor, and can implement a step recording function.
An objective of the present application is to provide a method and device for determining an action and/or an action part.
According to one aspect, at least one embodiment of the present application provides a method for determining an action and/or an action part, the method comprising:
in response to that a first part on a body of a user executes an action, acquiring target Doppler measurement information of the first part or a second part corresponding to the first part; and
determining the first part and/or the action according to the target Doppler measurement information and reference information.
According to one aspect, at least one embodiment of the present application provides a device for determining an action and/or an action part, the device comprising:
an acquisition module, configured to, in response to that a first part on a body of a user executes an action, acquire target Doppler measurement information of the first part or a second part corresponding to the first part; and
a first determination module, configured to determine the first part and/or the action according to the target Doppler measurement information and reference information.
According to one aspect, at least one embodiment of the present application provides a method for determining an action and/or an action part, the method comprising:
in response to that a first part on a body of a user executes an action, acquiring target blood flow information of the first part or a second part corresponding to the first part; and
determining the first part and/or the action according to the target blood flow information and reference information.
According to one aspect, at least one embodiment of the present application provides a device for determining an action and/or an action part, the device comprising:
an acquisition module, configured to, in response to that a first part on a body of a user executes an action, acquire target blood flow information of the first part or a second part corresponding to the first part; and
a first determination module, configured to determine the first part and/or the action according to the target blood flow information and reference information.
The method and device for determining an action and/or an action part according to the embodiments of the present application, in response to that a first part on a body of a user executes an action, acquire target blood flow information of the first part or a second part corresponding to the first part, and determine the first part and/or the action according to the target blood flow information and reference information, so as to provide a new scheme for recognizing an action and/or an action part.
Specific implementations of the present application are further described in detail hereinafter with reference to the accompanying drawings and embodiments. The following embodiments are intended to describe the present application, but not to limit the scope of the present application.
It should be understood by those skilled in the art that, in the embodiments of the present application, the value of the serial number of each step described below does not mean an execution sequence, and the execution sequence of each step should be determined according to the function and internal logic thereof, and should not be any limitation to the implementation procedure of the embodiments of the present application.
In a research process, the inventor has found that if a body of a user is in a motion state, it will result in that collected blood flow information comprises noise produced by the motion. Generally, people will consider how to eliminate the noise, so as to increase accuracy of the collected blood flow information.
The inventor has also found that motion of different parts of the body of the user or different motion of the same part may result in production of different noise, and then result in that the collected blood flow information has different waveform features. On this basis, which part performs which action can be reasonably inferred according to the obtained blood flow information, so as to achieve recognition of an action and/or an action part. The blood flow information may be PPG (photoplethysmography) information or may be Doppler measurement information.
S120: in response to that a first part on a body of a user executes an action, acquiring target blood flow information of the first part or a second part corresponding to the first part; and
S140: determining the first part and/or the action according to the target blood flow information and reference information.
The method according to one embodiment of the present application, in response to that a first part on a body of a user executes an action, acquires target blood flow information of the first part or a second part corresponding to the first part, and determines the first part and/or the action according to the target blood flow information and reference information, so as to provide a new scheme for recognizing an action and/or an action part.
Functions of steps S120 and S140 are described below in detail in combination with specific implementations.
S120: In response to that a first part on a body of a user executes an action, acquire target blood flow information of the first part or a second part corresponding to the first part.
The first part, that is, the action part, for example, may be the user's finger, palm, wrist, neck, foot, leg and the like. The first part, in addition to serving as an action part, may also serve as an acquisition part of target blood flow information, for example, in the event that an acquisition sensor of target blood flow information is a smart bracelet, the wrist may serve as an action part and an acquisition part at the same time.
The second part is another optional acquisition part of target blood flow information, and the second part is a part adjacent to the first part, in other words, a distance between the first part and the second part should be less than a distance threshold, for example, less than 0.1 m. Moreover, the inventor has found in a research process that the smaller the distance between the first part and the second part is, the smaller the error of the method is. Generally, the first part and the second part are located on the same limb of the user. For example, in the event that a finger serves as an action part, the wrist on the same limb may serve as an acquisition part.
For the sake of clarity, in the following, the part in the first part and the second part which actually acquires the target blood flow information is called the acquisition part of the target blood flow information.
The action may be some daily common actions, for example, a finger clicks, a palm makes a fist, a palm is open and the like, and may also be some training actions, for example, a finger quickly double clicks and the like.
As stated above, the blood flow information may be PPG information or Doppler measurement information, and correspondingly, the target blood flow information may be target Doppler measurement information of target Doppler measurement information.
The principle of acquiring LDF information is that a laser signal emitted by a light-emitting unit, after being reflected by red blood cells, is detected by a photoelectric sensor, and a flow velocity of the blood and the size of the blood flow can be measured by analyzing Doppler shift of electrical signals output by the photoelectric sensor. An optical blood flow sensor based on an LDF principle can be configured to measure a heart rate and the like. Under normal circumstances, an oscillogram of LDF information as shown in
S140: Determine the first part and/or the action according to the target blood flow information and reference information.
a) In one implementation, the target blood flow information is target Doppler measurement information, and correspondingly, step S140 further comprises:
S140a: determining the first part and/or the action according to the target Doppler measurement information and reference information.
In the event that the target PPG information accurately corresponds to the action, the first part and/or the action can be determined more accurately according to the target PPG information and the reference information. However, under some circumstances, the target PPG information may acquire some redundant information excessively, for example, it may comprise some information before or after execution of the action. In this case, determining the first part and/or the action directly according to the target PPG information and the reference information may lead to a lower accuracy rate of recognition.
Therefore, referring to
S141a: determining target difference information according to the target PPG information and the reference information; and
S142a: determining the first part and/or the action at least according to the target difference information.
In one implementation, in step S141a, the reference information may be a first threshold, and the first threshold may be set according to PPG information acquired by the acquisition part in the event that the first part does not execute an action, that is, remains still (hereinafter referred to as PPG information acquired normally), for example, the first threshold is set as a minimum amplitude value of the PPG information acquired normally, or set as a maximum amplitude value of the PPG information acquired normally.
The target difference information is partial information in the target PPG information, and the action results in that the partial information is evidently distinguished from the PPG information acquired normally. For example, in the event of a single click by a middle finger, a waveform of the target PPG information obtained is as shown in
Therefore, in one implementation, step S141a is further:
S14a′: comparing an amplitude value in the target Doppler measurement information with a value of the reference information, and determining the target difference information according to a comparison result.
Specifically, in the event that the reference information is the minimum amplitude value of the PPG information acquired normally, it is feasible to determine a part in the target PPG information whose amplitude value is less than the value of the reference information as the target difference information. Certainly, in the event that the reference information is the maximum amplitude value of the PPG information acquired normally, it is feasible to determine a part in the target PPG information whose amplitude value is greater than the value of the reference information as the target difference information. By taking
Those skilled in the art should understand that, for the target Doppler measurement information in
In another implementation, in step S141a, the reference information may be reference PPG information acquired at the first part or the second part in the event that the first part does not execute an action, that is, PPG information acquired normally. A waveform of the reference PPG information may be as shown in
Correspondingly, referring to
S1411a″: dividing the target PPG information into a plurality of sub target PPG information according to cycles; and
S1412a″: performing cross-correlation computation on the plurality of sub target PPG information respectively with the reference information, and determining the target difference information according to a computation result.
Still by taking the waveform shown in
In step S1412a″, the reference information may be a PPG waveform between two crests acquired normally, after cross-correlation computation is performed on the reference information with the 5 sub target PPG information respectively, it can be found that a cross-correlation computation result between the reference information and C2 is evidently less than that between the reference information and other sub target PPG information, and it can be determined accordingly that PPG information corresponding to C2 is the target difference information.
In actual applications, it is feasible to compare the cross-correlation computation result between the reference information and each sub target PPG information with a threshold, if the result is less than the threshold, it is considered that the corresponding sub target PPG information is the target difference information. The threshold may be, for example, set as 80% of a cross-correlation computation result between the reference information and itself.
Those skilled in the art should understand that the two manners of determining the target difference information may also be used in combination, so as to increase accuracy and efficiency.
In one implementation, step S142a may further comprise:
S142a′: determining the action according to the number of troughs or crests comprised in the target difference information.
The number of troughs or crests comprised in the target difference information is the same as the number of times the action is executed. As shown in
In another implementation, step S142a may further comprise:
S142a″: determining the action according to a cycle corresponding to the target difference information.
The cycle corresponding to the target difference information corresponds to a cycle within which the first part executes the action, in other words, the longer the time the first part executes the action each time is, the longer the cycle of the target difference information is. Therefore, the cycle corresponding to the target difference information may reflect a speed at which the action is executed, and then the action can be determined. For example, the first part is a foot, and if the cycle within which the foot executes a raise and lower action is 0.3 s, it can be determined that the corresponding action is walking; if the cycle within which the foot executes a raise and lower action is 0.03 s, it can be determined that the corresponding action is running. Certainly, in the event that the first part is a hand, whether the user is walking or running may also be determined according to a cycle of swinging back and forth of the hand.
In another implementation, referring to
S1421a: computing similarity between a waveform of the target difference information and at least one known waveform, and determining a target known waveform according to a computation result; and
S1422a: determining the first part and/or the action according to the target known waveform.
The at least one known waveform may be a set of multiple known waveforms, which can be obtained through pre-training, for example, a user orders the first part to execute different actions in advance and correspondingly acquire a waveform of the corresponding target difference information as the known waveform. So, a corresponding relationship between the first part, the action and the known waveform can be established, and the corresponding relationship can be as shown in Table 1.
In actual applications, similarity between the waveform of the target difference information acquired in step S1421a and each known waveform in the set may be computed, and then a known waveform with the highest similarity is selected as the target known waveform. Then, in step S1422a, the first part and/or the action can be determined according to the target known waveform.
By taking the first line in Table 1 as an example, suppose that the waveform of the target difference information is as shown by the waveform within the circle in
In addition, referring to
S143a: determining a signal feature of the target PPG information; and
S144a: determining the first part and/or the action according to the signal feature and the reference information.
In step S143a, the signal feature of the target PPG information comprises at least one of a fingerprint, an average value and a difference of the target PPG information; the fingerprint consists of at least one of amplitude, phase and frequency spectrum of the target PPG information; the average value is an average value of at least one of the amplitude, the phase and the frequency spectrum of the target PPG information; the difference is a difference of at least one of the amplitude, the phase and the frequency spectrum of the target PPG information.
In step S144a, the reference information may be a reference signal feature obtained through pre-training, for example, in a training stage, it is feasible to execute a corresponding action according to Table 1 and correspondingly acquire a signal feature of the corresponding PPG information as the reference information. In specific applications, similarity between the signal feature of the target PPG information and a plurality of reference information can be computed, and a part and/or an action corresponding to the reference information with the highest similarity is taken as the first part and/or the action.
b) In another implementation, the target blood flow information is target Doppler measurement information, and correspondingly, step S140 may further comprise:
S140b: determining the first part and/or the action according to the target Doppler measurement information and reference information.
The target Doppler measurement information may be, for example, LDF (Laser Doppler Flowmetry), LDV (Laser Doppler Velocimety), ultrasonic Doppler shift and the like.
Referring to
S141b: determining target velocity related information corresponding to the target Doppler measurement information; and
S142b: determining the first part and/or the action according to the target velocity related information and the reference information.
As stated above, the target Doppler measurement information may be, for example, LDF, LDV, ultrasonic Doppler shift and the like, which comprises a series of envelope wave signals, corresponding frequency-domain signals can be obtained by performing, for example, fast Fourier transform thereon, Doppler frequency components in the frequency-domain signals are in direct proportion to a blood flow velocity, a velocity of blood flow can be obtained, and blood flow can be determined further according to the blood flow velocity and the number of blood cells comprised in a blood cross section.
The data type of the target velocity related information may be the blood flow velocity, and may also be the flood flow. In other words, the target velocity related information may be target blood flow velocity information or target blood flow information. As the target Doppler measurement information comprises noise caused by the action, the target velocity related information also comprises the noise. Specifically, the noise comprises a change of the blood flow velocity caused by motion and/or a detection error caused by a change of contact between a detection device of the target Doppler measurement information and a limb (different actions will cause different changes of the contact between the detection device and the limb). In an ordinary LDF detection process, people generally tend to avoid such noise, but the present application achieves recognition of the action by use of such noise.
In one implementation, step S142b may further comprise:
S1421b: determining target difference information according to the target velocity related information and the reference information; and
S1422b: determining the first part and/or the action at least according to the target difference information.
In step S1421b, the reference information may be of different types. For example, in one implementation, the reference information is reference velocity related information corresponding to reference Doppler measurement information acquired by an acquisition part of the target Doppler measurement information in the event that the first part does not execute the action. Similar to the target velocity related information, the reference velocity related information may also be blood flow velocity or blood flow. In the event that the reference velocity related information is blood flow, a waveform thereof may be as shown in
Correspondingly, step S1421b may further comprise:
S14211b: dividing the target velocity related information into a plurality of sub target velocity related information according to cycles; and
S14212b: performing cross-correlation computation on the plurality of sub target velocity related information respectively with the reference information, and determining the target difference information according to a computation result.
In step S14211b, in the event that an index finger executes a single click action, the waveform of the target velocity related information obtained is as shown in
In step S14212b, the reference information may be, for example, a waveform between two crests in
In actual applications, it is feasible to compare the cross-correlation computation result between the reference information and each sub target velocity related information with a threshold, if the result is less than the threshold, it is considered that the corresponding sub target velocity related information is the target difference information. The threshold may be, for example, set as 80% of a cross-correlation computation result between the reference information and itself.
In another implementation, the reference information may be a first threshold, and the first threshold may be set according to an amplitude value of the reference velocity related information, for example, it is set as the minimum amplitude value or the maximum amplitude value of the reference velocity related information.
Correspondingly, step S1421b may further be:
S1421b′: comparing an amplitude value in the target velocity related information with a value of the reference information, and determining the target difference information according to a comparison result.
By taking
Those skilled in the art should understand that the two manners of determining the target difference information may also be used in combination, so as to increase accuracy and efficiency.
In step S1422b, the first part and/or the action is determined at least according to the target difference information. In one implementation, the step may comprise:
S14221b: computing similarity between a waveform of the target difference information and at least one known waveform, and determining a target known waveform according to a computation result; and
S14222b: determining the first part and/or the action according to the target known waveform.
The at least one known waveform may be a set of multiple known waveforms, which can be obtained through pre-training, for example, a user orders the first part to execute different actions in advance and correspondingly acquire a waveform of the corresponding target difference information as the known waveform. So, a corresponding relationship between the first part, the action and the known waveform can be established, and the corresponding relationship can be as shown in Table 1.
In actual applications, in step S14221b, similarity between the waveform of the target difference information and each known waveform in the set may be computed, and then a known waveform with the highest similarity is selected as the target known waveform. Then, in step S14222b, the first part and/or the action can be determined according to the target known waveform.
By taking the first line in Table 1 as an example, suppose that the waveform of the target difference information is as shown by the waveform within the circle in
In another implementation, step S1422b may further be:
S1422b′: determining the action according to the number of troughs or crests comprised in the target difference information.
The number of troughs or crests comprised in the target difference information is the same as the number of times the action is executed. As shown in
In another implementation, step S1422b may further be:
S1422b″: determining the action according to a cycle corresponding to the target difference information.
The cycle corresponding to the target difference information corresponds to a cycle within which the first part executes the action, in other words, the longer the time the first part executes the action each time is, the longer the cycle of the target difference information is. Therefore, the cycle corresponding to the target difference information may reflect a speed at which the action is executed, and then the action can be determined. For example, the first part is a foot, and if the cycle within which the foot executes a raise and lower action is 0.3 s, it can be determined that the corresponding action is walking; if the cycle within which the foot executes a raise and lower action is 0.03 s, it can be determined that the corresponding action is running. Certainly, in the event that the first part is a hand, whether the user is walking or running may also be determined according to a cycle of swinging back and forth of the hand.
In addition, referring to
S141b′: determining a signal feature of the target Doppler measurement information; and
S142b′: determining the first part and/or the action according to the signal feature and the reference information.
In step S141b′, the signal feature of the target Doppler measurement information comprises at least one of a fingerprint, an average value and a difference of the target Doppler measurement information; the fingerprint consists of at least one of amplitude, phase and frequency spectrum of the target Doppler measurement information; the average value is an average value of at least one of the amplitude, the phase and the frequency spectrum of the target Doppler measurement information; the difference is a difference of at least one of the amplitude, the phase and the frequency spectrum of the target Doppler measurement information.
In step S142b′, the reference information may be a reference signal feature obtained through pre-training, for example, in a training stage, it is feasible to execute a corresponding action according to Table 1 and correspondingly acquire a signal feature of the corresponding Doppler measurement information as the reference information. In specific applications, similarity between the signal feature of the target Doppler measurement information and a plurality of reference information can be computed, and a part and/or an action corresponding to the reference information with the highest similarity is taken as the first part and/or the action.
In one implementation, referring to
S150: determining input information corresponding to the first part and/or the action.
A corresponding relationship between the first part and/or the action and the input information may be pre-determined, and the corresponding relationship may be as shown in Table 2. By taking the second line as an example, suppose that a smart bracelet is in communication with a smart glass, the smart bracelet acquires a user's action instruction and then controls the smart glass, and in the event that the smart bracelet recognizes a double click action of an index finger, the smart bracelet can control the smart glass to open an APP currently presented to the user, for example, open a photograph function. The relationship table shown in Table 2 can be pre-stored in, for example, the smart bracelet and other wearable devices, and such a relationship table can be given in an operation instruction thereof, so as to teach and train the user to execute corresponding command input through an action similar to that in Table 2.
Those skilled in the art should understand that a new scheme based on action and/or action part recognition of the present application can achieve information input by taking a body of a user as an input interface, which facilitates enhancing input capability of, for example, wearable devices.
In addition, an embodiment of the present application further provides a computer readable medium, comprising computer readable instructions that perform the following operations when being executed: performing the operations of steps S120 and S140 of the method in the implementation shown in
To sum up, the method according to the embodiment of the present application can input information to a corresponding electronic device by taking a body of a user as an input interface, thereby enhancing input capability of wearable devices and the like and enhancing user experience.
an acquisition module 2010, configured to, in response to that a first part on a body of a user executes an action, acquire target blood flow information of the first part or a second part corresponding to the first part; and
a first determination module 2020, configured to determine the first part and/or the action according to the target blood flow information and reference information.
The device according to the embodiment of the present application, in response to that a first part on a body of a user executes an action, acquires target blood flow information of the first part or a second part corresponding to the first part, and determines the first part and/or the action according to the target blood flow information and reference information, so as to provide a new scheme for recognizing an action and/or an action part.
Functions of the acquisition module 2010 and the first determination module 2020 are described below in detail in combination with specific implementations.
The acquisition module 2010, configured to, in response to that a first part on a body of a user executes an action, acquire target blood flow information of the first part or a second part corresponding to the first part.
The first part, that is, the action part, for example, may be the user's finger, palm, wrist, neck, foot, leg and the like. The first part, in addition to serving as an action part, may also serve as an acquisition part of target blood flow information, for example, in the event that an acquisition sensor of target blood flow information is a smart bracelet, the wrist may serve as an action part and an acquisition part at the same time.
The second part is another optional acquisition part of target blood flow information, and the second part is a part adjacent to the first part, in other words, a distance between the first part and the second part should be less than a distance threshold, for example, less than 0.1 m. Moreover, the inventor has found in a research process that the smaller the distance between the first part and the second part is, the smaller the error of the method is. Generally, the first part and the second part are located on the same limb of the user. For example, in the event that a finger serves as an action part, the wrist on the same limb may serve as an acquisition part.
The action may be some daily common actions, for example, a finger clicks, a palm makes a fist, a palm is open and the like, and may also be some training actions, for example, a finger quickly double clicks and the like.
As stated above, the blood flow information may be PPG information or Doppler measurement information, and correspondingly, the target blood flow information may be target Doppler measurement information of target Doppler measurement information.
The first determination module 2020, configured to determine the first part and/or the action according to the target blood flow information and reference information.
a) In one implementation, the target blood flow information is target PPG information, and correspondingly, the first determination module 2020 is configured to determine the first part and/or the action according to the target PPG information and reference information.
In the event that the target PPG information accurately corresponds to the action, the first part and/or the action can be determined more accurately according to the target PPG information and the reference information. However, under some circumstances, the target PPG information may acquire some redundant information excessively, for example, comprise some information before or after execution of the action. In this case, determining the first part and/or the action directly according to the target PPG information and the reference information may lead to a lower accuracy rate of recognition.
Therefore, referring to
a first determination unit 2021a, configured to determine target difference information according to the target PPG information and the reference information; and a second determination unit 2022a, configured to determine the first part and/or the action at least according to the target difference information.
In one implementation, the reference information may be a first threshold, and the first threshold may be set according to PPG information acquired by the acquisition part in the event that the first part does not execute an action, that is, remains still (hereinafter referred to as PPG information acquired normally), for example, the first threshold is set as a minimum amplitude value of the PPG information acquired normally, or set as a maximum amplitude value of the PPG information acquired normally.
The target difference information is partial information in the target Doppler measurement information, and the action results in that the partial information is evidently distinguished from the PPG information acquired normally. For example, in the event of a single click by a middle finger, a waveform of the target PPG information obtained is as shown in
Therefore, in one implementation, the first determination unit 2021a is configured to compare an amplitude value in the target PPG information with a value of the reference information, and determine the target difference information according to a comparison result.
Specifically, in the event that the reference information is the minimum amplitude value of the PPG information acquired normally, it is feasible to determine a part in the target PPG information whose amplitude value is less than the value of the reference information as the target difference information. Certainly, in the event that the reference information is the maximum amplitude value of the PPG information acquired normally, it is feasible to determine a part in the target PPG information whose amplitude value is greater than the value of the reference information as the target difference information. By taking
Those skilled in the art should understand that, for the target PPG information in
In another implementation, the reference information may be reference PPG information acquired at the first part or the second part in the event that the first part does not execute an action, that is, PPG information acquired normally. A waveform of the reference PPG information may be as shown in
Correspondingly, referring to
a division subunit 20211a, configured to divide the target PPG information into a plurality of sub target PPG information according to cycles; and
a determination subunit 20212a, configured to perform cross-correlation computation on the plurality of sub target PPG information respectively with the reference information, and determine the target difference information according to a computation result.
By taking the waveform shown in
The reference information may be a PPG waveform between two crests acquired normally, after cross-correlation computation is performed on the reference information with the 5 sub target PPG information respectively, it can be found that a cross-correlation computation result between the reference information and C2 is evidently less than that between the reference information and other sub target PPG information, and it can be determined accordingly that PPG information corresponding to C2 is the target difference information.
In actual applications, it is feasible to compare the cross-correlation computation result between the reference information and each sub target PPG information with a threshold, if the result is less than the threshold, it is considered that the corresponding sub target PPG information is the target difference information. The threshold may be, for example, set as 80% of a cross-correlation computation result between the reference information and itself.
Those skilled in the art should understand that the two manners of determining the target difference information may also be used in combination, so as to increase accuracy and efficiency.
In one implementation, the second determination unit 2022a is configured to determine the action according to the number of troughs or crests comprised in the target difference information.
The number of troughs or crests comprised in the target difference information is the same as the number of times the action is executed. As shown in
In another implementation, the second determination unit 2022a is configured to determine the action according to a cycle corresponding to the target difference information.
The cycle corresponding to the target difference information corresponds to a cycle within which the first part executes the action, in other words, the longer the time the first part executes the action each time is, the longer the cycle of the target difference information is. Therefore, the cycle corresponding to the target difference information may reflect a speed at which the action is executed, and then the action can be determined. For example, the first part is a foot, and if the cycle within which the foot executes a raise and lower action is 0.3 s, it can be determined that the corresponding action is walking; if the cycle within which the foot executes a raise and lower action is 0.03 s, it can be determined that the corresponding action is running. Certainly, in the event that the first part is a hand, whether the user is walking or running may also be determined according to a cycle of swinging back and forth of the hand.
In another implementation, referring to
a first determination subunit 20221a, configured to compute similarity between a waveform of the target difference information and at least one known waveform, and determine a target known waveform according to a computation result; and
a second determination subunit 20222a, configured to determine the first part and/or the action according to the target known waveform.
The at least one known waveform may be a set of multiple known waveforms, which can be obtained through pre-training, for example, a user orders the first part to execute different actions in advance and correspondingly acquire a waveform of the corresponding target difference information as the known waveform. So, a corresponding relationship between the first part, the action and the known waveform can be established, and the corresponding relationship can be as shown in Table 1.
In actual applications, similarity between the waveform of the target difference information and each known waveform in the set may be computed, and then a known waveform with the highest similarity is selected as the target known waveform. Then, the first part and/or the action can be determined according to the target known waveform.
By taking the first line in Table 1 as an example, suppose that the waveform of the target difference information is as shown by the waveform within the circle in
In addition, referring to
a third determination unit 2023a, configured to determine a signal feature of the target PPG information; and
a fourth determination unit 2024a, configured to determine the first part and/or the action according to the signal feature and the reference information.
The signal feature of the target PPG information comprises at least one of a fingerprint, an average value and a difference of the target PPG information; the fingerprint consists of at least one of amplitude, phase and frequency spectrum of the target PPG information; the average value is an average value of at least one of the amplitude, the phase and the frequency spectrum of the target PPG information; the difference is a difference of at least one of the amplitude, the phase and the frequency spectrum of the target PPG information.
The reference information may be a reference signal feature obtained through pre-training, for example, in a training stage, it is feasible to execute a corresponding action according to Table 1 and correspondingly acquire a signal feature of the corresponding PPG information as the reference information. In specific applications, similarity between the signal feature of the target PPG information and a plurality of reference information can be computed, and a part and/or an action corresponding to the reference information with the highest similarity is taken as the first part and/or the action.
b) In another implementation, the target blood flow information is target Doppler measurement information, and correspondingly, the first determination module 2020 is configured to determine the first part and/or the action according to the target Doppler measurement information and reference information.
The target Doppler measurement information may be, for example, LDF (Laser Doppler Flowmetry), LDV (Laser Doppler Velocimety), ultrasonic Doppler shift and the like.
Referring to
a first determination sub-module 2021b, configured to determine a signal feature of the target Doppler measurement information; and
a second determination sub-module 2022b, configured to determine the first part and/or the action according to the signal feature and the reference information.
The signal feature of the target Doppler measurement information comprises at least one of a fingerprint, an average value and a difference of the target Doppler measurement information; the fingerprint consists of at least one of amplitude, phase and frequency spectrum of the target Doppler measurement information; the average value is an average value of at least one of the amplitude, the phase and the frequency spectrum of the target Doppler measurement information; the difference is a difference of at least one of the amplitude, the phase and the frequency spectrum of the target Doppler measurement information.
The reference information may be a reference signal feature obtained through pre-training, for example, in a training stage, it is feasible to execute a corresponding action according to Table 1 and correspondingly acquire a signal feature of the corresponding Doppler measurement information as the reference information. In specific applications, similarity between the signal feature of the target Doppler measurement information and a plurality of reference information can be computed, and a part and/or an action corresponding to the reference information with the highest similarity is taken as the first part and/or the action.
Referring to
a third determination sub-module 2023b, configured to determine target velocity related information corresponding to the target Doppler measurement information; and
a fourth determination sub-module 2024b, configured to determine the first part and/or the action according to the target velocity related information and the reference information.
As stated above, the target Doppler measurement information may be, for example, LDF, LDV, ultrasonic Doppler shift and the like, which comprises a series of envelope wave signals, corresponding frequency-domain signals can be obtained by performing, for example, fast Fourier transform thereon, Doppler frequency components in the frequency-domain signals are in direct proportion to a blood flow velocity, a velocity of blood flow can be obtained, and blood flow can be determined further according to the blood flow velocity and the number of blood cells comprised in a blood cross section.
The data type of the target velocity related information may be the blood flow velocity, and may also be the flood flow. In other words, the target velocity related information may be target blood flow velocity information or target blood flow information. As the target Doppler measurement information comprises noise caused by the action, the target velocity related information also comprises the noise. Specifically, the noise comprises a change of the blood flow velocity caused by motion and/or a detection error caused by a change of contact between a detection device of the target Doppler measurement information and a limb (different actions will cause different changes of the contact between the detection device and the limb). In an ordinary LDF detection process, people generally tend to avoid such noise, but the present application achieves recognition of the action by use of such noise.
In one implementation, referring to
a first determination unit 20241b, configured to determine target difference information according to the target velocity related information and the reference information; and
a second determination unit 20242b, configured to determine the first part and/or the action at least according to the target difference information.
The reference information may have a different type. For example, in one implementation, the reference information is reference velocity related information corresponding to reference Doppler measurement information acquired by an acquisition part of the target Doppler measurement information in the event that the first part does not execute the action. Similar to the target velocity related information, the reference velocity related information may also be blood flow velocity or blood flow. In the event that the reference velocity related information is blood flow, a waveform thereof may be as shown in
Correspondingly, referring to
a first subunit 202411b, configured to divide the target velocity related information into a plurality of sub target velocity related information according to cycles; and
a second subunit 202412b, configured to perform cross-correlation computation on the plurality of sub target velocity related information respectively with the reference information, and determine the target difference information according to a computation result.
In the event that an index finger executes a single click action, the waveform of the target velocity related information obtained is as shown in
The reference information may be, for example, a waveform between two crests in
In actual applications, it is feasible to compare the cross-correlation computation result between the reference information and each sub target velocity related information with a threshold, if the result is less than the threshold, it is considered that the corresponding sub target velocity related information is the target difference information. The threshold may be, for example, set as 80% of a cross-correlation computation result between the reference information and itself.
In another implementation, the reference information may be a first threshold, and the first threshold may be set according to an amplitude value of the reference velocity related information, for example, it is set as the minimum amplitude value or the maximum amplitude value of the reference velocity related information.
Correspondingly, the first determination unit 20241b is configured to compare an amplitude value in the target velocity related information with a value of the reference information, and determine the target difference information according to a comparison result.
By taking
Those skilled in the art should understand that the two manners of determining the target difference information may also be used in combination, so as to increase accuracy and efficiency.
The second determination unit 20242b is configured to determine the first part and/or the action at least according to the target difference information.
In one implementation, referring to
a third subunit 202423b, configured to compute similarity between a waveform of the target difference information and at least one known waveform, and determine a target known waveform according to a computation result; and
a fourth subunit 202424b, configured to determine the first part and/or the action according to the target known waveform.
The at least one known waveform may be a set of multiple known waveforms, which can be obtained through pre-training, for example, a user orders the first part to execute different actions in advance and correspondingly acquire a waveform of the corresponding target difference information as the known waveform. So, a corresponding relationship between the first part, the action and the known waveform can be established, and the corresponding relationship can be as shown in Table 1.
In actual applications, similarity between the waveform of the target difference information and each known waveform in the set may be computed, and then a known waveform with the highest similarity is selected as the target known waveform. Then, the first part and/or the action can be determined according to the target known waveform.
By taking the first line in Table 1 as an example, suppose that the waveform of the target difference information is as shown by the waveform within the circle in
In another implementation, the second determination unit 20242b is configured to determine the action according to the number of troughs or crests comprised in the target difference information.
The number of troughs or crests comprised in the target difference information is the same as the number of times the action is executed. As shown in
In another implementation, the second determination unit 20242b is configured to determine the action according to a cycle corresponding to the target difference information.
The cycle corresponding to the target difference information corresponds to a cycle within which the first part executes the action, in other words, the longer the time the first part executes the action each time is, the longer the cycle of the target difference information is. Therefore, the cycle corresponding to the target difference information may reflect a speed at which the action is executed, and then the action can be determined. For example, the first part is a foot, and if the cycle within which the foot executes a raise and lower action is 0.3 s, it can be determined that the corresponding action is walking; if the cycle within which the foot executes a raise and lower action is 0.03 s, it can be determined that the corresponding action is running. Certainly, in the event that the first part is a hand, whether the user is walking or running may also be determined according to a cycle of swinging back and forth of the hand.
In one implementation, referring to
a second determination module 2030, configured to determine input information corresponding to the first part and/or the action.
A corresponding relationship between the first part and/or the action and the input information may be pre-determined, and the corresponding relationship may be as shown in Table 2. By taking the second line as an example, suppose that a smart bracelet is in communication with a smart glass, the smart bracelet acquires a user's action instruction and then controls the smart glass, and in the event that the smart bracelet recognizes a double click action of an index finger, the smart bracelet can control the smart glass to open an APP currently presented to the user, for example, open a photograph function. The relationship table shown in Table 2 can be pre-stored in, for example, the smart bracelet and other wearable devices, and such a relationship table can be given in an operation instruction thereof, so as to teach and train the user to execute corresponding command input through an action similar to that in Table 2.
One application scenario of the method and device for determining input information according to the embodiment of the present application may be as follows: a user wears a smart bracelet on a left wrist part, when the user wants to know the current time, the user uses a right index finger to quickly click twice near the left wrist (for example, one side of the wrist close to the shoulder), the bracelet, by detecting changes of PPG information of the left wrist, recognizes that the user presses twice briefly, and determines that corresponding input information is a display time command, then the command is input for a control module, and the control module controls the bracelet to output the current time through voice or the like; when the user wants to make the bracelet dormant, the user uses the right index finger to press near the left wrist for a period of time, the bracelet, by detecting changes of PPG information of the left wrist, recognizes that the user presses continuously over 3 s, and determines that the corresponding input information is a dormant command, then the command is input for the control module, and the control module controls the bracelet to enter a dormant mode.
A hardware structure of the device for determining an action and/or an action part according to another embodiment of the present application is as shown in
a processor 3110, a Communications Interface 3120, a memory 3130, and a communications bus 3140.
The processor 3110, the Communications Interface 3120, and the memory 3130 accomplish mutual communications via the communications bus 3140.
The Communications Interface 3120 is configured to communicate with other network elements.
The processor 3110 is configured to execute a program 3132, and specifically, can implement relevant steps in the method embodiment shown in
For example, the program 3132 may comprise a program code, the program code comprising computer operation instructions.
The processor 3110 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or be configured to be one or more integrated circuits which implement the embodiments of the present application.
The memory 3130 is configured to store the program 3132. The memory 3130 may comprise a high-speed Random Access Memory (RAM) memory, and may also comprise a non-volatile memory, for example, at least one magnetic disk memory. The program 3132 may specifically perform the following steps:
in response to that a first part on a body of a user executes an action, acquiring target blood flow information of the first part or a second part corresponding to the first part; and
determining the first part and/or the action according to the target blood flow information and reference information.
Reference can be made to corresponding description in the corresponding steps or modules in the embodiments for specific implementation of the steps in the program 3132, which is not repeated herein. Those skilled in the art can clearly understand that, reference can be made to the corresponding process description in the method embodiments for the specific working procedures of the devices and the modules described above, and will not be repeated herein in order to make the description convenient and concise.
It can be appreciated by those of ordinary skill in the art that each exemplary unit and method step described with reference to the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware mode or a software mode depends on particular applications and design constraint conditions of the technical solution. The professional technicians can use different methods to implement the functions described with respect to a particular application, but such implementation should not be considered to go beyond the scope of the present application.
If the functions are implemented in the form of a software functional unit and is sold or used as an independent product, it can be stored in a non-transitory computer-readable storage medium. Based on such understanding, the technical solution of the present application essentially or the part which contributes to the prior art or a part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, and comprises several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, and the like) to execute all or some steps of the method described in each embodiment of the present application. The foregoing storage medium comprises, a USB disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk or any other mediums that can store program codes.
The above implementations are only intended to describe the present application rather than to limit the present application; various changes and variations can be made by those of ordinary skill in the art without departing from the spirit and scope of the present application, so all equivalent technical solutions also belong to the scope of the present application, and the scope of patent protection of the present application should be defined by the claims.
Number | Date | Country | Kind |
---|---|---|---|
201510069988.1 | Feb 2015 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2016/070402 | 1/7/2016 | WO | 00 |