WO2016000423A1 - Delay compensation method and device - Google Patents

Delay compensation method and device Download PDF

Info

Publication number
WO2016000423A1
WO2016000423A1 PCT/CN2014/094269 CN2014094269W WO2016000423A1 WO 2016000423 A1 WO2016000423 A1 WO 2016000423A1 CN 2014094269 W CN2014094269 W CN 2014094269W WO 2016000423 A1 WO2016000423 A1 WO 2016000423A1
Authority
WO
WIPO (PCT)
Prior art keywords
delay
value
signal
compensation
preset position
Prior art date
Application number
PCT/CN2014/094269
Other languages
French (fr)
Chinese (zh)
Inventor
张雪
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to MYPI2016002333A priority Critical patent/MY189564A/en
Priority to RU2017100648A priority patent/RU2648285C1/en
Publication of WO2016000423A1 publication Critical patent/WO2016000423A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted

Definitions

  • the present invention relates to the field of communication optical transmission network OTN, and in particular, to a method and apparatus for delay compensation.
  • the core concept of the distributed base station is to separate the traditional macro base station baseband processing unit (BBU) and the radio remote unit (RRU), and the two are connected through optical fibers or bearer network devices.
  • BBU base station baseband processing unit
  • RRU radio remote unit
  • the distributed base station solution Compared with the traditional base station solution, the distributed base station solution not only greatly reduces the dependence on the site equipment room, reduces the difficulty of deployment, but also effectively increases the network construction speed, which greatly saves the network construction cost and operation and maintenance cost for the operator. It meets the needs of operators for fast and low-cost network construction. Therefore, the network construction mode of distributed base stations has become an important choice for carrier base station deployment.
  • the distributed base station is implemented by using a Common Public Radio Interface (CPRI) to transmit digital baseband data to a remote radio remote unit (RRU) through a bearer network device.
  • CPRI Common Public Radio Interface
  • the public wireless interface specification CPRI is a standard interface for connecting BBUs and RRUs initiated by companies such as Ericsson, Huawei, NEC, Nortel Networks and Siemens.
  • the CPRI interface can be used in a variety of 3G formats as well as future LTE.
  • both fiber direct drive and WDM/OTN technologies can meet the transmission requirements of CPRI.
  • the use of the optical transport network OTN to carry the CPRI interface signal can improve the bandwidth utilization of the optical fiber, support longer-distance transmission, provide complete protection and rich optical layer management, support any topology networking, simplify operation and maintenance management, and simplify expansion. Can increase the speed of launching new wireless services; and use the optical transport network OTN to carry CPRI, It also extends the transmission distance and provides protection. Therefore, CPRI over OTN will be widely used by operators.
  • the OTN device Before the wireless device does not use the distributed base station, the OTN device is not used in the case of the delay compensation mechanism implemented in the wireless device. With the large number of applications of the OTN device in the wireless communication, the OTN device is urgently needed to solve the delay. Problem (For the omnidirectional transmit network application technical requirements for mobile communication base stations, the transmission delay of each transmit channel at the antenna port needs to be synchronized within the allowable range value; that is, all RRUs must be synchronized and transmitted at the specified time) .
  • the embodiment of the invention provides a method and device for delay compensation, which can conveniently implement delay compensation of the bearer network device without affecting the function of the original device, so that the RRUs of all wireless devices are at a specified time.
  • a method of delay compensation comprising:
  • the step of separately acquiring the first delay value generated by the following signal transmission in the first device and the second delay value generated by transmitting in the second device includes:
  • the step of separately acquiring the first delay value generated by the following signal transmission in the first device and the second delay value generated by transmitting in the second device further includes:
  • the first preset delay value of the first device is a maximum delay value measured by the first device in a preset time period; and the second preset delay of the second device is The value is the maximum delay value measured by the second device within a preset period of time.
  • the formula for calculating the delay compensation value is:
  • Delay compensation value (maximum delay value of the first device - first delay value) + (maximum delay value of the second device - second delay value).
  • the step of delay compensation of the service signal transmission process according to the delay compensation value includes:
  • the step of using the delay compensation value to control an output of the first-in first-out queue includes:
  • the service signals are sequentially output.
  • the embodiment of the invention further provides a device for delay compensation, comprising:
  • the extracting module is configured to acquire a follow signal of the following service signal transmission during the process of transmitting the service signal from the first device to the second device;
  • a delay acquisition module configured to respectively acquire a first delay value generated by the following signal transmission in the first device and a second delay value generated by transmitting in the second device;
  • a difference obtaining module configured to obtain a first difference between the first delay value and a first preset delay value of the first device, and the second delay value and the second device a second difference of the second preset delay value;
  • Inserting a module configured to insert the first difference into the service signal to transmit the service signal to the second device
  • a compensation acquisition module configured to extract the first difference value from the service signal on the second device, and obtain a delay compensation in a transmission process of the service signal according to the first difference value and the second difference value value;
  • the compensation module is configured to perform delay compensation on the service signal in the process of transmitting the service signal according to the delay compensation value.
  • the delay obtaining module includes:
  • the first clock acquisition module is configured to extract the following signal at a first preset position of the first device, and acquire information of the following signal at the first preset position;
  • a second clock acquisition module configured to extract the following signal at a second preset position of the first device, and acquire information of the following signal at the second preset position
  • the first delay acquisition submodule is configured to acquire a first delay value generated by the following signal transmission in the first device according to the information of the following signal at the first preset position and the second preset position.
  • the delay obtaining module further includes:
  • a third clock acquisition module configured to extract the following signal at a third preset position of the second device, and acquire information of the following signal at the third preset position
  • a fourth clock acquisition module configured to extract the following signal at a fourth preset position of the second device, and acquire information of the following signal at the fourth preset position
  • a second delay acquisition submodule configured to acquire a second delay value generated by the following signal transmission in the second device according to the information of the following signal at the third preset position and the fourth preset position.
  • the first preset delay value of the first device is a maximum delay value measured by the first device in a preset time period; and the second preset delay of the second device is The value is the maximum delay value measured by the second device within a preset period of time.
  • the calculation formula of the delay compensation value is specifically:
  • Delay compensation value (maximum delay value of the first device - first delay value) + (maximum delay value of the second device - second delay value).
  • the compensation module includes:
  • the compensation submodule is configured to delay compensation of the service signal transmission process by using a first in first out queue; wherein the delay compensation value is used to control the output of the first in first out queue.
  • the compensation submodule includes:
  • the scaling module is configured to convert the delay compensation value into a read/write clock period value of the N first-in first-out queues according to the read/write clock of the first-in first-out queue;
  • the output module is configured to sequentially output the service signals after writing N service signals in the first-in first-out queue.
  • the required delay compensation value during the transmission of the service signal is calculated by acquiring the delay value of the following signal transmitted by the following service signal in the first device and the second device. And delay compensation of the service signal; without affecting the function of the original device, the delay compensation of the bearer network device is conveniently implemented, so that the RRU of all the wireless devices are synchronously transmitted within the specified time.
  • the technical requirements of the omnidirectional transmitting network to the mobile communication base station are satisfied.
  • FIG. 1 is a flow chart showing the basic steps of a method for delay compensation according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing an application scenario of a method for delay compensation according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram showing signal transmission of a method for delay compensation according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a network basic topology according to a specific embodiment 1 of the embodiment of the present invention.
  • FIG. 5 is a block diagram showing the access to the CPRI6 service according to the first embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a delay measurement path according to Embodiment 1 of the embodiment of the present invention.
  • FIG. 7 is a block diagram showing an internal logic and a framer of an FPGA according to Embodiment 2 of the embodiment of the present invention.
  • FIG. 8 is a schematic diagram showing a relative position of a frame header of each point in a second embodiment of the embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an apparatus for delay compensation according to an embodiment of the present invention.
  • the embodiment of the present invention provides a method and a device for delay compensation by acquiring an following service signal transmission in the related art that the wireless device adopts an internal delay compensation mechanism and the delay between two separate devices cannot be solved.
  • the delay value of the following signal in the first device and the second device calculates the required delay compensation value during the transmission of the service signal, and delays the service signal; and does not affect the function of the original device.
  • the delay compensation of the bearer network device is conveniently implemented, so that the RRUs of all the wireless devices are synchronously transmitted within a specified time, and the technical requirements of the omnidirectional transmit network to the mobile communication base station are satisfied.
  • an embodiment of the present invention provides a method for delay compensation, including:
  • Step 1 acquiring, in a transmission process of the service signal from the first device to the second device, a follow signal that follows the service signal transmission;
  • Step 2 respectively acquiring a first delay value generated by the following signal transmission in the first device and a second delay value generated by transmitting in the second device;
  • Step 3 Obtain a first difference between the first delay value and a first preset delay value of the first device, and the second delay value and a second preset of the second device The second difference of the delay value;
  • Step 4 insert the first difference value into the service signal and transmit the service signal to the second device;
  • Step 5 Extract the first difference value from the service signal on the second device, and obtain a delay compensation value required for a service signal transmission process according to the first difference value and the second difference value;
  • Step 6 Perform delay compensation on the service signal in the process of transmitting the service signal according to the delay compensation value.
  • the following signal in step 1 may be a certain signal related to the service extracted from the service signal, or may be other signals inserted into the service signal, as long as it can always follow the transmission of the service signal.
  • the signals are applicable in the embodiments of the present invention.
  • the following signals are extracted in the first device and the second device respectively, and the transmission delays between the two signals in the first device and the second device are respectively measured. corresponding a first delay value and a second delay value; wherein the measurement of the first delay value and the second delay value is obtained by a clock counting method, that is, inserting a measurement clock during the entire process of the service signal transmission, according to The number of clocks between locations that need to be measured determines the delay value.
  • the delay value in the first device and the second delay value in the second device are unstable, the delay value changes according to factors such as time and signal strength, so in order to ensure the stability of the delay
  • the first preset delay value of the first device and the second preset delay value of the second device are preset, and the corresponding difference between the real-time delay value and the preset delay value is obtained through step 3. That is, the first difference value and the second difference value; wherein the first preset delay value and the second preset delay value are specifically obtained by using a large amount of experimental data, and may also pass the theory of the first device or the second device.
  • the parameters are calculated by numerical calculation, and are not limited to a fixed manner. All the manners that can correctly obtain the first preset delay value and the second preset delay value are applicable in the embodiments of the present invention.
  • step 6 compensates the service signal with the delay device or device according to the compensation value required for the delay obtained in step 5; wherein the delay device or device is a delay circuit, an FPGA device delay or a delay switch, etc. Wait, don't repeat them here.
  • the method for delay compensation in the transmission process of the service signal transmitted from the first device to the second device is specifically described in the present invention. In practical applications, each device has a signal transmission in two directions. Both of them will generate delays, and delay compensation is required. Therefore, when using the delay device for compensation in step 6, the delays in the two directions of the device need to be compensated separately, so as to delay the transmission of the service signal. Stable.
  • step 2 may include:
  • Step 21 Extract the following signal at a first preset position of the first device, and acquire information about the following signal at the first preset position;
  • Step 22 Extract the following signal at a second preset position of the first device, and obtain information about the following signal at the second preset position;
  • Step 23 Acquire a first delay value generated by the following signal transmission in the first device according to the information of the following signal at the first preset position and the second preset position.
  • Step 2 may also include:
  • Step 24 extracting the following signal at a third preset position of the second device, and acquiring information of the following signal at the third preset position;
  • Step 25 extract the following signal at a fourth preset position of the second device, and obtain the Following the information of the signal at the fourth preset position;
  • Step 26 Acquire a second delay value generated by the following signal transmission in the second device according to the information of the following signal at the third preset position and the fourth preset position.
  • steps 21 to 26 describe a step of acquiring a first delay value and a second delay value by using a clock counting method; wherein, in the process of transmitting a service signal, a measurement clock is inserted, optionally
  • the measurement clock can use the system clock of the service signal transmission system, or can be a separately set clock, and is not limited to a fixed form.
  • the first preset position and the second preset position of the first device are differently set according to different devices, and are not fixed to one position; the first clock information at the first preset position, that is, the first preset position is Corresponding position on the measurement clock, the second clock information in the second preset position, that is, the correspondence between the second preset position on the measurement clock; and then performing step 23, by calculating the first preset position on the measurement clock and The number of clocks between the two preset positions obtains a first delay value; for example, there are 4 measurement clock cycles between the first clock information and the second clock information, and the first delay value is 4 measurement clocks.
  • the period value specifically, the unit of the delay value is generally ns.
  • the obtaining process of the second delay value is consistent with the obtaining process of the first delay value, and details are not described herein.
  • the delay compensation is not performed inside the first device, but the first delay value is inserted into the service signal and transmitted to the first In the second device, optionally, the first delay value uses a reserved overhead of the OTN to perform a delay value transmission method to implement interaction between two separate devices.
  • the first preset delay value of the first device is a maximum delay value measured by the first device within a preset time period; and the second pre-second of the second device The delay value is a maximum delay value measured by the second device within a preset time period.
  • the method for obtaining the maximum delay value of the first device and the maximum delay value of the second device may be: by measuring a plurality of the same devices, and at least dropping the power and inserting and removing the optical fiber 100 times to obtain an experiment. Data, and then analyze its experimental data to get a more accurate maximum delay value.
  • the calculation formula of the delay compensation value is:
  • Delay compensation value (maximum delay value of the first device - first delay value) + (maximum delay value of the second device - second delay value).
  • step 6 includes:
  • Step 61 Perform delay compensation on the service signal transmission process by using a first-in first-out queue; wherein the delay compensation value is used to control the output of the first-in first-out queue.
  • FIFO-first-in first-out queue the abbreviation of First Input First Output
  • this is a traditional sequential execution method
  • the first entered instruction is completed and retired, followed by the second instruction.
  • the principle of the first-in first-out queue is: the FIFO queue does not classify the message, and the FIFO enters the queue according to the order in which the message arrives at the interface. At the same time, the FIFO exits the queue in the order of the queue, advanced. The message will be sent out first, and the incoming message will be sent out.
  • the step of using the delay compensation value to control the output of the first in first out queue includes:
  • Step 62 Convert the delay compensation value into a read/write clock period value of the N first-in first-out queues according to the read/write clock of the first-in first-out queue; N is an integer greater than or equal to 1.
  • Step 63 After the N service signals are written in the first-in first-out queue, the service signals are sequentially output.
  • the first-in first-out queue FIFO is equivalent to a buffer.
  • the FIFO does not read outward, and writes data to the FIFO;
  • the number of service signals in the FIFO is equal to N, a data is written into the FIFO, and the output of the FIFO reads out a data outward; it should be noted that the service signal is always transmitted, and the FIFO is constantly being continuously When the data is written, the FIFO will continuously read out the data; at the same time, since the number of service signals in the FIFO is equal to N, it is ensured that each service signal is output from the second device end with the maximum delay value, thereby ensuring The stability of the delay.
  • the read/write clock of the first-in first-out queue in the above embodiment of the present invention may also adopt a system clock or a clock consistent with the above-mentioned measurement clock. If the read/write clock of the first-in first-out queue is consistent with the measurement clock, the delay value and the delay compensation value can be directly calculated by using several times of the clock period value, without converting to a specific ns, and then step 62
  • the delay compensation value in the direct value is N clock cycle values, which simplifies the calculation steps.
  • two devices in the bearer network are respectively applied between two terminal devices (external device 1 and external device 2), between the two terminal devices.
  • two terminal devices external device 1 and external device 2
  • the present invention provides a method of delay compensation, as shown in FIG.
  • the first step is to extract or insert a signal covering the entire path that may cause a delay change in the board 1 and the board 2, and generally extract or insert a signal (following signal) upstream of the board 1 / board 2, The same signal is extracted downstream of the corresponding board 1/board 2, and the delay between the two signals is measured.
  • the samples of the multiple boards are measured, and the maximum values measured by the delay measurement module 1 and the delay measurement module 2 are found in all the single board samples, and the maximum values of the delays of the device 1 and the device 2 are respectively defined as Ta_delay_max and Tb_delay_max.
  • the delay values of the two boards, Ta_delay_now and Tb_delay_now are measured after the board is powered.
  • the delay value measured by the board 1 is transmitted to the board 2 through the service transmission, and then the delay value (Ta_delay_now) measured by the board 1 is extracted in the board 2.
  • the value Ta_delay_now measured by the board 1 and the delay value Tb_delay_now of the board 2 are respectively compared with the maximum values of the delays (Ta_delay_max and Tb_delay_max), and the difference is seen, and then the delay compensation module is used to compensate the difference. Two differences.
  • the client side refers to the service that our board accesses
  • the line side refers to the service that carries the CPRI. This refers to the OTN service.
  • the business process is first processed by the FPGA logic for the customer service and the line side service, and then converted to an optical signal for transmission through the framer chip and then to the optical port.
  • the odu2 layer is sent to the line side, and there is a delay, which is passed through the board position.
  • the odu2 frame header (fp1) and the frame header (fp2) at the exiting board position are measured and obtained.
  • the logic module that implements this measurement is the delay measurement module 1, and the measured first delay value is Ta_delay_now.
  • the two boards are connected by optical fibers.
  • the measured first delay value Ta_delay_now can be transmitted to the downstream site for compensation through the OTN overhead or the payload area.
  • the delay of the client side is received, and the measurement is obtained by the frame header (fp3) of the board position and the frame header (fp4) of the board position.
  • the logic module that implements this measurement is the delay measurement module 2, and the measured second delay value is Tb_delay_now.
  • the logic computes the two delay values from the maximum delay values (Ta_delay_max and Tb_delay_max) that have been extensively tested before, resulting in fifo_value. This delay value is then compensated by the delay compensation FIFO.
  • Figure 6 shows the entire service processing block diagram of the OTN board.
  • the client side connects the 6.214 Gb/s CPRI6 service and the line side fiber loopback.
  • a position In the FPGA logic, the signal extracted by the client side is transmitted.
  • the odu2 overhead inserts the header signal from the part, which is before the FEC encoding.
  • the frame header signal is extracted from the overhead extraction part, and this signal is after FEC decoding.
  • D position In the FPGA logic, the signal extracted by the client side receiving side.
  • Path 1 Contains all logic and SFI4.2 interfaces on the client side and line side as well as partial processing modules in the framer.
  • Path 2 Includes codec in the framer and optical module to fiber section.
  • Path 3 Contains some of the processing modules in the framer and the SFI4.2 interface and the receiving side line side and client side logic.
  • the delay variation mainly exists in path 1 and path 3.
  • the delay variation of other paths can be neglected. Therefore, in order to facilitate the test, compensation path 1 and 3 can realize the purpose of delay compensation. Therefore, add fifo on the receiving side of the FPGA line side to delay compensation, so that each power-on delay reaches the maximum value and is in a stable state.
  • the first delay value Ta_delay_now and the second delay value Tb_delay_now after power-on are the delay values of path 1 and path 3, respectively.
  • the delay value reaches a steady state.
  • Tdelay_offset ⁇ (Ta_delay_max-Ta_delay_now)+(Tb_delay_max-Tb_delay_now) ⁇ .
  • the read and write clocks of the FIFO are all system clocks.
  • the fifo water level is controlled by Tdelay_offset. If the number of service signals is less than Tdelay_offset, the data is not read. The data is written to fifo. When the number of service signals is equal to Tdelay_offset, fifo starts to continuously Read data out. This ensures the stability of the delay.
  • This application example shows the measurement of the delay stability and the compensation method when the service board of the OTN device carries the cpri6 service.
  • This method is also applicable to other rate services related to CPRI, such as CPRI2/CPRI3/CPRI4/CPRI5/CPRI6/CPRI7 services, and the whole process is basically the same as that of the first embodiment.
  • This method is also applicable to other service boards of the OTN equipment.
  • this method can be applied to compensate.
  • the service loopback determines that the client-side delay variation is stable. To determine whether the delay instability is generated at the SFI4.2 interface, or in the framer, whether it is on the receiving side or on the transmitting side, it needs to be in the FPGA and The corresponding signal is extracted from the framer, and the signal is captured by the chipscope to test.
  • a position frame header In the FPGA logic, the line transmission side, the frame header of the otu2 data to be sent to the SFI4.2 interface.
  • the frame header signal is extracted from the overhead insertion portion, and this signal is before the FEC encoding.
  • the frame header signal is extracted from the overhead extraction part, and this signal is after FEC decoding.
  • D position frame header In the framer, the client sends the frame header extracted by the overhead part.
  • E position frame header In the FPGA logic, on the line receiving side, the frame header signal before the OTU2 overhead is extracted.
  • the above signal is captured by chipscope, and the frame header signal of point A is used as the trigger signal, and the relative positions of points B, C, D, and E are recorded separately after each power-off.
  • the waveform is shown in Figure 8.
  • the delay values T1delay_now and T2delay_now after power-on are the delay values of path 1 and path (3+4), respectively.
  • the delay of these paths is measured, and finally, according to the above measurement compensation method, the effect of delay compensation is finally achieved.
  • the embodiment of the present invention further provides a device for delay compensation, including:
  • the extraction module 10 is configured to transmit a service signal from the first device to the second device Obtaining a follow signal that follows the transmission of the service signal;
  • the delay obtaining module 20 is configured to respectively acquire a first delay value generated by the following signal transmission in the first device and a second delay value generated by transmitting in the second device;
  • the difference obtaining module 30 is configured to obtain a first difference between the first delay value and a first preset delay value of the first device, and the second delay value and the second device a second difference of the second preset delay value;
  • the inserting module 40 is configured to insert the first difference value into the service signal and transmit the service signal to the second device;
  • the compensation acquisition module 50 is configured to extract the first difference value from the service signal on the second device, and obtain a delay required in a service signal transmission process according to the first difference value and the second difference value. Time compensation value;
  • the compensation module 60 is configured to perform delay compensation on the service signal in the process of transmitting the service signal according to the delay compensation value.
  • the delay obtaining module 20 includes:
  • the first clock acquisition module is configured to extract the following signal at a first preset position of the first device, and acquire information of the following signal at the first preset position;
  • a second clock acquisition module configured to extract the following signal at a second preset position of the first device, and acquire information of the following signal at the second preset position
  • the first delay acquisition submodule is configured to acquire a first delay value generated by the following signal transmission in the first device according to the information of the following signal at the first preset position and the second preset position.
  • the delay obtaining module 20 further includes:
  • a third clock acquisition module configured to extract the following signal at a third preset position of the second device, and acquire information of the following signal at the third preset position
  • a fourth clock acquisition module configured to extract the following signal at a fourth preset position of the second device, and acquire information of the following signal at the fourth preset position
  • a second delay acquisition submodule configured to acquire a second delay value generated by the following signal transmission in the second device according to the information of the following signal at the third preset position and the fourth preset position.
  • the first preset delay value of the first device is a maximum delay value measured by the first device within a preset time period; and the second preset of the second device is The delay value is the number The maximum delay value measured by the second device during a preset period of time.
  • the calculation formula of the delay compensation value is:
  • Delay compensation value (maximum delay value of the first device - first delay value) + (maximum delay value of the second device - second delay value).
  • the compensation module 60 includes:
  • the compensation submodule is configured to delay compensation of the service signal transmission process by using a first in first out queue; wherein the delay compensation value is used to control the output of the first in first out queue.
  • the compensation submodule includes:
  • the scaling module is configured to convert the delay compensation value into a read/write clock period value of the N first-in first-out queues according to the read/write clock of the first-in first-out queue;
  • the output module is configured to sequentially output the service signals after writing N service signals in the first-in first-out queue.
  • the required delay compensation value during the transmission of the service signal is calculated by acquiring the delay value of the following signal transmitted by the following service signal in the first device and the second device. And delay compensation of the service signal; without affecting the function of the original device, the delay compensation of the bearer network device is conveniently implemented, so that the RRU of all the wireless devices are synchronously transmitted within the specified time.
  • the technical requirements of the omnidirectional transmitting network to the mobile communication base station are satisfied.
  • the apparatus for delay compensation provided by the embodiment of the present invention is a device applying the above method, and all embodiments of the foregoing method are applicable to the device, and all of the same or similar beneficial effects can be achieved.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the delay of the bearer network device is conveniently implemented without affecting the function of the original device, so that the RRUs of all the wireless devices are synchronously transmitted within a specified time, and the omnidirectional transmitting group is satisfied.

Abstract

Provided are a delay compensation method and device. The method comprises: a following signal transmitted with a service signal is obtained in the process for transmitting the service signal from a first device to a second device; a first delay value brought by transmitting the following signal in the first device, and a second delay value brought by transmitting the following signal in the second device are respectively obtained; a first difference value between the first delay value and a preset delay value of the first device, and a second difference value between the second delay value and a preset delay value of the second device are obtained; the first difference value is inserted into the service signal and transmitted with the service signal to the second device; the first difference value is abstracted from the service signal on the second device, and a delay compensation value needed in the service signal transmission process is obtained according to the first difference value and the second difference value; delay compensation for the service signal in the service signal transmission process is performed according to the delay compensation value.

Description

一种延时补偿的方法及装置Method and device for delay compensation 技术领域Technical field
本发明涉及通信的光传送网OTN领域,特别涉及一种延时补偿的方法及装置。The present invention relates to the field of communication optical transmission network OTN, and in particular, to a method and apparatus for delay compensation.
背景技术Background technique
随着3G时代的到来,各大通信运营商对3G移动通信网络展开了大规模建设,投入巨大,而基站是3G网络建设中数量最多及成本最高的设备。移动通信领域日趋激烈的竞争,使得通信运营商比以往更加关注建网成本,而分布式基站具备成本低、高性能、快速运营等特性,能够大大节省运营商的建网与运维成本。因此分布式基站成为当前3G网络建设的最主要选择。With the advent of the 3G era, major communication operators have launched large-scale construction of 3G mobile communication networks, and the base station is the largest and most costly equipment for 3G network construction. The increasingly fierce competition in the field of mobile communications has made communication operators pay more attention to the cost of network construction than ever before. Distributed base stations have the characteristics of low cost, high performance and fast operation, which can greatly save operators' network construction and operation and maintenance costs. Therefore, distributed base stations have become the most important choice for current 3G network construction.
分布式基站核心理念,是把传统宏基站基带处理单元(BBU)和射频拉远单元(RRU)分离,二者通过光纤或者承载网设备相连。网络部署时,将BBU、核心网、无线网络控制设备集中在机房内,与规划站点上部署的RRU通过光纤连接,完成网络覆盖。The core concept of the distributed base station is to separate the traditional macro base station baseband processing unit (BBU) and the radio remote unit (RRU), and the two are connected through optical fibers or bearer network devices. During the network deployment, the BBU, the core network, and the wireless network control device are centralized in the equipment room, and the RRUs deployed on the planning site are connected through optical fibers to complete network coverage.
分布式基站方案与传统基站方案相比,不仅大大减少了对站点机房的依赖、降低了部署的难度,还有效提高了建网速度,为运营商大大节省了建网成本与运维成本,充分满足了运营商快速、低成本建网的需求。因此,分布式基站的建网模式已经成为运营商基站部署的重要选择。Compared with the traditional base station solution, the distributed base station solution not only greatly reduces the dependence on the site equipment room, reduces the difficulty of deployment, but also effectively increases the network construction speed, which greatly saves the network construction cost and operation and maintenance cost for the operator. It meets the needs of operators for fast and low-cost network construction. Therefore, the network construction mode of distributed base stations has become an important choice for carrier base station deployment.
分布式基站的实现方法是利用通用公共无线接口(CPRI),通过承载网设备传送数字基带数据到远程射频拉远单元(RRU)。而公共无线接口规范CPRI是由爱立信、华为、NEC、北电网络与西门子等公司发起制定的连接BBU和RRU的标准接口。CPRI接口可以用于多种3G制式以及未来的LTE。目前,光纤直驱和WDM/OTN技术都可以满足CPRI的传输要求。利用光传送网OTN承载CPRI接口信号可以提高光纤的带宽利用率,支持更长距离的传送,提供完善的保护能力和丰富的光层管理,支持任意拓扑组网,简化运维管理,扩容简单,可提高无线新业务的推出速度;且利用光传送网OTN承载CPRI, 还可以延长传输距离,并可提供保护。因此,CPRI over OTN将得到运营商的广泛应用。The distributed base station is implemented by using a Common Public Radio Interface (CPRI) to transmit digital baseband data to a remote radio remote unit (RRU) through a bearer network device. The public wireless interface specification CPRI is a standard interface for connecting BBUs and RRUs initiated by companies such as Ericsson, Huawei, NEC, Nortel Networks and Siemens. The CPRI interface can be used in a variety of 3G formats as well as future LTE. At present, both fiber direct drive and WDM/OTN technologies can meet the transmission requirements of CPRI. The use of the optical transport network OTN to carry the CPRI interface signal can improve the bandwidth utilization of the optical fiber, support longer-distance transmission, provide complete protection and rich optical layer management, support any topology networking, simplify operation and maintenance management, and simplify expansion. Can increase the speed of launching new wireless services; and use the optical transport network OTN to carry CPRI, It also extends the transmission distance and provides protection. Therefore, CPRI over OTN will be widely used by operators.
而在无线设备没有采用分布式基站之前,没有应用OTN设备的情况下,都是在无线设备内部实现的延时补偿机制,随着OTN设备在无线通信中的大量应用,急需OTN设备解决延时问题(针对全向发射组网应用对移动通信基站的技术要求,各发射信道在天线端口的发射延时需要同步在许可的范围值内;也就是所有的RRU在指定的时间必须同步和传输)。Before the wireless device does not use the distributed base station, the OTN device is not used in the case of the delay compensation mechanism implemented in the wireless device. With the large number of applications of the OTN device in the wireless communication, the OTN device is urgently needed to solve the delay. Problem (For the omnidirectional transmit network application technical requirements for mobile communication base stations, the transmission delay of each transmit channel at the antenna port needs to be synchronized within the allowable range value; that is, all RRUs must be synchronized and transmitted at the specified time) .
发明内容Summary of the invention
本发明实施例提供一种延时补偿的方法及装置,在不影响原有设备的功能的情况下,方便的实现了承载网设备进行延时补偿,从而使所有无线设备的RRU在指定的时间内同步传输的目的。The embodiment of the invention provides a method and device for delay compensation, which can conveniently implement delay compensation of the bearer network device without affecting the function of the original device, so that the RRUs of all wireless devices are at a specified time. The purpose of intra-synchronous transmission.
一种延时补偿的方法,包括:A method of delay compensation, comprising:
在业务信号从第一设备传输到第二设备的过程中,获取一个跟随业务信号传输的跟随信号;Acquiring a follow signal of the following service signal transmission in the process of transmitting the service signal from the first device to the second device;
分别获取跟随信号在所述第一设备内传输产生的第一延时值和在所述第二设备内传输产生的第二延时值;Obtaining, respectively, a first delay value generated by the following signal transmission in the first device and a second delay value generated by transmitting in the second device;
获得所述第一延时值与所述第一设备的第一预设延时值的第一差值,以及所述第二延时值与所述第二设备的第二预设延时值的第二差值;Obtaining a first difference between the first delay value and a first preset delay value of the first device, and the second delay value and a second preset delay value of the second device Second difference
将所述第一差值插入到所述业务信号中跟随所述业务信号传输到所述第二设备;Inserting the first difference into the service signal to transmit the service signal to the second device;
在所述第二设备上从所述业务信号中提取所述第一差值,并根据所述第一差值和第二差值获取业务信号传输过程中需要的延时补偿值;Extracting, by the second device, the first difference value from the service signal, and acquiring a delay compensation value required for a service signal transmission process according to the first difference value and the second difference value;
根据所述延时补偿值对业务信号传输过程中的业务信号进行延时补偿。And delaying the service signal in the process of transmitting the service signal according to the delay compensation value.
可选地,所述分别获取跟随信号在所述第一设备内传输产生的第一延时值和在所述第二设备内传输产生的第二延时值的步骤包括:Optionally, the step of separately acquiring the first delay value generated by the following signal transmission in the first device and the second delay value generated by transmitting in the second device includes:
在所述第一设备的第一预设位置提取所述跟随信号,获取所述跟随信号在所述第一预设位置上的信息;Extracting the following signal at a first preset position of the first device, and acquiring information of the following signal at the first preset position;
在所述第一设备的第二预设位置提取所述跟随信号,获取所述跟随信号 在所述第二预设位置上的信息;Extracting the following signal at a second preset position of the first device to acquire the following signal Information at the second preset position;
根据所述跟随信号在第一预设位置和第二预设位置上的信息获取跟随信号在所述第一设备内传输产生的第一延时值。And acquiring, according to the information of the following signals at the first preset position and the second preset position, a first delay value generated by the following signal transmitted in the first device.
可选地,所述分别获取跟随信号在所述第一设备内传输产生的第一延时值和在所述第二设备内传输产生的第二延时值的步骤还包括:Optionally, the step of separately acquiring the first delay value generated by the following signal transmission in the first device and the second delay value generated by transmitting in the second device further includes:
在所述第二设备的第三预设位置提取所述跟随信号,获取所述跟随信号在所述第三预设位置上的信息;Extracting the following signal at a third preset position of the second device, and acquiring information of the following signal at the third preset position;
在所述第二设备的第四预设位置提取所述跟随信号,获取所述跟随信号在所述第四预设位置上的信息;Extracting the following signal at a fourth preset position of the second device, and acquiring information of the following signal at the fourth preset position;
根据所述跟随信号在第三预设位置和第四预设位置上的信息获取跟随信号在所述第二设备内传输产生的第二延时值。And acquiring, according to the information of the following signals at the third preset position and the fourth preset position, a second delay value generated by the following signal transmission in the second device.
可选地,所述第一设备的第一预设延时值为所述第一设备在一预设时间段内测得的最大延时值;所述第二设备的第二预设延时值为所述第二设备在一预设时间段内测得的最大延时值。Optionally, the first preset delay value of the first device is a maximum delay value measured by the first device in a preset time period; and the second preset delay of the second device is The value is the maximum delay value measured by the second device within a preset period of time.
可选地,所述延时补偿值的计算公式为:Optionally, the formula for calculating the delay compensation value is:
延时补偿值=(第一设备的最大延时值-第一延时值)+(第二设备的最大延时值-第二延时值)。Delay compensation value = (maximum delay value of the first device - first delay value) + (maximum delay value of the second device - second delay value).
可选地,根据所述延时补偿值对所述业务信号传输过程进行延时补偿的步骤包括:Optionally, the step of delay compensation of the service signal transmission process according to the delay compensation value includes:
通过一先入先出队列对所述业务信号传输过程进行延时补偿;其中,利用所述延时补偿值来控制所述先入先出队列的输出。Delaying compensation of the service signal transmission process by a first-in first-out queue; wherein the delay compensation value is used to control the output of the first-in first-out queue.
可选地,所述利用所述延时补偿值来控制所述先入先出队列的输出的步骤包括:Optionally, the step of using the delay compensation value to control an output of the first-in first-out queue includes:
根据所述先入先出队列的读写时钟,将所述延时补偿值换算为N个所述先入先出队列的读写时钟周期值;And calculating, according to the read/write clock of the first-in first-out queue, the delay compensation value into a read/write clock period value of the N first-in first-out queues;
当所述先入先出队列中写入N个业务信号后依次输出业务信号。When the N service signals are written in the first-in first-out queue, the service signals are sequentially output.
本发明实施例还提供一种延时补偿的装置,包括:The embodiment of the invention further provides a device for delay compensation, comprising:
提取模块,设置为在业务信号从第一设备传输到第二设备的过程中,获取一个跟随业务信号传输的跟随信号; The extracting module is configured to acquire a follow signal of the following service signal transmission during the process of transmitting the service signal from the first device to the second device;
延时获取模块,设置为分别获取跟随信号在所述第一设备内传输产生的第一延时值和在所述第二设备内传输产生的第二延时值;a delay acquisition module, configured to respectively acquire a first delay value generated by the following signal transmission in the first device and a second delay value generated by transmitting in the second device;
差值获取模块,设置为获得所述第一延时值与所述第一设备的第一预设延时值的第一差值,以及所述第二延时值与所述第二设备的第二预设延时值的第二差值;a difference obtaining module, configured to obtain a first difference between the first delay value and a first preset delay value of the first device, and the second delay value and the second device a second difference of the second preset delay value;
插入模块,设置为将所述第一差值插入到所述业务信号中跟随所述业务信号传输到所述第二设备;Inserting a module, configured to insert the first difference into the service signal to transmit the service signal to the second device;
补偿获取模块,设置为在所述第二设备上从所述业务信号中提取所述第一差值,并根据所述第一差值和第二差值获取业务信号传输过程中的延时补偿值;a compensation acquisition module, configured to extract the first difference value from the service signal on the second device, and obtain a delay compensation in a transmission process of the service signal according to the first difference value and the second difference value value;
补偿模块,设置为根据所述延时补偿值对业务信号传输过程中的业务信号进行延时补偿。The compensation module is configured to perform delay compensation on the service signal in the process of transmitting the service signal according to the delay compensation value.
可选地,所述延时获取模块包括:Optionally, the delay obtaining module includes:
第一时钟获取模块,设置为在所述第一设备的第一预设位置提取所述跟随信号,获取所述跟随信号在所述第一预设位置上的信息;The first clock acquisition module is configured to extract the following signal at a first preset position of the first device, and acquire information of the following signal at the first preset position;
第二时钟获取模块,设置为在所述第一设备的第二预设位置提取所述跟随信号,获取所述跟随信号在所述第二预设位置上的信息;a second clock acquisition module, configured to extract the following signal at a second preset position of the first device, and acquire information of the following signal at the second preset position;
第一延时获取子模块,设置为根据所述跟随信号在第一预设位置和第二预设位置上的信息获取跟随信号在所述第一设备内传输产生的第一延时值。The first delay acquisition submodule is configured to acquire a first delay value generated by the following signal transmission in the first device according to the information of the following signal at the first preset position and the second preset position.
可选地,所述延时获取模块还包括:Optionally, the delay obtaining module further includes:
第三时钟获取模块,设置为在所述第二设备的第三预设位置提取所述跟随信号,获取所述跟随信号在所述第三预设位置上的信息;a third clock acquisition module, configured to extract the following signal at a third preset position of the second device, and acquire information of the following signal at the third preset position;
第四时钟获取模块,设置为在所述第二设备的第四预设位置提取所述跟随信号,获取所述跟随信号在所述第四预设位置上的信息;a fourth clock acquisition module, configured to extract the following signal at a fourth preset position of the second device, and acquire information of the following signal at the fourth preset position;
第二延时获取子模块,设置为根据所述跟随信号在第三预设位置和第四预设位置上的信息获取跟随信号在所述第二设备内传输产生的第二延时值。And a second delay acquisition submodule configured to acquire a second delay value generated by the following signal transmission in the second device according to the information of the following signal at the third preset position and the fourth preset position.
可选地,所述第一设备的第一预设延时值为所述第一设备在一预设时间段内测得的最大延时值;所述第二设备的第二预设延时值为所述第二设备在一预设时间段内测得的最大延时值。 Optionally, the first preset delay value of the first device is a maximum delay value measured by the first device in a preset time period; and the second preset delay of the second device is The value is the maximum delay value measured by the second device within a preset period of time.
可选地,所述延时补偿值的计算公式具体为:Optionally, the calculation formula of the delay compensation value is specifically:
延时补偿值=(第一设备的最大延时值-第一延时值)+(第二设备的最大延时值-第二延时值)。Delay compensation value = (maximum delay value of the first device - first delay value) + (maximum delay value of the second device - second delay value).
可选地,所述补偿模块包括:Optionally, the compensation module includes:
补偿子模块,设置为通过一先入先出队列对所述业务信号传输过程进行延时补偿;其中,利用所述延时补偿值来控制所述先入先出队列的输出。The compensation submodule is configured to delay compensation of the service signal transmission process by using a first in first out queue; wherein the delay compensation value is used to control the output of the first in first out queue.
可选地,所述补偿子模块包括:Optionally, the compensation submodule includes:
换算模块,设置为根据所述先入先出队列的读写时钟,将所述延时补偿值换算为N个所述先入先出队列的读写时钟周期值;The scaling module is configured to convert the delay compensation value into a read/write clock period value of the N first-in first-out queues according to the read/write clock of the first-in first-out queue;
输出模块,设置为当所述先入先出队列中写入N个业务信号后依次输出业务信号。The output module is configured to sequentially output the service signals after writing N service signals in the first-in first-out queue.
本发明实施例的延时补偿的方法中,通过获取一跟随业务信号传输的跟随信号在第一设备和第二设备内的延时值计算出业务信号传输过程中的所需要的延时补偿值,并对业务信号进行延时补偿;在不影响原有设备的功能的情况下,方便的实现了承载网设备进行延时补偿,从而使所有无线设备的RRU在指定的时间内同步传输的目的,满足全向发射组网对移动通信基站的技术要求。In the method for delay compensation according to the embodiment of the present invention, the required delay compensation value during the transmission of the service signal is calculated by acquiring the delay value of the following signal transmitted by the following service signal in the first device and the second device. And delay compensation of the service signal; without affecting the function of the original device, the delay compensation of the bearer network device is conveniently implemented, so that the RRU of all the wireless devices are synchronously transmitted within the specified time. The technical requirements of the omnidirectional transmitting network to the mobile communication base station are satisfied.
附图概述BRIEF abstract
图1表示本发明实施例的延时补偿的方法的基本步骤流程图;1 is a flow chart showing the basic steps of a method for delay compensation according to an embodiment of the present invention;
图2表示本发明实施例的延时补偿的方法的应用场景一示意图;2 is a schematic diagram showing an application scenario of a method for delay compensation according to an embodiment of the present invention;
图3表示本发明实施例的延时补偿的方法的信号传递示意图;3 is a schematic diagram showing signal transmission of a method for delay compensation according to an embodiment of the present invention;
图4表示本发明实施例的具体实施例一的网络基本拓扑图;FIG. 4 is a schematic diagram of a network basic topology according to a specific embodiment 1 of the embodiment of the present invention;
图5表示本发明实施例的具体实施例一的接入CPRI6业务框图;FIG. 5 is a block diagram showing the access to the CPRI6 service according to the first embodiment of the present invention;
图6表示本发明实施例的具体实施例一的延时测量路径示意图;6 is a schematic diagram of a delay measurement path according to Embodiment 1 of the embodiment of the present invention;
图7表示本发明实施例的具体实施例二的FPGA内部逻辑及framer框图;7 is a block diagram showing an internal logic and a framer of an FPGA according to Embodiment 2 of the embodiment of the present invention;
图8表示本发明实施例的具体实施例二的各个点的帧头相对位置示意图;FIG. 8 is a schematic diagram showing a relative position of a frame header of each point in a second embodiment of the embodiment of the present invention; FIG.
图9表示本发明实施例的延时补偿的装置的结构示意图。 FIG. 9 is a schematic structural diagram of an apparatus for delay compensation according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下面将结合附图对本发明的具体实施例进行详细描述。在不冲突的情况下,本发明实施例和实施例中的特征可以相互任意组合。Specific embodiments of the present invention will be described in detail below with reference to the drawings. The features of the embodiments of the present invention and the embodiments may be arbitrarily combined with each other without conflict.
本发明实施例针对相关技术中无线设备均采用内部延时补偿机制,两个分离设备之间的延时无法解决的问题,提供一种延时补偿的方法及装置,通过获取一跟随业务信号传输的跟随信号在第一设备和第二设备内的延时值计算出业务信号传输过程中的所需要的延时补偿值,并对业务信号进行延时补偿;在不影响原有设备的功能的情况下,方便的实现了承载网设备进行延时补偿,从而使所有无线设备的RRU在指定的时间内同步传输的目的,满足全向发射组网对移动通信基站的技术要求。The embodiment of the present invention provides a method and a device for delay compensation by acquiring an following service signal transmission in the related art that the wireless device adopts an internal delay compensation mechanism and the delay between two separate devices cannot be solved. The delay value of the following signal in the first device and the second device calculates the required delay compensation value during the transmission of the service signal, and delays the service signal; and does not affect the function of the original device. In this case, the delay compensation of the bearer network device is conveniently implemented, so that the RRUs of all the wireless devices are synchronously transmitted within a specified time, and the technical requirements of the omnidirectional transmit network to the mobile communication base station are satisfied.
如图1所示,本发明实施例提供一种延时补偿的方法,包括:As shown in FIG. 1 , an embodiment of the present invention provides a method for delay compensation, including:
步骤1,在业务信号从第一设备传输到第二设备的传输过程中,获取一个跟随业务信号传输的跟随信号;Step 1: acquiring, in a transmission process of the service signal from the first device to the second device, a follow signal that follows the service signal transmission;
步骤2,分别获取跟随信号在所述第一设备内传输产生的第一延时值和在所述第二设备内传输产生的第二延时值;Step 2: respectively acquiring a first delay value generated by the following signal transmission in the first device and a second delay value generated by transmitting in the second device;
步骤3,获得所述第一延时值与所述第一设备的第一预设延时值的第一差值,以及所述第二延时值与所述第二设备的第二预设延时值的第二差值;Step 3: Obtain a first difference between the first delay value and a first preset delay value of the first device, and the second delay value and a second preset of the second device The second difference of the delay value;
步骤4,将所述第一差值插入到所述业务信号中跟随所述业务信号传输到所述第二设备;Step 4: insert the first difference value into the service signal and transmit the service signal to the second device;
步骤5,在所述第二设备上从所述业务信号中提取所述第一差值,并根据所述第一差值和第二差值获取业务信号传输过程中需要的延时补偿值;Step 5: Extract the first difference value from the service signal on the second device, and obtain a delay compensation value required for a service signal transmission process according to the first difference value and the second difference value;
步骤6,根据所述延时补偿值对业务信号传输过程中的业务信号进行延时补偿。 Step 6. Perform delay compensation on the service signal in the process of transmitting the service signal according to the delay compensation value.
本发明的上述实施例中,步骤1中的跟随信号可以是从业务信号中提取的与业务相关的某信号,也可以是插入到业务信号中的其他信号,只要是能够一直跟随业务信号传输的信号在本发明实施例中均适用。步骤2中分别在第一设备和第二设备需要测量的位置对步骤1中跟随信号进行提取,并分别对第一设备和第二设备内的两个信号之间的传输延时进行测量,得到对应的 第一延时值和第二延时值;其中,第一延时值和第二延时值的测量可通过时钟计数的方法获取,即在业务信号传输的整个过程中插入一个测量时钟,根据需要测量的位置间的时钟的个数确定延时值。In the above embodiment of the present invention, the following signal in step 1 may be a certain signal related to the service extracted from the service signal, or may be other signals inserted into the service signal, as long as it can always follow the transmission of the service signal. The signals are applicable in the embodiments of the present invention. In step 2, the following signals are extracted in the first device and the second device respectively, and the transmission delays between the two signals in the first device and the second device are respectively measured. corresponding a first delay value and a second delay value; wherein the measurement of the first delay value and the second delay value is obtained by a clock counting method, that is, inserting a measurement clock during the entire process of the service signal transmission, according to The number of clocks between locations that need to be measured determines the delay value.
由于第一设备内的第一延时值和第二设备内的第二延时值是不稳定的,其延时值随时间、信号强度等因素的变化而变化,故为了保证延时的稳定性,预设第一设备的第一预设延时值和第二设备的第二预设延时值,通过步骤3获取其实时延时值与预设延时值之间的对应差值,即第一差值和第二差值;其中,第一预设延时值和第二预设延时值具体的为通过大量的实验数据获得,也可通过第一设备或第二设备的理论参数通过数值计算得出,不限于一固定方式,所有能够正确获得第一预设延时值和第二预设延时值的方式在本发明实施例中均适用。Since the first delay value in the first device and the second delay value in the second device are unstable, the delay value changes according to factors such as time and signal strength, so in order to ensure the stability of the delay First, the first preset delay value of the first device and the second preset delay value of the second device are preset, and the corresponding difference between the real-time delay value and the preset delay value is obtained through step 3. That is, the first difference value and the second difference value; wherein the first preset delay value and the second preset delay value are specifically obtained by using a large amount of experimental data, and may also pass the theory of the first device or the second device. The parameters are calculated by numerical calculation, and are not limited to a fixed manner. All the manners that can correctly obtain the first preset delay value and the second preset delay value are applicable in the embodiments of the present invention.
其中,步骤6根据步骤5中获得的延时所需要的补偿值用延时器件或设备对业务信号进行补偿;其中,延时器件或设备为延时电路、FPGA器件延时或延时开关等等,在此不一一赘述。需要说明的是,本发明具体描述的业务信号从第一设备传输到第二设备的传输过程中的延时补偿的方法,在实际应用中,每个设备上均有两个方向的信号的传输,且均会产生延时,均需进行延时补偿,故步骤6中利用延时器件进行补偿时需对设备的两个方向上的延时分别进行补偿,使业务信号的传输过程中的延时稳定。Wherein, step 6 compensates the service signal with the delay device or device according to the compensation value required for the delay obtained in step 5; wherein the delay device or device is a delay circuit, an FPGA device delay or a delay switch, etc. Wait, don't repeat them here. It should be noted that the method for delay compensation in the transmission process of the service signal transmitted from the first device to the second device is specifically described in the present invention. In practical applications, each device has a signal transmission in two directions. Both of them will generate delays, and delay compensation is required. Therefore, when using the delay device for compensation in step 6, the delays in the two directions of the device need to be compensated separately, so as to delay the transmission of the service signal. Stable.
本发明的上述实施例中,步骤2可以包括:In the above embodiment of the present invention, step 2 may include:
步骤21,在所述第一设备的第一预设位置提取所述跟随信号,获取所述跟随信号在所述第一预设位置上的信息;Step 21: Extract the following signal at a first preset position of the first device, and acquire information about the following signal at the first preset position;
步骤22,在所述第一设备的第二预设位置提取所述跟随信号,获取所述跟随信号在所述第二预设位置上的信息;Step 22: Extract the following signal at a second preset position of the first device, and obtain information about the following signal at the second preset position;
步骤23,根据所述跟随信号在第一预设位置和第二预设位置上的信息获取跟随信号在所述第一设备内传输产生的第一延时值。Step 23: Acquire a first delay value generated by the following signal transmission in the first device according to the information of the following signal at the first preset position and the second preset position.
步骤2还可以包括: Step 2 may also include:
步骤24,在所述第二设备的第三预设位置提取所述跟随信号,获取所述跟随信号在所述第三预设位置上的信息;Step 24, extracting the following signal at a third preset position of the second device, and acquiring information of the following signal at the third preset position;
步骤25,在所述第二设备的第四预设位置提取所述跟随信号,获取所述 跟随信号在所述第四预设位置上的信息;Step 25: extract the following signal at a fourth preset position of the second device, and obtain the Following the information of the signal at the fourth preset position;
步骤26,根据所述跟随信号在第三预设位置和第四预设位置上的信息获取跟随信号在所述第二设备内传输产生的第二延时值。Step 26: Acquire a second delay value generated by the following signal transmission in the second device according to the information of the following signal at the third preset position and the fourth preset position.
本发明具体实施例中,步骤21至步骤26描述了采用时钟计数的方法获取第一延时值和第二延时值的步骤;其中,在业务信号传输过程中插入一测量时钟,可选的,该测量时钟可以使用业务信号传输系统的系统时钟,也可以为单独设置的时钟,不限于一固定形式。In a specific embodiment of the present invention, steps 21 to 26 describe a step of acquiring a first delay value and a second delay value by using a clock counting method; wherein, in the process of transmitting a service signal, a measurement clock is inserted, optionally The measurement clock can use the system clock of the service signal transmission system, or can be a separately set clock, and is not limited to a fixed form.
可选地,第一设备的第一预设位置和第二预设位置根据不同设备不同设定,不固定于一个位置;第一预设位置上的第一时钟信息即第一预设位置在上述测量时钟上的对应位置,第二预设位置上的第二时钟信息即第二预设位置在上述测量时钟上的对应;进而执行步骤23,通过计算测量时钟上第一预设位置和第二预设位置之间的时钟个数获得第一延时值;例如,第一时钟信息和第二时钟信息之间存在4个测量时钟周期,则第一延时值即为4个测量时钟的周期值,具体的,该延时值的单位一般为ns。其中,第二延时值的获取过程与第一延时值的获取过程一致,在此不一一赘述。Optionally, the first preset position and the second preset position of the first device are differently set according to different devices, and are not fixed to one position; the first clock information at the first preset position, that is, the first preset position is Corresponding position on the measurement clock, the second clock information in the second preset position, that is, the correspondence between the second preset position on the measurement clock; and then performing step 23, by calculating the first preset position on the measurement clock and The number of clocks between the two preset positions obtains a first delay value; for example, there are 4 measurement clock cycles between the first clock information and the second clock information, and the first delay value is 4 measurement clocks. The period value, specifically, the unit of the delay value is generally ns. The obtaining process of the second delay value is consistent with the obtaining process of the first delay value, and details are not described herein.
需要说明的是,本发明的实施例中,在获得第一设备的第一延时值后不在第一设备内部进行延时补偿,而是将第一延时值插入到业务信号中传输到第二设备中,可选地,第一延时值采用OTN的保留开销进行延时值的传送方法,实现两个分离设备的交互。It should be noted that, in the embodiment of the present invention, after obtaining the first delay value of the first device, the delay compensation is not performed inside the first device, but the first delay value is inserted into the service signal and transmitted to the first In the second device, optionally, the first delay value uses a reserved overhead of the OTN to perform a delay value transmission method to implement interaction between two separate devices.
本发明上述实施例中,所述第一设备的第一预设延时值为所述第一设备在一预设时间段内测得的最大延时值;所述第二设备的第二预设延时值为所述第二设备在一预设时间段内测得的最大延时值。In the above embodiment of the present invention, the first preset delay value of the first device is a maximum delay value measured by the first device within a preset time period; and the second pre-second of the second device The delay value is a maximum delay value measured by the second device within a preset time period.
本发明实施例中,第一设备的最大延时值和第二设备的最大延时值的获取方法可以为,通过测量多个相同的设备,并且至少掉上电以及插拔光纤100次获得实验数据,再对其实验数据进行分析才能够得到一个较为准确的最大延时值。In the embodiment of the present invention, the method for obtaining the maximum delay value of the first device and the maximum delay value of the second device may be: by measuring a plurality of the same devices, and at least dropping the power and inserting and removing the optical fiber 100 times to obtain an experiment. Data, and then analyze its experimental data to get a more accurate maximum delay value.
本发明上述实施例中,所述延时补偿值的计算公式为:In the above embodiment of the present invention, the calculation formula of the delay compensation value is:
延时补偿值=(第一设备的最大延时值-第一延时值)+(第二设备的最大延时值-第二延时值)。 Delay compensation value = (maximum delay value of the first device - first delay value) + (maximum delay value of the second device - second delay value).
需要说明的是,本发明实施例的上述延时补偿值的计算公式仅为本发明的一可选实施例,不用于限制本发明的保护范围,其他能够正确计算延时补偿值的算法在本发明实施例中均适用。It should be noted that the calculation formula of the foregoing delay compensation value in the embodiment of the present invention is only an optional embodiment of the present invention, and is not used to limit the protection scope of the present invention. Other algorithms capable of correctly calculating the delay compensation value are in this embodiment. Both of the embodiments of the invention are applicable.
本发明的上述实施例中,步骤6包括:In the above embodiment of the present invention, step 6 includes:
步骤61,通过一先入先出队列对所述业务信号传输过程进行延时补偿;其中,利用所述延时补偿值来控制所述先入先出队列的输出。Step 61: Perform delay compensation on the service signal transmission process by using a first-in first-out queue; wherein the delay compensation value is used to control the output of the first-in first-out queue.
其中,FIFO-先入先出队列,First Input First Output的缩写,这是一种传统的按序执行方法,先进入的指令先完成并引退,跟着才执行第二条指令。先入先出队列的原理为:FIFO队列不对报文进行分类,FIFO按报文到达接口的先后顺序让报文进入队列,同时,FIFO在队列的出口让报文按进队的顺序出队,先进的报文将先出队,后进的报文将后出队。Among them, FIFO-first-in first-out queue, the abbreviation of First Input First Output, this is a traditional sequential execution method, the first entered instruction is completed and retired, followed by the second instruction. The principle of the first-in first-out queue is: the FIFO queue does not classify the message, and the FIFO enters the queue according to the order in which the message arrives at the interface. At the same time, the FIFO exits the queue in the order of the queue, advanced. The message will be sent out first, and the incoming message will be sent out.
本发明的具体实施例中,所述利用所述延时补偿值来控制所述先入先出队列的输出的步骤包括:In a specific embodiment of the present invention, the step of using the delay compensation value to control the output of the first in first out queue includes:
步骤62,根据所述先入先出队列的读写时钟,将所述延时补偿值换算为N个所述先入先出队列的读写时钟周期值;N为大于等于1的整数。Step 62: Convert the delay compensation value into a read/write clock period value of the N first-in first-out queues according to the read/write clock of the first-in first-out queue; N is an integer greater than or equal to 1.
步骤63,当所述先入先出队列中写入N个业务信号后依次输出业务信号。Step 63: After the N service signals are written in the first-in first-out queue, the service signals are sequentially output.
承续上例,本发明的具体应用中,先入先出队列FIFO相当于一个缓存器,当FIFO中的业务信号的个数小于N时,FIFO不向外读数,一直往FIFO里写数据;当FIFO中的业务信号的个数等于N时,向FIFO中写入一个数据,则FIFO的输出端会向外读出一个数据;需要说明的是,业务信号一直在传输,则FIFO中一直在不断写入数据,FIFO则会不断向外读出数据;同时由于FIFO中业务信号的个数等于N,则保证了每个业务信号均是以最大延时值从第二设备端输出的,从而保证了延时的稳定性。In the above example, in the specific application of the present invention, the first-in first-out queue FIFO is equivalent to a buffer. When the number of service signals in the FIFO is less than N, the FIFO does not read outward, and writes data to the FIFO; When the number of service signals in the FIFO is equal to N, a data is written into the FIFO, and the output of the FIFO reads out a data outward; it should be noted that the service signal is always transmitted, and the FIFO is constantly being continuously When the data is written, the FIFO will continuously read out the data; at the same time, since the number of service signals in the FIFO is equal to N, it is ensured that each service signal is output from the second device end with the maximum delay value, thereby ensuring The stability of the delay.
本发明上述实施例中的先入先出队列的读写时钟也可以采用系统时钟或采用与上述测量时钟一致的时钟。若上述先入先出队列的读写时钟与测量时钟一致,则在计算延时值、延时补偿值时均可直接采用时钟周期值的若干倍进行计算,不用换算到具体的ns,继而步骤62中的延时补偿值直接为N个时钟周期值,简化了计算步骤。The read/write clock of the first-in first-out queue in the above embodiment of the present invention may also adopt a system clock or a clock consistent with the above-mentioned measurement clock. If the read/write clock of the first-in first-out queue is consistent with the measurement clock, the delay value and the delay compensation value can be directly calculated by using several times of the clock period value, without converting to a specific ns, and then step 62 The delay compensation value in the direct value is N clock cycle values, which simplifies the calculation steps.
结合应用场景一,详细描述本发明的延时补偿的过程,如图2、图3所 示:The process of delay compensation of the present invention is described in detail in conjunction with application scenario 1, as shown in FIG. 2 and FIG. Show:
应用场景一如图2所示,承载网中的两个设备(OTN设备1和OTN设备2)分别应用于两个终端设备(外部设备1,外部设备2)之间,两个终端设备之间传输信号时,常常会有延时稳定性的要求,所以对OTN设备传送信号的要求会比较严格,OTN设备需要保证延时的稳定性。鉴于此,本发明提供了一种延时补偿的方法,如图3所示。Application scenario As shown in FIG. 2, two devices (OTN device 1 and OTN device 2) in the bearer network are respectively applied between two terminal devices (external device 1 and external device 2), between the two terminal devices. When transmitting signals, there is often a requirement for delay stability. Therefore, the requirements for transmitting signals to the OTN equipment are stricter, and the OTN equipment needs to ensure the stability of the delay. In view of this, the present invention provides a method of delay compensation, as shown in FIG.
第一步,首先分别在单板1和单板2中,提取或者插入覆盖整个可能产生延时变化路径的信号,一般为在单板1/单板2上游提取或插入信号(跟随信号),在对应的单板1/单板2下游提取同一个信号,对此两个信号之间的延时进行测量。The first step is to extract or insert a signal covering the entire path that may cause a delay change in the board 1 and the board 2, and generally extract or insert a signal (following signal) upstream of the board 1 / board 2, The same signal is extracted downstream of the corresponding board 1/board 2, and the delay between the two signals is measured.
第二步,测量多块单板的样品,找到所有单板样品中,延时测量模块1和延时测量模块2测得的最大值,设备1和设备2的延时的最大值分别定义为Ta_delay_max和Tb_delay_max。In the second step, the samples of the multiple boards are measured, and the maximum values measured by the delay measurement module 1 and the delay measurement module 2 are found in all the single board samples, and the maximum values of the delays of the device 1 and the device 2 are respectively defined as Ta_delay_max and Tb_delay_max.
第三步,在单板上电后测量两个单板延时值,Ta_delay_now和Tb_delay_now。测量方法有很多,比如测量一个帧的帧头从进设备到出设备之间的时间可以得到延时值。In the third step, the delay values of the two boards, Ta_delay_now and Tb_delay_now, are measured after the board is powered. There are many measurement methods, such as measuring the time between the frame head of a frame and the time from the incoming device to the outgoing device.
第四步,把单板1测得的延时值,通过业务传输,传输给单板2,然后在单板2中提取单板1测得的延时值(Ta_delay_now)。In the fourth step, the delay value measured by the board 1 is transmitted to the board 2 through the service transmission, and then the delay value (Ta_delay_now) measured by the board 1 is extracted in the board 2.
第五步,把单板1测得的值Ta_delay_now和单板2的延时值Tb_delay_now分别跟延时的最大值(Ta_delay_max和Tb_delay_max)进行比较,看差多少,然后通过延时补偿模块来补偿这两个差值。In the fifth step, the value Ta_delay_now measured by the board 1 and the delay value Tb_delay_now of the board 2 are respectively compared with the maximum values of the delays (Ta_delay_max and Tb_delay_max), and the difference is seen, and then the delay compensation module is used to compensate the difference. Two differences.
应用示例一Application example one
以下,我们在以OTN单板承载CPRI6业务为例,验证该方法的实践情况。应用框图如图4所示,具体单板业务处理框图如图5所示。In the following, we take the example of carrying the CPRI6 service on the OTN board as an example to verify the practice of the method. The application block diagram is shown in Figure 4. The block diagram of the specific board service processing is shown in Figure 5.
客户侧指的是我们单板接入的业务,线路侧指的是承载CPRI的业务,这里指的是OTN业务。业务处理过程是先经过FPGA逻辑进行客户业务以及线路侧业务处理,然后经过framer芯片再到光口转换成光信号进行传输。The client side refers to the service that our board accesses, and the line side refers to the service that carries the CPRI. This refers to the OTN service. The business process is first processed by the FPGA logic for the customer service and the line side service, and then converted to an optical signal for transmission through the framer chip and then to the optical port.
首先,需要测量出哪一段存在延时不稳定性,然后经多次测量得到延时的最大值。此处在到线路侧发这一段odu2层,存在的延时,通过进单板位 置的odu2帧头(fp1)和出单板位置的帧头(fp2)来测量获得。实现这个测量的逻辑模块为延时测量模块1,测得的第一延时值为Ta_delay_now。First, it is necessary to measure which period has delay instability, and then the maximum value of the delay is obtained after multiple measurements. Here, the odu2 layer is sent to the line side, and there is a delay, which is passed through the board position. The odu2 frame header (fp1) and the frame header (fp2) at the exiting board position are measured and obtained. The logic module that implements this measurement is the delay measurement module 1, and the measured first delay value is Ta_delay_now.
其次,两块单板之间是通过光纤进行连接。以OTN为例,则可以把测得第一延时值Ta_delay_now通过OTN开销或者净荷区域传到下游站点进行补偿。Secondly, the two boards are connected by optical fibers. Taking OTN as an example, the measured first delay value Ta_delay_now can be transmitted to the downstream site for compensation through the OTN overhead or the payload area.
然后,在线路侧收到客户侧发这一段的延时,通过进单板位置的帧头(fp3)和出单板位置的帧头(fp4)来测量获得。实现这个测量的逻辑模块为延时测量模块2,测得的第二延时值为Tb_delay_now。Then, on the line side, the delay of the client side is received, and the measurement is obtained by the frame header (fp3) of the board position and the frame header (fp4) of the board position. The logic module that implements this measurement is the delay measurement module 2, and the measured second delay value is Tb_delay_now.
最后,逻辑把这两个延时值与之前经过大量测试得到的延时最大值(Ta_delay_max和Tb_delay_max)进行运算,得到fifo_value。然后通过延时补偿FIFO来弥补这个延时值。Finally, the logic computes the two delay values from the maximum delay values (Ta_delay_max and Tb_delay_max) that have been extensively tested before, resulting in fifo_value. This delay value is then compensated by the delay compensation FIFO.
需要注意的是,测量时钟和延时补偿FIFO的时钟是否是一个时钟,这是影响时间测量误差的因素之一。另外,Ta_delay_max和Tb_delay_max的具体值,需要通过多次测量大量单板样品组合来获得。It should be noted that whether the clock of the measurement clock and the delay compensation FIFO is a clock is one of the factors that affect the time measurement error. In addition, the specific values of Ta_delay_max and Tb_delay_max need to be obtained by measuring a large number of single-plate sample combinations multiple times.
延时测量过程,如图6所示。The delay measurement process is shown in Figure 6.
分析OTN单板的延时变化情况,并给出测量延时值Tdelay_now的办法。Analyze the delay variation of the OTN board and give a measure of the delay value Tdelay_now.
如图6是OTN单板的整个业务处理框图,客户侧接6.144Gb/s的CPRI6业务,线路侧光纤环回。Figure 6 shows the entire service processing block diagram of the OTN board. The client side connects the 6.214 Gb/s CPRI6 service and the line side fiber loopback.
为了确定延时不稳定性是产生在哪一部分,是客户侧、线路侧、sfi4.2接口处还是framer内部处理,因此,需要在FPGA逻辑中以及framer中引出相应的测试信号,然后利用逻辑内部编程或者chipscope抓取各处的信号进行测试。In order to determine which part of the delay instability is generated on the client side, the line side, the sfi4.2 interface or the inside of the framer, it is necessary to draw the corresponding test signal in the FPGA logic and the framer, and then use the logic internal Programming or chipscope captures the signals everywhere for testing.
所以找到了图5中,A,B,C,D四个位置的帧头指示信号。用红色虚线画出3条测试路径,进行以下测试。Therefore, the frame header indication signals at four positions A, B, C, and D in Fig. 5 are found. Draw three test paths with red dashed lines and perform the following tests.
A位置:在FPGA逻辑中,客户侧发送侧提取的信号。A position: In the FPGA logic, the signal extracted by the client side is transmitted.
B位置:在framer中,odu2开销插入部分中引出的帧头信号,此信号在FEC编码之前。B position: In the framer, the odu2 overhead inserts the header signal from the part, which is before the FEC encoding.
C位置:在framer中,开销提取部分中引出的帧头信号,此信号在FEC解码之后。 C position: In the framer, the frame header signal is extracted from the overhead extraction part, and this signal is after FEC decoding.
D位置:在FPGA逻辑中,客户侧接收侧提取的信号。D position: In the FPGA logic, the signal extracted by the client side receiving side.
确定提取信号的4个位置后,根据图6所示,确定出3条测试路径,此3条路径覆盖了业务处理的全过程:After determining the four positions of the extracted signals, according to FIG. 6, three test paths are determined, and the three paths cover the whole process of service processing:
路径1:包含了客户侧和线路侧的所有逻辑和SFI4.2接口以及framer中部分处理模块。Path 1: Contains all logic and SFI4.2 interfaces on the client side and line side as well as partial processing modules in the framer.
路径2:包括framer中的编解码以及光模块到光纤部分。Path 2: Includes codec in the framer and optical module to fiber section.
路径3:包含了framer中部分处理模块以及SFI4.2接口与接收侧线路侧和客户侧逻辑。Path 3: Contains some of the processing modules in the framer and the SFI4.2 interface and the receiving side line side and client side logic.
通过对3个路径的分别测试得出的结论为(该测试方法不是本发明的主要方法,在此不详细叙述):The conclusion obtained by the separate tests of the three paths is (the test method is not the main method of the present invention and will not be described in detail herein):
延时变化主要存在路径1和路径3内,其他路径的延时变化可以忽略不计,所以为了方便测试只要补偿路径1和3就可以实现延时补偿的目的。因此,在FPGA线路侧的接收侧添加fifo进行延时补偿,使每次上电延时都达到最大值,处于稳定状态即可。The delay variation mainly exists in path 1 and path 3. The delay variation of other paths can be neglected. Therefore, in order to facilitate the test, compensation path 1 and 3 can realize the purpose of delay compensation. Therefore, add fifo on the receiving side of the FPGA line side to delay compensation, so that each power-on delay reaches the maximum value and is in a stable state.
通过以上可知,每次上电后的第一延时值Ta_delay_now、第二延时值Tb_delay_now分别是路径1和路径3的延时值。通过对这两部分的补偿,使得延时值达到稳定状态。It can be seen from the above that the first delay value Ta_delay_now and the second delay value Tb_delay_now after power-on are the delay values of path 1 and path 3, respectively. By compensating the two parts, the delay value reaches a steady state.
本发明实施例中,Fifo需要补偿的延时值为:Tdelay_offset={(Ta_delay_max-Ta_delay_now)+(Tb_delay_max-Tb_delay_now)}。In the embodiment of the present invention, the delay value that Fifo needs to compensate is: Tdelay_offset={(Ta_delay_max-Ta_delay_now)+(Tb_delay_max-Tb_delay_now)}.
FIFO的读写时钟都为系统时钟,fifo水位由Tdelay_offset来控制,如果业务信号个数小于Tdelay_offset时不读数,一直往fifo里写数据,当业务信号个数等于Tdelay_offset时,fifo就开始不断地向外读出数据。从而保证了延时的稳定性。The read and write clocks of the FIFO are all system clocks. The fifo water level is controlled by Tdelay_offset. If the number of service signals is less than Tdelay_offset, the data is not read. The data is written to fifo. When the number of service signals is equal to Tdelay_offset, fifo starts to continuously Read data out. This ensures the stability of the delay.
此应用示例一讲解了OTN设备的业务单板承载cpri6业务时,延时稳定性的测量以及补偿方法。此方法同样适用于CPRI相关的其他速率业务,例如CPRI2/CPRI3/CPRI4/CPRI5/CPRI6/CPRI7业务,整个处理过程与具体实施例一基本相同。This application example shows the measurement of the delay stability and the compensation method when the service board of the OTN device carries the cpri6 service. This method is also applicable to other rate services related to CPRI, such as CPRI2/CPRI3/CPRI4/CPRI5/CPRI6/CPRI7 services, and the whole process is basically the same as that of the first embodiment.
此方法也同样应用于OTN设备的其他业务单板,在FPGA业务设计中,如果有延时稳定性的需求,都可应用此方法进行补偿。 This method is also applicable to other service boards of the OTN equipment. In the FPGA service design, if there is a demand for delay stability, this method can be applied to compensate.
应用示例二Application example two
以下单板承载同步以太网为例,验证此方法的可行性。The following boards carry synchronous Ethernet as an example to verify the feasibility of this method.
首先,进行业务环回确定了客户侧延时变化很稳定,为了确定延时不稳定性是产生在SFI4.2接口处,还是在framer里,是接收侧还是在发送侧,需要在FPGA中以及framer中引出相应信号,利用chipscope抓取各处的信号进行测试。First, the service loopback determines that the client-side delay variation is stable. To determine whether the delay instability is generated at the SFI4.2 interface, or in the framer, whether it is on the receiving side or on the transmitting side, it needs to be in the FPGA and The corresponding signal is extracted from the framer, and the signal is captured by the chipscope to test.
所以找到了图7中,A,B,C,D,E五个位置的帧头指示信号。Therefore, the frame header indication signals at five positions A, B, C, D, and E in Fig. 7 are found.
A位置帧头:在FPGA逻辑中,线路发送侧,将要送入SFI4.2接口的otu2数据的帧头。A position frame header: In the FPGA logic, the line transmission side, the frame header of the otu2 data to be sent to the SFI4.2 interface.
B位置帧头:在Framer中,开销插入部分中引出的帧头信号,此信号在FEC编码之前。B position frame header: In the Framer, the frame header signal is extracted from the overhead insertion portion, and this signal is before the FEC encoding.
C位置帧头:在framer中,开销提取部分中引出的帧头信号,此信号在FEC解码之后。C position frame header: In the framer, the frame header signal is extracted from the overhead extraction part, and this signal is after FEC decoding.
D位置帧头:在framer中,客户发送侧开销部分提取的帧头。D position frame header: In the framer, the client sends the frame header extracted by the overhead part.
E位置帧头:在FPGA逻辑中,线路接收侧,OTU2开销提取前的帧头信号。E position frame header: In the FPGA logic, on the line receiving side, the frame header signal before the OTU2 overhead is extracted.
确定提取信号的5个点后,根据图7所示,确定出4条路径:After determining the 5 points of the extracted signal, according to Figure 7, four paths are determined:
1、从FPGA线路侧的otu2开销处提取帧头到framer编码前开销插入部分的li_tx_insfp。1. Extract the frame header from the otu2 overhead of the FPGA line side to the li_tx_insfp of the overhead insertion part before the framer encoding.
2、从li_tx_insfp信号到framer解码以后的li_rx_dropfp信号。(之前测试以为li_rx_dropfp信号在解码之前,经多番测试证明是错误的,后找framer手册,此信号应该在解码之后。)2. The li_rx_dropfp signal from the li_tx_insfp signal to the framer decoding. (Before the test thought that the li_rx_dropfp signal was decoded before it was proved by many tests, after looking for the framer manual, this signal should be after decoding.)
3、从li_rx_dropfp信号到framer客户侧发送侧开销插入部分的cl_tx_insfp信号。3. The cl_tx_insfp signal from the li_rx_dropfp signal to the frame side client side transmission side overhead insertion portion.
4、从cl_tx_insfp信号到FPGA线路侧接收侧的otu2帧头。4. From the cl_tx_insfp signal to the otu2 frame header on the receiving side of the FPGA line side.
通过chipscope抓取以上信号,用A点的帧头信号作为触发信号,每次掉上电后分别记录B、C、D、E点的相对位置。波形图如图8。The above signal is captured by chipscope, and the frame header signal of point A is used as the trigger signal, and the relative positions of points B, C, D, and E are recorded separately after each power-off. The waveform is shown in Figure 8.
计算各个帧头相对A点帧头之间的时钟个数,得到相对延时数据如表1。Calculate the number of clocks between each frame header and the A-point frame header, and obtain relative delay data as shown in Table 1.
表1各个点相对A点的延时值(单位,系统时钟个数) Table 1 Delay value of each point relative to point A (unit, number of system clocks)
Figure PCTCN2014094269-appb-000001
Figure PCTCN2014094269-appb-000001
根据以上数据,在系统时钟是6ns(192MHz)的时候,计算结果如下:According to the above data, when the system clock is 6ns (192MHz), the calculation results are as follows:
路线1+2的延时变化在(1469-1441)*6=168ns,其中路径1的延时变化大概为(246-219)*6=162ns,所以framer的编解码延时变化并不大。The delay variation of route 1+2 is (1469-1441)*6=168ns, and the delay of path 1 is about (246-219)*6=162ns, so the codec delay of framer does not change much.
路线3+4的延时变化需要在(E-C)中找到最大最小值再做差,为(253-219)*6=204ns。The delay variation of route 3+4 needs to find the maximum and minimum value in (E-C) and then make the difference, which is (253-219)*6=204ns.
从而得出结论:主要的变化存在路径1和(3+4)中,framer的编解码在单板掉上电后延时变化并不大。It is concluded that the main changes exist in path 1 and (3+4), and the framer codec does not change much after the board is powered off.
因为framer中的编解码不能分开测试,如果framer中编解码延时变化很大的话,就很麻烦,不能用fifo进行延时补偿。幸运的是,framer编解码的延时变化很小,可以忽略不计。Because the codec in the framer can't be tested separately, if the codec delay in the framer changes a lot, it is very troublesome, and you can't use fifo for delay compensation. Fortunately, the delay variation of the framer codec is small and can be ignored.
所以就可以通过测试路径1和路径(3+4)的延时变化值,在FPGA线路侧的接收侧添加fifo进行延时补偿,使每次上电延时都达到最大值,处于稳定状态即可。Therefore, by testing the delay value of path 1 and path (3+4), add fifo on the receiving side of the FPGA line side to delay compensation, so that each power-on delay reaches the maximum value, which is in a stable state. can.
通过以上可知,每次上电后的延时值T1delay_now、T2delay_now分别是路径1和路径(3+4)的延时值。通过系统时钟,测量这些路径的延时,最终根据以上测量补偿方法,最终达到延时补偿的效果。It can be seen from the above that the delay values T1delay_now and T2delay_now after power-on are the delay values of path 1 and path (3+4), respectively. Through the system clock, the delay of these paths is measured, and finally, according to the above measurement compensation method, the effect of delay compensation is finally achieved.
为了更好的实现上述目的,如图9所示,本发明实施例还提供一种延时补偿的装置,包括:In order to achieve the above objective, as shown in FIG. 9, the embodiment of the present invention further provides a device for delay compensation, including:
提取模块10,设置为在业务信号从第一设备传输到第二设备的传输过程 中,获取一个跟随业务信号传输的跟随信号;The extraction module 10 is configured to transmit a service signal from the first device to the second device Obtaining a follow signal that follows the transmission of the service signal;
延时获取模块20,设置为分别获取跟随信号在所述第一设备内传输产生的第一延时值和在所述第二设备内传输产生的第二延时值;The delay obtaining module 20 is configured to respectively acquire a first delay value generated by the following signal transmission in the first device and a second delay value generated by transmitting in the second device;
差值获取模块30,设置为获得所述第一延时值与所述第一设备的第一预设延时值的第一差值,以及所述第二延时值与所述第二设备的第二预设延时值的第二差值;The difference obtaining module 30 is configured to obtain a first difference between the first delay value and a first preset delay value of the first device, and the second delay value and the second device a second difference of the second preset delay value;
插入模块40,设置为将所述第一差值插入到所述业务信号中跟随所述业务信号传输到所述第二设备;The inserting module 40 is configured to insert the first difference value into the service signal and transmit the service signal to the second device;
补偿获取模块50,设置为在所述第二设备上从所述业务信号中提取所述第一差值,并根据所述第一差值和第二差值获取业务信号传输过程中需要的延时补偿值;The compensation acquisition module 50 is configured to extract the first difference value from the service signal on the second device, and obtain a delay required in a service signal transmission process according to the first difference value and the second difference value. Time compensation value;
补偿模块60,设置为根据所述延时补偿值对业务信号传输过程中的业务信号进行延时补偿。The compensation module 60 is configured to perform delay compensation on the service signal in the process of transmitting the service signal according to the delay compensation value.
本发明的上述实施例中,所述延时获取模块20包括:In the above embodiment of the present invention, the delay obtaining module 20 includes:
第一时钟获取模块,设置为在所述第一设备的第一预设位置提取所述跟随信号,获取所述跟随信号在所述第一预设位置上的信息;The first clock acquisition module is configured to extract the following signal at a first preset position of the first device, and acquire information of the following signal at the first preset position;
第二时钟获取模块,设置为在所述第一设备的第二预设位置提取所述跟随信号,获取所述跟随信号在所述第二预设位置上的信息;a second clock acquisition module, configured to extract the following signal at a second preset position of the first device, and acquire information of the following signal at the second preset position;
第一延时获取子模块,设置为根据所述跟随信号在第一预设位置和第二预设位置上的信息获取跟随信号在所述第一设备内传输产生的第一延时值。The first delay acquisition submodule is configured to acquire a first delay value generated by the following signal transmission in the first device according to the information of the following signal at the first preset position and the second preset position.
本发明的上述实施例中,所述延时获取模块20还包括:In the above embodiment of the present invention, the delay obtaining module 20 further includes:
第三时钟获取模块,设置为在所述第二设备的第三预设位置提取所述跟随信号,获取所述跟随信号在所述第三预设位置上的信息;a third clock acquisition module, configured to extract the following signal at a third preset position of the second device, and acquire information of the following signal at the third preset position;
第四时钟获取模块,设置为在所述第二设备的第四预设位置提取所述跟随信号,获取所述跟随信号在所述第四预设位置上的信息;a fourth clock acquisition module, configured to extract the following signal at a fourth preset position of the second device, and acquire information of the following signal at the fourth preset position;
第二延时获取子模块,设置为根据所述跟随信号在第三预设位置和第四预设位置上的信息获取跟随信号在所述第二设备内传输产生的第二延时值。And a second delay acquisition submodule configured to acquire a second delay value generated by the following signal transmission in the second device according to the information of the following signal at the third preset position and the fourth preset position.
本发明实施例中,所述第一设备的第一预设延时值为所述第一设备在一预设时间段内测得的最大延时值;所述第二设备的第二预设延时值为所述第 二设备在一预设时间段内测得的最大延时值。In the embodiment of the present invention, the first preset delay value of the first device is a maximum delay value measured by the first device within a preset time period; and the second preset of the second device is The delay value is the number The maximum delay value measured by the second device during a preset period of time.
本发明实施例中,所述延时补偿值的计算公式为:In the embodiment of the present invention, the calculation formula of the delay compensation value is:
延时补偿值=(第一设备的最大延时值-第一延时值)+(第二设备的最大延时值-第二延时值)。Delay compensation value = (maximum delay value of the first device - first delay value) + (maximum delay value of the second device - second delay value).
本发明上述实施例中,所述补偿模块60包括:In the above embodiment of the present invention, the compensation module 60 includes:
补偿子模块,设置为通过一先入先出队列对所述业务信号传输过程进行延时补偿;其中,利用所述延时补偿值来控制所述先入先出队列的输出。The compensation submodule is configured to delay compensation of the service signal transmission process by using a first in first out queue; wherein the delay compensation value is used to control the output of the first in first out queue.
本发明实施例中,所述补偿子模块包括:In the embodiment of the present invention, the compensation submodule includes:
换算模块,设置为根据所述先入先出队列的读写时钟,将所述延时补偿值换算为N个所述先入先出队列的读写时钟周期值;The scaling module is configured to convert the delay compensation value into a read/write clock period value of the N first-in first-out queues according to the read/write clock of the first-in first-out queue;
输出模块,设置为当所述先入先出队列中写入N个业务信号后依次输出业务信号。The output module is configured to sequentially output the service signals after writing N service signals in the first-in first-out queue.
本发明实施例的延时补偿的方法中,通过获取一跟随业务信号传输的跟随信号在第一设备和第二设备内的延时值计算出业务信号传输过程中的所需要的延时补偿值,并对业务信号进行延时补偿;在不影响原有设备的功能的情况下,方便的实现了承载网设备进行延时补偿,从而使所有无线设备的RRU在指定的时间内同步传输的目的,满足全向发射组网对移动通信基站的技术要求。In the method for delay compensation according to the embodiment of the present invention, the required delay compensation value during the transmission of the service signal is calculated by acquiring the delay value of the following signal transmitted by the following service signal in the first device and the second device. And delay compensation of the service signal; without affecting the function of the original device, the delay compensation of the bearer network device is conveniently implemented, so that the RRU of all the wireless devices are synchronously transmitted within the specified time. The technical requirements of the omnidirectional transmitting network to the mobile communication base station are satisfied.
需要说明的是,本发明实施例提供的延时补偿的装置是应用上述方法的装置,则上述方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。It should be noted that the apparatus for delay compensation provided by the embodiment of the present invention is a device applying the above method, and all embodiments of the foregoing method are applicable to the device, and all of the same or similar beneficial effects can be achieved.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。 Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例在不影响原有设备的功能的情况下,方便的实现了承载网设备进行延时补偿,从而使所有无线设备的RRU在指定的时间内同步传输的目的,满足全向发射组网对移动通信基站的技术要求。 In the embodiment of the present invention, the delay of the bearer network device is conveniently implemented without affecting the function of the original device, so that the RRUs of all the wireless devices are synchronously transmitted within a specified time, and the omnidirectional transmitting group is satisfied. Network technical requirements for mobile communication base stations.

Claims (16)

  1. 一种延时补偿的方法,包括:A method of delay compensation, comprising:
    在业务信号从第一设备传输到第二设备的过程中,获取一个跟随业务信号传输的跟随信号;Acquiring a follow signal of the following service signal transmission in the process of transmitting the service signal from the first device to the second device;
    分别获取跟随信号在所述第一设备内传输产生的第一延时值和在所述第二设备内传输产生的第二延时值;Obtaining, respectively, a first delay value generated by the following signal transmission in the first device and a second delay value generated by transmitting in the second device;
    获得所述第一延时值与所述第一设备的第一预设延时值的第一差值,以及所述第二延时值与所述第二设备的第二预设延时值的第二差值;Obtaining a first difference between the first delay value and a first preset delay value of the first device, and the second delay value and a second preset delay value of the second device Second difference
    将所述第一差值插入到所述业务信号中跟随所述业务信号传输到所述第二设备;Inserting the first difference into the service signal to transmit the service signal to the second device;
    在所述第二设备上从所述业务信号中提取所述第一差值,并根据所述第一差值和第二差值获取业务信号传输过程中需要的延时补偿值;Extracting, by the second device, the first difference value from the service signal, and acquiring a delay compensation value required for a service signal transmission process according to the first difference value and the second difference value;
    根据所述延时补偿值对业务信号传输过程中的业务信号进行延时补偿。And delaying the service signal in the process of transmitting the service signal according to the delay compensation value.
  2. 根据权利要求1所述的延时补偿的方法,其中,所述分别获取跟随信号在所述第一设备内传输产生的第一延时值和在所述第二设备内传输产生的第二延时值的步骤包括:The method of delay compensation according to claim 1, wherein said respectively acquiring a first delay value generated by the following signal transmission in said first device and a second delay value generated by transmission in said second device The time value steps include:
    在所述第一设备的第一预设位置提取所述跟随信号,获取所述跟随信号在所述第一预设位置上的信息;Extracting the following signal at a first preset position of the first device, and acquiring information of the following signal at the first preset position;
    在所述第一设备的第二预设位置提取所述跟随信号,获取所述跟随信号在所述第二预设位置上的信息;Extracting the following signal at a second preset position of the first device, and acquiring information of the following signal at the second preset position;
    根据所述跟随信号在第一预设位置和第二预设位置上的信息获取跟随信号在所述第一设备内传输产生的第一延时值。And acquiring, according to the information of the following signals at the first preset position and the second preset position, a first delay value generated by the following signal transmitted in the first device.
  3. 根据权利要求1或2所述的延时补偿的方法,其中,所述分别获取跟随信号在所述第一设备内传输产生的第一延时值和在所述第二设备内传输产生的第二延时值的步骤还包括:The method of delay compensation according to claim 1 or 2, wherein said respectively acquiring a first delay value generated by the following signal transmission in said first device and a transmission generated in said second device The steps of the two delay values further include:
    在所述第二设备的第三预设位置提取所述跟随信号,获取所述跟随信号在所述第三预设位置上的信息;Extracting the following signal at a third preset position of the second device, and acquiring information of the following signal at the third preset position;
    在所述第二设备的第四预设位置提取所述跟随信号,获取所述跟随信号 在所述第四预设位置上的信息;Extracting the following signal at a fourth preset position of the second device to acquire the following signal Information at the fourth preset position;
    根据所述跟随信号在第三预设位置和第四预设位置上的信息获取跟随信号在所述第二设备内传输产生的第二延时值。And acquiring, according to the information of the following signals at the third preset position and the fourth preset position, a second delay value generated by the following signal transmission in the second device.
  4. 根据权利要求1所述的延时补偿的方法,其中,所述第一设备的第一预设延时值为所述第一设备在一预设时间段内测得的最大延时值;所述第二设备的第二预设延时值为所述第二设备在一预设时间段内测得的最大延时值。The method of delay compensation according to claim 1, wherein the first preset delay value of the first device is a maximum delay value measured by the first device within a preset time period; The second preset delay value of the second device is a maximum delay value measured by the second device within a preset time period.
  5. 根据权利要求4所述的延时补偿的方法,其中,所述延时补偿值的计算公式为:The method of delay compensation according to claim 4, wherein the calculation formula of the delay compensation value is:
    延时补偿值=(第一设备的最大延时值—第一延时值)+(第二设备的最大延时值—第二延时值)。Delay compensation value = (maximum delay value of the first device - first delay value) + (maximum delay value of the second device - second delay value).
  6. 根据权利要求1所述的延时补偿的方法,其中,根据所述延时补偿值对所述业务信号传输过程进行延时补偿的步骤包括:The method of delay compensation according to claim 1, wherein the step of delay compensation of the service signal transmission process according to the delay compensation value comprises:
    通过一先入先出队列对所述业务信号传输过程进行延时补偿;其中,利用所述延时补偿值来控制所述先入先出队列的输出。Delaying compensation of the service signal transmission process by a first-in first-out queue; wherein the delay compensation value is used to control the output of the first-in first-out queue.
  7. 根据权利要求6所述的延时补偿的方法,其中,所述利用所述延时补偿值来控制所述先入先出队列的输出的步骤包括:The method of delay compensation according to claim 6, wherein said step of controlling said output of said first-in first-out queue by said delay compensation value comprises:
    根据所述先入先出队列的读写时钟,将所述延时补偿值换算为N个所述先入先出队列的读写时钟周期值;And calculating, according to the read/write clock of the first-in first-out queue, the delay compensation value into a read/write clock period value of the N first-in first-out queues;
    当所述先入先出队列中写入N个业务信号后依次输出业务信号;When the N service signals are written in the first-in first-out queue, the service signals are sequentially output;
    其中,N为大于等于1的整数。Where N is an integer greater than or equal to 1.
  8. 一种延时补偿的装置,包括:A delay compensation device includes:
    提取模块,其设置为:在业务信号从第一设备传输到第二设备的过程中,获取一个跟随业务信号传输的跟随信号;An extraction module, configured to: acquire a follow signal transmitted by the service signal during the process of transmitting the service signal from the first device to the second device;
    延时获取模块,其设置为:分别获取跟随信号在所述第一设备内传输产生的第一延时值和在所述第二设备内传输产生的第二延时值;a delay acquisition module, configured to: respectively acquire a first delay value generated by the following signal transmission in the first device and a second delay value generated by transmitting in the second device;
    差值获取模块,其设置为:获得所述第一延时值与所述第一设备的第一预设延时值的第一差值,以及所述第二延时值与所述第二设备的第二预设延时值的第二差值; a difference obtaining module, configured to: obtain a first difference between the first delay value and a first preset delay value of the first device, and the second delay value and the second a second difference of the second preset delay value of the device;
    插入模块,其设置为:将所述第一差值插入到所述业务信号中跟随所述业务信号传输到所述第二设备;Inserting a module, configured to: insert the first difference value into the service signal and transmit the service signal to the second device;
    补偿获取模块,其设置为:在所述第二设备上从所述业务信号中提取所述第一差值,并根据所述第一差值和第二差值获取业务信号传输过程中需要的延时补偿值;以及a compensation acquisition module, configured to: extract the first difference value from the service signal on the second device, and acquire, according to the first difference value and the second difference value, a service signal transmission process Delay compensation value;
    补偿模块,其设置为:根据所述延时补偿值对业务信号传输过程中的业务信号进行延时补偿。The compensation module is configured to: perform delay compensation on the service signal in the process of transmitting the service signal according to the delay compensation value.
  9. 根据权利要求8所述的延时补偿的装置,其中,所述延时获取模块包括:The apparatus for delay compensation according to claim 8, wherein the delay acquisition module comprises:
    第一时钟获取模块,其设置为:在所述第一设备的第一预设位置提取所述跟随信号,获取所述跟随信号在所述第一预设位置上的信息;a first clock acquisition module, configured to: extract the following signal at a first preset position of the first device, and acquire information of the following signal at the first preset position;
    第二时钟获取模块,其设置为:在所述第一设备的第二预设位置提取所述跟随信号,获取所述跟随信号在所述第二预设位置上的信息;以及a second clock acquisition module, configured to: extract the following signal at a second preset position of the first device, and acquire information of the following signal at the second preset position;
    第一延时获取子模块,其设置为:根据所述跟随信号在第一预设位置和第二预设位置上的信息获取跟随信号在所述第一设备内传输产生的第一延时值。a first delay acquisition sub-module, configured to: acquire, according to information of the follow-up signal at the first preset position and the second preset position, a first delay value generated by the following signal transmitted in the first device .
  10. 根据权利要求8或9所述的延时补偿的装置,其中,所述延时获取模块还包括:The apparatus for delay compensation according to claim 8 or 9, wherein the delay acquisition module further comprises:
    第三时钟获取模块,其设置为:在所述第二设备的第三预设位置提取所述跟随信号,获取所述跟随信号在所述第三预设位置上的信息;a third clock acquisition module, configured to: extract the following signal at a third preset position of the second device, and acquire information of the following signal at the third preset position;
    第四时钟获取模块,其设置为:在所述第二设备的第四预设位置提取所述跟随信号,获取所述跟随信号在所述第四预设位置上的信息;以及a fourth clock acquisition module, configured to: extract the following signal at a fourth preset position of the second device, and acquire information of the following signal at the fourth preset position;
    第二延时获取子模块,其设置为:根据跟随信号在第三预设位置和第四预设位置上的信息获取跟随信号在所述第二设备内传输产生的第二延时值。The second delay acquisition sub-module is configured to: acquire, according to information of the following signals at the third preset position and the fourth preset position, a second delay value generated by the following signal transmission in the second device.
  11. 根据权利要求8所述的延时补偿的装置,其中,所述第一设备的第一预设延时值为所述第一设备在一预设时间段内测得的最大延时值;所述第二设备的第二预设延时值为所述第二设备在一预设时间段内测得的最大延时值。The apparatus for delay compensation according to claim 8, wherein the first preset delay value of the first device is a maximum delay value measured by the first device within a preset time period; The second preset delay value of the second device is a maximum delay value measured by the second device within a preset time period.
  12. 根据权利要求11所述的延时补偿的装置,其中,所述延时补偿值的 计算公式为:The apparatus for delay compensation according to claim 11, wherein said delay compensation value The calculation formula is:
    延时补偿值=(第一设备的最大延时值—第一延时值)+(第二设备的最大延时值—第二延时值)。Delay compensation value = (maximum delay value of the first device - first delay value) + (maximum delay value of the second device - second delay value).
  13. 根据权利要求8所述的延时补偿的装置,其中,所述补偿模块包括:The apparatus for delay compensation according to claim 8, wherein the compensation module comprises:
    补偿子模块,其设置为:通过一先入先出队列对所述业务信号传输过程进行延时补偿;其中,利用所述延时补偿值来控制所述先入先出队列的输出。The compensation sub-module is configured to: delay compensation of the service signal transmission process by using a first-in first-out queue; wherein the delay compensation value is used to control the output of the first-in first-out queue.
  14. 根据权利要求13所述的延时补偿的装置,其中,所述补偿子模块包括:The apparatus for delay compensation according to claim 13, wherein the compensation submodule comprises:
    换算模块,其设置为:根据所述先入先出队列的读写时钟,将所述延时补偿值换算为N个所述先入先出队列的读写时钟周期值;以及a conversion module, configured to: convert the delay compensation value into a read/write clock period value of the N first-in first-out queues according to the read/write clock of the first-in first-out queue;
    输出模块,其设置为:当所述先入先出队列中写入N个业务信号后依次输出业务信号;An output module, configured to: sequentially output a service signal after writing N service signals in the first-in first-out queue;
    其中,N为大于等于1的整数。Where N is an integer greater than or equal to 1.
  15. 一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行权利要求1-7任一项所述的方法。A computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method of any of claims 1-7.
  16. 一种载有权利要求15所述计算机程序的计算机可读存储介质。 A computer readable storage medium carrying the computer program of claim 15.
PCT/CN2014/094269 2014-06-30 2014-12-18 Delay compensation method and device WO2016000423A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
MYPI2016002333A MY189564A (en) 2014-06-30 2014-12-18 Delay compensation method and device
RU2017100648A RU2648285C1 (en) 2014-06-30 2014-12-18 Method and delivery compensation device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410305731.7A CN105323030A (en) 2014-06-30 2014-06-30 Time delay compensation method and device
CN201410305731.7 2014-06-30

Publications (1)

Publication Number Publication Date
WO2016000423A1 true WO2016000423A1 (en) 2016-01-07

Family

ID=55018393

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094269 WO2016000423A1 (en) 2014-06-30 2014-12-18 Delay compensation method and device

Country Status (4)

Country Link
CN (1) CN105323030A (en)
MY (1) MY189564A (en)
RU (1) RU2648285C1 (en)
WO (1) WO2016000423A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959143A (en) * 2017-05-22 2018-12-07 中兴通讯股份有限公司 A kind of Optical Transmission Network OTN equipment and method for processing business
CN114785715A (en) * 2022-03-15 2022-07-22 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Link delay detection system and method
WO2023207636A1 (en) * 2022-04-24 2023-11-02 华为技术有限公司 Time delay compensation method and related device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422069B (en) * 2022-01-04 2023-12-05 烽火通信科技股份有限公司 Delay processing method, device, equipment and storage medium for FlexE service

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050159914A1 (en) * 2004-01-19 2005-07-21 Hironobu Sunden Delay measurement system
CN101257343A (en) * 2008-01-29 2008-09-03 北京北方烽火科技有限公司 Data synchronization method for antenna to calibrate radio frequency far-end unit terminal
US20100246487A1 (en) * 2009-03-24 2010-09-30 Fujitsu Limited Radio base station apparatus and synchronization method thereof
CN102687526A (en) * 2012-02-14 2012-09-19 华为技术有限公司 Delay measurement method and optical transport network device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7633870B2 (en) * 2005-04-18 2009-12-15 Symmetricom, Inc. Network forwarding device and method that forward timing packets through the device with a constant delay
US7447238B2 (en) * 2005-04-26 2008-11-04 Westerngeco L.L.C. Method for compensating for internal delays within each node and transmission delays between the nodes
CN101997669B (en) * 2009-08-14 2015-10-21 中兴通讯股份有限公司 Time-correcting method during optical transfer network carrying time synchronization protocol and system
CN104471883B (en) * 2012-05-24 2018-05-29 瑞典爱立信有限公司 The method and apparatus that clock synchronization information is distributed in optical communication network
EP2854417B1 (en) * 2012-06-14 2017-08-23 Huawei Technologies Co., Ltd. Method and apparatus for transmitting and receiving client signal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050159914A1 (en) * 2004-01-19 2005-07-21 Hironobu Sunden Delay measurement system
CN101257343A (en) * 2008-01-29 2008-09-03 北京北方烽火科技有限公司 Data synchronization method for antenna to calibrate radio frequency far-end unit terminal
US20100246487A1 (en) * 2009-03-24 2010-09-30 Fujitsu Limited Radio base station apparatus and synchronization method thereof
CN102687526A (en) * 2012-02-14 2012-09-19 华为技术有限公司 Delay measurement method and optical transport network device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959143A (en) * 2017-05-22 2018-12-07 中兴通讯股份有限公司 A kind of Optical Transmission Network OTN equipment and method for processing business
CN114785715A (en) * 2022-03-15 2022-07-22 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Link delay detection system and method
CN114785715B (en) * 2022-03-15 2024-03-26 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Link delay detection system and method
WO2023207636A1 (en) * 2022-04-24 2023-11-02 华为技术有限公司 Time delay compensation method and related device

Also Published As

Publication number Publication date
MY189564A (en) 2022-02-16
CN105323030A (en) 2016-02-10
RU2648285C1 (en) 2018-03-23

Similar Documents

Publication Publication Date Title
US20130266323A1 (en) Delay measurement method and optical transport network device
US9699051B2 (en) Methods, systems, and computer readable media for one-way link delay measurement
US9231754B2 (en) Method for accurate distribution of time to a receiver node in an access network
US8400965B2 (en) Radio base station apparatus and synchronization method thereof
WO2016000423A1 (en) Delay compensation method and device
CN112333151B (en) Method, device and system for receiving CPRI data stream and Ethernet frame
CN102469571B (en) Method and system for realizing delay compensation in distributed base station system
CN108370614A (en) Method for converting protocol and device
WO2016019740A1 (en) Micro cell base station system, related device and data processing method
WO2016058347A1 (en) Method and apparatus for implementing time and clock synchronization
WO2021008532A1 (en) Active antenna unit delay alignment method and apparatus and active antenna unit
CN102594683B (en) Special network switching method and equipment with synchronous digital hierarchy (SDH) network accurate clock synchronization function
EP3295765B1 (en) Systems and methods of transporting internal radio base station (rbs) interface information over a packet switched network
CN103188737B (en) A kind of method and apparatus of data synchronization processing of eating dishes without rice or wine
WO2018161679A1 (en) Positioning method and device
JP2008244870A (en) Communication system, relay device used for the system, and measuring method of frame loss
JP2008182549A (en) Communication system, terminating device used for the same, and delay measuring method
WO2016090644A1 (en) Device, communication system and base station collaborative management method
KR101958374B1 (en) Services, systems and methods for precisely estimating a delay within a network
US11711283B2 (en) Cable latency measurement
WO2022267699A1 (en) Abnormal positioning method, device and system, and storage medium
WO2024003596A1 (en) Timing accuracy of radio data packets
TW202323857A (en) Sysetem and method for monitoring remote device online time synchronization accurancy
CN116321397A (en) 5G network time delay determining method and device, electronic equipment and storage medium
KR101497895B1 (en) method for measuring link delay between nodes in cloud radio access network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14896631

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017100648

Country of ref document: RU

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 14896631

Country of ref document: EP

Kind code of ref document: A1