A kind of video intercommunication auto-answer method being applied to video monitoring
Technical field
The present invention relates to a kind of video frequency monitoring method, particularly relate to a kind of video intercommunication being applied to video monitoring
Auto-answer method.
Background technology
The development applied along with electronic technology and business, video monitoring is more and more universal.Individual application is needed
For asking, monitoring remote video increasingly comes into one's own.Such as, intelligent domestic system is exactly current one
Popular electronic equipment, resident family wishes that intelligent domestic system can conveniently realize video intercommunication, video monitoring merit
Energy.General video intercommunication function needs manual answering, if but family is old man and child, electricity consumption will not be made
Subset, then can cause this intercommunication function to use difficulty bigger;In some need not the environment of response also
Inapplicable, as checked the state of family in the case of at home unmanned by long-distance video.
Monitoring system solution to the problems described above typically now is: designed, designed front-end product and relevant
Software, including designed, designed automatic-answering back device software and be installed in monitoring device.But in order to adapt to different operating
Platform, needs different automatic-answering back device software (such as Android, IOS, Windows, Linux), so,
The problem certainly existing softwarecompatible during use, causes universal difficulty to increase.It addition, the UI of designed, designed sets
Meter (to the man-machine interaction of software, operation logic, the global design of beautiful interface) also can bring one to client
Puzzlement in a little use habits;And, the software of designed, designed it is generally required to network is configured, as
Router side needs to configure the mapping function of COM1, adds application difficulty.
Summary of the invention
The purpose of the present invention is that providing a kind of to solve the problems referred to above is easy to application and universal application
Video intercommunication auto-answer method in video monitoring.
In order to achieve the above object, present invention employs techniques below scheme:
The video intercommunication auto-answer method being applied to video monitoring of the present invention, passes through video monitoring equipment
Interior operating system and automatic-answering back device software realize, it is characterised in that: install in described video monitoring equipment
MSN, and the configuration policy library corresponding with described MSN and version feature storehouse are set,
Described video intercommunication auto-answer method comprises the following steps:
(1) automatic-answering back device software is with os starting, detects the version of operating system in start-up course, and
Preserving this version number to internal memory, then according to the instant communication software of configuration policy library positioning associated, checking should
Whether MSN starts, if not actuated, starts MSN, and makes it process normally to step on
Record state;
(2) check MSN version, and corresponding version feature storehouse determines the response that video intercommunication is asked
Mode;
(3) whether detection MSN has long-distance video intercommunication to ask, if it has, enter next step,
If it is not, continue detection;
(4) whether detection MSN is in video intercommunication state, if it is, return step (3),
If it is not, then ask according to the content response video intercommunication of version feature storehouse;
(5) after response video intercommunication request, giving MSN by intercommunication control, instant messaging is soft
Good friend's mechanism within part will verify user right;
(6) step (3) is returned after video intercommunication terminates.
Above-mentioned configuration policy library and version feature storehouse are the text encrypted by bit arithmetic, and its content is every
Article one, being structure, first territory of each structure is length, be can read complete by length information every time
Structure content, second territory is type, is particular content later.
The use in two storehouses is as follows:
If there is no these two files, create it when starting the most every time, and compose default value and current detection
Value;The most all read in internal memory, deciphering before reading;Change detected every time or have artificial amendment, all records
To file, file all rewrites, writes front encryption.
Specifically, in described step (4), during response video intercommunication request, according to the description in version feature storehouse
And current operation system version and the appointment of MSN version need to receive window or the subwindow of message,
To realize automated toing respond to without manual intervention.
As preferably, in described step (1), during os starting, automatic-answering back device software starts simultaneously
Watchdog, if automatic-answering back device software the most normally starts or extremely exits, watchdog will restart automatic answering
Answer software, restart and unsuccessfully will restart whole operating system.
In described step (1), if MSN cannot be started, will be pointed out by warning window.
The beneficial effects of the present invention is:
By the present invention, user only need to use the MSN popularized can complete video monitoring
The monitoring remote video of equipment, it is not necessary to consider compatibling problem, application is convenient, it is simple to promote;Not only can be single
Point monitoring, and only need to can increase several in the MSN of the communication apparatus of user with multi-point monitoring
Individual account;General on the portable equipment such as mobile phone, panel computer due to MSN, institute
To use the present invention to be little affected by any time, the restriction of region, nor need network is carried out especially
Configuration, applies very convenient.
Accompanying drawing explanation
Fig. 1 is the flow chart of the video intercommunication auto-answer method being applied to video monitoring of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings the present invention is further described in detail:
As it is shown in figure 1, the video intercommunication auto-answer method being applied to video monitoring of the present invention, pass through
(i.e. system service in Fig. 1, is operation for operating system in video monitoring equipment and automatic-answering back device software
The system service functions that system and automatic-answering back device software combine) realize, pacify in described video monitoring equipment
Dress MSN, and the configuration policy library corresponding with described MSN and version feature storehouse are set,
Described video intercommunication auto-answer method comprises the following steps:
(1) automatic-answering back device software is with os starting, detects the version of operating system in start-up course, and
Preserving this version number to internal memory, then according to the instant communication software of configuration policy library positioning associated, checking should
Whether MSN starts, if not actuated, starts MSN, and makes it process normally to step on
Record state;During os starting, automatic-answering back device software starts watchdog simultaneously, if automatic-answering back device is soft
Part the most normally starts or abnormal exits, and watchdog will restart automatic-answering back device software, restart unsuccessfully will restart whole
Individual operating system;If MSN cannot be started, will be pointed out by warning window;
(2) check MSN version, and corresponding version feature storehouse determines the response that video intercommunication is asked
Mode;
(3) whether detection MSN has long-distance video intercommunication to ask, if it has, enter next step,
If it is not, continue detection;
(4) whether detection MSN is in video intercommunication state, if it is, return step (3),
If it is not, then ask according to the content response video intercommunication of version feature storehouse;During response video intercommunication request,
Description according to version feature storehouse and current operation system version and MSN version are specified to be needed to receive
The window of message or subwindow, to realize automated toing respond to without manual intervention;
(5) after response video intercommunication request, giving MSN by intercommunication control, instant messaging is soft
Good friend's mechanism within part will verify user right;
(6) step (3) is returned after video intercommunication terminates.
In said method, operating system is the operating system of normal procedure intelligent machine or PC, as Android, IOS,
Windows, Linux etc.;MSN is the bitcom of normal procedure intelligent machine or PC, as QQ,
Skype, MSN etc.;Monitoring device is monitor terminal, and form has multiple choices, the most plate intelligence prison
Control device etc.;User's remote operation apparatus has mobile phone, panel computer or the PC etc. of routine.
During application, user use remote operation apparatus be placed on family, the monitoring in retail shop or other place sets
For carrying out communication.When user needs to obtain video information, use the instant messagings such as QQ, Skype, MSN soft
Part sends long-distance video intercommunication request to monitoring device, and institute of the present invention pressed by the automatic-answering back device software in monitoring device
The method of stating processes, thus realizes monitoring device unmanned, automatic-answering back device, and user remotely operates realization
Monitoring remote video.
Carry out automatic-answering back device by the present invention at monitoring device end, do not revise MSN, it is to avoid version
Power problem, user can appointment photographic head to family, retail shop or other place at any time and any place
Carry out video to check or video intercommunication, continue to use the security mechanism of QQ, Skype or MSN.Due to immediately
Messenger users colony is huge, largely meets user's use habit, need not train, and monitors and set
Standby end is also without human response, and therefore child old man can be conveniently used, and enables the invention to the most universal
And popularization.