Method, apparatus, and system for data transmission
AssigneeHuawei Technologies Co., Ltd.
InventorsBo Wu, Rong Deng, Zhen Long
Life of this patent
Estimating the term…
Abstract
The present invention provides a method for locating a data frame. The method mainly includes: allocating a framing state machine to each byte of a data stream within a current clock cycle; respectively starting, by the framing state machines, hunting for data frames from respective corresponding bytes, and obtaining a plurality of data frame hunt results; and selecting one hunt result from the plurality of data frame hunt results according to a data frame hunt result within a previous clock cycle as a data frame hunt result within the current clock cycle.
Claims8
A method for locating a data frame, comprising:
- obtaining a data stream within a current clock cycle and allocating a framing state machine to each byte of the date stream within the current clock cycle;
- respectively starting, by the framing state machines, hunting for data frames from respective corresponding bytes, and obtaining a plurality of data frame hunt results, wherein the hunt result comprises a starting byte of a first data frame hunted out by each framing state machine;
- determining a starting byte of a first data frame within the current clock cycle according to a data frame hunt result within a previous clock cycle;
- and
- matching the plurality of data frame hunt results respectively with the starting byte of the first data frame within the current clock cycle and using a successfully-matched hunt result as a data frame hunt result within the current clock cycle.
An apparatus for locating a data frame, comprising:
- a hunt processing module, configured to obtain a data stream within a current clock cycle and allocate a framing state machine to each byte of the data stream within the current clock cycle, wherein the framing state machines respectively start hunting for data frames from respective corresponding bytes and obtain a plurality of data frame hunt results, and the hunt result comprises a starting byte of a first data frame hunted out by each framing state machine;
- and
- a hunt result determining module, configured to determine a starting byte of a first data frame within the current clock cycle according to a data frame hunt result within a previous clock cycle, match the plurality of data frame hunt results obtained by the hunt processing module respectively with the starting byte of the first data frame within the current clock cycle, and use a successfully-matched hunt result as a data frame hunt result within the current clock cycle.
Dependencies are inferred from the claim text.