NETWORK ARRANGEMENT

Abstract: The invention relates to a network arrangement comprising a system (N) employing message-based synchronization and comprising a plurality of nodes (1 to 10) interchanging signals containing synchronization messages with information about the priority of the respective signal in the internal synchronization hierarchy of the system. In order that the system could, even as far as synchronization is concerned, be connected to an external device or network to which the message-based synchronization employed in the system is unknown, a signal entering the system from an external synchronization source is assigned a selectable standard signature (18b) indicating the priority of the signal from the external synchronization source with respect to the internal signals of the system, the priority indicated by the signature being selectable separately for each signal entering the system .

Description: Network arrangement The invention relates to a network arrangement comprising a system employing message-based synchron- ization and comprising a plurality of nodes inter¬ changing signals containing synchronization messages with information about the priority of the respective signal in the internal synchronization hierarchy of the system. As used in the text below, the term node refers to a junction point between transmission lines in a system. A node may be any device or equipment capable of affecting clock synchronization, such as a branch¬ ing or cross-connection means. Nodes in a system utilizing message-based synchronization are interconnected by transmission lines which the nodes use for data transmission. These lines also forward the clock frequency of the trans¬ mitting party to the receiving party. Each node selects the frequency of a signal from a neighbouring node or the frequency of its own internal clock source as the source of its own clock frequency. In order that all nodes in the system would operate at the same clock frequency, one usually attempts to make the system to synchronize itself with a single clock source called a master source. All system nodes connected directly to the selected master source are thus synchronized with the master source while nodes connected to the nodes adjacent to the master source but not directly connected to the master source are synchronized with these adjacent nodes. Accordingly, each node at a greater distance from the master source synchronizes itself with a node one node spacing closer to the master source. In order that the above-described synchron- ization hierarchy could be established within the system, the system nodes interchange synchronization messages. These messages contain information by means of which individual nodes are able to select a timing source. The system nodes are prioritised and the system tends to synchronize itself with the clock frequency of a node having the highest level of priority. Normally each priority level is assigned to a single system node. Synchronization messages normally contain information about the origin of the clock frequency of the node transmitting the message and the priority of the node as well as a value describing the quality of the clock signal. According¬ ly, a neighbouring node clock frequency which originates from a desired node and which is of the highest quality can be selected by an individual node as the source of its own clock frequency. At the system start-up each node selects its own internal clock source as the source of its clock frequency as it has not yet processed any incoming synchronization messages. After the node has processed the first incoming synchronization messages, it selects the clock frequency of a neighbouring node having the highest level of priority as the source of its clock frequency. After all messages have been distributed over the system and the system has achieved a stable state as far as synchronization is concerned, the system has been synchronized hierarchically with the clock frequency of the master source. Figure 1 shows a system utilizing message-based synchronization in a stable situation. Priorities assigned to the nodes are indicated by numbers within the circles representing the nodes. The smaller the number, the. higher the priority of the node. Syn- chronization messages transmitted by a node n (n = 1...6) are indicated by the reference MSGn. Synchron¬ ization messages transmitted by different nodes usual¬ ly differ from each other and depend on the applied message-based synchronization method. The distribution of the clock frequency from the master clock (node 1) to the other system nodes is illustrated by solid lines. Internodal connections drawn by broken lines are not used in a normal situation for system syn¬ chronization, but they are available in change situations. Message-based synchronization is based on a simple principle that the user defines the syn¬ chronization hierarchy of the nodes by assigning each node a dedicated signature indicating the hierarchical level of the node and that the system synchronizes itself with the defined master clock independently by utilizing, if required, all existing internodal connections. If the connection to the master clock fails, and no alternative connection exists, or if the master clock fails, the system synchronizes itself with a node of the next highest level of hierarchy. Response to a change in synchronization takes place by message interchange between nodes. Message-based synchronization methods of the type described above are described e.g. in US Patents 2,986,723 and 4,837,850, which are referred to for a more detailed description. Messages used in one prior art message-based synchronization method (SOMS) will be described more closely below with reference to Figures 2 and 3. A system employing message-based synchronization forms a kind of closed system, at least as far as syn¬ chronization is concerned (often also with respect to data transmission). This is problematic as there nevertheless exists a need to interconnect different types of networks. In the above-mentioned US Patent 4,837,850, the exchange of a network employing message-based synchronization is connected to a higher-order exchange, whereas the network employs fixed assignments so that all exchanges having a connection to this kind of exchange have the highest priority classification within the network. This arrangement does not allow e.g. flexible connection of a plurality of external synchronization sources to the system. The object of the present invention is to provide a network arrangement by means of which a system employing a message-based synchronization method can be connected flexibly even with respect to synchronization to one or more external devices or networks which do not understand the message-based synchronization method employed in the system. This is achieved by an arrangement according to the invention which is characterized in that at least one external synchronization source to which the message-based synchronization employed in said system is unknown is connected to the system by assigning a signal entering the system from an external synchronization source a selectable standard signature indicating the priority of the signal from the external synchronization source with respect to the internal signals of the system, the priority indicated by the signature being select¬ able separately for each signal entering the system. The idea of the invention is to assign a certain standard signature to the signal of an external net¬ work or device whenever the signal is of adequate quality for use in synchronization. The signature to be assigned can be determined by the user, and so it is easy for the user to place an external signal on a desired level in the synchronization hierarchy. According to a preferred embodiment of the invention the format of the assigned standard signa¬ ture corresponds to the format of the internal syn¬ chronization signature of the system, so that the system node is able to process the external signal in its selection process similarly as other signals without any need to modify the internal selection process of the system. When the arrangement according to the invention is used, the system does not necessarily need any high-level clock as the synchronization can be derived from an external network. In the following the invention will be described in more detail with reference to the examples shown in Figures 2 to 6 of the attached drawings, in which Figure 1 illustrates a system employing message- based synchronization when the system is in synchron¬ ization with the clock frequency of the master source; Figure 2 illustrates a network employing self- organizing master-slave synchronization (SOMS) in its initial state; Figure 3 illustrates the network of Figure 2 in a stable state; Figure 4 illustrates the standard signature assignment according to the invention in a first embodiment of the invention; Figure 5 illustrates standard signature assign¬ ment according to the invention in a second embodiment of the invention; Figure 6 illustrates a system employing message- based synchronization and connected to an external network in a case where synchronization is extracted into the system from two junction points; Figure 7 illustrates a system employing message- based synchronization and connected to an external network in a case where synchronization is extracted into the system from a single junction point at a time; and Figure 8 illustrates the use of an external network as a standby clock in the system. Figure 2 illustrates a system employing self- organizing master-slave synchronization (SOMS), which is a message-based synchronizing method known per se. In this specific case, the system comprises five nodes (or devices) assigned SOMS addresses indicated by the reference numerals 1...5 according to their level of hierarchy. (The master node of the system has the smallest SOMS address. ) The nodes interchange messages containing such SOMS addresses. In this way the nodes are able to identify each other by means of the address numbers and establish a synchronization hierarchy so that the whole network can synchronize itself with the master node. As mentioned above, messages transmitted con- tinually in the network are dependent on the applied message-based synchronization method. In addition, the messages are specific for each transmitting node. In the SOMS network a synchronization message contains three different parts: a frame structure, signature and check sum. The SOMS signature is the most important part of the SOMS message. It comprises three consecutive numbers Dl to D3: Dl is the origin of the synchronization fre¬ quency of a node transmitting a SOMS message, i.e. the SOMS address of a node appearing as a master node to the transmitting node. D2 is a distance to a node indicated by Dl. The distance is given as the number of intermediate nodes. D3 is the SOMS address of a transmitting node. Each node (or device) compares continuously incoming SOMS signatures with each other and selects the smallest amongst them. In the signature the different parts Dl, D2 and D3 are combined into a single number by placing them in succession (D1D2D3) (for the sake of clarity, a dash will be inserted between the different parts in the text below as follows: D1-D2-D3). Accordingly, a primary criterion for the selection of the smallest address is the SOMS address (Dl) of a node appearing as the master node to the preceding nodes, i.e. the node tends to be syn¬ chronized with a signal having a frequency originally derived from a node with the smallest possible address. In a stable situation, the whole network is thus synchronized with the same master node (as the master node of the whole network has the smallest SOMS address). If two or more of the incoming signals are synchronized with the same master node, the one arriving over the shortest path (D2) is selected. The last criterion for selection is the SOMS address (D3) of the node transmitting the SOMS message, which is used for the selection if the incoming signals cannot be distinguished from each other in any other way. After the node has accepted one of the neighbouring nodes as its new synchronization source on the basis of an incoming SOMS signature, it has to regenerate its own SOMS signature. The new SOMS signature can be derived from the selected smallest SOMS signature as follows: the first part (Dl) is left intact; the second part (D2) is incremented by one, and the third part (D3) is replaced with the node's own SOMS address. Each node also has its own internal SOMS signature X-O-X, where X is the SOMS address of the node. If none of the incoming SOMS messages contains a signature smaller than the internal signature, the node uses its own internal oscillator or possibly a separate synchronization input as the source of clock frequency. Of course, the outgoing SOMS message thereby employs the internal SOMS signature. The nodes transmit continuously SOMS messages in all directions in order that any changed data in the SOMS signatures would be distributed as rapidly as possible and that they would know the current operat- ing condition of neighbouring nodes. The SOMS signa¬ tures cannot be compared with each other until the incoming SOMS messages have been accepted and the SOMS signatures have been extracted from the messages. When the first SOMS message is received from a specific transmission line, the SOMS signature con¬ tained therein is accepted immediately for comparison if the message is faultless. When the incoming trans¬ mission line has an accepted SOMS signature and fault¬ less messages containing the same signature are re- ceived continuously, the situation remains unchanged. If the SOMS message is found to be faulty, the current SOMS signature is retained until three successive faulty SOMS messages have been received. At this stage the old SOMS signature is no longer accepted for comparison. Waiting for three successive SOMS messages aims at eliminating temporary disturbances. If no SOMS message is received from the line and there is no line failure, the current SOMS signature is rejected only after a period of time corresponding to three successive SOMS messages. If the line fails totally, the SOMS signature is rejected immediately. If no appropriate SOMS signature is available for comparison due to disturbances in the incoming signal, the SOMS signature of the transmission line is rejected. A constant-value signature where all parts (Dl, D2, D3) have their maximum value (MAX-MAX-MAX) is thereby used in the comparison as the SOMS signature of this incoming transmission line. When a new changed SOMS signature is detected in an incoming SOMS message, it is accepted immediately for comparison, if the message is faultless. In this way there will be no unnecessary delays in network changes. Initially each node employs its own internal synchronization source, and transmits its own internal SOMS signature X-O-X to the other nodes. This signa¬ ture is also compared with incoming SOMS signatures. If none of the incoming signatures is smaller than the internal signature, the node continues to use its own internal timing. In Figure 2, the SOMS network is shown in an initial state when none of the nodes (or devices) has yet processed any one of the incoming SOMS messages. In all nodes, the highest priority is assigned to the internal SOMS signature of the node as no other signatures have yet been processed. In Figure 2, the SOMS signatures are indicated beside each node to which they are transmitted, and the selected signature is written within the frame (in the initial situation shown in Figure 2 all nodes employ their internal timing source). Lines used in synchronization are drawn by a continuous line and standby lines are drawn by a broken line (in the initial situation shown in Figure 2, all lines are standby lines). When the nodes start to process the incoming SOMS messages, node 1 retains the use of the internal timing, nodes 2 and 4 synchronize themselves with node 1 on the basis of the signature 1-0-1, node 3 is synchronized with node 2 (2-0-2), and node 5 with node 3 (3-0-3). At the same time the nodes generate their own new SOMS signatures as described above and provide their outgoing SOMS message with the new signature. The network in a stable situation is shown in Figure 3. All nodes have synchronized with the master node 1 over the shortest possible path. In order to enable the connection of the above- described system employing message-based synchroniza¬ tion to a device or network which does not understand message-based synchronization, an interface is provided between the system utilizing message-based synchronization and the network or device. The inter¬ face exhibits appropriate synchronization methods on its both sides. A signal entering the system employing message-based synchronization through the interface is assigned a standard synchronization signature in the system node where the signal is received, and so the external signal participates in the message-based synchronization with this signature. The external signal can thus be processed in the node of the system employing message-based synchronization similarly as the internal signals of the system by utilizing a synchronization signature. Furthermore, the system employing message-based synchronization should also be capable of transmitting appropriate messages if such messages are used in the external network. The interface should also contain the basic algorithms of the synchronization method of the external network if messages or state bits are to be forwarded to the external network. As the present invention, however, relates to the connection of an external source as a timing source to a system employ¬ ing message-based synchronization, and as the type of the source may vary, forwarding messages or bits in the other direction will not be described more closely herein. In practice, there are two different altern¬ atives for the implementation of the arrangement according to the invention: (1) the standard signature is generated at the interface of each signal entering the system, or (2) the standard signature is generated in a centralized manner in the synchronization de¬ cision process of the interconnecting node. These alternatives appear from Figures 4 and 5, which show means required to generate the standard signature in a node contained in a system employing message-based synchronization and connected to an external source by a transmission line. The external source may be either an external network (which does not understand message -based synchronization) or an individual external device acting as a timing source. Figure 4 illustrates the generation of the standard signature at the interface of an incoming signal. The figure shows two signals (A and B) re¬ ceived at a system device from neighbouring devices. Signal A originates from the system's own node and contains a synchronization message which is extracted by a signal reception means 13 and then forwarded to an associated synchronization message reception means 16. The synchronization message reception means ascertains that the message is faultless and then forwards the message 18a further to a centralized synchronization decision means 20 having one input connected to the output of the reception means 16. The signal reception means 13 also supervises the signal quality and stores data thereon in a first fault database 24. The synchronization message reception means 16 also obtains the fault data from the database 24. If the incoming signal A is not of adequate quality for synchronization, the synchronization message reception means 16 prohibits its use. This can be done by separately prohibiting the use of the signal; alternatively, the incoming signature can be set to the largest possible value so that in practice it will not in any case be used for synchronization. As signal B originates from an external network or an individual external device, it does not contain any synchronization message. A signal reception means 14 supervises the state of signal B and forwards information about its current state to another fault database 25. A synchronization message reception means 17 obtains information about the state of the signal from the fault database 25. The output of the syn¬ chronization message reception means 17 is connected to another input in the decision means 20. When signal B is of adequate quality, the synchronization message reception means 17 forwards a standard synchronization signature 18b, assigned in advance to signal B by the user, to the synchronization decision means 20. The more precise format of the synchronization signature depends on the applied message-based synchronization system (the format preferably corresponds to the internal synchronization signature of the synchron¬ ization system). If signal B is not of adequate quality for synchronization, the synchronization message reception means 17 prohibits its use. Similarly as above, this may be done by separately prohibiting the use of the signal or by setting the incoming signature to the largest possible value. The decision means 20 compares the messages and makes up a priority list for synchronization. The list is stored in a memory 21. The highest status on the priority list is assigned to an active clock source having the "best" synchronization signature complying with the applied message-based synchronization method. Figure 5 shows the other alternative for the implementation of the invention, i.e. the centralized generation of the standard signatures in connection with the synchronization decision process. Even in this case, signal A originates from the system's internal device and contains a synchronization message. The signal reception means 13 forwards the synchronization message to an associated interface- specific synchronization message reception means 18 having an output connected to the decision means 20. The reception means 18 checks the message and then forwards it to the synchronization decision means 20, which makes up a priority list for synchronization and stores it in the memory 21. The reception means 13 forwards the fault data of signal A directly to the centralized fault database 16, from which the decision means 20 obtains the data and is able to invalidate the synchronization signature of signal A in a fault situation. Signal B again originates from an external source, and does not contain any synchronization message. The signal reception means 14 forwards the status data directly into a common fault database 26, from which the node synchronization decision means 20 obtains them. When signal B is of adequate quality, the synchronization decision means 20 assigns a (standard) synchronization signature defined in advance by the user to the signal. When the signal is of inadequate quality, the synchronization decision means 20 sets the synchronization signature of signal B to the largest possible value or prohibits its use in some other way. In the former case, the standard signature has the lowest status on the priority list of the memory 21. The invention can be applied as described above for connecting an individual external synchronization source to a system employing message-based synchron¬ ization or for interconnecting two different systems when one of the systems does not know message-based synchronization. By way of example, an application of the invention in the interconnection of a separate network N employing SOMS and a public network Nl (Figure 6) which does not know SOMS will be described. The public network may employ e.g. conventional master-slave synchronization. Different networks to be interconnected have a certain hierarchical order in which they are syn¬ chronized with each other. The relation of external networks to the SOMS network is determined in connection with the assignment of standard SOMS signatures to lines entering the SOMS network. If the smallest possible signature (0-0-0) is assigned as the standard signature according to the invention, then the external network is above the SOMS network in synchronization and the master node of the SOMS network will be a node connected to the external network. The master node thus transmits the signature 0-1-X as its own signature, where X is the node's own SOMS address. In other words, the assigned standard signature 0-0-0 is processed in the same way as the other incoming SOMS signatures. If the SOMS network is to be ranked above the external network, the largest possible SOMS signature is assigned to the incoming line as the standard signature, and so it will not in any case be used as a synchronization source. The invention also enables several connection points to the same external network to be provided in a network employing message-based synchronization (such as a SOMS network). If the external network is ranked below the SOMS network in the synchronization hierarchy, there is nothing new in the situation for the SOMS network. If one or more higher-level external networks are connected to the SOMS network at one or more points, the distribution of synchronization within the SOMS network has to be decided separately in connection with the assignment of standard signatures to the external connections and the numbering of the SOMS network. For example, synchronization may be extracted from a single point and then a synchronization tree is built up from this point downward. Alternatively, synchronization may be extracted from several connection points and a smaller synchronization tree built up separately below each point. If synchronization is extracted normally from a single point, the entire synchronization tree has to be rebuild when this primary link fails. (The term synchronization tree refers to the hierarchical tree¬ like structure which can be build beginning from the master node in master-slave synchronization). In Figures 6 and 7, the SOMS network N, for instance, is connected at two points, i.e. nodes SI and S2, to an external network Nl. Figure 6 shows a situation in which synchronization is extracted from both connection points, in which case the synchroniza¬ tion tree has been built starting from both connection nodes SI and S2 (cf. the node numbering and the connections indicated by a continuous line). Figure 7 illustrates the latter one of the cases described above, in which synchronization is extracted only through node SI. Synchronization through the other connection point (node S2) is used only if syn¬ chronization through node SI is lost. In this respect it is to be noted that synchronization derived through node S2 is also assigned a signature having a higher priority than that of the highest-priority node in the SOMS network. If the master node of the system has a high- quality clock, and the frequency of the clock is to be used for system synchronization, the clock frequency of the external network can be used as a standby clock according to the invention. In the example shown in Figure 8, the master node 1 of the system has an appropriate clock for use as a system timing source. This clock, however, is the only clock of adequate quality in the system which can be used as the master clock. If the connection to the master node 1 fails, the system is synchronized with the frequency of the external network, to which the next highest value (MSG 2 ) (non-existent in the system) with respect to the highest value of the master node of the system is assigned. Even though the invention has been described above with reference to the examples of the attached drawings, it is obvious that the invention is not restricted to them but can be modified within the inventive idea disclosed above and in the attached claims.

Claims: Claims: 1. Network arrangement comprising a system (N) employing message-based synchronization and comprising a plurality of nodes (1 to 10) interchanging signals containing synchronization messages with information about the priority of the respective signal in the internal synchronization hierarchy of the system, c h a r a c t e r i z e d in that at least one external synchronization source (Nl) to which the message-based synchronization employed in said system (N) is unknown is connected to the system by assigning a signal entering the system from an external syn¬ chronization source a selectable standard signature (18b) indicating the priority of the signal from the external synchronization source with respect to the internal signals of the system, the priority indicated by the signature being selectable separately for each signal entering the system. 2. Arrangement according to claim 1, c h a r a c t e r i z e d in that the format of the standard signature corresponds to the format of the internal synchronization signature of the system. 3. Arrangement according to claim 2, c h a r a c t e r i z e d in that the standard signature is generated separately from the internal synchronization signatures of the system in a signal interface (14, 17, 25) comprised in a system node (SI, S2) to which a signal from the synchronization source is connected and receiving said signal. 4. Arrangement according to claim 2, c h a r¬ a c t e r i z e d in that the standard signature is generated in a centralized manner together with the internal synchronization signatures of the system in a centralized decision means (20) of a system node (SI, S2) to which a signal from the synchronization source is connected. 5. Arrangement according to claim 2, c h a r - a c t e r i z e d in that when a signal from an external synchronization source is found to be faulty, it is assigned a standard signature corresponding to the lowest possible priority. 6. Arrangement according to claim 2, c h a r¬ a c t e r i z e d in that the external synchroniza- tion source is connected to more than one system nodes, and the standard signature is formed in a node (SI, S2) to which a signal from the synchronization source is connected, and that each one of said nodes assigns the same standard signature with the highest possible priority. 7. Arrangement according to claim 2, c h a r¬ a c t e r i z e d in that the external synchroniza¬ tion source is connected to more than one system nodes, and the standard signature is formed in a node (SI, S2) to which a signal from the synchronization source is connected, and that each one of said nodes assigns a different standard signature so that one of said nodes assigns a signature corresponding to the highest possible priority, and the other nodes assign a signature corresponding to a priority lower than the priority of a preceding signature. 8. Arrangement according to claim 2, c h a r¬ a c t e r i z e d in that the external synchroniza¬ tion source is used as a standby clock in the system by assigning a standard signature to a signal entering the system from the external synchronization source, said standard signature having the second highest level of priority after the signatures transmitted by the master node of the system. 9. Arrangement according to claim 1, c h a r- a c t e r i z e d in that the external synchroniza¬ tion source comprises an external network employing a synchronization method different from the message- based synchronization employed in said system. 10. Arrangement according to claim 1, c h a r¬ a c t e r i z e d in that the external synchroniza¬ tion source comprises an individual device outside the system.

Inventors: KAINULAINEN JUKKA, KAINULAINEN, JUKKA
Applicants: KAINULAINEN JUKKA, NOKIA TELECOMMUNICATIONS OY, KAINULAINEN, JUKKA
Application year: 1993
Main classification: H04J3
IPC codes: H04J3, H04L7, H04L12