In-depth analysis of how the threshold of IoT technology is lowered?

The advent of the intelligent age has made the relationship between things and people, things and things closer. Because of the good user experience, the acceptance of consumers has also been greatly improved.

However, in the development of the Internet of Things industry, there are difficulties such as complex types, lengthy access links, equipment scale, and huge data volume, which increases the difficulty of research and development of smart products. To this end, Tuya Smart (NYSE: TUYA, HKEX: 2391), a global IoT development platform service provider , has launched a series of TuyaOS embedded development kits for the IoT field, effectively lowering the technical threshold for developers to enter the IoT field.

The development kit mainly includes TuyaOS operating system, TuyaOS EasyGO development package, and Tuya Wind IDE integrated development environment. Based on the rich functional components of the Internet of Things, developers can tailor customized functions as needed, quickly customize a development framework that meets their own product needs, and develop creative smart products faster.

For example: applied in the energy-saving energy industry, the development kit supports low-power settings of node devices and system linkage adjustments, helping to comprehensively manage energy regulation from point to surface, which is very worry-free.

It can also be used in various fields such as electrical lighting, home appliances, security sensors, health sports, industrial agriculture, office travel, education and entertainment, etc., helping developers effectively improve product competitiveness and intelligent R&D speed.

1. TuyaOS operating system

  1. 1 Introduction

TuyaOS is a distributed cross-platform operating system for full connection and all scenarios. Based on RTOS real-time operating system, Linux, Non-OS and other kernel design, the function is very powerful. In addition, through the coordination of multiple nodes and the TuyaOS soft bus, localized scene linkage can also be realized.

After using the operating system, developers only need to focus on the innovation and development of their own business, and one-time development, multi-device deployment, global availability, and security compliance.

1.2. Core competitiveness

  • Cross-platform: Adopt standardized Kernel design, which can meet the development needs of different chip platforms, systems and connection protocols , and the development process is more worry-free.

  • Low-code: The development kit provides a wealth of application components. Based on a unified driver framework, developers do not need to care about the specific implementation principles, and can quickly develop different types of smart product functions by calling interface functions.

  • Multi-scenario: The application scenarios are very extensive, which can meet the needs of full-scenario product development in the field of Internet of Things.

  • High tailorability: It adopts layered and pluggable component design, supports developers to customize functions according to their needs, and helps to quickly and efficiently generate a suitable development framework.

  • Interconnection: Tuya's self-developed efficient soft bus and object model support the interconnection of devices with different communication protocols.

  • Security compliance: Provide multi-level full-link security capabilities, effectively guarantee the security of device connections and data storage, and meet global compliance requirements.

  • Ecological Diversity: Supports a variety of third-party ecological interconnection, such as: Amazon, Google, Apple, Matter and other big-name platforms.

  • Technological innovation: Provide a variety of advanced development technologies self-developed by Tuya, including Tuya FFC, Tuya Galaxy Link, Tuya IHU, Tuya U-RTC, and Tuya Flash Provisioning.

Among them, Tuya IHU technology supports developers to extract the common functions of the same type of products, and after making device resource packages (including LUA scripts, JSON configuration, icons, etc.), upload them to the Tuya IoT PaaS platform for unified management, which can save tedious and repetitive development step. At the same time, the device integrates a hot update engine module , and developers can download the corresponding resource packs from the cloud on demand, and the latest functions can be synchronized without restarting.

1.3. System framework

The overall architecture of TuyaOS adopts a layered and pluggable component design. Based on rich development components, developers can be liberated from fragmented development experiences such as different chip platforms, systems, connection protocols, and application software.

Figure 1 TuyaOS system frame diagram

The entire system framework is divided into five layers from bottom to top:

①Kernel Layer ( TKL ): Designed with the principle of minimum interface dependency, and output in the form of TuyaOS API, it provides a stable, reliable, and undifferentiated operating environment for the upper-layer software.

②Abstraction Layer ( TAL ): Unified abstraction of system services, connection protocols, multimedia and security capabilities, and provides simple and standard service invocation methods.

③Libraries Layer: Provide middleware software that has nothing to do with specific business implementation.

④ Services: Provide services for application development in the form of business subsystems for specific development scenarios.

⑤ Application: Developers can implement corresponding application functions according to application scenarios.

二.YourOS EasyGo

2.1. Introduction

TuyaOS EasyGo is a collective name for a series of development materials generated based on the capabilities of TuyaOS . For all developers, TuyaOS EasyGo provides a variety of development kits covering various business scenarios, as well as a development platform that includes a variety of chips. Developers can choose the appropriate framework according to their own needs.

2.2. Composition

TuyaOS EasyGo includes two parts: product development kit and development framework.

Figure 2 TuyaOS EasyGo system composition diagram
A. Product Development Kit

Product development kits are low-code product development materials generated for a certain vertical product field on the basis of a specific development framework, enabling developers to quickly develop application products in this field.

B. Development framework: It is composed of type development kit and development platform.

① Type development kits: TuyaOS business subsystems and underlying capabilities, a series of development kits that meet high, medium and low resource requirements generated for specific application scenarios .

②Development platform: It is composed of the specific implementation and management tools of TuyaOS API on a certain chip platform, providing an undifferentiated operating environment for different types of development kits, and creating a unified development experience for developers.

Figure 3 The development framework provided by EasyGo
2.3. Management process

TuyaOS EasyGo is developed and maintained by Tuya's internal engineers. The main process is divided into three parts : development, management, and release . It is rigorous and can effectively guarantee security.

insert image description here
① Development: Different product development kits and development frameworks will be developed and iterated by different professional R&D teams.

② Management: Each testing version needs to go through strict tests and generate a detailed test report.

③ Release: The tested version can only be released after it has been reviewed by multiple parties.

2.4 Data application

Developers can contact me to go through the internal application process. After approval, they can have corresponding permissions and receive development materials in Tuya Wind IDE.

insert image description here

3. Tuya Wind IDE

3.1 Introduction

Tuya Wind IDE is a one-stop integrated development environment for TuyaOS EasyGo developers .

  • All the materials of TuyaOS EasyGo will be published on Tuya Wind IDE. Based on Tuya Wind IDE, Tuya can manage, distribute and update these development materials in a unified way;
  • Developers can log in to Tuya Wind IDE through the Tuya IoT account to obtain the corresponding development package;
  • Tuya Wind IDE is released as a Visual Studio Code plug-in, supporting both Chinese and English;
  • Tuya Wind IDE aims to create a consistent development experience for developers under the development environment of different hosts and different development tools.

3.2. Use process

insert image description here

The development process based on Tuya Wind IDE is mainly divided into the following steps:

①Install Tuya Wind IDE

②Log in to Tuya Wind IDE

③Download the development framework

④ Create an application project

⑤ Write and debug product functions

⑥ Test and release products

After the product is released, it can enter the landing production link, which is convenient and efficient.

TuyaOS can be regarded as an artifact for developers!

Through the rigorous internal product development process and the strict implementation of every engineering detail, TuyaOS will fully guarantee every aspect of development, management and release. Through cooperation with original chip manufacturers and smart device manufacturers, Tuya Smart will establish an excellent development ecosystem for developers, and continue to work hard to further lower the development threshold of the Internet of Things.

If you want to get TuyaOS related development materials, you can chat with me privately ~ or click here to contact the assistant to get it

Guess you like

Origin blog.csdn.net/weixin_42614971/article/details/127259027