| The Internet burn the wind is changing our world and life. With the informationera coming near, every walk of life is looking for an own new growth to order. Be amember of building complex, the Intellectual Buildings enter a high-speeddevelopment period by right of the worlds turning to the network. As a sub-systemof the intellectual system in the Intellectual Buildings, the Intelligent Guard AgainstTheft and Alarm System is faced with the same challenges and opportunities as theIntellectual Buildings do.Traditional Intelligent Residence Guard Against Theft and Alarm System is analarm system on the basis of telephone lines, which has a long response time, highapplication and maintenance cost and low independence with the security andstability level depending on that of telephone networks. Contrarily, theMaster-slavery Guard Against Theft And Alarm System depends on local areanetwork in the building cluster as a physical network, thereby, getting away from thetie of the telephone line mode thoroughly, and takes on open capability,independencecapability, expand capability,efficiently capability and economic capability etc.Aiming at the need of the owner in the intelligence buildings, the function ofthe Guard Against Theft and Alarm System is not same. It must be easy to use andsetting and maintenance as well as spread and upgrade, and still have the ability tobe integrated and share information with other systems. The development from thecommunication technology and computer technology brought us.This paper designs and implements an Intelligent Residence Guard AgainstTheft and Alarm System, a master-slavery Lonworks network connected with localarea network. The structure and the constitution of the system and the structure ofcomputer networks are introduced. By comparing with the several diversifiedsolutions, the technical characteristics of the locale fieldbus are analyzed. Lonworkslocale connection solution is adopted to assign the functions of Upper LayerComputer and microcomputer-based lower control and to determine the communication protocols between Upper Layer Computer and microcomputer-basedlower control. According to the thinking of software engineering, the paper explaine thefunction of module and the data configuration to the committee and describe thework flow of main program. In the end, the paper introduce the technology of programmingand several measures of enhance reliability in the system. |