| Internet of Things development has become a hot topic in recent years,and the development of embedded modules in the Internet of Things also occupies a considerable proportion.Whether it is the traditional embedded development platform or the existing research results,most of them are based on the stand-alone IDE software installation.The serial port assistant of the PC is used for debugging,and the convenience brought by the network is not used.It is necessary to reduce the general troubles brought by the development environment,reduce the development costs,and easily debug the system,and build a fully functional online development,compilation,and debugging system.In the traditional IoT development framework,the user configures the development environment through the PC and implements the development of the embedded device.There are several drawbacks: First,configuring the PC environment becomes a bottleneck in the development process;secondly,the device development requires hardware connection,and the serial port is installed.Assistants and other conditions are harsh.Third,equipment maintenance requires the development of server-side applications,which are costly.If you move the development and maintenance processes to the cloud server for unified processing,you can improve engineering efficiency.Cloud services are characterized by rich computing resources,easy access,rapid deployment,and easy expansion.Therefore,designing an embedded development platform based on cloud services will be an excellent way to solve the above problems.In view of the imperfections in the traditional Internet of Things(IoT)development model and the complexity of the processes,this paper has access to the commercial cloud service platform,Alibaba Cloud,and designed a set of IoT embedded development platforms.Utilize the mature and powerful network resources of cloud services to make device access more efficient and user management more convenient.According to the goal of improving the efficiency of project development,this paper designed a SHMIIC Io T development platform based on cloud services.The system is mainly divided into three parts: human-computer interaction system for cloud services;cloud compiler upgrade system,and cloud service cluster optimization strategy.The cloud-service human-computer interaction system solves the inconvenience of configuring the development environment in the traditional mode.Based on the B/S architecture,a web development tool for user interaction with the server is completed.Due to the introduction of cloud services,the ease of deployment has resulted in designs that do not need to be concerned with server environment,security,etc.,and can focus on completing server-side applications.This article has designed the database storage structure of equipment,user,command,message,interactive application business logic and human-computer interaction UI interface in detail.The Cloud Compilation and Upgrade System solves the cumbersome steps of wiring and writing code in equipment maintenance,and improves the efficiency of maintenance and secondary development.This article describes in detail the hardware and software architecture of the compiler upgrade system.The software part mainly composes the GCC compiler tool chain on the Linux cloud server,compiles the user’s own code,cooperates with the embedded hardware and software design,and completes the equipment upgrade.Completed the remote upgrade of the device based on cloud compiling service and WiFi module.In the cloud service cluster performance optimization,it is necessary to solve the problem that the cloud service system has a slow response rate or even awkward response under a large amount of users.For high concurrency scenarios,this paper analyzes classical load balancing algorithms.By comparison,we choose to optimize one of the algorithms WRR to improve system performance.Then,a consistent hashing algorithm was introduced as a strategy for system expansion in actual production.Finally,using the SHMIIC development platform,an IoT project was developed and verified.Introduce the medical infusion monitoring system in the actual scene,develop through this development platform,complete the function and performance test in the actual scene,and verify the availability and effectiveness of the system. |