A kind of method and apparatus and computer-readable storage medium of the identification of signal validity
Technical field
The present invention relates to field of signal identification, the method and apparatus of more particularly to a kind of signal validity identification and calculating
Machine storage medium.
Background technology
In the prior art, for signal, effectively whether identification has some modes, such as the parameter of signal is judged
Etc., but this mode needs to carry out based on artificial mode, inefficiency.
The content of the invention
For in the prior art the defects of, the present invention proposes the method and apparatus and meter of a kind of signal validity identification
Calculation machine storage medium, whether signal is effectively identified.
Specifically, the present invention proposes embodiment in detail below:
The embodiment of the present invention proposes a kind of signal validity and knows method for distinguishing, including:
Obtain the corresponding oscillogram of signal to be identified;
By the oscillogram and default reference waveform figure, to judge to correspond to the standard ripple in the oscillogram
Whether there is in the front end of shape figure or the preset time range of rear end has default unusual waveforms;
If judging result is no, it is determined that the signal to be identified is useful signal.
In a specific embodiment, the reference waveform figure includes top wave form, declines successively sequentially in time
Waveform, bottom waveforms, rising waveform, top wave form;Wherein, the duration of the bottom waveforms exceedes preset time.
In a specific embodiment, the default unusual waveforms are the bottom of waveform and the bottom of the reference waveform figure
The difference in portion is more than the waveform of predetermined threshold value.
In a specific embodiment,
It is described " by the oscillogram and default reference waveform figure, with judge in the oscillogram it is corresponding described in
Whether there is in the front end of reference waveform figure or the preset time range of rear end has default unusual waveforms " include:
Judge in the feed-forward in the oscillogram with the presence or absence of reference waveform corresponding with the reference waveform figure
Difference value is more than the waveform of threshold value;
If the determination result is YES, it is determined that there are default unusual waveforms;
If judging result is no and is connected with reference waveform figure in feed-forward rear end, the reference waveform rear end is judged
Preset time range in whether there is and reference waveform difference value be more than threshold value waveform;
If the determination result is YES, it is determined that there are default unusual waveforms;
If judging result is no, it is determined that there is no default unusual waveforms.
In a specific embodiment, further include:
If the determination result is YES, then set the corresponding waveform of the oscillogram invalid, and filter the waveform.
The embodiment of the present invention also proposed a kind of equipment of signal validity identification, including:
Acquisition module, for obtaining the corresponding oscillogram of signal to be identified;
Judgment module, for by the oscillogram and default reference waveform figure, to judge in the oscillogram
Whether there is in the front end of the corresponding reference waveform figure or the preset time range of rear end has default unusual waveforms;
Determining module, for when judging result is no, it to be useful signal to determine the signal to be identified.
In a specific embodiment, the reference waveform figure includes top wave form, declines successively sequentially in time
Waveform, bottom waveforms, rising waveform, top wave form;Wherein, the duration of the bottom waveforms exceedes preset time.
In a specific embodiment, the default unusual waveforms are the bottom of waveform and the bottom of the reference waveform figure
The difference in portion is more than the waveform of predetermined threshold value.
In a specific embodiment,
The judgment module, is used for:
Judge in the feed-forward in the oscillogram with the presence or absence of reference waveform corresponding with the reference waveform figure
Difference value is more than the waveform of threshold value;
If the determination result is YES, it is determined that there are default unusual waveforms;
If judging result is no and is connected with reference waveform figure in feed-forward rear end, the reference waveform rear end is judged
Preset time range in whether there is and reference waveform difference value be more than threshold value waveform;
If the determination result is YES, it is determined that there are default unusual waveforms;
If judging result is no, it is determined that there is no default unusual waveforms.
The embodiment of the present invention also proposed a kind of computer-readable storage medium, and calculating is stored with the computer-readable storage medium
Machine program, the computer program are used to perform below scheme:
Flow A, obtain the corresponding oscillogram of signal to be identified;
Flow B, by the oscillogram and default reference waveform figure, with judge in the oscillogram it is corresponding described in
Whether there is in the front end of reference waveform figure or the preset time range of rear end has default unusual waveforms;
If flow C, judging result are no, it is determined that the signal to be identified is useful signal.
With this, the embodiment of the present invention proposes a kind of method and apparatus of signal validity identification and computer storage is situated between
Matter, wherein this method include:Obtain the corresponding oscillogram of signal to be identified;Pass through the oscillogram and default standard ripple
Shape figure, whether there is with judging to correspond in the oscillogram in the front end of the reference waveform figure or the preset time range of rear end
There are default unusual waveforms;If judging result is no, it is determined that the signal to be identified is useful signal.Passed through with this to waveform
Whether identification effectively identifies signal, improves the efficiency of identification.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair
The restriction of scope, for those of ordinary skill in the art, without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the flow diagram that a kind of signal validity that the embodiment of the present invention proposes knows method for distinguishing;
Fig. 2 is the schematic diagram that a kind of signal validity that the embodiment of the present invention proposes knows method for distinguishing acceptance of the bid waveform;
Fig. 3 is the signal that a kind of signal validity that the embodiment of the present invention proposes knows signal to be identified in method for distinguishing
Figure;
Fig. 4 is a kind of flow diagram of the equipment for signal validity identification that the embodiment of the present invention proposes.
Embodiment
Hereinafter, the various embodiments of the disclosure will be described more fully.The disclosure can have various embodiments, and
It can adjust and change wherein.It should be understood, however, that:There is no the various embodiments of the disclosure are limited to spy disclosed herein
Determine the intention of embodiment, but the disclosure should be interpreted as covering in the spirit and scope for the various embodiments for falling into the disclosure
All adjustment, equivalent and/or alternatives.
Hereinafter, disclosed in the term " comprising " that can be used in the various embodiments of the disclosure or " may include " instruction
Function, operation or the presence of element, and do not limit the increase of one or more functions, operation or element.In addition, such as exist
Used in the various embodiments of the disclosure, term " comprising ", " having " and its cognate are meant only to represent special characteristic, number
Word, step, operation, the combination of element, component or foregoing item, and be understood not to exclude first one or more other
Feature, numeral, step, operation, element, component or foregoing item combination presence or one or more features of increase, numeral,
Step, operation, element, component or foregoing item combination possibility.
In the various embodiments of the disclosure, stating "or" or " at least one in A or/and B " includes what is listed file names with
Any combinations of word or all combinations.For example, " A or B " or " at least one in A or/and B " may include A, may include for statement
B may include A and B both.
The statement (" first ", " second " etc.) used in the various embodiments of the disclosure can be modified in various implementations
Various constituent element in example, but respective sets can not be limited into element.For example, presented above be not intended to limit the suitable of the element
Sequence and/or importance.The purpose presented above for being only used for differentiating an element and other elements.For example, the first user fills
Put and indicate different user device with second user device, although the two is all user apparatus.For example, each of the disclosure is not being departed from
In the case of the scope of kind embodiment, the first element is referred to alternatively as the second element, and similarly, the second element is also referred to as first
Element.
It should be noted that:, can be by the first composition member if a constituent element ' attach ' to another constituent element by description
Part is directly connected to the second constituent element, and " connection " the 3rd can be formed between the first constituent element and the second constituent element
Element.On the contrary, when a constituent element " being directly connected to " is arrived another constituent element, it will be appreciated that be in the first constituent element
And second be not present the 3rd constituent element between constituent element.
The term " user " used in the various embodiments of the disclosure, which may indicate that, to be used the people of electronic device or uses electricity
The device (for example, artificial intelligence electronic device) of sub-device.
The term used in the various embodiments of the disclosure is only used for the purpose of description specific embodiment and not anticipates
In the various embodiments of the limitation disclosure.As used herein, singulative is intended to also include plural form, unless context is clear
Chu it is indicated otherwise.Unless otherwise defined, otherwise all terms (including technical term and scientific terminology) used herein have
There is the implication identical with the various normally understood implications of embodiment one skilled in the art of the disclosure.The term
(term such as limited in the dictionary generally used) is to be interpreted as having and situational meaning in the related technical field
Identical implication and the implication of Utopian implication or overly formal will be interpreted as having, unless in the various of the disclosure
It is clearly defined in embodiment.
Embodiment 1
The embodiment of the present invention 1 discloses a kind of signal validity and knows method for distinguishing, as shown in Figure 1, including:
Step 101, obtain the corresponding oscillogram of signal to be identified;
Step 102, by the oscillogram and default reference waveform figure, to judge to correspond to institute in the oscillogram
State to whether there is in the front end of reference waveform figure or the preset time range of rear end and there are default unusual waveforms;
If step 103, judging result are no, it is determined that the signal to be identified is useful signal.
Specifically, in one embodiment, the reference waveform figure includes top wave form, declines successively sequentially in time
Waveform, bottom waveforms, rising waveform, top wave form;Wherein, the duration of the bottom waveforms exceedes preset time.
In a specific embodiment, the default unusual waveforms are the bottom of waveform and the bottom of the reference waveform figure
The difference in portion is more than the waveform of predetermined threshold value.
In a specific embodiment,
It is described " by the oscillogram and default reference waveform figure, with judge in the oscillogram it is corresponding described in
Whether there is in the front end of reference waveform figure or the preset time range of rear end has default unusual waveforms " include:
Judge in the feed-forward in the oscillogram with the presence or absence of reference waveform corresponding with the reference waveform figure
Difference value is more than the waveform of threshold value;
If the determination result is YES, it is determined that there are default unusual waveforms;
If judging result is no and is connected with reference waveform figure in feed-forward rear end, the reference waveform rear end is judged
Preset time range in whether there is and reference waveform difference value be more than threshold value waveform;
If the determination result is YES, it is determined that there are default unusual waveforms;
If judging result is no, it is determined that there is no default unusual waveforms.
In a specific embodiment, further include:
If the determination result is YES, then set the corresponding waveform of the oscillogram invalid, and filter the waveform.
Specifically, namely signal to be identified is invalid signal.
Specifically, illustrated with a specific example, as shown in Fig. 2, be the corresponding waveform of a reference waveform figure,
And the oscillogram that Fig. 3 is the triggering of false touch formula, the waveform in Fig. 3 is with feed-forward and backward feedback.
By taking normal kicking can produce a downward waveform as an example, the waveform monitored can include the top detected
Portion, downward trend, then bottom (bottom duration needs reache a certain level just effective signal at last), then detects
Edge is risen, finally reaches top.If as shown in Fig. 2, exemplified by judging effectively kicking signal, middle waveform can be judged to specific waveform
It is set to a useful signal.
And in waveform as shown in Figure 3, feed-forward can be recorded, if having waveform one in feed-forward (or not
Stable state) exist, this when, follow-up waveform can be filtered, and waveform two will be discarded.If waveform one is not
In the presence of, waveform two there are when, the waveform of following 100ms can be caught, if occurring waveform three (unstable state)
Situation, waveform two can also be considered as invalid waveform, and useful signal will not be generated.
Embodiment 2
The embodiment of the present invention 2 also discloses a kind of equipment of signal validity identification, including:
Acquisition module 201, for obtaining the corresponding oscillogram of signal to be identified;
Judgment module 202, for by the oscillogram and default reference waveform figure, to judge the oscillogram
Whether there is in the front end of the middle correspondence reference waveform figure or the preset time range of rear end has default unusual waveforms;
Determining module 203, for when judging result is no, it to be useful signal to determine the signal to be identified.
In a specific embodiment, the reference waveform figure includes top wave form, declines successively sequentially in time
Waveform, bottom waveforms, rising waveform, top wave form;Wherein, the duration of the bottom waveforms exceedes preset time.
In a specific embodiment, the default unusual waveforms are the bottom of waveform and the bottom of the reference waveform figure
The difference in portion is more than the waveform of predetermined threshold value.
In a specific embodiment,
The judgment module, is used for:
Judge in the feed-forward in the oscillogram with the presence or absence of reference waveform corresponding with the reference waveform figure
Difference value is more than the waveform of threshold value;
If the determination result is YES, it is determined that there are default unusual waveforms;
If judging result is no and is connected with reference waveform figure in feed-forward rear end, the reference waveform rear end is judged
Preset time range in whether there is and reference waveform difference value be more than threshold value waveform;
If the determination result is YES, it is determined that there are default unusual waveforms;
If judging result is no, it is determined that there is no default unusual waveforms.
In a specific embodiment, which further includes:
Filtering module, for being yes when judging result, then sets the corresponding waveform of the oscillogram invalid, and described in filtering
Waveform.
Embodiment 3
The embodiment of the present invention 3 also discloses a kind of computer-readable storage medium, and meter is stored with the computer-readable storage medium
Calculation machine program, the computer program are used to perform below scheme:
Flow A, obtain the corresponding oscillogram of signal to be identified;
Flow B, by the oscillogram and default reference waveform figure, with judge in the oscillogram it is corresponding described in
Whether there is in the front end of reference waveform figure or the preset time range of rear end has default unusual waveforms;
If flow C, judging result are no, it is determined that the signal to be identified is useful signal.
In a specific embodiment, the reference waveform figure includes top wave form, declines successively sequentially in time
Waveform, bottom waveforms, rising waveform, top wave form;Wherein, the duration of the bottom waveforms exceedes preset time.
In a specific embodiment, the default unusual waveforms are the bottom of waveform and the bottom of the reference waveform figure
The difference in portion is more than the waveform of predetermined threshold value.
In a specific embodiment,
It is described " by the oscillogram and default reference waveform figure, with judge in the oscillogram it is corresponding described in
Whether there is in the front end of reference waveform figure or the preset time range of rear end has default unusual waveforms " include:
Judge in the feed-forward in the oscillogram with the presence or absence of reference waveform corresponding with the reference waveform figure
Difference value is more than the waveform of threshold value;
If the determination result is YES, it is determined that there are default unusual waveforms;
If judging result is no and is connected with reference waveform figure in feed-forward rear end, the reference waveform rear end is judged
Preset time range in whether there is and reference waveform difference value be more than threshold value waveform;
If the determination result is YES, it is determined that there are default unusual waveforms;
If judging result is no, it is determined that there is no default unusual waveforms.
In a specific embodiment, which is additionally operable to perform below scheme:
If the determination result is YES, then set the corresponding waveform of the oscillogram invalid, and filter the waveform.
With this, the embodiment of the present invention proposes a kind of method and apparatus of signal validity identification and computer storage is situated between
Matter, wherein this method include:Obtain the corresponding oscillogram of signal to be identified;Pass through the oscillogram and default standard ripple
Shape figure, whether there is with judging to correspond in the oscillogram in the front end of the reference waveform figure or the preset time range of rear end
There are default unusual waveforms;If judging result is no, it is determined that the signal to be identified is useful signal.Passed through with this to waveform
Whether identification effectively identifies signal, improves the efficiency of identification.
It will be appreciated by those skilled in the art that attached drawing is a schematic diagram for being preferable to carry out scene, module in attached drawing or
Flow is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in implement scene can be described according to implement scene into
Row is distributed in the device of implement scene, can also carry out one or more dresses that respective change is disposed other than this implement scene
In putting.The module of above-mentioned implement scene can be merged into a module, can also be further split into multiple submodule.
The invention described above sequence number is for illustration only, does not represent the quality of implement scene.
Disclosed above is only several specific implementation scenes of the present invention, and still, the present invention is not limited to this, Ren Heben
What the technical staff in field can think change should all fall into protection scope of the present invention.