SE506540C2

Synchronizing the transmission of data via a two-way link

Abstract

Transmission in a cell based switch of user cells which can include different numbers of data bits is synchronized. The transmission is performed via a two-way link between functional entities which each includes a link control function containing functions for starting and controlling transmission of data on the link by means of sync cells which are exchanged between the link control functions. The exchange of sync cells is controlled by a sync state machine having three states (304, 308, 312). In a HUNT state (312) the link control function investigates a sync cell coming in from the link for establishing whether it agrees with a predetermined pattern for sync cells. In a PRESYNC state (304), that starts after a sync cell containing the predetermined pattern has been found in the HUNT state, the link control function investigates a predetermined number thereafter incoming consecutive sync cells for establishing whether they contain the predetermined pattern. If this is not the case the control process returns to the HUNT state. In a SYNC state (308), that starts after the predetermined number of sync cells containing the predetermined pattern has been found in the PRESYNC state, transmission of data on the link is admitted while supervising data with respect to faults. If faults are found the control process starts again in the HUNT state.

SE506540C2, drawing sheet 1
Sheet 1 of 7

Term

No projected expiry on record.

  1. Priority and filed
  2. Granted
  3. Today

22 claims: 9 independent, 13 dependent

  1. 1
    Claims. Patentkrav. 1. System för att i ett dataöverföringssystem synkronisera överföring av data i form av en bitström (816) mellan funktionella entiteter (202,204) via en dubbelriktad länk (206), varvid varje funktionell entitet har organ för att anbringa från användare inkommande data, som skall överföras på länken, i användarceller, hos vilka antalet databitar beror av respektive användardatas storlek, kännetecknat av en i varje funktionell entitet ingående länkstyrfunktion (302,306) med funktioner för att inleda och styra överföringen av data på länken med hjälp av synkceller, vilka utväxlas mellan länkstyrfunktionerna, och vardera innehåller dels identifieringsinformation (602) , med vars hjälp synkcellen kan identifieras, och dels styrdata (604), som av varje länkstyrfunktion kan bibringas värden, som medger ömsesidig kontroll av att synkronism föreligger, eller ett värde, som i ett drifttillstånd på länken, som uppfattas såsom innebärande förlust av synkronism, bringar de båda länkstyrfunktionerna att vidtaga åtgärder för återupprättande av synkronism, vilka funktioner innefattar en utgångsfunktion mot länken med en synkcellinsättningsfunktion (808), som mottager en ström (304t) av användarceller och i denna infogar synkceller, och en första omvandlingsfunktion (812), som mottager den resulterande, av användarceller och synkceller bestående strömmen och omvandlar denna till en bitströmsignal, som klockas med en 1-bit klocksignal ut på länken, en ingångsfunktion från länken, som innefattar en andra omvandlingsfunktion (902), som mottager en från länken inkommande bitströmsignal och omvandlar denna till ett n-bit parallellformat, som normalt klockas ut för var n:te bit med en n-bit klocksignal från ingångsfunktionen, en jämförelsefunktion (913) ansluten för att i n-bit parallellformatet söka och identifiera identifieringsinformationen hos en synkcell, och när den påträffas avge en bekräftelsesignal (828), en klockningsfunktion för att möjliggöra utklockning för varje bit med en 1-bit klocksignal av n-bit parallellformatet från ingångsfunktionen, en synktillståndsmaskin (806), som mottager bekräftelsesigna506 540 len (828) för att styra övergången från klockning av n-bit parallellformatet med n-bit klocksignalen till klockning med 1bit klocksignalen. 1st A system for synchronizing in a data transmission system data transfer in the form of a bit stream (816) between functional entities (202,204) via a bidirectional link (206), each functional entity having means for affixing data received from users to be transmitted to the link, in user cells, in which the number of data bits depends on the size of the respective user data, characterized by a link control function (302,306) included in each functional entity with functions for initiating and controlling the transmission of data on the link by means of sync cells exchanged between the link control functions, each containing identification information (602), with which the sync cell can be identified, and, in part, control data (604), which can be transmitted by any link control function to values ​​that allow mutual control of synchronism, or a value, which, in a state of operation of the link, which is perceived to mean loss of synchronism, causes the two link control functions to take synchronization restoration, which functions include an output function against the link with a sync cell insertion function (808) receiving a current (304t) of user cells and therein incorporate sync cells, and a first conversion function (812) which receives the resulting user and sync cell stream and converts it into a bitstream signal clocked with a 1-bit clock signal on the link, an input function from the link, which includes a second conversion function (902), which receives a bitstream signal coming from the link and converts it into an n-bit parallel format, normally clocked out for every nth bit with an n-bit clock signal from the input function, a comparison function (913) connected to search and identify in the n-bit parallel format the identification information of a sync cell, and when found to output a confirmation signal (828) , a clocking function to enable clocking for each bit with a 1-bit clock signal of the n-bit parallel format from the input function, a sync state machine (806), which receives confirmation signals 506 540 len (828) to control the transition from clocking the n-bit parallel format with the n-bit clock signal to clock with the 1 bit clock signal.
  2. 4
    System enligt krav 2 och 3, kännetecknat av att SÖKtillståndet med avgivande av söksignalen även uppträder när synktillståndsmaskinen mottager felsignalen (836). 4th System according to claims 2 and 3, characterized in that the SEARCH state with the output of the search signal also occurs when the sync state machine receives the error signal (836).
  3. 7
    System enligt något av krav 1-6, kännetecknat av att 7th A system according to any one of claims 1-6, characterized in that 506 The 540 input function comprises a series / parallel converter consisting of two parallel n / 2 bit shift registers (906.1,906.2) in which every second bit of the bitstream signal is clocked on each flank of the 1 bit clock signal and whose outputs are connected to the input of a n-bit register (908), which has a charging input connected to the output (912) of the second logic circuit (916) and in which clocking takes place with the n-bit clock signal or 1-bit clock signal. 506 540 ingångsfunktionen innefattar en serie/parallell-omvandlare bestående av två parallella n/2-bit skiftregister (906.1,906.2), i vilka varannan bit av bitströmsignalen inklockas på varsin flank av 1-bit klocksignalen, och vilkas utgångar är anslutna till ingången hos ett n-bit register (908), vilket har en laddningsingång ansluten till den andra logiska kretsens (916) utgång (912) och i vilket inklockning sker med n-bit klocksignalen eller 1-bit klocksignalen.
  4. 9
    System enligt något av krav 6-8, kännetecknat av att kretsen för generering av n-bit klocksignalen utgöres av en n/4bit klockdelare (914), som har en klockingång för mottagning av 1-bit klocksignalen och en återställningsingång (932) ansluten till utgången (924) från den första logiska kretsen (922). 9th System according to any one of claims 6-8, characterized in that the circuit for generating the n-bit clock signal consists of an n / 4 bit clock divider (914) having a clock input for receiving the 1-bit clock signal and a reset input (932) connected to the the output (924) of the first logic circuit (922).
  5. 10
    System enligt krav 8 och 9, kännetecknat av att klockdelarens (914) utgång, som är ansluten till en ingång hos den andra logiska kretsen (916), även är ansluten till en laddningsingång (1326,1328) hos vardera av de i parallell/serieomvandlaren ingående n/2-bit skiftregistren (812.1,812.2). 10th System according to claims 8 and 9, characterized in that the output of the clock divider (914), which is connected to an input of the second logic circuit (916), is also connected to a charging input (1326,1328) of each of the parallel / series converters. input n / 2-bit shift register (812.1,812.2).
  6. 12
    Sätt att i en cellbaserad väljare synkronisera överföring av användarceller, hos vilka antal databitar beror av respektive användardatas storlek, mellan väljarportar och väljarkärna via en dubbelriktad länk, kännetecknat av att överföringen av data på länken inleds och övervakas med hjälp av synkceller, vilka utväxlas mellan de funktionella entiteterna, och vardera innehåller dels ett synkroniseringsmönster, med vars hjälp synkcellen kan identifieras, och dels styrdata, som av de funktionella entiteterna kan bibringas värden, som medger ömsesidig kontroll av att synkronism föreligger, eller ett värde, som i ett drifttillstånd på länken, som uppfattas såsom innebärande förlust av synkronism, bringar de funktionella entiteterna att vidtaga åtgärder för återupprättande av synkronism. 12th Way in a cell-based selector to synchronize transmission of user cells, in which the number of data bits depend on the size of the respective user data, between selector ports and the selector core via a bidirectional link, characterized in that the transmission of data on the link is initiated and monitored by sync cells which are exchanged between them. the functional entities, and each contains a synchronization pattern, with which the sync cell can be identified, and partly control data, which can be imparted by the functional entities to values ​​that allow for mutual control of synchronism, or a value which, in a state of operation on the link, which is perceived to mean loss of synchronism, causes the functional entities to take synchronization restoration measures.
  7. 15
    Sätt enligt något krav 12-14, kännetecknat av att den ömsesidiga kontrollen av att synkronism föreligger sker genom att de funktionella entiteterna regelbundet skickar synkceller till varandra, vilkas styrdata innebär en uppmaning till retur av synkcell, vars styrdata har ett värde, som bekräftar förekomsten av synkronism. 15th Method according to any one of claims 12-14, characterized in that the mutual control of synchronism exists by regularly sending the functional entities to each other sync cells, whose control data entails a request to return a sync cell, whose control data has a value which confirms the existence of synchronism.
  8. 17
    Sätt enligt något av krav 12-15, kännetecknat av att 17th Process according to any of claims 12-15, characterized in that 506 The 540 value, which causes the functional entities to take synchronization restoration measures, is included in a predetermined number of sync cells sent by the functional entity, which detected loss of synchronism, and prompts the other functional entity to interrupt data transmission and send a sync cell, whose control data has a value, which confirms the presence of synchronism. 506 540 värdet, som bringar de funktionella entiteterna att vidtaga åtgärder för återupprättande av synkronism, ingår i ett förutbestämt antal synkceller, som skickas av den funktionella entitet, som detekterat förlust av synkronism, och innebär en uppmaning till den andra funktionella entiteten att bryta överföringen av data och skicka en synkcell, vars styrdata har ett värde, som bekräftar förekomst av synkronism.
  9. 19
    System för att i en cellbaserad väljare synkronisera överföring av användarceller, hos vilka antalet databitar beror av respektive användardatas storlek, mellan funktionella entiteter via en dubbelriktad länk, kännetecknat av en i varje funktionell entitet ingående länkstyrfunktion som innehåller funktioner för att inleda och styra överföringen av data på länken med hjälp av synkceller, vilka utväxlas mellan länkstyrfunktionerna styrt av en synktillståndsmaskin, som har tre tillstånd, nämligen ett SÖK-tillstånd, i vilket länkstyrfunktionen bringas att undersöka en från länken inkommande synkcell för att fastställa huruvida den överensstämmer med ett förutbestämt mönster för synkceller, ett FÖRSYNK-tillstånd, vilket föregås av att i SÖK-tillståndet en synkcell med överensstämmelse med det förutbestämda mönstret påträffats, och i vilket länkstyrfunktionen bringas att undersöka ett förutbestämt antal därefter inkommande konsekutiva synkceller för att fastställa huruvida de överensstämmer med det förutbestämda mönstret, varvid om detta ej är fallet återgång sker till SÖK-tillståndet, ett SYNK-tillstånd, vilket föregås av att i FÖRSYNK-tillståndet det förutbestämda antalet synkceller uppvisat överensstämmelse med det förutbestämda mönstret, och i vilket överföring av data på länken medges under övervakning av data med avseende på fel, varvid om fel påträffas övergång till SÖK-tillståndet sker, varvid 19th A system for synchronizing in a cell-based selector the transfer of user cells, in which the number of data bits depends on the size of the respective user data, between functional entities via a bidirectional link, characterized by a link control function included in each functional entity containing functions for initiating and controlling the transmission of data on the link by means of sync cells which are exchanged between the link control functions controlled by a sync state machine having three states, namely, a SEARCH state, in which the link control function is caused to examine a sync cell coming from the link to determine whether it corresponds to a predetermined pattern for sync cells, a SUPPLY condition preceded by a sync cell with the predetermined sync cell with the pattern was found, and in which the link control function is caused to examine a predetermined number of consecutive sync cells thereafter to determine whether they are consistent with the predetermined pattern, or if this is not the case, return to the SEARCH state, a SYNK state preceded by the state of the predetermined number of sync cells exhibited conformity to the predetermined pattern;and in which transmission of data on the link is allowed during monitoring of data with respect to errors, wherein if errors are found, the transition to the SEARCH state occurs, wherein 506 540 each sync cell contains, in part, a synchronization pattern by which the sync cell can be identified, and partly control data which can be transmitted to the values ​​by the link control functions, allowing mutual control between the link control functions of the existence of synchronism, or a value, which is in an operating state on the link, such as the loss of synchronism, the link control functions cause measures to restore synchronism. 506 540 varje synkcell innehåller dels ett synkroniseringsmönster, med vars hjälp synkcellen kan identifieras, och dels styrdata, som av länkstyrfunktionerna kan bibringas värden, som medger ömsesidig kontroll mellan länkstyrfunktionerna av att synkronism föreligger, eller ett värde, som i ett drifttillstånd på länken, som uppfattas såsom innebärande förlust av synkronism, bringar länkstyrfunktionerna att vidtaga åtgärder för återupprättande av synkronism.