CN105099646A - Synchronization link determination method and apparatus - Google Patents

Synchronization link determination method and apparatus Download PDF

Info

Publication number
CN105099646A
CN105099646A CN201410204584.4A CN201410204584A CN105099646A CN 105099646 A CN105099646 A CN 105099646A CN 201410204584 A CN201410204584 A CN 201410204584A CN 105099646 A CN105099646 A CN 105099646A
Authority
CN
China
Prior art keywords
network equipment
synchronization
port
link
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201410204584.4A
Other languages
Chinese (zh)
Inventor
张君辉
何力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201410204584.4A priority Critical patent/CN105099646A/en
Priority to PCT/CN2014/086324 priority patent/WO2015172473A1/en
Publication of CN105099646A publication Critical patent/CN105099646A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Abstract

The invention discloses a synchronization link determination method and an apparatus designed in order to reduce the synchronization failure probability. The method includes: obtaining synchronization capability information of network equipment or reporting the synchronization capability information of the network equipment; and determining a synchronization link according to the synchronization capability information.

Description

Synchronization link defining method and device
Technical field
The present invention relates to the simultaneous techniques of the communications field, particularly relate to a kind of synchronization link defining method and device.
Background technology
Existingly synchronously comprise Frequency Synchronization and time synchronized; Synchronizing network is divided into Frequency Synchronization net and time synchronization network.Frequency Synchronization adopts SyncE (synchronous ethernet) to extract clock information usually from physics code stream, and it is synchronous to adopt the selection of SSM (Synchronication status message) frequency source and path switching to realize.Time synchronized usually adopt PTP (accurate timing agreement) from message extraction time stamp information, calculate time deviation go forward side by side line time calibration.Time synchronized adopts PTP protocol select time source and carries out path switching.
Existing method, when carrying out synchronous, by sending the physical topological structure between the link discovery protocols message determination network equipment, is carried out synchronously according to described physical topological structure; But in actual process, some network equipment do not possess support that wheel synchronization type that is synchronous or that support is not adaptive and cause the network equipment before cannot carry out synchronous; Thus select a synchronization link and can successfully realize being synchronously prior art urgent problem between the network equipment.
Summary of the invention
In view of this, the present invention expects to provide a kind of synchronization link defining method and the device that can improve the synchronous success rate of equipment room.
For achieving the above object, technical scheme of the present invention is achieved in that
First aspect present invention provides a kind of synchronization link defining method, and described method comprises:
The synchronizing capacity information of acquisition/report network equipment;
According to described synchronizing capacity information determination synchronization link.
Preferably,
Described synchronizing capacity information comprises device synchronization ability information and port synchronizing capacity information;
Described device synchronization ability information comprises the indication information whether described network equipment supports wheel synchronization type that is synchronous and/or that support;
Whether the port that described port synchronizing capacity information comprises the described network equipment supports the indication information of wheel synchronization type that is synchronous and/or that support.
Preferably,
The synchronizing capacity information of the described acquisition network equipment comprises:
Receive the device synchronization ability information that the network equipment reports;
According to described device synchronization ability information, to network equipment transmission request information;
Receive the port synchronizing capacity information of the network equipment according to described request message feedback.
Preferably,
The device synchronization ability information that the described reception network equipment reports is:
Receive the switch-features message that the described network equipment is sent by openflow communication link;
From device synchronization ability information described in described switch-features message extraction.
Preferably,
Described method also comprises: the priority obtaining the clock grade quality of the network equipment and/or the port of the described network equipment;
Describedly to comprise according to described synchronizing capacity information determination synchronization link:
Calculate according to described synchronizing capacity information and can be used for synchronous alternative link;
According to described clock grade quality and/or described priority, from least two described alternative links, select one as described synchronization link.
Preferably,
Described according to described clock grade quality and/or described priority, from least two alternative links, select one as described synchronization link is:
According to institute's clock grade quality and/or described priority, from least two alternative links, select a minimum link of jumping figure as described synchronization link.
Second aspect present invention provides a kind of synchronization link determining device, and described device comprises:
Acquiring unit, for obtaining the synchronizing capacity information of the network equipment;
Determining unit, for according to described synchronizing capacity information determination synchronization link.
Further,
Described synchronizing capacity information comprises device synchronization ability information and port synchronizing capacity information;
Described device synchronization ability information comprises the indication information whether described network equipment supports wheel synchronization type that is synchronous and/or that support;
Whether the port that described port synchronizing capacity information comprises the described network equipment supports the indication information of wheel synchronization type that is synchronous and/or that support.
Further,
Described acquiring unit comprises:
Receiver module, for receiving the device synchronization ability information that the network equipment reports;
Sending module, for according to described device synchronization ability information, to network equipment transmission request information;
Described receiver module, also for receiving the port synchronizing capacity information of the network equipment according to described request message feedback.
Further,
Described receiver module, specifically for receiving the switch-features message that the described network equipment is sent by openflow communication link; And from device synchronization ability information described in described switch-features message extraction.
Further,
Described acquiring unit, also for the priority of the port of the clock grade quality and/or the described network equipment that obtain the network equipment;
Described determining unit, can be used for synchronous alternative link specifically for calculating according to described synchronizing capacity information; And according to described clock grade quality and/or described priority, from least two described alternative links, select one as described synchronization link.
Further,
Described determining unit, specifically for according to institute's clock grade quality and/or described priority, selects a minimum link of jumping figure as described synchronization link from least two alternative links.
Synchronization link defining method described in the embodiment of the present invention and device, change existing method selects a link to carry out the system of selection of the synchronous synchronization link of equipment room at random from physical link, the substitute is the synchronizing capacity information first obtaining each network equipment, synchronization link is determined according to synchronizing capacity information, the synchronization link selected can not cause the phenomenon of synchronization failure because equipment does not possess corresponding synchronizing capacity, thus improves synchronous success rate.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the synchronization link defining method described in the embodiment of the present invention one;
Fig. 2 is the schematic flow sheet being synchronized synchronizing capacity information obtaining the network equipment in the embodiment of the present invention one;
Fig. 3 is the structural representation of synchronization link determining device described in the embodiment of the present invention two;
Fig. 4 is one of synchronizing network structural representation described in example of the present invention;
Fig. 5 is the synchronizing network structural representation two described in example of the present invention.
Embodiment
Below in conjunction with Figure of description and specific embodiment, elaboration detailed is further done to technical scheme of the present invention.
Embodiment one:
As shown in Figure 1, the present embodiment provides a kind of synchronization link defining method, and described method comprises:
Step S110: the synchronizing capacity information obtaining the network equipment;
Step S120: according to described synchronizing capacity information determination synchronization link.
In described step S110, obtaining the synchronizing capacity information of the network equipment, can obtain by receiving network equipment reporting message.Whether described synchronizing capacity packets of information includes network equipment is supported Frequency Synchronization and/or is supported time synchronized; Concrete as whether supported synchronous ethernet SyncE, whether support point-to-point PTP, support the node type of which kind of PTP; Described node type can be boundary clock (BoundaryClock, BC), transmission clock (TransparentClock, TC) and ordinary clock (OrdinaryClock, OC) at least one of them.
In concrete implementation, synchronization link determining device as controller, by obtain the network equipment device identifying information and to should the synchronizing capacity information of the network equipment; Described device identifying information comprises the information such as device id or device network address.Concrete how obtain the information that network equipment identifying information can report by receiving the network equipment and obtain, also can be obtained by information such as the addresses (as information such as IP address or MAC Address) in the packet of extraction reporting information.
Described step S120 can comprise: the synchronizing capacity information obtained according to step S110, determines which network equipment can be used as synchronous intermediate equipment; Determine to select the adaptive network equipment to form synchronous path etc.
Specifically need to realize the Frequency Synchronization between network equipment A and network equipment B, if can not directly connect between network equipment A and network equipment B, then need intermediate equipment to carry out the synchronous of assisted network device A and network equipment B.Now require as the same support Frequency Synchronization of the network equipment of intermediate equipment.
In the present embodiment when determining synchronization link, first obtain the synchronizing capacity information of each network equipment; Determine synchronization link according to synchronizing capacity information, thus avoid the problem of the synchronization failure selecting a link to cause as synchronization link according to physical topology at random.
Further, described synchronizing capacity information comprises device synchronization ability information and port synchronizing capacity information;
Whether described device synchronization ability information is supported synchronous for characterizing the described network equipment and/or supports synchronous type;
Whether described port synchronizing capacity information supports wheel synchronization type that is synchronous and/or that support for the port characterizing the described network equipment.
In concrete implementation procedure, the described network equipment may comprise multiple port, is in the object reducing hardware cost, and not each port of the network equipment can be used as synchronous port; Therefore first obtain this network equipment and whether can be used as synchronously, which port that also will obtain this network equipment can be used for synchronously.In concrete implementation, described device synchronization ability information can report synchronization link determining device as controller with port synchronizing capacity information together with the network equipment; But also can report controller respectively, a kind of optimal way is below provided, specific as follows:
As shown in Figure 2, concrete described step S110 can comprise:
Step S111: receive the device synchronization ability information that the network equipment reports;
Step S112: according to described device synchronization ability information, to network equipment transmission request information;
Step S113: receive the port synchronizing capacity information of the network equipment according to described request message feedback.
The network equipment and synchronization link determining device are as before controller communicates, and first-selection establishes communication connection, connects as set up TCP or UDP, concrete as TCP/SSL connection.Upon establishment of a connection, in step S111, receive the device synchronization ability information that the network equipment reports.
Described step S112 specifically can be: according to described device synchronization ability information, selects the adaptive network equipment as synchronous synchronizer, and sends a request message to the network equipment of described adaptation.After receiving described request message, the network equipment can form feedback; Therefore also comprise the port synchronizing capacity information received according to request message feedback.
Concrete as, controller receives the device synchronization ability information of all-network equipment, according to current sync type or synchronisation requirement, sends the request message obtaining port synchronizing capacity information to all or part of network equipment.Concrete as now partial network devices support time synchronized, partial network devices supports Frequency Synchronization; Current network device A and network equipment B needs to carry out Frequency Synchronization, then controller is after the device synchronization ability information obtaining each network equipment, only to supporting that the network equipment of Frequency Synchronization sends a request message, to determine which port of the network equipment can be used as synchronous port.Which reduce the amount of information transmitted between network and controller, decrease controller and carry out screening the adaptive network equipment and the network equipment port of adaptation from the information of magnanimity; Thus simplify the determination of synchronization link.
In concrete implementation procedure, synchronization link determining device is as controller, the synchronizing capacity information that the network equipment is reported by various port can be received, concrete as Ox port etc., the synchronizing capacity information preferably reported based on openflow port in the present embodiment, then the concrete execution of described step S110 is as follows:
Described step S112 is: receive the switch-features message that the described network equipment is sent by openflow communication link; And from device synchronization ability information described in described switch-features message extraction.
Reporting switch-features message to obtain device synchronization ability information by receiving the network equipment by openflow communication link, the number of times of the information interaction of synchronization link determining device and the network equipment can be reduced, realize easier.In concrete implementation procedure, described port capabilities synchronizing information can be transmitted by openflow equally.
Further, described method also comprises: the priority obtaining the clock grade quality of the network equipment and/or the port of the described network equipment;
Describedly to comprise according to described synchronizing capacity information determination synchronization link:
Calculate according to described synchronizing capacity information and can be used for synchronous alternative link;
According to described clock grade quality and/or described priority, from least two described alternative links, select one as described synchronization link.
Obtaining the concrete methods of realizing of described clock grade quality and described priority in the present embodiment, also can be obtain from the network equipment reporting message received; If in concrete implementation procedure, if be provided with the network element of the synchronizing capacity information storing each network equipment in network, then also can inquire about from this network element and obtain.
Obtain the step of described clock grade quality and/or described priority, only need perform before determining synchronization link, and obtain between synchronizing capacity information and can there is no sequencing.
In concrete implementation, in order to reduce the number of times of information interaction, simplify synchronization link determination operation, described clock grade quality together can receive from the network equipment with described device synchronization ability information; Described priority together can receive from the network equipment with port capabilities synchronizing information.
In concrete implementation procedure, described clock quality grade characterizes the accuracy of the network equipment usually.The clock quality grade of the timing reference input that usual clock accuracy is the highest is 1 grade; The clock quality grade of other network equipments is the ranks such as 2 grades or 3 grades.In concrete implementation procedure, be generally the high level network equipment and carry out clock synchronous to the low-level network equipment; Be specifically that the network equipment of 2 grades or 1 grade is synchronous if clock quality grade is the network equipment of 3 grades to clock quality grade.
The priority of synchronization link and/or timing reference input that the priority of the port of the described network equipment is corresponding.Concrete can be used as synchronous port as network equipment C has three; Port one is connected with timing reference input 1; Port 2 is connected with clock reference 2.If now the priority of port one is higher than port 2, then the synchronization link corresponding to preferred port 1 and/or timing reference input.
In concrete implementation procedure, may occur being used for more than one of synchronous link, now can under the condition meeting clock quality grade and priority, it is also conceivable to link that in alternative link, jumping figure is minimum as synchronization link, to reduce the number of the synchronizer of synchronization message process, to alleviate the problem that the synchronization accuracy that causes because of synchronizer relay forwarding declines.
Comprehensively above-mentioned, present embodiments provide a kind of synchronization link defining method, before carrying out synchronously, first according to synchronizing capacity message determination synchronization link, and non-immediate is carried out synchronously according to physical topology result Stochastic choice one paths, the synchronization link adopting the method described in the present embodiment to determine carries out synchronously, effectively reducing the probability of synchronization failure.
Embodiment two:
As shown in Figure 3, the present embodiment provides a kind of synchronization link determining device, and described device comprises:
Acquiring unit 110, for obtaining the synchronizing capacity information of the network equipment;
Determining unit 120, for according to described synchronizing capacity information determination synchronization link.
The concrete structure of described acquiring unit 110 is different according to the difference of the method for acquisition synchronizing capacity information, if concrete described acquiring unit 110 obtains synchronizing capacity information by the reporting message receiving the network equipment, then described acquiring unit 110 comprises communication interface, and described communication interface can be wired or wireless communication interface.Wired communication interface comprises coaxial cable communication interface, twisted-pair communication interface and fiber optic data communication interface etc.; Described wireless communication interface can comprise the interface such as dual-mode antenna or dual-mode antenna array.If described acquiring unit 110 obtains described synchronizing capacity information by the network element of the synchronizing capacity information of each network equipment of a certain storage of inquiry, then described acquiring unit 110 can comprise processor.When described network element is when being arranged on the logical ne in described synchronization link determining device, namely when described synchronization link determining device inherently stores the synchronizing capacity information of the network equipment, then described processor can pass through internal communications interface, described internal communications interface, for accessing the storage medium of its inside, obtains described synchronizing capacity information.Being stored in the synchronizing capacity information in synchronization link determining device, may be the information of carrying out synchronization link true timing receipt last time, is stored determines for subsequent synchronisation link as historical information.When described network element is the device be separated with described synchronization link determining device, then what described acquiring unit 110 was same comprises the external communication interface be connected with described network element.The concrete formation of described external communication interface can see the communication interface be connected with the network equipment.
The concrete structure of described determining unit 120 can be processor; Described processor is also connected with storage medium by internal communications interface or bus; By running the executable instruction stored on said storage, select synchronization link.Described processor can be the electronic devices and components that digital signal processor, single-chip microcomputer, central processing unit, microprocessor and programmable logic array etc. have processing capacity.
Described synchronizing capacity information comprises device synchronization ability information and port synchronizing capacity information;
Whether described device synchronization ability information is supported synchronous for characterizing the described network equipment and/or supports synchronous type; Whether described port synchronizing capacity information is supported synchronous for the port characterizing the described network equipment and/or is supported synchronous type.
Described acquiring unit 110 comprises:
Receiver module, for receiving the device synchronization ability information that the network equipment reports;
Sending module, for according to described device synchronization ability information, to network equipment transmission request information;
Described receiver module, also for receiving the port synchronizing capacity information of the network equipment according to described request message feedback.
In concrete implementation procedure, described acquiring unit 110 also will comprise link block, for establishing a communications link with the network equipment.
Described link block specifically may correspond to physical port.The concrete physical structure of described receiver module can be receiving port; The concrete physical structure of described sending module can be transmit port.
Further, described link block, is connected with the TCP/SSL of the described network equipment specifically for setting up;
Described receiver module, specifically for receiving the switch-features message that the described network equipment is sent by openflow communication link; And from device synchronization ability information described in described switch-features message extraction.
Further, described acquiring unit 110, also for the priority of the port of the clock grade quality and/or the described network equipment that obtain the network equipment; Described determining unit 120, can be used for synchronous alternative link specifically for calculating according to described synchronizing capacity information; And according to described clock grade quality and/or described priority, from least two described alternative links, select one as described synchronization link.
In addition, described determining unit 120, specifically for according to institute's clock grade quality and/or described priority, selects a minimum link of jumping figure as described synchronization link from least two alternative links.
Synchronization link determining device described in comprehensive above-mentioned the present embodiment, specifically can be controller, as the controller in software defined network SDN, for the synchronization link defining method described in embodiment one provides hardware supports, can be used to any method corresponding to technical scheme in embodiment one that realizes, effectively can alleviate the probability of synchronization failure.
Several concrete example is provided below based on above-described embodiment:
Example one:
Step 1: controller and the network equipment are set up TCP/SSL and be connected; On-line apparatus reporting equipment synchronizing capacity information is to controller.Whether described device synchronization ability information comprises supports SyncE, whether supports PTP, supports which kind of PTP node type (BC/TC/OC) or whether support SyncE and PTP simultaneously;
In addition, while reporting described device synchronization ability information, the local clock Quality Grade of each network equipment can also synchronously be reported.
Step 2: controller sends a request message, described request message is the port synchronizing capacity information of each port of the acquisition request network equipment.Whether described port synchronizing capacity information comprises supports SyncE, whether supports PTP or whether support the information such as SyncE and PTP simultaneously.
In addition, while reporting described port capabilities synchronizing information, the network equipment also synchronously reports the priority of each port.
Step 3: controller, by sending link discovery protocols message or alternate manner (such as BGP-LSBorderGatewayProtocol-LinkState Border Gateway Protocol-Link State), obtains the physical topology information of Synchronization Network; Described physical topology information can comprise the annexation of the physical port of each equipment.In concrete implementation, described step 3 does not have certain sequencing with described step 1 and step 2.
Step 4: controller, based on the physical topology information of Synchronization Network, synchronizing capacity information, the clock quality grade QL of reference source, the clock quality grade QL of the network equipment and/or priority, calculates and can be used for synchronous alternative link.From alternative link, selecting a link as synchronization link, if the link selecting jumping figure minimum is as synchronization link.
Step 5: the synchronization link distribution configuration command that controller utilizes step 4 to draw, to the network equipment, sets up synchronization link, carries out synchronous.
Example two:
Controller and the network equipment is comprised at the network of Fig. 4; The described network equipment comprises primary reference, standby reference source, network equipment NB1, network equipment NB2, network equipment NB3, network equipment NB4, network equipment NB5, network equipment NB6, network equipment NE7, base station 1 and base station 2.
Provide a kind of synchronization link defining method below in conjunction with Fig. 4, described method comprises:
The first step: after controller and the network equipment power on, primary reference, standby reference source, network equipment NB1, network equipment NB2, network equipment NB3, network equipment NB4, network equipment NB5, network equipment NB6, network equipment NE7, base station 1 and base station 2 are all to controller report synchronizing capacity information.Wherein, described synchronizing capacity information comprises device synchronization ability information and port synchronizing capacity information.Described synchronizing capacity information specifically comprises: whether support SyncE, whether support PTP, support which kind of PTP node type (BC/TC/OC) and whether support SyncE and PTP simultaneously.In concrete implementation procedure, the local clock credit rating of the described network equipment also synchronous report network equipment.The clock quality grade QL of described primary reference equals 2 in the diagram; The clock quality grade QL=6 of standby reference source; The clock quality grade QL of network equipment NE1 to network equipment NE6 is equal to 11; The clock quality grade QL of base station 1 and base station 2 is also equal to 11.The value taken of QL is lower under normal circumstances, then represent that corresponding clock is more accurate.
Controller is according to the device synchronization ability information reported, can determine in the network shown in Fig. 4, network equipment NE1 to network equipment NE6 is the network equipment supporting SyncE, and network equipment NE7 holds SyncE incessantly, therefore known network equipment NE7 cannot be used as the frequency synchronization apparatus of Ethernet.
Particularly, controller communicates with the network equipment preferably by openflow interface, obtains described device synchronization ability information from switch-features.
Second step: controller sends a request message respectively to network equipment NE1 to NE6; After the network equipment receives described request message, to the port synchronizing capacity information of each port of controller report.
In the diagram, the port that solid black round dot represents is the port supporting SyncE, and the port that soft dot represents is the port not supporting SyncE.
The port synchronizing capacity information that controller reports according to the network equipment:
The port-for-port 11 of SyncE, port one 4 and port one 2 is supported in network equipment NE1;
The port-for-port 21 of SyncE, port 22 and port 23 is supported in network equipment NE2;
The port-for-port 31 of SyncE, port 32 and port 33 is supported in network equipment NE3;
The port-for-port 41 of SyncE, port 43 and port 45 is supported in network equipment NE4;
The port-for-port 51 of SyncE, port 52, port 53 and port 54 is supported in network equipment NE5;
The port-for-port 61 of SyncE, port 62 and port 63 is supported in network equipment NE6.
In concrete implementation, whether described port synchronizing capacity information also can comprise supports 1pps+tod, whether supports the information such as 2MHz or 2Mbits.
Controller is known according to the port synchronizing capacity information reported is that it is synchronous to be used for realizing between equipment by port one 3, port 42 and port 44; In addition, the port 71 of network equipment NE7 and port 72, because network equipment NE7 does not inherently support SyncE, therefore its port does not also just support SyncE certainly.
3rd step: in the diagram, the physical link between the network equipment that solid straight line represents, the annexation between the network equipment, between network equipment port is as realized shown in straight line in figure.In concrete implementation procedure, described controller can by sending the physical couplings that link discovery protocols message LLDP comes between Sampling network equipment.
4th step: controller, according to the clock grade quality of device synchronization ability information and port synchronizing capacity information and/or the network equipment and/or priority, to select for synchronization link from described physical connection.In the diagram, the link that described dotted arrow is corresponding is described synchronization link; The link that wherein said dotted line is corresponding is destruction link.Described destruction link is used for preventing from forming annular synchronization link; If define annular synchronization link may cause synchronous concussion.The arrow points defence line of described dotted arrow also represents the direction of transfer of reference clock in the diagram.As in Fig. 4, controller is when calculating synchronization link, mainly can not as synchronization node or the network equipment of synchronous port and the port of the network equipment by get rid of in physical link, concrete if do not supported the network equipment NE7 of SyncE, then can not as synchronization node; In addition, such as, do not support the port one 3 of SyncE, can not as the forwarding port of synchronizing information.
5th step: the synchronization link that controller is confirmed by the 4th step, to the locking of network equipment sending reference source and timing information output command, sets up synchronous path; It is synchronous that described synchronous path is used between the network equipment.After controller calculates synchronization link, by along the direction pointed by dotted arrow shown in Fig. 4, send lockout message from reference source to network equipment hop-by-hop.The network equipment receives lockout message and reference source locks and after timing information output command, by input end of clock mouth corresponding for locking, and derive clock information to downstream output terminal of clock mouth.As Fig. 4, the locking of controller sending reference source and timing information output command, to NE3, require latched port 31, and derive clock information to port 32 and port 33.
According to Fig. 4, base station 1 with carry out synchronous alternative path between reference source and have many, when the clock correction specifically carrying out base station 1 is to realize with reference source synchronous, the clock quality grade of each reference source can be considered, the clock quality grade QL=4 of the clock quality grade QL=2 of primary reference comparatively for reference source is high in the diagram, thus the synchronization link be preferably connected with primary reference; As the synchronization link by way of port one 1, port 31, port 51 and port 54 can be selected.
Example three:
Controller and the network equipment is comprised at the network of Fig. 5; The described network equipment comprise primary reference GM1, standby reference source GM2, network equipment BC1, network equipment BC2, network equipment BC3, network equipment BC4, network equipment TC5, network equipment TC6, non-588 equipment, from equipment slave1 with from equipment slave2.
Provide a kind of synchronization link defining method below in conjunction with Fig. 5, described method comprises:
The first step: after controller and the network equipment power on, all network equipments are all to controller report synchronizing capacity information.Wherein, primary reference GM1, standby reference source GM2, network equipment BC1, network equipment BC2, network equipment BC3, network equipment BC4, network equipment TC5, network equipment TC6, all support PTP from equipment slave1 with from equipment slave2; And the PTP type that the network equipment BC1, BC2, BC3 and BC4 support is BC; The PTP type that network equipment TC5 and network equipment TC6 supports is TC.Primary reference GM1, standby reference source GM2, be OC from equipment slave1 with from the PTP type that equipment slave2 supports.Non-588 equipment do not support PTP.
Wherein, PTP type is can be used as forwarding the port of synchronization message in the network equipment of BC to terminate PTP message, analyzes and calculates the timestamp information in PTP message, computing time deviation, the update the system time; And be that the port of the network equipment of TC will be revised the timestamp of PTP message inside to PTP type, but the PTP message that do not terminate.
Second step: control appliance is to supporting that the network equipment of PTP sends a request message; Specifically to primary reference GM1, standby reference source GM2, network equipment BC1, network equipment BC2, network equipment BC3, network equipment BC4, network equipment TC5, network equipment TC6, from equipment slave1 with from equipment slave2, send a request message.Primary reference GM1, standby reference source GM2, network equipment BC1, network equipment BC2, network equipment BC3, network equipment BC4, network equipment TC5, network equipment TC6, from equipment slave1 with from equipment slave2, response described request message, to controller feedback terminal synchronizing capacity information.
The port synchronizing capacity information that controller reports according to the network equipment:
Support in network equipment BC1 that the port of PTP is port11, port14 and port12;
Support in network equipment BC2 that the port of PTP is port21, port22 and port23;
Support in network equipment BC3 that the port of PTP is port31, port32 and port33;
Support in network equipment BC4 that the port of PTP is port41, port43 and port45;
Support in network equipment TC1 that the port of PTP is port51, port52, port53 and port54;
Support in network equipment TC2 that the port of PTP is port61, port62 and port63.
Controller is known according to the port synchronizing capacity information reported is that it is synchronous to realize between equipment by port13, port42 and port44; In addition, port port71 and port72 of non-588 equipment, because non-588 equipment inherently do not support PTP, therefore its port does not also just support PTP certainly.
3rd step: in Figure 5, the physical link between the network equipment that solid straight line represents, the annexation between the network equipment, between network equipment port as shown in FIG..In concrete implementation procedure, described controller can by sending the physical couplings that link discovery protocols message LLDP comes between Sampling network equipment.
4th step: controller, according to the clock grade quality of device synchronization ability information and port synchronizing capacity information and/or the network equipment and/or priority, to select for synchronization link from described physical connection.In Figure 5, the link that described dotted arrow is corresponding is described synchronization link; The link that wherein said dotted line is corresponding is destruction link.Described destruction link is used for preventing from forming annular synchronization link; If define annular synchronization link may cause synchronous concussion.The arrow points defence line of described dotted arrow also represents the direction of transfer of reference clock in Figure 5.As in Fig. 5, controller, mainly can not as synchronization node or the network equipment of synchronous port and the port of the network equipment by get rid of in physical link when calculating synchronization link, concrete if do not supported non-588 equipment of PTP, then can not as synchronization node; In addition, such as, do not support the port port13 of PTP, can not as the forwarding port of synchronizing information.
5th step: the synchronization link that controller is confirmed by the 4th step, to the locking of network equipment sending reference source and timing information output command, sets up synchronous path; It is synchronous that described synchronous path is used between the network equipment., after controller calculates synchronization link, send lockout message by reference source to network equipment hop-by-hop along the direction as described in Figure 5 pointed by dotted arrow.The network equipment receives lockout message and reference source locks and after timing information output command, by input end of clock mouth corresponding for locking, and derive clock information to downstream output terminal of clock mouth.As Fig. 5, the port port11 of network equipment BC1 will receive PTP message from GM1, extraction time stamp information, computing time deviation, and update the system time; Port port12 and port port14 will send PTP message to downstream, output time information simultaneously.The PTP message that network equipment TC1 receives from network B C3, elapsed time stamp will pass through from equipment Slave1 after revising.
Comprehensively above-mentioned, embodiments provide a kind of synchronization link defining method and device, synchronization link was determined, the phenomenon of the random synchronization failure selecting a link to cause as synchronization link from physical connection link that can effectively avoid before carrying out synchronously.
In several embodiments that the application provides, should be understood that disclosed equipment and method can realize by another way.Apparatus embodiments 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, and as: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can be ignored, or do not perform.In addition, the coupling each other of shown or discussed each part or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned 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, also can be distributed in multiple network element; Part 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 various embodiments of the present invention can all be integrated in a processing module, also can be each unit individually as a unit, 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.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: movable storage device, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
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 (12)

1. a synchronization link defining method, is characterized in that, described method comprises:
The synchronizing capacity information of acquisition/report network equipment;
According to described synchronizing capacity information determination synchronization link.
2. method according to claim 1, is characterized in that,
Described synchronizing capacity information comprises device synchronization ability information and port synchronizing capacity information;
Described device synchronization ability information comprises the indication information whether described network equipment supports wheel synchronization type that is synchronous and/or that support;
Whether the port that described port synchronizing capacity information comprises the described network equipment supports the indication information of wheel synchronization type that is synchronous and/or that support.
3. method according to claim 2, is characterized in that,
The synchronizing capacity information of the described acquisition network equipment comprises:
Receive the device synchronization ability information that the network equipment reports;
According to described device synchronization ability information, to network equipment transmission request information;
Receive the port synchronizing capacity information of the network equipment according to described request message feedback.
4. method according to claim 3, is characterized in that,
The device synchronization ability information that the described reception network equipment reports is:
Receive the switch-features message that the described network equipment is sent by openflow communication link;
From device synchronization ability information described in described switch-features message extraction.
5. the method according to any one of Claims 1-4, is characterized in that,
Described method also comprises: the priority obtaining the clock grade quality of the network equipment and/or the port of the described network equipment;
Describedly to comprise according to described synchronizing capacity information determination synchronization link:
Calculate according to described synchronizing capacity information and can be used for synchronous alternative link;
According to described clock grade quality and/or described priority, from least two described alternative links, select one as described synchronization link.
6. method according to claim 5, is characterized in that,
Described according to described clock grade quality and/or described priority, from least two alternative links, select one as described synchronization link is:
According to institute's clock grade quality and/or described priority, from least two alternative links, select a minimum link of jumping figure as described synchronization link.
7. a synchronization link determining device, is characterized in that, described device comprises:
Acquiring unit, for obtaining the synchronizing capacity information of the network equipment;
Determining unit, for according to described synchronizing capacity information determination synchronization link.
8. device according to claim 7, is characterized in that,
Described synchronizing capacity information comprises device synchronization ability information and port synchronizing capacity information;
Described device synchronization ability information comprises the indication information whether described network equipment supports wheel synchronization type that is synchronous and/or that support;
Whether the port that described port synchronizing capacity information comprises the described network equipment supports the indication information of wheel synchronization type that is synchronous and/or that support.
9. device according to claim 8, is characterized in that,
Described acquiring unit comprises:
Receiver module, for receiving the device synchronization ability information that the network equipment reports;
Sending module, for according to described device synchronization ability information, to network equipment transmission request information;
Described receiver module, also for receiving the port synchronizing capacity information of the network equipment according to described request message feedback.
10. device according to claim 9, is characterized in that,
Described receiver module, specifically for receiving the switch-features message that the described network equipment is sent by openflow communication link; And from device synchronization ability information described in described switch-features message extraction.
11. devices according to any one of claim 7 to 10, is characterized in that,
Described acquiring unit, also for the priority of the port of the clock grade quality and/or the described network equipment that obtain the network equipment;
Described determining unit, can be used for synchronous alternative link specifically for calculating according to described synchronizing capacity information; And according to described clock grade quality and/or described priority, from least two described alternative links, select one as described synchronization link.
12. devices according to claim 11, is characterized in that,
Described determining unit, specifically for according to institute's clock grade quality and/or described priority, selects a minimum link of jumping figure as described synchronization link from least two alternative links.
CN201410204584.4A 2014-05-14 2014-05-14 Synchronization link determination method and apparatus Withdrawn CN105099646A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410204584.4A CN105099646A (en) 2014-05-14 2014-05-14 Synchronization link determination method and apparatus
PCT/CN2014/086324 WO2015172473A1 (en) 2014-05-14 2014-09-11 Method and device for determining synchronization link and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410204584.4A CN105099646A (en) 2014-05-14 2014-05-14 Synchronization link determination method and apparatus

Publications (1)

Publication Number Publication Date
CN105099646A true CN105099646A (en) 2015-11-25

Family

ID=54479234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410204584.4A Withdrawn CN105099646A (en) 2014-05-14 2014-05-14 Synchronization link determination method and apparatus

Country Status (2)

Country Link
CN (1) CN105099646A (en)
WO (1) WO2015172473A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231249A (en) * 2016-03-25 2017-10-03 华为技术有限公司 Acquisition methods, controller and the forward node of the physical topology information of forward node
CN115102660A (en) * 2022-08-26 2022-09-23 深圳市英特瑞半导体科技有限公司 Method, device, equipment and storage medium for breaking damage based on synchronous Ethernet

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113541837B (en) * 2020-04-14 2022-12-13 华为技术有限公司 Parameter configuration method, equipment and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006135A (en) * 2010-12-03 2011-04-06 北京华环电子股份有限公司 Method and device for selecting synchronous clock source
CN102265549A (en) * 2008-09-22 2011-11-30 柯扎特·拉多·拉多莱斯库 Network timing synchronization systems
CN102594689A (en) * 2012-02-22 2012-07-18 中兴通讯股份有限公司 Distributed network control method and device
CN102843726A (en) * 2011-06-23 2012-12-26 中兴通讯股份有限公司 PTP LSP selection method and device
CN102957488A (en) * 2011-08-18 2013-03-06 中兴通讯股份有限公司 Method and device for selecting time synchronization sources
CN103634091A (en) * 2012-08-20 2014-03-12 中兴通讯股份有限公司 Time synchronization system and method with multiple synchronization domains, and cross-domain device
CN103647658A (en) * 2013-11-27 2014-03-19 华为技术有限公司 Management method of network equipment in software-defined network system and controller

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821026A (en) * 2011-06-08 2012-12-12 中兴通讯股份有限公司 Precision time protocol (PTP) message routing selection method and system
CN103096456B (en) * 2011-11-08 2015-09-09 华为技术有限公司 The method for building up of synchronization link and controller

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102265549A (en) * 2008-09-22 2011-11-30 柯扎特·拉多·拉多莱斯库 Network timing synchronization systems
CN102006135A (en) * 2010-12-03 2011-04-06 北京华环电子股份有限公司 Method and device for selecting synchronous clock source
CN102843726A (en) * 2011-06-23 2012-12-26 中兴通讯股份有限公司 PTP LSP selection method and device
CN102957488A (en) * 2011-08-18 2013-03-06 中兴通讯股份有限公司 Method and device for selecting time synchronization sources
CN102594689A (en) * 2012-02-22 2012-07-18 中兴通讯股份有限公司 Distributed network control method and device
CN103634091A (en) * 2012-08-20 2014-03-12 中兴通讯股份有限公司 Time synchronization system and method with multiple synchronization domains, and cross-domain device
CN103647658A (en) * 2013-11-27 2014-03-19 华为技术有限公司 Management method of network equipment in software-defined network system and controller

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231249A (en) * 2016-03-25 2017-10-03 华为技术有限公司 Acquisition methods, controller and the forward node of the physical topology information of forward node
CN107231249B (en) * 2016-03-25 2020-07-14 华为技术有限公司 Method for acquiring physical topology information of forwarding node, controller and forwarding node
CN115102660A (en) * 2022-08-26 2022-09-23 深圳市英特瑞半导体科技有限公司 Method, device, equipment and storage medium for breaking damage based on synchronous Ethernet
CN115102660B (en) * 2022-08-26 2022-11-04 深圳市英特瑞半导体科技有限公司 Method, device, equipment and storage medium for breaking based on synchronous Ethernet

Also Published As

Publication number Publication date
WO2015172473A1 (en) 2015-11-19

Similar Documents

Publication Publication Date Title
US10349335B2 (en) Methods and apparatus for use in selecting a connection path for low-latency, deterministic multi-hop D2D communications
US20200008150A1 (en) Sleeping and Wake-Up Methods and Apparatuses of Master-Slave Network, and Power Saving System of Master-Slave Network
US20170034760A1 (en) Method and apparatus for reducing the length of a packet storm in a wireless mesh network
CN103916950A (en) Time synchronization method and system
WO2015170201A1 (en) A method for robust ptp synchronization with default 1588v2 profile
JP2012209791A (en) Network node, time synchronization method, and network system
CN113098674B (en) Time synchronization method and system for data link terminal of high-speed carrier self-organizing network
EP2597821B1 (en) Method and system for auto-configuration, and network node
US20150113174A1 (en) Intelligent supervision for configuration of precision time protocol (ptp) entities
CN102664699A (en) Method and device for selecting clock sources of microwave network elements
CN110138490A (en) A kind of method and apparatus of clock competition
CN104092528A (en) Clock synchronization method and device
CN101192861A (en) Method, device and communication system for adjusting data rate in network
US20170142676A1 (en) Method and Apparatus for Determining Synchronisation References
CN105099646A (en) Synchronization link determination method and apparatus
CN101136738A (en) Network clock synchronous method, device and system
CN107959537B (en) State synchronization method and device
CN103067111A (en) Method and device of clock synchronization
CN105281932A (en) A clock time source selection method and device and network elements
JP2001358766A (en) System and method for packet communication and computer readable recording medium with program for making computer perform the method recorded thereon
EP3114883B1 (en) Method and apparatus for propagating and maintaining update information
CN114124616B (en) Clock synchronization optimization method based on EPA bus structure
CN104184602B (en) Incremental data synchronization method, Element management system and Network Management System
WO2015096432A1 (en) Method and system for controlling network topology structure
CN104022515A (en) A reactive compensation cabinet and a control method for reactive compensation units of the reactive compensation cabinet

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20151125

WW01 Invention patent application withdrawn after publication