Start learning a new skill, record and accumulate with a blog. . .
Today's content is to listen to a live lecture on Zhihu, the main speaker is "ah flower", the title is: Internet of Things: the new blue ocean of front-end engineers,
Introduction to the Internet of Things
IOT (Internet of Things)
is based on the Internet and connected between things.
Applications: individuals and homes, industries, services, infrastructure, etc., such as wind turbines, camera monitoring, traffic lights, and urban smart trash cans.
Three-layer structure model of Internet of Things
The following picture is from the blog of Wujiazhai Dazhai. The link is https://blog.csdn.net/lihongzhai/article/details/80370308. The invasion and deletion
are the perception layer, the transmission layer, and the application layer from bottom to top. Data acquisition through the network protocol communication of the transport layer and finally data application at the application layer to realize the Internet of Things, so that the operating status and data display of the device can be observed remotely.
Related communication protocol
The picture comes from the PPT in the live course.
The protocol is divided into two parts, one is the underlying network communication protocol, and the other is the upper layer application protocol. The Internet of Things is still mainly based on the Internet. The communication protocols include: TCP / IP protocol to communicate with the cloud, and the application level is also HTTP protocol and MQTT protocol .
Other relevant requirements
Computing power is required at each end level, so a CPU is required.
Operating system: RTOS; real time Operating System
JavaScript and Internet of Things
Advantages of JavaScript
The performance of JS is no longer a problem. JS can be uniformly standardized on the server, web page, wireless client, embedded, and Android; dynamic scripts are sent to various platforms for immediate execution; the community is more active, There are many directions to use the library.
JavaScript and hardware
ruff is domestic IOT. JS is Samsung
IOT platform
Take Amazon ’s IOT platform as an example here:
lass layer: virtual host, database (infrastructure)
lambda: model includes trigger and return and script container
shadow: maintain offline status on each end
Interactive interface
New features of mobile interaction
New scenarios of web development
The above mind maps are all from Ahhua's knowledge of live courses, invading and deleting.
This course is mainly about the relationship between js and the Internet of Things, which content is included, and it is just an introduction to concepts. How to implement sensor data collection from the perception layer with code needs to be understood, including how the network protocol of the network transmission layer sinks into the code implementation, and the interactive selection is not necessarily using the web, how to achieve Android? This is a huge learning system ~
ON THE WAY……