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

Method and device for positioning data frame

A positioning method and a technology of a positioning device, which are applied in the field of communication and can solve problems such as high cost, increase in resources and power consumption, and large changes in resources and power consumption

Active Publication Date: 2014-07-30
HUAWEI TECH CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In the process of realizing the above-mentioned data frame positioning, since each byte in the data stream in the current clock cycle is assigned a frame-fixed state machine, as the bit width of the data stream increases, each frame-fixed state machine processes The number of content and frame-fixing state machines also increases, which increases resources and power consumption, resulting in geometric multiplication of resources and power consumption, resulting in high costs

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
  • Method and device for positioning data frame
  • Method and device for positioning data frame
  • Method and device for positioning data frame

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] Embodiment 1 of the present invention provides a data frame positioning method, see figure 1 , the method may include:

[0053] 101. Obtain the data stream in the current clock cycle, and assign a search preprocessing channel to each byte of the data stream;

[0054] Wherein, the data stream in the current clock cycle can generally include multiple bytes;

[0055] A search preprocessing channel is assigned to each byte of the data stream, and each search preprocessing channel corresponds to a byte, which is called the current byte corresponding to the search preprocessing channel.

[0056] 102. Start searching the data frame from the current byte corresponding to each search preprocessing channel, and obtain the preprocessing result of each search preprocessing channel;

[0057] Wherein, the preprocessing result of the search preprocessing channel may include the start byte position of the first data frame in the next clock cycle of the current clock cycle, which is u...

Embodiment 2

[0097] Embodiment 2 of the present invention provides another positioning method for data frames, using figure 2 shown as an example of a data flow of consecutive clock cycles 1, for figure 1 The positioning method of the data frame shown is described in detail;

[0098] suppose, figure 2 Among the three consecutive clock cycles shown, clock cycle 0 is the initial clock cycle and the previous clock cycle of the current clock cycle, and the frame search result of clock cycle 0 includes position C; clock cycle 1 is the current clock cycle, clock cycle 2 is the next clock cycle of the current clock cycle.

[0099] see image 3 , the method may include:

[0100] 301. Obtain the data stream in clock cycle 0, and assign a search preprocessing channel to each byte of the data stream;

[0101] For example, get figure 2 For the data stream in the shown clock cycle 1, a search preprocessing channel is assigned to each byte in the data stream; wherein, the search preprocessing c...

Embodiment 3

[0115] Embodiment 3 of the present invention provides a data frame positioning device 40, see Figure 4 , the location device 40 of the data frame may include:

[0116] An acquisition unit 401, configured to acquire a data stream in a current clock cycle, where the data stream includes a plurality of bytes;

[0117] An allocation unit 402, configured to allocate a search preprocessing channel for each byte of the data stream;

[0118] The search unit 403 is configured to search the data frame from the current byte corresponding to each search pre-processing channel, and obtain the pre-processing result of each search pre-processing channel; wherein, the pre-processing result of the search pre-processing channel includes the current clock cycle The start byte position of the first data frame in the next clock cycle, indicating that the search for the data frame from the corresponding current byte is successful; or, the preprocessing result of the search preprocessing channel i...

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 embodiment of the invention discloses a method and device for positioning a data frame, and relates to the field of communication. Low-cost and resource-saving positioning on the data frame is achieved. According to the specific scheme, the method includes the steps of distributing a seeking preprocessing channel for each byte by obtaining data flow within a current clock period; starting to seek the data frame respectively from the current bytes corresponding to the seeking preprocessing channels, and obtaining preprocessing results of the seeking processing channels; determining a frame seeking result of the current clock period according to the preprocessing result, matched with a frame seeking result of a clock period before the current clock period, of the current clock period; accurately positioning the data frame in the data flow within the current clock period according to the frame seeking result of the current clock period and the frame seeking result of the clock period before the current clock period. The method and device are used for positioning the data frame.

Description

technical field [0001] The present invention relates to the communication field, in particular to a data frame positioning method and device. Background technique [0002] With the integration of communication networks, the application of interconnection between different networks is becoming more and more extensive; due to the different adaptability of network data between different networks, when data is transmitted between different networks, it is necessary to Network data is encapsulated in a certain format corresponding to another network, and the sent data is decapsulated at the receiving end of another network, so as to realize the interconnection between networks; for example, in optical transport network and IP In the interworking and interconnection of other networks, when the optical transport network is used as the physical layer network of another network, the network data of another network needs to be encapsulated in a certain format corresponding to the opti...

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): H04J3/16H04J3/06H04L29/06
Inventor 龚兆明付纳科
Owner HUAWEI TECH CO LTD