首页 | 本学科首页   官方微博 | 高级检索  
     检索      

利用JSON实现智能家居服务器端与客户端的异步通信
引用本文:刘玮玮,贺智明.利用JSON实现智能家居服务器端与客户端的异步通信[J].宁德师专学报(自然科学版),2014(1):53-56.
作者姓名:刘玮玮  贺智明
作者单位:[1] 福建农业职业技术学院信息技术系,福建福州350001 [2] 江西理工大学信息工程学院,江西赣州341000
摘    要:通过JSON实现一个智能家居系统服务器端与客户端的通信,服务器端用doNet实现,客户端用Android实现调用AoNet将网络上收到的字串生成一个JSON对象,对其进行序列化后将其发送到Android端,Android端定时从服务器端获取数据.

关 键 词:异步通信  智能家居

Using JSON to implement the asynchronous communications between smart home server-side and client-side
LIU Wei-weil,HE Zhi-ming.Using JSON to implement the asynchronous communications between smart home server-side and client-side[J].Journal of Ningde Teachers College(Natural Science),2014(1):53-56.
Authors:LIU Wei-weil  HE Zhi-ming
Institution:2 (1.Faculty of Informatics, Fujian Vocational College of Agriculture,Fuzhou ,Fujian 350001, China; 2. Faculty of information Engineer, Jiangxi University of Science and Technology, Ganzhou, Jiangxi 341000, China)
Abstract:JSON was used to implement the communications between the server-side and client-side of a smart home system. A doNet program was realized on the server-side and an Android program was used on the client-side. The doNet program received the characters from network and forms a JSON object, then serializes the JSON object and sends it to the Android side, and then the Android side timely receives data from the sever-side.
Keywords:JSON  asynchronous communication  smart home  Android
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号