METHODS AND DEVICES FOR TRANSMITTING A CONTINUOUS BIT STREAM IN A DIGITAL NETWORK NON-SYNCHRONOUS WITH THE BIT STREAM

20180294948 ยท 2018-10-11

    Inventors

    Cpc classification

    International classification

    Abstract

    Methods and devices for transmitting a continuous bit stream in a digital network non-synchronous with the bit stream are disclosed. In one aspect, the method includes digitizing a continuous bit stream implemented by a transmitting apparatus and restoring the continuous bit stream implemented by a receiving apparatus. A processor of the transmitting apparatus digitizes the initial continuous bit stream into a binary data sequence to be transmitted at a nominal frequency corresponding to a set clock period, the binary data to be transmitted being encapsulated in at least one transport frame sent to the receiving apparatus. The digitization includes estimating a mean emission clock period value of the data sequence, and inserting, in a predetermined field of the transport frame, information making it possible to restore, in the receiving apparatus, the mean emission clock period value of the data sequence.

    Claims

    1. A method for digitizing a continuous bit stream, with no associated clock signal, in communication system that is nonsynchronous with the bit stream, for a transmission between a first transmitting apparatus and a second receiving apparatus, the initial continuous bit stream being digitized by the first transmitting apparatus by using an emission clock signal into a binary data sequence to be transmitted at a nominal frequency corresponding to a set clock period, the binary data to be transmitted being encapsulated in at least one transport frame, the frame being sent to the second receiving apparatus, the method, implemented by a processor of the first transmitting apparatus, comprising: estimating a mean emission clock period value of the data sequence; and inserting, in a predetermined field of the transport frame, information making it possible to restore, in the second receiving apparatus, the mean emission clock period value of the data sequence.

    2. The digitization method according to claim 1, wherein the emission clock signal is defined by emission clock cycles, wherein the estimating comprises estimating the duration of each emission clock cycle of the binary data sequence to be transmitted and calculating a deviation between the set clock period and the duration estimated for each emission clock cycle.

    3. The digitization method according to claim 2, further comprising: calculating a mean value of the deviations; and estimating the mean emission clock period value based on the set clock period and the mean value of the deviations.

    4. The digitization method according to claim 3, wherein the calculation of the mean value of the deviations is carried out by a Euclidian division of the sum of the deviations by the number of binary data of the binary data sequence to be transmitted, providing a remainder value of the division and a sign of the remainder.

    5. The digitization method according to claim 4, wherein additional information including the remainder value of the division and the sign of the remainder is inserted into the transport frame.

    6. A transmitting apparatus of a communication system, adapted to carry out a continuous bit stream digitization method according to claim 1.

    7. A method for restoring a continuous bit stream, transmitted with no associated clock signal, in a communication system that is nonsynchronous with the bit stream, between a first transmitting apparatus and a second receiving apparatus, the initial continuous bit stream being digitized by a digitization method according to claim 1 implemented in the first transmitting apparatus, the restoring method, implemented by a processor of the second receiving apparatus, comprising: extracting, from a predetermined field of the transport frame, information making it possible to restore the mean emission clock period value of the data sequence; generating a restore clock signal, each cycle of which has a duration equal to the mean emission clock period value; and restoring a bit stream with a pace given by the restore clock signal.

    8. The restoring method according to claim 7, further comprising: extracting, from the transport frame, additional information making it possible to obtain a restored bit stream with the same total duration as the bit stream transmitted by the first transmitting apparatus.

    9. The restoring method according to claim 8, wherein the additional information includes a Euclidian division remainder value of a sum of the deviations between the set clock period and a duration calculated for each emission clock cycle by the number of binary data of the binary data sequence to be transmitted, and a sign of the remainder.

    10. The restoring method according to claim 9, further comprising an adjustment of at least one restore clock cycle duration of the second receiving apparatus based on the value of the remainder and the sign of the remainder.

    11. A receiving apparatus of a communication system, adapted to carry out a continuous bit stream restoring method according to claim 7.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0032] Other features and advantages of the described technology will emerge from the description thereof provided below, for information and non-limitingly, in reference to the appended figures, in which:

    [0033] FIG. 1 shows a communication system between a transmitting apparatus and a receiving apparatus according to one embodiment;

    [0034] FIG. 2 schematically illustrates a clock period deviation;

    [0035] FIG. 3 is a block diagram of the main steps of a transmission method according to one embodiment carried out in an transmitting apparatus;

    [0036] FIG. 4 schematically illustrates a user field of a communication frame;

    [0037] FIG. 5 is a block diagram of the main steps of a restoring method according to one embodiment carried out in an receiving apparatus;

    [0038] FIG. 6 schematically illustrates a sequence of restored clock cycles according to one embodiment.

    DETAILED DESCRIPTION OF CERTAIN INVENTIVE EMBODIMENTS

    [0039] FIG. 1 shows a communication system in which the described technology is applicable.

    [0040] The system 1 of FIG. 1 schematically illustrates the communication between a first transmitting apparatus 2 and a second receiving apparatus 4, via a plesiochronous communication network 6.

    [0041] It is understood that the described technology is not limited to communication between two apparatuses, and more generally applies in a network in which multiple apparatuses are connected, and makes it possible to ensure the precise restoration of a remote clock period on any number of receiving apparatuses.

    [0042] Furthermore, the described technology is also not limited to an application in a plesiochronous network.

    [0043] The plesiochronous network 6 is for example a packet-switched network of the Ethernet type, according to the PTP Ethernet communication protocolIEEE 1588.

    [0044] The transmitting apparatus 2 comprises a digitization module 8, able to generate an initial bit stream S.sub.i, with a nominal frequency F.sub.c (or set frequency) corresponding to a set clock period T.sub.c, the period being the duration of a cycle of the clock signal.

    [0045] The bit stream is formatted in sequences of binary data or datagrams, encapsulated in transport frames, by the formatting module 14. These are the frames Di that are transmitted over the network.

    [0046] Each frame comprises a data sequence to be transmitted (also called user data, corresponding to the bit stream to be transmitted), as well as signaling fields. The formatting of a frame is defined by the communication protocol.

    [0047] A data sequence to be transmitted comprises n binary samples (or bits). The sequence is paced by the emission clock signal, comprising n clock cycles, the clock period being the mean duration of the clock cycle, which is the duration between two rising edges of the clock signal.

    [0048] In theory, the clock period is constant and equal to a set clock period T.sub.c, therefore the clock period is equal to the mean period for each clock cycle.

    [0049] In practice, very small deviations are observed, which are variable over time, between the expected clock period (set clock period) and the actual emission clock period, or real period, as illustrated schematically in FIG. 2.

    [0050] FIG. 2 shows the set clock period T.sub.c, which is the expected period, the actual clock period T.sub.i for a clock cycle, and the deviation .sub.i.

    [0051] The actual emission clock signal S.sub.H is illustrated in solid lines in FIG. 2.

    [0052] The actual emission clock period associated with the initial bit stream S.sub.i is measured by a clock measuring module 10, using a reference clock 12 with a frequency greatly exceeding the emission clock frequency, as explained in more detail below.

    [0053] For example, the clock frequency of the reference clock is 100 Megahertz (MHz), while the nominal frequency is about 32 kilohertz (kHz).

    [0054] In one embodiment, the reference clock 12 is inside the transmitting apparatus 2.

    [0055] In one alternative, the reference clock 12 is outside the transmitting apparatus 2.

    [0056] The clock measuring module 10 makes it possible to measure the deviation, in mean value, between the set clock period T.sub.c and the mean value of the emission clock period, denoted T.sub.m, and simply called mean emission period hereinafter.

    [0057] Information representative of the mean emission period of a data sequence of a bit stream is inserted into a reserved data field of a frame encapsulating these data of the bit stream.

    [0058] Additional information making it possible to restore a bit stream R.sub.i with the same total duration is added, as explained in more detail hereinafter.

    [0059] The second receiving apparatus 4 receives the frame Di, and the binary data of the sequence are stored temporarily in a buffer memory 20.

    [0060] The receiving apparatus 4 includes a module 22 for generating a restore clock that carries out the extraction of the mean value information of the emission clock period and additional information from the dedicated field of the received frame.

    [0061] This information is used to generate a restore clock frequency having an associated restore clock period, equal on average at the mean value of the emission clock period, using a counter paced on a reference clock 24.

    [0062] The reference clock 24 has the same reference frequency as the reference clock 12 associated with the transmitting equipment, for example 100 MHz.

    [0063] In one embodiment, the reference clock 24 is inside the receiving apparatus 4.

    [0064] In one alternative, the reference clock 24 is outside the receiving apparatus 4.

    [0065] In one embodiment, a single outside reference clock replaces both reference clocks 12, 24.

    [0066] The bit stream R.sub.i is restored, at the restore clock frequency, by the sampling module 26 of the receiving apparatus 4.

    [0067] FIG. 3 is a block diagram of the main steps carried out in the transmitting apparatus in one embodiment.

    [0068] The steps of the method are carried out by a programmable device integrated into the transmitting apparatus, comprising a computing processor, for example a programmable logic circuit of the FPGA type.

    [0069] During a first step 30, the number of reference clock strikes between successive rising edges of the clock signal of the bit stream Si to be processed is calculated.

    [0070] The clock period T.sub.k of each sample k of the sequence is obtained.

    [0071] The set clock period T.sub.c being known and stored, during step 32 one obtains the deviation .sub.k=T.sub.kT.sub.c. The value of the deviation can be positive or negative.

    [0072] The obtained deviation values are accumulated and summed in step 34:

    [00001] S k = .Math. j = 1 k .Math. j

    [0073] Once the deviation values between set clock period and actual clock period are obtained for the n considered cycles, an Euclidian division is carried out in step 36 to obtain the mean value of the deviations. The number n is the number of cycles in a datagram, therefore the number of bits in a datagram.


    .sub.m=S.sub.n/n

    [0074] The Euclidian division operation also provides a remainder r.sub.m, which can be either nil, or a positive or negative integer value, defined by the formula:


    S.sub.n=n.sub.m+r.sub.m

    [0075] Advantageously, the use of the sum of the deviations and the application of the division to the sum of the deviations makes it possible to save computing resources in the calculation of the division.

    [0076] For example, when the nominal frequency is 32 kHz, an allowance is considered of +/10% relative to the nominal frequency, for a sequence size n=128 bits, the calculation of the mean of the clock periods would require enumerator of 19 bits, while the calculation of the mean of the deviations requires a numerator of 15 bits.

    [0077] The mean clock period is next obtained in step 38 by the calculation, by adding the obtained mean value of the deviations, which can be positive or negative, to the set period:


    T.sub.m=T.sub.c+.sub.k

    [0078] Indeed, for each clock cycle corresponding to a sample k, we have, as explained above: T.sub.k=T.sub.c+.sub.k

    [0079] The mean period is given by:

    [00002] T m = 1 n .Math. .Math. k = 1 n .Math. T k = 1 n .Math. ( n T c + .Math. k = 1 n .Math. k ) = T c + m

    [0080] A first piece of information making it possible to obtain the mean clock period is the calculated value T.sub.m.

    [0081] During step 40 for formatting the transmission data, this first piece of information is inserted into an appropriate field of the frame to be transmitted.

    [0082] This first piece of information will make it possible to restore the mean clock frequency and the mean value of the emission clock period at the receiving apparatus.

    [0083] An additional piece of information made up of the remainder r.sub.m and the sign of the remainder r.sub.m is also inserted into the frame to be transmitted.

    [0084] Advantageously, the transmission of this additional information, in addition to the information making it possible to obtain the mean clock period, will make it possible to restore, in the receiving apparatus, a clock signal having exactly the same duration, for the number n of cycles, as the emission clock signal, without transmitting a clock signal associated with the bit stream S.sub.i.

    [0085] For example, a 32-bit user field of the Ethernet frame is used to transmit information T.sub.m, r.sub.m and the sign of r.sub.m.

    [0086] In one example embodiment, the user field includes 32 bits, and the 11 most significant bits (MSB) are used for the remainder r.sub.m encoded on 10 bits and its sign encoded on 1 bit, the other 21 bits being used for the mean value of the calculated emission clock period T.sub.m, as illustrated schematically in FIG. 4.

    [0087] Advantageously, the transmission of the mean value of the emission clock period T.sub.m is usable by any receiver.

    [0088] Alternatively, in one scenario where the or each receiver knows the set period Tc, the obtained mean value of the deviations .sub.m is transmitted, with its sign.

    [0089] FIG. 5 is a block diagram of the main steps carried out in the receiving apparatus in one embodiment.

    [0090] The steps of the method are carried out by a programmable device integrated into the receiving apparatus, comprising a computing processor, for example a programmable logic circuit of the FPGA type.

    [0091] During a step 42, the mean clock period information T.sub.m, as well as the additional information containing the remainder r.sub.m of the division and its sign, are extracted from the user field of the received frame and stored.

    [0092] During step 44, a clock cycle with clock period equal to T.sub.m is generated for the current sample.

    [0093] During step 46, it is verified whether the absolute value r.sub.m of the stored remainder is greater than 0.

    [0094] If it is, step 46 is followed by a step 48 for adjusting the duration of the current cycle of a reference clock strike, in addition or less depending on whether the sign of the remainder is positive or negative, relative to the mean clock period.

    [0095] Step 48 is followed by a step 50 for decrementation by 1 of the absolute value of the stored remainder r.sub.m .

    [0096] When the absolute value of the stored remainder is nil (r.sub.m=0), then step 46 is followed by step 44 previously described.

    [0097] Thus, for a current clock cycle, the restored clock period is either equal to the mean clock period T.sub.m, or equal to T.sub.m1 or T.sub.m+1, in other words shorter or longer than a reference clock strike, based on the sign of the remainder r.sub.m.

    [0098] The bit stream R.sub.i is restored according to the paces of the restored cycles during steps 44 or 48 described above.

    [0099] It should be noted that with the restoring method described above, even if the variation of the emission clock is not faithfully reproduced by the receiving equipment upon each clock cycle, the mean value of the emission period is respected, as well as the total duration of the sample sequence of the initial bit stream.

    [0100] For example, if a sequence of n=128 cycles is considered, with a mean emission clock period equal to T.sub.m=C36 in hexadecimal (or 3126 in decimal), the value of the period indicating the number of reference clock strikes (at reference frequency 100 MHz) of an emission clock cycle, and a negative remainder of r.sub.m=4, one obtains cycles as illustrated schematically in FIG. 6: the first four cycles have a period value equal to C35, i.e., decreased by a reference clock cycle relative to the mean clock period T.sub.m, and the following clock cycles have a period T.sub.m equal to the mean period.

    [0101] Thus, the total duration of the restored sequence is equal to the total duration of the sequence initially emitted, and the emitted and restored sequences have the same mean frequency.

    [0102] The implementation of the inventive method described above has the advantage of simplicity.

    [0103] Alternatively, the period value of other cycles is adjusted, for example the last cycles or then one cycle out of P, with a given frequency P, for example one cycle out of 2, one cycle out of 3.

    [0104] While there have been shown and described and pointed out the fundamental novel features of the invention as applied to certain inventive embodiments, it will be understood that the foregoing is considered as illustrative only of the principles of the invention and not intended to be exhaustive or to limit the invention to the precise forms disclosed. Modifications or variations are possible in light of the above teachings. The embodiments discussed were chosen and described to provide the best illustration of the principles of the invention and its practical application to enable one of ordinary skill in the art to utilize the invention in various embodiments and with various modifications as are suited to the particular use contemplate. All such modifications and variations are within the scope of the invention as determined by the appended claims when interpreted in accordance with the breadth to which they are entitled.