WO2001028165A1 - Clock slave-synchronizing method and clock slave-synchronizing device - Google Patents

Clock slave-synchronizing method and clock slave-synchronizing device Download PDF

Info

Publication number
WO2001028165A1
WO2001028165A1 PCT/JP1999/005681 JP9905681W WO0128165A1 WO 2001028165 A1 WO2001028165 A1 WO 2001028165A1 JP 9905681 W JP9905681 W JP 9905681W WO 0128165 A1 WO0128165 A1 WO 0128165A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock
node
value
slave
route
Prior art date
Application number
PCT/JP1999/005681
Other languages
French (fr)
Japanese (ja)
Inventor
Tsuyoshi Matsumoto
Hidetoshi Amari
Original Assignee
Fujitsu Limited
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 Fujitsu Limited filed Critical Fujitsu Limited
Priority to PCT/JP1999/005681 priority Critical patent/WO2001028165A1/en
Publication of WO2001028165A1 publication Critical patent/WO2001028165A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0641Change of the master or reference, e.g. take-over or failure of the master
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/08Intermediate station arrangements, e.g. for branching, for tapping-off
    • H04J3/085Intermediate station arrangements, e.g. for branching, for tapping-off for ring networks, e.g. SDH/SONET rings, self-healing rings, meashed SDH/SONET networks

Definitions

  • the present invention relates to a clock-dependent synchronization method and a clock-dependent synchronization device.
  • the present invention relates to a clock-dependent synchronization method and a clock-dependent synchronization device, and more particularly to setting a node as a master node for all nodes in a network to prevent a failure of a current master node and a communication channel.
  • the present invention relates to a clock-dependent synchronization method and a clock-dependent synchronization device in which, when a failure or the like occurs, a node having the next highest value of 1S3 ⁇ 4g transitions to a mass node.
  • each node has ⁇ fejg (hereinafter, referred to as "clock ⁇ "), which is a ranking related to a clock, and has one of tii own clocks ⁇ in the knitting network.
  • clock ⁇ ⁇ fejg
  • the IUi nodes exchange data including the clock priority with each other to determine the master node.
  • the slave node is subordinately synchronized with the master node clock.
  • the network shown in the figure includes nodes 10 to 15, clock sources 50 to 52, and transmissions 30 to 43.
  • Nodes are classified into nodes 10, 12, and 14 having master clock sources 50, 51, and 52, respectively, and nodes having no clock source. As shown in the figure, each node is assigned a number corresponding to the clock rag.
  • Nodes 10, 12, and 14 with master clock sources 50, 51, and 52 are numbered lower than nodes without a clock source. Since the priority number is / J and the clock is higher, the nodes 10, 12 and 14 with the master clock source 50, 51 and 52 have the higher clock. Than a node without a source The clock is set high.
  • node 10 since the node with the lowest frequency is node 10, node 10 becomes the master node in the network of FIG. 1 and supplies the clock source to the other nodes 11 to 15. I have. In addition to the clock, the difficulty number # 1 of the master node 10 is also indicated as shown in the figure. Therefore, it is possible to know which node is the master node from the priority number of the master node given in ⁇ 5 ⁇ .
  • each node compares the obtained clock rate with its own clock rate, and if the node's clock ⁇ t degree is larger, it becomes a master node, and if it is lower, it becomes a slave node.
  • the node 14 having the highest clock priority other than the node 10 becomes the master node, and the system is maintained.
  • the master node always sends a sequence number (S) that changes every cycle to the communication path.
  • S sequence number
  • the experiment of the sequence number is checked.
  • the node that detects that the sequence number of a certain route has lost its flexibility stops the subordination of the clock to that route, becomes a temporary master node, and sends its node's ⁇ ; degree number. Then, the node is extracted again.
  • the absence of the master node can be detected from this sequence number. For example, if the master node bypasses the feit road and is disconnected from the it road, The ⁇ fe frequency number of the master node goes around the network. However, each slave node can detect the absence of a master node by detecting the continuity of sequence numbers.
  • a clock path may form an independent loop, and clock sources may exist separately in the network.
  • slips occur in the memory used to synchronize information frames, and the slippage occurs due to the difference between the speed at which the received information is written and the speed at which the received information is read out, and the lack or overlap occurs. I do. Therefore, the occurrence of a slip error or the like is prevented by checking the nature of the sequence number.
  • the network configuration may be operated in a complex mesh (lattice) state.
  • each node is artificially operated. This was achieved by providing a code patch (hard switch) function to the system and forcibly creating a clear clock path.
  • the absence of a master node and the elimination of! 3 loop formation can be performed by setting a clock number and a sequence number.
  • the clock path from the master node does not always form an appropriate tree shape. This is because the number of relay stages of the clock path cannot be determined by the sequence number.
  • the clock dependent synchronization method of the present invention comprises a plurality of nodes having clock degrees, and each node transmits and receives data including the clock degree, thereby providing the highest level of the self-clock ⁇ fc degree.
  • the self node becomes the master node that supplies the clock to the entire network, and the other 1JI self node sets the relay value to
  • a clock dependent synchronization method comprises the steps of: setting a relay value in the master node and transmitting the data; and, if the received relay value is larger than a predetermined value, receiving the received value. Synchronize with the feit path where the medium fiber value is large, further reduce the relay value of the received it's own data by a predetermined number, and fSt to the adjacent node, or the number of relays received at the slave node If the value is smaller than the predetermined value, a step of synchronizing the received data with a small relay value with the feited transmission line, further increasing the relay value of the received data by a predetermined number, and feiiing the adjacent node.
  • Each slave node determines the slave of the clock based on the clock level of the master node and the relay value set by the master node and increased or decreased by a predetermined value for each relay.
  • the clock dependent synchronizer of the present invention is composed of a plurality of nodes having a clock ⁇ , and ii each node transmits and receives data including the clock ⁇ , so that the clock is synchronized with the clock ⁇ .
  • the relay node, the master node becomes the master node that supplies the clock to the entire network, and the other it nodes, in the clock-dependent synchronizer in the network that becomes the slave nodes, are the relay values set by the jf master node.
  • ⁇ ⁇ ⁇ a processing unit for synchronizing with the clock of the channel, further reducing or increasing the il-self relay value of the received il-self data by a predetermined number, and transmitting the reduced value to an adjacent node.
  • the clock-dependent synchronizer includes: a receiving unit that receives data including a relay value set by a master node; and a receiver that receives a larger relay value when the received medium fiber value is larger than a predetermined value.
  • the relay value of the received data is reduced by a predetermined number and sent to the adjacent node, or if the received medium fiber value is smaller than the predetermined value,
  • FIG. 1 shows the conventional technology, and the clock in a steady state of the network.
  • FIG. FIG. 2 is a diagram illustrating a state of a clock path when a failure occurs in a master node according to the related art.
  • FIG. 3 is a diagram showing a state of a clock path when a road failure or the like occurs in the conventional technology.
  • FIG. 4 is a diagram illustrating a state of a clock and a clock at the time of recovery from a path failure or the like according to the related art.
  • FIG. 5 is a diagram illustrating the principle of the present invention.
  • FIG. 6 is a configuration diagram of the entire network in the embodiment of the present invention.
  • FIG. 7 is a diagram for explaining the clock dependent synchronizer of the present invention.
  • FIG. 8 is a diagram showing an example of a block configuration of a CPID (CPID: C1OckPriorityID) processing unit in the embodiment of the present invention.
  • FIG. 9 is a diagram showing a CP ID and a cell ZCP ID frame in the embodiment of the present invention.
  • FIG. 10 is a diagram showing an example of a block configuration of the clock interface unit in the embodiment of the present invention.
  • FIG. 11 is an operation flow of the CPID processing unit.
  • FIG. 12 is a diagram showing a flow of a clock path during normal operation in the embodiment of the present invention.
  • FIG. 13 is a diagram (part 1) illustrating a flow on a clock path at the time of failure in the embodiment of the present invention.
  • FIG. 14 is a diagram (part 2) illustrating a flow in the clock path at the time of failure in the example of the present invention.
  • FIG. 15 is a diagram (part 3) illustrating the flow on the clock path at the time of failure in the embodiment of the present invention.
  • FIG. 16 is a diagram (part 4) illustrating a flow in the clock path at the time of failure in the embodiment of the present invention.
  • the present invention provides a node relay stage number (here, NRID: Node Relay 10) which is a relay numerical value instead of the sequence number employed in the conventional technology.
  • NR node relay stage number
  • the node that has become the slave node compares the NR IDs received from multiple communication feit routes, and ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ Send it to the i3 ⁇ 4t route. Also, it does not depend on the fei road whose NRID value is "0".
  • the slave is suspended from the route, and the NR IDs received from other multiple communication ⁇ 5 ⁇ routes are compared. Synchronizes with the clock from the communication channel with the largest value.
  • the initial value of the NRID value is set in advance by the master node (10 in FIG. 5). This value may be set to a value greater than or equal to the value of the relay stage to the farthest node in the network. For example, in the case of the network shown in Fig. 5, when the communication fei path 30 and the communication feit path 39 fail, the relay stage value to the farthest node 13 is 4, so the master node 10 uses the NRID value as the NRID value. Set a value of 4 or more. As a result, each of the nodes 11 to 15 has a large NR ID value and can depend on the clock of the route. As a result, a clock path that minimizes the number of relay stages from the master node can be configured.
  • the slave synchronizes with the clock from the communication channel having the smallest value and the value from the channel, and increments the value of NR ID before sending it to the communication channel.
  • NP ID Node Priority ID. In the figure, it is described as NP.
  • the slave node compares the NP ID values and subordinates to the route with the higher degree. For example, in the node 14, since the NR ID value of the clock from the communication Si path 42 and the NR ID value of the clock from the communication path 40 are the same, it is not possible to determine which of the paths depends on the path. Therefore, look at the NP ID value. Communication ⁇ Since the NPID value from the communication path 42 is 102, and the NP ID value from the communication path 40 is 101, in this case, the node 14 Synchronizes with the clock from 0.
  • route clock should be synchronized only with the NR ID value and NP ID of its own.
  • the NR ID value and NP ID value are equal, so it is difficult to know which route to use.
  • degrees are provided for each route unit, the route ⁇ t degrees is high, and the route is dependent on the route.
  • each node compares the values between the links for the clock ⁇ t degree, NR ID, NP ID, and the path ⁇ degrees in order to determine which route clock should be synchronized.
  • a comparison unit is provided. This comparison unit compares the clock received from each communication channel with the NR ID value (the ratio ra i) and the clock priority, NR ID, NP ID, and the route type. Prepare a block (comparing unit 2) to switch the ratio according to the conditions.
  • the switching of the master node in the system is performed at a preset ⁇ t degree. Therefore, before starting operation, set the clock of the master clock for all nodes.
  • This ⁇ feS information (hereinafter referred to as r ⁇ fcJt information) is transmitted to the communication channel on the network, and at each node, the ⁇ feS information received from the communication feii channel is set to the local node. If the own node has a higher degree, it becomes a master node, and thereafter sends its own degree information. If information with a higher priority than the own node is input from the communication transmission line, the slave node becomes a slave node that synchronizes dependently on that route.
  • the slave node sends priority information from the route performing slave synchronization to each route, so that the degree information is distributed to all nodes in the network, and the relationship between the master and the slave in the network is established. Holds.
  • ⁇ information in the present invention ⁇ .
  • FIG. 6 shows a configuration example of the entire network.
  • an ATM network configured in a mesh shape is assumed, and in the figure, an ATM node including four ATM devices is connected by a transmission path.
  • the inside of the ATM device is basically composed of a cell switch section 65 and a CPID processing section 64.
  • the cell switch section 65 refers to a VPI (virtual path identifier) in the ATM cell header and sets a preset table. Switching based on information. There are seven ports, numbered 0-6.
  • FIG. 7 shows the clock-dependent synchronizer of the present invention in the ATM device of FIG. It is shown together with the interface section.
  • FIG. 7 shows a cell switching section 65, a switching table 111, line interface sections 110 and 112, a CP ID processing section 64, and a clock interface section 114.
  • the cell switching unit 65 and the CP ID processing unit 64 are the same as those shown in FIG.
  • the cell switching unit 65 switches the ATM cell with reference to the switching table 111.
  • the line interface units 110, 112 take an interface between the fe route and the cell switching 65.
  • the CP ID processing section 64 includes a CP ID cell insertion section 85, a CP ID cell extraction section 86, a CP ID decellularization section 74, a CP ID cell conversion section 83, and a CP ID arbitration section 87.
  • the CP ID processing unit 64 extracts a power ⁇ CP ID cell, which will be described in detail later, compares the CP ID, NR ID, NPID, and route, and determines whether the node is a master node or a slave node.
  • the clock interface unit 114 is composed of an oscillator 10 and a PLL reference clock selection unit 113 and a PLL circuit 103. Based on a source clock selection signal from the CP ID processing unit 64, an external ⁇ ⁇ ⁇ ⁇ ⁇ clock is used. And its own clock 101 and output? And applied to the circuit 103. The output of the PLL circuit 103 becomes the internal operation clock.
  • FIG. 8 is a block diagram showing the processing of CPID in each node. This figure corresponds to the CP ID processing unit 64 in FIG.
  • the CP ID cell identification unit 71 which identifies whether or not the cell from the cell switching unit is a CP ID cell, sets the expected VPI value of the received cell and sets the transmission VPI value. It has been done.
  • the CP ID cell identification unit 7 K VPI setting register 72 and the VPI comparison unit 73 correspond to the CP ID cell extraction unit 86 in FIG.
  • a de-serialization unit 74 for decelerating and assembling a CP ID frame is provided for each port; a CP ID ratio crane 75 for comparing and judging each bit of the CP ID frame, a NR ID comparison unit 76, NP ID ratio ⁇ 77, and route comparison unit 78 are provided. Further, a frame unit 81 that assembles the CP ID frame of the own node based on the values set in the own node CP ID setting register 79 and the NR ID setting register 80, the CP of the received CP ID frame and the CP of the own node CP ID frame. A master / slave determination unit 82 that compares ID bits and determines whether the own node becomes a master node or a slave node is provided.
  • the finalized CP ID frame is converted to a cell by the celling unit 83, the transmission VPI value is inserted by the VPI input unit 84, and then the CP ID cell identifier is inserted again for transmission to the cell switch unit A CP ID cell identifier insertion unit 85 is provided.
  • the subordination is determined based on the CP ID comparison unit 75, the NR ID comparison unit 76, the NP ID comparison unit 77, and the route comparison unit 78.
  • the cell from the path is applied to the CP ID cell identification unit 71, and the register value of the VPI setting register 72 and the VPI value of the CP ID cell are compared by VP ⁇ 3.
  • VP ⁇ 3 As a result, in the case of a CP ID cell, it is decellularized by the decellularization unit 74 for each boat.
  • the decelerated CP ID frame is sent to the CP ID comparator 75, the NR ID comparator 76, the NP ID ratio crane 77, and the route comparator 78 for the CP ID, NR ID job, NP ID ⁇ t, A road-to-degree comparison is made.
  • the frame detector 81 sends a CP ID frame based on the values of the own node CP ID setting register 79 and the NR ID setting register 80.
  • the master / slave determination unit 82 is based on the CP ID frame from the frame sensitivity unit 81 and the result of the CP ID ratio 3 ⁇ 43 ⁇ 475, NR ID comparison unit 76, NP IDJtra77, and route comparison unit 78. Master / slave judgment is performed based on, and a source clock selection signal is output. Also, the output of the master Z slave determination unit 82 is converted into a cell in a cell unit 83, a VPI is inserted in a VPI insertion unit 84, and a CP ID identifier is inserted in a CP ID cell identification input unit 85. A CP ID cell is generated.
  • the CP ID is converted into an ATM cell and communicated through a path set in the network in advance.
  • the path form of the CP ID cell is formed between nodes.
  • the CP ID cell transmitted from a certain node is switched to the CP ID processing unit in the cell switch unit of the adjacent node, and after the CP ID processing unit performs processing such as a long-term determination, the adjacent node node is re-established. Sent to the server.
  • FIG. 9 shows the format of the CP ID cell and the CP ID frame.
  • the CPID cell is a signal feiied between each node.
  • the header part of the CP ID cell is composed of 5 bytes, and is composed of address information such as VPI and VCI.
  • a code for identifying the CP ID cell is added to the upper 3 bits of VC I, and this code identifies whether the cell is a CP ID cell.
  • the actual CP ID frame is embedded in the 48 bytes of the information field, and is composed of CP ID / NR ID / NP ID information, respectively.
  • the “P” in ⁇ is the parity bit, which is used to check the normality of the data.
  • a portion where the information field of the CP ID cell is extracted becomes a CP ID frame, and various priority determinations are performed by a CP ID determination unit.
  • FIG. 10 shows an example of a block configuration of the clock interface unit 114.
  • the master Z slave determination unit in FIG. 8 outputs a source clock selection signal.
  • This signal is used in FIG. 10 as a signal for determining which of the clock extracting unit 100 for extracting a clock from the 3 ⁇ 4 path and the clock source 101 should be selected.
  • the source clock selection signal is input to the source clock selection unit 102, and it is determined whether to select the clock from the feit path or the source of the own node. It is input as the source clock of the reference clock of the filter 103.
  • the output clock of the PLL unit 103 is transmitted to the fei path via the operation clock in the device and the clock insertion unit 104. In this way, the CP ID is ⁇ determined, which clock should be subordinate to which ⁇ path, and a clock path is sequentially formed.
  • the switchback mode the node repeater number (NR ID) and the opposite station clock ⁇ degree number (NP ID) are used in addition to the clock ⁇ fc degree information, so that the clock path
  • the clock path can be looked at and optimized so that the number of relay stages is always minimized.
  • switching back to the previous clock path will occur.
  • non-revertive mode is a mode in which the currently configured clock path is always maintained. If the fault occurs on the iSi path through which the clock path passes, switching of the subordinate path occurs, but no failback occurs when the fault is recovered. Failure occurrence When Z recovery is repeated, it is not possible to identify what kind of clock has been finally constructed, and in some cases, the number of relay stages has increased, and the clock component has increased. It is feared that.
  • FIG. 11 is a flowchart showing the operation of the CP ID processing unit 64. The operation will be described with reference to FIG. 8 corresponding to the steps.
  • the CP ID defines a value up to 1 255, with 1 being the highest priority. If it is 0, the degree is the smallest.
  • Each node receives the CP ID frame from the decelerator 74 (S101).
  • the CP ID of the CP ID frame received from the feii path is compared with the CP ID of its own node (S103 S104), and the highest priority value is assigned to the cell unit 83 VPI insertion unit 84 CP ID cell identifier Transmitted to each transmission path via the insertion unit 85 (S117) o
  • the own node becomes the master node and sends the own node's CP ID to each iSt path ( S 105 S 109).
  • the NR ID is a number indicating the number of relayed CP ID frames to the node. This is a lock relay stage number signal.
  • the master node sends out the NR ID value set in its own node to each i3 ⁇ 4t route (S106, S110).
  • the slave node decrements the NRD value received from the dependent ⁇ ! Route by "1" and sends it to each route (S108, S113).
  • NP ID indicates the CP ID of the opposing node as described above.
  • Each CP ID processing unit compares in the following order.
  • the master / slave determination unit 82 shown in FIG. 8 compares it with its own node's ⁇ t degree number, and if its own node's ⁇ t degree is higher, it performs clock master operation. Switch, if the CP ID value from one route is high, subordinate to that route
  • NR 1 D is decremented each time CP ID passes through the node, and a node receiving “0” does not depend on the corresponding route. Since the initial value of NR ID is determined in advance at the time of transmission, the higher the value, the smaller the number of times the node has passed. Therefore, the highest value is adopted and it depends on the route.
  • NR ID comparison is not performed, and only reception monitoring of "0" of the dependent route is performed (S114). However, when determining the route, the NR ID values are compared as in the switchback mode (S I 12).
  • the switchback mode if the CP ID and NR ID are equal, the NP ID value indicating the priority number of the opposing node is compared (S107), and the lowest value is adopted. I do.
  • the values of CPID and NR ID will be the same.Therefore, one route is determined by notifying the ⁇ fc degree number that is uniquely determined in the network between the opposite nodes. To determine.
  • NP ID values are not compared and this area is ignored.
  • the NR ID values are compared in the same manner as in the mode with switching back (S112).
  • nodes 120 to 128, and external clocks 130 and 131 are surrounded by nodes 120 and 128.
  • the number in parentheses is the clock ⁇ number.
  • the shaded node is the master node, and the route indicated by: ⁇ is the clock path (each node is subordinate to the route marked).
  • Information flowing through each communication transmission line is shown in the figure, and the initial value of NR ID is set to "5".
  • Figure 12 shows the flow of the clock path during “normal operation” when the fault occurs between node 120 and node 121 (“feit failure occurs (1) J).
  • FIG. 12 shows the flow of the clock path during “normal operation” when the fault occurs between node 120 and node 121 (“feit failure occurs (1) J).
  • FIG. 13 illustrates how the clock path is switched in the case of “fe3 ⁇ 4 fault occurrence (2)” in which a fault has occurred between the nodes 120 and 123.
  • FIG. 14 illustrates the switching of the clock path when the master node transitions from the node 120 to the node 128 due to the failure of the external clock source 130.
  • the power number automatically changes (001 ⁇ 101).
  • Figures 15 and 14 assume a duplicated fei road in a mesh network. The priority number of the route is added to each route.
  • Figure 15 shows “The flow of the clock path during normal operation j is shown.
  • the CP ID, NR ID and NP ID are the same between the node 1 and node 2 0, but the dependent synchronization destination is determined by the route number.
  • Figure 16 shows the flow of the clock path in the event of a failure between nodes 120 and 121.
  • the clock path is switched to a clock path that forms an appropriate grid and minimizes the number of relay stages even if a failure in the communication channel occurs. be able to.
  • a clock path can be constructed even in a complicated network configuration such as a mesh network.
  • the number of relay stages in the clock path can be reduced, and an increase in clock component can be prevented.
  • the code patch function by an artificial operation which has been a problem in the technique of (1), is inevitably eliminated according to the present invention, and contributes to the improvement of network quality.

Abstract

A clock slave-synchronizing method and clock slave-synchronizing device for placing a node having the second highest priority as the master node if the current master node fails or the communication line fails by setting the clock priority which determines the order in which all the nodes in a network are placed as the master node, wherein each slave node determines where the clock is dependent based on the clock priority of the master node, the relay value varying with each relay set by the master node by a predetermined value, the clock priority of an adjacent node in the transmission line on which the slave node is dependent, and the route priority concerning the route at the node.

Description

明驢  Assassin
クロック従属同期方法及びクロック従属同期装置 技術分野  TECHNICAL FIELD The present invention relates to a clock-dependent synchronization method and a clock-dependent synchronization device.
本発明は、 クロック従属同期方法及びクロック従属同期装置に関し、 特に、 ネットワーク内の全ノードに対してマス夕ノードになる^ asを設定しておき、 現在のマス夕ノードの障害や、 通信^路障害等が発生した場合に、 次に 1S ¾g の高いノ一ドがマス夕ノ一ドに遷移するクロック従属同期方法及びクロック従属 同期装置に関する。 背景技術  The present invention relates to a clock-dependent synchronization method and a clock-dependent synchronization device, and more particularly to setting a node as a master node for all nodes in a network to prevent a failure of a current master node and a communication channel. The present invention relates to a clock-dependent synchronization method and a clock-dependent synchronization device in which, when a failure or the like occurs, a node having the next highest value of 1S¾g transitions to a mass node. Background art
複数のノードから構成されるネットワークにおいて、 それぞれのノードは、 ク ロックに係る順位である^ fejg (以下、 「クロック^^」 という。 ) を有し、 編己ネットワーク内て tii己クロック^ の一番高いノードが、 ネットワーク全 体にクロックを供給するマス夕ノードとなり、 他のノードはスレーブノードとな るクロック従属同期方法が、 ^から知られている。  In a network composed of a plurality of nodes, each node has ^ fejg (hereinafter, referred to as "clock ^^"), which is a ranking related to a clock, and has one of tii own clocks ^ in the knitting network. The clock-dependent synchronization method in which the highest node becomes the master node that supplies the clock to the entire network and the other nodes become slave nodes is known from ^.
IUi己各ノードは、 マス夕ノードを決定するために、 互いに、 クロック優先度を 含むデータの授受を行う。 また、 スレーブノードは、 マスタノードのクロックに 従属同期する。  The IUi nodes exchange data including the clock priority with each other to determine the master node. In addition, the slave node is subordinately synchronized with the master node clock.
従来のクロック従属同期: ^につレヽて、 図 1及び図 2を用いて説明する。  Conventional clock-dependent synchronization: will be described with reference to FIGS. 1 and 2.
図のネットワークは、 ノード 1 0〜ノード 1 5、 クロック源 5 0〜5 2及び伝 ¾¾ 3 0〜4 3で構成されている。  The network shown in the figure includes nodes 10 to 15, clock sources 50 to 52, and transmissions 30 to 43.
ノードは、 マス夕クロック源 5 0、 5 1及び 5 2をそれぞれ持つノード 1 0、 1 2及び 1 4と、 クロック源を持たないノードに区別される。 各ノードには、 図 に示したように、 クロック ragに対応する 度番号が付されている。  Nodes are classified into nodes 10, 12, and 14 having master clock sources 50, 51, and 52, respectively, and nodes having no clock source. As shown in the figure, each node is assigned a number corresponding to the clock rag.
番号は、 マスタクロック源 5 0、 5 1及び 5 2を持つノード 1 0、 1 2及び 1 4 の方が、 クロック源を持たないノードより小さな番号が付与されている。 優先度 番号が/ Jヽさレ、方がクロック 度が高レ、ので、 マス夕クロック源 5 0、 5 1及び 5 2を持つノ一ド 1 0、 1 2及び 1 4の方が、 クロック源を持たないノードより、 クロック^ 度は高く設定される。 Nodes 10, 12, and 14 with master clock sources 50, 51, and 52 are numbered lower than nodes without a clock source. Since the priority number is / J and the clock is higher, the nodes 10, 12 and 14 with the master clock source 50, 51 and 52 have the higher clock. Than a node without a source The clock is set high.
また、 マスタクロック源 5 0、 5 1及び 5 2を持つノード 1 0、 1 2及び 1 4 間でも、 クロック^ 度に違いがあり、 クロック源を持たないノード間でも、 ク ロック^度に違いがある。  Also, there is a difference in clocks between nodes 10, 12, and 14 having master clock sources 50, 51, and 52, and a difference in clocks between nodes without a clock source. There is.
図 1で、 度番号が—番 ヽさいノードはノード 1 0であるので、 ノード 1 0 が図 1のネットワークにおけるマス夕ノードとなり、 他のノード 1 1〜1 5にク ロック源を供給している。 クロック以外に、 マス夕ノード 1 0の難度番号 # 1 も、 図に示すように ί されている。 従って、 ί5¾されるマスタノードの優先度 番号により、 どのノードが、 マスタノードであるかが分かる。  In FIG. 1, since the node with the lowest frequency is node 10, node 10 becomes the master node in the network of FIG. 1 and supplies the clock source to the other nodes 11 to 15. I have. In addition to the clock, the difficulty number # 1 of the master node 10 is also indicated as shown in the figure. Therefore, it is possible to know which node is the master node from the priority number of the master node given in {5}.
ところが、 図 2に示すように、 マスタノード 1 0 ( 度番号 # 1 ) が障害等 により、 クロックマス夕源として機能しなくなった場合に、 次にクロック優先度 の高い番号 (# 2 ) を持っているノード 5 0がマスタノードに遷移し、 その優先 度番号 # 2が通信 ί 路上を流れる。  However, as shown in Fig. 2, when the master node 10 (degree number # 1) stops functioning as a clock source due to a failure or the like, it has the next highest clock priority number (# 2). Node 50 transitions to the master node, and its priority number # 2 flows on the communication path.
つまり、 例えば、 マスタノードの障害等が発生して、 通信 { 路から、 該マス タノ—ドの^:度番号が受信されなくなった場合、 その隣接ノード 1 1、 1 5は 仮のマス夕ノードとなり、 自ノードの ^度番号を送出する。 一方、 各ノードは、 されたクロック 度と自己のクロック 度との比較し、 自ノードのク 口ック^ t度の方が大きければマス夕ノードになり、 低ければスレーブノ一ドに That is, for example, if a failure of the master node or the like occurs and the ^: degree number of the master node is no longer received from the communication path, the adjacent nodes 11 and 15 become temporary master nodes. And sends out the number of the node. On the other hand, each node compares the obtained clock rate with its own clock rate, and if the node's clock ^ t degree is larger, it becomes a master node, and if it is lower, it becomes a slave node.
7ふる o 7 old o
最終的には、 図 2に示すように、 ノード 1 0以外で、 クロック優先度が一番大 きいノード 1 4がマスタノードとなり、 システムは維持される。  Eventually, as shown in FIG. 2, the node 14 having the highest clock priority other than the node 10 becomes the master node, and the system is maintained.
また、 マス夕ノードは、 図に示すように、 周期毎に変化するシーケンス番号 (S ) を通信 ί 路に常に送出している。 各スレーブノードにおいては、 該シー ケンス番号の驗性を 見する。 ある方路のシーケンス番号の繊性が失われた ことを検出したノ一ドは、 その方路へのクロック従属を中止して、 仮のマス夕 ノードとなり、 自ノードの^;度番号を送出することにより、 再度マス夕ノード の抽出を行う。  Also, as shown in the figure, the master node always sends a sequence number (S) that changes every cycle to the communication path. In each slave node, the experiment of the sequence number is checked. The node that detects that the sequence number of a certain route has lost its flexibility stops the subordination of the clock to that route, becomes a temporary master node, and sends its node's ^; degree number. Then, the node is extracted again.
このシーケンス番号によってマスタノードの不在を検出することができる。 例 えば、 仮に、 マスタノ一ドが feit路をバイパスし、 ί 路から切り離された場合、 マスタノードの^ fe度番号がネットワークを周回する。 しかし、 各スレーブノー ドでは、 シーケンス番号の連続性の有無を検出して、 マス夕ノードの不在を検出 することができる。 The absence of the master node can be detected from this sequence number. For example, if the master node bypasses the feit road and is disconnected from the it road, The ^ fe frequency number of the master node goes around the network. However, each slave node can detect the absence of a master node by detecting the continuity of sequence numbers.
また、 メッシュ網のような複雑なネットワークにおいて、 従属先の切替え等が 発生した場合に、 クロックパスが独立ループを形成し、 クロック源がネットワ一 ク内で別々に存在することがある。 このとき、 情報のフレーム同期をとるために 使用されるメモリにおレ、て、 受信情報を書き込もi度と読みだす速度の相違に基 づき、 スリップが発生し、 髒艮の欠落又は重複が発生する。 そこで、 シーケンス 番号の 性を見て、 スリップエラー等の発生を防ぐ。  In addition, in a complicated network such as a mesh network, when switching of dependents occurs, a clock path may form an independent loop, and clock sources may exist separately in the network. At this time, slips occur in the memory used to synchronize information frames, and the slippage occurs due to the difference between the speed at which the received information is written and the speed at which the received information is read out, and the lack or overlap occurs. I do. Therefore, the occurrence of a slip error or the like is prevented by checking the nature of the sequence number.
また、 メッシュ網においては、 ネットワーク形態が複雑なメッシュ (格子伏) 状態にて運用される場合もあり、 マスタノードからのクロックパスをッリ一状に 構成するために、 各ノードにて人為的にコードパッチ (ハード的なスィッチ) 機 能を持たせ、 強制的にッリ一伏のクロックパスを作り上げることにより対応して いた。  In a mesh network, the network configuration may be operated in a complex mesh (lattice) state. In order to configure the clock path from the master node in a uniform manner, each node is artificially operated. This was achieved by providing a code patch (hard switch) function to the system and forcibly creating a clear clock path.
図 3、 4を用いて、 本発明が解決しょうとする課題について説明する。  The problem to be solved by the present invention will be described with reference to FIGS.
( 1 ) 従来の技術によれば、 クロック^ 度番号とシーケンス番号のセットによ り、 マスタノ一ド不在の検出や !¾3Ϊループ形成の排除等を行うことができたが、 仮にメッシュ網のような複雑なネットワークにおいて、 クロック擾乱等によるマ スタノードの遷移若しくは従属 i¾ 路の切替え等が多発した場合に、 クロックノ、。 スという観点で考えると、 マスタノードからのクロックパスは必ずしも適切なッ リー状を構成しているとは限らない。 これは、 クロックパスの中継段数をシーケ ンス番号では できなレヽためである。  (1) According to the conventional technology, the absence of a master node and the elimination of! 3 loop formation can be performed by setting a clock number and a sequence number. In a complicated network, if the master node transitions or the switching of the dependent i-paths occur frequently due to clock disturbances, etc. From the viewpoint of resources, the clock path from the master node does not always form an appropriate tree shape. This is because the number of relay stages of the clock path cannot be determined by the sequence number.
図 3のように、 2箇所で通信 路 3 0、 3 9の障害が発生すると、 図中、 点 線で示したようなクロックパスが形成される。 通信 feii路の障害が復旧しても、 図 4のようにクロックパスには変化が起こらなレ、。 障害発生時に従属した通信伝 送路 (図では、 ノード 1 1とノード 1 4との通信 i^t路 4 3、 ノード 1 2とノ一 ド 1 3との通信伝送路 3 8 ) が、 P章害が復旧した場合でも正常に見えるためであ る。 図 1では、 ノード 1 3までの中継段数が " 2 " なのに比べて、 図 4では" 4 " になっている。 このように、 マスタノード遷移や従属 fei 路切替え等が多発した結果、 多段中 継されたクロックパス (極端な場合、 書きのクロックパス) では、 中継段数 が多くなるために、 クロックのジッ夕成分の増加による問題が発生する可能性が あ As shown in FIG. 3, when a failure occurs in the communication paths 30 and 39 at two locations, a clock path is formed as indicated by a dotted line in the figure. Even if the failure on the communication feii path is restored, the clock path does not change, as shown in Figure 4. The communication transmission path dependent on the occurrence of the failure (in the figure, the communication path 43 between the nodes 11 and 14 and the communication path 38 between the nodes 12 and 13) is represented by P This is because even if chapter damage is restored, it looks normal. In FIG. 1, the number of relay stages up to node 13 is "2", whereas in FIG. 4, it is "4". In this way, as a result of frequent occurrences of master node transitions and subordinate fei-path switching, the number of relay stages in a multistage relayed clock path (in extreme cases, a write clock path) increases, so the clock jitter component increases. May increase, causing problems
また、 中継段数が増加するとクロックの異常、 つまりマスタノードの遷移や シーケンスエラーを検出するまでの時間力く長くなる、 つまり、 システム全体で見 た場合の擾 S R束時間が長くなる。 しかし、 ネットワークの特性の要求仕様に よっては、 時間短縮が求められ、 この点が問題となる。  In addition, when the number of relay stages increases, the time required to detect a clock abnormality, that is, a transition of the master node or a sequence error, becomes longer. In other words, the disturbance SR bundle time in the entire system becomes longer. However, depending on the required specifications of network characteristics, time reduction is required, and this is a problem.
( 2 ) クロックパスを人為的に形成するためのコードパッチ機能により、 前記 ( 1 ) の問題を改善する^;もある。 しかしながら、 人為的操作が介在し、 ネッ トワーク形態の変化による柔軟な対応が困難であるという問題が発生する。 従つ て、 ハード的な自動化が求められている。 発明の開示  (2) The above-mentioned problem (1) may be improved by a code patch function for artificially forming a clock path. However, there is a problem that it is difficult to respond flexibly due to changes in the network configuration due to human intervention. Therefore, hardware automation is required. Disclosure of the invention
本発明のクロック従属同期方法は、 クロック 度を有する複数のノードから 構成され、 各ノ一ドはクロック 度を含むデータの授受を行うことにより、 輔己クロック^ fc度の一番高レ、編己ノ一ドがネットヮーク全体にクロックを供給 するマスタノードとなり、 他の 1JI己ノードはスレーブノードとなるネットワーク におけるクロック従属同期方法において、 it己マス夕ノードにおいて、 中継数値 を |ίίϊ己データに設定して送出するステップと、 it己スレーブノードにおいて、 受 信した中継数値が所定値より大きい又は小さい場合は、 受信した中継数値カ汰き い又は小さいデータが fe¾された 路に同期し、 さらに、 受信した編己データ の it己中継数値を所定数減少又は増加させて、 隣接ノードに するステップと を有する。  The clock dependent synchronization method of the present invention comprises a plurality of nodes having clock degrees, and each node transmits and receives data including the clock degree, thereby providing the highest level of the self-clock ^ fc degree. The self node becomes the master node that supplies the clock to the entire network, and the other 1JI self node sets the relay value to | If the received relay numerical value is larger or smaller than the predetermined value at the slave node, it synchronizes with the route where the received relay numerical value is smaller or smaller, and Decreasing or increasing a predetermined number of it relayed values of the received edited data to an adjacent node.
本発明のクロック従属同期方法は、 マスタノ一ドにおレ、て、 中継数値を前記 データに設定して送出するステップと、 スレーブノードにおいて、 受信した中継 数値が所定値より大きい場合は、 受信した中纖値が大きいデータカ¾¾された feit路に同期し、 さらに、 受信した it己データの中継数値を所定数減少せて、 隣 接ノードに fStするステップ、 又は、 スレーブノードにおいて、 受信した中継数 値が所定値より小さい場合は、 受信した中継数値が小さいデ一夕が feitされた伝 送路に同期し、 さらに、 受信したデータの中継数値を所定数増加させて、 隣接 ノードに feiiするステップとを有し、 各スレーブノードは、 マスタノードのク 口ック^ t度、 マスタノードが設定し中継毎に所定数値増減する中継数値に基づ レ、て、 クロックの従属先を決定する。 A clock dependent synchronization method according to the present invention comprises the steps of: setting a relay value in the master node and transmitting the data; and, if the received relay value is larger than a predetermined value, receiving the received value. Synchronize with the feit path where the medium fiber value is large, further reduce the relay value of the received it's own data by a predetermined number, and fSt to the adjacent node, or the number of relays received at the slave node If the value is smaller than the predetermined value, a step of synchronizing the received data with a small relay value with the feited transmission line, further increasing the relay value of the received data by a predetermined number, and feiiing the adjacent node. Each slave node determines the slave of the clock based on the clock level of the master node and the relay value set by the master node and increased or decreased by a predetermined value for each relay.
また、 本発明のクロック従属同期装置は、 クロック ^^を有する複数のノー ドから構成され、 ii己各ノ一ドはクロック^度を含むデータの授受を行うこと により、 編己クロック 度の一番高レ、編己ノ一ドがネットワーク全体にクロッ クを供給するマスタノードとなり、 他の it己ノードはスレーブノードとなるネッ トワークにおけるクロック従属同期装置において、 jf己マスタノードが設定した 中継数値を含む i データを受信する受信部と、 受信した中継数値が所定値より 大きレ、又は小さレ、場合は、 受信した中腿値が大きレ、又は小さレヽデ一タが さ れた ί≤ϋ路のクロックに同期し、 さらに、 受信した il己データの il己中継数値を 所定数減少又は増加させて、 隣接ノ一ドに送出する処理部とを有する。  Further, the clock dependent synchronizer of the present invention is composed of a plurality of nodes having a clock ^^, and ii each node transmits and receives data including the clock ^^, so that the clock is synchronized with the clock ^^. The relay node, the master node, becomes the master node that supplies the clock to the entire network, and the other it nodes, in the clock-dependent synchronizer in the network that becomes the slave nodes, are the relay values set by the jf master node. If the received relay value is larger or smaller than the specified value, and the received thigh value is larger or smaller than the specified value, 受 信 ≤ a processing unit for synchronizing with the clock of the channel, further reducing or increasing the il-self relay value of the received il-self data by a predetermined number, and transmitting the reduced value to an adjacent node.
本発明のクロック従属同期装置は、 マス夕ノードが設定した中継数値を含む デ一タを受信する受信部と、 受信した中纖値が所定値より大きい場合は、 受信 した中継数値が大きいデ一夕が fei された fei 路のクロックに同期し、 さらに、 受信したデータの中継数値を所定数減少させて、 隣接ノードに送出する処理部、 又は、 受信した中纖値が所定値より小さい場合は、 受信した中継数値が小さい データが i¾tされた iSi路のクロックに同期し、 さらに、 受信したデータの中継 数値を所定数増加させて、 隣接ノードに送出する処理部とを有し、 各スレーブ ノードは、 マスタノードのクロック^^、 マスタノードが設定し中継毎に所定 数値増減する中継数値に基づいて、 クロックの従属先を決定する。 図面の簡単な説明  The clock-dependent synchronizer according to the present invention includes: a receiving unit that receives data including a relay value set by a master node; and a receiver that receives a larger relay value when the received medium fiber value is larger than a predetermined value. In the event that the evening is synchronized with the clock on the fei path, the relay value of the received data is reduced by a predetermined number and sent to the adjacent node, or if the received medium fiber value is smaller than the predetermined value, A processing unit for synchronizing with the clock of the iSi path on which the received relay value is small, and further increasing the relay value of the received data by a predetermined number and transmitting the data to an adjacent node; Determines the subordinate of the clock based on the master node clock ^^ and the relay value which is set by the master node and increased or decreased by a predetermined value for each relay. BRIEF DESCRIPTION OF THE FIGURES
本発明の他の目的、 特徴及び利点は添付の図面を参照しながら、 以下の説明を 読むことにより、 一層明瞭となるであろう。  Other objects, features and advantages of the present invention will become more apparent from the following description, read in conjunction with the accompanying drawings.
図 1は、 従来の技術にぉレ、て、 ネットワークの定常状態時のクロックノ、。スの伏 態を示した図である。 図 2は、 従来の技術にぉレ、て、 マスタノードの障害発生時のクロックパスの状 態を示した図である。 Figure 1 shows the conventional technology, and the clock in a steady state of the network. FIG. FIG. 2 is a diagram illustrating a state of a clock path when a failure occurs in a master node according to the related art.
図 3は、 従来の技術において、 路障害等の発生時のクロックパスの状態を 示した図である。  FIG. 3 is a diagram showing a state of a clock path when a road failure or the like occurs in the conventional technology.
図 4は、 従来の技術にぉレ、て、 { 路障害等の復旧時のクロックノ、'スの状態を 示した図である。  FIG. 4 is a diagram illustrating a state of a clock and a clock at the time of recovery from a path failure or the like according to the related art.
図 5は、 本発明の原理説明図である。  FIG. 5 is a diagram illustrating the principle of the present invention.
図 6は、 本発明の実施例におけるネットワーク全体の構成図である。  FIG. 6 is a configuration diagram of the entire network in the embodiment of the present invention.
図 7は、 本発明のクロック従属同期装置を説明するための図である。  FIG. 7 is a diagram for explaining the clock dependent synchronizer of the present invention.
図 8は、 本発明の実施例における C P I D (C P I D: C 1 o c k P r i o r i t y I D)処理部のプロック構成例をを示した図である。  FIG. 8 is a diagram showing an example of a block configuration of a CPID (CPID: C1OckPriorityID) processing unit in the embodiment of the present invention.
図 9は、 本発明の実施例における C P I Dとセル ZC P I Dフレームについて 示した図である。  FIG. 9 is a diagram showing a CP ID and a cell ZCP ID frame in the embodiment of the present invention.
図 1 0は、 本発明の実施例におけるクロックインタフェース部のブロック構成 例を示した図である。  FIG. 10 is a diagram showing an example of a block configuration of the clock interface unit in the embodiment of the present invention.
図 1 1は、 C P I D処理部の動作フローである。  FIG. 11 is an operation flow of the CPID processing unit.
図 1 2は、 本発明の実施例における通常運用時のクロックパスの流れを示した 図である。  FIG. 12 is a diagram showing a flow of a clock path during normal operation in the embodiment of the present invention.
図 1 3は、 本発明の実施例における障害時のクロックパスにの流れを示した図 (その 1 ) である。  FIG. 13 is a diagram (part 1) illustrating a flow on a clock path at the time of failure in the embodiment of the present invention.
図 1 4は、 本発明の ¾ϋ例における障害時のクロックパスにの流れを示した図 (その 2 )である。  FIG. 14 is a diagram (part 2) illustrating a flow in the clock path at the time of failure in the example of the present invention.
図 1 5は、 本発明の実施例における障害時のクロックパスにの流れを示した図 (その 3 ) である。  FIG. 15 is a diagram (part 3) illustrating the flow on the clock path at the time of failure in the embodiment of the present invention.
図 1 6は、 本発明の実施例における障害時のクロックパスにの流れを示した図 (その 4 )である。 発明を実施するための最良の形態  FIG. 16 is a diagram (part 4) illustrating a flow in the clock path at the time of failure in the embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION
本発明の USを図 5に基づいて説明する。 本発明は、 前述の課題を解決するために、 従来の技術で採用しているシーゲン ス番号の代わりに中継数値であるノード中継段数番号 (ここでは、 NRID :N ode Re l ay 10と¾^"。 図では、 NRと記載している。 ) を導入する。 NR IDはマスタノードとなったノード (図 5における 10)のみが、 予め決め られた初期値に基づレ、て通信 feit路に送出する。 The US of the present invention will be described with reference to FIG. In order to solve the above-mentioned problem, the present invention provides a node relay stage number (here, NRID: Node Relay 10) which is a relay numerical value instead of the sequence number employed in the conventional technology. In the figure, NR is described.) Only the node (10 in Fig. 5) that became the master node communicates with the NR ID based on the predetermined initial value. To send to.
スレーブノードとなったノードでは、 複数の通信 feit路から受信された NR I Dを比較し、 一!^きレ、値になつている通信 ί 路からのクロックに従属同期を とり、 かつ、 雄己 NR I Dの値をデクリメントして^!信 i¾t路に送出する。 ま た、 NRID値が" 0" となっている fei 路へは従属を行わない。 さらに、 既に 従属同期をとっている方路からの NRID値が" 0" に変化した場合は、 路 への従属を中止し、 別の複数の通信 ί5ϋ路から受信された NR IDを比較し、一 番大きレ、値になつてレ、る通信 ^路からのクロックに従属同期をとる。  The node that has become the slave node compares the NR IDs received from multiple communication feit routes, andき レ 同期 に 従 属 値 値 属 属 属 属 値 値 値 値 値 値 値 値 値 値 属 属 に 従 属 値 値 値 値 し て し て 属 し て し て し て し て し て し て し て し て 己 し て し て 雄 し てSend it to the i¾t route. Also, it does not depend on the fei road whose NRID value is "0". Further, when the NRID value from the route that has already been subjected to the slave synchronization changes to “0”, the slave is suspended from the route, and the NR IDs received from other multiple communication {5} routes are compared. Synchronizes with the clock from the communication channel with the largest value.
NRID値の初期値は、 予めマスタノード (図 5における 10) により設定さ れる。 この値は、 ネットワーク内の最も遠いノードまでの中継段数値以上を設定 する がある。 例えば、 図 5のネットワークであれば、 通信 fei 路 30及び通 信 feit路 39に障害が生じた場合の最も遠いノード 13までの中継段数値は 4で あるので、 マスタノード 10は、 NRID値として、 4以上の値を設定する。 これにより、 各ノード 1 1〜15は、 NR I D値が常に大きレ、方路のクロック に従属することができる。 その結果、 マスタノードからの中継段数が最小になる ようなクロックパスを構成することができる。  The initial value of the NRID value is set in advance by the master node (10 in FIG. 5). This value may be set to a value greater than or equal to the value of the relay stage to the farthest node in the network. For example, in the case of the network shown in Fig. 5, when the communication fei path 30 and the communication feit path 39 fail, the relay stage value to the farthest node 13 is 4, so the master node 10 uses the NRID value as the NRID value. Set a value of 4 or more. As a result, each of the nodes 11 to 15 has a large NR ID value and can depend on the clock of the route. As a result, a clock path that minimizes the number of relay stages from the master node can be configured.
なお、 NRIDの値をデクリメントする代わりに、 インクリメントしてもよレ、。 そのときは、 一番小さレ、値になつている通信 ί≤ϋ路からのクロックに従属同期を とり、 かつ、 NR I Dの値をィンクリメントして通信 ί¾路に送出する。  Instead of decrementing the NRID value, you may increment it. In this case, the slave synchronizes with the clock from the communication channel having the smallest value and the value from the channel, and increments the value of NR ID before sending it to the communication channel.
また、 UI己の NR I D値のみではネットワークの構成によっては、 どの方路の クロックに同期すべきかの情報が不足している場合がある。 例えば、 マス夕ノー ドからの中継段数が同じになる通信 fe¾路を持つスレーブノードでは、 どちらの 方路に従属すれば良レヽか決定できなレヽ。 そこで、 対向局のクロック^ t度値を通 信 feit路に送出する方法(対向局のクロック 度値を NP ID: Node P r i 0 r i t y I Dと称す。 図では、 NPと記載している。 ) を採用する。 各 スレーブノードでは、 複数の通信 i¾ 路から入力された NR I Dを比較した結果 がー致した場合、 次に NP I D値を比較して、 度の高い方路に従属する。 例 えば、 ノード 1 4では、 通信 Si路 4 2からのクロックと通信 ί 路 4 0からの クロックの NR I D値が同じであるので、 どちらの方路に従属すれば良レ、か決定 できない。 そこで、 NP I D値を見る。 通信 { 路4 2からの N P I D値が 1 0 2であり、 通信 { 路4 0からの NP I D値が 1 0 1なので、 この場合は、 ノー ド 1 4は、 度の高い、 通信 feit路 4 0からのクロックに従属同期する。 Also, depending on the network configuration, there may be insufficient information on which clock should be synchronized with the NR ID value of the UI itself. For example, if a slave node has a communication fe path with the same number of relay stages from the master node, it is not possible to determine which path is good if it depends on which path. Therefore, a method of transmitting the clock ^ t degree value of the opposite station to the communication feit path (the clock degree value of the opposite station is referred to as NP ID: Node Priority ID. In the figure, it is described as NP.) Is adopted. each If the result of comparing the NR IDs input from multiple communication i-channels matches, the slave node then compares the NP ID values and subordinates to the route with the higher degree. For example, in the node 14, since the NR ID value of the clock from the communication Si path 42 and the NR ID value of the clock from the communication path 40 are the same, it is not possible to determine which of the paths depends on the path. Therefore, look at the NP ID value. Communication {Since the NPID value from the communication path 42 is 102, and the NP ID value from the communication path 40 is 101, in this case, the node 14 Synchronizes with the clock from 0.
これにより、 ネットワークの形態に応じて、 NR I D値のみでは不十分な場合 に、 NP I D値を採用することにより、 仮に NR 1 D値が受 f ^路間で等しく なっても、 どの方路に従属すればよいかを確定することができる。  In this way, if the NR ID value alone is not sufficient, depending on the network configuration, adopting the NP ID value allows the NR 1 D value to be the same regardless of whether the NR 1 D value is equal between the receiving and receiving routes. Can be determined.
また、 ll己の NR I D値及び、 N P I Dのみではネットワークの構成によって は、 どの方路のクロックに同期すべきかの情報が不足している場合がある。 例え ば、 あるノード間に複数本の通信 feit路が接続されている場合は、 NR I D値、 NP I D値が等しくなるので、 どちらの方路に従属すれば良いかが分からなく なってしまうため、 各ノ一ド内で方路単位に^:度を設け、 方路^ t度が高レ、方 路に従属を行う。  Also, depending on the configuration of the network, there may be a shortage of information on which route clock should be synchronized only with the NR ID value and NP ID of its own. For example, if multiple communication feit routes are connected between a certain node, the NR ID value and NP ID value are equal, so it is difficult to know which route to use. In each node, ^: degrees are provided for each route unit, the route ^ t degrees is high, and the route is dependent on the route.
これにより、 ネットワークの形態に応じて、 NR I D値、 NP I D値のみでは 不十分な場合に、 方路単位の^^を設定することにより、 仮に NR I D値、 N P I D値が受 路間で等しくなつても、 どの方路に従属すればよいかを確定す ることができる。  With this, if the NR ID value and NP ID value alone are not enough according to the network configuration, setting ^^ for each route will temporarily make the NR ID value and NPID value equal between the receivers. In any case, it is possible to determine which route to follow.
また、 どの方路のクロックに同期すべきかを判定するために、 各ノードは、 ク 口ック^ t度、 NR I D、 NP I D、 方路^ 度に関して、 方路間の値を比較す る比較部を具備している。 この比較部において、 各通信 路から受信したク ロック^^度と NR I D値を比較するブロック (比 ra i ) と、 クロック優先度、 NR I D、 NP I D及び方路^ 度の 4種類を比較するプロック (比較部 2 ) を 用意し、 条件に応じて比 を切替えられるようにする。  In addition, each node compares the values between the links for the clock ^ t degree, NR ID, NP ID, and the path ^ degrees in order to determine which route clock should be synchronized. A comparison unit is provided. This comparison unit compares the clock received from each communication channel with the NR ID value (the ratio ra i) and the clock priority, NR ID, NP ID, and the route type. Prepare a block (comparing unit 2) to switch the ratio according to the conditions.
ネットワーク立ち上げ時等、 どの方路に従属すれば良いかを探しているときは、 lUIfii 較部 2を使用し、 最適な方路を決定する。 一度、 方路が確定したら、 比較 部 1に切替わり、 クロック^:度の比較と、 NR I D値が最低になったことのみ を ¾mするようにする。 When searching for which route should be used, such as when starting up a network, use the lUIfii comparator 2 to determine the optimal route. Once the route is determined, switch to the comparison unit 1 and compare the clock ^: degree and only when the NR ID value is the lowest. To ¾m.
これにより、 比 ran、 2を条件によって切替えられるようにすることで、 不 な方路の切替えを抑制することができる。 例えば、 ある方路に従属していて、 該当方路のアラーム等を検出した際、 該当方路への従属を中止し、 別の方路を探 して、 最適な方路に従属同期を取る。 その後、 jf己方路のアラームが復旧した場 合、 クロック^:度、 NR I D、 N P I D及び方路優先度の全てを比較対照とし ていると、 MI己方路に再度従属同期をとつてしまう。 このことを切り戻しと呼ぶ。 ネットワークの要求によっては、 この切り戻しを抑制したい場合がある。 本発明 によれば、 ある方路に従属しているときには、 比∞1を使用することで、 不要 な切り戻しを抑制することができる。  Thus, by switching the ratios ran and 2 depending on the conditions, it is possible to suppress the switching of an undesired route. For example, if a subordinate is dependent on a certain route and an alarm or the like is detected for that route, the subordinate to that route is stopped, another route is searched, and subordinate synchronization to the optimal route is established. . After that, when the alarm of the jf own route is recovered, if all of the clock ^: degrees, NR ID, N P ID and route priority are used as the comparison and contrast, dependent synchronization is re-established for the MI own route. This is called switchback. Depending on the requirements of the network, it may be desirable to suppress this switchback. According to the present invention, when the vehicle is dependent on a certain route, unnecessary switching back can be suppressed by using the ratio ∞1.
以下、 図面に示す実施例に基づいて、 発明の詳細を言 する。  Hereinafter, the details of the invention will be described based on embodiments shown in the drawings.
システム内におけるマスタノードの切替えは、 予め設定された^ t度で切替わ る。 従って、 運用前に全てのノードに対してマス夕クロックの^ 度を設定して おく。 この^ feSの情報 (以下、 r^fcJt情報」 という。 ) をネットワーク上の 通信 ί 路に送信し、 各ノ一ドでは、 通信 feii路から受信した^ feS情報と自 ノードに設定されている とを比較し、 自ノードの 度が高ければ、 マス 夕ノードになり、 以後、 自ノードの ^度情報を送出する。 また、 自ノードより 高い優先度の情報が通信伝送路より入力されれば、 その方路に従属同期を取るス レーブノードとなる。 スレーブノードは、 従属同期を行っている方路からの優先 度情報を各方路に送出することで、 ネットワーク内全てのノ一ドに «度情報が 行き渡り、 ネットワーク内で、 マスタースレーブの関係が成り立つ。 これが本発 明における^ 情報 の基本:^である。  The switching of the master node in the system is performed at a preset Δt degree. Therefore, before starting operation, set the clock of the master clock for all nodes. This ^ feS information (hereinafter referred to as r ^ fcJt information) is transmitted to the communication channel on the network, and at each node, the ^ feS information received from the communication feii channel is set to the local node. If the own node has a higher degree, it becomes a master node, and thereafter sends its own degree information. If information with a higher priority than the own node is input from the communication transmission line, the slave node becomes a slave node that synchronizes dependently on that route. The slave node sends priority information from the route performing slave synchronization to each route, so that the degree information is distributed to all nodes in the network, and the relationship between the master and the slave in the network is established. Holds. This is the basis of ^ information in the present invention: ^.
図 6にネットワーク全体の構成例を示す。 本実施例ではメッシュ状に構成され た ATM網を想定しており、 図では 4台の ATM装置からなる ATMノードが伝 送路で接铳されている。 ATM装置内は基本的にセルスィッチ部 6 5と、 C P I D処理部 6 4で構成されており、 セルスィッチ部 6 5は、 ATMセルヘッダ内の V P I (仮想パス識別子) を参照し、 予め設定されているテーブル情報をもとに スィッチングされる。 ポートは番号 0〜 6までの計 7ポートを持っている。  Figure 6 shows a configuration example of the entire network. In this embodiment, an ATM network configured in a mesh shape is assumed, and in the figure, an ATM node including four ATM devices is connected by a transmission path. The inside of the ATM device is basically composed of a cell switch section 65 and a CPID processing section 64. The cell switch section 65 refers to a VPI (virtual path identifier) in the ATM cell header and sets a preset table. Switching based on information. There are seven ports, numbered 0-6.
図 7に、 図 6の ATM装置における本発明のクロック従属同期装置を、 伝送路 インタフェース部等ととも〖こ示す。 FIG. 7 shows the clock-dependent synchronizer of the present invention in the ATM device of FIG. It is shown together with the interface section.
図 7には、 セルスイッチング部 65、 スイッチングテーブル 1 1 1、 回線イン タフエース部 1 10、 112、 CP ID処理部 64、 クロックインタフェース部 114が示されている。  FIG. 7 shows a cell switching section 65, a switching table 111, line interface sections 110 and 112, a CP ID processing section 64, and a clock interface section 114.
セルスイッチング部 65及び CP ID処理部 64は、 図 6に示したものと同じ である。  The cell switching unit 65 and the CP ID processing unit 64 are the same as those shown in FIG.
セルスイッチング部 65は、 スイッチングテーブル 1 1 1を参照して、 ATM セルをスイッチングする。 回線インタフェース部 110、 1 12は、 fe¾路とセ ルスイッチング 65との間のインタフェースをとる。 CP ID処理部 64は、 C P IDセル挿入部 85、 CP IDセル抽出部 86、 CP IDデセル化部 74、 C P IDセル化部 83及び CP ID調停部 87から構成されている。 この CP ID 処理部 64は、 詳細は後述する力 \ CP I Dセルを抽出し、 CP I D、 NR I D、 N P I D及び方路比較をして、 マスタノ一ドかスレーブノードかの判定を行レ、、 その結果に基づいて、 ソースクロック選択信号を出力し、 さらに、 他のノードに 対する CP IDセルを^^する。 クロックインタフェース部 1 14は、 発振器 1 0し PLLリファレンスクロック選択部 1 13及び PL L回路 103から構成 され、 CP ID処理部 64からのソ一スクロック選択信号に基づいて、 外部から の ¾ ^クロックと自クロック 101とを選択出力し、 ?し 回路103に印加す る。 この PL L回路 103の出力が装置内動作クロックとなる。  The cell switching unit 65 switches the ATM cell with reference to the switching table 111. The line interface units 110, 112 take an interface between the fe route and the cell switching 65. The CP ID processing section 64 includes a CP ID cell insertion section 85, a CP ID cell extraction section 86, a CP ID decellularization section 74, a CP ID cell conversion section 83, and a CP ID arbitration section 87. The CP ID processing unit 64 extracts a power \ CP ID cell, which will be described in detail later, compares the CP ID, NR ID, NPID, and route, and determines whether the node is a master node or a slave node. Based on the result, a source clock selection signal is output, and a CP ID cell for another node is generated. The clock interface unit 114 is composed of an oscillator 10 and a PLL reference clock selection unit 113 and a PLL circuit 103. Based on a source clock selection signal from the CP ID processing unit 64, an external ク ロ ッ ク ^ clock is used. And its own clock 101 and output? And applied to the circuit 103. The output of the PLL circuit 103 becomes the internal operation clock.
図 8に各ノ一ド内の C P I Dの処理を示したプロック図を示す。 本図は、 図 6 の CP ID処理部 64に相当する。 セルスイッチング部からのセルについて CP I Dセルかどうかを識別する CP I Dセル識別部 71、 受信セルの VP I期待値 を設定し、 かつ、 送信 VP I値を設定する VP I設定レジス夕 72が示されてい る。 CP IDセル識別部 7 K VP I設定レジス夕 72及び VP I比較部 73は、 図 7の CP IDセル抽出部 86に相当する。  FIG. 8 is a block diagram showing the processing of CPID in each node. This figure corresponds to the CP ID processing unit 64 in FIG. The CP ID cell identification unit 71, which identifies whether or not the cell from the cell switching unit is a CP ID cell, sets the expected VPI value of the received cell and sets the transmission VPI value. It has been done. The CP ID cell identification unit 7 K VPI setting register 72 and the VPI comparison unit 73 correspond to the CP ID cell extraction unit 86 in FIG.
また、 デセル化を行い CP I Dフレームを組み立てるデセノレ化部 74が、 ポー ト毎に設けら; CP IDフレームの各ビットに対して比較、 判定を行う CP I D比鶴75、 NR ID比較部 76、 NP ID比鄉 77、 及び方路比較部 78 力設けられている。 更に、 自ノード CP ID設定レジスタ 79、 NR ID設定レジス夕 80にて設 定された値に基づいて自ノードの CP I Dフレームを組み立てるフレーム 部 81、 受信 CP IDフレームと自ノード CP IDフレームの CP IDビットを比 較し、 自ノードがマス夕ノードになるかスレーブノードになるかを決定するマス 夕/スレーブ判定部 82が設けられている。 In addition, a de-serialization unit 74 for decelerating and assembling a CP ID frame is provided for each port; a CP ID ratio crane 75 for comparing and judging each bit of the CP ID frame, a NR ID comparison unit 76, NP ID ratio 鄉 77, and route comparison unit 78 are provided. Further, a frame unit 81 that assembles the CP ID frame of the own node based on the values set in the own node CP ID setting register 79 and the NR ID setting register 80, the CP of the received CP ID frame and the CP of the own node CP ID frame. A master / slave determination unit 82 that compares ID bits and determines whether the own node becomes a master node or a slave node is provided.
デセル化部 74、 CP I D比較部 75、 NR ID比較部 76、 NP I D比較部 77、 及び方路比 ¾¾U78、 自ノード CP ID設定レジスタ 79、 NR I D設定 レジスタ 80、 フレーム ffiS:部 81、 マス夕 Zスレーブ判定部 82力 \ 図 7の C P ID調停部 87に相当する。  Decelerating unit 74, CP ID comparing unit 75, NR ID comparing unit 76, NP ID comparing unit 77, and route ratio ¾¾U78, own node CP ID setting register 79, NR ID setting register 80, frame ffiS: unit 81, E Z slave determination unit 82 force \ Corresponds to CP ID arbitration unit 87 in Fig. 7.
また、 最終的に決定された CP I Dフレームをセル化部 83にてセル化し、 V P I揷入部 84にて送信 VP I値を挿入した後、 再度セルスィッチ部に送信する ために CP I Dセル識別子を挿入する CP I Dセル識別子挿入部 85が設けられ ている。  In addition, the finalized CP ID frame is converted to a cell by the celling unit 83, the transmission VPI value is inserted by the VPI input unit 84, and then the CP ID cell identifier is inserted again for transmission to the cell switch unit A CP ID cell identifier insertion unit 85 is provided.
後述する切り戻しありモードでは、 CP ID比較部 75、 NR ID比較部 76、 NP I D比較部 77及び方路比較部 78に基づレ、て従属を決める。 一方、 切り戻 しなしモードでは、 CP ID比 75に基づいて、 従属を決める力 \ その場合 でも、 NR I D値が 0になると、 その方路への従属をやめ、 NR I D比較部 76、 N P I D比較部 77及び方路比較部 78に基づレ、て従属を決める。  In the switch-back mode described later, the subordination is determined based on the CP ID comparison unit 75, the NR ID comparison unit 76, the NP ID comparison unit 77, and the route comparison unit 78. On the other hand, in the non-revertive mode, the ability to determine subordination based on the CP ID ratio 75 \ Even if the NR ID value becomes 0, subordination to that route is stopped, and the NR ID comparison unit 76 and NPID The subordination is determined based on the comparison unit 77 and the route comparison unit 78.
路からのセルは、 CP IDセル識別部 71に印加され、 VP I設定レジス 夕 72のレジスタ値と CP IDセルの VP I値が VP \ 3で比較される。 その結果、 CP IDセルの場合は、 ボート毎に、 デセル化部 74でデセル化され る。 デセル化された CP IDフレームは、 CP ID比較部 75、 NR I D比較部 76、 NP ID比鶴 77、 方路比較部 78で、 CP ID 度、 NR I D職 度、 NP I D^t度、 方路^ t度の比較が行われる。 自ノード CP I D設定レジ ス夕 79及び NR I D設定レジスタ 80で、 自ノードの C P I D及び NR I Dを 設定する。 フレーム敏部 81は、 自ノード CP ID設定レジス夕 79及び NR ID設定レジスタ 80の値に基づいて、 CP I Dフレームを^^する。 マスタ/ スレーブ判定部 82は、 フレーム敏部 81からの CP I Dフレームと CP I D 比 ¾¾75、 NR ID比較部 76、 NP IDJtra77,方路比較部 78の結果 に基づき、 マスタ スレーブ判定を行い、 ソースクロック選択信号を出力する。 また、 マスタ Zスレーブ判定部 82の出力は、 セル化部 83でセル化され、 VP I挿入部 84で VP Iが挿入され、 CP I Dセル識別 ί 入部 85で CP I D識 別子が挿入され、 CP I Dセルが生成される。 The cell from the path is applied to the CP ID cell identification unit 71, and the register value of the VPI setting register 72 and the VPI value of the CP ID cell are compared by VP \ 3. As a result, in the case of a CP ID cell, it is decellularized by the decellularization unit 74 for each boat. The decelerated CP ID frame is sent to the CP ID comparator 75, the NR ID comparator 76, the NP ID ratio crane 77, and the route comparator 78 for the CP ID, NR ID job, NP ID ^ t, A road-to-degree comparison is made. Set the CPID and NR ID of the own node using the own node CP ID setting register 79 and the NR ID setting register 80. The frame detector 81 sends a CP ID frame based on the values of the own node CP ID setting register 79 and the NR ID setting register 80. The master / slave determination unit 82 is based on the CP ID frame from the frame sensitivity unit 81 and the result of the CP ID ratio ¾¾75, NR ID comparison unit 76, NP IDJtra77, and route comparison unit 78. Master / slave judgment is performed based on, and a source clock selection signal is output. Also, the output of the master Z slave determination unit 82 is converted into a cell in a cell unit 83, a VPI is inserted in a VPI insertion unit 84, and a CP ID identifier is inserted in a CP ID cell identification input unit 85. A CP ID cell is generated.
このように、 CP IDは、 ATMセル化され、 ネットワーク内に予め設定され ているパスにより通信される。 CP I Dセルのパス形態は図 6のように各ノード 間で張られる形をとる。 つまり、 あるノードから送信された CP IDセルは隣接 のノードのセルスィッチ部において、 CP I D処理部にスイッチングされ、 CP I D処理部にて^ 度判定等の処理が行われた後、 再び隣接のノ一ドに送信され る。  In this way, the CP ID is converted into an ATM cell and communicated through a path set in the network in advance. As shown in Fig. 6, the path form of the CP ID cell is formed between nodes. In other words, the CP ID cell transmitted from a certain node is switched to the CP ID processing unit in the cell switch unit of the adjacent node, and after the CP ID processing unit performs processing such as a long-term determination, the adjacent node node is re-established. Sent to the server.
次に、 図 9に CP I Dセル、 及び CP I Dフレームのフォーマツトを示す。 C P I Dセルが、 各ノード間で feiiされる信号である。 CP I Dセルのヘッダ部は 5バイトで構成され、 VP I、 VC I等のアドレス情報から成っている。 VC I の上位 3ビットに CP I Dセルを識別するためのコードが付加されており、 この コードにて CP I Dセルかどうかを区別する。 情報フィールドの 48バイ卜に実 際の CP I Dフレームが組み込まれており、 それぞれ CP I D/NR I D/NP I Dの情報で構成されている。 最後に { inされている "P"はパリティビットで あり、 データの正常性を見るために使用する。  Next, FIG. 9 shows the format of the CP ID cell and the CP ID frame. The CPID cell is a signal feiied between each node. The header part of the CP ID cell is composed of 5 bytes, and is composed of address information such as VPI and VCI. A code for identifying the CP ID cell is added to the upper 3 bits of VC I, and this code identifies whether the cell is a CP ID cell. The actual CP ID frame is embedded in the 48 bytes of the information field, and is composed of CP ID / NR ID / NP ID information, respectively. Finally, the “P” in {is the parity bit, which is used to check the normality of the data.
CP IDセルの情報フィールドを抜き出した部分が CP IDフレームとなり、 CP I D判定部にて各種優先度判定が行われる。  A portion where the information field of the CP ID cell is extracted becomes a CP ID frame, and various priority determinations are performed by a CP ID determination unit.
クロックインタフェース部 114のブロック構成例を図 10に示す。 図 8のマ スタ Zスレーブ判定部は、 ソースクロック選択信号を出力している。 この信号は、 図 10において、 ^¾路からクロックを抽出するクロック抽出部 100、 クロッ ク発信源 101のどちらを選択すれば良いかを決定するための信号として使用さ れる。 具体的には、 ソースクロック選択部 102にソースクロック選択信号が入 力されており、 feit路からのクロックを選択するか、 自ノードの発信源を選択す るかを決定し、 ?しし部103のリファレンスクロックのソースクロックとして 入力される。 PLL部 103の出力クロックは装置内の動作クロック、 及びク ロック挿入部 104を介して fei 路に送信される。 このような形で CP I Dの^を行い、 どの ^路のクロックに従属すれば良 いかを決定し、 クロックパスを順次形成していくのである。 FIG. 10 shows an example of a block configuration of the clock interface unit 114. The master Z slave determination unit in FIG. 8 outputs a source clock selection signal. This signal is used in FIG. 10 as a signal for determining which of the clock extracting unit 100 for extracting a clock from the ¾ path and the clock source 101 should be selected. Specifically, the source clock selection signal is input to the source clock selection unit 102, and it is determined whether to select the clock from the feit path or the source of the own node. It is input as the source clock of the reference clock of the filter 103. The output clock of the PLL unit 103 is transmitted to the fei path via the operation clock in the device and the clock insertion unit 104. In this way, the CP ID is ^ determined, which clock should be subordinate to which ^ path, and a clock path is sequentially formed.
次に、 優先度情報転送の転送モードとして、 切り戻しありモードと切り戻しな しモードの 2つについて説明する。 切り戻しありモードでは、 クロック^ fc度情 報以外にノ一ド中継段数番号 (NR I D)や対向局クロック^ ^度番号 (NP I D)を使用することで、 クロックパスにおいて、 マス夕ノードからの中継段数が 常に最小になるようにクロックパスを 見し、 最適化することができる。 ところ が、 fei 路障害等が発生し、 クロック 'スの再構築を行った後、 障害が復旧した 際に、 前回までのクロックパスへの切り戻しが発生する。  Next, two transfer modes of the priority information transfer, a mode with switchback and a mode without switchback, will be described. In the switchback mode, the node repeater number (NR ID) and the opposite station clock ^^ degree number (NP ID) are used in addition to the clock ^ fc degree information, so that the clock path The clock path can be looked at and optimized so that the number of relay stages is always minimized. However, after the failure of the fei road and the rebuilding of the clock after rebuilding the clock, switching back to the previous clock path will occur.
これに対し、 切り戻しなしモードは、 現時点で構成されているクロックパスを 常に保持するモードである。 クロックパスが通っている iSi路が障害となった場 合は、 従属方路の切替えが発生するが、 障害復旧時に切り戻しが発生しない。 障 害発生 Z復旧が操り返し起こつた場合は、 最終的にどのようなクロック 'スが構 築されたかが特定できず、 場合によっては中継段数が増加したことにより、 ク ロックのジッ夕成分が増大することが懸念される。  In contrast, non-revertive mode is a mode in which the currently configured clock path is always maintained. If the fault occurs on the iSi path through which the clock path passes, switching of the subordinate path occurs, but no failback occurs when the fault is recovered. Failure occurrence When Z recovery is repeated, it is not possible to identify what kind of clock has been finally constructed, and in some cases, the number of relay stages has increased, and the clock component has increased. It is feared that.
次に具体的な動作にっレ、て説明する。  Next, a specific operation will be described.
図 1 1は、 CP I D処理部 64の動作をフロー図としたものである。 そのス テツプを対応させて、 図 8を参照して、 動作について説明する。  FIG. 11 is a flowchart showing the operation of the CP ID processing unit 64. The operation will be described with reference to FIG. 8 corresponding to the steps.
CP IDは 1 255までの値を定義し、 1が最も優先度が高くなる。 0の場 合は、 度が最も小さくなる。  The CP ID defines a value up to 1 255, with 1 being the highest priority. If it is 0, the degree is the smallest.
各ノードでは、 デセル化部 74より CP IDフレームを受信する (S 101)。 feii路より受信された CP IDフレームの CP IDと自ノードの CP IDとを 比較し (S 103 S 104)、 最も優先度の高い値を、 セル化部 83 VP I 挿入部 84 CP I Dセル識別子挿入部 85を介して、 各伝送路に送出する (S 117) o  Each node receives the CP ID frame from the decelerator 74 (S101). The CP ID of the CP ID frame received from the feii path is compared with the CP ID of its own node (S103 S104), and the highest priority value is assigned to the cell unit 83 VPI insertion unit 84 CP ID cell identifier Transmitted to each transmission path via the insertion unit 85 (S117) o
各 fe^路から受信された CP IDフレームの CP ID値が自ノードの CP ID 値より 度が小さかった場合は、 自ノードがマスタノードとなり、 自ノードの CP I Dを各 iSt路に送出する (S 105 S 109)。  If the CP ID value of the CP ID frame received from each fe path is smaller than the own node's CP ID value, the own node becomes the master node and sends the own node's CP ID to each iSt path ( S 105 S 109).
NR I Dは、 上記の通り、 CP I Dフレームがノードを中継した数を示すク ロック中継段数信号である。 マスタノードは、 自ノードに設定されている NR I D値を各 i¾t路に送出する (S 106、 S 1 10)。 スレーブノードでは、 従属 している^!路より受信した NRD値を " 1 " デクリメントし、 各 ίέϋ路に送出 する (S 108、 S 113)。 As described above, the NR ID is a number indicating the number of relayed CP ID frames to the node. This is a lock relay stage number signal. The master node sends out the NR ID value set in its own node to each i¾t route (S106, S110). The slave node decrements the NRD value received from the dependent ^! Route by "1" and sends it to each route (S108, S113).
NP I Dは、 上記の通り、 対向ノードの CP I Dを示す。  NP ID indicates the CP ID of the opposing node as described above.
さらに、 蘭己 CP IDフレームを用いたクロック従属同期の動作原理について 説明する。  In addition, the operating principle of clock dependent synchronization using Ranki CP ID frames will be described.
なお、 前記モードの違いにより、 各ノードでの動作が異なるので、 モード毎に 説明を行う。  Since the operation at each node differs depending on the mode, the description will be given for each mode.
各 C P I D処理部では、 以下の順に比較を行う。  Each CP ID processing unit compares in the following order.
(1) CP ID値の比較(図 8の CP I Di l 5での処理: S 103、 S 1 04)  (1) Comparison of CP ID values (processing with CP I Di 5 in Fig. 8: S103, S104)
各方路から受信した CP IDをそれぞれ比較し、 一番低い値を採用する。 一番 度の高い CP I Dを選んだ後、 図 8のマス夕ノスレーブ判定部 82にて、 自 ノードの^ t度番号と比較し、 自ノードの^ t度が高ければ、 クロックマスタ動 作に切替わり、 ある一つの方路からの CP ID値が高ければ、 その方路に従属す  Compare the CP IDs received from each route and use the lowest value. After selecting the highest CP ID, the master / slave determination unit 82 shown in FIG. 8 compares it with its own node's ^ t degree number, and if its own node's ^ t degree is higher, it performs clock master operation. Switch, if the CP ID value from one route is high, subordinate to that route
(2) NR I D値の比較(図 8の NR I D比較部 76での処理) (2) Comparison of NR ID value (processing in NR ID comparison unit 76 in Fig. 8)
切り戻しありモードの場合は、 CP 1D値が等しければ、 次に CR ID値を比 較する (S 107)。 NR 1 Dは、 C P I Dがノード内を通過するたびにデクリ メントされ、 "0 " を受信したノ一ドでは、 該当方路への従属を行わない。 NR I Dは予め送出時に初期値が決定されているので、 値が高いほどノ一ドを通過し た回数が少ない。 よって、 一番高い値を採用し、 その方路に従属する。  In the case of the mode with switchback, if the CP1D values are equal, then the CR ID values are compared (S107). NR 1 D is decremented each time CP ID passes through the node, and a node receiving “0” does not depend on the corresponding route. Since the initial value of NR ID is determined in advance at the time of transmission, the higher the value, the smaller the number of times the node has passed. Therefore, the highest value is adopted and it depends on the route.
切り戻しなしモードの場合、 ある方路に従属しているときは NR I Dの比較は 行わず、 従属方路の" 0"受信監視のみ行う (S 114)。 ただし、 方路を決定 するときは切り戻しありモード同様、 NR ID値の比較を行う (S I 12)。 In the non-revertive mode, if the route is dependent on a certain route, NR ID comparison is not performed, and only reception monitoring of "0" of the dependent route is performed (S114). However, when determining the route, the NR ID values are compared as in the switchback mode (S I 12).
(3) NP ID値の比較(図 8の NP ID比較部 77での処理) (3) Comparison of NP ID values (processing in NP ID comparison unit 77 in Fig. 8)
切り戻しありモードの場合、 CP ID、 NR I Dともに等しい場合、 対向ノー ドの優先度番号を示す NP I D値の比較を行い(S 107)、 一番低い値を採用 する。 ネットワークの形態によっては C P I D、 NR I Dの値が同値になること は十分考えられるため、 ネットワーク内で唯一に決まっている^ fc度番号を対向 ノ一ド間で通知することによりある一つの方路を決定する。 In the switchback mode, if the CP ID and NR ID are equal, the NP ID value indicating the priority number of the opposing node is compared (S107), and the lowest value is adopted. I do. Depending on the form of the network, it is quite possible that the values of CPID and NR ID will be the same.Therefore, one route is determined by notifying the ^ fc degree number that is uniquely determined in the network between the opposite nodes. To determine.
切り戻しなしモードの場合、 NP I D値の比較は行わず、 本領域は無視する。 ただし、 方路を決定するときは切り戻しありモード同様、 NR I D値の比較を行 う (S 1 1 2 ) 。  In non-revertive mode, NP ID values are not compared and this area is ignored. However, when determining the route, the NR ID values are compared in the same manner as in the mode with switching back (S112).
( 4 ) 方路の優先度 (図 8の方路比較部 7 8での処理)  (4) Route priority (Processing in route comparison unit 78 in Fig. 8)
二重化 fe¾路の構成等を行った場合、 あるノード間で 2方路以上の 路力接 続されるケースが発生すると編己値が全て同値になることが考えられる。 よって、 最終的に方路の優先度を予め定義しておき、 それに従って従属先方路を决定する。 以上のような動作 USにより、 マスタースレーブ運用が確定し、 マスタノード からッリ一状のパスが構築されることになる。  In the case of a dual-fe route, etc., if there is a case where two or more roads are connected between a certain node, it is considered that all of the knit values are the same. Therefore, the priority of the route is defined in advance, and the dependent route is determined accordingly. With the above operation US, the master-slave operation is determined, and a complete path is established from the master node.
なお、 上記の運用例を図 1 2〜1 4に示す。  The above operation examples are shown in Figs.
ノード 1 2 0〜 1 2 8から構成され、 ノード 1 2 0とノード 1 2 8に、 外部ク ロック 1 3 0、 1 3 1が接繞されている。  It is composed of nodes 120 to 128, and external clocks 130 and 131 are surrounded by nodes 120 and 128.
図中、 括弧で括られている がクロック ^^番号である。 網掛けのノード がマスタノードで:^で示した経路がクロックパスとなる (各ノードでは拿印の 方路に従属している) 。 各通信伝送路を流れる情報を図中に示してあり、 NR I Dの初期値を " 5 " と設定している。  In the figure, the number in parentheses is the clock ^^ number. The shaded node is the master node, and the route indicated by: ^ is the clock path (each node is subordinate to the route marked). Information flowing through each communication transmission line is shown in the figure, and the initial value of NR ID is set to "5".
図 1 2は、 「通常運用時」 のクロックパスの流れが、 ノード 1 2 0とノード 1 2 1間で障害が発生した 「feit障害発生時(1 ) J の場合に、 クロックパスがど のように切替わるかを図示している。  Figure 12 shows the flow of the clock path during “normal operation” when the fault occurs between node 120 and node 121 (“feit failure occurs (1) J). FIG.
図 1 3は、 ノード 1 2 0とノード 1 2 3間で障害が発生した 「fe¾障害発生時 ( 2 ) 」 の場合に、 クロックパスがどのように切替わるかを図示している。  FIG. 13 illustrates how the clock path is switched in the case of “fe¾ fault occurrence (2)” in which a fault has occurred between the nodes 120 and 123.
図 1 4は、 外部クロック源 1 3 0の障害により、 マスタノードがノ一ド 1 2 0 からノード 1 2 8に遷移した場合のクロックパスの切替わりを図示している。 なお、 図 1 4のノード 1 2 0のように、 ノード 1 2 0の外部クロック障害が発 生すると自動的に、 ^度番号力変化する (0 0 1→1 0 1 ) 。  FIG. 14 illustrates the switching of the clock path when the master node transitions from the node 120 to the node 128 due to the failure of the external clock source 130. When an external clock failure occurs in the node 120, as in the node 120 in FIG. 14, the power number automatically changes (001 → 101).
図 1 5、 1 4ではメッシュ網における 2重化 fei路を想定しており、 ノード内 の各方路に方路の優先度番号を追加している。 Figures 15 and 14 assume a duplicated fei road in a mesh network. The priority number of the route is added to each route.
図 1 5は、 「通常運用時 j のクロックパスの流れが示されている。  Figure 15 shows “The flow of the clock path during normal operation j is shown.
ノード 1 2 1等では、 ノード 1 2 0との間で、 C P I Dと NR I Dと N P I D が同じであるが、 方路番号によって、 従属同期先が決定されている。  In the node 1 2 1 etc., the CP ID, NR ID and NP ID are the same between the node 1 and node 2 0, but the dependent synchronization destination is determined by the route number.
図 1 6は、 ノード 1 2 0とノード 1 2 1間で障害が発生したの場合のクロック パスの流れが示されている。  Figure 16 shows the flow of the clock path in the event of a failure between nodes 120 and 121.
このような複雑なネットワーク形態においても、 本発明によれば、 適切なッ リ一伏を形成し、 通信 fe¾路の障害等が発生しても中継段数が最小となるような クロックパスに切替わることができる。  According to the present invention, even in such a complicated network form, the clock path is switched to a clock path that forms an appropriate grid and minimizes the number of relay stages even if a failure in the communication channel occurs. be able to.
以上説明したように、 本発明によれば、 メッシュ網のような複雑なネットヮー ク構成においても なクロックパスを構築することができる。 中継段数番号の 初期値を制限することで、 クロックパスの中継段数を抑制すること力でき、 ク ロックジッ夕成分の増加を防ぐことができる。  As described above, according to the present invention, a clock path can be constructed even in a complicated network configuration such as a mesh network. By limiting the initial value of the number of relay stages, the number of relay stages in the clock path can be reduced, and an increase in clock component can be prevented.
また、 クロック中継段数番号や対向ノ一ド 番号の比^法を切りかえる ことにより、 擾乱等による、 ί¾ϋ先の不 な切替えを抑制でき、 力、っ必 然的に切替えが発生するノ一ドにおレゝては、 切替え先方路として最適な方路を決 定することができる。  In addition, by switching the ratio of the number of clock relay stages and the ratio of opposing node numbers, it is possible to suppress undesired switching due to disturbances, etc., and to reduce power and inevitably cause switching. In other words, it is possible to determine the optimum route as the switching destination route.
¾έ¾の技術における課題として存在していた、 人為的操作によるコードパッチ 機能も本発明によれば、 必然的に不 ' となり、 ネットワークの品質向上に寄与 する。  According to the present invention, the code patch function by an artificial operation, which has been a problem in the technique of (1), is inevitably eliminated according to the present invention, and contributes to the improvement of network quality.
本発明は、 具体的に開示された実施例に限定されるものではなく、 特許請求し た本発明の範囲から逸脱することなく、 種々の変形例や実施例が考えられる。  The present invention is not limited to the specifically disclosed embodiments, and various modifications and embodiments can be considered without departing from the scope of the claimed invention.

Claims

請求の範囲 The scope of the claims
1 . クロック 度を有する複数のノードから構成され、 前記各ノードはク 口ック 度を含むデータの授受を行うことにより、 編己ク口ック^ t度の一番 高レ、前記ノ一ドがネットワーク全体にクロックを供給するマス夕ノードとなり、 他の ri己ノードはスレーブノードとなるネットワークにおけるクロック従属同期 方法において、1. Each node is composed of a plurality of nodes having a clock degree, and each of the nodes exchanges data including the clock degree, thereby obtaining the highest level of the clock degree. Node becomes the master node that supplies the clock to the entire network, and the other ri nodes become the slave nodes.
ii己マスタノードにおいて、 中継数値を IUI己データに設定して送出するステツ プと、  (ii) At the master node, the relay value is set in the IUI data and transmitted.
鶴己スレーブノードにおいて、 受信した中継数値が所定値より大きい又は小さ レ、場合は、 受信した中継数値が大き 、又は小さいデータが された伝送路に同 期し、 さらに、 受信した前記データの if己中継数値を所定数減少又は増加させて、 隣接ノードに するステップと  In the case of the Tsurumi slave node, if the received relay value is larger or smaller than a predetermined value, the received relay value is synchronized with the transmission line on which the larger or smaller data is transmitted, and if Reducing or increasing the relay value by a predetermined number to make it an adjacent node;
を有するクロック従属同期方法。  A clock dependent synchronization method comprising:
2. 請求項 1言^のクロック ¾έΜ同期方法において、 2. In the clock ¾έΜ synchronization method according to claim 1,
更に、 編 Sスレーブノードにおいて、 自ノードのクロック を輔己デ一夕 に設定して、 隣接ノードに fe¾するステップを有するクロック従属同期方法。  Furthermore, in the S slave node, a clock dependent synchronization method including a step of setting the clock of the own node to the autonomous clock and feathering to an adjacent node.
3. 請求項 1記載のクロック従属同期方法において、 3. In the clock dependent synchronization method according to claim 1,
更に、 備己スレーブノードにおいて、 複数の方路を有する場合、 各方路に対し て、 従属同期を行う^ t度である方路^ £度を設定するステップを有するクロッ ク従属同期方法。  Further, a clock slave synchronization method including a step of setting a route, which is a degree of slave synchronization, for each route, when a plurality of routes are provided in the self-serving slave node.
4. 請求項 1記載の従属同期方法において、 4. In the dependent synchronization method according to claim 1,
|1H己スレーブノードにおいて、  | 1H At the slave node,
更に、 マスタノ一ドの it己ク口ック^;度及び輔己中継数値に基づレ、て従 属先を決定するステップと、 Determining a subordinate based on the master node's it value and the relay value;
it己マス夕ノードの i クロック^^、 it己中継数値、 従属する ί 路に隣 接するノ一ドの it己ク口ック 度及び UI己方路 度に基づいて従属先を決定 するステップと it's own clock node i clock ^^, it's relay value, subordinate 隣 next to the road Determining the subordinates based on the degree of contact of the node in contact with it and the degree of UI self-direction
上記二つのステップの内、 何れか一方のステップと  One of the above two steps
を有するクロック従属同期方法。  A clock dependent synchronization method comprising:
5. クロック^ ά度を有する複数のノ一ドから構成され、 編己各ノ一ドはク 口ック^ t度を含むデータの授受を行うことにより、 il己クロック^度の一番 高い if己ノードがネットワーク全体にクロックを供給するマス夕ノードとなり、 他の it己ノ一ドはスレーブノ一ドとなるネットワークにおけるクロック従属同期 装置において、 5. It is composed of a plurality of nodes having clock ^ ά, and each node sends and receives data including clock ^ t, so that il's clock has the highest clock ^ 度. If the own node becomes the master node that supplies the clock to the entire network, the other it node becomes the slave node.
編己マスタノ一ドが設定した中継数値を含む編己データを受信する受信部と、 受信した中纖値が所定値より大きレ、又は小さ I、場合は、 受信した中継数値が 大きい又は小さいデータが iS された fS 路のクロックに同期し、 さらに、 受信 した it己データの編己中継数値を所定数減少又は増加させて、 隣接ノードに送出 する処理部と  A receiver that receives the knitting data including the relay value set by the knitting master node, and if the received medium fiber value is larger or smaller than a predetermined value I, the received relay value is larger or smaller. And a processing unit for synchronizing with the clock of the fS path subjected to iS, further reducing or increasing the self-relay value of the received it self data by a predetermined number, and transmitting the same to the adjacent node.
を有するクロック従属同期装 go  Clock-dependent synchronization device with
6. 請求項 5言 のクロック従属同期装置にぉレ、て、  6. The clock-dependent synchronizer according to claim 5,
当該クロック従属同期装置が設けられるノードのクロック^ t度を lf己データ に設定して、 隣接ノ一ドに fe¾する処理部を有するクロック従属同期装置。  A clock-dependent synchronizer having a processing unit that sets the clock tt degree of the node where the clock-dependent synchronizer is provided to lf self-data, and performs processing to an adjacent node.
7. 請求項 5記載のクロック従属同期装置にぉレ、て、 7. The clock-dependent synchronizer according to claim 5,
当該ク口ック従属同期装置が設けられるノ一ドが複数の方路を有する場合、 各方路に対して、 ¾1同期を行う 度である方路^ fc度を設定する処理部を 有するクロック従属同期装 go  In the case where the node provided with the click slave synchronizer has a plurality of routes, a clock having a processing unit for setting 方 the degree of ^ 1 degree of route ^ fc degrees for each route for each route Dependent synchronous equipment go
8. 請求項 5記載のクロック従属同期装置にぉレ、て、 8. The clock-dependent synchronizer according to claim 5,
naマスタノ一ドの n己ク口ック^度及び mi己中継数値に基づレ、て従属先を 決定する第一の比 と、 it己マスタノ一ドの編己ク口ック 度、 lf己中継数値、 従属する ί 路に隣 接するノ一ドの it己^度及び編己方路 度に基づレ、て従属先を決定する第二 の比較部とを有し、 a first ratio that determines the subordinate based on the n master node and the mi relay value of the na master node; and Dependency is determined based on the degree of the master node, the degree of lf relay, the value of the slave node, and the degree of the slave node adjacent to the route. A second comparing section,
何れか一方の比較部を選択して、 クロック従属同期を行うクロック従属同期装  Clock slave synchronization device that selects one of the comparison units and performs clock slave synchronization
PCT/JP1999/005681 1999-10-14 1999-10-14 Clock slave-synchronizing method and clock slave-synchronizing device WO2001028165A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP1999/005681 WO2001028165A1 (en) 1999-10-14 1999-10-14 Clock slave-synchronizing method and clock slave-synchronizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP1999/005681 WO2001028165A1 (en) 1999-10-14 1999-10-14 Clock slave-synchronizing method and clock slave-synchronizing device

Publications (1)

Publication Number Publication Date
WO2001028165A1 true WO2001028165A1 (en) 2001-04-19

Family

ID=14236993

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1999/005681 WO2001028165A1 (en) 1999-10-14 1999-10-14 Clock slave-synchronizing method and clock slave-synchronizing device

Country Status (1)

Country Link
WO (1) WO2001028165A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7580370B2 (en) 2002-06-21 2009-08-25 International Business Machines Corporation Method and structure for autoconfiguration of network destinations
US7769839B2 (en) 2002-06-21 2010-08-03 International Business Machines Corporation Method and structure for autoconfiguration of overlay networks by automatic selection of a network designated router
JP2016165034A (en) * 2015-03-06 2016-09-08 Necエンジニアリング株式会社 Synchronous network, communication device, synchronization method, and synchronization program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US2986723A (en) * 1960-02-26 1961-05-30 Bell Telephone Labor Inc Synchronization in a system of interconnected units
JPH03188724A (en) * 1989-12-19 1991-08-16 Nec Corp Communication channel control system
WO1995024078A2 (en) * 1994-02-25 1995-09-08 Nokia Telecommunications Oy Hierarchical synchronization method
JPH11261552A (en) * 1998-03-09 1999-09-24 Fujitsu Ltd Clock switch device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US2986723A (en) * 1960-02-26 1961-05-30 Bell Telephone Labor Inc Synchronization in a system of interconnected units
JPH03188724A (en) * 1989-12-19 1991-08-16 Nec Corp Communication channel control system
WO1995024078A2 (en) * 1994-02-25 1995-09-08 Nokia Telecommunications Oy Hierarchical synchronization method
JPH11261552A (en) * 1998-03-09 1999-09-24 Fujitsu Ltd Clock switch device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7580370B2 (en) 2002-06-21 2009-08-25 International Business Machines Corporation Method and structure for autoconfiguration of network destinations
US7769839B2 (en) 2002-06-21 2010-08-03 International Business Machines Corporation Method and structure for autoconfiguration of overlay networks by automatic selection of a network designated router
JP2016165034A (en) * 2015-03-06 2016-09-08 Necエンジニアリング株式会社 Synchronous network, communication device, synchronization method, and synchronization program

Similar Documents

Publication Publication Date Title
JP3259126B2 (en) Ring transmission system and squelch method for the system
US8339969B2 (en) Distributed ethernet system and method for detecting fault based thereon
JP2663687B2 (en) ATM communication system in dual ring network
US4390984A (en) Status check method for a data transmission system
JP2001326664A (en) Ring configuration method and its node unit
EP1901483A2 (en) Network system and audio signal processor
US5878095A (en) Hierarchical synchronization method
JP2809151B2 (en) Communication network automatic recovery system
EP1901489B1 (en) Network system and audio signal processor
US6765863B1 (en) Network system
EP0667997A1 (en) A hierarchical synchronization method and a telecommunications system employing message-based synchronization
JP3761732B2 (en) Network synchronization controller
EP0453273A2 (en) Loop back method for loop type LAN transmission line
WO2001028165A1 (en) Clock slave-synchronizing method and clock slave-synchronizing device
WO1995024801A2 (en) Hierarchical synchronization method
CN110440391A (en) Loop network guard method, air-conditioning system
JP3241104B2 (en) Clock supply switching method
CN111431652B (en) Self-adaptive main clock competition method and system for multi-stage clock synchronization network
JPH0983529A (en) Atm cell flow controller
WO1998037651A1 (en) Synchronization of telecommunications network
JP4412068B2 (en) Uninterruptible switching system, uninterruptible switching method, and communication station used therefor
JP4187480B2 (en) Clock synchronous switching device
US20090245100A1 (en) Line accommodating device
JP5158689B2 (en) System switching apparatus and method
JP3161955B2 (en) Active / standby transmission line signal selection method and apparatus

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP US

NENP Non-entry into the national phase

Ref country code: JP

Ref document number: 2001530268

Format of ref document f/p: F