Unlock instant, AI-driven research and patent intelligence for your innovation.

A packet processing method for avoiding continuous loss of two groups of packets due to packet loss

A message processing and message technology, applied in the information field, can solve problems such as unreadable, undetectable, and message without header, etc., to achieve the effect of avoiding pollution

Active Publication Date: 2017-12-26
SOUTHEAST UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The main disadvantage of the above method is that
First of all, the above method does not detect the content of the message, so it is impossible to determine whether the content of the read message is lost or not.
Secondly, if there is a packet loss phenomenon in the previous message, but it is not detected in time, it is possible to read the header of the next message into the message content, causing the next message to be incomplete. The header of the packet cannot be detected at the next packet header detection
As a result, the content of the next message cannot be read because there is no message header
In the application of the above method, it is possible to absorb the header of the next message when the packet loss of the previous message occurs, resulting in the loss of both sets of message information.

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 packet processing method for avoiding continuous loss of two groups of packets due to packet loss
  • A packet processing method for avoiding continuous loss of two groups of packets due to packet loss
  • A packet processing method for avoiding continuous loss of two groups of packets due to packet loss

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0047] Embodiment: when t=4;

[0048](1) When a message is composed of a message header and a fixed-length message content, the detection method is as follows:

[0049] Now assume that the obtained message is as follows:

[0050] $GPSZqqqww asdsd ddfsg jikln$GPSZqqwqw usaii asdaq asdz$GPSZqqwqwusaii asdaq asdz,

[0051] Among them, $GPSZ is the header of the message we need to read, its length m is 5 bytes, and the length of the message content n is 20 bytes, that is, the length of a message is 25 bytes, and there are three Message composition:

[0052] 1) Firstly, detect the first header of the obtained total message, and when the first identifiable $GPSZ is detected, start to read the length of the first header after it is n+m-1 The content of the message, that is, qqqww asdsd ddfsgjikln$GPS, and at the same time, the second message header is detected for the message content with a length of n+m-1. When the complete second message header is not detected, it indicates that...

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 processing method for avoiding the loss of two consecutive groups of messages due to packet loss. The fixed-length message matches the message headers of the obtained messages. Message content, while pre-reading the message content, it is also necessary to detect whether the message content contains a message header. If the packet header is not detected in the pre-read message content, then the read message is complete; if the packet header is detected in the pre-read message content, it is considered that the received message content has packet loss. Read the content of the next message after checking the message header. For a message with a message tail, first match the message header of the message. After the match is successful, it is also necessary to check whether the message contains a message tail when reading the message, and stop reading when the message tail is detected. Take, repeat and match the packet header. The present invention prevents the next message from being mistakenly ignored due to the phenomenon of packet loss occurring in the content of the previous message.

Description

technical field [0001] The invention relates to a message processing method for avoiding continuous loss of two groups of messages due to packet loss, and belongs to the field of information technology. Background technique [0002] Electronic devices (such as GPS receivers) often output information such as the position measured or sensed by the device through ports such as RS232 and USB or through wireless networks. Due to objective reasons such as working scenarios and message transmission paths, codeless and packet loss may occur during the process of sending, transmitting, and receiving messages. [0003] The message reading technology is mainly divided into two parts, which are message header recognition and message content reading. In the past, the more common method of processing messages was to detect whether the received messages contained identifiable message headers, and once the message headers recognizable by the system were detected, start to read the message ...

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 Patents(China)
IPC IPC(8): H04L12/70
Inventor 张小国王庆姚荣亮徐美娇
Owner SOUTHEAST UNIV