CN104702533B - A kind of chain-circuit time delay compensation method and device - Google Patents
A kind of chain-circuit time delay compensation method and device Download PDFInfo
- Publication number
- CN104702533B CN104702533B CN201310662576.XA CN201310662576A CN104702533B CN 104702533 B CN104702533 B CN 104702533B CN 201310662576 A CN201310662576 A CN 201310662576A CN 104702533 B CN104702533 B CN 104702533B
- Authority
- CN
- China
- Prior art keywords
- router
- time delay
- link
- joined directly
- communication network
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000004891 communication Methods 0.000 claims abstract description 69
- 230000001360 synchronised effect Effects 0.000 claims abstract description 26
- 230000011664 signaling Effects 0.000 claims description 10
- 230000003287 optical effect Effects 0.000 claims description 6
- 238000000253 optical time-domain reflectometry Methods 0.000 claims description 6
- 238000005259 measurement Methods 0.000 claims description 4
- 230000001934 delay Effects 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 description 6
- 230000033228 biological regulation Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000014759 maintenance of location Effects 0.000 description 2
- UOJMTSCORVQOHS-UHFFFAOYSA-N pachypodol Natural products COc1cc(ccc1O)C2=C(C)C(=O)c3c(O)cc(C)cc3O2 UOJMTSCORVQOHS-UHFFFAOYSA-N 0.000 description 2
- 238000002360 preparation method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The embodiment of the present invention provides a kind of chain-circuit time delay compensation method and device, applied to the communications field, router can be made to carry out delay adjusting automatically, improve the synchronization accuracy of communication service.The chain-circuit time delay compensation method includes:The first link of the first router and the second router is obtained, first link is the up-link or downlink of the first router and the second router, the second router and the clock source time synchronized of the communication network;According to the chain-circuit time delay table stored in first link and the first router, the time delay of calculating first link;According to the time of the first router described in the delay adjusting of first link so that the time of the first router and the time synchronized of the second router.The embodiment of the present invention provides a kind of chain-circuit time delay compensation method and device, for automatically adjusting for chain-circuit time delay.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of chain-circuit time delay compensation method and device.
Background technology
With the development of packetized communication network, communication network requires also more and more higher, communication to the synchronous of system component
The timing signal of both sides needs to meet specific frequency or phase relation, i.e., two or more signals are corresponding effective
Moment, its phase difference or difference on the frequency are maintained within the allowed band of agreement.Clock synchronization can be synchronously divided into(Also referred to as frequency is same
Step)And time synchronized(Also referred to as Phase synchronization)Two ways.
At present, IEEE(Institute of Electrical and Electronics Engineers, it is electrically and electric
Sub- IEEE)In order to realize time synchronized, it is proposed that 1588v1 agreements and 1588v2 agreements.Wherein, 1588v1 agreements essence
For degree than relatively low, the precision of 1588v2 agreements can reach submicrosecond level, 1588v2 agreement abbreviations PTP(Precision Time
Protocol, precision time protocol)Agreement, but 1588v2 simultaneous techniques is to realize time synchronized by receiving and dispatching message,
That is master-slave equipment(Master-Slave)Between receive and dispatch time synchronized message, according to the transmitting-receiving timestamp of time synchronized message, meter
Calculation obtains the round overall delay between two equipment, by round overall delay except 2 be exactly One Way Delay, can obtain slave unit accordingly
(Slave)To main equipment (Master) time difference, slave unit adjusts local zone time according to the time difference, it is possible to realize its with
Time synchronized between main equipment.But during by 1588v2 agreements to realize time synchronized requirement, it is two-way between master-slave equipment
Time delay must be exactly the same, therefore needs when engineering lay as far as possible so that up-link and downlink between master-slave equipment
Linkage length is identical, but error occurs unavoidably in engineering construction, and occur in actual applications cut over or
Situations such as business is switched, can frequently result in that linkage length in both direction is different, and then when causing two-way between master-slave equipment
Prolong and differ, influence synchronization accuracy.In actual applications, pair between master-slave equipment is caused due to natural calamity, outside construction etc.
One of disconnection to link, the business that at this moment will be switched off link are switched to the action of reserve link and are referred to as business and switch, institute
The business of stating, which is switched, may make it that the bi-directional link time delay between master-slave equipment is unequal;The circuit or equipment being used are grasped
The action of work is referred to as cut over, and the cut over can also influence the business carried on link, may cause between master-slave equipment
Bi-directional link time delay it is unequal.In the prior art, if the unequal situation of two-way time delay between running into master-slave equipment, generally
Need to confirm two-way delay inequality by manually remeasuring, and time delay adjustment value is set, this usually requires long time, shadow
Ring the synchronization accuracy of communication service.
The content of the invention
Embodiments of the invention provide a kind of chain-circuit time delay compensation method and device, and router can be made to carry out time delay automatically
Regulation, improve the synchronization accuracy of communication service.
To reach above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
First aspect, there is provided a kind of chain-circuit time delay compensation method, applied to the first router, including:
The first link of the first router and the second router is obtained, first link is the first router
With the up-link or downlink of the second router, the second router is with the first router positioned at same logical
Communication network, and correspondence be present, the second router and the clock source time synchronized of the communication network;
According to the chain-circuit time delay table stored in first link and the first router, first link is calculated
Time delay, the chain-circuit time delay table have recorded the time delay that any two in the communication network is joined directly together the link of router;
According to the time of the first router described in the delay adjusting of first link so that the first router when
Between time synchronized with the second router.
Second aspect, there is provided a kind of the first router, including:
Acquiring unit, for obtaining the first link of the first router and the second router, first link is
The up-link or downlink of the first router and the second router, the second router and the first via
Same communication network is located at by device, and correspondence be present, the second router and the clock source time of the communication network
It is synchronous;
Computing unit, store for first link obtained according to the acquiring unit and in the first router
Chain-circuit time delay table, calculate the time delay of first link, the chain-circuit time delay table have recorded any two in the communication network
The time delay of the individual link for being joined directly together router;
Adjustment unit, for the first via described in the delay adjusting of first link obtained according to the computing unit by
The time of device so that the time of the first router and the time synchronized of the second router.
Chain-circuit time delay compensation method provided in an embodiment of the present invention and device, the first router up-link or under
When link open circuit occurs in line link, the first link re-established is obtained first, then according to the first link and chain-circuit time delay table
The time delay of the first link is obtained, then according to the time of the time delay adjust automatically the first router of the first link, compared to existing
Technology, when there is link open circuit, the first router can carry out delay adjusting automatically, improve the synchronization accuracy of communication service.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of chain-circuit time delay compensation method flow chart provided in an embodiment of the present invention;
Fig. 2 is another chain-circuit time delay compensation method flow chart provided in an embodiment of the present invention;
Fig. 3 is a kind of communication network schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram for obtaining the first link provided in an embodiment of the present invention;
Fig. 5 is a kind of the first router structural representation provided in an embodiment of the present invention;
Fig. 6 is another the first router structural representation provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of chain-circuit time delay compensation method, applied to the first router, as shown in figure 1, including:
Step 101, the first link for obtaining the first router and the second router, first link are described the
One router and the up-link or downlink of the second router, the second router and the first router position
In same communication network, and correspondence be present, the second router and the clock source time synchronized of the communication network.
Specifically, when the up-link open circuit, the router nearest apart from the first router and link circuit breaker part
Referred to as breaking router, the process for obtaining the first link are to receive the notice message that breaking router is sent first, the notice
Message indicates the link open circuit that at least two routers being joined directly together in the up-link be present;Disappeared according to the open circuit
Breath, obtains the new up-link of the first router and the second router as the first router and the second router
The first link.
When the downlink open circuit, the process for obtaining the first link is to receive what the second router was sent first
First signaling message, first signaling message include the downlink of the first router and the second router;By described in
First link of the downlink as the first router and the second router.
Step 102, according to the chain-circuit time delay table stored in first link and the first router, calculate described the
The time delay of one link, the chain-circuit time delay table have recorded the link that any two in the communication network is joined directly together router
Time delay.
Specifically, the time delay set of the first router, the first via are obtained in the first router first
It is all with the routers that the first router is joined directly together and the chain of the first router by the time delay set record of device
The time delay on road.
Then other routers in addition to the first router in the communication network are obtained in the communication network
Time delay set.
According to the time delay set of the time delay set of the first router and other routers, when establishing the link
Prolong table.
Need what is illustrated, any two be joined directly together the link of router between described two routers without
The most short chain road of other routers.
Step 103, according to the delay adjusting of first link the first router time so that the first via
Time and the time synchronized of the second router by device.
Example, when first link is up-link, by the time delay of first link and the first router
The time delay of downlink is input in the first router according in the time delay adjusting module of 1588 protocol configurations, and the time delay is adjusted
Mould preparation block can obtain the delay inequality between the time delay of first link and the time delay of the downlink, and can be according to institute
State the time of delay inequality adjustment the first router so that the time of the first router and the time of the second router are same
Step;When first link is downlink, by the up-link of the time delay of first link and the first router when
Prolong and be input in the first router according in the time delay adjusting module of 1588 protocol configurations, the time delay adjusting module can obtain
To first link time delay and the up-link time delay between delay inequality, and can be adjusted according to the delay inequality
The time of the first router so that the time of the first router and the time synchronized of the second router.
So, when link open circuit occur in the up-link or downlink of the first router, weight is obtained first
Newly-established first link, then obtains the time delay of the first link, then according to first according to the first link and chain-circuit time delay table
The time of the time delay adjust automatically the first router of link, compared to prior art, when there is link open circuit, the first router
Delay adjusting can be carried out automatically, improve the synchronization accuracy of communication service.
Specifically, the time delay set that the first router is obtained in the first router includes:
The time delay set for the first router that the first router preserves is read, the time delay collection, which is combined into, carries out described lead to
Communication network is manually stored in the first router when initializing;Or measured by built-in optical time domain reflectometer OTDR
To all routers being joined directly together with the first router and the linkage length of the first router, by described all
The router that is joined directly together with the first router and the linkage length of the first router obtain the first router when
Prolong set.
Further, it is described that its in the communication network in addition to the first router is obtained in the communication network
He includes in the time delay set of router:
Receive other routers in addition to the first router in the communication network that third router is sent when
Prolong set, the third router is the router being joined directly together with the first router.The first router in practical application
The time delay set of each router in the communication network of third router transmission can be received respectively, can also directly be received
Third router send first set, the first set by the communication network in addition to the first router other routers
Time delay collection be combined into.
Chain-circuit time delay compensation method provided in an embodiment of the present invention, in the up-link or downlink of the first router
When there is link open circuit, the first link re-established is obtained first, then obtains the according to the first link and chain-circuit time delay table
The time delay of one link, then according to the time of the time delay adjust automatically the first router of the first link, compared to prior art,
When there is link open circuit, the first router can carry out delay adjusting automatically, improve the synchronization accuracy of communication service.
The embodiment of the present invention provides a kind of chain-circuit time delay compensation method, as shown in Fig. 2 by taking router A and router B as an example
Illustrate, router A is the first router, and router B is the second router, as shown in figure 3, first where router A
Communication network includes multiple routers, and router A is connected by router C, router D and router E with router B, and needs
It is synchronous with the router B retention times.The chain-circuit time delay compensation method includes:
Step 201, router A obtain router A time delay set, perform step 202.
All chains with the routers that router A is joined directly together and router A of the time delay set record of the router A
The time delay on road, from the figure 3, it may be seen that all routers being joined directly together with router A are router C and router F.
Specifically, when carrying out the laying of the first communication network, workmen, which tries one's best, make it that router C and router A's is upper
The length of line link and the equal length of downlink, and measure the up-link laid between router C and router A
The length of length and downlink, the length of up-link and the length of downlink are then substituted into time delay formula, institute respectively
Stating time delay formula is:T=sv, wherein t are time delay, and s is the length of link, and v is spread speed of the signal in the link, is led to
Normal v=2 × 108ms-1, the time delay t of router C and router A up-link is calculated1With the time delay t of downlink2;Together
The time delay t of the up-link by measuring and being calculated router F and router A of sample3With the time delay t of downlink4, so
Afterwards by the t1、t2、t3And t4The time delay collection for being combined into router A is merged into capable preservation, and institute is obtained in order to which router A is read
State router A time delay set.
In actual applications, router A may also be provided with OTDR(Optical Time Domain
Reflectometer, optical time domain reflectometer), at this moment can by OTDR measure router C and router A between or route
The length for the up-link laid between device F and router A and the length of downlink, and then obtain router C and route
The time delay of up-link and the time delay of downlink laid between device A or between router F and router A, so make
The work for obtaining workmen is simplified, and improves the precision of latency measurement.
Step 202, router A obtain the time delay set of other routers, perform step 203.
After the first communication network, which is laid, to be completed, all stored in the all-router in first network corresponding
Time delay set, it have recorded in the time delay set of a router between the router and the router being joined directly together with the router
Link time delay, example, it is router C and router F to be joined directly together with router A, therefore router A time delay set
In information be router A with the router C up-links being joined directly together time delay t1, the time delay t of downlink2, router A
With the time delay t of the router F up-links being joined directly together3, the time delay t of downlink4;With router C be joined directly together be route
Device A, router F and router D, therefore the information in router C time delay set is that router C and router A is joined directly together
Up-link time delay t1, the time delay t of downlink2, the time delay for the up-link that router C and router D is joined directly together
t5, the time delay t of downlink6, the time delay t for the up-link that router C and router F is joined directly together17, the time delay of downlink
t18;That be joined directly together with router D is router C, router E, router G and router H, therefore router D time delay collection
Information in conjunction is the time delay t for the up-link that router D and router C is joined directly together5, the time delay t of downlink6, router
The time delay t for the up-link that D and router E is joined directly together7, the time delay t of downlink8, router D is joined directly together with router G
Up-link time delay t19, the time delay t of downlink20, the time delay for the up-link that router D and router H is joined directly together
t23, the time delay t of downlink24;That be joined directly together with router E is router D, router B, router G and router H, because
Information in this router E time delay set is the time delay t for the up-link that router E and router D is joined directly together7, it is descending
The time delay t of link8, the time delay t for the up-link that router E and router B is joined directly together9, the time delay t of downlink10, route
The time delay t for the up-link that device E and router G is joined directly together21, the time delay t of downlink22, router E and router H are direct
The time delay t of connected up-link15, the time delay t of downlink16;That be joined directly together with router B is router E, therefore road
It is the time delay t for the up-link that router E and router D is joined directly together by the information in device B time delay set9, downlink
Time delay t10;That be joined directly together with router F is router A, router C and router G, therefore router F time delay set
In information be router F with the router A up-links being joined directly together time delay t3, the time delay t of downlink4, router F
With the time delay t of the router C up-links being joined directly together17, the time delay t of downlink18, the direct phases of router F and router G
The time delay t of up-link even11, the time delay t of downlink12;With router G be joined directly together be router D, router E,
Router F and router H, therefore to be that router G and router D is joined directly together upper for the information in router G time delay set
The time delay t of line link19, the time delay t of downlink20, the time delay t for the up-link that router G and router E is joined directly together21,
The time delay t of downlink22, the time delay t for the up-link that router G and router F is joined directly together11, the time delay of downlink
t12, the time delay t for the up-link that router G and router H is joined directly together13, the time delay t of downlink14;It is direct with router H
That connected is router D, router E and router G, therefore the information in router H time delay set is router H and route
The time delay t for the up-link that device D is joined directly together23, the time delay t of downlink24, router H and router E is joined directly together upper
The time delay t of line link15, the time delay t of downlink16, the time delay t for the up-link that router H and router G is joined directly together13,
The time delay t of downlink14。
Further, illustrate by taking the time delay set that router A obtains router E as an example, when the first communication network initializes
When, router E time delay set can be sent to all routers being joined directly together with router E by router E, that is, be sent to
Router D, router G, router H and router B, after router D receives router E time delay set, by the route
Device E time delay set is sent to the router that other are joined directly together with router D in addition to router E, that is, is sent to route
Device C, router G and router H, the router E that router C receives router D transmissions is put into after time delay set, by the road
The router that other are joined directly together with router C in addition to router D is sent to by device E time delay set, that is, is sent to road
By device A and router F, at this moment router A just obtains router E time delay set, and in this way, router A also can
Enough get the time delay set of other routers in addition to router A in the first communication network, it is this by message announcement to communication network
The mode of any one router is referred to as flooding in network.In practical application, it can also be added in GMPLS OSPE-TE agreements
One field carries router E time delay set, and the transmission router A for then passing through OSPE-TE agreements obtains route
Device E time delay set.
Step 203, router A establish chain-circuit time delay table, perform step 204.
Specifically, router A get the router A time delay set and the first communication network in addition to router A
Other routers time delay set after, the information in all time delay set got establishes chain-circuit time delay table, the chain
The up-link time delay between the router that any two is joined directly together in the first communication network is have recorded in the time delay table of road with
Line link time delay, example, the chain-circuit time delay table that router A is established is as shown in table 1.
The chain-circuit time delay table of table 1
What table 1 recorded be up-link time delay between the router that any two is joined directly together in the first communication network and
Downlink delay, specifically, the time delay t for the up-link that router A and router C is joined directly together as shown in Table 11, it is descending
The time delay t of link2;The time delay t for the up-link that router A and router F is joined directly together3, the time delay t of downlink4;Route
The time delay t for the up-link that device C and router A is joined directly together1, the time delay t of downlink2;The direct phases of router C and router D
The time delay t of up-link even5, the time delay t of downlink6;The time delay for the up-link that router C and router F is joined directly together
t17, the time delay t of downlink18;The time delay t for the up-link that router D and router C is joined directly together5, the time delay of downlink
t6;The time delay t for the up-link that router D and router E is joined directly together7, the time delay t of downlink8;Router D and router
The time delay t for the up-link that G is joined directly together19, the time delay t of downlink20;Router D and router H is joined directly together up
The time delay t of link23, the time delay t of downlink24;The time delay t for the up-link that router E and router D is joined directly together7, it is descending
The time delay t of link8;The time delay t for the up-link that router E and router B is joined directly together9, the time delay t of downlink10;Route
The time delay t for the up-link that device E and router G is joined directly together21, the time delay t of downlink22;Router E and router H are direct
The time delay t of connected up-link15, the time delay t of downlink16;The up-link that router E and router D is joined directly together
Time delay t9, the time delay t of downlink10;The time delay t for the up-link that router F and router A is joined directly together3, downlink
Time delay t4;The time delay t for the up-link that router F and router C is joined directly together17, the time delay t of downlink18;Router F with
The time delay t for the up-link that router G is joined directly together11, the time delay t of downlink12;Router G is joined directly together with router D
Up-link time delay t19, the time delay t of downlink20;The time delay for the up-link that router G and router E is joined directly together
t21, the time delay t of downlink22;The time delay t for the up-link that router G and router F is joined directly together11, downlink when
Prolong t12;The time delay t for the up-link that router G and router H is joined directly together13, the time delay t of downlink14;Router H and road
By the time delay t of the device D up-links being joined directly together23, the time delay t of downlink24;What router H and router E was joined directly together
The time delay t of up-link15, the time delay t of downlink16;The time delay for the up-link that router H and router G is joined directly together
t13, the time delay t of downlink14。
Step 204, router A obtain the first link, perform step 205.
In the first communication network, be present correspondence in router A and router B, and need and the router B retention times
Synchronously, as depicted in fig. 4-a, during proper communication, router A and router B up-link is successively by router C, route
Device D, router E link, downlink is successively by router E, router D, router C link, the uplink
Road and downlink are identified by dotted arrow in figure.Assuming that because external force reason causes router C to router D up-link
Open circuit, now router C is to router A transmission notice messages, and instruction router C and router D up-link is breaking, route
Device A obtains new up-link after being connected to the notice message, and as shown in Fig. 4-b, router A obtains one successively through passing by one's way
By device F, router G and router E new up-link, the new up-link by passing through router F, router successively
G and router E dotted arrow are identified, and router A and router B downlink is remained as successively by router E, route
Device D and router C link, the new up-link can be that router A processes are calculated, and can also prestore
Backup path in router A, using the new up-link as the first link.
In practical application, it is also possible to router C and router D downlink open circuit occur, now router D is to route
Device B sends notice message, instruction router C and router D downlink open circuit, router B receive the notice message it
Afterwards, new downlink is obtained, the new downlink can be that router B is calculated or be stored in advance in
Reserve link in router B, router B send PACH signaling messages while new downlink is obtained to router A,
The specific path of acquired new downlink is indicated, router A receives PACH signaling messages afterwards along new downlink
Send RESV signaling messages and give router B, the instruction router A new downlinks that connection route device B is obtained, by described in
New downlink is as the first link.
Step 205, router A obtain the time delay of the first link, perform step 206.
When router C and router D up-link open circuit, router A get it is new successively by router F,
Router G, router E the first link, router A and router F is joined directly together in first link, router F and route
Device G is joined directly together, and router G is joined directly together with router E, and router E is joined directly together with router B, by being deposited in router A
The chain-circuit time delay table of storage understands that the up-link time delay that router A and router F is joined directly together is t3, router F and router
The up-link time delay that G is joined directly together is t11, the up-link time delay that router G and router E is joined directly together is t21, route
The up-link time delay that device E and router B is joined directly together is t9, therefore time delay T=t of the first link3+t11+t21+t9。
Step 206, router A are according to the time delay of first link and the delay adjusting sheet of router A downlink
The ground time so that new time synchronized is formed between router A and router B.
Specifically, the downlink delay for assuming router A is Q, can be by institute after obtaining the time delay T of the first link
State the T and Q to be input in time delay adjusting modules of the router A according to 1588 protocol configurations, the time delay adjusting module can obtain
To the delay inequality P between T and Q, and according to P regulation routers A local zone time so that formed between router A and router B
New time synchronized, specific regulation process belong to prior art, and the embodiment of the present invention is not repeated this.
Chain-circuit time delay compensation method provided in an embodiment of the present invention, occur in the up-link or downlink of router
During link open circuit, the first link re-established is obtained first, the first chain is then obtained according to the first link and chain-circuit time delay table
The time delay on road, then according to the time of the time delay adjust automatically the first router of the first link, compared to prior art, occurring
During link open circuit, the first router can carry out delay adjusting automatically, improve the synchronization accuracy of communication service.
The embodiment of the present invention provides a kind of router, referred to as the first router 50, as shown in figure 5, including:
First acquisition unit 501, for obtaining the first link of the first router 50 and the second router, described
One link is the up-link or downlink of the first router 50 and the second router, the second router with
The first router 50 is located at same communication network, and correspondence be present, the second router and the communication network
Clock source time synchronized.
Computing unit 502, for first link obtained according to the first acquisition unit 501 and the first via
By the chain-circuit time delay table stored in device 50, the time delay of calculating first link, the chain-circuit time delay table have recorded the communication
Any two is joined directly together the time delay of the link of router in network.
Adjustment unit 503, for described in the delay adjusting of first link obtained according to the computing unit 502
The time of one router 50 so that the time of the first router 50 and the time synchronized of the second router.
Example, the first acquisition unit 501 is specifically used for:
When the up-link open circuit, the notice message that breaking router is sent is received, the notice message indicates institute
State in up-link in the presence of the link open circuit of at least two routers being joined directly together;According to the breaking message, described in acquisition
The new up-link of the first router 50 and the second router as the first router 50 and the second router first
Link.
Example, the first acquisition unit 501 is specifically used for:
When the downlink open circuit, the first signaling message that the second router is sent, first letter are received
Message is made to include the downlink of the first router 50 and the second router;Using the downlink as the first via
By device 50 and the first link of the second router.
Further, as shown in fig. 6, the first router 50 also includes second acquisition unit 504, for described
Obtain the time delay set of the first router 50 in one router 50, the time delay set record of the first router 50 institute
There is the time delay of the link for the router and the first router 50 being joined directly together with the first router 50.
And other routers in the communication network in addition to the first router 50 are obtained in the communication network
Time delay set.
Unit 505 is established, for the time delay collection of the first router 50 obtained according to the second acquisition unit 504
The time delay set with other routers is closed, establishes the chain-circuit time delay table.
Example, the second acquisition unit 504 is used for:
The time delay set for the first router 50 that the first router 50 preserves is read, the time delay collection, which is combined into, carries out institute
Manually it is stored in the first router 50 when stating communication network initialization.
Or obtain what all and the first router 50 was joined directly together by built-in optical time domain reflectometer OTDR measurements
Router and the linkage length of the first router 50, pass through all roads being joined directly together with the first router 50
50 time delay set of the first router are obtained by the linkage length of device and the first router 50.
Further, the second acquisition unit 504 is additionally operable to:
Receive other routers in the communication network that third router is sent in addition to the first router 50
Time delay set, the third router are the router being joined directly together with the first router 50.The first via in practical application
Each router in the communication network of third router transmission can be received respectively by the second acquisition unit 504 of device 50
Time delay set, the first set of third router transmission can also be directly received, the first set is by the communication network
The time delay collection of other routers is combined into addition to the first router 50.
The first router provided in an embodiment of the present invention, there is link in the up-link or downlink of router and break
Lu Shi, acquiring unit can obtain the first link re-established first, and then computing unit can be according to the first link and chain
Road time delay table obtains the time delay of the first link, and then adjustment unit can be according to the time delay adjust automatically router of the first link
Time, compared to prior art, when there is link open circuit, the first router can carry out delay adjusting automatically, improve communication
The synchronization accuracy of business.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
With the specific work process of unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or unit
Letter connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That the independent physics of unit includes, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
- A kind of 1. chain-circuit time delay compensation method, applied to the first router, it is characterised in that including:The first link of the first router and the second router is obtained, first link is the first router and institute The up-link or downlink of the second router are stated, the second router is located at same communication network with the first router Network, and correspondence be present, the second router and the clock source time synchronized of the communication network;According to the chain-circuit time delay table stored in first link and the first router, calculate first link when Prolong, the chain-circuit time delay table have recorded the time delay that any two in the communication network is joined directly together the link of router;According to the time of the first router described in the delay adjusting of first link so that the time of the first router with The time synchronized of the second router.
- 2. according to the method for claim 1, it is characterised in that the first router and the second router of obtaining First link includes:When the up-link open circuit, the notice message that breaking router is sent is received, the notice message is indicated on described In the presence of the link open circuit of at least two routers being joined directly together in line link;According to breaking message, obtain the new up-link of the first router and the second router as the first via by First link of device and the second router.
- 3. according to the method for claim 1, it is characterised in that the first router and the second router of obtaining First link includes:When the downlink open circuit, the first signaling message that the second router is sent is received, first signaling disappears Breath includes the new downlink of the first router and the second router;The first link using the new downlink as the first router and the second router.
- 4. according to the method described in claims 1 to 3 any one claim, it is characterised in that described according to described The chain-circuit time delay table stored in one link and the first router, before the overall delay for calculating the link, methods described is also Including:The time delay set of the first router, the time delay set note of the first router are obtained in the first router All time delays with the router that the first router is joined directly together and the link of the first router are recorded;The time delay collection of other routers in the communication network in addition to the first router is obtained in the communication network Close;According to the time delay set of the first router and the time delay set of other routers, the chain-circuit time delay is established Table.
- 5. according to the method for claim 4, it is characterised in thatThe time delay set that the first router is obtained in the first router includes:The time delay set for the first router that the first router preserves is read, the time delay collection, which is combined into, carries out the communication network Network is manually stored in the first router when initializing;Or all routers being joined directly together with the first router are obtained by built-in optical time domain reflectometer OTDR measurements With the linkage length of the first router, by it is described it is all with the router that the first router is joined directly together with it is described The linkage length of the first router obtains the time delay set of the first router;It is described obtained in the communication network other routers in the communication network in addition to the first router when Prolonging set includes:Receive the time delay collection of other routers in the communication network that third router is sent in addition to the first router Close, the third router is the router being joined directly together with the first router.
- A kind of 6. the first router, it is characterised in that including:First acquisition unit, for obtaining the first link of the first router and the second router, first link is The up-link or downlink of the first router and the second router, the second router and the first via Same communication network is located at by device, and correspondence be present, the second router and the clock source time of the communication network It is synchronous;Computing unit, store for first link obtained according to the first acquisition unit and in the first router Chain-circuit time delay table, calculate the time delay of first link, the chain-circuit time delay table have recorded any two in the communication network The time delay of the individual link for being joined directly together router;Adjustment unit, for the first router described in the delay adjusting of first link obtained according to the computing unit Time so that the time of the first router and the time synchronized of the second router.
- 7. the first router according to claim 6, it is characterised in that the first acquisition unit is specifically used for:When the up-link open circuit, the notice message that breaking router is sent is received, the notice message is indicated on described In the presence of the link open circuit of at least two routers being joined directly together in line link;According to breaking message, obtain the new up-link of the first router and the second router as the first via by First link of device and the second router.
- 8. the first router according to claim 6, it is characterised in that the first acquisition unit is specifically used for:When the downlink open circuit, the first signaling message that the second router is sent is received, first signaling disappears Breath includes the new downlink of the first router and the second router;The first link using the new downlink as the first router and the second router.
- 9. according to the first router described in claim 6 to 8 any one claim, it is characterised in that the first via Second acquisition unit is also included by device, for obtaining the time delay set of the first router, institute in the first router State all routers being joined directly together with the first router of the time delay set record of the first router and the first via By the time delay of the link of device;The time delay collection of other routers in the communication network in addition to the first router is obtained in the communication network Close;Establish unit, for the time delay set of the first router that is obtained according to the second acquisition unit with it is described other The time delay set of router, establish the chain-circuit time delay table.
- 10. the first router according to claim 9, it is characterised in that the second acquisition unit is used for:The time delay set for the first router that the first router preserves is read, the time delay collection, which is combined into, carries out the communication network Network is manually stored in the first router when initializing;Or all routers being joined directly together with the first router are obtained by built-in optical time domain reflectometer OTDR measurements With the linkage length of the first router, by it is described it is all with the router that the first router is joined directly together with it is described The linkage length of the first router obtains the time delay set of the first router;The second acquisition unit, which is additionally operable to receive in the communication network that third router is sent, removes the first router The time delay set of other outer routers, the third router are the router being joined directly together with the first router.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310662576.XA CN104702533B (en) | 2013-12-09 | 2013-12-09 | A kind of chain-circuit time delay compensation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310662576.XA CN104702533B (en) | 2013-12-09 | 2013-12-09 | A kind of chain-circuit time delay compensation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104702533A CN104702533A (en) | 2015-06-10 |
CN104702533B true CN104702533B (en) | 2018-01-26 |
Family
ID=53349311
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310662576.XA Active CN104702533B (en) | 2013-12-09 | 2013-12-09 | A kind of chain-circuit time delay compensation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104702533B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105392140B (en) * | 2015-11-19 | 2019-07-19 | 上海斐讯数据通信技术有限公司 | A kind of autosynchronous method of key configuration between wireless router |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101267248A (en) * | 2007-03-15 | 2008-09-17 | 中兴通讯股份有限公司 | Synchronization method and device spanning across wireless network controller in broadcast service data |
CN101557258A (en) * | 2009-02-27 | 2009-10-14 | 工业和信息化部通信计量中心 | Method for using synchronous digital hierarchy (SDH) to realize high-accuracy time synchronization, system and time delay measuring device |
CN102035639A (en) * | 2009-09-30 | 2011-04-27 | 华为技术有限公司 | Time synchronization method, device and system |
CN103166792A (en) * | 2011-12-16 | 2013-06-19 | 中国移动通信集团公司 | Line asymmetrical compensation method, equipment and system |
-
2013
- 2013-12-09 CN CN201310662576.XA patent/CN104702533B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101267248A (en) * | 2007-03-15 | 2008-09-17 | 中兴通讯股份有限公司 | Synchronization method and device spanning across wireless network controller in broadcast service data |
CN101557258A (en) * | 2009-02-27 | 2009-10-14 | 工业和信息化部通信计量中心 | Method for using synchronous digital hierarchy (SDH) to realize high-accuracy time synchronization, system and time delay measuring device |
CN102035639A (en) * | 2009-09-30 | 2011-04-27 | 华为技术有限公司 | Time synchronization method, device and system |
CN103166792A (en) * | 2011-12-16 | 2013-06-19 | 中国移动通信集团公司 | Line asymmetrical compensation method, equipment and system |
Also Published As
Publication number | Publication date |
---|---|
CN104702533A (en) | 2015-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104054284B (en) | Pass through the data transfer of packet switching network | |
Li et al. | Analysis of the synchronization requirements of 5G and corresponding solutions | |
JP5770309B2 (en) | Method and apparatus for performing time synchronization | |
EP3188381B1 (en) | Delay management for distributed communications networks | |
ES2604477T3 (en) | Method and device for time synchronization | |
EP2597791B1 (en) | Method and device for compensating for time path | |
US9813175B2 (en) | Method for detecting timing references affected by a change in path delay asymmetry between nodes in a communication network | |
CN102082697A (en) | Communication path asymmetric time delay measuring method, device and system | |
US20080199183A1 (en) | Interface Method Between Remote Radio Unit And Centralized Transceiver Station | |
CN106162860A (en) | The method and system of a kind of time synchronized, the network equipment | |
EP3326412A1 (en) | Synchronisation of wireless base stations | |
CN102428676A (en) | Method For Signalling Of Data Transmission Path Properties To A Non-Oam Observent Client | |
WO2014023134A1 (en) | Method and device for interacting data among building base band unit (bbu) frames in wireless soft base station | |
CN106211306A (en) | A kind of communication network delay jitter smoothing method, Apparatus and system | |
CN104702533B (en) | A kind of chain-circuit time delay compensation method and device | |
CN102497245A (en) | Clock synchronization method and clock management interface board | |
US10432691B2 (en) | Methods and nodes for transmission of a synchronous data over packet data network | |
JP6983726B2 (en) | Distributed antenna system and synchronization method | |
Antonova et al. | Line current differential: Communication channel considerations | |
JP5597679B2 (en) | COMMUNICATION SYSTEM, MASTER DEVICE, SLAVE DEVICE, AND CLOCK SIGNAL QUALITY MONITORING METHOD | |
JP2020136780A (en) | Transmission device, time transmission system, and, delay correction method | |
Aminev et al. | Analysis and formalization of requirements of URLLC, mMTC, eMBB scenarios for the physical and data link layers of a 5G mobile transport network | |
CN113708999B (en) | Communication network time delay monitoring system and method | |
KR101905310B1 (en) | Data transferring method for wireless backhaul link and wireless backhaul apparatus | |
RU2237373C1 (en) | Method for organizing clocking system for digital signal transfer in network communication center |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |