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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 