Patent ID: 9178638
Filing Date: 2015-11-03
Classification: H04J

Abstract:
1. A method for generating a de-mapping clock for service data, comprising: receiving a data frame and obtaining a payload value from the data frame, wherein the payload value is calculated in a transmitting end according to the service data in a current frame group of which the data frame belongs to, and the payload value is configured to indicate an amount of service data carried by corresponding containers in a next frame group; obtaining distribution of valid service data in a certain time cycle according to the payload value in the data frame; generating a data writing clock according to the distribution of the valid service data, performing a homogenization treatment on the data writing clock, and obtaining the data writing virtual clock; comparing a non-gap statistical quantity of the data writing virtual clock with a non-gap statistical quantity of the service clock gap, and generating a de-mapping clock gap according to the comparison result; generating a service clock gap according to the de-mapping clock gap; and performing a phase-locked loop process on the de-mapping clock gap, so as to obtain a recovery clock signal required by a de-mapping process, wherein the comparing the non-gap statistical quantity of the data writing virtual clock with the non-gap statistical quantity of the service clock gap, and generating the de-mapping clock gap according to the comparison result comprises: counting a non-gap quantity of the data writing virtual clock to obtain a non-gap statistical quantity of the data writing virtual clock, and counting a non-gap quantity of the service clock gap to obtain a non-gap statistical quantity of the service clock gap; and when the non-gap statistical quantity of the data writing virtual clock is greater than the non-gap statistical quantity of the service clock gap, indicating that the de-mapping clock gap is a fast preformed scheduling pattern; and when the non-gap statistical quantity of the data writing virtual clock is smaller than the non-gap statistical quantity of the service clock gap, indicating that the de-mapping clock gap is a slow preformed scheduling pattern.