摘要
物联网是新一代信息技术的重要组成部分,由下到上依次为传感层、网络层和应用层。利用C#语言针对物联网应用领域进行开发运用研究,使用多线程异步编程实现从入门级应用到云平台收发数据同步操作。实验表明,异步编程比同步编程能更有效提高云平台执行速度和保持系统的稳定性,并且多线程异步编程方式简洁易懂,更适合用于中小型物联网应用开发。
The Internet of things is an important part of the new generation of information technology.From the bottom to the top,it is made up of the sensing layer,the network layer and the application layer in turn.C#language is applied in the field of Internet of things,and asynchronous programming is applied to achieve data synchronization from entry-level application to cloud platform.Experiments show that asynchronous programming can improve cloud platform execution speed and maintain system stability better than synchronous programming,and multithreaded asynchronous programming is simple and easy to understand,and is more suitable for application development of small and medium-sized Internet of things.
作者
李夏君
Li Xiajun(Guangdong Light Industry Vocational Technical School,Guangzhou Guangdong 510310,China)
出处
《信息与电脑》
2018年第5期162-165,共4页
Information & Computer
关键词
物联网
C#
多线程
异步编程
Internet of Things
C#
multithreading
asynchronous programming