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

Data packet processing method based on CoAP protocol and HTTP protocol conversion

A technology of HTTP protocol and processing method, which is applied in the field of data packet processing based on the conversion of CoAP protocol and HTTP protocol, and can solve the problems of long HTTP protocol data packet header, short COAP protocol data packet header and data load, and lower transmission efficiency, etc. , to achieve the effect of improving the link transmission efficiency and the method is simple and easy to use

Active Publication Date: 2021-06-04
BEIJING JIAOTONG UNIV
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this method is: the header and data load of the COAP protocol data packet are shorter, and the header of the HTTP protocol data packet is longer
As a result, when a COAP packet is unpacked and encapsulated into an HTTP packet, a longer packet header is used to transmit a shorter data load, which greatly reduces transmission efficiency and wastes link resources

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
  • Data packet processing method based on CoAP protocol and HTTP protocol conversion
  • Data packet processing method based on CoAP protocol and HTTP protocol conversion
  • Data packet processing method based on CoAP protocol and HTTP protocol conversion

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0048] Figure 5 A schematic diagram of a data packet processing method based on a COAP protocol and an HTTP protocol is provided for an embodiment of the present invention. As shown, the main idea of ​​this method includes: data load merge determination algorithm design and dynamic priority control strategy design;

[0049] Wherein, the data load merge determination algorithm is used to combine the COAP data load in the data load queue in the data load queue, and write into the conversion mapping table according to the combined threshold and the transmission threshold in advance.

[0050] The dynamic priority control strategy is configured to set a wait time threshold for a data load in advance, and a timer is set to each of the data load queues, the timer being inserted from the data load into the data load. The queue starts timing until the data load is combined, and the timer time is long as the delay time of the corresponding data load.

[0051] The delay time of each of the ...

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 provides a data packet processing method based on conversion between a CoAP protocol and an HTTP protocol. The method comprises the following steps: unpacking a CoAP data packet to be sent, and removing a data packet header to obtain a data load; judging whether the size of the data load is smaller than a set merging threshold value or not, and if yes, putting the data load into a data load queue; and merging the data loads in the data load queue based on a dynamic priority control strategy according to a set sending threshold, adding an HTTP packet header to obtain an HTTP data packet, and transmitting the HTTP data packet through a link. According to the data load merging method for conversion between the CoAP protocol and the HTTP protocol, data load merging is achieved, and the problem that when conversion between the CoAP protocol and the HTTP protocol is carried out, a long packet header is used for transmitting a short data load can be solved; and moreover, the method is simple and easy to use, and facilitates the improvement of link transmission efficiency.

Description

Technical field [0001] The present invention relates to the field of data packet processing, and more particularly to a data packet processing method based on a COAP protocol and HTTP protocol. Background technique [0002] HTTP protocol: (Hyper Text Transfer Protocol, Hyper Text Transport Protocol), is the Internet application layer protocol, based on TCP / IP (Transmission Control Protocol / Internet Protocol, Transmission Control Protocol / Internet Protocol) communication protocol, belongs to application layer Object-oriented protocol, general packets have hundreds to a few thousand bits. [0003] COAP protocol: (Constrained Application Protocol, restricted application protocol), is one of the IoT application layer protocols, and the COAP protocol runs above UDP (User DataGram Protocol, User Data). For small devices in the Internet of Things, it is very difficult to implement TCP protocols and HTTP protocols. Therefore, the COAP protocol is a very small application layer prot...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06
CPCH04L69/08Y02D30/50
Inventor 李红辉闫佳和翟高寿林映利
Owner BEIJING JIAOTONG UNIV
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