Outage-proof wireless network high definition talkback camera device and control methodTechnical field
The present invention relates to a kind of safety monitoring camera head, but but be specifically related to wireless network high definition camera head and the control method of a kind of anti-power failure, breaking line preventive speech talkback.
Background technology
At present, various safety monitoring camera head kinds are a lot of on the market, but there is the imperfection part function and reliability aspect.Mainly be summarized as:
1, in the market camera head needs video line or netting twine, if behind the broken string, camera head just can't use.
2, in the market camera head does not have the in-line power battery, if after external power source or power line cut off, camera head can't use equally.
3, in the market camera head is without the intercommunication function.
But 4, there is no in the market the wireless network high definition camera head of anti-power failure, breaking line preventive speech talkback.
Summary of the invention
The purpose of this invention is to provide a kind of outage-proof wireless network high definition talkback camera device and control method.Collection with the digital circuit image; Adopt the microcomputer realization image of very lagre scale integrated circuit (VLSIC) and compression, the storage of voice; Adopt power management chip to realize that external power supply is to charging, the control of discharge of lithium battery; Adopt phonetic codec chip to realize voice signal by the microphone collection, the voice-over-net signal is exported by loudspeaker; Video and state that usable video signal output gathers; Adopt the wireless network of the audio-visual packed data of program control to transmit, reset, retrieve, arrange.By effective combination of each parts, realize the functions such as motion detection warning, power alarm, break alarm, external alert automatic video recording, network control video recording, remaining power supply control video recording, network breakpoint transmission.
For realizing above-mentioned technical purpose, reach above-mentioned technique effect, the present invention is achieved through the following technical solutions:
Outage-proof wireless network high definition talkback camera device, comprise a shell, described shell one end connects a cap, described cap center arranges a lens mount, described lens mount one end connects a camera lens other end and connects an image sensor board, described camera lens places the described cap outside, described image sensor board places described cap inboard, described image sensor board is connected with power supply and processor plate by connecting line, described power supply and processor plate are connected with microphone, wireless network module, loud speaker, lithium battery, described microphone places the described cap outside, described power supply and processor plate, described connecting line, described wireless network module, described loud speaker, described lithium battery places described enclosure, described power supply and processor plate also are connected with power supply and video output cable, and described power supply and video output cable are drawn from the described shell other end.
Further, described image sensor board has high-definition image transducer and interface circuit, high-definition image can be transferred to digital signal and output to described power supply and processor plate.
Further, described power supply and processor plate comprise a highly integrated central processing unit and digital signal processor, described central processing unit and digital signal processor are connected with non-volatile data memory, random asccess memory, power management chip, phonetic codec chip, described wireless network module, imageing sensor, real-time timepiece chip, video line, described phonetic codec chip is connected with described microphone, described loud speaker, described power management chip is connected with described lithium battery, power line, and described power line is connected with external power adapter.
Further, described central processing unit and digital signal processor, the voice signal that the image of described imageing sensor collection is carried out preliminary treatment and described microphone collection with the image preprocessor carries out preliminary treatment with described phonetic codec chip, carry out big or small bit stream data compression by audio-visual condensing routine, store and transmit, process the voice signal that network sends rear with described loud speaker output sound signal by described phonetic codec chip.
Further, described central processing unit and digital signal processor are stored audio-visual packed data in described non-volatile data memory, and described random asccess memory is stored various data and program and operating system temporarily.
Further, the management of when described power management chip is controlled to described lithium cell charging and the outage of described external power adapter described lithium battery being discharged, and provide the power supply of the different voltages of multichannel to whole system by described power management chip, described real-time timepiece chip is in the situation of system cut-off, can work by reserce cell, and can record and manage by the real-time time of program to fault time and state, audio-visual packed data, image motion detection alarm.
Further, described video line carries out data with the picture signal of described imageing sensor collection by described central processing unit and digital signal processor to be processed, and merge with system status signal, real-time clock signal etc., through conversion, form real time video signals output.
Further, described external power adapter offers described power management chip by described power line with power supply.
Further, described wireless network module is responsible for sending and receiving signal, and the signal of reception carries out legitimate verification by program, and the useful signal input program is processed.
The outage-proof wireless network high definition talkback camera device control method:
Step 1, beginning, the beginning executive program.
Step 2, initialize routine realize initial setting to each chip of system, in order to call in operating system program.
Step 3, operating system program are called in operating system program, realize the functions such as task scheduling, device drives, memory management, management of process, network web server, interrupt routine initialization.
Step 4, video-audio data compression storage by data compression, is deposited in the voice signal of the picture signal of imageing sensor and microphone in the non-volatile data memory.
Step 5, video-audio data transmit, and the video-audio data of depositing in the non-volatile data memory is sent to network by wireless network module.
Step 6, wireless network command recognition are carried out validity identification with the data that wireless network module receives, and effective order is processed, and invalid command abandons.
Step 7, set handling arrange the content such as resolution, system time, login password, wireless network password, mode of operation of imageing sensor.
Step 8, retrieval process, the contents such as searching system Operation Log, fault log, audio-visual video recording data, alert data.
Step 9, power down process are charged to daily record with off-position, the power consumption of monitoring lithium battery after the outage, the electricity consumption of dynamic reducing system, disconnection of wireless network connection; Return to form behind the incoming call, recover wireless network and connect.
Step 10, suspension are processed, and the suspension state is charged to daily record with the suspension state after reaching certain hour, according to nonvolatile storage remaining space control image sensor resolutions.Wireless network returns to form after being communicated with, and charges to daily record.
Step 11, the processing of reporting to the police are charged to daily record with states such as motion detection warning, power alarm, break alarm, external alert, adjust accordingly, and audio-visual, the picture signal of a period of time are stored separately and sent by wireless network during with warning.Enter the intercommunication state.
Step 12, clock are processed, and clock signal is cumulative, reach the stipulated time, beginning or end video recording.
Step 13, clock interrupt, and the record current time, put clock to flag bit.
Step 14, outage are interrupted, and the record current time, put the outage flag bit.
Step 15, suspension are interrupted, record current time, suspension state, the rearmounted suspension flag bit of the certain number of times of retry.
Step 16, image interrupt, and such as the image no signal, the record current time, system restarts behind the accumulative total certain hour.
The invention has the beneficial effects as follows:
Use highly integrated computer processor, in camera head, realize compression, the storage of video-audio signal; Transmit the high-definition image data by wireless network; Inside has lithium battery, realizes the outage continuous operation; Can realize intercommunication function; Realize the functions such as motion detection warning, power alarm, break alarm, external alert automatic video recording, network control video recording, remaining power supply control video recording, network breakpoint transmission.
Description of drawings
Fig. 1 overall construction drawing;
Fig. 2 electrical principle block diagram;
Fig. 3 is electrically connected block diagram;
Fig. 4 program flow diagram.
Number in the figure explanation: 101, shell, 102, camera lens, 103, lens mount, 104, image sensor board, 105, connecting line, 106, power supply and processor version, 107, microphone, 108, lithium battery, 109, loud speaker, 110, power supply and video output cable, 111, wireless network module, 112, cap, 201, imageing sensor, 202, central processing unit and digital signal processor, 203, real-time timepiece chip, 204, phonetic codec chip, 205, power management chip, 206, external power adapter, 207, power line, 208, video line, 210, non-volatile data memory, 211, random asccess memory.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
With reference to Fig. 1, Fig. 2, Fig. 3, shown in Figure 4, outage-proof wireless network high definition talkback camera device, comprise ashell 101, describedshell 101 1 ends connect acap 112, describedcap 112 centers arrange alens mount 103, describedlens mount 103 1 ends connectcamera lens 102 other ends and connect animage sensor board 104, describedcamera lens 102 places describedcap 112 outsides, describedimage sensor board 104 places describedcap 112 inboards, describedimage sensor board 104 is connected with power supply andprocessor plate 106 by connectingline 105, described power supply andprocessor plate 106 are connected with microphone 107,wireless network module 111,loud speaker 109,lithium battery 108, describedmicrophone 107 places describedcap 112 outsides, described power supply andprocessor plate 106, described connectingline 105, describedwireless network module 111, describedloud speaker 109, describedlithium battery 108 places describedshell 101 inside, described power supply andprocessor plate 106 also are connected with power supply andvideo output cable 110, and described power supply andvideo output cable 110 are drawn from describedshell 101 other ends.
Further, describedimage sensor board 104 has high-definition image transducer and interface circuit, high-definition image can be transferred to digital signal and output to described power supply andprocessor plate 106.
Further, described power supply andprocessor plate 106 comprise a highly integrated central processing unit anddigital signal processor 202, described central processing unit anddigital signal processor 202 are connected withnon-volatile data memory 210,random asccess memory 211,power management chip 205,phonetic codec chip 204, describedwireless network module 111,imageing sensor 201, real-time timepiece chip 203,video line 208, describedphonetic codec chip 204 is connected with describedmicrophone 107, describedloud speaker 109, describedpower management chip 205 is connected with describedlithium battery 108,power line 207, describedpower line 207 is connected withexternal power adapter 206.
Further, described central processing unit anddigital signal processor 202, the voice signal that the image that describedimageing sensor 201 is gathered carries out preliminary treatment and 107 collections of described microphone with the image preprocessor carries out preliminary treatment with describedphonetic codec chip 204, carry out big or small bit stream data compression by audio-visual condensing routine, store and transmit, process rear with describedloud speaker 109 output sound signals by describedphonetic codec chip 204 voice signal that network sends.
Further, described central processing unit anddigital signal processor 202 be the storage in the describednon-volatile data memory 210 of audio-visual packed data, and describedrandom asccess memory 211 is stored various data and program and operating system temporarily.
Further, the management of when describedpower management chip 205 is controlled to describedlithium battery 108 chargings and 206 outage of described external power adapter describedlithium battery 108 being discharged, and provide the power supply of the different voltages of multichannel to whole system by describedpower management chip 205, described real-time timepiece chip 203 is in the situation of system cut-off, can work by reserce cell, and can record and manage by the real-time time of program to fault time and state, audio-visual packed data, image motion detection alarm.
Further, the picture signal that describedvideo line 208 gathers describedimageing sensor 201 is carried out data by described central processing unit anddigital signal processor 202 and is processed, and merge with system status signal, real-time clock signal etc., through conversion, form real time video signals output.
Further, describedexternal power adapter 206 offers describedpower management chip 205 by describedpower line 207 with power supply.
Further, describedwireless network module 111 is responsible for sending and receiving signal, and the signal of reception carries out legitimate verification by program, and the useful signal input program is processed.
The outage-proof wireless network high definition talkback camera device control method:
Step 1, beginning, the beginning executive program.
Step 2, initialize routine realize initial setting to each chip of system, in order to call in operating system program.
Step 3, operating system program are called in operating system program, realize the functions such as task scheduling, device drives, memory management, management of process, network web server, interrupt routine initialization.
Step 4, video-audio data compression storage by data compression, is deposited in the voice signal of the picture signal of imageing sensor and microphone in the non-volatile data memory.
Step 5, video-audio data transmit, and the video-audio data of depositing in the non-volatile data memory is sent to network by wireless network module.
Step 6, wireless network command recognition are carried out validity identification with the data that wireless network module receives, and effective order is processed, and invalid command abandons.
Step 7, set handling arrange the content such as resolution, system time, login password, wireless network password, mode of operation of imageing sensor.
Step 8, retrieval process, the contents such as searching system Operation Log, fault log, audio-visual video recording data, alert data.
Step 9, power down process are charged to daily record with off-position, the power consumption of monitoring lithium battery after the outage, the electricity consumption of dynamic reducing system, disconnection of wireless network connection; Return to form behind the incoming call, recover wireless network and connect.
Step 10, suspension are processed, and the suspension state is charged to daily record with the suspension state after reaching certain hour, according to nonvolatile storage remaining space control image sensor resolutions.Wireless network returns to form after being communicated with, and charges to daily record.
Step 11, the processing of reporting to the police are charged to daily record with states such as motion detection warning, power alarm, break alarm, external alert, adjust accordingly, and audio-visual, the picture signal of a period of time are stored separately and sent by wireless network during with warning.Enter the intercommunication state.
Step 12, clock are processed, and clock signal is cumulative, reach the stipulated time, beginning or end video recording.
Step 13, clock interrupt, and the record current time, put clock to flag bit.
Step 14, outage are interrupted, and the record current time, put the outage flag bit.
Step 15, suspension are interrupted, record current time, suspension state, the rearmounted suspension flag bit of the certain number of times of retry.
Step 16, image interrupt, and such as the image no signal, the record current time, system restarts behind the accumulative total certain hour.