A kind of intelligent monitoring method based on WiFi, apparatus and system
Technical field
The present invention relates to field of security technology more particularly to a kind of intelligent monitoring methods based on WiFi, apparatus and system.
Background technique
The form that traditional alarm system generally uses is taken the photograph for camera monitoring, alarming or IR intrusion detector monitoring, alarming
As head detects human motion information by dynamic detection technology either IR intrusion detector, the information reporting to central control system,
Central control system has analysed whether stranger's invasion, if it is starts peripheral alert device, sounds the alarm.Regardless of tradition also right and wrong
Traditional alarm system, use is all that alarm acquisition probe obtains alert data, is sent to correspondence by control device later
Equipment, user in order to achieve the purpose that it is antitheft need to buy corresponding probe apparatus, on the one hand not only will increase at
Sheet, the privacy of user leakage problem that on the other hand can also cause camera head monitor to introduce and infrared alarm fail to report problem, safety
Hidden danger is bigger.
Summary of the invention
The technical problem to be solved by the present invention is to solve the above shortcomings of the prior art and to provide a kind of intelligence based on WiFi
It can monitoring method, apparatus and system.
The technical scheme to solve the above technical problems is that
According to an aspect of the invention, there is provided a kind of intelligent monitoring method based on WiFi, includes the following steps:
Step 1: detection prewarning area in wifi signal strength indication and judge its whether within the scope of preset signal strength,
If it is, it is without any processing, it is detected into next round;Otherwise, it sets and starts timing the first time-count cycle, and enter step
2;
Step 2: preset signal strength being exceeded to wifi signal strength indication in prewarning area within first time-count cycle
The number of range is counted, and count value is denoted as early warning number count;
Step 3: judging whether current early warning number count was greater than in the first time-count cycle at the end of the first time-count cycle
Alarm frequency threshold value, prompt information and shown if it is, sending;Otherwise, early warning number count is reset, return step 1
And enters next round and detect.
According to another aspect of the invention, a kind of intelligent monitoring device based on WiFi, including intelligent WiFi are provided
AP, the intelligent WiFi AP include MCU, counter and first timer.
The MCU is for detecting wifi signal strength indication in prewarning area and judging wifi signal strength indication in prewarning area
It whether within the scope of preset signal strength, if it is, without any processing, is detected into next round, otherwise triggers described the
One timer sets the first technology cycle and starts timing;It is also used to judge current early warning number at the end of the first time-count cycle
Whether count is greater than alarm frequency threshold value, if it is, send prompt information and show, it is otherwise without any processing.
The counter is used within first time-count cycle to wifi signal strength indication in prewarning area beyond default
The number of signal strength range is counted, and count value is denoted as early warning number count.
The first timer is for setting for the first time-count cycle, and the wifi signal in detection prewarning area for the first time is strong
Start timing when angle value is not within the scope of preset signal strength.
According to another aspect of the invention, a kind of intelligent monitor system based on WiFi, including WiFi connection are provided
Device, Cloud Server, at least one mobile terminal and the intelligent monitoring device based on WiFi, and the intelligent WiFi AP
Region between WiFi connector is chosen to be prewarning area.
The WiFi connector is used to receive the WiFi signal that the intelligent WiFi AP is sent, and to the intelligent WiFi
AP feeds back WiFi signal;The Cloud Server is used to receive prompt information and the display that the MCU is sent, and the prompt is believed
Breath is forwarded to the mobile terminal, is also used to realize between the mobile terminal and the WiFi AP that bi-directional data information is transmitted;
The mobile terminal and the Cloud Server are wirelessly connected, and receive the prompt information that the Cloud Server is sent and display.
The beneficial effects of the present invention are: a kind of intelligent monitoring method based on WiFi of the invention, apparatus and system, utilize
WiFi technology realizes intelligent monitoring, and bandit is effectively prevent to invade, it is possible to prevente effectively from the privacy of user that camera head monitor introduces is let out
Dew problem, infrared alarm fail to report problem, only need to add a WiFi connector, and make full use of existing household route platform,
Intelligent monitoring can be realized, low in cost, safety is higher, is very suitable to be widely applied.
Detailed description of the invention
Fig. 1 is a kind of intelligent monitoring method flow diagram based on WiFi of the invention;
Fig. 2 is a kind of intelligent monitoring device structural schematic diagram based on WiFi of the invention;
Fig. 3 is a kind of intelligent monitor system structural schematic diagram based on WiFi of the invention.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and
It is non-to be used to limit the scope of the invention.
Embodiment one, a kind of intelligent monitoring method based on WiFi, below in conjunction with Fig. 1 to one of the present embodiment base
It is described in detail in the intelligent detecting method of WiFi.
As shown in Figure 1, a kind of intelligent monitoring method flow diagram based on WiFi, includes the following steps:
Step 1: detection prewarning area in wifi signal strength indication and judge its whether within the scope of preset signal strength,
If it is, it is without any processing, it is detected into next round;Otherwise, it sets and starts timing the first time-count cycle, and enter step
2;
Step 2: preset signal strength being exceeded to wifi signal strength indication in prewarning area within first time-count cycle
The number of range is counted, and count value is denoted as early warning number count;
Step 3: judging whether current early warning number count was greater than in the first time-count cycle at the end of the first time-count cycle
Alarm frequency threshold value, prompt information and shown if it is, sending;Otherwise, early warning number count is reset, return step 1
And enters next round and detect.
In the present embodiment, the setting process of preset signal strength range described in the step 1 specifically: in adopting for setting
Wifi signal strength indication in the sample time in detection prewarning area, and wifi signal strength maximum value in the prewarning area that will test
With minimum value respectively as the upper boundary values and lower border value of preset signal strength range.It can be compared by this adaptive model
In accurate acquisition prewarning area without any block in the case where WiFi signal intensity, it is pre- convenient for entering for subsequent someone
When in police region domain, the WiFi signal variable quantity in prewarning area is detected.
Preferably, it in the step 1 while detecting the wifi signal strength indication in prewarning area, also obtains and enters in advance
It the mac address information of WiFi equipment and is stored in police region domain.
In the present embodiment, in the step 3, when current early warning number count is greater than the alarm time in the first time-count cycle
When number threshold value, the mac address information for entering WiFi terminal in prewarning area is compared with default access mac address information library, such as
Both fruits are identical, then without any processing, otherwise, WiFi terminal corresponding with mac address information are labeled as strange equipment, and
The mac address information of strange equipment is shown together together with the prompt information.In this way, may remind the user that into prewarning area
Verification comparison is waken up with a start convenient for subsequent in the interior address equipment mac when an abnormal situation occurs.
Preferably, in the step 3, when current early warning number count is greater than the alarm number threshold in the first time-count cycle
Further include following subsequent step when value:
Step 4: setting simultaneously starts timing the second time-count cycle, record that the strange equipment stops in prewarning area when
Between, if strange equipment residence time in prewarning area is greater than the maximum dwell period of setting, issue alarm signal
Breath, it is otherwise, without any processing, end processing process.
Abnormal conditions rank can be distinguished through the above way, be convenient for by issuing the user with warning message for slapping in time
The abnormal conditions in prewarning area are held, are taken urgent measure in time convenient for user, prevent the property of user from incurring loss.
Preferably, when detecting the wifi signal strength indication in prewarning area in the step 1=, also the wifi of detection is believed
Number intensity value carries out temperature-compensating processing, then judges that treated that wifi signal strength indication is no in preset signals by temperature-compensating
In strength range, prevents equipment because of caused power swing problem under fever in operational process or cold environment, guarantee to set
Standby transmission power is consistent, so that testing result is more accurate.
Embodiment two, a kind of intelligent monitoring device based on WiFi, below in conjunction with Fig. 2 to one of the present embodiment base
It is described in detail in the intelligent detection device of WiFi.
As shown in Fig. 2, a kind of intelligent monitoring device based on WiFi, including intelligent WiFi AP, the intelligent WiFi AP
Including MCU, counter and first timer.
Wherein, the MCU is for detecting wifi signal strength indication in prewarning area and judging wifi signal in prewarning area
Whether intensity value is within the scope of preset signal strength, if it is, without any processing, detect into next round, otherwise triggers
The first timer sets the first technology cycle and starts timing;It is also used to judge at the end of the first time-count cycle current pre-
Whether alert number count is greater than alarm frequency threshold value, if it is, send prompt information and show, it is otherwise without any processing.
The counter is used within first time-count cycle to wifi signal strength indication in prewarning area beyond default
The number of signal strength range is counted, and count value is denoted as early warning number count.
The first timer is for setting for the first time-count cycle, and the wifi signal in detection prewarning area for the first time is strong
Start timing when angle value is not within the scope of preset signal strength.
In the present embodiment, the setting process of the MCU preset signal strength range specifically: within the sampling time of setting
The wifi signal strength indication in prewarning area is detected by the intelligent WiFi AP, and wifi believes in the prewarning area that will test
The upper boundary values and lower border value of number maximum of intensity and minimum value respectively as preset signal strength range.It can compare in this way
The intensity of WiFi signal in the case where accurately in acquisition prewarning area without any block, convenient for entering early warning for subsequent someone
When in region, the WiFi signal variable quantity in prewarning area is detected.
In the present embodiment, the MCU is also obtained while detecting the wifi signal strength in prewarning area and is entered early warning
It the mac address information of WiFi equipment and is stored in region, and when current early warning number count was greater than in the first time-count cycle
Alarm frequency threshold value when, the MCU will enter the mac address information and default access mac of WiFi terminal in prewarning area
Location information bank compares, without any processing if the two is identical, otherwise, will WiFi terminal mark corresponding with mac address information
It is denoted as strange equipment, and the mac address information of strange equipment is shown together together with the prompt information.
Preferably, the intelligent WiFi AP further includes the second timer, when current early warning number count is greater than the first meter
When the period in alarm threshold when, the MCU also triggers second timer and set for the second time-count cycle and start timing, remembers
Strange equipment residence time in prewarning area is recorded, if strange equipment residence time in prewarning area is big
In the maximum dwell period of setting, then alert, otherwise, without any processing, ends processing process.By to user
Alert is convenient for taking urgent measure, preventing in time convenient for user for grasping the abnormal conditions in prewarning area in time
Only the property of user incurs loss.
Preferably, when the intelligent WiFi AP detects the wifi signal strength indication in prewarning area, also to the wifi of detection
Signal strength indication carries out temperature-compensating processing, is then forwarded to the MCU and treated by temperature-compensating by MCU judgement
Wifi signal strength indication is no within the scope of preset signal strength.Equipment can be prevented in this way because generating heat or trembling with fear in operational process
Caused power swing problem under cold environment guarantees that transmitting power of equipment is consistent, it is ensured that the WiFi of the intelligent WiFi AP transmitting
Signal strength does not change with environment, maintains in a stability range, so that testing result is more accurate.
Embodiment three, a kind of intelligent monitor system based on WiFi, below in conjunction with Fig. 3 to one of the present embodiment base
It is described in detail in the intelligent checking system of WiFi.
As shown in figure 3, a kind of intelligent monitor system based on WiFi, WiFi connector, Cloud Server, at least one movement
Terminal and the intelligent monitoring device based on WiFi, and the region choosing between the intelligent WiFi AP and WiFi connector
It is set to prewarning area.
The WiFi connector is used to receive the WiFi signal that the intelligent WiFi AP is sent, and to the intelligent WiFi
AP feeds back WiFi signal;The Cloud Server is used to receive prompt information and the display that the MCU is sent, and the prompt is believed
Breath is forwarded to the mobile terminal, is also used to realize between the mobile terminal and the WiFi AP that bi-directional data information is transmitted;
The mobile terminal and the Cloud Server are wirelessly connected, and receive the prompt information that the Cloud Server is sent and display.
Preferably, when the strange equipment, residence time is greater than the maximum dwell period of setting in prewarning area, then
The MCU is directly to the mobile terminal alert.It is convenient for by issuing the user with warning message for grasping in time
Abnormal conditions in prewarning area, take urgent measure in time convenient for user, prevent the property of user from incurring loss.
A kind of intelligent monitoring method based on WiFi of the invention, apparatus and system utilize WiFi technology to realize intelligence prison
Control, effectively prevent bandit to invade, it is possible to prevente effectively from the privacy of user leakage problem that camera head monitor introduces, the leakage of infrared alarm
Report problem only need to add a WiFi connector, and make full use of existing household route platform, and intelligent monitoring can be realized, at
This is cheap, and safety is higher, is very suitable to be widely applied.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.