基于S3C2410和嵌入式Internet的家庭视频监控系统设计

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

上海交通大学硕士学位论文基于S3C2410和嵌入式Internet的家庭视频监控系统设计姓名:张建申请学位级别:硕士专业:控制理论与控制工程指导教师:曹广益200701015S3C2410Internet:S3C2410203MHzMPEG-4MPEG-4RTPUDP/IPInternet6LinuxVideo4LinuxMPEG-47DESIGNOFFAMILYVIDEOSURVEILLANCESYSTEMBASEDONS3C2410ANDEMBEDDEDINTERNETABSTRACTWiththefastdevelopmentofeconomyandtheimprovementofthelivingpeace,peoplehavelessandlesstimetocareforthefamilyandfeelmoreandmorenervous.Theynotonlydevotethemselvestothecomplicatedjobsbutalsocarefortheirfamilies.Howtosolvethiscontradictionhasbecomepeople’sfocus.Thedevelopmentofembeddedtechnology,networktechnologyandmultimediatechnologyhassolvedpeople’sannoyance.Itispeople’sfirstchoicethatconstructingaflexible,highefficient,highextendedandhighreliablesurveillancesystemwhichcombinestheembeddedsystemmultimediaandthenetworktechnology.Thetraditionalnetworkvideosurveillancesystemssuchastheanalogvideosurveillancesystemareallappliedtothespecialvideosurveillancefield.Theyuseowner-usecircuitandanalogtelevisionsignaltoimplementandneedalotofhardwareandthereforethecostishigh.Becauseitiscomplicatedtoimplementthiskindofsystem,itneedsexpertstocomplete.Alltheseleadtoitsdifficultytoenterthecommonfamily.Giventothisconditiontheauthorcomesupanewkindofsolution.Thesystemconsistsoftwopartswhicharethevideosurveillance8terminalsandthenetworkwhiletheformerisonthefamilysurveillancefield.ThevideosurveillanceterminalusesthemicroprocessorS3C2410whichisproducedbySAMSUNGCompanyinSouthKoreaandthemainfrequencyofthemicroprocessorisupto203MHzwhichisveryfast.ThevideocapturedbythevideodeviceiscodedandcompressedbytheMPEG-4algorithmandissenttothemicroprocessor.AfterprocessedbyittheMPEG-4datastreamissenttovideosurveillancenetwork.ThentheMPEG-4datastreamispackedbytheReal-timeTransportProtocolandUserData-diagramProtocolandtheInternetProtocol.Finallythedatapacketistransmittedtotheuser.Thewholesystemisbasedonmoduleconstructer.Eachmodulehasrelativeindependence.Thisenhancestherobustnessandflexibility.Whenonemoduleneedsreplacinganotherdoesn’tneedgreatchange.Ithasgreatadvantagetoupgradethesystem.Alsothesystemusestheembeddedsolutionwhichleadstothelowcostandiseasytouseandspread.Keywords:videosurveillance,embeddedLinux,Video4Linux,MPEG-4,Real-timeTransportProtocol3200711642007116200711631.1:.PCPC[1]490()[2]1.25mp3PDA1.2.1EmbeddedSystem/I/0()(---);1-1Figure1-1softwarestructureofembeddedsystem461234mWµW1.2.2PC1.CPUCPUCPU2.3.4.5.76.1.31.3.1[3]PC8163291.3.2[1]12Figure1-2typicalstructureofremotesurveillancesystem/101.4S3C2410ARM9S3C2410CPULinuxUSBMPEG-4CPUInternet1)2)USB3)Video4Linux4)MPEG-45)RTP/UDP/IP11Linux2.1InternetRTP/UDP/IPInternetInternet2.1.1/USBHUBUSB2-1Figure2-1totalstructurediagramofsystemRAM/ROM/FLASHUSBHUBS3C2410MPEG4USBUSBInternetRTP/UDP/IP122-1USBUSBUSBS3C2410Internet2.1.22-1CPUFlashSDRAMCPUSUMSANGARMS3C2410MPEG-4MPEG-4Internet2-2Figure2-2systemsoftwarestructurediagramWEBWEBCGIMSQLWEBCGIHTTP/TCP/IPTCP/IPRTP/UDP/IP13USBS3C2410JPEGEncoderJPEGAVIUARTWEBHTTPBoaWEBBoaHTTPWEBCGICGI()WEBCGIWEB(CGI)WEBCGICGIWEBWEBCGICCGI1.MSQLmSQL(MiniSQL)[4]mSQLLinuxmSQLAPICCGImSQL2.143.[3]UDPUDPTCP/IPTCP/IP2-3UDPIP2-3TCP/IPFigure2-3hierarchicalclassificationmodelofTCP/IPProtocolTCP/IPIPTCPUDPTCP15UDPUDPTCPUDPTCPUDPTCPTCPUDPUDPUDPUDPUDPIPIP:;RTPRTPRTCPRTPRTCPRTP/UDP/IPQoSRTP4.16WEBWEBCGI5.WEBMicrosoftInternetExplorer2.2Linux32MPULinuxBootloaderLinuxFlash2.2.1LinuxLinuxUNIXLinuxTorvaldsLinuxLinuxx86,Alpha,Sparc,MIPS,PPC,Motorola,NEC,ARMLinux[5];POSIX;;shell;17;;;LinuxLinuxLinuxLinuxGPLGPLGPLUnix/LinuxC.LinuxInternetLinuxLinuxLinuxPCLinuxLinuxLinuxLinuxLinux2.2.2Linux()18PCPC()PCPCLinux(RedHatLinux9.0)(FTP)PCLinuxLinuxPC()LinuxPC()WindowsftpTelnetARMLinuxGNUPCftpTelnetPCLinuxPCTelnetLinux(Linux)LinuxPCLinuxGNUftpLinux()GNUPCTelnetLinuxLinuxMakeFilePCTelnetftpPCADSSDTFlash192.2.3BootloaderBootloaderBootloaderBootloaderCPUSDRAMLinuxRAMDISKRAMDISKRAMDISKFlashBootloaderLinuxBootloaderBotloaderCPUBootloaderstagelstage2CPUstagelARMstage2CBootloaderstage1stage1Bootloaderstage2,BootloaderCPUCPURAM20stage2RAMstage2RAMstage2Bootloaderstage2stage2LinuxI/O4GBRAMFlashRomabBootloaderLinux2.2.4minicomREDHATLinux9.0SHELLROOTREDHATLinux9.0moumt/dev/cdrom/mnt/cdrom/mnt/cdrom(cdrom/dev/had)mount-tiso9660/dev/hdb/mntREDHATLinux9.0CDROM,CDROMmkdir/usr/local/arm21mount/dev/cdrom/mnt/cdromcd/cp/mnt/cdrom/bin/cross-2.95.3.tar.bz2/usr/local/arm/cp/mnt/cdrom/bin/Linux_for_s3c2410.gztarzxvfLinux_for_s3c2410.gzcd/usr/local/arm/tar-jxvfcross-2.95.3.tar.bz2Linux2.2.5LinuxROOT/Linux/arch/arm/boot/zImageshellmakemenuconfig.config,makemenuconfig.configmakedepmakecleanmakezImageMakefileLinuxLinuxshellloginminicomBootloaderLinuxLinux22USBLinux3.13.1.1Linux,,,,,:Linux,,:/,I/O,,,,,,I/O,CPU(c/b),,,,,,,,,,23I/O[5]1openI/OopenOpenI/Oopen2closeclose3readI/Oread4writeI/Owrite5ioctlLinux.omodule/devmknod/proc/devices24Linux[6].oinsmod*.o/proc/devices3ls-l/dev/had3/devmknodopenreadwritereadwrite/lib/modules/2.4.XXdepmodmodprobe/etc/modules.confaliaseth0e100e100.o3-13-1LinuxFigure3-1FlowchartofdevicedriverofLinux253.1.2USBUSBUniversalSerialBus””Compaq()DECIBMIntelNECNorthernTele

1 / 76
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功