Explore chapters and articles related to this topic
Industrial Internet of Things Safety and Security
Published in S. Velliangiri, Sathish A. P. Kumar, P. Karthikeyan, Internet of Things, 2020
Scalable collaboration needs an automatic configuration of connected devices without manual intervention. Zero-configuration is the emerging network technology that ensures faster communication between the network devices and ease of use. It is based on three technologies such as (a) Link local addressing (LLA): assigning network devices with numeric address,(b) Multicast DNS name resolution (MDNR): automatic hostname distribution, and (c) DNS service discovery (DSD): automatic discovery of services such as cameras, gateways, printers, speakers, etc. Many communication technologies are available that connect heterogeneous devices and its applications. Some of the protocols are Advanced Message Queuing Protocol (AMQP), Message Queue Telemetry Transport (MQTT) and data distribution service (DDS).
Interprocess Communication Primitives in POSIX/Linux
Published in Ivan Cibrario Bertolotti, Gabriele Manduchi, Real-Time Embedded Systems, 2017
Ivan Cibrario Bertolotti, Gabriele Manduchi
In the previous section, the exchange of information between the producer and consumers has been managed using shared memory and semaphores. In POSIX it is possible to use another IPC mechanism: message queues. Message queues allow different processes to exchange information by inserting and extracting data elements into and from FIFO queues that are managed by the operating system. A message queue is created in a very similar way as shared memory segments are created by shmget(), that is, either passing a unique identifier so that different processes can connect to the same message queue, or by defining the IPC_PRIVATE option in the case where the message queue is to be shared among the parent and children processes. In fact, when a child process is created by fork(), it inherits the message queue references of the parent process. A new message queue is created by routine: int msgget(key_t key, int msgflg)
Inter-Thread Communication
Published in Yi Qiu, Puxiang Xiong, Tianlong Zhu, The Design and Implementation of the RT-Thread Operating System, 2020
Yi Qiu, Puxiang Xiong, Tianlong Zhu
The message queue can receive messages with an unfixed length from threads or ISR and cache messages in their own memory space. Other threads can also read the corresponding message from the message queue, and when the message queue is empty, the thread reading the messages can be suspended. When a new message arrives, the suspended thread will be awakened to receive and process the message. A message queue is an asynchronous way of communication.
Virtual earth cloud: a multi-cloud framework for enabling geosciences digital ecosystems
Published in International Journal of Digital Earth, 2023
Mattia Santoro, Paolo Mazzetti, Stefano Nativi
Figure 3 depicts the internal components of the Virtual Earth Cloud and their interaction with the enterprise systems participating to the ecosystem (for simplicity only one enterprise system is depicted in the figure). Figure 3 also depicts a set of Ancillary Services. These are generic services that modern cloud infrastructures offer to developers, generally. Such services provide general-purpose functionalities, which can be used by application developers according to the SaaS (Software as a Service) paradigm (Mell and Grance 2011). The Web Storage service allows providers the possibility to store and retrieve a large amount of data in a web-accessible storage system. The Message Queue provides a cloud-based hosting of message queues, which lets to create and interact with a message queue, from different distributed components.
BIM- and IoT-based monitoring framework for building performance management
Published in Journal of Structural Integrity and Maintenance, 2018
Kai Kang, Jiarui Lin, Jianping Zhang
On the server, a Python script subscribes to the message from the message queue Mosquitto and outputs the received message to the console, along with writing the data to the monitoring database. The Arduino controller sends temperature, humidity and illuminance data every 10 s. The data are sent to the message queue service via the network and then forwarded to the subscribers by the message queue service.