Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A dynamic timeout algorithm based on a CoAP protocol

A timeout algorithm and dynamic technology, applied in the field of Internet of Things communication, can solve the problems of increased network congestion and traffic consumption, unreliability, poor communication capability of endpoints, etc. The effect of congestion

Inactive Publication Date: 2019-01-18
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0022] The purpose of the present invention is to provide a kind of dynamic overtime algorithm based on CoAP agreement, be used to solve CoAP agreement in the prior art and be based on UDP agreement, and UDP agreement is unreliable, so in order to increase reliability, it has proposed overtime retransmission mechanism, It also provides a default transmission timeout value, but when using this default timeout value for endpoint communication, the efficiency is relatively inefficient, and many redundant data transmissions will be generated, which not only increases network congestion and traffic consumption, but also increases the load on both ends , because they will spend unnecessary time and actions to deal with these redundant data transmissions, resulting in poor communication between endpoints, network congestion and high data redundancy

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A dynamic timeout algorithm based on a CoAP protocol
  • A dynamic timeout algorithm based on a CoAP protocol
  • A dynamic timeout algorithm based on a CoAP protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] based on figure 2 The shown CoAP protocol model proposes a dynamic timeout algorithm based on the CoAP protocol, including the following steps:

[0055] Step 1: The node starts the timer and sets the initial value, and initializes the ACK count and ACK delay of the message;

[0056] Step 2: The node checks whether the timer in step 1 expires;

[0057] Step 3: If the result of the check in step 2 is expired, the node determines that the message that the timer expires is triggered, calculates the acknowledgment delay statistics of the message, and determines the CS_ACKCount and delay, then clears the ACK count and ACK delay result of the message; if If the check result of step 2 is not expired, go to step 8;

[0058] Step 4: The node checks whether CS_ACKCount is greater than TO_INCREASE_THRESHOLD;

[0059] Step 5: If the check result of step 4 is that CS_ACKCount is greater than TO_INCREASE_THRESHOLD, the node increases the ACK_TIMEOUT value for the node-node link to...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a dynamic timeout algorithm based on a CoAP protocol. The invention relates mainly to the technical field of Internet of Things communication. After a client sends a CON message, the client can track the number of ACK messages received for each CON message and the delay of receiving ACK messages for each CON message transmission, and the client can dynamically change its ACK_TIMEOUT. It is assumed that the client can modify ACK_TIMEOUT of a client-server link or a client-server link set of each individual client, ACK_TIMEOUT is set to the optimal value for the aspect tokeep the message exchange short or to minimize the number of requests to retransmit ACK messages that are received later than expected, the timeout value of CoAP retransmission mechanism is more reasonable and satisfies more links. The endpoint communication in LAN is more timely, and to some extent, the redundancy of CON message and ACK message is reduced, and the network congestion is reduced.

Description

technical field [0001] The invention relates to the technical field of Internet of Things communication, specifically, a dynamic timeout algorithm based on the CoAP protocol. Background technique [0002] The CoAP protocol sits between the application and the transport protocol. CoAP can be considered as comprising two layers of operations. The first CoAP layer handles User Datagram Protocol (UDP) asynchronous messaging, and the second CoAP layer handles the CoAP methods that carry the request and response, such as GET, PUT, POST, and DELETE, and the associated response codes. The IETF defines four types of COAP messages, Acknowledgment (CON) messages are retransmitted with the default timeout and retransmission parameters of the response. Acknowledgment (ACK) messages are used to acknowledge CON messages. For example, a client may resend a message until it receives an acknowledgment (ACK) from the server that the message contains a message ID that matches the original me...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L1/18H04L1/16
CPCH04L1/1607H04L1/1848H04L1/1851
Inventor 陈梁何川蒋启平杨楚鹍袁中庆
Owner SICHUAN CHANGHONG ELECTRIC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products