Patent ID: 9641635
Date: 2017-05-02
CPC Classifications: H04L

Claim:
1. A system for dynamic selection of reliability by data publishing protocol while publishing data, the system comprising: a constrained gateway device being adapted to publish data by using a data publisher and adapted to send and receive one or more acknowledgment messages; one or more subscriber devices communicatively coupled with the constrained gateway device and subscribed to a server and adapted to send and receive one or more acknowledgment messages; and the server communicatively coupled with the constrained gateway device and the one or more subscriber devices and adapted to exchange the acknowledgement messages between the data publisher on the constrained gateway device and the one or more subscriber devices; wherein the data publisher running on the constrained gateway device has multiple levels of reliability of publishing data and is adapted to: dynamically select a reliability level of publishing data based on available bandwidth and energy and send the publishing data to the server, wherein the reliability level of publishing data defines a number of messages to be sent from the publisher's side as acknowledgement of a publish completion acknowledgement message; and wherein to dynamically select the reliability level of publishing data, the data publisher running on the constrained gateway device is adapted to: wherein optimizing the use of energy and bandwidth of the constrained gateway device comprises: dynamically lowering the reliability level of publishing data if the queue length of the data for publishing and the time difference between the data publishing cycles and sleep cycles reaches a cutoff value, or if a channel condition degrades from a cutoff level; or dynamically increasing the reliability level of publishing data if the channel condition indicates fair and the indicator is above a cutoff level.