CN105323030A - Time delay compensation method and device - Google Patents

Time delay compensation method and device Download PDF

Info

Publication number
CN105323030A
CN105323030A CN201410305731.7A CN201410305731A CN105323030A CN 105323030 A CN105323030 A CN 105323030A CN 201410305731 A CN201410305731 A CN 201410305731A CN 105323030 A CN105323030 A CN 105323030A
Authority
CN
China
Prior art keywords
equipment
delay value
signal
delay
compensation
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201410305731.7A
Other languages
Chinese (zh)
Inventor
张雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410305731.7A priority Critical patent/CN105323030A/en
Priority to PCT/CN2014/094269 priority patent/WO2016000423A1/en
Priority to MYPI2016002333A priority patent/MY189564A/en
Priority to RU2017100648A priority patent/RU2648285C1/en
Publication of CN105323030A publication Critical patent/CN105323030A/en
Pending legal-status Critical Current

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Transmitters (AREA)
  • Optical Communication System (AREA)

Abstract

The invention provides a time delay compensation method and device, and the method comprises the steps: obtaining a following signal following business signal transmission in a transmission process of a business signal from first equipment to second equipment; respectively obtaining a first time delay value produced when the following signal is transmitted in the first equipment, and a second time delay value produced when the following signal is transmitted in second equipment; obtaining a first difference between the first time delay value and a first preset time delay value of the first equipment, and a second difference between the second time delay value and a second preset time delay value of the second equipment; inserting the first difference into the business signal, and transmitting the first difference to the second equipment along with the business signal; extracting the first difference from the business signal on the second equipment, and obtaining a time delay compensation value needed in the transmission process of the business signal according to the first and second differences; and carrying out the time delay compensation of the business signal in the transmission process of the business signal according to the time delay compensation value. The method achieves the time delay compensation of carrying network equipment.

Description

A kind of method of compensation of delay and device
Technical field
The present invention relates to the optical transfer network OTN field of communication, particularly a kind of method of compensation of delay and device.
Background technology
Along with the arrival in 3G epoch, each large common carrier expands Large scale construction to 3G mobile communications network, drops into huge, and base station is the equipment that in 3G network construction, quantity is maximum and cost is the highest.The competition that moving communicating field is growing more intense, makes common carrier more pay close attention to networking cost than ever, and distributed base station possesses characteristics such as cost is low, high-performance, fast operation, greatly can save networking and the O&M cost of operator.Therefore distributed base station becomes the main selection that current 3G network is built.
Distributed base station core concept is that conventional macro base station baseband processing unit (BBU) is separated with Remote Radio Unit (RRU), and the two is connected by optical fiber or bearer network equipment.During network design, BBU, core net, wireless network control apparatus are concentrated in machine room, pass through Fiber connection with the RRU of planning website deploy, complete the network coverage.
Distributed base station scheme is compared with the scheme of traditional base station, not only greatly reduce the dependence to website machine room, reduce the difficulty of deployment, also effectively improve networking speed, for operator saves networking cost and O&M cost greatly, fully meet operator fast, the demand of low cost networking.Therefore, the net construction pattern of distributed base station has become the important selection of operator's base station deployment.
The implementation method of distributed base station utilizes common public radio interface (CPRI), transmits digital baseband data to remote radio frequency extension unit (RRU) by bearer network equipment.And common wireless interface specification CPRI is the standard interface of being initiated connection BBU and RRU formulated by companies such as Ericsson, Huawei, NEC, Nortel Networks and Siemens.CPRI interface may be used for the LTE in 3 G system and future.At present, optical fiber directly drives the transmission requirement that can meet CPRI with WDM/OTN technology.Utilize optical transfer network OTN to carry CPRI interface signal and can improve bandwidth of an optical fiber utilance, support the transmission of longer distance, perfect protective capability and the management of abundant photosphere are provided, support arbitrary topology networking, simplify operation management, dilatation is simple, can improve the speed to introduce of wireless new business; And utilize optical transfer network OTN to carry CPRI, can also extend transmission distance, and can protection be provided.Therefore, CPRIoverOTN will obtain the extensive use of operator.
And before wireless device does not adopt distributed base station, when applying OTN equipment, all the compensation of delay mechanism realized in wireless device inside, along with the extensive application in wireless communications of OTN equipment, (for the technical requirement of theaomni-directional transmission networking application to mobile communication base station, each channel of launching needs synchronously in the value range of permitting at the emission delay of antenna port to be badly in need of OTN equipment solution latency issue; Namely all RRU must synchronously and transmit in the time of specifying).
Summary of the invention
The object of the present invention is to provide a kind of method and device of compensation of delay, when not affecting the function of existing equipment, achieve bearer network equipment easily and carry out compensation of delay, thus make the RRU of all wireless devices in the object of the time inter-sync transmission of specifying.
In order to achieve the above object, the invention provides a kind of method of compensation of delay, comprising:
Service signal is from the first device transmission to the transmitting procedure of the second equipment, obtain one follow service signal transmission follow signal;
Obtain respectively and follow signal and in described first equipment, transmit the first delay value of generation and in described second equipment, transmit the second delay value of generation;
Obtain the first difference of the first default delay value of described first delay value and described first equipment, and the second difference of the second default delay value of described second delay value and described second equipment;
Described first difference is inserted in described service signal and follows described service signal and be transferred to described second equipment;
Described second equipment extracts described first difference from described service signal, and obtains according to described first difference and the second difference the compensation of delay value needed in service signal transmitting procedure;
According to described compensation of delay value, compensation of delay is carried out to the service signal in service signal transmitting procedure.
Wherein, the described step of following the first delay value that signal transmits generation in described first equipment and the second delay value transmitting generation in described second equipment that obtains respectively comprises:
Follow signal described in extracting at the first predeterminated position of described first equipment, described in acquisition, follow the information of signal on described first predeterminated position;
Follow signal described in extracting at the second predeterminated position of described first equipment, described in acquisition, follow the information of signal on described second predeterminated position;
The first delay value that signal transmits generation in described first equipment is followed according to the described acquisition of information of signal on the first predeterminated position and the second predeterminated position of following.
Wherein, the described step of following the first delay value that signal transmits generation in described first equipment and the second delay value transmitting generation in described second equipment that obtains respectively also comprises:
Follow signal described in extracting at the 3rd predeterminated position of described second equipment, described in acquisition, follow the information of signal on described 3rd predeterminated position;
Follow signal described in extracting at the 4th predeterminated position of described second equipment, described in acquisition, follow the information of signal on described 4th predeterminated position;
The second delay value that signal transmits generation in described second equipment is followed according to the described acquisition of information of signal on the 3rd predeterminated position and the 4th predeterminated position of following.
Wherein, first of described first equipment the default delay value is the maximum delay value that described first equipment records in a preset time period; It is the maximum delay value that described second equipment records in a preset time period that second of described second equipment presets delay value.
Wherein, the computing formula of described compensation of delay value is specially:
Compensation of delay value=(maximum delay value-the first delay value of the first equipment)+(maximum delay value-the second delay value of the second equipment).
Wherein, according to described compensation of delay value, the step that described service signal transmitting procedure carries out compensation of delay is comprised:
By a First Input First Output, compensation of delay is carried out to described service signal transmitting procedure; Wherein, utilize described compensation of delay value to control the output of described First Input First Output.
Wherein, describedly described compensation of delay value is utilized to comprise to the step of the output controlling described First Input First Output:
According to the read-write clock of described First Input First Output, described compensation of delay value is scaled the read-write clock cycle value of N number of described First Input First Output;
Outgoing traffic signal successively after writing N number of service signal in described First Input First Output.
The embodiment of the present invention also provides a kind of device of compensation of delay, comprising:
Extraction module, for service signal is from the first device transmission to the transmitting procedure of the second equipment, obtain one follow service signal transmission follow signal;
Delay acquisition module, follows signal and in described first equipment, transmits the first delay value of generation for obtaining respectively and in described second equipment, transmit the second delay value of generation;
Difference acquisition module, the first difference of for obtaining described first delay value and described first equipment first default delay value, and the second difference of the second default delay value of described second delay value and described second equipment;
Insert module, follows described service signal be transferred to described second equipment for described first difference being inserted in described service signal;
Compensating acquisition module, for extracting described first difference on described second equipment from described service signal, and obtaining the compensation of delay value in service signal transmitting procedure according to described first difference and the second difference;
Compensating module, for carrying out compensation of delay according to described compensation of delay value to the service signal in service signal transmitting procedure.
Wherein, described delay acquisition module comprises:
First clock acquisition module, follows signal, follows the information of signal on described first predeterminated position described in acquisition described in extracting at the first predeterminated position of described first equipment;
Second clock acquisition module, follows signal, follows the information of signal on described second predeterminated position described in acquisition described in extracting at the second predeterminated position of described first equipment;
First delay acquisition submodule, follows for following the acquisition of information of signal on the first predeterminated position and the second predeterminated position described in basis the first delay value that signal transmits generation in described first equipment.
Wherein, described delay acquisition module also comprises:
3rd clock acquisition module, follows signal, follows the information of signal on described 3rd predeterminated position described in acquisition described in extracting at the 3rd predeterminated position of described second equipment;
4th clock acquisition module, follows signal, follows the information of signal on described 4th predeterminated position described in acquisition described in extracting at the 4th predeterminated position of described second equipment;
Second delay acquisition submodule, follows for following the acquisition of information of signal on the 3rd predeterminated position and the 4th predeterminated position described in basis the second delay value that signal transmits generation in described second equipment.
Wherein, first of described first equipment the default delay value is the maximum delay value that described first equipment records in a preset time period; It is the maximum delay value that described second equipment records in a preset time period that second of described second equipment presets delay value.
Wherein, the computing formula of described compensation of delay value is specially:
Compensation of delay value=(maximum delay value-the first delay value of the first equipment)+(maximum delay value-the second delay value of the second equipment).
Wherein, described compensating module comprises:
Compensate submodule, for carrying out compensation of delay by a First Input First Output to described service signal transmitting procedure; Wherein, utilize described compensation of delay value to control the output of described First Input First Output.
Wherein, described compensation submodule comprises:
Conversion module, for the read-write clock according to described First Input First Output, is scaled the read-write clock cycle value of N number of described First Input First Output by described compensation of delay value;
Output module, for outgoing traffic signal successively after writing N number of service signal in described First Input First Output.
Technique scheme of the present invention at least has following beneficial effect:
In the method for the compensation of delay of the embodiment of the present invention, by obtain one follow service signal transmission follow the delay value of signal in the first equipment and the second equipment calculate in service signal transmitting procedure required for compensation of delay value, and compensation of delay is carried out to service signal; When not affecting the function of existing equipment, achieve bearer network equipment easily and carry out compensation of delay, thus make the RRU of all wireless devices in the object of the time inter-sync transmission of specifying, meet the technical requirement of theaomni-directional transmission networking to mobile communication base station.
Accompanying drawing explanation
Fig. 1 represents the basic step flow chart of the method for the compensation of delay of the embodiment of the present invention;
Fig. 2 represents application scenarios one schematic diagram of the method for the compensation of delay of the embodiment of the present invention;
Fig. 3 represents the signal transmission schematic diagram of the method for the compensation of delay of the embodiment of the present invention;
Fig. 4 represents the network basic topology figure of the specific embodiment one of the embodiment of the present invention;
Fig. 5 represents the access CPRI6 business block diagram of the specific embodiment one of the embodiment of the present invention;
Fig. 6 represents the Time delay measurement path schematic diagram of the specific embodiment one of the embodiment of the present invention;
Fig. 7 represents FPGA internal logic and the framer block diagram of the specific embodiment two of the embodiment of the present invention;
Fig. 8 represents the frame head relative position schematic diagram of each point of the specific embodiment two of the embodiment of the present invention;
Fig. 9 represents the structural representation of the device of the compensation of delay of the embodiment of the present invention.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
The present invention is directed to wireless device in prior art and all adopt internal delay time compensation mechanism, the insurmountable problem of time delay between two separation equipments, a kind of method and device of compensation of delay are provided, by obtain one follow service signal transmission follow the delay value of signal in the first equipment and the second equipment calculate in service signal transmitting procedure required for compensation of delay value, and compensation of delay is carried out to service signal; When not affecting the function of existing equipment, achieve bearer network equipment easily and carry out compensation of delay, thus make the RRU of all wireless devices in the object of the time inter-sync transmission of specifying, meet the technical requirement of theaomni-directional transmission networking to mobile communication base station.
As shown in Figure 1, the embodiment of the present invention provides a kind of method of compensation of delay, comprising:
Step 1, service signal is from the first device transmission to the transmitting procedure of the second equipment, obtain one follow service signal transmission follow signal;
Step 2, obtains respectively and follows signal and in described first equipment, transmit the first delay value of generation and in described second equipment, transmit the second delay value of generation;
Step 3, obtains the first difference of the first default delay value of described first delay value and described first equipment, and the second difference of the second default delay value of described second delay value and described second equipment;
Step 4, is inserted into described first difference in described service signal and follows described service signal and be transferred to described second equipment;
Step 5, described second equipment extracts described first difference from described service signal, and obtains according to described first difference and the second difference the compensation of delay value needed in service signal transmitting procedure;
Step 6, carries out compensation of delay according to described compensation of delay value to the service signal in service signal transmitting procedure.
In the above embodiment of the present invention, signal of following in step 1 can be certain signal relevant to business extracted from service signal, also can be other signals be inserted in service signal, as long as the signal can following service signal transmission is all applicable in embodiments of the present invention always.The position measured is needed to extract following signal in step 1 at the first equipment and the second equipment respectively in step 2, and respectively the transmission delay between two signals in the first equipment and the second equipment is measured, obtain the first corresponding delay value and the second delay value; Concrete, the measurement of the first delay value and the second delay value obtains by the method for clock count, namely in the whole process of service signal transmission, inserts a measurement clock, the number determination delay value of the clock between the position measured as required.
Because the first delay value in the first equipment and the second delay value in the second equipment are unstable, its delay value in time, the change of the factor such as signal strength signal intensity and changing, therefore in order to ensure the stability of time delay, first of first equipment of presetting presets the second default delay value of delay value and the second equipment, corresponding difference when being obtained in fact by step 3 between delay value with default delay value, i.e. the first difference and the second difference; Wherein, first preset delay value and second preset delay value concrete be obtained by a large amount of experimental datas, also the theoretical parameter by the first equipment or the second equipment is drawn by numerical computations, be not limited to a fixed form, allly correctly can obtain first and preset delay value and second to preset the mode of delay value all applicable in embodiments of the present invention.
Concrete, the offset time delay device of step 6 required for the time delay obtained in step 5 or equipment compensate service signal; Wherein, time delay device or equipment are delay circuit, the time delay of FPGA device or delay switch etc., do not repeat one by one at this.It should be noted that, the specifically described service signal of the present invention from the first device transmission to the transmitting procedure of the second equipment the method for compensation of delay, in actual applications, each equipment all there is the transmission of the signal of both direction, and all can produce time delay, all need to carry out compensation of delay, therefore need the time delay in the both direction of equipment be compensated respectively when utilizing time delay device to compensate in step 6, the time delay in the transmitting procedure of service signal is stablized.
In the above embodiment of the present invention, step 2 comprises:
Step 21, follows signal described in extracting, follow the information of signal on described first predeterminated position described in acquisition at the first predeterminated position of described first equipment;
Step 22, follows signal described in extracting, follow the information of signal on described second predeterminated position described in acquisition at the second predeterminated position of described first equipment;
Step 23, follows according to the described acquisition of information of signal on the first predeterminated position and the second predeterminated position of following the first delay value that signal transmits generation in described first equipment.
Further, step 2 also comprises:
Step 24, follows signal described in extracting, follow the information of signal on described 3rd predeterminated position described in acquisition at the 3rd predeterminated position of described second equipment;
Step 25, follows signal described in extracting, follow the information of signal on described 4th predeterminated position described in acquisition at the 4th predeterminated position of described second equipment;
Step 26, follows according to the described acquisition of information of signal on the 3rd predeterminated position and the 4th predeterminated position of following the second delay value that signal transmits generation in described second equipment.
In the specific embodiment of the invention, step 21 to step 26 specifically describes the step adopting the method for clock count to obtain the first delay value and the second delay value; Concrete, in service signal transmitting procedure, insert one measure clock, preferably, this measurement clock can use the system clock of service signal transmission system, also can be the clock arranged separately, be not limited to a fixed form.
Concrete, the first predeterminated position of the first equipment and the second predeterminated position, according to distinct device different set, are not fixed on a position; The correspondence position of the first clock information on first predeterminated position i.e. the first predeterminated position on above-mentioned measurement clock, the correspondence of the second clock information on the second predeterminated position i.e. the second predeterminated position on above-mentioned measurement clock; And then perform step 23, obtain the first delay value by the clock number on computation and measurement clock between the first predeterminated position and the second predeterminated position; Such as, have 4 and measure the clock cycle between the first clock information and second clock information, then the first delay value is the periodic quantity that 4 are measured clock, and concrete, the unit of this delay value is generally ns.Wherein, the acquisition process of the second delay value is consistent with the acquisition process of the first delay value, does not repeat one by one at this.
It should be noted that, in specific embodiments of the invention, compensation of delay is not carried out at the first device interior after the first delay value of acquisition first equipment, but the first delay value is inserted in service signal is transferred in the second equipment, concrete, first delay value adopts the reservation expense of OTN to carry out the transfer approach of delay value, realizes the mutual of two separation equipments.
In the above embodiment of the present invention, it is the maximum delay value that described first equipment records in a preset time period that first of described first equipment presets delay value; It is the maximum delay value that described second equipment records in a preset time period that second of described second equipment presets delay value.
Concrete, in the embodiment of the present invention, the acquisition methods of the maximum delay value of the first equipment and the maximum delay value of the second equipment is, by measuring multiple identical equipment, and power on and plug optical fiber 100 acquisition experimental datas to minusing, then a maximum delay value comparatively accurately can be obtained to its experiment data analysis.
Concrete, in the above embodiment of the present invention, the computing formula of described compensation of delay value is specially:
Compensation of delay value=(maximum delay value-the first delay value of the first equipment)+(maximum delay value-the second delay value of the second equipment).
It should be noted that, the computing formula of the above-mentioned compensation of delay value of the embodiment of the present invention is only a preferred embodiment of the present invention, is not used in and limits the scope of the invention, other can the algorithm of correct computation delay offset all applicable in embodiments of the present invention.
In the above embodiment of the present invention, step 6 comprises:
Step 61, carries out compensation of delay by a First Input First Output to described service signal transmitting procedure; Wherein, utilize described compensation of delay value to control the output of described First Input First Output.
Concrete, FIFO-First Input First Output, the abbreviation of FirstInputFirstOutput, this is a kind of traditional manner of execution according to the order of sequence, and the instruction be introduced into first completes and retires from office, and and then just performs Article 2 instruction.The principle of First Input First Output is: fifo queue is not classified to message, the sequencing that FIFO arrives interface by message enters queue by message, and meanwhile, the order that FIFO allows message press in team in the outlet of queue goes out team, advanced message first will go out team, laggard message by after go out team.
In specific embodiments of the invention, describedly described compensation of delay value is utilized to comprise to the step of the output controlling described First Input First Output:
Step 62, according to the read-write clock of described First Input First Output, is scaled the read-write clock cycle value of N number of described First Input First Output by described compensation of delay value;
Step 63, outgoing traffic signal successively after writing N number of service signal in described First Input First Output.
Hold continuous upper example, in embody rule of the present invention, First Input First Output FIFO is equivalent to a buffer, and when the number of the service signal in FIFO is less than N, the not outside reading of FIFO, writes data always in FIFO; When the number of the service signal in FIFO equals N, in FIFO, write data, then the output of FIFO outwards can read data; It should be noted that, service signal is transmitting always, then constantly writing data in FIFO always, and FIFO then can continuous outside sense data; Simultaneously because the number of service signal in FIFO equals N, then ensure that each service signal all exports from the second equipment end with maximum delay value, thus ensure that the stability of time delay.
Concrete, the read-write clock of the First Input First Output in the above embodiment of the present invention also can adopt system clock or adopt the clock consistent with above-mentioned measurement clock.If the read-write clock of above-mentioned First Input First Output and measurement clock are always, then all can directly adopt the several times of clock cycle value to calculate when computation delay value, compensation of delay value, concrete ns need not be converted to, then the compensation of delay value in step 62 is directly N number of clock cycle value, simplifies calculation procedure.
Concrete, connected applications scene one, describes the detailed process of compensation of delay of the present invention in detail, as shown in Figure 2 and Figure 3:
Application scenarios one as shown in Figure 2; two equipment (OTN equipment 1 and OTN equipment 2) in bearer network are applied to two terminal equipment (external equipments 1 respectively; external equipment 2) between; between two terminal equipments during signal transmission; usually have the requirement of time delay stability; so can be relatively stricter to the requirement of OTN equipment transmission signal, OTN equipment needs the stability ensureing time delay.Given this, the invention provides a kind of method of compensation of delay, as shown in Figure 3.
The first step, first respectively in veneer 1 and veneer 2, extract or insert and cover the whole signal that may produce time delay change path, be generally and extract or insertion signal (following signal) in veneer 1/ veneer 2 upstream, at the same signal of veneer 1/ veneer 2 downstream extraction of correspondence, the time delay between these two signals is measured.
Second step, measure the sample of polylith veneer, find in all veneer samples, the maximum that Time delay measurement module 1 and Time delay measurement module 2 record, the maximum of the time delay of equipment 1 and equipment 2 is defined as Ta_delay_max and Tb_delay_max respectively.
3rd step, measures two veneer delay values, Ta_delay_now and Tb_delay_now after Board Power up.Method of measurement has a lot, and the frame head such as measuring a frame can obtain delay value from entering equipment to the time gone out equipment.
4th step, the delay value that veneer 1 records, is transmitted by business, is transferred to veneer 2, in veneer 2, then extract the delay value (Ta_delay_now) that veneer 1 records.
5th step, the delay value Tb_delay_now of the value Ta_delay_now that veneer 1 is recorded and veneer 2 compares with the maximum (Ta_delay_max and Tb_delay_max) of time delay respectively, see that difference is how many, then compensate this two differences by delay compensation module.
Specific embodiment one
Below, we, for OTN veneer carrying CPRI6 business, verify the practice situation of the method.As shown in Figure 4, concrete single board service process block diagram as shown in Figure 5 for application block diagram.
Customer side refers to the business of our veneer access, and line side refers to the business of carrying CPRI, refers to OTN business here.Business procession first carries out client traffic and line side Business Processing through fpga logic, then arrives light mouth again through framer chip and convert light signal to and transmit.
First, need to measure which section and there is time delay unsteadiness, then obtain the maximum of time delay through repetitive measurement.This is in sends out this section of odu2 layer to line side, the time delay of existence, measures acquisition by the odu2 frame head (fp1) that enters veneer position and the frame head (fp2) that goes out veneer position.Realizing this logic module measured is Time delay measurement module 1, and the first delay value recorded is Ta_delay_now.
Secondly, be connected by optical fiber between two pieces of veneers.For OTN, then can pass to downstream website by OTN expense or payload area and compensate recording the first delay value Ta_delay_now.
Then, receive the time delay that customer side sends out this section in line side, measure acquisition by the frame head (fp3) that enters veneer position and the frame head (fp4) that goes out veneer position.Realizing this logic module measured is Time delay measurement module 2, and the second delay value recorded is Tb_delay_now.
Finally, logic, these two delay values and before through testing the time delay maximum (Ta_delay_max and Tb_delay_max) obtained carries out computing in a large number, obtains fifo_value.Then this delay value is made up by compensation of delay FIFO.
It should be noted that whether the clock measuring clock and compensation of delay FIFO is a clock, and this is one of factor of influence time measure error.In addition, the occurrence of Ta_delay_max and Tb_delay_max, needs by the incompatible acquisition of repetitive measurement a large amount of veneer sample sets.
Concrete Time delay measurement process, as shown in Figure 6.
Analyze the time delay situation of change of OTN veneer, and provide the way measuring delay value Tdelay_now.
As the whole Business Processing block diagram that Fig. 6 is OTN veneer, the CPRI6 business of client's side joint 6.144Gb/s, line side optical fiber loopback.
In order to determine that time delay unsteadiness produces in which part further, customer side, line side, sfi4.2 interface or framer inter-process, therefore, need to draw corresponding test signal in fpga logic and in framer, then utilize the signal that logical internal is programmed or chipscope captures everywhere to test.
So have found in Fig. 5, the frame head index signal of A, B, C, D tetra-positions.Draw 3 test paths with red dotted line, carry out following test.
A position: in fpga logic, the signal that customer side transmitter side extracts.
B position: in framer, the header signal of drawing in odu2 expense insertion portion, this signal is before FEC coding.
C position: in framer, the header signal of drawing in overhead extraction part, this signal after fec decoding.
D position: in fpga logic, the signal that customer side receiver side extracts.
After determining 4 positions of extraction signal, according to Fig. 6, determine 3 test paths, this 3 paths covers the overall process of Business Processing:
Path 1: contain all logics in customer side and line side and SFI4.2 interface and framer intermediate portion reason module.
Path 2: comprise encoding and decoding in framer and optical module to fiber section.
Path 3: contain framer intermediate portion reason module and SFI4.2 interface and receiver side line side and client side logical.
By being (this method of testing is not main method of the present invention, does not describe in detail at this) to the conclusion of testing respectively to draw in 3 paths:
Time delay change mainly exists in path 1 and path 3, and the time delay change in other paths is negligible, as long as so conveniently test the object that compensating for path 1 and 3 just can realize compensation of delay.Therefore, the receiver side in FPGA line side adds fifo and carries out compensation of delay, makes each delayed all reach maximum, is in stable state.
By known above, the first delay value Ta_delay_now after at every turn powering on, the second delay value Tb_delay_now are the delay value in path 1 and path 3 respectively.By to this two-part compensation, delay value is made to reach stable state.
Concrete, in the embodiment of the present invention, the delay value that Fifo needs compensate is: Tdelay_offset={ (Ta_delay_max-Ta_delay_now)+(Tb_delay_max-Tb_delay_now) }.
The read-write clock of FIFO is all system clock, fifo water level is controlled by Tdelay_offset, not reading when if service signal number is less than Tdelay_offset, in fifo, write data always, when service signal number equals Tdelay_offset, fifo just starts constantly outwards sense data.Thus ensure that the stability of time delay.
When this specific embodiment one has explained the service board carrying cpri6 business of OTN equipment, the measurement of time delay stability and compensation method.The method is equally applicable to other relevant rate business of CPRI, and such as CPRI2/CPRI3/CPRI4/CPRI5/CPRI6/CPRI7 business, whole processing procedure is substantially identical with specific embodiment one.
The method is applied to other service boards of OTN equipment too, in FPGA service design, if there is the demand of time delay stability, all can compensate by adopting said method.
Specific embodiment two
Following veneer carrying synchronous ethernet is example, the feasibility of checking the method.
First, carry out service loop determine customer side time delay change very stable, in order to determine that time delay unsteadiness produces at SFI4.2 interface further, or in framer, it is receiver side or at transmitter side, need to draw corresponding signal in FPGA and in framer, the signal utilizing chipscope to capture everywhere is tested.
So have found in Fig. 7, the frame head index signal of A, B, C, D, E five positions.
A position frame head: in fpga logic, circuit transmitter side, will send into the frame head of the otu2 data of SFI4.2 interface.
B position frame head: in Framer, the header signal of drawing in expense insertion portion, this signal is before FEC coding.
C position frame head: in framer, the header signal of drawing in overhead extraction part, this signal after fec decoding.
D position frame head: in framer, the frame head that client's transmitter side overhead part is extracted.
E position frame head: in fpga logic, line receiver side, the header signal before OTU2 overhead extraction.
After determining 5 points of extraction signal, according to Fig. 7, determine 4 paths:
1, the li_tx_insfp of expense insertion portion before extracting frame head to framer coding from the otu2 expense in FPGA line side.
The li_rx_dropfp signal of 2, decoding later from li_tx_insfp signal to framer.(before test think li_rx_dropfp signal before decoding, through many kinds of tests prove mistake, after look for framer handbook, this signal should be after the decoding.)
3, from li_rx_dropfp signal to the cl_tx_insfp signal of framer customer side transmitter side expense insertion portion.
4, from cl_tx_insfp signal to the otu2 frame head of FPGA line side receiver side.
Capture above signal by chipscope, with the header signal of A point as triggering signal, after falling to power on, record the relative position of B, C, D, E point respectively at every turn.Oscillogram is as Fig. 8.
Calculate the clock number between each frame head relative A point frame head, obtain relative time delay data as table 1.
Table 1 each put the delay value (unit, system clock number) of relative A point
1 2 3 4 5 6 7 8 9 10 11
B 246 231 228 230 240 219 231 229 233 243 232
C 989 987 980 1008 964 1008 997 999 981 983 1004
D 1441 1454 1459 1456 1444 1469 1452 1458 1444 1463 1457
E 1684 1689 1684 1709 1666 1708 1701 1700 1684 1682 1706
According to above data, when system clock is 6ns (192MHz), result of calculation is as follows:
The time delay change of route 1+2 is at (1469-1441) * 6=168ns, and wherein the time delay change in path 1 is probably (246-219) * 6=162ns, so the encoding and decoding time delay change of framer is also little.
The time delay change of route 3+4 needs to find maximin to do difference again in (E-C), is (253-219) * 6=204ns.
Thus reach a conclusion: main change exists in path 1 and (3+4), and encoding and decoding time delay change after veneer falls to power on of framer is also little.
Because the encoding and decoding in framer can not separately be tested, if encoding and decoding time delay alters a great deal in framer, just pretty troublesome, compensation of delay can not be carried out with fifo.Fortunately, the time delay change of framer encoding and decoding is very little, negligible.
So just can pass through the time delay changing value of test path 1 and path (3+4), the receiver side in FPGA line side adds fifo and carries out compensation of delay, makes each delayed all reach maximum, is in stable state.
By known above, delay value T1delay_now, T2delay_now after powering on are the delay values of path 1 and path (3+4) at every turn respectively.By system clock, measure the time delay in these paths, finally according to above metrophia compensation method, finally reach the effect of compensation of delay.
In order to better realize above-mentioned purpose, as shown in Figure 9, the embodiment of the present invention also provides a kind of device of compensation of delay, comprising:
Extraction module 10, for service signal is from the first device transmission to the transmitting procedure of the second equipment, obtain one follow service signal transmission follow signal;
Delay acquisition module 20, follows signal and in described first equipment, transmits the first delay value of generation for obtaining respectively and in described second equipment, transmit the second delay value of generation;
Difference acquisition module 30, the first difference of for obtaining described first delay value and described first equipment first default delay value, and the second difference of the second default delay value of described second delay value and described second equipment;
Insert module 40, follows described service signal be transferred to described second equipment for described first difference being inserted in described service signal;
Compensating acquisition module 50, for extracting described first difference on described second equipment from described service signal, and obtaining according to described first difference and the second difference the compensation of delay value needed in service signal transmitting procedure;
Compensating module 60, for carrying out compensation of delay according to described compensation of delay value to the service signal in service signal transmitting procedure.
In the above embodiment of the present invention, described delay acquisition module 20 comprises:
First clock acquisition module, follows signal, follows the information of signal on described first predeterminated position described in acquisition described in extracting at the first predeterminated position of described first equipment;
Second clock acquisition module, follows signal, follows the information of signal on described second predeterminated position described in acquisition described in extracting at the second predeterminated position of described first equipment;
First delay acquisition submodule, follows for following the acquisition of information of signal on the first predeterminated position and the second predeterminated position described in basis the first delay value that signal transmits generation in described first equipment.
In the above embodiment of the present invention, described delay acquisition module 20 also comprises:
3rd clock acquisition module, follows signal, follows the information of signal on described 3rd predeterminated position described in acquisition described in extracting at the 3rd predeterminated position of described second equipment;
4th clock acquisition module, follows signal, follows the information of signal on described 4th predeterminated position described in acquisition described in extracting at the 4th predeterminated position of described second equipment;
Second delay acquisition submodule, follows for following the acquisition of information of signal on the 3rd predeterminated position and the 4th predeterminated position described in basis the second delay value that signal transmits generation in described second equipment.
In the specific embodiment of the invention, it is the maximum delay value that described first equipment records in a preset time period that first of described first equipment presets delay value; It is the maximum delay value that described second equipment records in a preset time period that second of described second equipment presets delay value.
Concrete, in the embodiment of the present invention, the computing formula of described compensation of delay value is specially:
Compensation of delay value=(maximum delay value-the first delay value of the first equipment)+(maximum delay value-the second delay value of the second equipment).
In the above embodiment of the present invention, described compensating module 60 comprises:
Compensate submodule, for carrying out compensation of delay by a First Input First Output to described service signal transmitting procedure; Wherein, utilize described compensation of delay value to control the output of described First Input First Output.
Concrete, in the embodiment of the present invention, described compensation submodule comprises:
Conversion module, for the read-write clock according to described First Input First Output, is scaled the read-write clock cycle value of N number of described First Input First Output by described compensation of delay value;
Output module, for outgoing traffic signal successively after writing N number of service signal in described First Input First Output.
In the method for the compensation of delay of the specific embodiment of the invention, by obtain one follow service signal transmission follow the delay value of signal in the first equipment and the second equipment calculate in service signal transmitting procedure required for compensation of delay value, and compensation of delay is carried out to service signal; When not affecting the function of existing equipment, achieve bearer network equipment easily and carry out compensation of delay, thus make the RRU of all wireless devices in the object of the time inter-sync transmission of specifying, meet the technical requirement of theaomni-directional transmission networking to mobile communication base station.
It should be noted that, the device of the compensation of delay that the embodiment of the present invention provides is the device of application said method, then all embodiments of said method are all applicable to this device, and all can reach same or analogous beneficial effect.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (14)

1. a method for compensation of delay, is characterized in that, comprising:
Service signal is from the first device transmission to the transmitting procedure of the second equipment, obtain one follow service signal transmission follow signal;
Obtain respectively and follow signal and in described first equipment, transmit the first delay value of generation and in described second equipment, transmit the second delay value of generation;
Obtain the first difference of the first default delay value of described first delay value and described first equipment, and the second difference of the second default delay value of described second delay value and described second equipment;
Described first difference is inserted in described service signal and follows described service signal and be transferred to described second equipment;
Described second equipment extracts described first difference from described service signal, and obtains according to described first difference and the second difference the compensation of delay value needed in service signal transmitting procedure;
According to described compensation of delay value, compensation of delay is carried out to the service signal in service signal transmitting procedure.
2. the method for compensation of delay according to claim 1, is characterized in that, the described step of following the first delay value that signal transmits generation in described first equipment and the second delay value transmitting generation in described second equipment that obtains respectively comprises:
Follow signal described in extracting at the first predeterminated position of described first equipment, described in acquisition, follow the information of signal on described first predeterminated position;
Follow signal described in extracting at the second predeterminated position of described first equipment, described in acquisition, follow the information of signal on described second predeterminated position;
The first delay value that signal transmits generation in described first equipment is followed according to the described acquisition of information of signal on the first predeterminated position and the second predeterminated position of following.
3. the method for compensation of delay according to claim 1 and 2, is characterized in that, the described step of following the first delay value that signal transmits generation in described first equipment and the second delay value transmitting generation in described second equipment that obtains respectively also comprises:
Follow signal described in extracting at the 3rd predeterminated position of described second equipment, described in acquisition, follow the information of signal on described 3rd predeterminated position;
Follow signal described in extracting at the 4th predeterminated position of described second equipment, described in acquisition, follow the information of signal on described 4th predeterminated position;
The second delay value that signal transmits generation in described second equipment is followed according to the described acquisition of information of signal on the 3rd predeterminated position and the 4th predeterminated position of following.
4. the method for compensation of delay according to claim 1, is characterized in that, it is the maximum delay value that described first equipment records in a preset time period that first of described first equipment presets delay value; It is the maximum delay value that described second equipment records in a preset time period that second of described second equipment presets delay value.
5. the method for compensation of delay according to claim 4, is characterized in that, the computing formula of described compensation of delay value is:
Compensation of delay value=(maximum delay value-the first delay value of the first equipment)+(maximum delay value-the second delay value of the second equipment).
6. the method for compensation of delay according to claim 1, is characterized in that, comprises the step that described service signal transmitting procedure carries out compensation of delay according to described compensation of delay value:
By a First Input First Output, compensation of delay is carried out to described service signal transmitting procedure; Wherein, utilize described compensation of delay value to control the output of described First Input First Output.
7. the method for compensation of delay according to claim 6, is characterized in that, describedly utilizes described compensation of delay value to comprise to the step of the output controlling described First Input First Output:
According to the read-write clock of described First Input First Output, described compensation of delay value is scaled the read-write clock cycle value of N number of described First Input First Output;
Outgoing traffic signal successively after writing N number of service signal in described First Input First Output.
8. a device for compensation of delay, is characterized in that, comprising:
Extraction module, for service signal is from the first device transmission to the transmitting procedure of the second equipment, obtain one follow service signal transmission follow signal;
Delay acquisition module, follows signal and in described first equipment, transmits the first delay value of generation for obtaining respectively and in described second equipment, transmit the second delay value of generation;
Difference acquisition module, the first difference of for obtaining described first delay value and described first equipment first default delay value, and the second difference of the second default delay value of described second delay value and described second equipment;
Insert module, follows described service signal be transferred to described second equipment for described first difference being inserted in described service signal;
Compensating acquisition module, for extracting described first difference on described second equipment from described service signal, and obtaining according to described first difference and the second difference the compensation of delay value needed in service signal transmitting procedure;
Compensating module, for carrying out compensation of delay according to described compensation of delay value to the service signal in service signal transmitting procedure.
9. the device of compensation of delay according to claim 8, is characterized in that, described delay acquisition module comprises:
First clock acquisition module, follows signal, follows the information of signal on described first predeterminated position described in acquisition described in extracting at the first predeterminated position of described first equipment;
Second clock acquisition module, follows signal, follows the information of signal on described second predeterminated position described in acquisition described in extracting at the second predeterminated position of described first equipment;
First delay acquisition submodule, follows for following the acquisition of information of signal on the first predeterminated position and the second predeterminated position described in basis the first delay value that signal transmits generation in described first equipment.
10. the device of compensation of delay according to claim 8 or claim 9, it is characterized in that, described delay acquisition module also comprises:
3rd clock acquisition module, follows signal, follows the information of signal on described 3rd predeterminated position described in acquisition described in extracting at the 3rd predeterminated position of described second equipment;
4th clock acquisition module, follows signal, follows the information of signal on described 4th predeterminated position described in acquisition described in extracting at the 4th predeterminated position of described second equipment;
Second delay acquisition submodule, for following according to following the acquisition of information of signal on the 3rd predeterminated position and the 4th predeterminated position the second delay value that signal transmits generation in described second equipment.
The device of 11. compensation of delay according to claim 8, is characterized in that, it is the maximum delay value that described first equipment records in a preset time period that first of described first equipment presets delay value; It is the maximum delay value that described second equipment records in a preset time period that second of described second equipment presets delay value.
The device of 12. compensation of delay according to claim 11, is characterized in that, the computing formula of described compensation of delay value is specially:
Compensation of delay value=(maximum delay value-the first delay value of the first equipment)+(maximum delay value-the second delay value of the second equipment).
The device of 13. compensation of delay according to claim 8, is characterized in that, described compensating module comprises:
Compensate submodule, for carrying out compensation of delay by a First Input First Output to described service signal transmitting procedure; Wherein, utilize described compensation of delay value to control the output of described First Input First Output.
The device of 14. compensation of delay according to claim 13, is characterized in that, described compensation submodule comprises:
Conversion module, for the read-write clock according to described First Input First Output, is scaled the read-write clock cycle value of N number of described First Input First Output by described compensation of delay value;
Output module, for outgoing traffic signal successively after writing N number of service signal in described First Input First Output.
CN201410305731.7A 2014-06-30 2014-06-30 Time delay compensation method and device Pending CN105323030A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201410305731.7A CN105323030A (en) 2014-06-30 2014-06-30 Time delay compensation method and device
PCT/CN2014/094269 WO2016000423A1 (en) 2014-06-30 2014-12-18 Delay compensation method and device
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 (1)

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

Publications (1)

Publication Number Publication Date
CN105323030A true CN105323030A (en) 2016-02-10

Family

ID=55018393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410305731.7A Pending CN105323030A (en) 2014-06-30 2014-06-30 Time 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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422069A (en) * 2022-01-04 2022-04-29 烽火通信科技股份有限公司 Time delay processing method, device, equipment and storage medium of FlexE service

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959143B (en) * 2017-05-22 2023-06-27 中兴通讯股份有限公司 Optical transmission network equipment and service processing method
CN114785715B (en) * 2022-03-15 2024-03-26 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Link delay detection system and method
CN116980062A (en) * 2022-04-24 2023-10-31 华为技术有限公司 Time delay compensation method and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1715607B1 (en) * 2005-04-18 2009-05-06 Symmetricom, Inc. Network device and method for forwarding timing packets through the device with a constant delay
CN101997669A (en) * 2009-08-14 2011-03-30 中兴通讯股份有限公司 Time correction method and system of time synchronization protocol beared by optical transport network
CN102687526A (en) * 2012-02-14 2012-09-19 华为技术有限公司 Delay measurement method and optical transport network device
WO2013174454A1 (en) * 2012-05-24 2013-11-28 Telefonaktiebolaget L M Ericsson (Publ) Distributing clock synchronization information within an optical communications network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4390568B2 (en) * 2004-01-19 2009-12-24 富士通株式会社 Delay measurement system
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
CN101257343B (en) * 2008-01-29 2011-12-28 北京北方烽火科技有限公司 Data synchronization method for antenna to calibrate radio frequency far-end unit terminal
JP5282618B2 (en) * 2009-03-24 2013-09-04 富士通株式会社 Radio base station apparatus and synchronization method thereof
CN102870434B (en) * 2012-06-14 2016-01-13 华为技术有限公司 Transmit, receive the method and apparatus of client signal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1715607B1 (en) * 2005-04-18 2009-05-06 Symmetricom, Inc. Network device and method for forwarding timing packets through the device with a constant delay
CN101997669A (en) * 2009-08-14 2011-03-30 中兴通讯股份有限公司 Time correction method and system of time synchronization protocol beared by optical transport network
CN102687526A (en) * 2012-02-14 2012-09-19 华为技术有限公司 Delay measurement method and optical transport network device
WO2013174454A1 (en) * 2012-05-24 2013-11-28 Telefonaktiebolaget L M Ericsson (Publ) Distributing clock synchronization information within an optical communications network

Cited By (2)

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

Also Published As

Publication number Publication date
MY189564A (en) 2022-02-16
WO2016000423A1 (en) 2016-01-07
RU2648285C1 (en) 2018-03-23

Similar Documents

Publication Publication Date Title
USRE48134E1 (en) Interceptor system for characterizing digital data in telecommunication system
EP3416312B1 (en) Systems and methods for delay management in distributed antenna system with direct digital interface to base station
CN102118191B (en) Method, equipment and system for transmitting common public radio interface data
US8400965B2 (en) Radio base station apparatus and synchronization method thereof
CN112333151B (en) Method, device and system for receiving CPRI data stream and Ethernet frame
US20130266323A1 (en) Delay measurement method and optical transport network device
CN103841009B (en) FPGA method for achieving conversion and cascading between Ethernet data and E1 data
US20170142598A1 (en) Small cell base station system, and related devices and data processing methods
CN105323030A (en) Time delay compensation method and device
US11742979B2 (en) Transmission rate adaptation
CN205693674U (en) The multichannel debugging system of integrating device on a kind of bi-directional light device board
US10623340B2 (en) Link-fault tolerance in a distributed antenna system
EP3224961B1 (en) Testing a cable
CN103368663A (en) Debugging and test method and system for radio frequency remote base station
KR20140134557A (en) Method And Apparatus for Monitoring Wireless Signal In Cloud-RAN
CN215990752U (en) Far-end device of multi-frequency-band signal receiving and transmitting system and multi-frequency-band signal receiving and transmitting system
CN107769997A (en) AFDX trade-to products switching technology delay index testing device and method of testing
CN101472284B (en) Complete machine automatic test equipment and method of global mobile communication system base station
CN1838561B (en) Method for transmitting baseband data time label in universal public wireless interface
CN100463555C (en) TD-SCDMA shrouding system and its time slot power reading method
CN113726364B (en) Far-end device of multi-band signal receiving and transmitting system, multi-band signal receiving and transmitting system and power consumption metering method
CN105515706A (en) Method and system for employing pulse mapping domain for achieving synchronization
WO2023237909A1 (en) Timing accuracy of one or more radio data packets
KR101585071B1 (en) System and method for checking performance of satellite communication device
KR101497895B1 (en) method for measuring link delay between nodes in cloud radio access network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160210