1、 摘 要 随着信息的发展以及知识经济时代的到来,科技服务生活的理念越来越深入 人心,如何提高住宅的安全性,在出现意外的时候及时修检,将是建设现代智能 家居不可或缺的议题。当下,我们已经拥有了非常完备的 GSM 网络建设,作为 GSM 网络的一个基本的无线数据传输网络服务,在我国,系统运营商和系统开发商对 短消息服务日益增加,可以开发很多具有丰富功能的应用程序。随着移动通信业 务的发展,以及移动电话,个人电脑的日益普及,手机短信因其便捷,实惠,受 到了很多用户的喜爱,正日渐成为人们生活的一部分,是人们沟通,交流的一种 常用方式。 从这两点出发,提出了 GSM 短信报警系统,笔者负责该系统后台模块
2、的开发。 本文采用的程序设计方法是面向对象的方法,选择 Delphi7.0 作为开发环境,按 照软件工程方法,先对系统进行了大致的需求分析,然后将系统分为数据库管理 模块、串口通信模块和短信息编码模块等三个主要模块,并对各模块进行了系统 的详细设计。设计并开发了基于 Delphi 的 GSM 短信报警系统后台模块应用程序。 实现了对传感器传来的数据的采集、显示,同时具有指示 GSM 模块发送报警信息 的功能。整个系统经过测试,界面友好,操作简单。 关键词: Delphi 7.0;数据库;GSM;串口通信 ABSTRACT With the development of information
3、and the approach of knowledge economy era, the idea of science and technology serving life is gaining popularity, how to improve the security of the house and to solve unexpected problems timely, will be the among the issues of the construction of a modern smart home. Currently, the GSM network has
4、been well built. As a basic service of the GSM network in our country, SMS Short Message Service has been paid more and more attention by system operators and system developers. Using the GSM network as wireless data transmission network, you can develop a variety of useful applications. With the ra
5、pid development of mobile communications, the popularity of mobile phones and personal computers is growing; mobile phone text message is used by the majority of mobile phone users because of its convenience and low fees. SMS has been a part of peoples daily lives. From these two points, we put forw
6、ard the GSM SMS Alarm System, the author is responsible for the development of the background module of the system. In this paper, we used object-oriented programming method, and selected Delphi7.0 as development environment and Microsoft Access as database. According to the software engineering methods, first we analyzed the system, and designed the system as a whole. The system is divided into three main parts: the database management module, serial communication module and SMS coding module