Detection method, device, detection equipment and storage medium

文档序号:1693917 发布日期:2019-12-10 浏览:21次 中文

阅读说明:本技术 探测方法、装置、探测设备和存储介质 (Detection method, device, detection equipment and storage medium ) 是由 邱亮南 沈彤 于 2019-09-12 设计创作,主要内容包括:本发明涉及一种探测方法、装置、探测设备和存储介质。所述方法包括:获取探测设备在信号检测周期为第一信号检测周期下发出的探测信号的接收状态;当检测到所述探测信号的接收状态为未被接收端接收到时,将所述第一信号检测周期切换为第二信号检测周期;所述第二信号检测周期小于所述第一信号检测周期;根据在所述第二信号检测周期下发出的探测信号的接收状态,确定在所述探测设备的探测区域是否有目标对象。采用本方法能够使探测设备同时兼顾能耗、探测准确度的、装置使用寿命。(The invention relates to a detection method, a detection device and a storage medium. The method comprises the following steps: acquiring a receiving state of a detection signal sent by detection equipment under the condition that a signal detection period is a first signal detection period; when the receiving state of the detection signal is detected to be that the detection signal is not received by a receiving end, switching the first signal detection period into a second signal detection period; the second signal detection period is shorter than the first signal detection period; and determining whether a target object exists in the detection area of the detection equipment according to the receiving state of the detection signal sent out in the second signal detection period. By adopting the method, the detection equipment can simultaneously consider energy consumption and detection accuracy and has the service life of the device.)

1. A method of probing, comprising:

Acquiring a receiving state of a detection signal sent by detection equipment under the condition that a signal detection period is a first signal detection period;

When the receiving state of the detection signal is detected to be that the detection signal is not received by a receiving end, switching the first signal detection period into a second signal detection period; the second signal detection period is shorter than the first signal detection period;

And determining whether a target object exists in the detection area of the detection equipment according to the receiving state of the detection signal sent out in the second signal detection period.

2. The method according to claim 1, wherein the step of determining whether there is a target object in the detection area of the detection device according to the reception state of the detection signal emitted in the second signal detection period includes:

And when the number of times that the receiving state of the detection signal sent in at least one trigger response time is the state not received by the receiving end reaches a set value in the second signal detection period, determining that a target object exists in the detection area of the detection equipment.

3. The method of claim 1, further comprising:

And if the target object exists in the detection area, sending an alarm signal.

4. The method according to claim 1, wherein the step of determining whether there is a target object in the detection area of the detection device according to the reception state of the detection signal emitted in the second signal detection period includes:

and determining that the target object does not exist in the detection area when the frequency that the receiving state of the sent detection signal is the state which is not received by the receiving end does not reach a set value in the trigger response time in the second signal detection period.

5. The method of claim 4, wherein the step of determining that the detection region is free of the target object comprises:

And if the number of the states which are not received by the receiving end is not zero and does not reach a set value, determining that the detection area has an interference object.

6. The method of claim 4, wherein the step of determining that the detection region is free of the target object comprises:

And if the sequencing of the state which is not received by the receiving end is discontinuous, determining that the detection area has an interference object.

7. The method of claim 1, further comprising:

And if the detection area has the interference object, sending a prompt signal that the interference object exists in the detection area.

8. A probe apparatus, the apparatus comprising:

The state acquisition module is used for acquiring the receiving state of a detection signal sent by the detection equipment under the condition that the signal detection period is the first signal detection period;

The detection period switching module is used for switching the first signal detection period into a second signal detection period when the detection signal is detected to be not received by a receiving end in the receiving state; the second signal detection period is shorter than the first signal detection period;

And the target object determining module is used for determining whether a target object exists in the detection area of the detection equipment according to the receiving state of the detection signal sent out in the second signal detection period.

9. A detection device comprising a memory and a controller, the memory storing a computer program, characterized in that the controller realizes the steps of the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a controller, carries out the steps of the method according to any one of claims 1 to 7.

Technical Field

The present invention relates to the field of detection technologies, and in particular, to a detection method, an apparatus, a detection device, and a storage medium.

Background

With the development of technology, it is becoming more and more popular to detect abnormal situations occurring in life by using active detection signals (such as infrared rays, laser, ultrasonic waves, etc.). The working mode of detecting by using the active detection signal is that the detection equipment sets a fixed signal detection period emitted by the detection signal; and a receiving device of the detection equipment synchronously implements signal acquisition according to a fixed signal detection period transmitted by the detection signal. When a blocking object appears in the detection area and a receiving device of the detection equipment cannot receive a preset signal, an alarm signal is sent out to remind a user.

The inventor finds that: the signal detection period of the detection signal emission of the current detection equipment is fixed, if the period is set to be longer, the energy consumption can be saved, but because the signal detection period is long, the time interval between two adjacent detection signals is long. For example, if the adjacent detection signals happen to be blocked by a floating object (such as a leaf), the detection device may consider that there is a target object (such as an intruder), and thus a false alarm signal is sent out. When the signal detection period of the detection signal is set to be short, although the detection accuracy can be improved and the occurrence of false alarm/false alarm can be avoided, the detection at a short time interval for a long time (i.e., long-time high-density detection) increases energy consumption and accelerates the aging of devices.

Disclosure of Invention

In view of the above, there is a need to provide a detection method, an apparatus, a detection device and a storage medium, which can enable the detection device to simultaneously consider energy consumption, detection accuracy, device service life, and detection state change.

a method of probing, the method comprising: acquiring a receiving state of a detection signal sent by detection equipment under the condition that a signal detection period is a first signal detection period; when the receiving state of the detection signal is detected to be that the detection signal is not received by a receiving end, switching the first signal detection period into a second signal detection period; the second signal detection period is shorter than the first signal detection period; and determining whether a target object exists in the detection area of the detection equipment according to the receiving state of the detection signal sent out in the second signal detection period.

In one embodiment, the step of determining whether there is a target object in the detection area of the detection device according to the receiving state of the detection signal emitted in the second signal detection period includes: and when the number of times that the receiving state of the detection signal sent in at least one trigger response time is the state not received by the receiving end reaches a set value in the second signal detection period, determining that a target object exists in the detection area of the detection equipment.

in one embodiment, an alarm signal is issued if the target object is in the detection zone.

in one embodiment, the step of determining whether there is a target object in the detection area of the detection device according to the receiving state of the detection signal emitted in the second signal detection period includes: and determining that the target object does not exist in the detection area when the frequency that the receiving state of the sent detection signal is the state which is not received by the receiving end does not reach a set value in the trigger response time in the second signal detection period.

In one embodiment, the step of determining that the detection region is free of the target object comprises: and if the number of the states which are not received by the receiving end is not zero and does not reach a set value, determining that the detection area has an interference object.

In one embodiment, the step of determining that the detection region is free of the target object comprises: and if the sequencing of the state which is not received by the receiving end is discontinuous, determining that the detection area has an interference object.

In one embodiment, if the detection area has an interfering object, a signal indicating the presence of the interfering object in the detection area is sent out.

A probe apparatus, the apparatus comprising: the state acquisition module is used for acquiring the receiving state of a detection signal sent by the detection equipment under the condition that the signal detection period is the first signal detection period; the detection period switching module is used for switching the first signal detection period into a second signal detection period when the detection signal is detected to be not received by a receiving end in the receiving state; the second signal detection period is shorter than the first signal detection period; and the target object determining module is used for determining whether a target object exists in the detection area of the detection equipment according to the receiving state of the detection signal sent out in the second signal detection period.

A detection apparatus comprising a memory storing a computer program and a controller, the controller implementing the following steps when executing the computer program: acquiring a receiving state of a detection signal sent by detection equipment under the condition that a signal detection period is a first signal detection period; when the receiving state of the detection signal is detected to be that the detection signal is not received by a receiving end, switching the first signal detection period into a second signal detection period; the second signal detection period is shorter than the first signal detection period; and determining whether a target object exists in the detection area of the detection equipment according to the receiving state of the detection signal sent out in the second signal detection period.

a computer-readable storage medium, having stored thereon a computer program which, when executed by a controller, performs the steps of: acquiring a receiving state of a detection signal sent by detection equipment under the condition that a signal detection period is a first signal detection period; when the receiving state of the detection signal is detected to be that the detection signal is not received by a receiving end, switching the first signal detection period into a second signal detection period; the second signal detection period is shorter than the first signal detection period; and determining whether a target object exists in the detection area of the detection equipment according to the receiving state of the detection signal sent out in the second signal detection period.

According to the detection method, the detection device, the detection equipment and the storage medium, the first signal detection period is adopted for detection, the receiving state of the detection signal is detected, and when the receiving state is not received by the receiving end, the signal detection period is switched to the second signal detection period with shorter interval time. By detecting the receiving state of the detection signal, the detection equipment can detect the detection signal in a signal detection period with a longer interval time when the detection signal is not blocked and the receiving end can receive all the detection signals, so that the energy consumption is reduced; when the detection signal is blocked and the receiving end can not receive all the detection signals, the detection is carried out in a signal detection period with shorter interval time, so that the detection precision is improved, and the detection equipment can take energy consumption and detection precision into consideration.

Drawings

FIG. 1 is a diagram illustrating an exemplary implementation of a probing method;

FIG. 2 is a schematic flow chart of a detection method in one embodiment;

FIG. 3 is a schematic flow chart of a detection method in another embodiment;

FIG. 4 is a block diagram showing the structure of a detecting unit according to an embodiment;

FIG. 5 is an internal block diagram of a probing apparatus in one embodiment.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

the detection method provided by the invention can be applied to the application environment shown in FIG. 1. Wherein the probing apparatus comprises a transmitting end 102 and a receiving end 104. The transmitting end 102 may establish a communication connection with the receiving end 104 in a wired or wireless manner, and the transmitting end 102 may also send a probe signal to the receiving end 104.

Specifically, the signal detection period of the detection device is: the detection device sends out detection signals for a plurality of times within the trigger response time. The relationship between the trigger response time and the signal detection period is: for example, when the trigger response time is 20 ms, if the first signal detection period is set to be N ═ 2 (i.e., there are 2 first signal detection periods in one trigger response time), each first signal detection period is 10 ms, i.e., the probe device sends out 2 probe signals within 20 ms, and the interval time is 10 ms. Similarly, when the trigger response time is 20 ms, the second signal detection period may be set to N-10 (i.e. there are 10 second signal detection periods in one trigger response time), and each second signal detection period is 2 ms, i.e. the probing apparatus sends out 10 probing signals within 20 ms, and the interval time is 2 ms.

As shown in fig. 1, the detecting device detects in the initial state in the first signal detection period with a longer interval time (for example, 2 signal detection periods within one trigger response time): the transmitting terminal 102 transmits a detection signal, and the receiving terminal 104 receives the detection signal transmitted by the transmitting terminal 102, so as to detect a detection area and determine whether a target object (such as an intruder and an out-of-range vehicle in a security scene) exists. The receiving end 104 may be configured with a controller 1 for detecting a receiving state of the probe signal received by the receiving end 104, and may also send a related instruction to the transmitting end 102 through the communication connection established in the wired or wireless manner, so as to instruct the controller 2 configured in the transmitting end 102 to switch a signal detection period. It will be understood by those skilled in the art that the probing apparatus can also be configured with a controller to detect the receiving status of the probing signal at the receiving end 104 and control the transmitting end 102 to switch the signal detection period. The controller may also be provided independently of the transmitting end 102 and the receiving end 104. The number and location of the controllers configured in the detection device do not constitute a limitation on the detection method of the present invention.

when the controller 1 detects that the probe signal transmitted by the transmitting terminal 102 is not received by the receiving terminal 104, the controller 2 is notified in a wired or wireless manner to shorten the interval time for the transmitting terminal 102 to send the probe signal, and the first signal detection period with a longer interval time is switched to the second signal detection period with a shorter interval time (for example, 2 signal detection periods within one trigger response time are switched to 10 signal detection periods). At this time, the detection device detects in the second signal detection period, and the controller 1 detects the receiving state of the detection signal of the receiving end 104, and determines whether there is a target object (e.g., an intruder, an out-of-range vehicle, etc. in a security scene) in the detection area according to the receiving state, so as to improve the detection accuracy. The type of the detection signal may be infrared, ultrasonic, laser, etc. The receiving state comprises a state that the detection signal is not received by the receiving end and a state that the detection signal is received by the receiving end; the state in which the detection signal is not received by the receiving end is related to the application requirement definition that the target object blocks the detection signal, for example, when the detection signal is infrared and is indoors, the state in which the detection signal is not received by the receiving end is defined as: the target object continuously blocks 75% of energy of the detection signal transmitted by the transmitting end to reach trigger response time; when the detection signal is infrared and is outdoors, the state that the detection signal is not received by the receiving end is defined as: the target object completely blocks the detection signal transmitted by the transmitting terminal, and the trigger response time is reached.

In one embodiment, as shown in fig. 2, a sounding method is provided, in which the method can be implemented based on the transmitting end 102 and the receiving end 104 shown in fig. 1, and the specific steps of the method can be performed by the controller 1 configured in the receiving end 104 and the controller 2 configured in the transmitting end 102, and the method includes the following steps:

step S202, acquiring a receiving state of a probe signal sent by the probe device in a first signal detection period.

wherein the probing apparatus includes a transmitting end 102 and a receiving end 104. The signal detection period of the detection device is as follows: the detection device sends out a plurality of detection signals within the trigger response time, and the interval time between two adjacent detection signals is shortened. The relationship between the signal detection period and the trigger response time is: for example, when the trigger response time is 20 ms and the first signal detection period N is 2, the signal detection period is 10 ms, that is, the transmitting end 102 sends out 2 probing signals within 20 ms, and the intervals are 10 ms each.

specifically, when the probing apparatus performs probing in the first signal detection period, the controller 1 obtains the receiving state of the probing signal of the receiving end 104 in real time for the probing signal transmitted by the transmitting end 102 in the first signal detection period. The first signal detection period may be set according to actual conditions.

Step S204, when detecting that the receiving state of the detection signal is not received by the receiving end, switching the first signal detection period into a second signal detection period; the second signal detection period is shorter than the first signal detection period.

Specifically, in the process that the transmitting terminal 102 transmits the probe signal in the first signal detection period, the controller 1 obtains the receiving state of the probe signal of the receiving terminal 104. When the receiving end 104 does not receive the probe signal, for example, when the receiving end 104 does not effectively receive the probe signal, the controller 1 notifies the controller 2 disposed in the transmitting end 102 to shorten the interval time for transmitting the probe signal, and switches the first signal detection period with longer interval time to the second signal detection period with shorter interval time.

Step S206, determining whether there is a target object in the detection area of the detection device according to the reception state of the detection signal emitted in the second signal detection period.

The target object can be an intruder, a moving object (such as an out-of-range vehicle), a static object (an object left in a detection area) and the like in a security scene; other objects, such as small animals, flying objects (e.g., leaves), etc., are generally defined as non-target objects according to application requirements.

Specifically, for the probe signal transmitted by the transmitting terminal 102 in the second signal detection period, the controller 1 resynchronizes the receiving state of the probe signal by the receiving terminal 104 to determine whether there is a target object in the probing area of the probing apparatus.

In the above detection method, the controller 1 detects the receiving state of the detection signal, and when the receiving state is not received by the receiving end, the controller 1 notifies the controller 2 to switch the first signal detection period with a longer interval time to the second signal detection period with a shorter interval time. By synchronously detecting the receiving state of the detection signal, the detection equipment can receive the detection signal at the receiving end when the detection signal in the detection area is not blocked, and the detection is carried out by adopting a signal detection period with longer interval time, so that the energy consumption is avoided; when the detection signal of the detection area is blocked by the target object entering the detection area, namely the receiving end does not receive the detection signal, the signal detection period with shorter interval time is adopted for detection, so that the detection precision is improved, and the detection equipment can take energy consumption and detection precision into consideration.

In one embodiment, the step of determining whether there is a target object in the detection area of the detection device based on the reception state of the detection signal emitted in the second signal detection period includes: and when the number of times that the receiving state of the detection signal sent in the at least one trigger response time is the state not received by the receiving end reaches a set value in the second signal detection period, determining that a target object exists in the detection area of the detection equipment.

The second signal detection period may be a multiple of the first signal detection period, and accordingly, the number of times that the transmitting terminal transmits the probe signal in the second signal detection period is a multiple of the number of times that the transmitting terminal transmits the probe signal in the first signal detection period, for example, under the condition that the trigger response time of the probe device is 20 milliseconds, the first signal detection period is 10 milliseconds, and at this time, the number of times that the transmitting terminal transmits the probe signal is 2 times; when the first signal detection period is 5 times of the second signal detection period, the second signal detection period is 2 milliseconds, the number of times of the emission of the detection signal by the emission end is 10 times, and the number of times of the emission of the detection signal by the emission end in the signal detection period of 2 milliseconds is 5 times of the number of times of the emission of the detection signal in the signal detection period of 10 milliseconds. The set value may be the number of times the transmitting end transmits the probe signal within one trigger response time. To those skilled in the art, it should be understood that: the detection times are increased, the detection result is more approximate to the equivalent expression of the trigger state within a time, in the practical situation, due to the characteristic of product sampling detection, the controller does not have the continuous detection capability within the time period, but the controller can adopt multiple times of sampling with shorter interval time to carry out intensive detection on the trigger state within the time period, and whether the receiving end continuously receives the detection signal is determined.

Specifically, for the probe signal transmitted by the transmitting end in the second signal detection period, the controller 1 acquires the receiving state of the probe signal of the receiving end. When the number of times that the receiving end does not receive the detection signal transmitted by the corresponding transmitting end reaches a set value within at least one trigger response time in the second signal detection period, the controller 1 confirms that the target object is in the detection area. For example, when the trigger response time is 20 ms and the second signal detection period is 2 ms, the set value is 10 times, that is, the transmitting end transmits 10 detection signals; if the detection signals are not blocked within 20 milliseconds, the receiving end correspondingly receives the detection signals for 10 times; when the probe signal is blocked by the target object, the receiving end does not receive the probe signal 10 times because the target object is limited by its fastest moving speed and cannot pass within 20 ms shorter than the trigger response time. It is understood that the small animal, fallen leaves, in the running state are much smaller than the human/move faster than the human due to their size, and the time that the small animal, fallen leaves, blocks the detection signal is shorter than the trigger response time by 20 ms.

In the above embodiment, the controller 1 may determine the target object in the detection area more accurately by determining the number of times that the receiving state of the detection signal sent within the at least one trigger response time is the state that is not received by the receiving end, so as to avoid false alarm.

In one embodiment, the detection device may issue an alarm signal if it is determined that there is a target object in the detection area. The alarm signal may be sent by the controller 1 of the receiving end 104, and triggers the security alarm device to ring on the spot on duty, so as to prompt security personnel on duty to check and dispose in due course.

In one embodiment, the step of determining whether there is a target object in the detection area of the detection device based on the reception state of the detection signal emitted in the second signal detection period includes: and when the frequency that the receiving state of the sent detection signal is the state which is not received by the receiving end does not reach a set value in the trigger response time under the second signal detection period, determining that no target object exists in the detection area of the detection equipment.

specifically, for the probe signal transmitted in the second signal detection period, the controller 1 acquires the reception state of the probe signal at the receiving end. When the number of times that the receiving end does not receive the state of the detection signal transmitted by the corresponding transmitting end does not reach the set value within the trigger response time, the controller 1 confirms that there is no target object in the detection area of the detection device. For example, under the condition that the trigger response time is 100 milliseconds, if the set value is 20 times, the transmitting end transmits the probing signal 20 times, and the receiving end does not receive the probing signal less than 20 times, at this time, the controller 1 confirms that there is no target object in the probing area.

In one embodiment, if the number of times of the state that is not received by the receiving end is not zero and does not reach the set value, it is determined that the detection area has the interfering object.

specifically, when the number of times that the receiving end does not receive the detection signal is not zero and does not reach the set value, the controller 1 determines that there is an interfering object in the detection area. For example, in the trigger response time, if the set value is 20 times, that is, the transmitting end transmits 20 times of the probe signals, if the receiving end does not receive the probe signals for only 3 times, at this time, the number of times of the state that is not received by the receiving end is not zero, and does not reach 20 times, the controller 1 determines that there is an interfering object in the detection area.

In another embodiment, when the receiving end intermittently does not receive the probe signal within a trigger response time in the second signal detection period, the controller 1 confirms that there is an interfering object in the detection area.

For example, when a transmitting end transmits a sounding signal 10 times in a trigger response time, if the sounding signal is not blocked, the corresponding receiving end receives the sounding signal 10 times. When the detection signal is blocked intermittently, the receiving end receives the detection signal intermittently for 8 times, that is, receives the detection signal intermittently for 2 times, for example, receives the detection signal once in the 4 th and 8 th signal detection periods, at this time, the controller 1 determines that there is an interfering object in the detection area, for example, the plants near the detection area are blown and shaken by wind, and form dynamic blocking to the detection area, but because the plant branches and leaves are evacuated, the 4 th detection signal and the 8 th detection signal can pass through, so that the receiving end receives the 4 th detection signal and the 8 th detection signal.

In another embodiment, if the ordering of the states not received by the receiving end is not continuous, it is determined that the detection region has an interfering object.

Specifically, when the sequencing of the state in which the probe signal is not received by the receiving end is discontinuous, the controller 1 determines that there is an interfering object within the detection area, that is, when the receiving end does not receive the probe signal discontinuously, the controller 1 determines that there is an interfering object within the detection area. For example, when the setting value is 10 times, that is, the transmitting end transmits the sounding signal 10 times within a trigger response time, the receiving end does not receive the sounding signal 1 st time, 3 rd time, 4 th time, 6 th time, 7 th time, 8 th time and 9 th time within the trigger response time, at this time, the receiving end does not receive the sounding signal 7 times discontinuously, that is, the sequencing of the state where the sounding signal is not received by the receiving end is discontinuous, at this time, the controller 1 determines that there is an interfering object in the detection area.

In another embodiment, if the sequencing of the state not received by the receiving end is discontinuous and the number of times not received by the receiving end does not reach the set value, it is determined that the detection area has the interfering object.

Specifically, when the order of the state in which the probe signal is not received by the receiving end is discontinuous and the number of times of non-reception by the receiving end does not reach the set value, the controller 1 determines that there is an interfering object in the detection area, that is, when the receiving end intermittently does not receive the probe signal and the number of times of non-reception by the receiving end does not reach the set value, the controller 1 determines that there is an interfering object in the detection area. For example, when the set value is 10 times, that is, the transmitting end transmits the sounding signal 10 times within a trigger response time, the receiving end does not receive the sounding signal 1 st time, 3 rd time and 4 th time within the trigger response time, at this time, the receiving end intermittently receives no sounding signal 3 times, that is, the sequencing of the states of the sounding signal not received by the receiving end is discontinuous and the number of times is smaller than the set value, at this time, the controller 1 determines that there is an interfering object in the detection area.

In another embodiment, if there is an interfering object in the detection area, the detection device may issue a prompt signal that there is an interfering object in the detection area to remind security personnel to verify in time and to dispose of it as appropriate. The above-mentioned prompt signal may be issued by the controller 1 of the receiving end 104 of the detection device.

In the above embodiment, when the controller 1 determines that the detection area has no target object, the detection device does not send out an alarm signal, thereby avoiding false alarm; further, when the detection device determines that the interference object exists, the detection device sends out a prompt signal to remind security personnel to check in time and dispose of the interference object as appropriate.

In one embodiment, if the detection device operates in the second signal detection period and a trigger response time is reached and it is determined that neither the target object nor the interfering object is present in the detection area, the detection device switches to the first signal detection period to perform the detection operation. Wherein, when the controller 1 detects: when the receiving end receives the detection signal of the set value (namely the number of times of the detection signal transmitted by the transmitting end) in a trigger response time, the target object and the interference object are determined to be absent in the detection area.

Specifically, when the receiving end receives all the probing signals transmitted by the transmitting end within the trigger response time, that is, the number of times that the receiving end does not receive the probing signals is zero, the controller 1 notifies the controller 2 to switch the second signal detection period of the transmitting end to the first signal detection period, so as to increase the interval time for the transmitting end 102 to transmit the probing signals, and reduce energy consumption.

In order to better understand the above method, referring to fig. 3, an application example of the detection method of the present invention is described in detail below, and the specific flow is as follows:

Step S302, the transmitting terminal transmits the detection signal in a signal detection period with a longer interval time, and the receiving terminal synchronously receives the detection signal transmitted by the transmitting terminal.

In step S304, the controller 1 acquires the reception state of the probe signal at the receiving end, and proceeds to step S306.

Step S306, the controller 1 determines whether the receiving state of the detection signal satisfies the condition of the switching signal detection period, and if the controller 1 determines that the receiving state of the detection signal does not satisfy the condition of the switching signal detection period, the step S304 is returned to; if the controller 1 determines that the receiving state of the probe signal satisfies the condition of switching the signal detection period, if the controller 1 determines that the receiving end does not receive the probe signal, the process goes to step S308.

In step S308, the controller 1 notifies the controller 2 to switch the signal detection period of the longer interval time to the signal detection period of the shorter interval time, and the process proceeds to step S310.

step S310, the transmitting terminal transmits the detection signal in a signal detection period with a short interval time, and the receiving terminal synchronously receives the detection signal transmitted by the transmitting terminal.

In step S312, the controller 1 determines whether the detection time reaches a trigger response time. If a trigger response time is not reached, returning to step S310; if the probe time reaches a trigger response time, the process proceeds to step S314.

Step S314, the controller 1 determines whether the alarm condition is satisfied, and if the controller 1 determines the receiving state of the detection signal at the receiving end, determines whether the receiving state satisfies the alarm condition; if the receiving state of the receiving end does not satisfy the alarm condition, for example, the receiving state of the detection signal is all received by the receiving end, the controller 1 informs the controller 2 to switch the signal detection period with shorter interval time to the signal detection period with longer interval time, then step S302 is entered; if the receiving status of the receiving end meets the alarm condition, for example, the number of times that the receiving end continuously receives no detection signal reaches the set value, step S316 is entered.

And step S316, sending an alarm signal to finish an alarm working procedure.

It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention.

The present invention also provides a detection apparatus, which can be used to execute the detection method described above, based on the same idea as the detection method in the above-described embodiment. For convenience of illustration, the structure of the embodiment of the detecting device is only shown in the schematic diagram, and those skilled in the art will understand that the structure shown in the figure does not constitute a limitation to the device, and may include more or less components than those shown in the figure, or combine some components, or arrange different components.

In one embodiment, as shown in fig. 4, there is provided a probe apparatus 400 comprising: a state obtaining module 402, a detection period switching module 404, and a target object determining module 406, wherein:

A state obtaining module 402, configured to obtain a receiving state of a probe signal sent by a probe device in a first signal detection period.

A detection period switching module 404, configured to switch the first signal detection period to a second signal detection period when it is detected that the receiving state of the probe signal is not received by the receiving end; the second signal detection period is shorter than the first signal detection period.

And a target object determination module 406, configured to determine whether a target object exists in the detection area of the detection device according to a receiving state of the detection signal sent in the second signal detection period.

In an embodiment, the target object determining module 406 further includes a first determining unit, configured to determine that there is a target object in the detection area of the detection device when the number of times that the receiving state of the detection signal sent in the at least one trigger response time is a state that is not received by the receiving end reaches a set value in the second signal detection period.

In one embodiment, further comprising: and the alarm unit is used for sending an alarm signal if the target object exists in the detection area.

In an embodiment, the target object determining module 406 further includes a second determining unit, configured to determine that the detection area has no target object when the number of times that the receiving state of the sent detection signal is a state that is not received by the receiving end in the trigger response time in the second signal detection period does not reach a set value.

In an embodiment, the second determining unit is further configured to determine that the detection area has the interfering object if the number of times of the state that is not received by the receiving end is not zero and does not reach a set value.

In an embodiment, the second determining unit is further configured to determine that the detection region has an interfering object if the ordering of the states not received by the receiving end is discontinuous

In one embodiment, further comprising: and the prompting unit is used for sending a prompting signal that the interference object exists in the detection area if the interference object exists in the detection area.

It should be noted that the detection apparatus of the present invention corresponds to the detection method of the present invention one to one, and the technical features and the advantageous effects described in the embodiments of the detection method are all applicable to the embodiments of the detection apparatus.

In addition, in the embodiment of the detection apparatus in the above example, the logical relationship of the program is a core element, and each functional module of the detection apparatus may be configured by combining different devices, for example, all or part of the functional modules may be configured by a single chip and an externally configured functional device, where the single chip includes a controller and a memory inside, and may implement all or part of the main functions described above.

In one embodiment, a detection device is provided, which may be an active infrared intrusion detection device, a laser intrusion detection device, etc., and whose internal functional block diagram may be as shown in fig. 5. The probing device includes a controller, a memory, and a device interface connected by a system bus. Wherein the controller of the detection device is adapted to provide calculation and control capabilities. The memory of the detection device comprises a nonvolatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The device interface of the computer device is used for communicating with an external device or means through a connection. The computer program is executed by a controller to implement a detection method.

It will be understood by those skilled in the art that the functional structure shown in fig. 5 is only an example of a block diagram for implementing a part of the main functions related to the solution of the present invention, and does not constitute a limitation on the specific construction aspect of the specific device/component of the detection apparatus to which the solution of the present invention is applied, and the specific detection apparatus may include more or less devices/components than those shown in the drawings, or some combination of components with related functions, or have different distribution of devices/components, and so on.

In one embodiment, a detection apparatus is provided, which includes a memory and a controller, the memory stores a computer program, and the controller implements the steps of the above-mentioned method embodiments when executing the computer program.

It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which is stored in a computer readable storage medium and sold or used as a stand-alone product. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection component (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.

In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a controller, carries out the steps of the respective method embodiments described above.

The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

the above-mentioned examples only illustrate several embodiments of the present invention, but should not be construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种手持金属探测器加装远程监控报警电路

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!