CN104702533A - Time delay compensation method and time delay compensation device for links - Google Patents

Time delay compensation method and time delay compensation device for links Download PDF

Info

Publication number
CN104702533A
CN104702533A CN201310662576.XA CN201310662576A CN104702533A CN 104702533 A CN104702533 A CN 104702533A CN 201310662576 A CN201310662576 A CN 201310662576A CN 104702533 A CN104702533 A CN 104702533A
Authority
CN
China
Prior art keywords
router
time delay
link
directly connected
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.)
Granted
Application number
CN201310662576.XA
Other languages
Chinese (zh)
Other versions
CN104702533B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201310662576.XA priority Critical patent/CN104702533B/en
Publication of CN104702533A publication Critical patent/CN104702533A/en
Application granted granted Critical
Publication of CN104702533B publication Critical patent/CN104702533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Am embodiment of the invention provides a time delay compensation method and a time delay compensation device for links, and is applied to the field of communication. The time delay compensation method for the links includes acquiring the first links of first routers and second routers; computing time delay of the first links according to the first links and link time delay tables stored in the first routers; adjusting the time of the first routers according to the time delay of the first links so as to synchronize the time of the first routers with the time of the second routers. The first links are up links or down links of the first routers and the second routers, and the second routers are synchronized with the time of clock sources of communication networks. The time delay compensation method and the time delay compensation device in the embodiment of the invention have the advantages that the time delay can be automatically adjusted by the routers, so that the synchronization precision of communication service can be improved; the time delay compensation method and the time delay compensation device for the links are used for automatically adjusting the time delay of the links.

Description

A kind of chain-circuit time delay compensation method and device
Technical field
The present invention relates to the communications field, particularly relate to a kind of chain-circuit time delay compensation method and device.
Background technology
Along with the development of packetized communication network, the synchronous requirement of communication network to system component is also more and more higher, the timing signal of communicating pair needs to meet specific frequency or phase relation, namely two or more signals are in corresponding significant instant, and its phase difference or difference on the frequency remain within the allowed band of agreement.Synchronously can be divided into clock synchronous (also claiming Frequency Synchronization) and time synchronized (also claiming Phase synchronization) two kinds of modes.
At present, IEEE(Institute of Electrical and Electronics Engineers, Institute of Electrical and Electric Engineers) in order to realize time synchronized, propose 1588v1 agreement and 1588v2 agreement.Wherein, 1588v1 agreement precision comparison is low, the precision of 1588v2 agreement can reach submicrosecond level, 1588v2 agreement is called for short PTP(Precision Time Protocol, precision time protocol) agreement, but 1588v2 simultaneous techniques realizes time synchronized by transmitting-receiving message, namely time synchronized message is received and dispatched between master-slave equipment (Master-Slave), according to the transmitting-receiving timestamp of time synchronized message, calculate the round overall delay between two equipment, it is exactly One Way Delay that round overall delay is removed 2, the time difference from equipment (Slave) to main equipment (Master) can be obtained accordingly, from equipment according to this time difference adjustment local zone time, just can realize the time synchronized between itself and main equipment.But when realizing time synchronized requirement by 1588v2 agreement; two-way time delay between master-slave equipment must be strictly identical; therefore need when engineering is laid to make the up link between master-slave equipment identical with the linkage length of down link as far as possible; but there will be error unavoidably when engineering construction; and there will be cut over or business in actual applications and the situation such as to switch; the linkage length in both direction usually can be caused different; and then cause the two-way time delay between master-slave equipment not identical, affect synchronization accuracy.In actual applications, because natural calamity, outside construction etc. make one of them disconnection of the two-way link between master-slave equipment, at this moment the action business of disconnecting link being switched to reserve link is called that business is switched, and described business is switched and the two-way link time delay between master-slave equipment may be made unequal; Be called cut over to the action of the circuit used or operate, described cut over also can affect the business that link carries, and the two-way link time delay between master-slave equipment may be made unequal.In prior art, if run into the unequal situation of two-way time delay between master-slave equipment, usually need to confirm two-way delay inequality by manually remeasuring, and arrange time delay adjustment value, this needs long time usually, affects the synchronization accuracy of communication service.
Summary of the invention
Embodiments of the invention provide a kind of chain-circuit time delay compensation method and device, and router can be made automatically to carry out delay adjusting, improve the synchronization accuracy of communication service.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, provides a kind of chain-circuit time delay compensation method, is applied to the first router, comprises:
Obtain the first link of described the first router and the second router, described first link is up link or the down link of described the first router and described the second router, described the second router and described the first router are positioned at same communication network, and there is correspondence, the clock source time synchronized of described the second router and described communication network;
According to the chain-circuit time delay table stored in described first link and described the first router, calculate the time delay of described first link, the time delay of the link of any two routers that are directly connected in the described communication network of described chain-circuit time delay table record;
According to the delay adjusting of described first link, the time of the first router, makes the time synchronized of the time of described the first router and described the second router.
Second aspect, provides a kind of the first router, comprising:
Acquiring unit, for obtaining the first link of described the first router and the second router, described first link is up link or the down link of described the first router and described the second router, described the second router and described the first router are positioned at same communication network, and there is correspondence, the clock source time synchronized of described the second router and described communication network;
Computing unit, for the chain-circuit time delay table stored in described first link that obtains according to described acquiring unit and described the first router, calculate the time delay of described first link, the time delay of the link of any two routers that are directly connected in the described communication network of described chain-circuit time delay table record;
Regulon, for the time of the first router described in the delay adjusting of described first link that obtains according to described computing unit, makes the time synchronized of the time of described the first router and described the second router.
The chain-circuit time delay compensation method that the embodiment of the present invention provides and device, when there is link open circuit in the up link of the first router or down link, first the first link re-established is obtained, then the time delay of the first link is obtained according to the first link and chain-circuit time delay table, then the time of the first router is automatically adjusted according to the time delay of the first link, compared to prior art, when occurring link open circuit, the first router can carry out delay adjusting automatically, improves the synchronization accuracy of communication service.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of chain-circuit time delay compensation method flow chart that Fig. 1 provides for the embodiment of the present invention;
The another kind of chain-circuit time delay compensation method flow chart that Fig. 2 provides for the embodiment of the present invention;
A kind of communication network schematic diagram that Fig. 3 provides for the embodiment of the present invention;
The schematic diagram of a kind of acquisition the first link that Fig. 4 provides for the embodiment of the present invention;
A kind of the first router structural representation that Fig. 5 provides for the embodiment of the present invention;
The another kind of the first router structural representation that Fig. 6 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, 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, is applied to the first router, as shown in Figure 1, comprising:
Step 101, obtain the first link of described the first router and the second router, described first link is up link or the down link of described the first router and described the second router, described the second router and described the first router are positioned at same communication network, and there is correspondence, the clock source time synchronized of described the second router and described communication network.
Concrete, when described up link open circuit, distance the first router and the nearest router of link circuit breaker part are called open circuit router, the process obtaining the first link is the notice message first receiving the transmission of open circuit router, and described notice message indicates in described up link the link open circuit that there are the routers that at least two are directly connected; According to described open circuit message, the new up link obtaining described the first router and the second router is as the first link of described the first router and the second router.
When described down link open circuit, the process obtaining the first link is the first signaling message first receiving the transmission of described the second router, and described first signaling message comprises the down link of described the first router and the second router; Using first link of described down link as described the first router and the second router.
Step 102, according to the chain-circuit time delay table stored in described first link and described the first router, calculate the time delay of described first link, the time delay of the link of any two routers that are directly connected in the described communication network of described chain-circuit time delay table record.
Concrete, in described the first router, first obtain the time delay set of described the first router, the time delay of the link of the router that all and described the first router of the time delay set record of described the first router is directly connected and described the first router.
Then in described communication network, obtain the time delay set of other routers in described communication network except described the first router.
According to the time delay set of described the first router and the time delay set of other routers described, set up described chain-circuit time delay table.
Need to illustrate, the links of described any two routers that are directly connected are the most short chain road without other routers between described two routers.
Step 103, according to the delay adjusting of described first link time of the first router, make the time synchronized of the time of described the first router and described the second router.
Example, when described first link is up link, the time delay of the described time delay of the first link and the down link of the first router is input in described the first router according in the time delay adjusting module of 1588 protocol configuration, this time delay adjusting module can obtain the delay inequality between the time delay of described first link and the time delay of described down link, and according to the time of described delay inequality adjustment the first router, the time synchronized of the time of described the first router and described the second router can be made; When described first link is down link, the time delay of the described time delay of the first link and the up link of the first router is input in described the first router according in the time delay adjusting module of 1588 protocol configuration, this time delay adjusting module can obtain the delay inequality between the time delay of described first link and the time delay of described up link, and according to the time of described delay inequality adjustment the first router, the time synchronized of the time of described the first router and described the second router can be made.
So, when there is link open circuit in the up link of the first router or down link, first the first link re-established is obtained, then the time delay of the first link is obtained according to the first link and chain-circuit time delay table, then the time of the first router is automatically adjusted according to the time delay of the first link, compared to prior art, when occurring link open circuit, the first router can carry out delay adjusting automatically, improves the synchronization accuracy of communication service.
Concrete, the described time delay set obtaining described the first router in described the first router comprises:
Read the time delay set of the first router that described the first router is preserved, described time delay set is manually be stored in described the first router when carrying out described communication network initialization; Or obtained the linkage length of router that all and described the first router is directly connected and described the first router by built in light time-domain reflectomer OTDR measurement, the router be directly connected by described all and described the first router and the linkage length of described the first router obtain the time delay set of the first router.
Further, the described time delay set obtaining other routers in described communication network except described the first router in described communication network comprises:
Receive the time delay set of other routers in the described communication network of third router transmission except described the first router, described third router is the router be directly connected with described the first router.In practical application, the first router can receive the time delay set of each router in the described communication network of third router transmission respectively, also can directly receive third router send first set, described first set by described communication network except the first router the time delay set of other routers form.
The chain-circuit time delay compensation method that the embodiment of the present invention provides, when there is link open circuit in the up link of the first router or down link, first the first link re-established is obtained, then the time delay of the first link is obtained according to the first link and chain-circuit time delay table, then the time of the first router is automatically adjusted according to the time delay of the first link, compared to prior art, when occurring link open circuit, the first router can carry out delay adjusting automatically, improves 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 Figure 2, be described for router-A and router B, router-A is the first router, router B is the second router, and as shown in Figure 3, first communication network at router-A place comprises multiple router, router-A is connected with router B with router E through router C, router D, and needs synchronous with the router B retention time.Described chain-circuit time delay compensation method comprises:
Step 201, router-A obtain the time delay set of router-A, perform step 202.
The time delay of the router that the time delay set record of described router-A is all to be directly connected with router-A and the link of router-A, as shown in Figure 3, all is router C and router F with the router that router-A is directly connected.
Concrete, when carrying out the first communication network and laying, workmen makes router C equal with the length of down link with the length of the up link of router-A as far as possible, and measure the length of the up link of laying between router C and router-A and the length of down link, then the length of the length of up link and down link is substituted into time delay formula respectively, described time delay formula is: t=sv, wherein t is time delay, s is the length of link, v is the propagation velocity of signal in described link, usual v=2 × 10 8ms -1, calculate the time delay t of the up link of router C and router-A 1with the time delay t of down link 2; The same time delay t being obtained the up link of router F and router-A by measurements and calculations 3with the time delay t of down link 4, then by described t 1, t 2, t 3and t 4be combined into the time delay set of router-A and preserve, so that router-A reads the time delay set obtaining described router-A.
In actual applications, router-A also may be provided with OTDR(Optical Time DomainReflectometer, optical time domain reflectometer), at this moment the length of up link and the length of down link of laying between router C and router-A or between router F and router-A can be measured by OTDR, and then obtain the time delay of up link of laying between router C and router-A or between router F and router-A and the time delay of down link, make the work of workmen be simplified like this, and improve 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 has been laid, the time delay set corresponding with it is all stored in all-router in first network, the time delay of the link between the router be directly connected with this router and this router is have recorded in the time delay set of a router, example, directly being connected with router-A is router C and router F, and the information in the time delay set of therefore router-A is the time delay t of the up link that router-A is directly connected with router C 1, the time delay t of down link 2, the time delay t of the up link that router-A is directly connected with router F 3, the time delay t of down link 4; That be directly connected with router C is router-A, router F and router D, and the information in the time delay set of therefore router C is the time delay t of the up link that router C is directly connected with router-A 1, the time delay t of down link 2, the time delay t of the up link that router C is directly connected with router D 5, the time delay t of down link 6, the time delay t of the up link that router C is directly connected with router F 17, the time delay t of down link 18; That be directly connected with router D is router C, router E, router G and router H, and the information in the time delay set of therefore router D is the time delay t of the up link that router D is directly connected with router C 5, the time delay t of down link 6, the time delay t of the up link that router D is directly connected with router E 7, the time delay t of down link 8, the time delay t of the up link that router D is directly connected with router G 19, the time delay t of down link 20, the time delay t of the up link that router D is directly connected with router H 23, the time delay t of down link 24; That be directly connected with router E is router D, router B, router G and router H, and the information in the time delay set of therefore router E is the time delay t of the up link that router E is directly connected with router D 7, the time delay t of down link 8, the time delay t of the up link that router E is directly connected with router B 9, the time delay t of down link 10, the time delay t of the up link that router E is directly connected with router G 21, the time delay t of down link 22, the time delay t of the up link that router E is directly connected with router H 15, the time delay t of down link 16; That be directly connected with router B is router E, and the information in the time delay set of therefore router B is the time delay t of the up link that router E is directly connected with router D 9, the time delay t of down link 10; That be directly connected with router F is router-A, router C and router G, and the information in the time delay set of therefore router F is the time delay t of the up link that router F is directly connected with router-A 3, the time delay t of down link 4, the time delay t of the up link that router F is directly connected with router C 17, the time delay t of down link 18, the time delay t of the up link that router F is directly connected with router G 11, the time delay t of down link 12; That be directly connected with router G is router D, router E, router F and router H, and the information in the time delay set of therefore router G is the time delay t of the up link that router G is directly connected with router D 19, the time delay t of down link 20, the time delay t of the up link that router G is directly connected with router E 21, the time delay t of down link 22, the time delay t of the up link that router G is directly connected with router F 11, the time delay t of down link 12, the time delay t of the up link that router G is directly connected with router H 13, the time delay t of down link 14; That be directly connected with router H is router D, router E and router G, and the information in the time delay set of therefore router H is the time delay t of the up link that router H is directly connected with router D 23, the time delay t of down link 24, the time delay t of the up link that router H is directly connected with router E 15, the time delay t of down link 16, the time delay t of the up link that router H is directly connected with router G 13, the time delay t of down link 14.
Further, the time delay set obtaining router E for router-A illustrates, when the first communication network initialization, the time delay set of router E can be sent to all routers be directly connected with router E by router E, namely router D is sent to, router G, router H and router B, after router D receives the time delay set of router E, the time delay set of described router E is sent to the router that other are directly connected with router D except router E, namely router C is sent to, router G and router H, router C receive router D send router E put into time delay set after, the time delay set of described router E is sent to the router that other are directly connected with router C except router D, namely router-A and router F is sent to, at this moment router-A just obtains the time delay set of router E, in this way, router-A also can get the time delay set of other routers except router-A in the first communication network, this message announcement being called to the mode of any one router in communication network, floods.In practical application, also can add the time delay set that a field carries router E in the OSPE-TE agreement of GMPLS, then make router-A obtain the time delay set of router E by the transmission of OSPE-TE agreement.
Step 203, router-A set up chain-circuit time delay table, perform step 204.
Concrete, after router-A gets the time delay set of other routers in the time delay set of described router-A and the first communication network except router-A, chain-circuit time delay table is set up according to the information in all time delay set got, the up link time delay in the first communication network between any two routers be directly connected and downlink delay is have recorded in this chain-circuit time delay table, example, the chain-circuit time delay table that router-A is set up is as shown in table 1.
Table 1 chain-circuit time delay table
The up link time delay that what table 1 recorded is in the first communication network between any two routers be directly connected and downlink delay, concrete, the time delay t of up link that is directly connected with router C of router-A as shown in Table 1 1, the time delay t of down link 2; The time delay t of the up link that router-A is directly connected with router F 3, the time delay t of down link 4; The time delay t of the up link that router C and router-A are directly connected 1, the time delay t of down link 2; The time delay t of the up link that router C is directly connected with router D 5, the time delay t of down link 6; The time delay t of the up link that router C is directly connected with router F 17, the time delay t of down link 18; The time delay t of the up link that router D is directly connected with router C 5, the time delay t of down link 6; The time delay t of the up link that router D is directly connected with router E 7, the time delay t of down link 8; The time delay t of the up link that router D is directly connected with router G 19, the time delay t of down link 20; The time delay t of the up link that router D is directly connected with router H 23, the time delay t of down link 24; The time delay t of the up link that router E is directly connected with router D 7, the time delay t of down link 8; The time delay t of the up link that router E is directly connected with router B 9, the time delay t of down link 10; The time delay t of the up link that router E is directly connected with router G 21, the time delay t of down link 22; The time delay t of the up link that router E is directly connected with router H 15, the time delay t of down link 16; The time delay t of the up link that router E is directly connected with router D 9, the time delay t of down link 10; The time delay t of the up link that router F and router-A are directly connected 3, the time delay t of down link 4; The time delay t of the up link that router F is directly connected with router C 17, the time delay t of down link 18; The time delay t of the up link that router F is directly connected with router G 11, the time delay t of down link 12; The time delay t of the up link that router G is directly connected with router D 19, the time delay t of down link 20; The time delay t of the up link that router G is directly connected with router E 21, the time delay t of down link 22; The time delay t of the up link that router G is directly connected with router F 11, the time delay t of down link 12; The time delay t of the up link that router G is directly connected with router H 13, the time delay t of down link 14; The time delay t of the up link that router H is directly connected with router D 23, the time delay t of down link 24; The time delay t of the up link that router H is directly connected with router E 15, the time delay t of down link 16; The time delay t of the up link that router H is directly connected with router G 13, the time delay t of down link 14.
Step 204, router-A obtain the first link, perform step 205.
In the first communication network, there is correspondence in router-A and router B, and need synchronous with the router B retention time, as depicted in fig. 4-a, during proper communication, the up link of router-A and router B is successively through the link of router C, router D, router E, and down link is successively through the link of router E, router D, router C, and described up link and down link are identified by dotted arrow in figure.Suppose because external force reason makes the up link open circuit of router C to router D, now router C sends notice message to router-A, the up link open circuit of instruction router C and router D, router-A obtains new up link after receiving described notice message, as shown in Fig. 4-b, router-A obtains one successively through router F, the new up link of router G and router E, described new up link is by successively through router F, the dotted arrow mark of router G and router E, the down link of router-A and router B is still successively through router E, the link of router D and router C, described new up link can be that router-A is through calculating, also the backup path in router-A can be stored in advance in, using described new up link as the first link.
In practical application, also the down link open circuit of router C and router D may be there is, now router D sends notice message to router B, the down link open circuit of instruction router C and router D, after router B receives described notice message, obtain new down link, this new down link can be that router B calculates, also can be stored in advance in the reserve link in router B, router B sends PACH signaling message to router-A while obtaining new down link, indicate the concrete path of the new down link obtained, router-A sends RESV signaling message to router B along new down link after receiving PACH signaling message, the new down link of instruction router-A connection route device B acquisition, using described new down link as the first link.
Step 205, router-A obtain the time delay of the first link, perform step 206.
When the up link open circuit of router C and router D, router-A gets new successively through first link of router F, router G, router E, in this first link, router-A is directly connected with router F, router F is directly connected with router G, router G is directly connected with router E, router E is directly connected with router B, known by the chain-circuit time delay table stored in router-A, and the up link time delay that router-A and router F are directly connected is t 3, the up link time delay that router F and router G are directly connected is t 11, the up link time delay that router G and router E are directly connected is t 21, the up link time delay that router E and router B are directly connected is t 9, the therefore time delay T=t of the first link 3+ t 11+ t 21+ t 9.
Step 206, router-A, according to the delay adjusting local zone time of the described time delay of the first link and the down link of router-A, make to form new time synchronized between router-A and router B.
Concrete, suppose that the downlink delay of router-A is Q, after obtaining the time delay T of the first link, described T and described Q can be input to router-A according in the time delay adjusting module of 1588 protocol configuration, this time delay adjusting module can obtain the delay inequality P between T and Q, and according to the local zone time that P regulates router-A, makes to form new time synchronized between router-A and router B, concrete adjustment process belongs to prior art, and the embodiment of the present invention does not repeat this.
The chain-circuit time delay compensation method that the embodiment of the present invention provides, when there is link open circuit in the up link of router or down link, first the first link re-established is obtained, then the time delay of the first link is obtained according to the first link and chain-circuit time delay table, then the time of the first router is automatically adjusted according to the time delay of the first link, compared to prior art, when occurring link open circuit, the first router can carry out delay adjusting automatically, improves the synchronization accuracy of communication service.
The embodiment of the present invention provides a kind of router, is called the first router 50, as shown in Figure 5, comprising:
First acquiring unit 501, for obtaining the first link of described the first router 50 and the second router, described first link is up link or the down link of described the first router 50 and described the second router, described the second router and described the first router 50 are positioned at same communication network, and there is correspondence, the clock source time synchronized of described the second router and described communication network.
Computing unit 502, for according to described first acquiring unit 501 obtain described first link and described the first router 50 in store chain-circuit time delay table, calculate the time delay of described first link, the time delay of the link of any two routers that are directly connected in the described communication network of described chain-circuit time delay table record.
Regulon 503, for the time of the first router 50 described in the delay adjusting of described first link that obtains according to described computing unit 502, makes the time of described the first router 50 and the time synchronized of described the second router.
Example, described first acquiring unit 501 specifically for:
When described up link open circuit, receive the notice message that open circuit router sends, described notice message indicates in described up link the link open circuit that there is the router that at least two are directly connected; According to described open circuit message, obtain the new up link of described the first router 50 and the second router as first link of described the first router 50 with the second router.
Example, described first acquiring unit 501 specifically for:
When described down link open circuit, receive the first signaling message that described the second router sends, described first signaling message comprises the down link of described the first router 50 and the second router; Using described down link as first link of described the first router 50 with the second router.
Further, as shown in Figure 6, described the first router 50 also comprises second acquisition unit 504, for obtaining the time delay set of described the first router 50 in described the first router 50, the time delay of the link of the router that all and described the first router 50 of the time delay set record of described the first router 50 is directly connected and described the first router 50.
And in described communication network, obtain the time delay set of other routers in described communication network except described the first router 50.
Set up unit 505, for the time delay set of described the first router 50 that obtains according to described second acquisition unit 504 and the time delay set of other routers described, set up described chain-circuit time delay table.
Example, described second acquisition unit 504 for:
Read the time delay set of the first router 50 that described the first router 50 is preserved, described time delay set is manually be stored in described the first router 50 when carrying out described communication network initialization.
Or obtained the linkage length of router that all and described the first router 50 is directly connected and described the first router 50 by built in light time-domain reflectomer OTDR measurement, the router be directly connected by described all and described the first router 50 and the linkage length of described the first router 50 obtain 50 time delay set of the first router.
Further, described second acquisition unit 504 also for:
Receive the time delay set of other routers in the described communication network of third router transmission except described the first router 50, described third router is the router be directly connected with described the first router 50.In practical application, the second acquisition unit 504 of the first router 50 can receive the time delay set of each router in the described communication network of third router transmission respectively, also can directly receive third router send first set, described first set by described communication network except the first router 50 the time delay set of other routers form.
The first router that the embodiment of the present invention provides, when there is link open circuit in the up link of router or down link, first acquiring unit can obtain the first link re-established, then computing unit can obtain the time delay of the first link according to the first link and chain-circuit time delay table, then regulon can adjust the time of router automatically according to the time delay of the first link, compared to prior art, when there is link open circuit, the first router can carry out delay adjusting automatically, improves the synchronization accuracy of communication service.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the device of foregoing description and the specific works process of unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit comprises, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (10)

1. a chain-circuit time delay compensation method, is applied to the first router, it is characterized in that, comprising:
Obtain the first link of described the first router and the second router, described first link is up link or the down link of described the first router and described the second router, described the second router and described the first router are positioned at same communication network, and there is correspondence, the clock source time synchronized of described the second router and described communication network;
According to the chain-circuit time delay table stored in described first link and described the first router, calculate the time delay of described first link, the time delay of the link of any two routers that are directly connected in the described communication network of described chain-circuit time delay table record;
According to the delay adjusting of described first link, the time of the first router, makes the time synchronized of the time of described the first router and described the second router.
2. method according to claim 1, is characterized in that, the first link of the described the first router of described acquisition and the second router comprises:
When described up link open circuit, receive the notice message that open circuit router sends, described notice message indicates in described up link the link open circuit that there is the router that at least two are directly connected;
According to described open circuit message, the new up link obtaining described the first router and the second router is as the first link of described the first router and the second router.
3. method according to claim 1, is characterized in that, the first link of the described the first router of described acquisition and the second router comprises:
When described down link open circuit, receive the first signaling message that described the second router sends, described first signaling message comprises the down link of described the first router and the second router;
Using first link of described down link as described the first router and the second router.
4. the method according to claims 1 to 3 any one claim, is characterized in that, at the described chain-circuit time delay storage list according to storing in described link and described the first router, before calculating the overall delay of described link, described method also comprises:
The time delay set of described the first router is obtained, the time delay of the link of the router that all and described the first router of the time delay set record of described the first router is directly connected and described the first router in described the first router;
The time delay set of other routers in described communication network except described the first router is obtained in described communication network;
According to the time delay set of described the first router and the time delay set of other routers described, set up described chain-circuit time delay table.
5. method according to claim 4, is characterized in that,
The described time delay set obtaining described the first router in described the first router comprises:
Read the time delay set of the first router that described the first router is preserved, described time delay set is manually be stored in described the first router when carrying out described communication network initialization;
Or obtained the linkage length of router that all and described the first router is directly connected and described the first router by built in light time-domain reflectomer OTDR measurement, the router be directly connected by described all and described the first router and the linkage length of described the first router obtain the time delay set of the first router;
The described time delay set obtaining other routers in described communication network except described the first router in described communication network comprises:
Receive the time delay set of other routers in the described communication network of third router transmission except described the first router, described third router is the router be directly connected with described the first router.
6. a first router, is characterized in that, comprising:
First acquiring unit, for obtaining the first link of described the first router and the second router, described first link is up link or the down link of described the first router and described the second router, described the second router and described the first router are positioned at same communication network, and there is correspondence, the clock source time synchronized of described the second router and described communication network;
Computing unit, for the chain-circuit time delay table that stores in described first link that obtains according to described first acquiring unit and described the first router, calculate the time delay of described first link, the time delay of the link of any two routers that are directly connected in the described communication network of described chain-circuit time delay table record;
Regulon, for the time of the first router described in the delay adjusting of described first link that obtains according to described computing unit, makes the time synchronized of the time of described the first router and described the second router.
7. the first router according to claim 6, is characterized in that, described first acquiring unit specifically for:
When described up link open circuit, receive the notice message that open circuit router sends, described notice message indicates in described up link the link open circuit that there is the router that at least two are directly connected;
According to described open circuit message, the new up link obtaining described the first router and the second router is as the first link of described the first router and the second router.
8. the first router according to claim 6, is characterized in that, described first acquiring unit specifically for:
When described down link open circuit, receive the first signaling message that described the second router sends, described first signaling message comprises the down link of described the first router and the second router;
Using first link of described down link as described the first router and the second router.
9. the first router according to claim 6 to 8 any one claim, it is characterized in that, described the first router also comprises second acquisition unit, for obtaining the time delay set of described the first router in described the first router, the time delay of the link of the router that all and described the first router of the time delay set record of described the first router is directly connected and described the first router;
The time delay set of other routers in described communication network except described the first router is obtained in described communication network;
Set up unit, for the time delay set of described the first router that obtains according to described second acquisition unit and the time delay set of other routers described, set up described chain-circuit time delay table.
10. the first router according to claim 9, is characterized in that, described second acquisition unit is used for:
Read the time delay set of the first router that described the first router is preserved, described time delay set is manually be stored in described the first router when carrying out described communication network initialization;
Or obtained the linkage length of router that all and described the first router is directly connected and described the first router by built in light time-domain reflectomer OTDR measurement, the router be directly connected by described all and described the first router and the linkage length of described the first router obtain the time delay set of the first router;
Described second acquisition unit is also for receiving the time delay set of other routers except described the first router in described communication network that third router sends, and described third router is the router be directly connected with described the first router.
CN201310662576.XA 2013-12-09 2013-12-09 A kind of chain-circuit time delay compensation method and device Active CN104702533B (en)

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 true CN104702533A (en) 2015-06-10
CN104702533B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105392140A (en) * 2015-11-19 2016-03-09 上海斐讯数据通信技术有限公司 Key configuration automatic synchronization method among wireless routers

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105392140A (en) * 2015-11-19 2016-03-09 上海斐讯数据通信技术有限公司 Key configuration automatic synchronization method among wireless routers
CN105392140B (en) * 2015-11-19 2019-07-19 上海斐讯数据通信技术有限公司 A kind of autosynchronous method of key configuration between wireless router

Also Published As

Publication number Publication date
CN104702533B (en) 2018-01-26

Similar Documents

Publication Publication Date Title
US8817823B2 (en) Method and device for time synchronization
EP2597791B1 (en) Method and device for compensating for time path
RU2638645C2 (en) Method for identification of reference clock signals subjected to asymmetry changes to delay propagation path between nodes in communication network
CN104054284B (en) Pass through the data transfer of packet switching network
CN102082697A (en) Communication path asymmetric time delay measuring method, device and system
CN103299575B (en) Transmitting device and transmission method
EP3076572B1 (en) Clock synchronization method for multiple clock domains, line card, and ethernet device
CN103188066A (en) Reference clock signal processing method and device
CN108650050A (en) A kind of distributed network clock synchronous method
US11683150B2 (en) Methods, apparatus and computer-readable media for synchronization over an optical network
CN103546268A (en) Method and device for compensating system time
JP2019505127A (en) Synchronization method and apparatus
CN110784783A (en) Clock synchronization method and device based on optical fiber network
CN112751639B (en) Time synchronization method, communication equipment and system
CN102158298B (en) High-accuracy time frequency delivery method based on synchronous digital hierarchy (SDH) optical network
JP5913067B2 (en) Time synchronization system, transmission path delay time correction method, time synchronization device
CN102497245B (en) Clock synchronization method and clock management interface board
CN104702533A (en) Time delay compensation method and time delay compensation device for links
US9379833B2 (en) Transmitter, transmission method, and non-transitory computer-readable medium storing program
CN111262641A (en) PTN network architecture and clock synchronization method
Anghel et al. MicroTCA Compliant WiMAX BS Split Architecture with MIMO Capabilities Support Based on OBSAI RP3-01 Interfaces

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