1摘要智能安防设备以前沿的技术与设计理念走进了市场,让人们的生活更加便捷智能。通过智能安防设备,用户可以更好的远程感知防护周围环境和信息,这种安防设备,会通过软件支持以及数据交互,实现强大的功能。越来越多的创业者、科技公司、传统厂商加入了智能安防的开发设计当中,然而目前来说智能硬件设备依处在发展早期阶段,市场上大多数的产品都只是空炒概念、缺乏创新,不断叠加各式各样的功能。我们要抓住市场上已有产品的不足,将功能以简单优雅的元素和色调呈现给用户,对其功能进行智能化的时候,要找准用户需求,以需求为导向、以健康安全为切入点,为用户设计一款具有针对性的智能门禁系统。本文主要完成以下工作:1.研究智能门禁系统通信模块的需求,根据需求将其分成几个子模块,并将每个模块所需要的技术罗列出来,查阅网上资料、图书、期刊、论文来掌握相关技术。2.GSM模块通过串口通信实现拨打电话和发送短信的功能。3.掌握Qt配置文件的读写操作,将系统所需要的设置保存到配置文件中。4.连接并实现socket通信连接的建立以及数据的发送与接收,数据包格式的定义,数据包的打包解包操作的实现,数据包的完整性验证。5.Qt国际化支持的实现。关键词:嵌入式,门禁系统,Linux,Qt2ABSTRACTIntelligentsecurityequipmenttotheforefrontoftechnologyanddesignconceptintothemarket,letthelifeofpeoplemoreconvenientintelligence.Throughintelligentsecuritysystem,theusercanbetterprotectiveenvironmentremotesensingandinformation,thiskindofsecurityequipment,throughsoftwaresupportanddatainteraction,powerfulfunctions.Moreandmoreentrepreneurs,technologycompanies,thetraditionalmanufacturerstojointhedevelopmentanddesignofintelligentsecurity,fornow,however,intelligenthardwareequipmentaccordingtothedevelopmentinearlystage,mostoftheproductsonthemarketjustemptyconcept,lackofinnovation,constantlysuperpositionofavarietyoffunctions.Weshouldseizetheshortcomingsofexistingproductsonthemarket,thefunctionwithasimpleandelegantelementsandcolourpresentedtotheuser,tointelligent,itsfunctiontogettheuserrequirements,demandoriented,withhealthandsafetyasthebreakthroughpoint,fortheusertodesignatargetedintelligententranceguardsystem.Thispapermainlydothefollowing:1.Researchthedemandoftheintelligententranceguardsystemcommunicationmodule,accordingtothedemandwillbedividedintoseveralmodules,andwilllisteachmoduleneedtechnology,accesstoonlinedata,books,journals,paperstomasterrelevanttechnology.2.GSMmodulethroughtheserialportcommunication,wecanrealizethefunctionofcallandsendtextmessages.3.MastertheQtconfigurationfilereadandwriteoperations,thesystemSettingssavedtotheconfigurationfileyouneed.4.Establishingtheconnectionandrealizethesocketcommunicationconnectionanddatasendingandreceiving,datapacketformat,thedefinitionofthepackageofpacketunpacktheimplementationoftheoperation,theintegrityofthedatapacketvalidation.5.TherealizationoftheQtinternationalizationsupportKeywords:Embedded,entranceguardsystem,Linux,QT,,3目录摘要....................................................................................................................................1ABSTRACT.......................................................................................................................21引言................................................................................................................................51.1课题背景..............................................................................................................51.2国内外研究现状..................................................................................................61.3研究的主要内容..................................................................................................71.3.1系统研究的主要内容...............................................................................71.3.2本文研究的主要内容...............................................................................71.4本文的组织结构..................................................................................................82.系统分析.......................................................................................................................92.1可行性分析..........................................................................................................92.2功能需求分析......................................................................................................92.3系统用例分析....................................................................................................102.3.1系统用例概述.........................................................................................102.3.2用例分析.................................................................................................103.总体设计.....................................................................................................................123.1总体框图............................................................................................................123.2工作流程图........................................................................................................123.3嵌入式系统设计方法........................................................................................133.3.1系统软硬件协同设计流程.....................................................................133.4数据库设计........................................................................................................143.4.1.E-R图(powerdesigner).....................................................................144.系统开发环境构建......................................................................................................154.1硬件开发环境介绍............................................................................................154.2软件开发环境介绍...................................................................................