摘要
介绍了一种通过移动终端来远程控制电器开关的Android应用系统。基于Android平台编写客户端界面,用java实现了Socket网络编程,并设计了可靠的双向通信协议,使移动终端与CC2530通信模块进行通信,保证控制过程的安全可靠性。用户可通过对硬件进行IP配置,客户端登陆WIFI,连接硬件部分的IP和端口等操作,实现Android应用程序对继电器的远程控制。
An Android application system designed to remotely control the electric equipment' s switch with a mobile terminal is intro- duced in this article. The interface for the client is programmed on the Android Platform, and the part of the socket network program- ming is achieved by Java. We have designed a reliable two - way communication protocol to make it possible for the mobile terminal to communicate with the CC2530 module, which also highly guarantees the security and reliability during the operation. With a series of configurations, including setting the IP address of the hardware part, logging in WIFI on the Android terminal, connecting the IP ad- dress and port that has been configured and so on, the Android application program can implement the function of controlling the relays on the hardware remotely.
出处
《网络新媒体技术》
2013年第4期55-59,共5页
Network New Media Technology
关键词
远程控制
网络编程
双向通信协议
安全可靠性
Android应用程序
remote control, network programming, two - way communication protocol, security and reliability, Android application program