A method for handling abnormal data packet length based on fixed-length protocol

A technology of protocol data packet and processing method, which is applied in the field of processing based on the abnormal length of fixed-length protocol data packet, can solve the problems that are not conducive to fault segment location and analysis, and achieve convenient fault location and analysis, good adaptability, hardware achieve convenient effects

Active Publication Date: 2015-11-25
XIAN INSTITUE OF SPACE RADIO TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When this method finds an error, its processing method is to discard the error data packet directly, which is not conducive to segmental location and analysis of the fault

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 method for handling abnormal data packet length based on fixed-length protocol
  • A method for handling abnormal data packet length based on fixed-length protocol
  • A method for handling abnormal data packet length based on fixed-length protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Such as figure 1 Shown, the present invention a kind of processing method based on fixed-length agreement data packet length abnormality, by data synchronization and length inspection module, write pointer control and write data module, N block dual-port RAM, read pointer control and read data, length abnormality The processing consists of 5 modules in total.

[0027] The data synchronization and length inspection module is to synchronize the input data, determine the starting position of the data packet, and count and check the length of the data packet. The checked data packet is composed of a 1-bit packet synchronization signal, a packet length counter and The data packet itself is composed; the data packets after synchronous processing and length check are written into N dual-port RAMs in sequence, and whether to write the data packets into the next dual-port RAM is determined through the write pointer control; the write counter C ik (1≤i≤N, 1≤k≤L) Record the lengt...

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 relates to a processing method of a data packet with abnormal length based on a fixed-length protocol. The processing method comprises the following steps of firstly, after input data flow is synchronized, sequentially writing the data packet into one group of dual-port RAM (random access memory) through an ordered writing dispatch, so as to realize the truncating of the long packet; and then, reading the data packet from the dual-port RAM through an ordered reading dispatch, so as to realize the lengthening of the short packet. According to different application occasions, by increasing the number of blocks in the dual-port RAM or improving the reading speed of data in the dual-port RAM, the performance of resisting the error of the short packet can be effectively improved. The processing method of a data packet with abnormal length based on the fixed-length protocol has the advantages that the processing method is suitable for the data packet fixed-length processing under different length error conditions, and the effective data of the data packet with abnormal length is furthest maintained, but is not simply discarded; and the simplicity and the practicality are realized, and the implementing on an FPGA (field programmable gate array) or an ASIC (application specified integrated circuit) is easy.

Description

technical field [0001] The invention relates to a processing method for abnormal length of data packets based on a fixed-length protocol, which is suitable for processing data packets with abnormal data lengths in processing fixed-length data protocols or packet processing protocols. Background technique [0002] In fixed-length data processing protocols or packet processing protocols, the data packets processed are all of fixed length. For example, ATM (Asynchronous Transfer Mode, Asynchronous Transfer Mode) packet protocol, CCSDS (Consultative Committee for Space Data Systems, Space Data System Advisory Committee) stipulated AOS (Advanced Orbiting Systems, advanced on-orbit system) protocol, etc. [0003] In the process of processing fixed-length data packets, if the length of the received data packets is found to be abnormal, if not processed, it may cause catastrophic consequences to the system function. At present, the usual processing method for data packets with abno...

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/24H04L1/00
Inventor 周渊王琦贾依菲赵俊艺宋宝相
Owner XIAN INSTITUE OF SPACE RADIO TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products