Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Why the Internet of things Project chooses programming language

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

Today, I will talk to you about why the Internet of things project chose the programming language, many people may not know much about it. In order to make you understand better, the editor summarized the following content for you. I hope you can get something according to this article.

To choose the language used by the Internet of things project, you must first understand the Internet of things ecosystem. This is important because the processor architecture and resources used by different levels of software and firmware vary widely.

First of all, there is a simple classification of Internet of things devices used for software development.

Equipment classification of the Internet of things

At the bottom is the edge device. These devices interact with the world around them and represent wearable and other connected devices. These devices collect and create data and interact with the world through actuators.

The middle level is the gateway. These devices are intermediate devices that are used to transfer data to other systems for processing. Gateways can also collect data from many edge devices, providing a control path to connect to end devices.

At the top is the cloud. The cloud is a series of scalable computing, network, and storage resources that can store, analyze, and visualize data collected by end devices and gateways.

Examples of the three levels include Intel Galileo development boards and Intel Curie computing modules for end devices, Intel Internet of things gateways at the gateway level, and WindRiver*Helix*LabCloud at the cloud level.

Since the Internet of things ecosystem is divided into multiple layers, let's now understand the language used at each level.

Terminal equipment

Due to the limitation of space and power, the terminal devices represented by wearable devices usually adopt embedded systems with limited resources. As shown in figure 2, the Intel Curie module is about the size of a button and is powered by a small battery the size of a coin. Because Intel has few Curie module resources, the common languages suitable for Intel include assembly language and C language. Although C language is the universal language for embedded firmware development, it is sometimes necessary to write as many instructions as possible to the device. In this case, assembly language is an excellent choice. The disadvantage is that it takes a long time to develop, depending on your proficiency in the language.

Intel Curie computing module

The Intel Edison development board is another example of an end device (see figure 3), which you can use in wearables or general-purpose Internet of things products. Unlike the Intel Curie module, which integrates a microcontroller, the Intel Edison development board uses a dual-core Intel Avatar processor with significantly increased computing power (as big as an SD card). Because Intel Edison development board runs Linux*,C language is an ideal choice, but you can also use other languages, including Python* and Node.js*. Python* is suitable for rapid prototyping and product deployment, but its performance is lower than that of the locally compiled C language. If you use Intel XDK, you can use Node-RED* to run Node.js* (Java*). Node-RED* helps you build and run data flows easily, providing a graphical development approach. The use of Java* language knowledge can make the environment more powerful.

Gateway

At the gateway level, data from various devices are transmitted to the gateway through several buses for data transmission and analysis, so the computing power of the gateway is significantly improved. Due to excellent computing performance, gateways can run more powerful or interpretive languages to further improve performance.

Summary

Choosing the programming language of the project requires consideration of the target environment (including processors) and available resources. Due to the large scale of available resources, there are many possibilities for developing software within the cloud, but when developing embedded firmware for small microcontrollers, we need to control it more effectively and minimize the number of instructions. maximize execution speed and strengthen resource management.

After reading the above, do you have any further understanding of why the Internet of things project chose the programming language? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report