Data positioning and recombining method and corresponding device

A data positioning and data packet technology, applied in the field of data processing, can solve the problems of positioning time and positioning accuracy defects, and achieve the effects of fast positioning speed, improved efficiency and high positioning accuracy

Inactive Publication Date: 2012-12-05
ZTE CORP
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, there are many methods for positioning data streams, but they all have certain defects in positioning time and positioning accuracy.

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 positioning and recombining method and corresponding device
  • Data positioning and recombining method and corresponding device
  • Data positioning and recombining method and corresponding device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] Positioning methods such as figure 1 shown, including the following steps:

[0044] Step 110, receiving fragmented data and feature attributes;

[0045] The characteristic attribute is an attribute unique to each data packet and having the same attribute value of all fragments in the data packet;

[0046] The characteristic attribute is unique to each data packet, so that it can be guaranteed that the characteristic attribute can distinguish each data packet. For the fragmented data in the data packet, the values ​​of the characteristic attributes are the same, which makes it convenient for the receiving end to locate and reassemble.

[0047] Step 120, using the value of the feature attribute as a key value to look up the hash table, if a matching key value is found, then step 130 is performed, if no matching key value is found, then step 140 is performed;

[0048] Step 130, inserting the pointer of the fragmented data into the data structure indicated by the hash ad...

Embodiment 2

[0059] Recombination methods such as image 3 shown, including the following steps:

[0060] Step 310, receiving fragmented data and characteristic attributes;

[0061] The characteristic attribute is an attribute unique to each data packet and having the same attribute value of all fragments in the data packet;

[0062] The characteristic attribute is unique to each data packet, so that it can be guaranteed that the characteristic attribute can distinguish each data packet. For the fragmented data in the data packet, the values ​​of the characteristic attributes are the same, which makes it convenient for the receiving end to locate and reassemble.

[0063] Step 320, using the value of the characteristic attribute as a key value to search the hash table, if a matching key value is found, then perform step 330, if no matching key value is found, then perform step 340;

[0064] Step 330, inserting the pointer of the fragmented data into the data structure indicated by the ha...

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 data positioning and recombining method and device, which are used for shortening the positioning time and improving the positioning precision. The data positioning and recombining method comprises the following steps of: receiving segmented data and characteristic attribute, looking up a hash table by taking the value of the characteristic attribute as a key value, and inserting a pointer of the segmented data into a data structure indicated by a hash address corresponding to the key value if the matched key value is looked up; and if no matched key value is looked up, generating a new hash address corresponding to the key value in the hash table and a data structure indicated by the new hash address, and inserting the pointer of the segmented data into the data structure indicated by the new hash address. The positioning device comprises a receiving module, a looking-up module and a positioning module. According to the invention, all data packets belonging to the same data stream are positioned by adopting a highly-efficient HASH algorithm, so that high positioning speed is achieved; in addition, the whole characteristic attribute of the data stream is used as the key value, so that high positioning precision is achieved; and meanwhile, the recombination efficiency is correspondingly improved.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a data positioning and reorganization method and a corresponding device in the network communication process. Background technique [0002] With the rapid development of Internet services, business types emerge in endlessly, and the amount of data is also increasing. We all know that different types of networks have different MTUs (Maximum Transmission Units). For example, in Ethernet, the largest transmission frame is 1500 bytes, FDDI (fiber distribution data interface) is 4500 bytes, token ring frame is between 4500 bytes and 17800 bytes, and an important function of the IP protocol is to be able to transmit data larger than the MTU of the hardware interface , transfer it in segments. That is, data packets larger than the MTU will be divided into 2 or more appropriate sizes for transmission. A fragment may be further fragmented on the way to the receiving host. Therefore, it i...

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): H04L12/56
CPCH04L45/745
Inventor 沈志平李冰卢勤元
Owner ZTE CORP
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