花苑小区入侵报警系统分析与设计摘要:互联网的迅速发展正在使我们的世界和生活发生改变。随着网络和信息时代的来临,各行各业都在寻找自己的新增长点。智能建筑作为建筑社区的一员,已经进入了一个以世界网络格局高速发展的时期。防盗报警系统作为智能化系统的子系统的其中之一,从智能化到建筑化,面临着前所未有的挑战和机遇。传统的防盗报警系统是借鉴了电话线的网络报警模式。它的响应速度慢,使用维护成本高,其安全性和稳定性取决于电话线的使用。所以,该系统的独立性较差。相反,基于总线的智能防盗报警系统以建筑群内的局域网总线为底层物理网络,完全摆脱了电话线模式的束缚,具有很好的开放性、独立性、可扩展性、高效性和经济性。根据智能建筑业主的不同需求,对防盗报警系统的功能要求也有所不同。这就要求智能防盗报警系统不仅要便于使用、安装和维护,而且还要有利于扩展和升级。它还应考虑到与综合体中其他子系统的有机集成和信息共享。计算机和通信技术的发展必将引起我们对所设计系统的关注。本文设计并实现了一个基于智能楼宇局域网物理平台,采用AL-300总线模式的智能防盗报警系统。介绍了系统的组成和结构。通过对几种方案的比较,分析了采用的AL-300现场总线模式的技术特点,进一步阐明了上位机的功能,讨论了智能建筑中系统与局域网的连接方式。利用软件工程思想,详细描述了上位机软件的模块功能及相关的数据结构,描述了主程序的工作流程和下位机的通信流程。最后介绍了软件编程技术,并简要介绍了提升系统可靠性的一些简单措施。Abstract:TherapiddevelopmentoftheInternetischangingourworldandlife.Withtheadventofthenetworkandinformationage,allwalksoflifearelookingfortheirnewgrowthpoints.Asamemberoftheconstructioncommunity,intelligentbuildinghasenteredaperiodofrapiddevelopmentwiththeworldnetworkpattern.Asoneofthesubsystemsofintelligentsystem,theft-proofalarmsystemisfacingunprecedentedchallengesandopportunitiesfromintellectualizationtoarchitecture.Thetraditionalanti-theftalarmsystemdrawslessonsfromthenetworkalarmmodeoftelephoneline.Itsresponsespeedisslowandmaintenancecostishigh.Itssecurityandstabilitydependontheuseoftelephonelines.Therefore,theindependenceofthesystemispoor.Onthecontrary,thebus-basedintelligentanti-theftalarmsystemtakesthelocalareanetworkbusastheunderlyingphysicalnetworkinthebuildingcomplex,completelybreaksawayfromtheconstraintsofthetelephonelinemode,andhasgoodopenness,independence,scalability,efficiencyandeconomy.Accordingtothedifferentneedsofintelligentbuildingowners,thefunctionalrequirementsofanti-theftalarmsystemarealsodifferent.Thisrequiresthattheintelligentanti-theftalarmsystemnotonlybeeasytouse,installandmaintain,butalsobeconducivetoexpansionandupgrading.Itshouldalsotakeintoaccounttheorganicintegrationandinformationsharingwithothersubsystemsinthecomplex.Thedevelopmentofcomputerandcommunicationtechnologywillcertainlyarouseourattentiontothedesignedsystem.Thispaperdesignsandimplementsanintelligentanti-theftalarmsystembasedonthephysicalplatformofintelligentbuildinglocalareanetwork,usingAL-300busmode.Thecompositionandstructureofthesystemareintroduced.Bycomparingseveralschemes,thetechnicalcharacteristicsofAL-300fieldbusmodeareanalyzed,thefunctionsofPCarefurtherclarified,andtheconnectionmodebetweensystemandLANinintelligentbuildingisdiscussed.Basedontheideaofsoftwareengineering,themodulefunctionsandrelateddatastructuresoftheuppercomputersoftwarearedescribedindetail,andtheworkflowofthemainprogramandthecommunicationflowofthelowercomputeraredescribed.Finally,thesoftwareprogrammingtechnologyisintroduced,andsomesimplemeasurestoimprovethereliabilityoft...