Data can be transferred without interruption, A master-slave
relationship, Serial communication MOSI (Master Output/Slave Input) – Line for the master to send data to the slave. MISO (Master Input/Slave Output) – Line for the slave to send data to the master. SCLK (Clock) – Line for the clock signal. SS/CS (Slave Select/Chip Select) – Line for the master to select which slave to send data to 2.The IoT ecosystem based 5 layers Perception Layer, Network Layer, Middleware Layer, Application Layer, Business Layer. 3.Analyze characteristics of the IoT system Dynamic & Self-Adapting(Adapt with sensed environment, Operating conditions, User's context and take actions) Self-Configuring(Allowing a large number of devices to work together) Interoperable Communication Protocols(Support a number of interoperable communication protocol, Other devices and infrastructure) Unique Identity, Integrated into Information Network 4.the Publish-Subscribe communication model. Publish-Subscribe is a communication model that involves publishers, brokers and consumers. Publishers are the source of data.Publishers send the data to the topics which are managed by the broker. Publishers are not aware of the consumers. Consumers subscribe to the topics which are managed by the broker. When the broker receives data for a topic from the publisher, it sends the data to all the subscribed consumers. 5.The function of IoT devices. The function of IoT devices is to sense, communicate, and act upon the physical environment by connecting to a network. IoT devices collect data, share it, and may perform automated actions based on the data they process. Sensing and Data Collection, Communication, Data Processing, Control and Actuation, Automation and Decision-Making, Remote Monitoring and Management. 6.The Push-Pull communication Push-Pull is a communication model in which the data producers push the data to queues and the consumers pull the data from the queues. Producers do not need to be aware of the consumers. Queues help in decoupling the messaging between the producers and consumers. Queues also act as a buffer which helps in situations when there is a mismatch between the rate at which the producers push data and the rate at which the consumers pull data. 7.Fog Computing in IoT Fog computing is a form of distributed computing that brings computation and data storage closer to the network edge, where many IoT devices are located. By doing this, fog computing reduces the reliance on the cloud for these resource-intensive tasks, improving performance and reducing latency 8.Request-Response communication model Request-Response is a communication model in which the client sends requests to the server and the server responds to the requests. When the server receives a request, it decides how to respond, fetches the data, retrieves resource representations, preparesthe response, and then sends the response to the client. 9.REST-based Communication APIs Representational State Transfer (REST) is a set of architectural principles by which you can design web services and web APIs that focus on a system’s resources and how resource states are addressed and transferred. REST APIs follow the requestresponse communication model. The REST architectural constraints apply to the components,connectors, and data elements, within a distributed hypermedia system. 10. The Different between URI, URN, URL URI, URL và URN đều là cách để định danh tài nguyên trên Internet, nhưng chúng có sự khác biệt rõ ràng. URI (Uniform Resource Identifier) là thuật ngữ chung, bao gồm cả URL và URN, dùng để định danh một tài nguyên bất kỳ. URL (Uniform Resource Locator) là một loại URI cụ thể, chỉ rõ vị trí của tài nguyên và cách truy cập, ví dụ: https://example.com. Trong khi đó, URN (Uniform Resource Name) cũng là một loại URI nhưng chỉ tập trung vào việc đặt tên duy nhất cho tài nguyên mà không chỉ ra vị trí, ví dụ: urn:isbn:978-3-16-148410-0. Tóm lại, URL chỉ vị trí, URN chỉ tên, còn URI bao hàm cả hai. 11. Representation of Resources Exchange between endpoints Encoded in one or more transferable formats (XHTML, Atom, XML, JSON, plain text, comma-separated values,MP3, or JPEG)
12. Message Queue Telemetry Transport (MQTT)
MQTT (a lightweight protocol,open-source,TCP-based pub/sub protocol) Messages are published to a shared topic space inside the MQTT Supports hierarchical topics(a topic/sub, topic/sub-sub-topic path)