Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided an alarm method embodiment, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than presented herein.
Fig. 1 is a flowchart of an alarm method according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S102, monitoring the variation trend of a first signal to be detected, and determining a most valued signal according to the variation trend;
step S104, determining a monitoring time range according to the most value signal, and acquiring a first signal to be detected in the monitoring time range to obtain a second signal to be detected;
step S106, determining a first difference value between the maximum signal and a second signal to be detected, and judging whether the first difference value is within a preset alarm interval;
and step S108, sending out an alarm signal under the condition that the first difference value exceeds a preset alarm interval.
Through the steps, the first signal to be detected is monitored, the variation trend of the first signal to be detected can be obtained, the most value signal of the first signal to be detected is determined according to the variation trend, the monitoring time range is determined according to the most value signal, then a plurality of first signals to be detected within the monitoring time range are obtained, the second signal to be detected is respectively compared with the predetermined most value signal, the first difference value between the most value signal and the second signal to be detected is determined, whether the first difference value is within the predetermined alarm interval or not is judged, whether the second signal to be detected exceeds the variation amplitude limited by the predetermined alarm interval or not can be determined, and therefore, under the condition that whether the variation amplitude of the detection signal is pride or not, the most value signal and the monitoring time range can be determined according to the variation trend of the signal, and the signal within the monitoring time range is compared with the most value signal, whether the variation amplitude of the signal in the monitoring time range exceeds the limit can be determined according to the comparison result, the technical effect of quickly and accurately judging whether the variation amplitude of the signal exceeds the limit is achieved, and the technical problem that whether the variation amplitude of the signal exceeds the limit cannot be quickly and accurately determined is solved.
In the scheme provided in step S102, the most value signal may include at least one of a maximum value signal and a minimum value signal.
In the scheme provided in step S102, the first signal to be detected may be a plurality of signals in series.
Alternatively, in the process of monitoring the variation trend of the first signal to be detected, the variation trend of the first signal to be detected may be determined by sequentially comparing a predetermined comparison signal with a plurality of first signals to be detected.
Alternatively, the predetermined comparison signal may include a maximum comparison signal and a minimum comparison signal.
Alternatively, the predetermined comparison signal may be a last bit signal of a last monitoring period, and may be a first bit signal of the plurality of first signals to be detected.
For example, the first signal to be detected is a plurality of signals, such as signal a, signal B, signal C, signal D … …, etc., signal a may be first used as a predetermined comparison signal, the magnitude of signal a and signal B may be compared, if signal a is greater than signal B, signal a may be used as a maximum comparison signal, signal B may be used as a minimum comparison signal, and a timer may be started at the same time; if the signal A is smaller than the signal B, the signal B is used as a maximum comparison signal, the signal A is used as a minimum comparison signal, and a timer is started at the same time.
It should be noted that the specified time period after the timer is started is the monitoring time range.
Optionally, after comparing the magnitudes of the signal a and the signal B, the signal a and the signal B need to be compared with the signal C, respectively, so as to determine the variation trend of the first signal to be detected.
In example 1, in the case that the signal a is the maximum comparison signal and the signal B is the minimum comparison signal, if the signal C is smaller than the signal B, the signal C is used as a new minimum comparison signal, it is determined that the trend of the first signal to be detected is a decreasing trend, and the timer continues to count time.
Example 2, in the case where the signal a is the maximum comparison signal and the signal B is the minimum comparison signal, if the signal C is greater than the signal a, the signal C is taken as a new maximum comparison signal, the trend of the change of the first signal to be detected is determined to be a decreasing trend and then an increasing trend, and the timer is reset at this time.
Example 3, in the case that the signal a is the maximum comparison signal and the signal B is the minimum comparison signal, if the signal C is greater than the signal B and the signal C is less than the signal a, it is determined that the trend of the first signal to be detected is a decreasing trend and then an increasing trend, and at this time, the timer is reset.
Example 4, in the case that the signal a is the minimum comparison signal and the signal B is the maximum comparison signal, if the signal C is greater than the signal B, the signal C is taken as a new maximum comparison signal, the trend of the change of the first signal to be detected is determined to be an increasing trend, and the timer continues to count.
Example 5, in the case where the signal a is the minimum comparison signal and the signal B is the maximum comparison signal, if the signal C is smaller than the signal a, the signal C is used as a new minimum comparison signal, the trend of the change of the first signal to be detected is determined to be an increasing trend and a decreasing trend, and the timer is reset at this time.
Example 6, in the case where the signal a is the minimum comparison signal and the signal B is the maximum comparison signal, if the signal C is smaller than the signal B and larger than the signal a, it is determined that the trend of the first signal to be detected is an increasing trend and then a decreasing trend, and the timer is reset at this time.
Alternatively, the predetermined comparison signal may be a most significant signal.
For example, if the signal a is greater than the signal B, the signal a is the maximum comparison signal, and the signal B is the minimum comparison signal, and then the timer is started. If the signal B is greater than the signal C, the signal C is greater than the signal B, and the rest is done in sequence, the signal A is the maximum comparison signal in the preset comparison signals and is the maximum signal in the maximum signal; the preset time after the timer is started is the monitoring time range; assuming that the last bit signal of the monitoring time range is a signal N, the signal N is the last determined minimum comparison signal, and the signal N is also the minimum signal in the monitoring time range. That is, in the most significant signal in the monitoring time range, the signal a is the maximum value signal, and the signal N is the minimum value signal.
Optionally, if the maximum comparison signal changes within a predetermined time range (e.g., a monitoring time range), the minimum comparison signal is used as a minimum signal; and the maximum comparison signal changes, the maximum signal does not need to be determined, namely the maximum signal is the minimum signal.
Optionally, if the minimum comparison signal changes within a predetermined time range (e.g., a monitoring time range), the maximum comparison signal is used as a maximum signal; and the minimum comparison signal changes, the minimum signal does not need to be determined, namely the most value signal is the maximum value signal.
As an alternative embodiment, the monitoring the trend of the first signal to be detected includes: sequentially acquiring a plurality of first signals to be detected according to a time sequence, wherein at least three first signals to be detected are sequentially arranged as a first signal, a second signal and a third signal according to the time sequence; comparing the magnitudes of the first signal, the second signal and the third signal; determining the change trend to be a decreasing trend under the condition that the first signal is greater than the second signal and the second signal is greater than the third signal; determining the trend of change to be an increasing trend under the condition that the first signal is smaller than the second signal and the second signal is smaller than the third signal; determining the change trend to be a first decreasing trend and a second increasing trend under the condition that the first signal is larger than the second signal and the second signal is smaller than the third signal; and determining the change trend as an increasing trend and a decreasing trend under the condition that the first signal is smaller than the second signal and the second signal is larger than the third signal.
As an alternative embodiment, determining the most valued signal according to the trend of change includes: under the condition that the variation trend is a decreasing trend, determining the most value signal as a first signal; under the condition that the variation trend is an increasing trend, determining the most value signal as a first signal; determining the most value signal as a second signal under the condition that the variation trend is a first decreasing trend and then increasing trend; and determining the most value signal as a second signal under the condition that the variation trend is an increasing trend and a decreasing trend.
In the above embodiment of the present invention, when the first signal is greater than the second signal, and the second signal is greater than the third signal, the variation trend is determined to be a decreasing trend, and then the maximum signal in the maximum signal can be determined to be the first signal.
In the above embodiment of the present invention, when the first signal is smaller than the second signal and the second signal is smaller than the third signal, the trend of change is determined to be an increasing trend, and then the minimum signal in the most significant signal can be determined to be the first signal.
In the above embodiment of the present invention, when the first signal is greater than the second signal and the second signal is smaller than the third signal, the trend of change is determined as a first decreasing trend and a second increasing trend, and then the minimum signal in the most significant signal can be determined as the second signal.
In the above embodiment of the present invention, when the first signal is smaller than the second signal and the second signal is larger than the third signal, the trend of the change is determined as an increasing trend and a decreasing trend. And then the maximum signal in the maximum signals can be determined as the second signal.
It should be noted that the first signal to be detected, the second signal to be detected, the third signal to be detected, and the fourth signal to be detected may be the same signal.
In the scheme provided in step S104, the length of the monitoring time range may be determined according to the trend of the first signal to be detected, and if the trend of the first signal to be detected changes, such as changes from a decreasing trend to an increasing trend, or changes from an increasing trend to a decreasing trend, the timer is reset to re-determine the monitoring time range.
As an alternative embodiment, determining the monitoring time range according to the most valued signal comprises: and determining the preset time length as a monitoring time range by taking the time point of the maximum signal as a time starting point.
It should be noted that the predetermined time length is the length of a preset monitoring period, and if the change trend of the first signal to be detected changes in the monitoring period, the first signal to be detected with the changed change trend is used as a new starting point, the timer is reset, and a new monitoring period is started; and if the change trend of the first signal to be detected is not changed in the monitoring period, determining a time terminal according to the preset time length, so as to determine the monitoring time range according to the time starting point and the time emphasis.
In the above embodiment of the present invention, when the first signal is greater than the second signal and the second signal is greater than the third signal, the change trend is determined to be a decreasing trend, and then the maximum value signal in the maximum value signal can be determined to be the first signal, the time point of the first signal is taken as the time starting point, the timer is started, and the time ending point is determined by taking the predetermined time length as the limit, so that the detection time range is determined according to the time starting point and the time ending point.
In the above embodiment of the present invention, when the first signal is smaller than the second signal and the second signal is smaller than the third signal, the change trend is determined to be an increasing trend, and then the minimum signal in the maximum signal can be determined to be the first signal, the time point of the first signal is taken as the time starting point, the timer is started, and the time ending point is determined by taking the predetermined time length as the limit, so that the detection time range is determined according to the time starting point and the time ending point.
In the above embodiment of the present invention, when the first signal is greater than the second signal and the second signal is smaller than the third signal, the trend of change is determined to be a first decreasing trend and a second increasing trend, and then the minimum signal in the most significant signal can be determined to be the second signal; and starting a timer by taking the time point of the second signal as a time starting point, and determining a time end point by taking the preset time length as a limit, so as to determine the detection time range according to the time starting point and the time terminal.
In the above embodiment of the present invention, when the first signal is smaller than the second signal and the second signal is larger than the third signal, the trend of the change is determined as an increasing trend and a decreasing trend. And then, the maximum signal in the maximum signal can be determined as a second signal, the time point of the second signal is taken as a time starting point, a timer is started, the time end point is determined by taking the preset time length as a limit, and the detection time range is determined according to the time starting point and the time terminal.
As an alternative embodiment, determining the monitoring time range according to the most valued signal comprises: acquiring a first signal to be detected after the most significant signal in time sequence to obtain a third signal to be detected; judging whether a second difference value between the maximum signal and a third signal to be detected exceeds a preset dead zone or not; under the condition that the second difference value exceeds the preset dead zone, the time point of the third signal to be detected is taken as a time starting point, and the preset time length is determined as a monitoring time range; and under the condition that the second difference value does not exceed the preset dead zone, acquiring a first signal to be detected after a third signal to be detected in time sequence to obtain a fourth signal to be detected, taking the fourth signal to be detected as the third signal to be detected, and re-determining the second difference value between the maximum signal and the third signal to be detected.
The dead zone (deadband) is also a neutral zone (neutral zone) or dead zone, and means an input signal range corresponding to an output of zero in the transfer function of the control system. The predetermined dead zone is a predetermined inactive zone.
Optionally, the first signal to be detected, which is after the most significant signal in time sequence, of the first signal to be detected is used as a third signal to be detected, then a second difference between the most significant signal and the third signal to be detected is determined, whether the second difference exceeds a predetermined dead zone is judged, and when the second difference exceeds the predetermined dead zone, a timer is started to determine the monitoring time range.
Optionally, when the second difference exceeds the predetermined dead zone, determining a time point of the third signal to be detected as a time starting point, and determining a time end point by using a predetermined time length as a limit, so as to determine the detection time range according to the time starting point and the time end point.
Optionally, a first signal to be detected, which is chronologically after a third signal to be detected, is used as a fourth signal to be detected, and when a second difference between the most significant signal and the third signal to be detected does not exceed a predetermined dead zone, the fourth signal to be detected is collected and used as a new third signal to be detected, and a second difference between the most significant signal and the third signal to be detected is determined again until the second difference between the most significant signal and the third signal to be detected exceeds the predetermined dead zone.
As an alternative embodiment, the embodiment further comprises: and under the condition that the first difference values between all the maximum signals and the second signals to be detected in the monitoring time range are within the preset alarm interval, determining the second signals to be detected at the end of the time sequence in the monitoring time range as the maximum signals.
In the above embodiment of the present invention, the first difference values between all the maximum signals and the second signals to be detected in the monitoring time range are sequentially determined, and if the corresponding first difference values in the monitoring time range are all in the predetermined alarm interval, it indicates that the second signals to be detected in the monitoring time range all meet the use requirement, so as to complete a monitoring period, and the last second signal to be detected in the monitoring time range is used as the new maximum signal to monitor the signal (such as the first signal to be detected) in the next monitoring period.
The present invention also provides a preferred embodiment that provides a design in which the magnitude of the change in the signal value per unit time is out of limits.
The technical scheme provided by the invention can judge whether the signal change amplitude in the appointed time range (namely the monitoring time range) exceeds the preset range (namely the preset alarm interval) in a simpler mode, and has the function of alarming according to the judgment result.
According to the technical scheme provided by the invention, the current value (namely the second signal to be detected) is subtracted from the maximum value (namely the maximum signal) in the appointed time range (namely the monitoring time range), the difference value (namely the second difference value) is compared with the preset variation amplitude (namely the preset alarm interval), and if the difference value exceeds the appointed variation amplitude (namely the preset alarm interval), the system gives an alarm.
It should be noted that the maximum value (i.e., the most significant signal) is for any value (i.e., the first signal to be detected or the second signal to be detected) that occurs within the specified time range (i.e., the monitoring time range).
It should be noted that the current value may be any one of the first signal to be detected, the second signal to be detected, the third signal to be detected, and the fourth signal to be detected, and if the maximum value (i.e., the most significant signal) needs to be compared with the current value, the current value is the first signal to be detected; if the difference value between the maximum value (namely the maximum signal) and the current value is required to be judged whether to exceed the specified change amplitude (namely the preset alarm interval), the current value is the second signal to be detected; and if the difference between the maximum value (namely the maximum signal) and the current value is required to be judged whether to exceed the preset dead zone, the current value is the third signal to be detected or the fourth signal to be detected.
It should be noted that the first signal to be detected, the second signal to be detected, the third signal to be detected, and the fourth signal to be detected may be the same signal, and there is no substantial difference, mainly to distinguish the application of the signal in the monitoring time range and the application of the signal outside the monitoring time range. For example, after the timer is started, the signal is the second signal to be detected; before the timer is started, the signal is the first signal to be detected, the third signal to be detected or the fourth signal to be detected.
Fig. 2 is a schematic diagram of an alarm system according to an embodiment of the present invention, as shown in fig. 2, mainly including: the device comprises a delay block 21, an analog quantity switching block 22, a large/small value comparison and storage block 23, an addition block 24, a high/low limit comparison module 25, a pulse timing block 26 and an alarm block 27.
Optionally, the delay block 21 is configured to delay the current signal value (i.e. the current value) and output the delayed signal value, where the delay value is adjustable.
Optionally, the large/small value judgment holding block is used for comparing the memorized maximum value (i.e. the maximum value signal) with the current value, and selecting the maximum signal of the two values for saving; or comparing the stored minimum value (i.e. the minimum value signal) with the current value, and selecting the signal with the minimum value from the two values for storage.
Optionally, an adding block 24 for determining the difference between the maximum value (i.e. the most significant signal) and the current value.
Optionally, the high-low limit comparing module 25 includes: a first high-low limit comparison module 25a and a second high-low limit comparison module 25 b.
Optionally, the first high-low limit comparing module 25a is configured to compare a difference between the maximum value (i.e., the most significant signal) and the current value (i.e., the third signal to be detected) with a set dead zone (i.e., a predetermined dead zone), determine a variation trend of the current value (i.e., the first signal to be detected), determine whether a variation amplitude of the maximum value (i.e., the most significant signal) and the current value (i.e., the third signal to be detected) exceeds the dead zone, and start the timer if the variation amplitude exceeds the dead zone.
Optionally, the second high-low limit comparing module 25b is configured to compare whether the difference between the maximum value and the current value exceeds a preset variation range (i.e., a predetermined alarm interval), and if the variation range (i.e., the first difference) exceeds the limit value (i.e., the predetermined alarm interval) within the timing period (i.e., the monitoring time range) of the timer.
Alternatively, the pulse timing block 26 may be a timer, and a pulse signal may be input.
FIG. 3 is a schematic diagram of an output pulse signal of a pulse timing block according to an embodiment of the present invention, as shown in FIG. 3a, when the input pulse is less than the timing time (i.e., the monitoring time range, e.g., S3), the output is equal to the width of the input pulse; as shown in fig. 3b, when the input pulse is greater than the clocked time (i.e., the monitoring time range, e.g., S3), a pulse width equal to the clocked time (i.e., the monitoring time range, e.g., S3) is output.
Alternatively, if the trend of the current value (i.e., the first signal to be detected) changes reversely, the timer is reset.
Alternatively, if the variation range (i.e., the first difference) in the timing period (i.e., the monitoring time range) does not exceed the set value (i.e., the predetermined alarm interval), the maximum value is replaced with the current value (i.e., the first signal to be detected) by the switcher (i.e., the analog quantity switching block 22), and the monitoring of the next period is resumed.
Alternatively, the alarm block 27 may be an and circuit, which is respectively connected to the pulse timing block 26 and the high limit comparing block 25b, and configured to output an alarm signal to alarm if the variation amplitude (i.e., the first difference) within the timing period (i.e., the monitoring time range) of the timer exceeds a limit value (i.e., a predetermined alarm interval).
According to the technical scheme provided by the invention, time pulse algorithm logic is adopted, and when the change trend of a signal (namely a first signal to be detected) has a back sign, a time pulse function block (namely a pulse timing block) can count time again; when the signal change during the time pulse timing period (i.e. the monitoring time range) is not exceeded, the time pulse function block (i.e. the pulse timing block) can realize resetting and restart the timing function of the next period.
The technical scheme provided by the invention can identify the following two conditions: 1. within a specified time range, the signal variation trend is unchanged, and the amplitude exceeds the limit (for example, within the monitoring time range, the variation trend of the first signal to be detected is not changed, and the first difference value exceeds the condition within a preset alarm interval); 2. within a specified time range, the signal variation trend is both increased and decreased, and the deviation between the maximum value and the current value is out of limit (for example, within the monitoring time range, the variation trend of the first signal to be detected changes, and the first difference exceeds the condition within a preset alarm interval).
According to the technical scheme provided by the invention, through a relatively ingenious algorithm, the judgment when the signal change amplitude (namely the first difference) in the specified time range (namely the monitoring time range) exceeds the preset range (namely the preset alarm interval) is realized. Compared with the conventional design, the method has the advantages of novel thought, simple structure, ingenious design, fewer used algorithm blocks and almost no occupation of system memory, and the influence on the operation cycle of the system can be ignored.
According to yet another embodiment of the present invention, there is also provided a storage medium including a stored program, wherein the program executes to perform the alarm method of any one of the above.
According to yet another embodiment of the present invention, there is also provided a processor for executing a program, wherein the program executes to perform any one of the above-mentioned alarm methods.
According to an embodiment of the present invention, an embodiment of an alarm device is further provided, and it should be noted that the alarm device may be used to execute an alarm method in the embodiment of the present invention, and the alarm method in the embodiment of the present invention may be executed in the alarm device.
Fig. 4 is a schematic diagram of an alarm device according to an embodiment of the present invention, and as shown in fig. 4, the device may include: the monitoring unit 41 is configured to monitor a variation trend of the first signal to be detected, and determine a most significant signal according to the variation trend; the obtaining unit 43 is configured to determine a monitoring time range according to the most significant signal, obtain a first signal to be detected within the monitoring time range, and obtain a second signal to be detected; a first determining unit 45, configured to determine a first difference between the maximum signal and the second signal to be detected, and determine whether the first difference is within a predetermined alarm interval; and an alarm unit 47 for sending an alarm signal if the first difference exceeds a predetermined alarm interval.
It should be noted that the monitoring unit 41 in this embodiment may be configured to execute step S102 in this embodiment, the obtaining unit 43 in this embodiment may be configured to execute step S104 in this embodiment, the first determining unit 45 in this embodiment may be configured to execute step S106 in this embodiment, and the alarm unit 47 in this embodiment may be configured to execute step S108 in this embodiment. The above units are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure of the above embodiments.
In the embodiment of the invention, a first signal to be detected is monitored to obtain the variation trend of the first signal to be detected, then the most value signal of the first signal to be detected is determined according to the variation trend, the monitoring time range is determined according to the most value signal, then a plurality of first signals to be detected within the monitoring time range are obtained to obtain a second signal to be detected, the second signal to be detected is respectively compared with the predetermined most value signal to determine the first difference value between the most value signal and the second signal to be detected, then whether the first difference value is within the predetermined alarm interval is judged, whether the second signal to be detected exceeds the variation amplitude limited by the predetermined alarm interval can be determined, so that the most value signal and the monitoring time range can be determined according to the variation trend of the signal under the condition that whether the variation amplitude of the detection signal is pride or not, and the signal within the monitoring time range is compared with the most value signal, whether the variation amplitude of the signal in the monitoring time range exceeds the limit can be determined according to the comparison result, the technical effect of quickly and accurately judging whether the variation amplitude of the signal exceeds the limit is achieved, and the technical problem that whether the variation amplitude of the signal exceeds the limit cannot be quickly and accurately determined is solved.
As an alternative embodiment, the monitoring unit comprises: the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for sequentially acquiring a plurality of first signals to be detected according to a time sequence, at least three first signals to be detected are sequentially arranged as a first signal, a second signal and a third signal according to the time sequence; the comparison module is used for comparing the magnitudes of the first signal, the second signal and the third signal; the first determining module is used for determining the change trend to be a decreasing trend under the condition that the first signal is greater than the second signal and the second signal is greater than the third signal; the second determining module is used for determining the change trend to be an increasing trend under the condition that the first signal is smaller than the second signal and the second signal is smaller than the third signal; the third determining module is used for determining that the change trend is a first decreasing trend and a second increasing trend under the condition that the first signal is larger than the second signal and the second signal is smaller than the third signal; and the fourth determining module is used for determining the trend of the change to be an increasing trend and a decreasing trend under the condition that the first signal is smaller than the second signal and the second signal is larger than the third signal.
As an optional embodiment, the monitoring unit further comprises: the first determining submodule is used for determining the most value signal as a first signal under the condition that the variation trend is a decreasing trend; the second determining submodule is used for determining the most value signal as the first signal under the condition that the change trend is the increasing trend; the third determining submodule is used for determining the most value signal as a second signal under the condition that the change trend is a first decreasing trend and then increasing trend; and the fourth determining submodule is used for determining the most value signal as the second signal under the condition that the change trend is an increasing trend and a decreasing trend.
As an alternative embodiment, the obtaining unit includes: and the fifth determining module is used for determining the preset time length as a monitoring time range by taking the time point of the maximum signal as a time starting point.
As an alternative embodiment, the obtaining unit includes: the second acquisition module is used for acquiring a first signal to be detected after the most significant signal in time sequence to obtain a third signal to be detected; the judging module is used for judging whether a second difference value between the maximum signal and a third signal to be detected exceeds a preset dead zone or not; the sixth determining module is used for determining the preset time length as a monitoring time range by taking the time point of the third signal to be detected as a time starting point under the condition that the second difference value exceeds the preset dead zone; and the seventh determining module is used for acquiring the first to-be-detected signals with time sequence behind the third to-be-detected signal under the condition that the second difference value does not exceed the preset dead zone to obtain a fourth to-be-detected signal, taking the fourth to-be-detected signal as the third to-be-detected signal, and re-determining the second difference value between the maximum signal and the third to-be-detected signal.
As an alternative embodiment, the apparatus further comprises: and the second determining unit is used for determining the second signal to be detected positioned at the end of the time sequence in the monitoring time range as the most significant signal under the condition that the first difference values between all the most significant signals and the second signal to be detected in the monitoring time range are all in the preset alarm interval.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the apparatus according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.