FI91691C - Hierarchical synchronization method - Google Patents

Hierarchical synchronization method Download PDF

Info

Publication number
FI91691C
FI91691C FI925074A FI925074A FI91691C FI 91691 C FI91691 C FI 91691C FI 925074 A FI925074 A FI 925074A FI 925074 A FI925074 A FI 925074A FI 91691 C FI91691 C FI 91691C
Authority
FI
Finland
Prior art keywords
node
synchronization
identifier
nodes
soms
Prior art date
Application number
FI925074A
Other languages
Finnish (fi)
Swedish (sv)
Other versions
FI925074A0 (en
FI91691B (en
Inventor
Jukka Kainulainen
Original Assignee
Nokia Telecommunications Oy
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 Nokia Telecommunications Oy filed Critical Nokia Telecommunications Oy
Priority to FI925074A priority Critical patent/FI91691C/en
Publication of FI925074A0 publication Critical patent/FI925074A0/en
Priority to DE4395760T priority patent/DE4395760T1/en
Priority to GB9509026A priority patent/GB2287158B/en
Priority to AU54221/94A priority patent/AU5422194A/en
Priority to PCT/FI1993/000457 priority patent/WO1994011964A1/en
Application granted granted Critical
Publication of FI91691B publication Critical patent/FI91691B/en
Publication of FI91691C publication Critical patent/FI91691C/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/0679Clock or time synchronisation in a network by determining clock distribution path in a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

9169191691

Hierarkkinen synkronointimenetelmåHierarchical synchronization method

Keksinnon kohteena on oheisten patenttivaatimusten 5 1 ja 4 johdanto-osien mukainen hierarkkinen synkronointi menetelmå, jota kåytetåån sanomapohjaista synkronointia kåyttåvåsså tietoliikennejarjestelmåsså.The invention relates to a hierarchical synchronization according to the preambles of the appended claims 5 1 and 4 in a method used in a communication system using message-based synchronization.

Tåsså esityksesså kåytetåån jarjestelmån siirtoyh-teyksien risteyskohdista nimitystå solmu. Solmu voi olla 10 mikå tahansa laite tai laitteisto, joka pystyy puuttumaan kellotahtiin, esim. haaroitin- tai ristikytkentålaite.In this presentation, the system uses the node referred to as the junction of the transmission links. The node may be any device or apparatus capable of interfering with the clock rate, e.g. a branch or cross-connect device.

Sanomapohjaista synkronointia kayttavan j ar jestelman solmut on kytketty toisiinsa siirtoyhteyksillå, joita ne kayttavat tiedonsiirtoon. Kaytetyt yhteydet vålittåvåt 15 myos lahettajan kellotaajuuden vastaanottajaile. Kukin solmu valitsee oman kellotaajuutensa lahteeksi joko jonkin naapurisolmulta tulevan signaalin taajuuden tai oman si-såisen kellolahteensa taajuuden. Jotta kaikki jårjestelmMn solmut saataisiin toimimaan samalla kellotaajuudella, 20 pyritåån yleensa saamaan jårjestelma synkronoitumaan yh-teen kellolahteeseen, ns. påålahteeseen. Talloin jarjes-telmån kaikki valittuun påalahteeseen suoraan kytketyt solmut synkronoituvat tåhan paålåhteeseen ja naihin yh-teydessa olevat, mutta ilman suoraa yhteytta paalahteeseen 25 olevat solmut synkronoituvat naihin påalahteen vieresså • oleviin solmuihin. Vastaavasti aina kauempana paalahteesta olevat solmut synkronoituvat aina niihin solmuihin, jotka ovat yhta yhteysvalia lahempana paalahdetta.The nodes of a system using message-based synchronization are interconnected by the transmission links they use to communicate. The connections used also forward 15 to the senders of the sender's clock frequency. Each node selects either the frequency of a signal from a neighboring node or the frequency of its own internal clock source as the source of its own clock frequency. In order to make all the nodes of the system operate at the same clock frequency, 20 efforts are usually made to cause the system to synchronize to one clock source, the so-called påålahteeseen. In this case, all nodes in the system directly connected to the selected main source are synchronized with the nodes connected to this main source and these, but without a direct connection to the main source 25, are synchronized with these nodes next to the main source. Correspondingly, nodes that are always farther away from the bale are always synchronized to those nodes that are one connection closer to the bale.

Jotta edellå kuvatun kaltainen synkronointihierarkia 30 saataisiin rakennettua jarjestelman sisalle, valittavat jSrjestelman solmut toisilleen synkronointisanomia. Nama sanomat sisåltåvåt tietoja, joiden avulla yksittåiset solmut pystyvåt valitsemaan ajastuksen låhteen. Jarjestelman solmut on priorisoitu ja jårjestelma pyrkii synkronoi-35 tumaan sen solmun kellotaajuuteen, joka on korkeiromalla 91691 2 prioriteettitasolla. Samalla prioriteettitasolla on nor-inaalisti vain jårjestelmån yksi solmu. Normaalisti synkronointisanomat sisåltåvåt tiedon siitå, keneltå sanoman låhettåvån solmun kellotaajuus on peråisin, mikå on ko.In order to build a synchronization hierarchy 30 as described above within the system, the nodes of the system select synchronization messages to each other. These messages contain information that allows individual nodes to select the timing source. The nodes in the system are prioritized and the system tends to synchronize to the clock frequency of the node that is at the 91691 2 priority level. At the same priority level, there is normally only one node in the system. Normally, the synchronization messages contain information on who the clock frequency of the node sending the message is from, which is.

5 solmun prioriteetti, ja kellosignaalin laatua kuvaavan arvon. Nain yksittåinen solmu voi valita oman kellotaa-juutensa låhteeksi sen naapurisolmun kellotaajuuden, joka on peraisin halutulta solmulta ja joka on laadultaan paras.5 node priority, and a value describing the quality of the clock signal. Thus, a single node can select the clock frequency of the neighboring node that originates from the desired node and is of the best quality as the source of its own clock frequency.

10 Jårjestelmån kåynnistysvaiheessa jokainen solmu valitsee kellotaajuutensa låhteeksi oman sisaisen kello-låhteenså, koska yhtåån sisaåntulevaa synkronointisanomaa ei ole ehditty kasitella. Kun ensimmaiset sisåantulevat synkronointisanomat on ehditty kasitellS, valitaan oman 15 kellotaajuuden låhteeksi korkeimman prioriteetin omaavan naapurisolmun kellotaajuus. Kun jårjestelmå on saavuttanut synkronoinnin kannalta stabiilin tilan kaikkien sanomien levittyå jårjestelmåån, on jårjestelmå synkronoitunut hierarkkisesti påålåhteen kellotaajuuteen.10 During the system start-up phase, each node selects its clock frequency as its own internal clock source because no incoming synchronization message has been processed. When the first incoming synchronization messages have been processed, the clock frequency of the neighbor with the highest priority is selected as the source of its own clock frequency. When the system has reached a stable state in terms of synchronization after all the messages have been spread in the system, the system is hierarchically synchronized to the clock frequency of the source.

20 Kuviossa 1 on esitetty sanomapohjaista synkronointia kåyttåvå jårjestelmå stabiloituneessa tilanteessa. Sol-muille mååritellyt prioriteetit on merkitty numeroilla solmuja kuvaavien ympyroiden sisåån. Mitå pienempi numero on, sitå korkeampi on solmun prioriteetti. Solmun n (n = 25 1...6) låhettåmåt synkronointisanomat on merkitty vii- tenumerolla MSGn. Jokaisen solmun låhettåmå synkronoin-tisanoma on yleensåå erilainen ja kåytetystå sanomapohjai-sesta synkronointimenetelmåstå riippuva. Kellotaajuuden leviåminen pååkellolta (solmu 1) jårjestelmån muille sol-30 muille on esitetty yhtenåisillå viivoilla. Katkoviivalla piirrettyjå solmujen vålisiå yhteyksiå ei kåytetå normaa-litilanteessa jårjestelmån synkronointiin, mutta ne ovat kåytettåvisså muutostilanteissa.Figure 1 shows a system using message-based synchronization in a stabilized situation. The priorities defined for the sol are marked with numbers inside the circles describing the nodes. The lower the number, the higher the node's priority. The synchronization messages sent by node n (n = 25 1 ... 6) are marked with the reference number MSGn. The synchronization message sent by each node is generally different and depends on the message-based synchronization method used. The propagation of the clock frequency from the main clock (node 1) to the other nodes of the system to the other nodes is shown by solid lines. Connections between nodes drawn with a dashed line are not used in a normal-situation to synchronize the system, but they are available in a change situation.

Yksinkertainen periaate sanomapohjaisessa synk-35 ronoinnissa on, ettå kåyttåjå måårittelee solmujen synk-A simple principle in message-based synchronization is that the user defines the sync of the nodes.

IIII

3 91691 ronointihierarkian, antamalla kullekin solmulle oman tun-nisteen, joka kertoo solmun tason hierarkiassa, ja jårjes-telmå synkronoituu mååriteltyyn påakelloon itsenåisesti kåyttåen tarpeen vaatiessa kaikkia olemassa olevia solmu-5 jen vålisiå yhteyksiå hyvåkseen (vrt. kuvio 1) . Mikåli yhteys påakelloon katkeaa, eikå vaihtoehtoista yhteyttå ole olemassa, tai pååkello vikaantuu, synkronoituu jårjes-telmå seuraavaksi korkeimmalla tasolla olevaan solmuun. Kuviossa 2 on esitetty tilanne, kun kuvion 1 mukaisessa 10 jårjestelmåsså pååkello vikaantuu. Muutokseen reagointi synkronoinnissa tapahtuu solmujen vålisen sanomanvaihdon avulla. Kun solmuun saapuva ajastus katkeaa, rakennetaan synkronointihierarkia uudelleen katkoskohdasta eteenpåin (poispåin jårjestelmån påålaitteesta). Tåmå tapahtuu esim.3,91691 roning hierarchy, giving each node its own identifier indicating the level of the node in the hierarchy, and the system synchronizes to the defined main clock independently, using all existing connections between the nodes (5) as needed. If the connection to the main clock is lost, there is no alternative connection, or the main clock fails, it is synchronized to the next highest level node in the system. Fig. 2 shows a situation when the main clock fails in the system 10 according to Fig. 1. The response to the change in synchronization is through inter-node messaging. When the incoming timer is interrupted, the synchronization hierarchy is rebuilt forward from the point of interruption (away from the system master). This happens e.g.

15 siten, ettå katkoksen ensimmåisenå huomannut solmu menee ensin mååråajaksi sisåisen ajastuksen tilaan ja vålittåå tiedon muutoksesta eteenpåin, jolloin alkaa uuden synk-ronointihierarkian muodostaminen. Yleenså lopputuloksena on alkuperåisen kaltainen hierarkiarakenne, jossa vikaan-20 tunut yhteys on korvattu toimivalla yhteydellå, muun ra-kenteen såilyesså låhes muuttumattomana.15 so that the node that first notices the interruption first goes to the state of the internal timing as a determinant and forwards the change of information, at which point the formation of a new synchronization hierarchy begins. Usually, the end result is a hierarchical structure similar to the original one, in which the faulty-20 connection is replaced by a functional connection, while the rest of the structure remains almost unchanged.

Sanomapohjaista synkronointia kåyttåvåå verkkoa on kuvattu esim. US-patenteissa 2,986,723 ja 4,837,850. Mo-lemmissa patenteissa esitetaan menetelmåt, joissa kåyte-25 tåån jårjestelmån vikatilanteissa jårjestelmån koosta ja muodosta riippuvia mååråaikoja, joiden ajaksi solmut siir-tyvåt pakotetusti ennalta mååråttyyn vakiotilaan, jotta estettåisiin våårånlainen synkronoituminen vikatilanteiden yhteydesså. Vikatilanteissa vålitetåån tieto vikaantumi-30 sesta edellå esitettyyn tapaan jårjestelmån sanomien avulla. Kun tieto muuttuneesta tilanteesta on levinnyt koko jårjestelmåån tai riittåvån laajalle alueelle, rakennetaan synkronointi uudelleen muutoskohdan luona ja mahdollisesti kauempanakin, mikåli tåhån on tarvetta. Mååråaikojen avul-35 la varmistetaan, ettå tieto muutoksesta leviåå riittåvån 4 91631 laajaile alueelle. Muutoksen/vikaantumisen havaittuaan solmu vålittåå tiedon tasta eteenpain, kaynnistaa oman ajastimensa ja menee ennalta mååriteltyyn tilaan. Kun måå-raaika on kulunut, kaynnistaa solmu jalleen normaalit toi-5 menpiteensa ajastuksen saamiseksi, ja jårjestelmå alkaa synkronoitua uudelleen niilta osin, joita muutos/vikaantu-minen koski. Esillå olevan keksinnon mukainen ratkaisu on on tarkoitettu nimenomaan edella mainitussa US-patentissa 2.986.723 esitetyn kaltaisiin jårjestelmiin, joissa jår-10 jestelmåsså tapahtuva muutos nakyy solmuun sisaantulevan synkronointitunnisteen muuttumisena. US-patentissa 2.986.723 esitetysså jårjestelmassa mainittu vakiotila on sisåisen ajastuksen tila, jossa solmu kåyttåå omaa sisåis-tå kelloaan ajastuksensa låhteenå. Tåsså US-patentissa 15 esitetyn menetelmån mukaista menetelmåå kutsutaan jatkossa itseohjautuvaksi alistuvaksi synkronoinniksi (SOMS, Self-Organizing Master-Slave synchronization) ja sitå kåytetåån jatkossa esimerkkinå keksinnon tarkemmassa kuvauksessa.A network using message-based synchronization is described, for example, in U.S. Patents 2,986,723 and 4,837,850. Both patents disclose methods in which, in the event of a system failure in this system, time limits depending on the size and shape of the system, during which the nodes are forced to enter a predetermined constant state in order to prevent failure. In the event of a fault, information about the fault-30 is transmitted as described above via system messages. When information about the changed situation has spread throughout the system or over a sufficiently large area, the synchronization is rebuilt at the point of change and possibly further afield, if necessary. With the help of the deadlines, it will be ensured that information about the change will spread to a wide area of 4,91631. Upon detecting a change / failure, the node forwards this information forward, starts its own timer and enters a predefined state. When the time expires, the node restarts its normal operations to obtain the timing, and the system begins to resynchronize for those parts affected by the change / failure. The solution according to the present invention is specifically intended for systems such as that described in the aforementioned U.S. Patent 2,986,723, in which a change in the system appears as a change in the synchronization identifier entering the node. In the system disclosed in U.S. Patent 2,986,723, said constant state is an internal timing state in which a node uses its own internal clock as the source of its timing. The method according to the method disclosed in this U.S. Patent 15 is hereinafter referred to as Self-Organizing Master-Slave Synchronization (SOMS) and will be used hereinafter as an example in the more detailed description of the invention.

Mainittakoon vielå tåsmennyksenå, ettå kun tåsså 20 yhteydesså puhutaan mååråajasta, tarkoitetaan sillå sitå ennalta mååråttyå aikaa, jonka avulla jårjestelmåstå on tarkoitus eståå virheellisten/vanhentuneiden synkronoin-tisanomien valitseminen.It should be further clarified that when we refer to a deadline in this connection, it means the predetermined time by which the system is intended to prevent the selection of erroneous / outdated synchronization messages.

SOMS-synkronointimenetelmåå kåyttåvåsså jårjestel-25 måsså aiheuttaa synkronointiyhteyden vikaantuminen tai hierarkkiarakenteen keskellå olevan solmun vikaantuminen synkronointirakenteen hajoamisen osassa jårjestelmåå. Synkronointirakenteen hajottua kåyttåå osa jårjestelmån solmuista ajastukseen omaa sisåistå kelloaan siihen asti 30 kunnes synkronointirakennetta aletaan rakentaa uudelleen.In the system used in the SOMS synchronization method, the failure of the synchronization connection or the failure of the node in the middle of the hierarchical structure in the part of the synchronization structure decomposition in the system. After the synchronization structure is broken, some of the nodes in the system use their own internal clock for scheduling until 30, when the synchronization structure is rebuilt.

Solmun sisåinen kello ei kuitenkaan yleenså koskaan ole laadullisesti yhtå hyvå kuin jårjestelmån pååkello. Tåstå johtuen on synkronoinnissa, varsinkin suurempien jårjes-telmien synkronoinnissa, vaikea yllåpitåå vaadittavaa 35 laatutasoa.However, the internal clock of a node is usually never as good in quality as the main clock of the system. As a result, it is difficult to maintain the required 35 quality levels in synchronization, especially in the synchronization of larger systems.

IIII

5 916915,91691

Esilla olevan keksinnon tarkoituksena on saada aikaan sellainen menetelmå, joissa edella kuvattuja hait-toja on vahennetty ja jossa uudelleen synkronoitumista voidaan nopeuttaa. Tama saavutetaan keksinnon mukaisella 5 menetelmålla, jolle on ensimmaisessa suoritusmuodossaan tunnusomaista se, mita kuvataan oheisen patenttivaatimuk-sen 1 tunnusmerkkiosassa, ja toisessa suoritusmuodossaan se, mita kuvataan oheisen patenttivaatimuksen 4 tunnusmerkkiosassa .It is an object of the present invention to provide a method in which the disadvantages described above are reduced and in which resynchronization can be accelerated. This is achieved by a method according to the invention, characterized in its first embodiment by what is described in the characterizing part of the appended claim 1, and in its second embodiment by what is described in the characterizing part of the appended claim 4.

10 Keksinnon ajatuksena on, sen sijaan, etta mentåisiin automaattisesti esim. sisaisen ajastuksen tilaan, valita vanhan lahteen uusi synkronointitunniste valittomasti, kun sisååntuleva, silla hetkella valittuna oleva synkronointitunniste huononee. Valinta suoritetaan ainakin 15 aina silloin, kun mainittu huonontunut tunniste omaa kor-keamman prioriteettitason kuin solmun sisainen synkronointitunniste. Huonontuneella synkronointitunnisteella tar-koitetaan sitå, etta sitå vastaava synkronointisanoma on edelleen laadullisesti hyvaksyttavissa, mutta sen sisalta-20 ma tunniste on muuttunut prioriteettitasoltaan heikommak-si. Sisååntulevan synkronointitunnisteen huononeminen kertoo jarjestelman paalahteeseen johtavalla yhteydella tapahtuneesta muutoksesta/vikaantumisesta.The idea of the invention is, instead of automatically going into the state of internal timing, e.g., to select a new synchronization identifier for the old bay indiscriminately, when the incoming synchronization identifier currently selected deteriorates. The selection is performed at least 15 whenever said degraded identifier has a higher priority level than the intra-node synchronization identifier. A degraded synchronization identifier means that the corresponding synchronization message is still qualitatively acceptable, but the identifier within it has become lower in priority. Deterioration of the incoming synchronization identifier indicates a change / failure of the system on the connection to the bale source.

Keksinnon mukaisen ratkaisun ansiosta valtetaan 25 turhat sisSisessS ajastuksessa kåynnit (tai vastaavat vakiotilaan siirtymiset), ja jarjestelman synkronointipuu sailyy paremmin ennallaan uudelleen synkronoitumisessa, jolloin katkos paasolmun taajuuden vSlityksessS on lyhyem-pi. Katkostilanteissa selvitaan yhden tai muutaman solmun 10 uudelleen synkronoitumisella sen sijaan, etta kaikki kat-koskohdan alapuolella synkronointipuussa olevat solmut ‘ kavisivat sisaisessa ajastuksessa, kuten tapahtuu tunne-tussa SOMS-menetelmassa. Synkronoitumiseen kuluva koko-naisaika saadaan nain olien entista lyhyemmaksi. Ratkaisun 15 ansiosta vahenee myos katkoskohdan sijainnin merkitys 6 91691 synkronoitumisajassa, minka vuoksi pystytåan ennalta pa-remmin måMrittelemaan jårjestelroan synkronoinnin kayttåy-tyminen eri tilanteissa. (Synkronointipuulla tarkoitetaan sita hierarkista puumaista rakennetta, joka alistuvassa 5 synkronoinnissa syntyy verkkoon paasolmusta lahtien.)Thanks to the solution according to the invention, unnecessary visits (or corresponding transitions to the constant state) are avoided in the internal timing, and the synchronization tree of the system is better preserved in resynchronization, whereby the interruption in the frequency transmission of the main node is shorter. In the case of interruptions, it is resolved by resynchronizing one or a few nodes 10 instead of all the nodes in the synchronization tree below the interruption point creeping in internal timing, as is the case in the known SOMS method. The total time required for synchronization is thus even shorter. Thanks to the solution 15, the significance of the location of the breakpoint 6 91691 in the synchronization time is also reduced, which makes it possible to better define in advance the use of synchronization in the system in different situations. (A synchronization tree refers to that hierarchical tree-like structure that, in submissive 5 synchronization, is created in a network from a main node to a bay.)

Seuraavassa keksintoå ja sen edullisia suoritus-muotoja kuvataan tarkemmin viitaten kuvioiden 3-8 mukai-siin esimerkkeihin oheisissa piirustuksissa, joissa kuvio 1 esittaa sanomapohjaista synkronointia kayt-10 tavaS jårjestelmaa yleisessa muodossa sen ollessa synk-ronoitunut paalahteen kellotaajuuteen, kuvio 2 esittaa kuvion 1 verkkoa, kun sen pååsolmu on vikaantunut, kuvio 3 esittaa itseohjautuvaa alistuvaa synkronoin-15 tia (SOMS) kayttavaa verkkoa alkutilassaan, kuvio 4 esittaa kuvion 3 verkkoa stabiilissa tilas- sa, kuvio 5 esittSM kuvion 4 verkon uudelleen synkronoi-tumista sen paasolmun mentya epakuntoon, 20 kuvio 6 esittaa kuvion 4 verkon uudelleen synkronoi- tumista kahden solmun vaiisen yhteyden katkettua, kuviot 7a-7g esittavat tapahtumasarjana keksinndn mukaisen menetelman soveltamista SOMS-jarjestelmassa, ja kuvio 8 esittaa yksittaisen solmun niita elimia, 25 joissa keksinndn mukainen menetelma toteutetaan.In the following, the invention and its preferred embodiments will be described in more detail with reference to the examples of Figs. 3-8 in the accompanying drawings, in which Fig. 1 shows a message-based synchronization system in general form synchronized with the bale clock frequency, Fig. 2 shows when its main node has failed, Fig. 3 shows the network using self-directed slave synchronization (SOMS) in its initial state, Fig. 4 shows the network of Fig. 3 in a stable state, Fig. 5 shows the resynchronization of the network of Fig. 4 after its main node has failed, Fig. 6 shows the resynchronization of the network of Fig. 4 after the disconnection of a two-node silent connection, Figs. 7a-7g show the application of the method according to the invention in a SOMS system, and Fig. 8 shows the elements of a single node in which the method according to the invention is implemented.

Kuviossa 3 on esitetty edella mainitun US-patentin 2,986,723 mukaista itseohjautuvaa alistuvaa synkronointia (SOMS, Self-Organizing Master-Slave synchronization) kayttavaa jarjestelma, joka kasittaa tassa tapauksessa viisi 30 solmua (tai laitetta), joita on merkitty viitenumeroilla 1...5 niiden hierarkiatason mukaan. (Verkon påasolmulla on pienin SOMS-osoite.) Solmut valittavat toisilleen sanomia, jotka sisaitavat em. SOMS-osoitteita. Nain solmut pystyvåt tunnistamaan toisensa naiden osoitenumeroiden avulla ja 35 rakentamaan synkronointihierarkian, jolloin koko verkkoFigure 3 shows a system using Self-Organizing Master-Slave synchronization (SOMS) according to the aforementioned U.S. Patent 2,986,723, which in this case encounters five 30 nodes (or devices) denoted by reference numerals 1 to 5 thereof. according to the level of the hierarchy. (The main node of the network has the smallest SOMS address.) The nodes complain to each other of messages that contain the above SOMS addresses. Thus, the nodes are able to identify each other using these address numbers and 35 to build a synchronization hierarchy, so that the entire network

IIII

7 91691 pystyy synkronoitumaan pååsolmuun.7 91691 can synchronize to the main node.

Kuten edella mainittiin, ovat verkossa jatkuvasti låhetettåvåt sanomat riippuvaisia kåytettåvåstå sanomapoh-jaisesta synkronointimenetelmastå. Sanomat ovat lisåksi 5 yksilollisiå jokaista lahettåvaa solmua kohden. SOMS-ver-kossa synkronointisanoma kåsittåå kolme eri osaa: kehysra-kenteen, tunnisteen ja tarkistussumman. SOMS-tunniste on SOMS-sanoman tarkein osa. Se koostuu kolmesta perakkaises-ta numerosta D1...D3: 10 Dl on SOMS-sanoman lahettavan solmun synkronointi- taajuuden alkupera eli lahettavalle solmulle paåsolmuna nakyvan solmun SOMS-osoite.As mentioned above, the messages to be sent continuously in the network depend on the message-based synchronization method used. The messages are additionally 5 unique for each sending node. In a SOMS network, a synchronization message comprises three different parts: a frame structure, an identifier, and a checksum. The SOMS identifier is the most important part of the SOMS message. It consists of three consecutive numbers D1 ... D3: 10 D1 is the origin of the synchronization frequency of the sending node of the SOMS message, i.e. the SOMS address of the node that appears as the main node for the sending node.

D2 on etaisyys Dl:11a ilmaistuun solmuun. Tama etaisyys ilmaistaan vålisså olevlen solmujen lukumåårånå.D2 is the distance to the node indicated by D1. This distance is expressed as the number of nodes in between.

15 D3 on lahettavan solmun SOMS-osoite.15 D3 is the SOMS address of the node to be sent.

Jokainen solmu (tai laite) vertailee jatkuvasti sisååntulevia SOMS-tunnisteita keskenåan ja valitsee nais-tå pienimman. Tunnisteessa osat Dl, D2 ja D3 on yhdistetty suoraan yhdeksi luvuksi laittamalla ne peråkkain (D1D2D3) 20 (selvyyden vuoksi jatkossa kirjoitetaan valiviiva eri osia erottamaan; D1-D2-D3). Nain pienimman osoitteen ensisijai-seksi valintaperusteeksi tulee edellisille solmuille paa-solmuna nakyvan solmun SOMS-osoite (Dl) eli solmu pyrkii synkronoitumaan signaaliin, jonka taajuus on alunperin 25 lahtoisin solmulta, jonka osoite on mahdollisimman pieni. Talloin stabiilissa tilanteessa koko verkko on synkronoi-tunut samaan pSSsolrnuun (koska koko verkon pååsolmulla on pienin SOMS-osoite).Each node (or device) constantly compares the incoming SOMS tags with each other and selects the smallest one. In the identifier, the parts D1, D2 and D3 are directly connected into one number by placing them in sequence (D1D2D3) 20 (for the sake of clarity, a dash will be written in the future to separate the different parts; Thus, the primary selection criterion for the smallest address becomes the SOMS address (D1) of the node appearing as a pa-node for the previous nodes, i.e. the node tends to synchronize to a signal whose frequency is initially 25 from the node whose address is as small as possible. In such a stable situation, the whole network is synchronized to the same pSSsol (because the main node of the whole network has the smallest SOMS address).

Mikåli kaksi tai useampi sisååntulevista signaaleis-30 ta on synkronoitunut samaan pååsolmuun, valitaan nåistå se, joka tulee lyhintå reittiå (D2). viimeiseksi valintaperusteeksi jåå SOMS-sanoman lahettavan solmun SOMS-osoite (D3) , jonka perusteella tehdåån valinta, jos muuten ei saada eroa sisåån tulevien signaalien vålille.If two or more of the incoming signals are synchronized to the same main node, the one that comes from the shortest path (D2) is selected. the last selection criterion remains the SOMS address (D3) of the node sending the SOMS message, on the basis of which a selection is made, if no difference is otherwise obtained between the incoming signals.

35 Kun solmu on hyvåksynyt jonkin naapurisolmuista 8 91691 uudeksi synkronointilåhteekseen sisaåntulevan SOMS-tunnis-teen perusteella, joutuu solmu muodostamaan oman SOMS-tun-nisteensa uudestaan. Uusi SOMS-tunniste saadaan johdettua valitusta pienimmåstå SOMS-tunnisteesta seuraavasti: en-5 simmåinen osa (Dl) jåtetåån koskematta, toista osaa (D2) kasvatetaan yhdellå ja kolmas osa (D3) korvataan solmun oma11a SOMS-osoitteella.35 Once a node has accepted one of the neighboring nodes 8 91691 as its new synchronization source based on the incoming SOMS identifier, the node has to re-establish its own SOMS identifier. The new SOMS identifier can be derived from the selected smallest SOMS identifier as follows: the first part (D1) of the en-5 is left untouched, the second part (D2) is incremented by one and the third part (D3) is replaced by the node's own SOMS address.

Jokaisella solmulla on myos oma sisåinen SOMS-tun-nisteensa X-O-X, jossa X on ko. solmun SOMS-osoite. Mikåli 10 mlkaan sisååntulevista SOMS-sanomista ei sisalla tunnis-tetta, joka on sisåistå tunnistetta pienempi, kåyttåå solmu kellotaajuutensa lahteena omaa sisåista oskillaatto-riaan tai mahdollisesti erillistå synkronointituloa. Ulos-lahtevåsså SOMS-sanomassa kåytetåån luonnollisesti tålloin 15 sisåista SOMS-tunnistetta.Each node also has its own internal SOMS identifier X-O-X, where X is the one in question. the SOMS address of the node. If none of the 10 incoming SOMS messages contain an identifier that is smaller than the internal identifier, the node uses its own clock frequency as its source for its own internal oscillator or possibly a separate synchronization input. The outgoing SOMS message naturally then uses 15 internal SOMS identifiers.

Solmut låhettåvåt jatkuvasti SOMS-sanomia jokaiseen suuntaan, jotta muuttuneet tiedot SOMS-tunnisteissa levi-åisivåt mahdollisimman nopeasti ja naapurisolmujen toimin-takunto olisi jatkuvasti selvillå. Ennen kuin SOMS-tunnis-20 teita voidaan verrata keskenåån, sisååntulevat SOMS-sano-mat on hyvåksyttåvå ja SOMS-tunnisteet erotettava niistå.The nodes continuously send SOMS messages in each direction so that the changed information in the SOMS identifiers can be spread as quickly as possible and the operational status of the neighboring nodes is constantly clear. Before SOMS identifiers can be compared with each other, incoming SOMS messages must be accepted and SOMS identifiers must be separated from them.

Kun tietyltå siirtoyhteydeltå saadaan ensimmåisen kerran SOMS-sanoma, sen sisåltåmå SOMS-tunniste hyvåksy-tåån heti vertailuja vårten, mikåli sanoma oli virheeton.When a SOMS message is first received from a particular transmission link, the SOMS identifier it contains is immediately accepted for comparison, provided the message was error-free.

25 Kun sisååntulevalla siirtoyhteydellå on hyvåksytty SOMS- tunniste ja sisåån tulee jatkuvasti saman tunnisteen si-såltåvåå virheetontå sanomaa, pysyy tilanne muuttumattoma-na. Mikåli SOMS-sanoma havaitaan virheelliseksi, pysyttåy-dytåån vielå vanhassa SOMS-tunnisteessa, kunnes on saatu 30 kolme peråkkåistå SOMS-sanomaa virheellisenå. Tålloin ei enåå hyvåksytå ko. SOMS-tunnistetta vertailuun. Kolmen peråkkåisen SOMS-sanoman odottamisella pyritåån eliminoi-maan hetkelliset håiriot pois.25 When an SOMS identifier has been accepted for an incoming transmission connection and an error-free message containing the same identifier is continuously received, the situation remains unchanged. If the SOMS message is found to be invalid, the old SOMS identifier is still retained until three consecutive SOMS messages are received as invalid. In that case, the SOMS tag for comparison. By waiting for three consecutive SOMS messages, the aim is to eliminate momentary disturbances.

Jos yhteydeltå ei tule mitåån SOMS-sanomaa, vaikka 35 yhteys muuten toimisikin, odotetaan kolmen peråkkåisen li 916*1 9 SOMS-sanoman verran, kunnes hylåtåån sen hetkinen SOMS-tunniste. Mikali yhteys menee kokonaan poikki, hylåtåån SOMS-tunniste vålittomåsti. Mikali sisaantulevassa signaa-lissa olevien håirioiden takia ei saada vertailuja vårten 5 kelvollista SOMS-tunnistetta, hylåtåån ko. siirtoyhteyden SOMS-tunniste. Tålloin vertailussa kaytetaån ko. sisååntu-levan siirtoyhteyden SOMS-tunnisteena vakioarvoista tun-nistetta, jossa kaikki osat (Dl, D2 ja D3) saavat maksi-miarvonsa (MAX-MAX-MAX).If no SOMS message arrives from the connection, even if the 35 connection otherwise works, three consecutive li 916 * 1 9 SOMS messages are waited until the current SOMS identifier is discarded. If the connection is completely lost, the SOMS identifier is rejected immediately. If, due to interference in the incoming signal, comparisons for 5 valid SOMS tags are not obtained, the the SOMS identifier of the transport connection. In this case, the comparison uses the as a SOMS identifier of the inbound transmission link, a standard identifier in which all parts (D1, D2 and D3) receive their maximum value (MAX-MAX-MAX).

10 Kun sisååntulevassa SOMS-sanomassa havaitaan uusi muuttunut SOMS-tunniste, hyvaksytåån se heti vertailuun, mikåli sanoma oli virheeton. Nain verkon muutoksille ei aiheuteta turhia viiveitå.10 When a new changed SOMS identifier is detected in an incoming SOMS message, it is immediately accepted for comparison if the message was error-free. This will not cause unnecessary delays for network changes.

Alkutilanteessa jokainen solmu kåyttåå omaa sisåistå 15 synkronointilåhdettåån, jolloin se låhettåå muille sol-muille omaa sisSistS SOMS-tunnistettaan X-O-X. Tåtå tun-nistetta verrataan myos sisaantuleviin SOMS-tunnisteisiin. MikSli mikSSn sisMantulevista tunnisteista ei ole sisåista tunnistetta pienempi, jatkaa ko. solmu oman sisaisen ajas-20 tuksen kåyttoa.In the initial situation, each node uses its own internal synchronization source, in which case it sends its own internal SOMS identifier X-O-X to the other nodes. This tag is also compared to incoming SOMS tags. WHY the incoming tags are not smaller than the internal tags, continues. node use of its own internal timing-20.

Kuviossa 3 SOMS-verkko on esitetty alkutilassa, jolloin mikaan solmu (tai laite) ei ole ehtinyt saada prosessoitua sisaantulevia SOMS-sanomia. Kaikilla solmuil-la korkeimman prioriteetin saa solmun sisainen SOMS-tun-75 niste, koska muita ei viela ole ehditty kåsitellå. Kuviossa 3 on jokaisen solmun luokse merkitty siihen sisåån tulevat SOMS-tunnisteet, ja valittu tunniste on kirjoitet-tu kehyksen sisaan (kuvion 3 mukaisessa alkutilanteessa kaikki solmut kåyttavåt sisåista ajastuslåhdettåån). Synk-30 ronoinnin kåytosså olevat yhteydet on piirretty yhtenåi- sellå viivalla, varalla olevat yhteydet katkoviivalla (kuvion 3 mukaisessa alkutilanteessa kaikki yhteydet ovat varalla).In Figure 3, the SOMS network is shown in the initial state, in which no node (or device) has had time to process incoming SOMS messages. For all nodes, the highest priority is given to the SOMS tun-75 node within the node, because the others have not yet been processed. In Figure 3, each node is marked with the incoming SOMS identifiers, and the selected identifier is written inside the frame (in the initial situation according to Figure 3, all nodes use their internal timing source). The connections in use of the Synk-30 resonance are drawn on a solid line, the spare connections on the dashed line (in the initial situation according to Figure 3, all connections are on the spare line).

Kun solmut ehtivåt kåsitellå sisååntulevia SOMS-sa-35 nomia, solmu 1 pysyttåytyy sisaisen ajastuksen kåytosså, 10 91691 solmut 2 ja 4 synkronoituvat solmuun 1 tunnisteen 1-0-1 perusteella, solmu 3 synkronoituu solmuun 2 (2-0-2) ja solmu 5 solmuun 3 (3-0-3) . Samalla solmut muodostavat omat uudet SOMS-tunnisteensa edellå kuvatulla tavalla ja vaih-5 tavat uloslåhtev&ån SOMS-sanomaansa uuden tunnisteen. Verkon tilanne sen stabiloiduttua on esitetty kuviossa 4. Kaikki solmut ovat synkronoituneet pååsolmuun 1 lyhintå mahdollista reittia.When the nodes have time to process the incoming SOMS-sa-35 names, the node 1 remains in use of the internal timing, the nodes 2 and 4 are synchronized to the node 1 based on the identifier 1-0-1, the node 3 is synchronized to the node 2 (2-0-2) and the node 5 to node 3 (3-0-3). At the same time, the nodes form their own new SOMS identifiers as described above and exchange the new identifier in their outgoing SOMS message. The state of the network after its stabilization is shown in Figure 4. All nodes are synchronized to the main node 1 by the shortest possible route.

MikSli pienin solmuun sisååntulevista SOMS-tunnis-10 teista muuttuu tai haviåa kokonaan yhteyden katkettua, valitsee solmu uuden synkronointisuunnan toiseksi pienim-mån SOMS-tunnisteen mukaan. Tata ennen solmu menee kuiten-kin pakotetusti sisaiseen ajastukseen, jossa se viipyy ennalta mSMråtyn pituisen mååråajan, jotta virheelliset 15 SOMS-tunnisteet ehdittaisiin "tappaa" verkosta pois. Jos esimerkiksi kuvion 4 tilanteessa solmu 1 menisi epåkun-toon, eivat solmut 2 ja 4 enaa saisi tunnistetta 1-0-1, jonka mukaan ne olivat synkronoituneet. Mikåli ne tåssM tilanteessa hyvSksyisivat valittomasti seuraavaksi pienim-20 man SOMS-tunnisteen, ei verkko olisi enaa synkronoitunut yhteen paasolmuun, vaan synkronointi kiertåisi silmukassa. Solmun 1 mennesså epakuntoon solmu 2 saa viela tunnisteet 1-1-4 ja 1-2-3 ja solmu 4 taas tunnisteet 1-1-2 ja 1-2-5, koska solmut 3 ja 5 eivat viela ole ehtineet reagoida 25 muuttuneeseen tilanteeseen. Jos hyvaksyttaisiin vSlitto-: masti toiseksi pienimmat tunnisteet, synkronoituisi solmu 2 solmun 4 mukaan ja solmu 4 solmun 2 mukaan. Tama tilanne estetåån eaellåmainitulla pakotetulla sisaisen ajastuksen tilalla, jolloin ko. solmut siirtyvat kayttåmåån omaa 30 sisaistå ajastuslahdettaan ja alkavat lShettaa ulospåin omaa sisaista SOMS-tunnisteltansa (Χ-0-Χ). Talldin ne * solmut, jotka olivat synkronoituneet sisaiseen ajastukseen siirtyneeseen solmuun huomaavat, etta verkossa on tapahtu-nut muutos, eikå vanha synkronoinnin perustana ollut SOMS-35 -sanoma ole enaa voimassa, koska se on muuttunut naapu- li 11 91691 risolmun sisåiseksi SOMS-sanomaksi. Tålloin mainitut solmut siirtyvåt itsekin mååråajaksi pakotettuun sisåisen ajastuksen tilaan.If the smallest of the incoming SOMS identifiers entering the node changes or disappears completely when the connection is lost, the node selects a new synchronization direction according to the second smallest SOMS identifier. However, before this, the node is forced into internal scheduling, where it lingers for a predetermined length of mSM to allow the invalid SOMS identifiers to "kill" off the network. For example, if, in the situation of Figure 4, node 1 went out of order, nodes 2 and 4 would no longer receive the identifier 1-0-1, according to which they were synchronized. If, in this situation, they inevitably accepted the next smallest SOMS identifier, the network would no longer be synchronized to one main node, but the synchronization would circulate in the loop. When Node 1 fails, Node 2 still receives tags 1-1-4 and 1-2-3 and Node 4 again tags 1-1-2 and 1-2-5, because Nodes 3 and 5 have not yet had time to react to the 25 changed situation. . If the second smallest tags were accepted vSlittom: node 2 would be synchronized according to node 4 and node 4 according to node 2. This situation is prevented by the aforementioned forced internal timing mode, in which case the the nodes switch to using their own 30 internal timing sources and begin to shout out their own internal SOMS identifier (Χ-0-Χ). Those nodes in the store that * synchronized to the node that moved to the internal timing will notice that a change has occurred in the network and that the old SOMS-35 message on which the synchronization was based is no longer valid because it has become an internal SOMS message for neighbor 11 91691. . In this case, the mentioned nodes themselves enter the state of forced internal timing as a determinant.

Jos kuvion 4 tapauksessa menee paasolmu epåkuntoon, 5 menevåt solmut 2 ja 4 vålittomåsti pakotetusti sisaisen ajastuksen tilaan menetettyaan sisaantulevan SOMS-tunnis-teen 1-0-1. Kun solmut 3 ja 5 havaitsevat solmuissa 2 ja 4 tapahtuneen muutoksen, menevat myos ne pakotetusti sisåi-seen ajastukseen. Solmun 2 palatessa normaaliin tilaan se 10 saa solmuilta 3 ja 4 nåiden sisaiset SOMS-tunnisteet (3-0-3 ja 4-0-4) ja pysyttaytyy sisaisesså ajastuksessa, koska ulkoapain ei tule pienempåa SOMS-tunnistetta kuin sen oma sisainen tunniste (2-0-2). Solmu 4 synkronoituu vuorostaan solmuun 2. Verkko on stabiloiduttuaan kuvion 5 esittamassa 15 tilassa, jossa solmusta 2 on tullut verkon uusi paasolmu.If, in the case of Figure 4, the master node fails, the nodes 2 and 4 immediately forcibly enter the internal timing state after losing the incoming SOMS identifier 1-0-1. When nodes 3 and 5 detect a change in nodes 2 and 4, they are also forced to enter the internal timing. When the node 2 returns to the normal state, it 10 receives from the nodes 3 and 4 their internal SOMS tags (3-0-3 and 4-0-4) and stays in the internal timing, because the external pressure does not become a smaller SOMS tag than its own internal tag (2 -0-2). Node 4 in turn synchronizes with Node 2. After stabilizing, the network is in the state 15 shown in Figure 5, where Node 2 has become the new main node of the network.

Jos vain esim. solmujen 1 ja 2 vålinen yhteys katkeaa (kuvio 6), menee vain solmu 2 pakotetusti sisaisen ajastuksen tilaan. Palatessaan normaalitilaan se synkronoituu solmuun 4, jolla on yhteys verkon paasolmuun. Koko verkon 20 stabiloiduttua on synkronointi edelleenkin peraisin solmusta 1 yhdesta katkoksesta huolimatta. Tåma tilanne on esitetty kuviossa 6.If, for example, only the connection between nodes 1 and 2 is lost (Fig. 6), only node 2 is forced to enter the internal timing state. When it returns to normal, it synchronizes with node 4, which is connected to the main node of the network. Once the entire network 20 has stabilized, synchronization will still come from Node 1 despite a single outage. This situation is shown in Figure 6.

Kun synkronointipuun ylemmissa osissa (låhempana jarjestelmån paalahdettå) on tapahtunut katkos t a i jokin 25 muu muutos, jonka seurauksena solmuun tuleva, sillå het-: kellå valittuna olevan ajastuslåhteen synkronointitunniste huononee, koska ei ole enaå vanhaa reittiå pitkin yhteytta jarjestelmån pååsolmuun, valitaan mainitussa solmussa, keksinnon mukaisesti, valittuna olleen ajastuslåhteen 30 uusi, huonontunut synkronointitunniste vålittomåsti uudek-si synkronointitunnisteeksi. (Solmu ei siis menekåån sisaisen ajastuksen tilaan, kuten edellå kuvatussa tunne-tussa ratkaisussa tapahtuu).When there is an interruption or other change in the upper parts of the synchronization tree (closer to the system baler) as a result of which the synchronization identifier of the currently selected timing source in the node deteriorates because there is no longer an old connection, the system is no longer connected. according to, the new, degraded synchronization identifier of the selected timing source 30 is immediately converted to a new synchronization identifier. (Thus, the node does not go into the internal timing state, as happens in the known solution described above).

Kuvioissa 7a-7g on esitetty tapahtumasarja keksinnon 35 mukaisen menetelmån kåytostå SOMS-jårjestelmån osassa, 12 91691 joka kåsittåå solmut 15, 17, 18, 19, 27 ja 30. Kullakin hetkellå pakotetusti mååraajassa olevat solmut on merkitty piirtåmållå niiden numeron alle viiva ja synkronointiin kåytettyjå yhteyksiå on edelleenkin merkitty yhtenåisillå 5 viivoilla. Kuvion 7a esittamassa ensimmåisesså vaiheessa katkeaa solmun 15 yhteys jårjestelmån pååsolmuun påin. Seuraavassa vaiheessa (kuvio 7b) menee solmu 15 pakotetusti sisaisen ajastuksen tilaan ja alkaa låhettaa sisåista synkronointitunnistettaan. Talloin solmuihin 18 ja 19 10 sisååntuleva, niissa silla hetkellå valittuna oleva synk-ronointitunniste huononee, jolloin ne valitsevat muuttu-neen tunnisteen vålittomåsti uudeksi synkronointi-tunnisteekseen ja muodostavat taman pohjalta uuden oman uloslahtevån tunnisteen (kuvio 7c). Solmut 18 ja 19 joutu-15 vat pakotetusti pysyttaytymaan uudessa, muuttuneessa tun-nisteessa ennalta maaråtyn maaraajan ennen kuin ne saavat vapaasti valita kaikista sisaantulevista synk-ronointitunnisteista pienimman (parhaimman). Tama keksin-ηδη mukainen pakotettu muuttuneen tunnisteen automaattinen 20 valitseminen leviåå synkronointipuussa alaspåin muuttamat-ta sita. Kuvion 7d esittamassa vaiheessa se on saavuttanut solmut 27 ja 30. Seuraavassa vaiheessa (kuvio 7e) on solmun 15 maSraaika umpeutunut ja se saa vapaasti valita ajastuksensa låhteen sisaan tulevien synkronointitunnis-25 teiden joukosta. Koska muualta ei kuitenkaan tule parempaa synkronointitunnistetta, solmu 15 pysyy vapaaehtoisesti sisaisessa ajastuksessa. Kuvion 7f esittamassa vaiheessa umpeutuvat myos solmujen 18 ja 19 maaraajat. Solmu 18 saa solmulta 17 jårjestelmån påålåhteestå peråisin olevan 30 tunnisteen ja synkronoituu sen perusteella, mutta solmu 19 pysyttåytyy vanhassa tilassa, koska se ei saa muualta parempaa tunnistetta kuin solmulta 15 tuleva tunniste. Kuvion 7g esittamassa vaiheessa ovat solmut 15 ja 19 ehti-neet kåsitellå solmun 18 låhettåmån uuden, edellisen vai-35 heen muutosten takia muuttuneen tunnisteen. Solmut 15 jaFigures 7a-7g show a sequence of events from the use of the method according to the invention in a part of the SOMS system, 12 91691, comprising nodes 15, 17, 18, 19, 27 and 30. connections are still marked with solid 5 lines. In the first step shown in Figure 7a, the connection of the node 15 to the main node of the system is lost. In the next step (Fig. 7b), the node 15 forcibly enters the internal timing state and starts transmitting its internal synchronization identifier. In this case, the synchronization identifier entering the nodes 18 and 19 10, which is currently selected in them, deteriorates, whereby they immediately select the changed identifier as their new synchronization identifier and on this basis form a new own outgoing identifier (Fig. 7c). Nodes 18 and 19 are forced to stop at a new, changed identifier with a predetermined identifier before they are free to choose the smallest (best) of all incoming synchronization identifiers. This forced automatic selection of the changed identifier according to the invention ηδη spreads down in the synchronization tree without changing it. In the step shown in Fig. 7d, it has reached the nodes 27 and 30. In the next step (Fig. 7e), the timeout of the node 15 has expired and it is free to choose its timing from among the synchronization identifiers 25 entering the source. However, since there is no better synchronization identifier elsewhere, the node 15 voluntarily remains in the internal timing. In the step shown in Figure 7f, the delimiters of nodes 18 and 19 also expire. Node 18 receives 30 synchronizations from node 17 from the system source and synchronizes based on them, but node 19 remains in the old state because it does not receive a better identifier elsewhere than the identifier from node 15. In the step shown in Figure 7g, the nodes 15 and 19 have had time to process the new identifier sent by the node 18, which has changed due to changes in the previous step. Nodes 15 and

IIII

13 91691 19 synkronoituvat tålloin jårjestelmån påålåhteeseen sol-roun 18 kautta. Solmujen 27 ja 30 mååråajat ovat umpeutu-neet, mutta niillå ei ole tarvetta vaihtaa ajastuksensa låhteitå, koska muualta ei tule parempaa synkronointitun-5 nistetta. Kuten kuvasarjasta voidaan havaita (esim. kuvio 7d) , kåytetåån solmujen valisiå yhteyksia synkronointiin myos silloin, kun solmu on pakotetusti maåraajassa.13 91691 19 are then synchronized to the main source of the system via sol-roun 18. The determinants of nodes 27 and 30 have expired, but they do not need to change their timing sources because there will be no better synchronization identifier elsewhere. As can be seen from the sequence of images (e.g., Figure 7d), node-to-node connections are used for synchronization even when the node is forcibly at the limit.

EdellM mainitun mååråajan minimipituus vastaa edul-lisesti aikaa, joka kuluu siihen, etta solmun naapu-10 risolmut ovat saaneet tiedon solmun siirtymisestå mainit-tuun vakiotilaan, reagoineet muutokseen ja solmu itse on saanut naapurisolmuilta tiedon niiden reagoinnista. Tåmå mååraaika voidaan laskea seuraavan kaavan avulla: (1) K = 2 x (S + H + V) , 15 misså S on maksimikesto synkronointisanoman muodosta-miselle ja sen siirrolle kahden solmun vålillå, H on synkronointisanoman hyvåksymisen maksimikesto solmussa ja V on sisååntulevien synkronointitunnisteiden vertailun maksimikesto solmussa. Kåyttåmållå mååråajan pituutena kaavan (1) 20 mukaista pituutta voidaan synkronointia nopeuttaa edel- leenkin ja mååraaika saadaan jårjestelmån koosta riippu-mattomaksi vakioksi. Mainitun mååråajan kåyttoå ja siitå saavutettavia etuja kuvataan tarkemmin rinnakkaisessa FI-patenttihakemuksessa FI-92xxxx, johon viitataan tarkemman 25 kuvauksen suhteen.The minimum length of said determiner preferably corresponds to the time that elapses after the node's neighbor nodes have been informed of the node's transition to said constant state, reacted to the change, and the node itself has received information from neighboring nodes about their response. This time can be calculated using the following formula: (1) K = 2 x (S + H + V), where S is the maximum duration for generating the synchronization message and its transmission between the two nodes, H is the maximum duration for accepting the synchronization message at the node and V is the incoming sync the maximum duration of the comparison at the node. By using the length of the timeout according to the formula (1) 20, the synchronization can be further accelerated and the timeout is made constant regardless of the size of the system. The use of said time limit and the advantages to be obtained therefrom are described in more detail in the co-pending FI patent application FI-92xxxx, to which reference is made in more detail.

Kuviossa 8 on esitetty solmun niitå elimiå, joissa keksinnon mukainen menetelmå toteutetaan. Kuviossa on esitetty kaksi jårjestelmån solmuun naapurisolmuilta tulevaa yhteyttå, A ja B. Kummankin yhteyden siirtolinja on kyt-30 ketty signaalin låhetys- ja vastaanotto-osalle 13a ja vastaavasti 13b, jotka suorittavat fyysisen signaalin kåsittelyn. Osa 13a (ja vastaavasti 13b) vålittaa synkronointisanoman edelleen siihen kytketylle synkronointisanoman låhetys- ja vastaanotto-osalle 16a (ja vastaa-35 vasti 16b). Låhetys- ja vastaanotto-osat 16a ja 16b suo- 14 91691 rittavat num. sanoman virheettomyyden tarkistuksen ja vå-littåvåt sanoman edelleen solroun keskitetylle synkronoin-nin pååtoksenteko-osalle 23, jonka kyseinen sisåånmeno on kytketty vastaavan lahetys- ja vastaanotto-osan 16a tai 5 16b ulostuloon. Signaalin lahetys- ja vastaanotto-osat 13a ja 13b tarkkailevat myos vastaanottamansa signaalin laatua ja tallettavat naista tiedon liitåntakohtaisiin vikatieto-kantoihin 24a ja vastaavasti 24b. Synkronointisanoman lahetys- ja vastaanotto-osa 16a saa vikatiedot tietokan-10 nalta 24a ja lahetys- ja vastaanotto-osa 16b vastaavasti vikatietokannalta 24b. Yhteydellå olevan vian/muutoksen havainnointi signaalin lahetys- ja vastaanotto-osissa tapahtuu sinånså tunnetusti.Figure 8 shows the elements of the node in which the method according to the invention is implemented. The figure shows two connections to the node of the system from neighboring nodes, A and B. The transmission line of each connection is connected to the signal transmission and reception section 13a and 13b, respectively, which perform the physical signal processing. The section 13a (and 13b, respectively) forwards the synchronization message to the synchronization message transmission and reception section 16a (and 16b, respectively) connected to it. The transmitting and receiving parts 16a and 16b are suitable for num. checking the correctness of the message and forwarding the message to a cell-centered synchronization decision section 23, said input being connected to the output of the respective transmission and reception section 16a or 5 16b. The signal transmitting and receiving sections 13a and 13b also monitor the quality of the received signal and store the woman in the data connection-specific fault databases 24a and 24b, respectively. The sending and receiving section 16a of the synchronization message receives the fault information from the database 10a and the sending and receiving section 16b from the fault database 24b, respectively. The detection of a related fault / change in the signal transmission and reception parts takes place as is known per se.

Paåtoksenteko-osa 23 suorittaa sanomien vertailun ja 15 tallettaa ne muistiin 21, esim. prioriteettijårjestykseen siten, ettå ylimpana on aina valittuna oleva synkronointi-tunniste. Pååtdksenteko-osa saa myos liitåntåkohtaiselta lahetys- ja vastaanottolohkolta 11a tai llb vastaavan signaalin vikatiedot, joko synkronointisanoman muodossa tai 20 erillisinå vikatietoina. Kun paatoksenteko-osa huomaa saamistaan tiedoista, ettå solmun on mentåvå maaraajaksi mååråttyyn vakiotilaan, se valitsee ajastuksensa lahteen kaytetyssa synkronointimenetelmassa tilannetta vårten maåritellylla tavalla, antaa muistista 22 (johon se 25 muodostaa kulloinkin kåytettavan uloslåhtevan tunnisteen) tåtå vastaavan synkronointitunnisteen liitantakohtaisille synkronointisanoman lahetys- ja vastaanotto-osille 16a ja 16b ja kåynnistaa ajastinelimensa 25. Uudella tunnisteella solmu ilmaisee tapahtuneen muutoksen naapurisolmuilleen.The decision section 23 compares the messages and 15 stores them in the memory 21, e.g. in order of priority, so that the synchronization identifier is always selected at the top. The decision section also receives the error information of the corresponding signal from the connection-specific transmission and reception block 11a or 11b, either in the form of a synchronization message or 20 as separate error information. When the decision-making part detects from the information received that the node has to go to a constant state determined as a determinant, it selects its timing in the synchronization method used by the source in the manner specified by the receiver, giving out the memory 22 (to which it 25 forms the user). to parts 16a and 16b and starts its timer member 25. With the new identifier, the node indicates the change that has taken place to its neighboring nodes.

30 Kun ajastinelimet 25 ovat antaneet tiedon mååråajan K30 When the timer elements 25 have given the information of the timer K

umpeutumisesta, saa paåtoksenteko-osa 23 jalleen valita ajastuslahteen normaalin menettelyn mukaisesti.the decision section 23 may again select the timing source according to the normal procedure.

Kun paåtoksenteko-osa saa valittuna olevan synk-ronointitunnistetta vastaavalta sanoman lahetys- ja vas-35 taanotto-osalta huonommaksi muuttuneen synkronoin-When the decision section receives a degraded synchronization from the transmission and reception part of the message corresponding to the selected synchronization identifier.

IIII

15 91691 tisanoman, se kåynnistaå ajastinelimensa 25, valitsee huonontuneen tunnisteen ja muodostaa sen perusteella uuden oman synkronointitunnisteensa, jonka se syottåå muistista 22 kaikille synkronointisanoman låhetysyksikoille.15 91691 message message, it starts its timer element 25, selects the degraded identifier and on the basis of it forms its new own synchronization identifier, which it feeds from the memory 22 to all synchronization message transmission units.

5 Keksinnon edullisen suoritusmuodon mukaisesti voi solmu, valittuaan huonontuneen tunnisteen uudeksi tunnis-teeksi, valita jSlleen uuden tunnisteen, mikåli se mSårå-ajan viela keståesså saakin valitulta yhteydeltå entista paremman tunnisteen. Muilta yhteyksilta tulevia tunnistei-10 ta ei kuitenkaan voida hyvaksyå uusiksi valituiksi tunnis-teiksi, ennen kuin mååråaika on kulunut umpeen. Edella mainittu lisåpiirre nopeuttaa edelleen jarjestelman synk-ronoitumista.According to a preferred embodiment of the invention, the node, after selecting the degraded identifier as a new identifier, can select a new identifier for it, provided that it still obtains an even better identifier from the selected connection as the time lasts. However, identifiers from other connections cannot be accepted as newly selected identifiers until the deadline has elapsed. The aforementioned additional feature further speeds up the synchronization of the system.

Edella kuvatussa suoritusmuodossa valittiin huonon-15 tunut synkronointitunniste joko koko mååraajan ajaksi tai ainakin osaksi kyseista maaråaikaa. Keksinnon toisen suo-ritusmuodon mukaan solmu vertaa huonontunutta synkronoin-titunnistetta ensin omaan sisaiseen tunnisteeseensa ja valitsee nSistS paremman vaihtoehdon. Vertailu suoritetaan 20 påatoksenteko-osassa 23. Mikali sisainen tunniste on pa-rempi, menee solmu tunnetulla tavalla sisaiseen ajastuk-seen, ja mikali huonontunut tunniste on parempi, valitsee solmu sen uudeksi tunnisteekseen edella kuvatulla tavalla joko koko maåraajaksi tai siihen asti, kunnes kyseiselta '25 yhteydelta saadaan viela parempi tunniste.In the embodiment described above, the degraded synchronization identifier was selected either for the entire time period or at least for part of that time period. According to another embodiment of the invention, the node first compares the degraded synchronization identifier with its own internal identifier and selects nSistS as a better option. The comparison is performed in decision making section 23. If the internal identifier is better, the node enters the internal timing in a known manner, and if the degraded identifier is better, the node selects it as its new identifier as described above, either as a whole delimiter or until 25 connections provide an even better identifier.

Vaikka keksintoa on edella selostettu viitaten oheisten piirustusten mukaisiin esimerkkeihin, on selvaa, ettei keksinto ole rajoittunut siihen, vaan sitå voidaan muunnella edella ja oheisissa patenttivaatimuksissa esite-30 tyn keksinnollisen ajatuksen puitteissa. Vaikka siis edella on kaytetty esimerkkinå SOMS-jarjestelmåå, on keksinnon mukainen ratkaisu sovellettavissa kaikkiin vastaavantyyp-pisiin jarjestelmiin, joissa jarjestelmMn muutos nSkyy solmuun sisåån tulevan synkronointisanoman muutoksena.Although the invention has been described above with reference to the examples according to the accompanying drawings, it is clear that the invention is not limited thereto, but can be modified within the scope of the inventive idea set forth above and in the appended claims. Thus, although the SOMS system has been used as an example above, the solution according to the invention is applicable to all similar types of systems in which the change in the system appears as a change in the synchronization message entering the node.

Claims (6)

1. Hierarkiskt synkroniseringsfOrfarande fOr ett datakommunikationssystem som anvender meddelandebaserad 5 synkronisering, vilket datakommunikationssystem omfattar ett flertal noder sammankopplade med forbindelser (A, B), i vilket fOrfarande noderna sander varandra signaler som innehåller synkroniseringsmeddelanden, vilka omfattar information om en motsvarande signals prioritet i systemets 10 interna synkroniseringshierarki, och i vilket fOrfarande en nod som en fOljd av en forandringssituation, såsom en felsituation, tvångsmassigt Overgår till ett fOrutbestamt standardtillstånd fOr att hindra val av felaktiga synkroniser ingsmeddelanden, kannetecknat darav att 15 då en vid varje enskilt tillfaile i en nod beiagen vald synkroniseringsidentifierare fOrSndras till det samre, vaijer noden omedelbart denna fOrandrade identifierare till sin nya synkroniseringsidentifierare och håller sig tvångsmåssigt till denna hOgst en fOrutbestamd tidsperiod.1. Hierarchical synchronization method for a data communication system using message-based synchronization, said data communication system comprising a plurality of nodes interconnected with connections (A, B), in which the method nodes transmit signals containing synchronization messages in the system, including information of prior synchronization messages, internal synchronization hierarchy, and in which a node as a result of a change situation, such as a failure situation, forcibly switches to a predetermined default state to prevent the selection of incorrect synchronization messages, then signed by one when each selected at a time synchronization identifier is changed to the same, the node immediately changes this changed identifier to its new synchronization identifier and compulsively adheres to this maximum for a predetermined period of time. 2. FOrfarande enligt patentkrav 1, kanne tecknat darav att ifall namnda fOrsamrade identifierare fOråndras till det battre under namnda bestamda tidsperiod, vaijer noden omedelbart den fOrbattrade iden-tifieraren till sin nya synkroniseringsidentifierare.2. The method of claim 1, characterized in that, if said assembled identifier is changed to the later one during said fixed time period, the node immediately turns the improved identifier to its new synchronization identifier. 3. FOrfarande enligt patentkrav 1, kanne tecknat darav att som minimiiangd fOr den bestamda tidsperioden anvands den tid (K) som går åt till att nodens grannoder får information om att noden Overgått till namnda standardtillstånd, reagerat på forandringen och 30 noden sjaiv från grannoderna fått information om deras reaktion.3. A method according to claim 1, characterized in that, as a minimum value for the determined time period, the time (K) is used to allow the node's neighbor nodes to receive information that the node has switched to said standard state, reacted to the change and the node is clean from the neighbor nodes received. information on their reaction. 4. Hierarkiskt synkroniseringsfOrfarande fOr ett datakommunikationssystem som anvander meddelandebaserad synkronisering, vilket system omfattar ett flertal noder 35 sammankopplade med forbindelser (A, B), i vilket fOrfaran- II 91 6:91 19 de noderna sander varandra signaler som innehåller synkro-niseringsmeddelanden, vilka omfattar information om en motsvarande signals prioritet i systemets interna synkroniseringshierarki, och i vilket fOrfarande en nod som en 5 fOljd av en fOråndringssituation, såsom en felsituation, tvångsmåssigt Overgår till ett fOrutbeståmt standardtill-stånd fOr att hindra val av felaktiga synkroniseringsmed-delanden, kånnetecknat dårav att då en vid varje enskilt tillfålle i en nod belågen vald synkronise-10 ringsidentifierare fOråndras till det såmre, jamfOr noden denna fOrsåmrade synkroniseringsidentifierare med en intern synkroniseringsidentifierare i noden, och av dessa våljer omedelbart den båttre till sin nya synkroniseringsidentifierare, och ifall till ny synkroniseringsidentifie-15 rare valdes nåmnda forsåmrade identifierare, håller sig noden tvångsmåssigt till denna hOgst en fOrutbeståmd tids-period, och ifall till ny synkroniseringsidentifierare valdes nSmnda interna synkroniseringsidentifierare, håller sig noden till den tvångsmåssigt Over hela nåmnda bestamda 20 tidsperiod.4. Hierarchical synchronization method for a data communication system using message-based synchronization, which system comprises a plurality of nodes interconnected with connections (A, B), in which the nodes transmit signals which contain synchronization messages, includes information about a corresponding signal's priority in the system's internal synchronization hierarchy, and in which a node-like procedure, such as a failure situation, compulsively switches to a predetermined default state to prevent the selection of incorrect synchronized states, that when a selected synchronization identifier located on a single occasion in a node is changed to the second, the node compares this deteriorated synchronization identifier with an internal synchronization identifier in the node, and of these the immediate one immediately selects the newer to its new synchronizer. and if a new synchronization identifier is chosen, the said defaulted identifier, the node adheres to this maximum for a predetermined time period, and if a new synchronization identifier is selected, the second internal time identifier adheres to the second, the entire node adheres to the second. 5. FOrfarande enligt patentkrav 4, kånne- t e c k n a t dårav att ifall nåmnda fOrsåmrade identi- fierare valts, och den fOråndras till det båttre under nåmnda beståmda tidsperiod, våljer noden den fOrbåttrade 25 identifieraren omedelbart till sin nya synkroniserings identifierare .5. A method as claimed in claim 4, characterized in that, if said aforesaid identifier is selected, and it is changed to the better one for said predetermined time period, the node immediately selects the enhanced identifier for its new synchronizer identifier. 6. FOrfarande enligt patentkrav 4, kånne- t e c k n a t dårav att som minimilångd fOr nåmnda beståmda tidsperiod anvånds den tid (K) som går åt till att 30 nodens grannoder får information om att noden Overgått till nåmnda standardtillstånd, reagerat på fOråndringen och noden sjålv från grannoderna fått information om deras reaktion.6. A method according to claim 4, characterized in that as the minimum length for said determined period of time, the time (K) is used to allow the node's neighbor nodes to receive information that the node has switched to said standard state, reacted to the change and the node itself from the neighbor nodes. received information on their reaction.
FI925074A 1992-11-09 1992-11-09 Hierarchical synchronization method FI91691C (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
FI925074A FI91691C (en) 1992-11-09 1992-11-09 Hierarchical synchronization method
DE4395760T DE4395760T1 (en) 1992-11-09 1993-11-08 Hierarchical synchronization method
GB9509026A GB2287158B (en) 1992-11-09 1993-11-08 Hierarchical synchronization method
AU54221/94A AU5422194A (en) 1992-11-09 1993-11-08 Hierarchical synchronization method
PCT/FI1993/000457 WO1994011964A1 (en) 1992-11-09 1993-11-08 Hierarchical synchronization method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
FI925074A FI91691C (en) 1992-11-09 1992-11-09 Hierarchical synchronization method
FI925074 1992-11-09

Publications (3)

Publication Number Publication Date
FI925074A0 FI925074A0 (en) 1992-11-09
FI91691B FI91691B (en) 1994-04-15
FI91691C true FI91691C (en) 1994-07-25

Family

ID=8536182

Family Applications (1)

Application Number Title Priority Date Filing Date
FI925074A FI91691C (en) 1992-11-09 1992-11-09 Hierarchical synchronization method

Country Status (5)

Country Link
AU (1) AU5422194A (en)
DE (1) DE4395760T1 (en)
FI (1) FI91691C (en)
GB (1) GB2287158B (en)
WO (1) WO1994011964A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI95978C (en) * 1994-03-01 1996-04-10 Nokia Telecommunications Oy Hierarchical synchronization method
DE19653261A1 (en) * 1996-12-20 1998-06-25 Alsthom Cge Alcatel Synchronous digital message transmission system, control device, network element and central clock generator
DE19901588A1 (en) * 1999-01-16 2000-07-20 Alcatel Sa Synchronization of a network element in a synchronous digital communication network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4142069A (en) * 1977-06-20 1979-02-27 The United States Of America As Represented By The Secretary Of The Army Time reference distribution technique
US4736393A (en) * 1986-04-16 1988-04-05 American Telephone And Telegraph Co., At&T Information Systems, Inc. Distributed timing control for a distributed digital communication system
DE3943052A1 (en) * 1989-12-28 1991-07-04 Philips Patentverwaltung HIERARCHICAL SYNCHRONIZATION METHOD FOR SWITCHING CENTERS OF A TELECOMMUNICATION NETWORK

Also Published As

Publication number Publication date
GB2287158B (en) 1996-09-25
FI925074A0 (en) 1992-11-09
FI91691B (en) 1994-04-15
AU5422194A (en) 1994-06-08
GB2287158A (en) 1995-09-06
DE4395760T1 (en) 1995-10-05
WO1994011964A1 (en) 1994-05-26
GB9509026D0 (en) 1995-06-21

Similar Documents

Publication Publication Date Title
FI91689B (en) Hierarchical synchronization procedure and a data traffic system that uses message-based synchronization
FI95978B (en) Hierarchical synchronization procedure
FI103307B (en) Communication network synchronization
CN102263630B (en) A kind of system of selection of clock source
US9749073B2 (en) Clock recovery in a packet based network
EP2093925A1 (en) A method, an apparatus and a network element for tracing clock
US7899894B2 (en) Coordinated timing network configuration parameter update procedure
US6185247B1 (en) Method of reducing synchronization rearrangements in synchronous transmission systems
CN102714559A (en) Configuration of synchronisation network
FI95977B (en) A network arrangement
JPH09510058A (en) Hierarchical synchronization method
FI95979B (en) Hierarchical synchronization method
FI92126C (en) Network arrangement
FI95975B (en) Hierarchical synchronization method
FI95976C (en) Network arrangement
FI92358B (en) Hierarchical synchronization procedure and a data traffic system that uses message-based synchronization
FI91691C (en) Hierarchical synchronization method
FI104593B (en) Hierarchical synchronization procedure
FI104665B (en) Hierarchical synchronization method
FI91690C (en) Hierarchical synchronization procedure and a data traffic system that uses message-based synchronization
FI102442B (en) Synchronization of a data communication network
KR101973264B1 (en) Clocks timing fault recovery method and apparatus in precision time protocol system
KR100322273B1 (en) Network synchronous apparatus between master and slave nodes of switch network and method therefor
EP0910189A2 (en) Network synchronization for SDH/SONET
KR0153378B1 (en) Method for changing route to master node at network synchronization of switching network

Legal Events

Date Code Title Description
BB Publication of examined application