摘要:
A byte stuffing circuit and a byte stuffing method are provided. The byte stuffing method includes: receiving a first data stream and generating a second data stream according to the first data stream, where a first size of the first data stream is N bytes, and a second size of the second data stream is 2N bytes; in response to an Xth byte of the second data stream matching a first flag byte, overwriting the Xth byte with a first stuffing byte, and inserting a second stuffing byte into an (X+1)th byte of the second data stream, where X is a positive integer between 1 and 2N−1; combining a remnant data stream and a first part of the second data stream to generate a third data stream, and configuring a second part of the second data stream as the remnant data stream; and outputting the third data stream.
摘要:
A byte stuffing circuit and a byte stuffing method are provided. The byte stuffing method includes: receiving a first data stream and generating a second data stream according to the first data stream, where a first size of the first data stream is N bytes, and a second size of the second data stream is 2N bytes; in response to an Xth byte of the second data stream matching a first flag byte, overwriting the Xth byte with a first stuffing byte, and inserting a second stuffing byte into an (X+1)th byte of the second data stream, where X is a positive integer between 1 and 2N−1; combining a remnant data stream and a first part of the second data stream to generate a third data stream, and configuring a second part of the second data stream as the remnant data stream; and outputting the third data stream.
摘要:
A transmission rate adjustment method and a network device, the method including obtaining, by a network device, a target data stream, where the target data stream includes a first data packet, and where the first data packet includes at least two non-idle units, and inserting or deleting a padding unit between two non-idle units of the at least two non-idle units, in response to bandwidth adjustment needing to be performed, and according to a value of the bandwidth adjustment that needs to be performed, where the padding unit provides adaption to a difference between a bandwidth of an upstream transmission channel of the network device and a bandwidth of a downstream transmission channel of the network device.
摘要:
The frequency of a clock signal is compared to a predetermined range. If the measured frequency is outside the range, a system controller determines if a current operating state of the overall system allows for the internal clock to be adjusted back into compliance. If the controller determines that the current system state allows for the change, then a control signal to the internal clock signal source is changed by the smallest increment available, either to increase or decrease the frequency. If the internal clock signal is out of the desired range, and the system controller does not decide to modify the frequency, the controller may increase the size of the range by decreasing the lower bound and/or increasing the upper bound.
摘要:
An optical transmission apparatus that accommodates client signals in a line signal, includes: an OPUn mapper unit that receives and maps the client signals; and a mapping control unit that determines the number of pieces of client data to be mapped to a payload portion and determines the timing to insert client data and information on the number of pieces of client data into the payload portion to control mapping performed in the OPUn mapper unit.
摘要:
An optical receiver includes a reception module, a first detector, a second detector, a shift module, a first extraction module, and a second extraction module. The reception module receives a frame. The first detector detects a head position of a first layer, the head position being included in the frame. The second detector detects a head position of a second layer, the head position being included in the frame. The shift module shifts the frame so that the head position of the first layer and the head position of the second layer are located at respective predetermined positions. The first extraction module extracts a header of the first layer from the frame after the frame is shifted. The second extraction module extracts a header of the second layer from the frame after the frame is shifted.
摘要:
The disclosure discloses a Generic Mapping Procedure (GMP) mapping method for an Optical channel Data Unit (ODU), including: caching low-level ODUk data to a memory according to the rate of low-level ODUk data stream; generating an adjustment byte in a mapping process and encoding the adjustment byte; generating read enable of the cached data by an algorithm according to the adjustment byte, reading the cached low-level ODUk data, and generating Optical channel Data Tributary Unit (ODTU) data according to the read data; and crossing a time slot of the ODTU data in multiple channels to that of a high-level ODU payload, and forming the data in the time slot of the high-level ODU payload and the encoded adjustment byte into a completed high-level ODU frame. The disclosure may further provide a GMP mapping apparatus for an ODU. According to a technical solution of the disclosure, the GMP mapping of the ODU can be implemented according to the dynamic change of a service rate.
摘要:
Technologies are generally described for measuring clock skew between two remote hosts connected through a computer network. According to some examples, pairs of probe packets, also referred to as a compound probe, may be transmitted over an end-to-end path in both directions (forward and reverse paths) to measure a gap value at the end nodes for clock skew estimation. Compound probes may arrive at the end nodes with a zero dispersion gap (no separation) and the gap values along the forward and reverse paths may be determined by a capacity of the links connected to the end nodes added to the clock speeds of the measuring nodes upon arriving at the end nodes. The link capacity is a constant network parameter. Thus, the ratio of the measured gap values may provide an estimate of clock speed discrepancy between the end nodes.
摘要:
A device is disclosed including a memory configured to store a user data frame. The user data frame includes a first portion that includes traffic data. The user data frame also includes a second portion that includes a set of stuff bits arranged in a detectible pattern wherein a count of the set of stuff bits is associated with a measure of transport utilization of a data communication channel over which the user data frame is transported.
摘要:
Disclosed herein are a deskew apparatus and method for Peripheral Component Interconnect (PCI) Express for compensating for a skew. The deskew apparatus includes a lane data input unit, a lane data alignment unit, and a lane data detection unit. The lane data input unit receives 18-bit data from each of lanes of the PCI Express. The lane data alignment unit aligns the 18-bit data using a COM symbol. The lane data detection unit detects a change in a state of alignment of the 18-bit data attributable to deletion or addition of an SKP symbol when the 18-bit data is aligned, and to perform synchronization between the lanes.