1 / 6

Process Framework for Multi-Tasking and Thread Synchronization

This concept explores the structure and process of a gateway system that facilitates communication between upstream and downstream clients, using various queues and events for message passing. It also includes a resource provider, broker, and task relations. Supported message types include MQTT and MQTT-Sn, with events such as Publish, Connect, and Broadcast. The framework utilizes topics, helper classes, mutex, semaphores, timers, and exception handling for efficient task management.

schiff
Download Presentation

Process Framework for Multi-Tasking and Thread Synchronization

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Process Framework Process Multi Task Process Thread Task 0 Resource Provider Task 1 Task n Program Structure

  2. Concept of the Gateway Upstream Gateway Clients Broker Downstream

  3. Task Relations Gateway Main Task Resource Provider Broker Send Queue Gateway Event Queue Client Send Queue Broker Send Task Broker Receive Task Client Receive Task Client Send Task Broker Clients

  4. Event Queue Structure Message Queue upstream < MQTT Message > Event Queue <Template> Message Queue downstream < MQTT Message > Client Node MessageQueue upstream < MQTT-Sn Message > Event MQTT-Sn Message Message Queue downstream < MQTT-Sn Message > Type of Events - Broker Send - Broker Recv - Client Send - Client Recv - Broadcast - Timeout Broadcast - SERCHGW - GWINFO - PUBLISH MQTT Message Connect

  5. Resource Class clients Gateway Event Queue Client Node Broker Send Queue Message Queue< > Topics Client Send Queue Topic Resource Class Helper Class

  6. Process Framework Class Process Multi Task Process Thread Mutex Semaphor Timer Exception EventQue< >

More Related