CN202798985U - Campus classroom video monitoring system based on network - Google Patents

Campus classroom video monitoring system based on network Download PDF

Info

Publication number
CN202798985U
CN202798985U CN 201220405583 CN201220405583U CN202798985U CN 202798985 U CN202798985 U CN 202798985U CN 201220405583 CN201220405583 CN 201220405583 CN 201220405583 U CN201220405583 U CN 201220405583U CN 202798985 U CN202798985 U CN 202798985U
Authority
CN
China
Prior art keywords
module
network
video
image
classroom
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 201220405583
Other languages
Chinese (zh)
Inventor
姚江超
黄晓霞
刘伟海
陈昊腾
吴玲
张阳东
何德宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN 201220405583 priority Critical patent/CN202798985U/en
Application granted granted Critical
Publication of CN202798985U publication Critical patent/CN202798985U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)

Abstract

The present utility model discloses a campus classroom video monitoring system based on network. The system comprises an input module, a network control signal transmission module, a video image acquisition module, an H.264 image compression module, a network data transmission module, an H.264 image decompression module and a video play module which are successively connected. In the system, advantages of network can be fully utilized, line laying can be reduced, line management and maintenance difficulties can be overcome, and videos can be transmitted to a control end through the network and checked.

Description

Classroom, based on network campus video monitoring system
Technical field
The utility model relates to the video monitor field, particularly classroom, a kind of based on network campus video monitoring system.
Background technology
Video monitor relatively more commonly used all is traditional analog video surveillance in the market, and digital video surveillance occurs, but still does not have large-scale popularization and application.The video monitor in classroom, present most campus also all is traditional video monitoring system based on analog signal, and there are a lot of drawbacks in this system in the processing of the laying of circuit, back end of line and management, and cost is very high.In addition, the network utilization that lay in the classroom, campus is very low, distributes to teacher or the student by route structure WLAN (wireless local area network) except normal teaching use and subnetwork bandwidth, and a large amount of Internet resources all are in idle state.
The utility model content
The purpose of this utility model is that classroom, a kind of based on network campus video monitoring system will be provided, and can address the above problem.
According to an aspect of the present utility model, classroom, a kind of based on network campus video monitoring system is provided, comprise input module, receive user's operation, by the network control signal transport module signal that representative of consumer operates transferred to the video image acquisition module; The network control signal transport module; The video image acquisition module receives the control signal that the network control signal transport module is exported, and exports the vedio data that gathers to H.264 image compression module; H.264 image compression module the vedio data by the output of video image acquisition module that receives is compressed, and the vedio data after will compressing exports H.264 image decompression module to by the network data transmission module; The network data transmission module; H.264 the image decompression module is carried out decompress(ion) to the vedio data by the output of network data transmission module that receives, and is exported the vedio data behind the decompress(ion) to the video playback module; The video playback module receives by the vedio data behind the decompress(ion) of H.264 image decompression module output, displaying video image.
Classroom, the based on network campus of the utility model video monitoring system can take full advantage of the advantage of network, reduces the laying of circuit, overcomes the difficulties such as management maintenance of circuit, video is transmitted through the network to control end checks.
In some embodiments, classroom, the based on network campus of the utility model video monitoring system also comprises the Image Saving module of preserving the real-time video image of playing of video playback module.Thus, has convenient effect of preserving image.
In some embodiments, input module comprises keyboard, mouse or touch-screen.Thus, has easy to operate effect.
In some embodiments, the video image acquisition module comprises video camera.Thus, has the general effect that is easy to get of hardware.
In some embodiments, classroom, the based on network campus of utility model video monitoring system also comprises display, in same interface display input module, video playback module and Image Saving module.Thus, have handled easily, the convenient effect that monitors.
Description of drawings
Fig. 1 is system's connection diagram of a kind of execution mode of classroom, based on network campus of the present utility model video monitoring system.
Fig. 2 is the flow chart of network control signal transport module.
Fig. 3 is the flow chart of video image acquisition.
Fig. 4 is the coding flow chart of H.264 image compression module.
Fig. 5 is the flow chart of network data transmission module.
Fig. 6 is the coding flow chart of H.264 image decompression module.
Fig. 7 is the design diagram on display interface of input module.
Fig. 8 is the design diagram on display interface of Image Saving module
Fig. 9 is the design diagram that input module, video playback module and Image Saving module three are combined in same display interface.
Embodiment
Below in conjunction with accompanying drawing the utility model is described in further detail.
Fig. 1 has schematically shown classroom, the based on network campus video monitoring system according to a kind of execution mode of the present utility model.
As shown in Figure 1, this classroom, based on network campus video monitoring system comprises successively the input module 1 that connects, network control signal transport module 2, video image acquisition module 3, H.264 image compression module 4, network data transmission module 5, H.264 view data decompression module 6, video playback module 7 and Image Saving module 8.Wherein input module 1, video playback module 7 and Image Saving module 8 all are arranged on 10 li of PCs, and show at the same interface of display 11.
Will be in advance at PC 10 by keyboard or touch-screen input IP address and corresponding classroom number formation IP book with it.When needs monitor the classroom by native system, at first pass through keyboard at input module 1, mouse or touch-screen are chosen the IP address or the classroom number that prestore, the order of opening video camera just transfers to video image acquisition module 3 on the camera control board in corresponding classroom by network control signal transport module 2, the vedio data that collects is through after H.264 image compression module 4 is compressed, transmit back PC by network data transmission module 5, through view data decompression module 6 decompress(ion) vedio datas H.264, be transferred to video playback module 7 through the vedio data of decompress(ion) again and carry out video playback, video playback module 7 in progress video images can be preserved in real time by Image Saving module 8.
Above-mentioned video monitoring system is realized by following method:
1, input module 1: this module utilizes the QT programming under the Linux environment to realize, be designed to the form of an IP book, call QPushButton and generate add, delete, select and four function keys of Clean LineEdit, call QLineEdit and generate classroom, two input frames in IP address, in order to edit telephone directory, use connect (signal, the slot) function under the QT, realize the interconnection between each edit operation.
The display interface of IP input on display as shown in Figure 7.
Two input frame inediting classroom information below IP directory.First input frame input classroom number, second input frame inputted the IP address of this classroom.After inputting one group of classroom information, just this can be organized behind the click Add key in the list box above the classroom information adding IP directory, if input error is clicked Clean LineEdit key and just can be removed the interior content of two input frames.In list box, select arbitrarily one group of classroom information, click the Delete key and just this classroom information deletion can be fallen, click the Select key and just can select this classroom information.
2, the network control signal transport module 2: this module is passed through Ethernet, utilize the socket programming under the QT to realize, set up the socket object, set up socket connection and three steps of transfer of data by initialization successively, realization transfers to camera control panel with the control command of the unlatching video camera of PC.The network transmission process client of this mode is PC, and server end is camera control panel, and the network control signal transfer process as shown in Figure 2.
In step 201, set up the QSocket object at the PC end, set up the QServerSocket object at the camera control panel end; At the PC end, the connectToHost (IP0.A) that calls under the QSocket connects with camera control panel.
In step 202, call the writeBlock () function under the Qsocket data that will send and the form with data flow of ordering at the PC end and be sent to camera control panel.
In step 203, at the camera control panel end, the inner QSocket object of setting up of QServerSocket function call uses readBlock () the function reading data flow under the Qsocket to send to camera control panel, writes a buffer area.
3, the video image acquisition module 3: the video image acquisition module divides four steps to realize by carry out application and development at embedded camera control panel, the loading of embedded camera driver successively, writing of IMAQ program, the cross compile of program and the programming of program.
1) embedded camera control panel is loaded v41 and drive, carry out video acquisition to use camera;
2) the captureCAM_V4L () structure under the transplanting OpenCV, and the function of the initialization relevant with IMAQ, open and close camera, transplant GrabFrameCAM_V4L () and RetrieveFrameCAM_V4L () function, use GrabFrameCAM_V4L () function to grasp a two field picture, use RetrieveFrameCAM_V4L () function arrangement view data, realize the collection of image;
3) continuous acquisition of video image, call the QTimer class under the QT, produce a timer object, the timing of this object is set, this timer object can provide a spill over after each timing reaches, this spill over is as the signal source that drives IMAQ function collection video image, and each spill over arrival can drive the IMAQ function and gather a two field picture, and then realizes the continuous acquisition of video image.
The flow process of the continuous acquisition of video image as shown in Figure 3.
In step 301, open video camera and carry out the initialization setting.In step 302, the QTimer timer begins timing.In step 303, judge whether to arrive setting-up time, when the time of setting does not reach and will return step 302QTimer timer and continue timing, after setting-up time reaches, just call GtabFrameCAM_V4L () function in step 304 and grasp a two field picture, call RetrieveFrameCAM_V4L () function arrangement view data in step 305, write buffer area in the view data that step 306 is put collection in order.
4) under PC linux environment, construct cross compilation environment after code is finished, code is compiled, use hyper terminal or minicom that compiled code is burnt on the camera control panel.
4, H.264 image compression module 4:H.264 image compression module realizes that by the image compression function that calls in the storehouse H.264 image compression process is divided into two parts: H.264 the storehouse migrates to camera control panel and the compression function that calls in the storehouse is realized image compression.
1) H.264 storehouse (T.264 realizing) transplants on the embedded camera control panel, for ensuing image compression process provides library function call;
2) image compression is selected the fast_speed mode of operation, and the image that collects is converted into the YUV420P form by RGB, coincide with the coding function interface in order to make it.
H.264 the coding flow process of image compression module as shown in Figure 4.
In step 401, create a T264_param_t.In step 402, the relevant parameter among the T264_param_t is set.In step 403, open encoder, distribute the buffer memory headroom, in step 404, read, and with the T264_encode frame video of encoding.Leave coding result in a buffer the inside in step 405.
Result can be writing in files, perhaps sends to network; Discharge buffer after the end-of-encode and close encoder.
5, the network data transmission module 5: this module is passed through Ethernet, utilize the socket programming under the QT to realize, be divided into successively that initialization is set up the socket object, set up the socket connection, successful connection and four steps of transfer of data, realization transfers to PC with the image compression data of embedded control panel, the network transmission process client of this CS mode is embedded control panel, and server end is PC.The network data transmission flow process as shown in Figure 5.
In step 501, set up the QSocket object at the camera control panel end, set up the QServerSocket object at the PC end; At the camera control panel end, the connectToHost (IP1.B) that calls under the QSocket connects with the PC end;
In step 502,, the camera control panel end calls the writeBlock () function under the Qsocket data that will send and the form with data flow of ordering and is sent to the PC end;
In step 503, at the PC end, QServerSocket calls the inner QSocket object of setting up, and uses the readBlock () function under the Qsocket to read the data flow of sending, and writes a buffer area.
6, H.264 image decompression module 6:H.264 image decompression module realizes that by the decompression function of calling in the storehouse H.264 the image decompression compression process is followed successively by: H.264 the storehouse migrates to PC and calls the decompression that decompression function in the storehouse realizes view data.
1) H.264 storehouse (T.264 realizing) transplants on the PC, for ensuing image decompression process provides library function call.
2) Frame that receives is sent into decompression function, function will be decoded to follow-up predictive frame according to the reference frame that receives, and be reduced into the front view data of coding, and picture format still is YUV420P;
H.264 the coding flow process of image decompression module as shown in Figure 6.
In step 601, create a T264_param_t.In step 602, open decoder.In step 603, compressed data are sent into decoder.Judge in step 604 whether decoder needs more data, if necessary, then return step 603 and continue compressed data are sent into decoder; If do not need, then at step 605 decode video data.Close decoder in step 606.
3) transfer YUV420P to rgb format, so that display device shows.
7, the video playback module 7: this module is display video image on the display interfaces of PC 10, and this video image is the video image of the shot by camera in the classroom corresponding with the IP address by input module 1 appointment.Utilize the QT programming under the linux to realize, by calling the setPixmap drawing function under the QLabel, regularly on the QLabel interface, the view data that receives is depicted as the image of a width of cloth width of cloth, realize the broadcast of a frame frame picture, the broadcasting speed of image will guarantee that per second is more than 25 frames, in order to the visual persistence effect of employment, realize continuous animation effect, i.e. video.
8, the Image Saving module 8: this module is specified at the display interfaces of PC 10 and is preserved video playback module 7 in progress video images, and video image is saved on the memories such as hard disk or flash memory.The Image Saving module is utilized the preservation of the realization of the save function in QImage class image under the QT.The Image Saving module is divided into the Image Saving part and checks the preservation image section.
As shown in Figure 8, at the PC display interface Capture one Frame button object and a Display oneFrame button object that generates with the QPushButton class that generates with the QPushButton class is set, an object that generates with the QListBox class is set simultaneously is used for showing the image file of having stored.
1) after Capture one Frame button is pressed, eject an Entersavepath path block, be used for user's input picture storing path, the user inputs and just can select to intercept a current two field picture behind this path and preserve.
2) choose a file of having preserved in the QListBox object box, after Display one Frame button was pressed, the setPixmap function that just can call under the Qlabel read the respective path file, shows at QLabel.
Input module, video playback module and Image Saving module three are combined in design that the same display interface of display shows as shown in Figure 9.Respectively IP directory, ShowImage and Service required and Capture show.
IP directory part is with the explanation of Fig. 7.
ShowImage partly is used for display video.It is respectively Connect, Start, Stop and Exit that Service required partly has four buttons, after clicking the Connect key, PC will be set up network connection by the camera control board of Ethernet and selected classroom, after clicking the Start key, the video image that compression is good will transmit by Ethernet, just can be at ShowImage zone display video after the decompress(ion), behind the click Stop key, transmission of video will stop; After clicking the Exit key, this network connection will be interrupted.
Capture show partly has Capture one frame and two buttons of Display one captured frame and the bottom-right list box in main interface.Its feature operation is with the explanation of Fig. 8.
Above-described only is execution modes more of the present utility model, is not the restriction to the utility model design.For the person of ordinary skill of the art, under the prerequisite that does not break away from the utility model creation design, can also make some distortion and improvement, these all belong to protection range of the present utility model.

Claims (5)

1. classroom, based on network campus video monitoring system is characterized in that, comprises
Input module receives user's operation, by the network control signal transport module signal that representative of consumer operates is transferred to the video image acquisition module;
The network control signal transport module;
The video image acquisition module receives the control signal that described network control signal transport module is exported, and exports the vedio data that gathers to H.264 image compression module;
H.264 image compression module the vedio data by described video image acquisition module output that receives is compressed, and the vedio data after will compressing exports H.264 image decompression module to by the network data transmission module;
The network data transmission module;
H.264 the image decompression module is carried out decompress(ion) to the vedio data by described network data transmission module output that receives, and is exported the vedio data behind the decompress(ion) to the video playback module;
The video playback module receives by the vedio data behind the decompress(ion) of described H.264 image decompression module output, displaying video image.
2. classroom, based on network campus according to claim 1 video monitoring system characterized by further comprising and preserves the in real time Image Saving module of the video image of broadcast of video playback module.
3. classroom, based on network campus according to claim 1 and 2 video monitoring system is characterized in that described input module comprises keyboard, mouse or touch-screen.
4. classroom, based on network campus according to claim 1 and 2 video monitoring system is characterized in that described video image acquisition module comprises video camera.
5. classroom, based on network campus according to claim 1 and 2 video monitoring system characterized by further comprising display, in same interface display input module, video playback module and Image Saving module.
CN 201220405583 2012-08-16 2012-08-16 Campus classroom video monitoring system based on network Expired - Fee Related CN202798985U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220405583 CN202798985U (en) 2012-08-16 2012-08-16 Campus classroom video monitoring system based on network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220405583 CN202798985U (en) 2012-08-16 2012-08-16 Campus classroom video monitoring system based on network

Publications (1)

Publication Number Publication Date
CN202798985U true CN202798985U (en) 2013-03-13

Family

ID=47826152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220405583 Expired - Fee Related CN202798985U (en) 2012-08-16 2012-08-16 Campus classroom video monitoring system based on network

Country Status (1)

Country Link
CN (1) CN202798985U (en)

Similar Documents

Publication Publication Date Title
CN201465328U (en) Remote medical teaching system based on streaming media transmission
CN105306861B (en) A kind of Web-based instruction recorded broadcast method and system
CN101917415B (en) Digital court system for remote court trial
CN101505365B (en) Real-time video monitoring system implementing method based on network television set-top box
CN108282598B (en) Software broadcasting guide system and method
CN103501310B (en) The control method that a kind of computer desktop based on videophone is shared
CN102547444B (en) Method for optimizing play of real-time video monitoring record
CN110536164A (en) Display methods, video data handling procedure and relevant device
CN106162357A (en) Obtain the method and device of video content
CN109698943A (en) A kind of web camera access platform of capacity scalable
CN103037169A (en) Picture split joint combination method of embedded hard disk video
CN112468830A (en) Video image processing method and device and electronic equipment
WO2024051824A1 (en) Image processing method, image processing circuit, electronic device, and readable storage medium
CN101296323A (en) Lossless time-delay broadcasting system
CN102694845A (en) Tri-network converged mobile phone anti-theft monitoring system
CN202798985U (en) Campus classroom video monitoring system based on network
CN204408469U (en) A kind of intelligent recorded broadcast device, system and recorded broadcast mainboard
CN202111782U (en) 5million pixel video processing system
CN104125497A (en) Webpage video recording method and device
CN104363487A (en) STB (set top box) with function of automatic channel selection on startup
CN206422850U (en) Embedded recording and broadcasting system
CN106331553A (en) Video storage method and device and electronic equipment
CN104168509B (en) Program editing method applicable to environment with various material sources
CN102724426A (en) Method for carrying out real-time interaction on special effect processing system and clip system and system thereof
CN111836087A (en) Method and device for processing TV log information based on mobile phone capture

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130313

Termination date: 20130816