CN108809617A - A kind of delay compensation method and terminal - Google Patents

A kind of delay compensation method and terminal Download PDF

Info

Publication number
CN108809617A
CN108809617A CN201810350444.6A CN201810350444A CN108809617A CN 108809617 A CN108809617 A CN 108809617A CN 201810350444 A CN201810350444 A CN 201810350444A CN 108809617 A CN108809617 A CN 108809617A
Authority
CN
China
Prior art keywords
terminal
time
test signal
signal
synchronizing information
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.)
Granted
Application number
CN201810350444.6A
Other languages
Chinese (zh)
Other versions
CN108809617B (en
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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Technology Guangzhou Ltd
Comba Telecom Systems China Ltd
Comba Telecom Systems Guangzhou Co Ltd
Tianjin Comba Telecom Systems Co Ltd
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 Comba Telecom Technology Guangzhou Ltd, Comba Telecom Systems China Ltd, Comba Telecom Systems Guangzhou Co Ltd, Tianjin Comba Telecom Systems Co Ltd filed Critical Comba Telecom Technology Guangzhou Ltd
Priority to CN201810350444.6A priority Critical patent/CN108809617B/en
Publication of CN108809617A publication Critical patent/CN108809617A/en
Application granted granted Critical
Publication of CN108809617B publication Critical patent/CN108809617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • H04L7/0033Correction by delay

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

A kind of delay compensation method of offer of the embodiment of the present invention and terminal, for solving, there are delay problems in signals transmission for communication equipment in the prior art.This method includes:After the first terminal electrifying startup, it obtains and carries out the synchronizing information that the second terminal of fiber optic communication is sent with the first terminal, and time synchronization is carried out according to the synchronizing information and the second terminal, the synchronizing information includes that the first time of test signal is sent for characterizing the second terminal;After synchronous with the second terminal, the test signal that the second terminal is sent is received, the transmission duration of the test signal is determined according to the first time and the time for receiving the test signal;The time difference between the transmission duration and Preset Transfer duration is calculated, delay compensation is carried out to the signal that the second terminal is sent according to the time difference.

Description

A kind of delay compensation method and terminal
Technical field
The present invention relates to field of communication technology, more particularly to a kind of delay compensation method and terminal.
Background technology
In a communications system, data interaction can be carried out by corresponding network between different communication equipment.But due to not With communication equipment hardware there are in some inevitable othernesses and communication equipment control chip power-on and power-off or design In can all have difference for signal transmission time delay, therefore, it is more apparent to design its time difference for complicated system.
Currently, many communication systems are very high for the precision requirement of time delay, it is folded in particular for cascading or doing signal The communication equipment added.It is shaken in order to avoid the signal time delay of each randomness, some communication systems are mainly by hardware aspect Overspending designs to test the shake of time delay, and then compensates;Or a large amount of operation is carried out to avoid the shake of time delay.
In summary, the more serious situation of communication equipment time delay present in signals transmission is also in the prior art Not compared with effective solution scheme.
Invention content
A kind of delay compensation method of offer of the embodiment of the present invention and terminal are being believed for solving communication equipment in the prior art There are delay problems in number transmission process.
In a first aspect, the embodiment of the present invention provides a kind of delay compensation method, it is applied to first terminal, this method includes:
After the first terminal electrifying startup, the second terminal transmission that fiber optic communication is carried out with the first terminal is obtained Synchronizing information, and time synchronization is carried out according to the synchronizing information and the second terminal, the synchronizing information includes use In the first time for characterizing the second terminal transmission test signal;
After synchronous with the second terminal, the test signal that the second terminal is sent is received, according to described the One time and the time for receiving the test signal determine the transmission duration of the test signal;
The time difference between the transmission duration and Preset Transfer duration is calculated, according to the time difference to described the The signal that two terminals are sent carries out delay compensation.
Optionally, the transmission duration that the test signal is determined according to the first time, including:
The delivery time that the test signal is determined according to the first time, the timing since the delivery time;
When receiving the test signal, obtains and stop timing;
The corresponding transmission duration of the test signal is determined according to the duration of record.
Optionally, the test signal is the high pulse signal that amplitude is more than default amplitude.
Optionally, before receiving the test signal that the second terminal is sent, the method further includes:
According to the downlink free time section between synchronizing information determination and the second terminal;
In downlink free time section, detect whether that there are the pulse signals that amplitude is more than default amplitude;
The test signal that the second terminal is sent is received, including:
It determines in free time section there are when the high pulse signal, receiving the high pulse signal, and will connect The high pulse signal of receipts is as the test signal.
Second aspect, the embodiment of the present invention provide a kind of delay compensation method, are applied to second terminal, including:
Determine uplink free time section;
According to the uplink free time section and system time generate synchronizing information, the synchronizing information include for First terminal sends the first time of test signal, in the uplink free time section at the time of indicated by the first time Interior, being established between the second terminal and the first terminal has optical fiber connection;
The synchronizing information is transferred to the first terminal by optical fiber, so that the first terminal is according to described first Time and the time of the test signal is received to determine for dock a number time delay difference for progress delay compensation of collecting mail.
Optionally, after the synchronizing information is transferred to the first terminal by optical fiber, the method further includes:
Determine that current time reaches the first time;
By optical fiber the test signal is sent to the first terminal.
Optionally, the test signal is the high pulse signal that amplitude is more than default amplitude.
The third aspect, the embodiment of the present invention provide a kind of terminal, including:
Time synchronization module, for after first terminal electrifying startup, obtaining and carrying out fiber optic communication with the first terminal The synchronizing information that sends of second terminal, and time synchronization is carried out according to the synchronizing information and the second terminal, it is described same Step information includes that the first time of test signal is sent for characterizing the second terminal;
Receiving module, the test letter sent for after synchronous with the second terminal, receiving the second terminal Number, the transmission duration of the test signal is determined according to the first time and the time for receiving the test signal;
Delay compensation module, for calculating the time difference between the transmission duration and Preset Transfer duration, according to institute It states time difference and delay compensation is carried out to the signal that the second terminal is sent.
Optionally, the test signal is the high pulse signal that amplitude is more than default amplitude.
Optionally, the terminal further includes:
Time-delay calculation module, the delivery time for determining the test signal according to the first time, from the hair It send and starts timing constantly, when receiving the test signal, obtain and stop timing;
The receiving module is used to determine the corresponding transmission duration of the test signal according to the duration of record.
Optionally, the receiving module is additionally operable to:
Before receiving the test signal that the second terminal is sent, determined with described second eventually according to the synchronizing information Downlink free time section between end, and in downlink free time section, detect whether that there are amplitudes to be more than default amplitude Pulse signal;
It determines in free time section there are when the high pulse signal, receiving the high pulse signal, and will connect The high pulse signal of receipts is as the test signal.
Fourth aspect, the embodiment of the present invention provide a kind of terminal, including:
It can determine module, the uplink free time section for determining second terminal;
Time synchronization module, it is described same for generating synchronizing information according to uplink free time section and system time Step information includes sending the first time of test signal to first terminal for second terminal, at the time of indicated by the time Being established in uplink free time section, between the second terminal and the first terminal has optical fiber connection;
Sending module, for the synchronizing information to be transferred to the first terminal by optical fiber, so that described first is whole End is determined according to the first time and the time of the reception test signal for docking number progress delay compensation of collecting mail Time delay difference.
Optionally, the sending module is specifically used for:
Determine that current time reaches the first time;
By optical fiber the test signal is sent to the first terminal.
Optionally, the test signal is the high pulse signal that amplitude is more than default amplitude.
5th aspect, the embodiment of the present invention provide a kind of computer installation, and the computer installation includes processor, described Such as first aspect and second aspect the method are realized when processor is for executing the computer program stored in memory.
6th aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Matter is stored with computer instruction, when described instruction is run on computers so that computer executes such as first aspect and second Method described in aspect.
In the embodiment of the present invention, after first terminal electrifying startup, it is connect with first terminal by optical fiber transmission acquisition The synchronizing information that second terminal is sent carries out time synchronization, and the synchronizing information includes sending test for characterizing second terminal First time at the time of signal, and then first terminal receives the test signal of second terminal transmission, and according at the first time The transmission duration for determining test signal transmits the time difference between duration and Preset Transfer duration by calculating, you can according to The signal that time difference sends second terminal carries out delay compensation, that is to say, that receiving device passes through after powering on and synchronizing Calculate the difference between the transmission duration and preset duration of test information, you can determine the transmission signal paths traversed of equipment Existing delay inequality carries out the time delay for contributing to reduce the signal transmission of communication equipment to follow-up signal and then delay compensation Property, improve the real-time of signal transmission.
Meanwhile a time delay is carried out after the power is turned in receiving device by testing information due to only needing in the embodiment of the present invention Test, you can the delay inequality of acquisition is applied to always subsequent delay compensation, test signal is sent without repeating, occupies resource It is few, and realization method is relatively simple.
Description of the drawings
Fig. 1 is the flow chart one of delay compensation method in the embodiment of the present invention;
Fig. 2 is the flow chart for using delay compensation method in the embodiment of the present invention in the terminal of separate type;
Fig. 3 is the flowchart 2 of delay compensation method in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram one of terminal in the embodiment of the present invention;
Fig. 5 is the structural schematic diagram two of terminal in the embodiment of the present invention;
Fig. 6 is the module diagram of the time delay stabilization system where terminal in the embodiment of the present invention;
Fig. 7 is the structure chart of Computer device of the embodiment of the present invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Delay compensation method in the embodiment of the present invention can be applied in the terminal for carrying out fiber optic communication, be used between terminal Fiber alignment, thus also can by by it is such include that the network system of at least two independent terminals is known as the time delay of separation equipment Stabilization system, the system platform may be used fpga chip and do Digital Signal Processing work, pass through light between the terminal in system Fibre is attached and communicates.
In practical applications, it in terminal may include corresponding receiver and/or transmitter, therefore, terminal can be used as Transmitting terminal also can be used as receiving terminal.
Embodiment preferable in the embodiment of the present invention is introduced below in conjunction with the accompanying drawings.
Embodiment one
Fig. 1 is delay compensation method provided in an embodiment of the present invention, and this method can be applied to above-mentioned time delay stabilization system In terminal, such as first terminal has optical fiber connection, the party between one or more of the first terminal and system terminal The main process of method can be described as follows:
S11:After first terminal electrifying startup, obtain same with the second terminal transmission of first terminal progress fiber optic communication Information is walked, and time synchronization is carried out according to synchronizing information and second terminal, synchronizing information includes for characterizing second terminal hair Send the first time of test signal.
In the embodiment of the present invention, first terminal is after electrifying startup, you can acquisition second terminal is transmitted same by optical fiber Information is walked, and time synchronization is carried out by synchronizing information and second terminal, completes the system time synchronization in two terminals.
Wherein, test signal can be that the amplitude that second terminal is sent is more than the high pulse signal of default amplitude.When first Between the delivery time of test signal that is characterized when be the uplink moment normal signal of second terminal being empty, i.e. first terminal and the Between two terminals at the time of transmission demand without normal signal.In practical applications, first terminal is according to synchronizing information and the After two terminals synchronize, you can at the time of determining that test signal is sent.
S12:After synchronous with the second terminal, the test signal of second terminal transmission is received, according at the first time And the time of reception test signal determines the transmission duration of test signal.
In the embodiment of the present invention, first terminal is that can determine the delivery time of test signal according to synchronizing information, is being received To after test signal, the transmission duration of test signal, example can be determined according to the delivery time of test signal and the time of reception Such as calculate the time difference between finish time and the time of reception.
In practical applications, first terminal can also determine after carrying out time synchronization before S12 according to synchronizing information The downlink free time section in signals transmission is carried out with second terminal, and in downlink free time section, is detected whether There are high pulse signals, i.e. test signal.If it is determined that there are high pulse signals in section during idle time, then can be connect in S12 Receive high pulse signal.
Optionally, if first terminal includes counter, after receiving synchronizing information, first terminal can be believed according to synchronous Breath is zeroed out counter, and the delivery time of test signal is determined according to first time, and then can control counter from hair It send and starts counting up constantly, when first terminal determination receives high pulse signal, control counter stops timing, and latches final Numerical value, the then numerical value recorded are the transmission duration that high pulse signal is transferred to first terminal by second terminal.
Therefore, in the embodiment of the present invention, between terminal after carrying out time synchronization, identification can be sent by carving during idle time Higher high pulse signal is spent, the transmission duration of the transmission path of normal signal between detection terminal is carried out, and is mainly embodied as core Piece controls, and does not need extra external analog circuitry and goes to control, and saves cost.Meanwhile for different terminals, meeting is docked every time Play the effect of real-time testing, and easy to operate, can hardware and software platform transplantability it is strong.
S13:The time difference between transmission duration and Preset Transfer duration is calculated, second terminal is sent out according to time difference The signal sent carries out delay compensation.
Wherein, Preset Transfer duration can be the pre- multiple test for first passing through the transmission duration to signal in a transmission path The delay variation value of a set permission.The value range of the value can be according to the maximum biography in multiple test result What defeated duration determined, such as a length of 120us when maximum transmitted, the then range residing for Preset Transfer duration being arranged can be [125us, 130us].
In the embodiment of the present invention, first terminal is after determining the transmission duration of high pulse signal, you can calculates it and presets The time difference between duration is transmitted, which can be used as delay compensation value, and then first terminal can be according to the time delay Offset carries out delay compensation to the signal that second terminal is sent.If for example, receiving device calculate time difference be 8us, Then can according to the 8us to receipt of subsequent, by sending ending equipment send normal signal carry out time delay processing.
Therefore, in the embodiment of the present invention, the terminal of separation can be determined by a time delay detection upon power-up of the system Between delay compensation value, and by the delay compensation value for it is subsequent transmission signal time delay processing, ensure system transmission letter Number when performance, help to improve the stability in system transmission signal process.
In an alternative embodiment of the invention, while S11 or later, first terminal can also be determined according to synchronizing information From the uplink free time section in signals transmission, uplink free time section is that first terminal transmits at the uplink moment At the time of normal signal is empty.
First terminal can select some in uplink free time section after the uplink free time section for determining itself Moment is transmitted to miscellaneous equipment, such as third terminal by optical fiber and sends high pulse signal, whole with third to detect first terminal Delay compensation value between end, to which the transmission signal between first terminal and third terminal carries out delay compensation.
In turn, first terminal can according to uplink free time section in select transmission high pulse signal at the time of and itself System time generate synchronizing information, then the synchronizing information may include for show itself to third terminal send test signal The second time parameter at the time of (high pulse signal), in uplink free time section at the time of indicated by second time parameter It is interior.And then synchronizing information is sent to third terminal by first terminal, to carry out time synchronization with third terminal.
Certainly, in practical applications, first terminal, can also be directly in certain spy after completion is synchronous with second terminal Timing carves (delivery time) and sends high pulse signal to second terminal, with to first terminal to the signal transmission between second terminal The transmission duration in path is tested, and second terminal is according to synchronizing the delivery time that can determine high pulse signal, Jin Ergen According to the time of reception of high pulse signal, you can when determining that corresponding delay compensation value carries out the signal subsequently from first terminal Prolong compensation.
Therefore, in the embodiment of the present invention, on the one hand, first terminal can be used as receiving device, receive from second eventually The synchronizing information at end carries out time synchronization, and then according to the pulse signal of reception and the test signal determined according to synchronizing information Delivery time, calculate the time delay difference of itself signal transmission between second terminal, and to time delay in subsequent signal chassis Compensation.
On the other hand, first terminal can also be used as sending ending equipment, i.e., according to the uplink free time of itself section and certainly Body time system generates and sends synchronizing information to the miscellaneous equipment of connection, such as third terminal, and itself will send pulse letter Number at the time of inform opposite equip., at the time of so as to opposite equip. according to return pulse signal, and the pulse signal be apprised of Delivery time, to calculate transmission duration of the pulse signal between first terminal and third terminal, and then inspection can also be calculated The transmission duration of survey and preset delay variation value calculation delay difference, and subsequent transmission signal is carried out according to time delay difference Delay compensation.
Convenient for being better understood upon the implementation process of the method in the embodiment of the present application, below will by specific example and Attached drawing is described in detail.
Fig. 2 is the flow diagram for implementing delay compensation method in terminal in time delay stabilization system.The time delay stabilization System includes the terminal that two or more are connected by optical fiber, and each terminal may include radio frequency remoto module (Radio Remote Unit, RRU) equipment and/or BBU baseband processing units (Building Base band Unit, BBU).This hair Include RRU with terminal 2 (sending ending equipment), terminal 2 (receiving device) is comprising for BBU in bright embodiment.Subsequently in order to say Bright book it is succinct, by terminal 1 be known as BBU, terminal 2 be known as RRU.Corresponding step in Fig. 2 is illustrated below:
Step 301:Each function module of terminal electrifying startup in system, sending ending equipment BBU and receiving device RRU Into normal operating condition;
Step 302:After two terminals start, time synchronization is carried out using optical fiber transmission synchronizing information;
Step 303:Judge whether two terminals synchronize success;Wherein, however, it is determined that time synchronization success, then system can enter Delay variation measuring phases;
Step 304:At the time of the uplink signal of RRU is empty, particular moment is selected, such as after synchronizing information 10us times, the signal initiating terminal of RRU send a high pulse signal of one clk of bit wide, the pulse width of the high pulse signal Degree is higher by more than the amplitude of the normal signal between terminal.
Pulse signal passes through opto-electronic conversion by signal processing paths all RRU, BBU is passed to, using BBU Opto-electronic conversion, be passed to BBU inside.In turn, the processing by the corresponding function module inside BBU to signal reaches at BBU signals Manage the signal receiving module of end;
Step 305:The particular moment that BBU is selected according to RRU in step 304 proceeds by clear when pulse signal is sent Zero count stops counting, and latch counting when being finally stopped to after detecting that pulse receives;
Step 306:The signal receiving module of BBU in range, initially enters step 307 at the appointed time, is receiving Signal in, detect the high pulse signal that RRU is sent.The time range can be the institute of test repeatedly by carrying out in advance Determining, such as it can be downlink free time section, then it is big to detect whether that there are amplitudes in downlink free time section by BBU In the pulse signal of default amplitude;
Step 308:When BBU detects pulse signal, you can carry out signal latch, and stop counting, latch lower count Last numerical value;
Step 309:BBU carries out phase by the numerical value according to shake maximum value setting, with the numerical value recorded in step 308 Subtract, the delay variation number this time connected;
Step 310:Calculated delay variation numerical value is increased to delay compensation module by BBU, with what is transmitted to follow-up RRU Signal carries out delay process.
Therefore, the delay compensation method in the embodiment of the present invention, use are being combined between two or more separation equipment When so that upper electrical transmission or distinct device assembling every time, time delay error all can precisely within the range of permission, to ensure Signal-stabilized transmission and superposition use.
Embodiment two
Fig. 3 is the delay compensation method that provides in the embodiment of the present invention, and this method can be used for such as the in embodiment one Two terminals, are connected between second terminal and first terminal by optical fiber.This method can be described as follows:
S101:Second terminal determines uplink free time section.
In the embodiment of the present invention, the uplink free time section of second terminal can be whole relative to first in finger second terminal The uplink moment normal signal at end is the period of sky.
S102:Second terminal generates synchronizing information according to uplink free time section and system time, and synchronizing information includes For the first time to first terminal transmission test signal, uplink free time section is at the time of indicated by first time Interior, being established between second terminal and first terminal has optical fiber connection.
Wherein, test signal is the high pulse signal that amplitude is more than default amplitude, to be different from normal signal.Actually answering In, second terminal can select to send high arteries and veins to first terminal within the period after determining uplink free time section A specific time for rushing signal is referred to as at the first time herein.So, in second terminal when according to the uplink free time Between section and system time when generating the synchronizing information synchronized with first terminal, can be indicated in synchronizing information this first when Between.
S103:Synchronizing information is transferred to first terminal by second terminal by optical fiber, when so that first terminal is according to first Between and receive test signal time come determine for dock collect mail number progress delay compensation a time delay difference.
Synchronizing information is sent to first terminal by second terminal by optical fiber, to pass through synchronizing information realization and first terminal Time synchronization.After completing to synchronize, when second terminal determines that current time reaches first time, you can by optical fiber to the One terminal sends high pulse signal, is tested with the transmission path between first terminal and second terminal, when to carry out Prolong compensation, so that first terminal is according to the first time in synchronizing information, and receive high pulse signal at the time of passes to determine Defeated duration, so that first terminal determines delay compensation value according to transmission duration, to be carried out to the information from second terminal Delay compensation.Wherein, first terminal determines that the process of duration offset refers to the associated description of embodiment one, no longer superfluous herein It states.
In the embodiment of the present invention, second terminal after the power-up, by determining the uplink free time of itself, and then according to upper Row free time and system time generate the synchronous letter for the specific time for sending high pulse signal to first terminal comprising instruction Breath can be according to quilt convenient for first terminal to during being synchronized with first terminal, inform the first terminal moment The particular moment informed carries out timing, and when receiving high pulse signal, and transmission duration can be calculated according to the time of record, The test for realizing the transmission duration of the transmission path to signal from second terminal to first terminal, to according to Preset Transfer duration Calculation delay offset.
In practical applications, second terminal and first terminal be both powered up and complete it is synchronous after, second terminal may also can The high pulse signal from first terminal is received, and records the time of reception of high pulse signal, and then second terminal can basis It can be in second terminal and first that first terminal, which sends the delivery time of high pulse signal and the time of reception, the delivery time, After terminal synchronously completes, the first terminal learnt sends the particular moment of high pulse signal, in turn, second terminal can calculate from Signal from first terminal be transferred to second terminal between transmission path needed for transmission duration, and according to the transmission duration calculation Corresponding delay compensation value, to carry out delay compensation to the signal from first terminal.Second terminal determines delay compensation value Process determines that the process of delay compensation value is identical with first terminal, and details are not described herein again.
Therefore, in the embodiment of the present invention, second terminal can also be according to the high pulse signal from first terminal, realization pair The test of the transmission duration of transmission path of the signal from first terminal to second terminal, and corresponding delay compensation value is calculated to coming Delay compensation is carried out from the signal of first terminal, reduces the time delay of uplink and downlink signals, improves the real-time of system transmission signal.
Embodiment three
Based on same inventive concept, the embodiment of the present invention provides a kind of terminal, which can be aforementioned time delay stabilization system Included first terminal in system is connected between each terminal by optical fiber in system.As shown in figure 4, the terminal include the time it is same Walk module 21, receiving module 22 and delay compensation module 23.
In practical applications, which can also include time-delay calculation module 24, be shown together in Fig. 4.
Time synchronization module 21 can be used for after first terminal electrifying startup, obtains and carries out optical fiber with the first terminal The synchronizing information that the second terminal of communication is sent, and time synchronization, institute are carried out according to the synchronizing information and the second terminal It includes that the first time of test signal is sent for characterizing the second terminal to state synchronizing information.
Receiving module 22 can receive the test letter that the second terminal is sent after synchronous with the second terminal Number, the transmission duration of the test signal is determined according to the first time and the time for receiving the test signal.
Delay compensation module 23 can be used for calculating the time difference between the transmission duration and Preset Transfer duration, press Delay compensation is carried out to the signal that the second terminal is sent according to the time difference.
Optionally, the terminal can also include time-delay calculation module 24, described in being determined according to the first time The delivery time of test signal, the timing since the delivery time when receiving the test signal, obtain and stop timing;
At this point, then the receiving module 22 can be used for determining the corresponding transmission of the test signal according to the duration of record Duration.
Optionally, in the embodiment of the present invention, test signal is the high pulse signal that amplitude is more than default amplitude
Optionally, the receiving module 22 can be also used for:Before receiving the test signal that the second terminal is sent, According to the downlink free time section carried out between synchronizing information determination and the second terminal in signals transmission, and In the downlink free time section, detect whether that there are the high pulse signals;
It determines in free time section there are when the high pulse signal, receiving the high pulse signal, and will connect The high pulse signal of receipts is as the test signal.
Example IV
Based on same inventive concept, the embodiment of the present invention provides a kind of terminal, which can be aforementioned time delay stabilization system Included second terminal in system is connected between each terminal by optical fiber in system.As shown in figure 5, the terminal includes determining mould Block 31, time synchronization module 32 and sending module 33.
Determining module 31 is determined for the uplink free time section of second terminal.
Time synchronization module 32 can be used for generating synchronizing information, institute according to uplink free time section and system time It includes sending the first time of test signal to first terminal for second terminal to state synchronizing information, indicated by the time Moment is in uplink free time section, and being established between the second terminal and the first terminal has optical fiber connection, In, test signal is the high pulse signal that amplitude is more than default amplitude.
Sending module 33 can be used for the synchronizing information being transferred to the first terminal by optical fiber, so that described first Terminal is used to dock a number progress delay compensation of collecting mail according to the first time and the time of the reception test signal to determine Time delay difference.
In the embodiment of the present invention, the sending module 33 is specifically used for:
Determine that current time reaches the first time;
By optical fiber the test signal is sent to the first terminal.
In actual fiber communication process, between separate type terminal when carrying out fiber optic communication, if a terminal is to send End, another terminal of docking can be receiving terminal.
In the following, using second terminal as transmitting terminal, first terminal is the time delay stabilization system introduced for receiving terminal where terminal The framework of system.As shown in fig. 6, being the structure chart of the time delay stabilization system embodiment of separation equipment in the embodiment of the present invention, this is It unites and is sequentially connected time synchronization module 32, (pulse) sending module 33 of second terminal, the time synchronization module 21 of first terminal, Time-delay calculation module 24, (pulse) receiving module 22 and delay compensation module 23.Certainly, in practical applications, one can make Can may include again repertoire module shown in Fig. 6 as the terminal of transmitting terminal for receiving terminal.
Specifically, contain time synchronization in sending ending equipment (such as RRU device) and receiving device (such as BBU equipment) Module 21, is transmitted using optical fiber so that two terminals reach time synchronization.
The signal that sending module 33 can be arranged at the ends RRU sends position, when RRU uplink moment normal signals are empty, Such as the particular moment after selected synchronizing information triggering, a certain moment in [10us, 15us] after being triggered such as synchronizing information, hair Send a high pulse signal.
In turn, time-delay calculation module 24 can be zeroed out and start counting up work according to synchronizing information in BBU equipment.
The signal that (pulse) receiving module 22 can be located in BBU receives end, and shake can be limited according to the time Range detects the high pulse signal that RRU is sended over, and latch this signal, and make time delay meter in the inscribed collection of letters number of range It calculates module 24 to stop counting, latches final numerical value.
In turn, delay compensation module 23 can set the empirical value of a shake maximum magnitude, by this empirical value and time delay The numerical value that computing module 24 finally locks compares, and calculates delay variation value, and calculated delay variation value is done signal Delay compensation, to ensure every task, the treated time consistency of signal.
Embodiment five
A kind of computer installation is also provided in the embodiment of the present invention, structure is as shown in fig. 7, the computer installation includes place Manage device 41 and memory 42, wherein the present invention is realized when processor 41 is for executing the computer program stored in memory 42 The step of delay compensation method provided in embodiment one.
Optionally, processor 41 can be specifically central processing unit, application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), can be one or more integrated circuits for controlling program execution, Can be the hardware circuit of use site programmable gate array (Field Programmable Gate Array, FPGA) exploitation, It can be baseband processor.
Optionally, processor 41 may include at least one process cores.
Optionally, electronic equipment further includes memory 42, and memory 42 may include read-only memory (Read Only Memory, ROM), random access memory (Random Access Memory, RAM) and magnetic disk storage.Memory 42 is used for Store data required when processor 41 is run.The quantity of memory 42 is one or more.
Embodiment six
A kind of computer readable storage medium is also provided in the embodiment of the present invention, which has The delay compensation provided such as the embodiment of the present invention one may be implemented when computer instruction is run on computers for computer instruction The step of method.
In embodiments of the present invention, it should be understood that a kind of disclosed delay compensation method and terminal, it can be by other Mode realize.For example, apparatus embodiments described above are merely indicative, for example, the division of unit, only one Kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, equipment or unit It connects, can be electrical or other forms.
Each functional unit in embodiments of the present invention can be integrated in a processing unit or each unit also may be used To be independent physical module.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer read/write memory medium.Based on this understanding, the technical solution of the embodiment of the present invention is complete Portion or part can be expressed in the form of software products, which is stored in a storage medium, packet It includes some instructions to use so that a computer equipment, such as can be personal computer, server or the network equipment etc., Or processor (Processor) executes all or part of step of the method for each embodiment of the present invention.And storage above-mentioned is situated between Matter includes:It is general serial bus USB (Universal Serial Bus flash drive, USB), mobile hard disk, read-only Memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or The various media that can store program code such as person's CD.
Above example is only used for that technical scheme of the present invention is described in detail, but the explanation of above example is only It is to be used to help understand the method for the embodiment of the present invention, should not be construed as the limitation to the embodiment of the present invention.The art The change or replacement that technical staff can readily occur in should all be covered within the protection domain of the embodiment of the present invention.

Claims (16)

1. a kind of delay compensation method is applied to first terminal, which is characterized in that including:
After the first terminal electrifying startup, obtain same with the second terminal transmission of first terminal progress fiber optic communication Information is walked, and time synchronization is carried out according to the synchronizing information and the second terminal, the synchronizing information includes being used for table Levy the first time that the second terminal sends test signal;
After synchronous with the second terminal, the test signal that the second terminal is sent is received, when according to described first Between and receive time of the test signal and determine the transmission duration of the test signal;
The time difference between the transmission duration and Preset Transfer duration is calculated, it is whole to described second according to the time difference The signal that end is sent carries out delay compensation.
2. the method as described in claim 1, which is characterized in that described to determine the test signal according to the first time Duration is transmitted, including:
The delivery time that the test signal is determined according to the first time, the timing since the delivery time;
When receiving the test signal, obtains and stop timing;
The corresponding transmission duration of the test signal is determined according to the duration of record.
3. method as claimed in claim 1 or 2, which is characterized in that the test signal is the height that amplitude is more than default amplitude Pulse signal.
4. method as claimed in claim 3, which is characterized in that before receiving the test signal that the second terminal is sent, The method further includes:
According to the downlink free time section between synchronizing information determination and the second terminal;
In downlink free time section, detect whether that there are the high pulse signals;
The test signal for receiving the second terminal and sending, including:
It determines in free time section there are when the high pulse signal, receiving the high pulse signal, and by reception High pulse signal is as the test signal.
5. a kind of delay compensation method is applied to second terminal, which is characterized in that including:
Determine uplink free time section;
Synchronizing information is generated according to uplink free time section and system time, the synchronizing information includes for first Terminal sends the first time of test signal, at the time of indicated by the first time in uplink free time section, Being established between the second terminal and the first terminal has optical fiber connection;
The synchronizing information is transferred to the first terminal by optical fiber, so that the first terminal is according to the first time And the time of the test signal is received to determine for docking number time delay difference for carrying out delay compensation of collecting mail.
6. method as claimed in claim 5, which is characterized in that the synchronizing information is being transferred to described first by optical fiber After terminal, the method further includes:
Determine that current time reaches the first time;
By optical fiber the test signal is sent to the first terminal.
7. such as method described in claim 5 or 6, which is characterized in that the test signal is the height that amplitude is more than default amplitude Pulse signal.
8. a kind of terminal, which is characterized in that including:
Time synchronization module is obtained and carries out the of fiber optic communication with the first terminal for after first terminal electrifying startup The synchronizing information that two terminals are sent, and time synchronization, the synchronous letter are carried out according to the synchronizing information and the second terminal Breath includes the first time that test signal is sent for characterizing the second terminal;
Receiving module, the test signal sent for after synchronous with the second terminal, receiving the second terminal, root The transmission duration of the test signal is determined according to the first time and the time for receiving the test signal;
Delay compensation module, for calculate it is described transmission duration and Preset Transfer duration between time difference, according to it is described when Between difference signal that the second terminal is sent carry out delay compensation.
9. terminal as claimed in claim 8, which is characterized in that the terminal further includes:
Time-delay calculation module, the delivery time for determining the test signal according to the first time, from when the transmission It carves and starts timing, when receiving the test signal, obtain and stop timing;
The receiving module is used to determine the corresponding transmission duration of the test signal according to the duration of record.
10. method as claimed in claim 8 or 9, which is characterized in that the test signal is the height that amplitude is more than default amplitude Pulse signal.
11. terminal as claimed in claim 10, which is characterized in that the receiving module is additionally operable to:
Before receiving the test signal that the second terminal is sent, according to the synchronizing information determine with the second terminal it Between downlink free time section, and the downlink free time section in, detect whether that there are the high pulse signals;
It determines in free time section there are when the high pulse signal, receiving the high pulse signal, and by reception High pulse signal is as the test signal.
12. a kind of terminal, which is characterized in that including:
Determining module, the uplink free time section for determining second terminal;
Time synchronization module, for generating synchronizing information, the synchronous letter according to uplink free time section and system time Breath includes the first time for sending test signal to first terminal for second terminal, is at the time of indicated by the time In the uplink free time section, being established between the second terminal and the first terminal has optical fiber connection;
Sending module, for the synchronizing information to be transferred to the first terminal by optical fiber, so that the first terminal root It is determined according to the first time and the time of the reception test signal for docking number time delay for carrying out delay compensation of collecting mail Difference.
13. terminal as claimed in claim 12, which is characterized in that the sending module is specifically used for:
Determine that current time reaches the first time;
By optical fiber the test signal is sent to the first terminal.
14. terminal as described in claim 12 or 13, which is characterized in that the test signal is that amplitude is more than default amplitude High pulse signal.
15. a kind of computer installation, which is characterized in that the computer installation includes processor, and the processor is for executing It is realized when the computer program stored in memory such as any claim the method in claim 1-7.
16. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to It enables, when described instruction is run on computers so that computer executes the side as described in any claim in claim 1-7 Method.
CN201810350444.6A 2018-04-18 2018-04-18 Time delay compensation method and terminal Active CN108809617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810350444.6A CN108809617B (en) 2018-04-18 2018-04-18 Time delay compensation method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810350444.6A CN108809617B (en) 2018-04-18 2018-04-18 Time delay compensation method and terminal

Publications (2)

Publication Number Publication Date
CN108809617A true CN108809617A (en) 2018-11-13
CN108809617B CN108809617B (en) 2021-12-14

Family

ID=64094347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810350444.6A Active CN108809617B (en) 2018-04-18 2018-04-18 Time delay compensation method and terminal

Country Status (1)

Country Link
CN (1) CN108809617B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422366A (en) * 2020-11-09 2021-02-26 淄博萃智工业设计咨询有限公司 Method and system for measuring time delay characteristic of forwarding network
CN113960413A (en) * 2021-10-20 2022-01-21 石家庄科林电气股份有限公司 Time synchronization method for collecting unit and collecting unit in fault indicator
CN114301565A (en) * 2021-12-30 2022-04-08 上海布鲁可积木科技有限公司 Method and system for wireless communication between toy modules
CN114398017A (en) * 2022-01-13 2022-04-26 百度在线网络技术(北京)有限公司 Time delay detection method and device and electronic equipment
WO2022083574A1 (en) * 2020-10-19 2022-04-28 维沃移动通信有限公司 Delay compensation method, apparatus, and device for tsn reference time
CN114510186A (en) * 2020-10-28 2022-05-17 华为技术有限公司 Cross-device control method and device
CN114827681A (en) * 2022-04-24 2022-07-29 咪咕视讯科技有限公司 Video synchronization method and device, electronic equipment, terminal equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1685646A (en) * 2002-09-26 2005-10-19 Vkr控股公司 Method of controlling operation of at least one transmitter and/or one receiver, communication system and use of such a method or such a system
CN101515831A (en) * 2008-02-22 2009-08-26 杭州华三通信技术有限公司 Method, system and device for time synchronous transfer
CN102687526A (en) * 2012-02-14 2012-09-19 华为技术有限公司 Delay measurement method and optical transport network device
CN102869086A (en) * 2012-09-25 2013-01-09 京信通信系统(中国)有限公司 Method and device for adjusting signal transmission time
CN102938676A (en) * 2011-08-16 2013-02-20 中兴通讯股份有限公司 Method, device and system for processing time synchronization
CN105245324A (en) * 2015-10-14 2016-01-13 中兴通讯股份有限公司 Clock synchronization method and device
CN106550288A (en) * 2015-09-16 2017-03-29 华为技术有限公司 A kind of time-delay compensation device of EPON, method and EPON
US20180070373A1 (en) * 2016-09-08 2018-03-08 Adva Optical Networking Se Method for scheduling a transmission of packets within a network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1685646A (en) * 2002-09-26 2005-10-19 Vkr控股公司 Method of controlling operation of at least one transmitter and/or one receiver, communication system and use of such a method or such a system
CN101515831A (en) * 2008-02-22 2009-08-26 杭州华三通信技术有限公司 Method, system and device for time synchronous transfer
CN102938676A (en) * 2011-08-16 2013-02-20 中兴通讯股份有限公司 Method, device and system for processing time synchronization
CN102687526A (en) * 2012-02-14 2012-09-19 华为技术有限公司 Delay measurement method and optical transport network device
CN102869086A (en) * 2012-09-25 2013-01-09 京信通信系统(中国)有限公司 Method and device for adjusting signal transmission time
CN106550288A (en) * 2015-09-16 2017-03-29 华为技术有限公司 A kind of time-delay compensation device of EPON, method and EPON
CN105245324A (en) * 2015-10-14 2016-01-13 中兴通讯股份有限公司 Clock synchronization method and device
US20180070373A1 (en) * 2016-09-08 2018-03-08 Adva Optical Networking Se Method for scheduling a transmission of packets within a network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BRCICHI40951: "网络控制系统的时延估算及补偿", 《百度文库》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022083574A1 (en) * 2020-10-19 2022-04-28 维沃移动通信有限公司 Delay compensation method, apparatus, and device for tsn reference time
CN114510186A (en) * 2020-10-28 2022-05-17 华为技术有限公司 Cross-device control method and device
CN112422366A (en) * 2020-11-09 2021-02-26 淄博萃智工业设计咨询有限公司 Method and system for measuring time delay characteristic of forwarding network
CN113960413A (en) * 2021-10-20 2022-01-21 石家庄科林电气股份有限公司 Time synchronization method for collecting unit and collecting unit in fault indicator
CN114301565A (en) * 2021-12-30 2022-04-08 上海布鲁可积木科技有限公司 Method and system for wireless communication between toy modules
CN114301565B (en) * 2021-12-30 2023-12-29 上海布鲁可积木科技有限公司 Wireless communication method and system between toy modules
CN114398017A (en) * 2022-01-13 2022-04-26 百度在线网络技术(北京)有限公司 Time delay detection method and device and electronic equipment
CN114827681A (en) * 2022-04-24 2022-07-29 咪咕视讯科技有限公司 Video synchronization method and device, electronic equipment, terminal equipment and storage medium
CN114827681B (en) * 2022-04-24 2024-03-22 咪咕视讯科技有限公司 Video synchronization method, device, electronic equipment, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN108809617B (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN108809617A (en) A kind of delay compensation method and terminal
CN106649166B (en) A kind of universal used group of data processing system based on unified interface
CN105790754B (en) Digital isolation circuit and control method thereof
US8412975B2 (en) USB based synchronization and timing system
CN109144932A (en) A kind of device and method of the quick dynamic configuration FPGA based on DSP
CN101103277A (en) Instrument with interface for synchronization in automatic test equipment
CN109857095A (en) A kind of off-line detection system and method for domain controller
CN103530211A (en) PCIE loop back self-test method based on UVM platform
JP2002351825A (en) Communication system
CN109450763A (en) A kind of bus expanding method, gateway and extended bus system
CN105450433B (en) Configuration method, the device and system of high-speed serial bus parameter
CN111999590A (en) Startup and shutdown test circuit and startup and shutdown test system
CN202795349U (en) Serial bus data analyzer and analysis system
CN108134655A (en) A kind of method and controller of determining communication link state
CN111158339B (en) CAN bus simulation monitoring system
CN104601404B (en) Test instrumentation and test method with NFC function
CN107703462B (en) Controller
CN116361095B (en) Power consumption verification method, system, equipment and storage medium
CN114167396A (en) Control method based on ultra-wideband ranging and related device
JPH03503352A (en) wireless transceiver
CN103186753B (en) A kind of detection method of initial rate of PSAM card and device
CN205540083U (en) Impulse sampling interface system
CN110824981A (en) Precise DME distance resolving digital processing unit board and resolving method
CN212009325U (en) Logic control circuit for portable oscilloscope
CN211149434U (en) Port multiplexing device based on BMC interaction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200107

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Communication System (China) Co., Ltd.

Address before: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangdong, 10

Applicant before: Jingxin Communication System (China) Co., Ltd.

Applicant before: Jingxin Communication System (Guangzhou) Co., Ltd.

Applicant before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS CO., LTD.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: Comba Telecom System (China) Ltd.

GR01 Patent grant
GR01 Patent grant