GB2393367A - Optical line terminal - Google Patents

Optical line terminal Download PDF

Info

Publication number
GB2393367A
GB2393367A GB0329330A GB0329330A GB2393367A GB 2393367 A GB2393367 A GB 2393367A GB 0329330 A GB0329330 A GB 0329330A GB 0329330 A GB0329330 A GB 0329330A GB 2393367 A GB2393367 A GB 2393367A
Authority
GB
United Kingdom
Prior art keywords
churning
parameter
flag
churned
onu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB0329330A
Other versions
GB0329330D0 (en
GB2393367B (en
Inventor
Takashi Monzawa
Kenji Miura
Tamotsu Matsuo
Yoshimi Toyoda
Toshinori Koyanagi
Setsuo Abiru
Jun Asato
Shinichi Fujiyoshi
Kazuhiro Uchida
Kazuya Ryu
Katsuhiko Hirashima
Tateo Shimaru
Mitsuharu Wakayoshi
Toshiyuki Sakai
Hideki Shiono
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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
Priority claimed from JP10968799A external-priority patent/JP4201430B2/en
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to GB0407949A priority Critical patent/GB2396790B/en
Priority to GB0407948A priority patent/GB2396789B/en
Publication of GB0329330D0 publication Critical patent/GB0329330D0/en
Publication of GB2393367A publication Critical patent/GB2393367A/en
Application granted granted Critical
Publication of GB2393367B publication Critical patent/GB2393367B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • H04L63/068Network architectures or network communication protocols for network security for supporting key management in a packet data network using time-dependent keys, e.g. periodically changing keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5603Access techniques
    • H04L2012/5604Medium of transmission, e.g. fibre, cable, radio
    • H04L2012/5605Fibre

Abstract

The terminal (20) for use with an optical access network system, which terminal (20) transmits a data stream containing information that is churned (i.e. encrypted) by using a churning key, the terminal (20) comprising: flag control means (21) for controlling flags when sending the data stream to a receiving end; and churning parameter transmission control means (22) for controlling transmission of churning parameters to the receiving end, based on the status of the flags, the churning parameters indicating where logical connections are churned or not churned.

Description

GB 2393367 A continuation (72) cont Toshinori Koyanagi Setsuo Abiru Jun
Asato Shinichi Fujiyoshi Kazuhiro Uchida Kazuya Ryu Katsuhiko Hirashima Tateo Shimaru Mitsuharu Wakayoshi Toshiyuki Sakai Hideki Shiono (74) Agent and/or Address for Service: Haseltine Lake & Co Imperial House, 15- 19 Kingsway, LONDON, WC2B BUD, United Kingdom
OPTICAL LINE TERMINAL
The present invention relates to an optical line terminal. More particularly, the present invention relates 5 to an optical line terminal coupled to the optical access network system, which transmits a data stream containing information that is churned with a churning key.
Increasing numbers of telecommunication and multimedia services are provided today to serve for the growing market needs, including video on demand, cable TV, and high-speed access to computer networks. Those high-
bandwidth services, however, should not raise the cost to subscribers. Here, optical access network systems are 15 expected to play an essential role, connecting subscriber premises to the nearest local office exchange through fiber optic cables, rather than conventional metallic wires. 20 One of such systems is called the Passive Double Star (PDS), which enables a plurality of subscribers to -
- 2 share a single optical fiber line by using star couplers.
Particularly in Europe, the Passive Optical Network (PON) system, synonymous with PDS, is of great interest as an enabling technology for the Fiber To The Home (FTTH) 5 services. In the scenarios toward FTTH, the access network has to provide guaranteed bandwidths and quality of services to meet the requirements for real-time voice and video communication. To this end, the Full Service Access Networks (FSAN) initiative has a central role in the 10 development of ATM-PON systems based on the Asynchronous Transfer Mode (ATM) technologies. The FSAN is an organization formed by major telephone companies to promote worldwide optical network businesses.
FIG. 25 shows a typical structure of an ATM-PON -15 system. Optical network units -(ONUs) lOla to loin are deployed in subscriber premises lOOa to loon, while an optical line terminal (OLT) 201 is placed in a local office 200. Fiber optic cables and a star coupler 300 interconnect those ONUs lOla to loin and OLT 201 in a 20 point-to-multipoint fashion. In the subscriber premises lOOa to loon, telephone equipment and/or CATV equipment is coupled to the ONUs lOla to loin. Connected to the OLT 201 in the local office 200 is ATM and ISDN switching equipment 202.
25 In the downstream direction, the local office 200 broadcasts data (i.e. , downstream cells) toward the subscriber premises lOOa to loon over a single optical
3 - fiber cable. The star coupler 300 splits the optical signal into a plurality of signals -.n a tree and branch form, so as to deliver the information to individual subscribers' ONUs. In the upstream direction, ATM cells 5 are transmitted from the subscriber premises 100a to 100n toward the local office 200 over the same branch cables.
The star coupler 300 consolidates them into a single optical signal for delivery to the local office 200 over a single fiber cable.
10 As described above, the ATM-PON systems are ATM based. opticallycoupled access networks which provide point-to-multipoint (l:n) connections between a local office and a plurality of customers through the use of star couplers 300. The ITU-T Recommendation G.983.1 is one 15 of the relevant international standard specifications for
such PON-based broadband optical access systems. This G.983.1 includes description of a data encryption function
termed "churnings to offer a protection capability for data confidentiality purposes. This function is mandatory 20 because, in a PON system, the OLT always physically broadcasts information downstream, but only one ONU at a time can decode the information. More specifically, in the system of FIG. 25, the OLT 201 first sends a certain downstream message to request each ONU (e.g., ONU 101a) to 25 provide its churning key. In response to this request, the ONU 101a generates a churning key and sends it back to the OLT 201. With the received churning key, the OLT 201
- 4 - encrypts, or churns, downstream cells before sending them out to the ONU 101a. This data churning operation for downstream cells are performed on an individual virtual path (VP) basis. The OLT 201 notifies the ONU 101a of 5 which virtual path is churned or not, by sending a special downstream message indicating the virtual path identifier (VPI) of a particular path that is churned or not churned.
This information is referred to herein as "churning parameters. n 10 In summary, all ONUs in an ATM-PON system have
their respective churning keys, and the churning of downstream information can be enabled or disabled separately for each VPI. The OLT sends downstream messages to notify each ONU of churning parameters before sending 15 downstream cells. When data is received through a churned VP, the destination ONU decodes the data with its own churning key.
One problem with the above-described system is that the ITU-T Recommendation G.983.1 lacks 20 definitions for some- specifics of the data dechurning functions to be used in ATM-PON systems. Take churning parameters stored in the ONU 101a for example. While those parameters are supplied from the OLT 201, the Recommendation G.983.1 does not stipulate when to activate 25 the supplied parameters. This means that the data dechurning operation in the ONU 101a could be shifted in time, relative to the data churning operation in the OLT
201, and the time shift may grow up to such a critical level where the ONU 101a cannot decode the churned data correctly. Another problem with the above-described ONUs is that they have to reload churning parameters from the OLT when they are rebooted after a power shutdown. This parameter reloading is a time-consuming process, while it is mandatory because the shutdown of ONUs clears out their 10 stored churning parameters.
As seen from the above, pyrnadcrd ATM-PON systems are still immature in terms of data churning techniques. It is therefore necessary to establish 15 Improved communication control algorithms in order to make ATM-PON systems truly practical.
Accordingly, it is desirable to provide an optical line terminal with improved communication control algorithms to efficiently manage data transmission processes.
0 According to an embodiment of an aspect of the present invention, there is provided an optical line terminal for use with an optical access network system, which terminal transmits a data stream containing information that is churned up by using a churning key, the terminal comprising: flag control means for controlling flags when sending the data stream to a receiving end; and churning parameter transmission control means for controlling transmission of churning parameters to the receiving end, based on the status of the flags, the churning parameters indicating which logical connections are churned or not churned.
Reference will now be made, by way of example, to the accompanying drawings, in which: FIG. l is a conceptual view of an optical network unit which does not embody the present invention but is useful 5 for understanding it; FIG. 2 is a diagram which shows a data stream structure and a format of churned-VP messages; FIG. 3 is a message flow diagram which shows how to update a churning key; FIG. 4 is a block diagram of an ONU employing a dual RAM bank structure; FIG. 5 is flowchart which shows a parameter copying operation: 15 FIG. 6 is a timing diagram of the parameter - 25, / / _..... _
i
-7- ( copying operation; FIG. 7 is a timing diagram which shows the operation when a churned-VP message is received during a parameter copying operation; 5 FIG. 8 is a flowchart which shows a process of sending back an acknowledge message; FIG. 9 is a flowchart which shows a process of copying updated churned-VP parameters from SRAM to non volatile memory; 10 FIG. 10 is a flowchart which shows how the churning parameter memory subsystem operates when the power is restored; FIG. 11 is a diagram which shows a process to disable data dechurning tasks; 15 FIG. 12 is a diagram which shows a variant of the ONU of Fig. 1; FIG. 13 is a block diagram which shows a mechanism to realize a data dechurning operation in a subsequent frame; 20 FIG. 14 is a timing diagram which shows how data dechurning is performed in a subsequent frame; FIG. 15 is a conceptual view of an optical line terminal embodying the present invention; FIG. 16 is a flowchart which shows an initial 25 parameter delivery process using an initial parameter delivered flag; FIG. 17 is a flowchart which shows an initial
l parameter delivery process using an initial parameter sending flag: FIG. 18 is a flowchart which shows an initial 5 parameter delivery process using a parameter update failure flag: FIG. 19 is a flowchart which shows an initial parameter delivery process using a parameter update 10 unfinished flag; FIGS. 20 and 21 show a flowchart of a process executed at the beginning of a parameter updating process; FIG. 22 is a flowchart which shows a process of receiving an acknowledge message; FIG. 23 is a flowchart which shows a process executed at the end of a parameter updating process: FIG. 24 is a timing diagram which explains how the churned-VP parameters are updated; and FIG. 25 is a diagram which shows the structure of a previously-cons idered ATM- PON system.
FIG. 1 is a conceptual view of an optical network unit (ONU) 10 which does not embody the present invention but is 25 useful for understanding it. This optical network unit 10, coupled to an optical access network system (e.g., ATM-PON), receives a data stream
- 9 - ( from an optical line terminal (OUR not shown) in the nearest local office. Here, the term "data stream" refers to consecutive small data packets, or cells, carried over the network. The ONU 10 decodes the churned part of the 5 received data stream with a churning key which was produced by the ONU 10 itself.
The ONU 10 comprises a churning parameter memory subsystem 11 having two storage areas to store churning parameters; they are a first memory bank Mlla and a second 10 memory bank Mllb. The churning parameters are such setup information that shows whether each logical connection applies a churning process to send data. More specifically, they are essentially a collection of simple flags each corresponding to an individual virtual path identifier 15 (VPI) to indicate which virtual- path (VP) is churned or not churned.
The two memory banks Mlla and Bulb in the churning parameter memory subsystem 11 change their roles alternately. In FIG. 1, the first memory Mlla now plays an 20 active role, storing the current churning parameters which are read out for use in data dechurning processes. On the other hand, the second memory bank Mllb is assigned a backup role to store newly updated churning parameters.
The churning parameter memory subsystem 11 25 controls data writing operations to the first memory Mlla and second memory bank Mllb. At each time point the churning key is updated (i.e., when the current key is
-10 replaced with a new churning key), the churning parameter memory subsystem 11 alternates the roles of the two memory banks Alla and Mllb. The details of this operation will be described later. - i .. 5 The ONU 10 further comprises a data dechurning unit 12, which receives a data stream consisting of a plurality of frames and dechurns it according to the churning parameters stored in the first memory Alla. When a new churning parameter is received in a certain frame, 10 the data dechurning unit 12 activates the received new parameter from a subsequent frame after a churning key updating time point is reached. The data dechurning unit 12 uses this activated new parameter to dechurn the relevant incoming cells in that frame and later, if the 15 parameter indicates that they are churned.
Suppose, for example, that a message in a certain frame contains a churning parameter indicating that a virtual path with a VPI value of.001. (in hexadecimal notation) is churned, and also that a cell C1 has a VPI 20 value of n 001. in its overhead section. When the churning parameter is received, the ONU 10 first saves it to the second memory bank Mllb, as shown in FIG. 1. This parameter, however, will be activated only after the following conditions are met: (1) a churning key update 2S message M1 is received, and after that, (2) a period of (48 * Tframe) is elapsed, where Tframe denotes the tame length of one frame with which the ONU 10 should be
-1 1- ( synchronized. In this way, the ONU can provides the activation timing of newly receive-d churning parameters, which can prevent the received data stream from being dechurned in an unintended way. This issue will be 5 discussed in more detail later.
The ONU 10 further comprises an external storage controller 13 and a dechurning mask unit 14. Churning parameters in the churning parameter memory subsystem 11 are saved into a non-volatile memory 13a for data backup 10 purposes, under the control the external storage controller 13. The dechurning mask unit 14 disables the function of the data dechurning unit 12 during a period from the ONU's restarting time point to the next churning key updating time point. Here, the term "restarting time 15 point" means such a time point when the ONU 10 re-enters an operating state from another state, after having left its previous operating state. The details of the external storage controller 13 and dechurning mask unit 14 will be provided in a later part of this description.
The structure and operation of the ONU 10 of FIG. 1 will now be provided in more detail below. In the following sections, the term "churned-VP parameters n may be used as a synonym of churning parameters, where 25 appropriate.
FIG. 2 shows the structure of a data stream and the format of churned-VP messages. Physical Layer
-12 ( Operation and Management (PLOAM) frames are a class of transmission frames constituting a data stream sent from the OLT. Each PLOAM frame begins with a PLOAM cell carrying control information from OLT to ONUs, which is 5 followed by twenty-seven user cells C1 to C27 containing transmission data. Tframe denotes the time of two PLOAM frame intervals in the case that the transmission rate is 150 Mbps. Both PLOAM and user cells are ATM cells each consisting of 53 bytes.
10 Churned-VP message is one of the control messages delivered to ONUs in the form of PLOAM cells. This message uses the fortieth through fiftyfirst bytes (bytes #40 to #51) of a PLOAM cell to convey a single churning parameter.
Byte #40 holds an identifier called "PON-ID, n which 15 indicates the destination ONU of this message. Byte #41 gives a message identification code.00001111. (left-most bit is MSB; right-most bit is LSB) showing that this message is a churned-VP message. Bytes #43 and #44 carry a 12-bit virtual path identifier VPI(11:0) indicating which 20 virtual path this message relates to. Here, the notation (M:N) represents the N-th to M-th bits of a binary value, whose length is thus (M-+1) bits where M>N. Since this 12-bit VIP value does not fit in a single byte, VPI(11:0) is divided into two parts: the upper 8 bits VPI(11:4) 25 ("abodefgh" in byte #43) and the lower four bits VPI(3:0) (ijkl. in byte #44). Such a 12-bit VPI field allows the
ATM-PON system to support up to 4096 virtual paths.
-13 ! Although not explici ly shown in FIG. 2, every user cell contains like VPI information to indicate on which virtual path it has been transported.
Byte #42 shows whether the virtual path specified 5 in bytes #43 and #44 is churned or not churned. The table in FIG. 2 expresses this byte #42 as "xxxxxxxa, n where "x.
denotes "undefined, n and "a" is called the "act bit.. If a=l, this means that transmission data on the virtual path has been churned by the OLT, and thus the receiving ONU 10 should dechurn it. If a=0, the data is not churned. The Recommendation G.983.1 gives no specific meanings to the remaining bytes #45 to #51 yet.
Referring next to FIG. 3, the following section will describe how to update a churning key.
15 In the ATM-PON system including the proposed ONU 10, the churning key is updated as requested by a maintenance station which is located at the OLT's site.
FIG. 3 is a message flow diagram which shows how the churning key is updated.
20 (S1) The OLT transmits a churning key update message M1 to the ONU 10 to request a new churning key value.
(S2) The ONU 10 produces a new churning key and sends it back to the OLT in the form of an acknowledge message ml.
25 (S3) When a period of (16 * Tframe) has elapsed after the first churning key update message M1, the OLT transmits a second churning key update message M2 to
-14 the ONU 10.
(S4) As in step S2, the ONU 10 sends again the updated churning key to the OLT in a second acknowledge message m2.
5 (S5) When a period of (16 * Tframe) has elapsed after the second churning key update message M2, the OLT transmits a third churning key update message M3 to the ONU 10.
(S6) As in steps S2 and S4, the ONU 10 sends back the 10 updated churning key to the OLT in a third acknowledge message m3.
(S7) Finally, the new churning key becomes active when the interval of (48 * Tframe) has elapsed after the OLT transmitted the first churning key update message 15 M1. This time point is referred to herein as the "churning key updating time point. n The OLT then starts to churn the outgoing data to the ONU lo with this new churning key, while the ONU 10 uses the same key to dechurn the incoming data. The OLT and ONU 10 20 conduct the above synchronously, counting each (16 * Tframe) interval at both ends.
Note here that the above sequence implies that the OLT and ONU 10 perform data churning and dechurning with the old churning key until the total period of (48 * 25 Tframe) is elapsed after the first churning key update message M1 is sent from the OLT to the ONU 10.
Referring now to FIG. 4, the next section will
-15 ( describe the dual REM bank structure of the proposed churning parameter memory subsystem 11, as well as illustrate its data copying operation. As explained in FIG. 3, the churning key is refreshed at the churning key 5 updating time point. This naturally means that the ONU 10 has to update its churned-VP parameters accordingly at the same time point, and therefore, the ONU 10 should make all the newly received parameters ready in its local RAM, before the next churning key updating time point is 10 reached.
FIG. 4 is a block diagram of the ONU 10 employing a dual RAM bank structure. This ONU 10 shown in FIG. 4 differs from the one explained in FIG. 13 in that it further comprises another RAM Mllb, a switching controller 15 11-3, and a replication controller 11-4. The switching controller 11-3 and replication controller 11-4 are integral part of the churning parameter memory subsystem 11 shown in FIG. 1.
Initially, the RAM Mlla is chosen as the current 20 active storage which provides the ONU 10 with churned-VP parameters, being addressed by VPI(11:4). The other RAM Mllb works as the backup storage which is used to hold new churned-VP parameters until the next churning key updating time point. The switching controller 11-3 captures the 25 churning key updating time point by receiving three churning key update messages M1 to Ma and ensuring that a period of (48 * Tframe) has elapsed after the reception of
-16 the first churning key update message M1. When the churning key updating time point is reached, the switching controller 11-3 switches between the RAM Mlla and RAM Ally, thereby making the RAM Mllb active and the other RAM Mlla 5 backup. This switching operation. however, causes the backup RAM data to retrograde because the RAM Mlla has not been updated since the previous churning key updating time point. To solve the problem, the replication controller - 11-4 copies data from the newly activated RAM Mllb to the 10 RAM Mlla that is now playing the backup role.
The RAMs Mlla and Mllb are each equipped with two ports which allow simultaneous data read operations. For example, the active RAM can provide churned-VP parameters to the data dechurning unit 12, while sending data to the 15 backup RAM for copying purposes-. FIG. 5 is a flowchart showing this parameter copying operation. It is assumed here that the RAM Mlla- is initially assigned the active role, and the other RAM Mllb the backup role. Their data contents are shown in FIG. 5, where the values on the 20 left-hand side are VPIs and those on the right-hand side are their respective act bit values. For instance, the expression OOOn=1 denotes that the RAM contains a churned-VP parameter that indicates the virtual path with a VPI value of 000 is churned (i.e., act bit a=1). The 25 copying operation proceeds as follows.
(S10) At each churning key updating time point, the switching controller 11-3 switches between the two
-17 RAM banks, i.e., RAM Mlla and RAM Mllb.
(Sll) The switching controller 11-3 informs the replication controller 114 of the churning key updating time point. In response to this, the 5 replication controller 11-4 reads out one data entry from the active RAM Mllb, incrementing the read address counter.
(S12) The replication controller 11-4 writes the read data entry to the backup RAM Alla, incrementing the 10 write address counter.
(S13) The replication controller 11-4 tests whether the write address counter has reached its maximum address value. If it has not yet reached the maximum, the process returns to step S11 to repeat steps Sll and 15 S12 for other data entries.-If it is the maximum, the process exits from the copying routine.
FIG. 6 is a timing diagram which shows the sequence of the parameter copying operation in more detail.
KEYTIM is a timing pulse signal that indicates churning 20 key updating time points. RAM-STATE shows which of the two RAM banks is working as the active RAM currently. In the context of FIG. 6, the RAM(A) is activated at the shown churning key updating time point, while the RAM(B) was working as the active RAM before that time point. Note 25 that RAM(A) and RAM(B) in FIG. 6 refer to the RAMs Mlla and Mllb in FIG. 4, respectively. COPYMODE, when it is high, indicates that the churning parameter memory
-18 ( subsystem 11 is copying its data contents from active CAM to backup RAM. COPYCTR is the output of a counter which increments the RAM address from zero to 256 while the COPYMODE signal is at a high level. This counter is 5 actually a module 259 counter since the RAM write enable signal XWE (described more in a later part) has a phase lag as shown in FIG. 6.
RAMA-RAD is the read address of RAM(A), which has just been designated as the active RAM. This RAMA-RAD is 10 produced by shifting COPYCTR by one unit interval of copying cycle, which is referred to hereafter as the Cycle time." RAMA-RDT shows a series of data words which are read out of the RAM(A) according to the sequential address signal RAMA-RAD. As seen from FIG. 6, the read 15 data entries include: Ma' for address "0,' 'B. for address "1, and so on. Note that RAMA-RDT follows RAMA-RAD with a delay of one cycle time.
RAMB-WDT, on the other hand, shows a series of data words to be written into RAM(B), which has just been 20 switched to the backup RAM. This RAMBWDT is produced by shifting RAMA-RDT by one cycle time. RAMB-WAD is the write address given to RAM(B) when writing RAMB-WDT to it. That is, the data A" read out of RAM(A) is written to address 0" of RAM(B), data "B" to address 1, n and so on. XWE is 25 an active-low write enable signal which initiates a write operation to RAM(B), which has just been designated as the backup RAM, so as to copy the contents of RAM(A) to RAM(B).
-19 ( In the way described above, the ONU copies the latest churned-VP parameters from the active RAM to the backup RAM, each time the two RAM banks change their roles. This configuration permits the backup 5 RAM to keep track of the latest churned-VP information, so that the memory content will be always consistent with what the OLT intends.
The next section will now describe how the ONU will operate when it has received a new 10 churned-VP parameter while a copying activity is in progress. Since the ONU counts the number of frames by interpreting every PLOAM cycle as one frame unit, the churning key updating time point always occurs right at 15 the time point of PLOAM cell reception. The PLOAM cell received at this churning key updating time point may contain churned-VP information. The ONU, however, cannot write the information to its backup RAM immediately, because parameter copying operations have already started 20 and the backup RAM is receiving data from the active RAM.
To properly update the backup RAM with the newly given information, the ONU uses a flag indicating that a parameter copying operation is in progress. If a churned-VP message is received while this flag is set, the 25 ONU waits until the flag is cleared at the end of the parameter copying operation, and then writes the received churned-VP parameter to the backup RAM. Actually, the
-20 ( aforementioned COPYMODE signal serves as a flag for this purpose. FIG. 7 is a timing diagram which shows how the ONU will operate when it receive a churned-VP 5 message during a parameter copying operation. COPYMODE is set to "H" (high level) during a parameter copying operation. CHURNED-TR is a trigger signal that becomes "H.
when a churned-VP message is received. CHURNED-IT is then produced by latching the CHURNED-TR signal when it becomes 10 OH" while COPYMODE is "H.. This CHURNED-IT is reset to L (low level) when the parameter copying operation is finished. At the falling edge of CHURNED-IT. CVP-CTR is loaded to provide a backup RAM write address.
As described above, the- ONU is configured 15 to temporarily hold new churned-VP information received during a parameter copying operation, and not to write it to the backup RAM until that operation is finished. That is, the ONU performs a parameter copying operation first and then overwrites the copied data with 20 newly received churned-VP parameters. This prioritization ensures that the backup RAM will be properly updated with new information.
The next section will explain how the ONU returns an acknowledge message in response to a churned-VP 25 message.
The ITU-T Recommendation G.983.1 requires ONUs to send back an acknowledge message to notify the OLT of the
-21 ( correct reception of a churned-VP message. G.983.1, however, does not provide specific conditions for rebr.=g ackr.cwledgeent.
The ONU 10 returns an acknowledge message to 5 the OLT, only when the churning parameter memory subsystem 11 can successfully verify the churned-VP parameters that have been written into the RAM. This verification is done by re-reading the data and comparing it with the original data that has been written.
10 FI&. 8 is a flowchart which shows a process of sending back an acknowledge message. It is assumed here that RAM(A) is serving as the active RAM, and RAM(B) as the backup RAM, and that the data has already been copied from RAM(A) to RAM(B). When a churned-VP message is 15 received in this context, the aNu writes the information to RAM(B) and then sending back an acknowledge message after reading out the information again from RAM(B) for verification. This process comprises the following steps.
(S20) The ONU receives a churned-VP message.
20 (S21) The ONU reads data out of an address of RAM(B) that is specified by the received churned-VP message.
That is, VPI(11:4) is supplied to RAM(B) as its read address, thereby reading out a relevant data word. By extracting one bit specified by VPI(3:0), the act bit 25 information is obtained from the data word.
(S22) The ONU performs a parity check for the data word read out of RAM(B) . Here, an error check and
-22 ( correction mechanism is employed to ensure more reliable datatransport between LSI devices, for example. This is accomplished by adding an error correction code to each data to be transmitted. If no 5 errors are detected, the process advances to step S23.
If an unrecoverable parity error is detected, the process branches to step S29.
(S23) The ONU compares the read data of RAM(B) with the act bit information found in the received churned-VP 10 message. If they do not agree, the process advances to step S24. If they have the same value, the process skips to step S25.
(S24) The ONU writes the updated act bit information to the same address as it made access at step S21.
15 (S25) The ONU re-reads the data from the same address.
(S26) The ONU performs a parity check for the data word read out of RAM(B) . If no errors are found, the process goes to step SZ7. If an unrecoverable parity error is detected, the process branches to step S29.
20 (S27) The ONU compares again the data read out of RAM(B) with the act bit information found in the received churned-VP message. If they agree with each other, the process advances to step S28. If they do not agree, the process proceeds to step S29.
25 (S28) Now that the information has successfully been written into RAM(B), the ONU sends back an acknowledge message to notify the OLT of the correct
-23 ( reception of the churned-VP message.
(S29) The detected error is reported to a controller that controls the entire system of the ONU 10.
In this way, the churning parameter memory 5 subsystem 11 performs a write verification of each churned-VP parameter when it is received from the OLT and written into RAM. The ONU 10 returns an acknowledge message to the OLT, only when the written data is successfully verified.
10 In thy way, the stored ch ed-VP parameter can be prevented from becoming inconsistent with that in the OLT.
Referring back to FIG. 1, the external storage controller 13 will be described below. The proposed ONU 10 is equipped with a backup power supply which will work in 15 case of a main power failure, and with this backup power supply, the external storage controller 13 saves the current churned-VP parameters into a non-volatile memory 13a such as flash memory devices. This feature permits the ONU to recover by itself without requesting the OLT to 20 resend churned-VP parameters after rebooting, since the necessary information is safely stored in the non-volatile memory 13a.
Once the current churned-VP parameters are saved, the external storage controller 13 selectively updates the 25 entries of the non-volatile memory 13a with newly arrived churned-VP parameters, if it is different from the currently stored information. More specifically, when some
-24 act bit information is written at step S24 in the flowchart of FIG. 8. the churning parameter memory subsystem 11 sets its corresponding update flag indicating that the act bit information has been updated. Referring 5 to this update flag as an enabling condition, the external storage controller 13 reads out data from its relevant address of the backup RAM and saves it the non-volatile memory 13a. In this way, the non-volatile memory 13a is À updated efficiently by writing only the changed entries.
lo Generally, most memory devices for use as the non volatile memory 13a are limited in terms of the number of programming cycles, which necessitates further efforts to reduce the frequency of data write operations that the external storage controller 13 may execute. To this end.
15 the external storage controller 13 may be configured to store the churned-VP parameters to, for example, an SRAM (Static RAM) device when the system is rebooted, and transfer the data back to the non-volatile memory 13a when the ONU 10 is shut down. This configuration will 20 effectively reduce the access to the non-volatile memory 13a. After the initial transfer of churned-VP parameters from the non-volatile memory 13a to the SRAM (not shown), the external storage controller 13 only has to selectively update the SRAM contents with such churned-VP parameters 25 whose corresponding update flag is set. When the ONU 10 is shut down, the external storage controller 13 may transport only the changed churned- VP parameters to the
-25- I
non-volatile memory 13a, rather than transferring all the SRAM contents.
FIG. 9 is a flowchart which shows a process of copying updated churned-VP parameters from the SRAM to the 5 non-volatile memory 13e. This process comprises the following steps.
(S30) The churning parameter memory subsystem 11 sets update flags corresponding to specific churned-VP parameters when they are changed.
10 (S31) According to the update flags being set, the external storage controller 13 reads out their relevant churned-VP parameters from the backup RAM.
(S32) The external storage controller 13 writes the changed churned-VP parameters into the SRAM.
15 (S33) When the ONU 10 is shut down, the external storage controller 13 transfers the SRAM contents to the non-
volatile memory 13a.
As an alternative action at step S33, the external storage controller 13 may transport only the changed 20 churned-VP parameters to the nonvolatile memory 13a, rather than transferring all the SRAM contents, when the ONU 10 is shut down. This configuration will reduce the access to the non-volatile memory 13e more effectively.
When the main power is restored, the ONU 10 will 25 operate as follows. The ITU-T Recommendation G.983.1 defines ten states of the ONUs, which are referred to as O1 to O10, and more particularly, it requires that the
-26 ( ONUs be in state 01 or 09 after the main power is restored.
Here, state 01 is the initial state of an ONU after power-
up, while state 09 denotes the emergency stop state. Once the ONU enters the Emergency stop state, it cannot 5 communicate with the OLT, being disconnected from the network. ONU 10 has another state with a symbol Too, n which represents the state just after power-up. This newly 10 defined state 00 means an initial preparation state in which the ONU determines whether to go to 01 or 09. The chug parameter marry subsystem 11 is designed to accept churned-VP parameters from the non-volatile memory 13a, only when the ONU is in this 15 state 00 after power-up. Even if some external event changed the RAM while the ONU 10 was in the operating state (i.e., state 08), the above mechanism would not activate that information. Thus the churned-VP parameters in the ONU 10 will be kept consistent with those in the 20 OLT.
The churning parameter memory subsystem 11, on the other hand, can determine its initial data source in state 00, choosing either of the churned-VP parameters read out of the non-volatile memory 13a or those that newly Z5 received from the OLT. In other words, the ONU is offered a choice of whether to enable or disable the churned-VP parameters that was reloaded from the non-volatile memory
-27 13a during the OO state. This is because it is sometmes preferable for the ONU 10 to use churned-VP parameters resent from the OLT. To support those two options in state 00, the proposed ONU configures the churning parameter 5 memory subsystem 11 in such a way that one of its two RAM banks keeps the values loaded from the non-volatile memory 13a, while the other RAM bank is initialized so that all the entries will be set to the ÀNot churned" state. The ONU 10 provides a flag to indicate which RAM bank should 10 be activated. This flag, referred to herein as the a enable external memory flag,. will be set when the ONU 10 intends to use the values loaded from the non-volatile memory 13a.
In this case, the values loaded to the RAM are subjected to later updates, being overwritten with incoming churned 15 VP parameters. When the enable external memory flag is cleared, new churned-VP parameters sent from the OLT will be written into the RAM that has been initialized to the Not churned" state. In both cases, the aforementioned parameter copying operation begins at a churning key 20 updating time point.
FIG. 10 is a flowchart which shows how the churning parameter memory subsystem 11 operates when the main power is restored. It is assumed now that all the RAM(A) entries have been initialized to the "Not churned.
25 state, and also that RAM(B) has been loaded with the churned-VP parameters copied from the non-volatile memory 13a. It is further assumed that user cells are not churned
-28 during a period "B." In such a situation, the churning parameter memory subsystem 11 operates according to the following steps.
(S40) It is tested whether the enable external memory 5 flag is set. If the flag is set, the process advances to step S41. If not, the process branches to step S45 (S41) The churning parameter memory subsystem ll designates RAM(A) as the active RAM, and RAM(B) as the backup RAM.
10 (S42) Each time a churned-VP message is received, a relevant entry in RAM(B) is overwritten with the received parameter.
(S43) At a churning key updating time point, the churning parameter memory subsystem 11 designates 15 RAM(A) as the backup RAM, and RAM(B) as the active RAM. (S44) The contents of RAM(B) is copied to RAM(A).
(S45) If a churned-VP message is received, the process advances to step S46. If not, the process returns to 20 step S40.
(S46) The churning parameter memory subsystem 11 designates RAM(A) as the backup RAM, and RAM(B) as the active RAM.
(S47) Each time a churned-VP message arrives, the 25 relevant entry in RAM(A) is overwritten with the received parameter.
(S48) At a churning key updating time point, the
-29 ! churning parameter memory subsystem 11 designates RAM(A) as the active RAM, and RAM(B) as the backup RAM. I
(S49) The contents of RAM(A) is copied to RAM(B). I - 5 Referring now to FIG. 11, the dechurning mask unit 14 operates as follows. The ONU 10 is designed to begin dechurning of incoming user cells when it enters the operating state 08. However, in the case that the ONU 10 comes back to 08 after a transition from 08 to any other 10 state, if the churning key of the ONU 10 happened to be different from what the OLT thinks it should be, the ONU 10 could erroneously apply a dechurning operation to user cells. It is therefore necessary for the ONU 10 to mask, or disable, the dechurning function during the above 15 transition period, and FIG. 11 shows how to perform this.
The process proceeds according to the following steps.
(S50) The ONU 10 changes from the operating state 08 to another state.
(S51) In response to the state transition, the 20 dechurning mask unit 14 sets a masking flag.
(S52) The dechurning mask unit 14 then disables the dechurning function of the ONU 10.
(S53) The ONU 10 returns to the operating state 08.
(S54) The dechurning mask unit 14 waits for the first 25 churning key updating time point after the ONU 10 has entering to 08. When that time point is reached, it clears the masking flag to enable again the
-30 ( dechurning function.
(SS5) The ONU 10 begins dechurning incoming user cells on the basis of the new churning key and new churned VP parameters.
5 In the way described above, the dechurning mask unit 14 is designed to disable the data dechurning function during the period between a transition to 08 and its subsequent churning key updating time point, outputting given user cells just as they are. This 10 prevents the ONU from erroneously dechurning user cells, since the data dechurning function will not become effective until the OLT and ONU lo can ensure their use of the same churning key.
15 - . _....
FIG. 12 shows an optical network unit lea, an alternative implementation of the ONU 10. While this ONU lea of FIG. 12 has an external storage controller 13, its specifics 20 will not be explained here again since they can be found in an earlier section.
According to this alternative implementation, a churning parameter memory subsystem lla has only a single storage area for storing churned-VP parameters. A data 25 dechurning unit 12a receives a data stream consisting of a plurality of frames and dechurns it according to the churned-VP parameters stored in the churning parameter
-31 memory subsystem lla. When a new churned-VP message is received in a certain frame, the data dechurning unit 12a will activate the received parameter at the beginning of the next frame. Then the data dechurning unit 12a uses the churned-VP parameter to dechurn the incoming data streams in that frame and later.
It is assumed, for example, that there is a churned-VP message which contains a churning parameter indicating that a virtual path with VPI=001. (in 10 hexadecimal notation) is churned, among other virtual paths within each frame of the data stream. It is also assumed that the user cell C1 in each frame has a VPI with a value of.001 n in its overhead section. When the above churning parameter arrives at the ONU lea in PLOAM frame 15 #1, the data dechurning unit 12a activates the churned-VP parameter in the subsequent PLOAM frame #2 after reading out the churned- VP parameter from the churning parameter memory subsystem lla. That is, the dechurning of the user cell C1 begins in PLOAM frame #2.
20 As seen from the above, the ONU lea differs from the ONU 10 in that it needs only one storage space, and in that it activates a new churned-VP parameter independently of the update timing of churning keys. This single memory structure permits the ONU lea to decode user cells in a 25 more efficient manner.
FIG. 13 is a block diagram which shows a mechanism to realize a data dechurning operation in a subsequent
-32- I
frame. This mechanism comprises a RAM M11, a churned-VP message flag setting unit 11-1, and a churned-VP parameter writing unit 11-2, which are components of the churning parameter memory subsystem lla in FIG. 12. The data 5 dechurning unit 12a in FIG. 12 is shown as a data dechurning unit 12 in FIG. 13.
When a churned-VP message is found in a received PLOAM cell, the churnedVP message flag setting unit 11-1 sets a relevant churned-VP message flag. The churned-VP 10 parameter writing unit 11-2 writes the received churned-VP parameter to the RAM Mll, controlling its write enable input according to the churned-VP message flag. The RAM M11 is organized as a 16-bit x 256-word memory. When a churned-VP message containing a specific VPI and its act 15 bit status is received, the RAM M11 is addressed by VPI(11:4) out of the received 12-bit VPI(ll:O), and the act bit status is written into one of the sixteen data bits as specified by VPI(3:0). In this way, the RAM M11 provides storage space for 4096 instances of the act bit 20 information.
The data dechurning unit 12 receives an incoming data stream, extracting a VPI(ll:O) value from each user cell in the stream. The data dechurning unit 12 supplies the RAM all with VPI(11:4) out of the extracted VPI(11:0) 25 as its read address, thereby reading out a data word containing sixteen act bits. By choosing one bit as specified by VPI(3:0), the act bit information relevant to
-33 / the user cell is obtained. If a=1 (i.e., the act bit is "1"), the data dechurning unit 12 dechurns the cell by using an appropriate churning key. If a=O, the data dechurning unit 12 outputs the cell as it is, without 5 dechurning its data part.
FIG. 14 is a timing diagram which shows how the incoming information is dechurned, assuming that a PLOAM cell #1 in the data stream contains a churned-VP message - that says the virtual path with a VPI(11:0) value of "001.
10 (in hexadecimal notation) is churned (i.e., its act bit is 1"). When this PLOAM cell #1 is received, the churned-VP message flag setting unit 11-1 recognizes it as a churned VP message by detecting its message identification in byte #41. Upon recognition, it outputs a relevant churned-VP 15 message flag as shown in FIG. 14. On the other hand, the churned-VP parameter writing unit 11-2 internally holds the received VPI(11:0)=001 and act bit information (a=1) until it detects the first user cell C1 in the next frame.
Referring to FIG. 14, PLOAM pulses indicate the position 20 of each PLOAM cell, while cell framing pulses define the beginning of individual cells. The write enable signal for the RAM M11 is created through a logical AND operation of the churned-VP message flag and PLOAM pulses. Using this write enable signal, together with the cell framing pulses 25 as the write timing signal, the churned-VP parameter writing unit 11-2 performs a RAM write operation. During this operation, VPI(11:4)=n00" is supplied to the RAM M11
-34 ( as its write address, and VPI(3:0)= n 1" specifies the bit position of the write data, so that the act bit information will be written to the specified bit in the RAM M11.
5 As a result of the above, the churned-VP parameter given by the PLOAM cell #1 is written into the RAM Mll at the beginning of the PLOAM cell #2 in the next frame.
After that (from the time point SHAH in FIG. 14, at which the first user cell C1 begins in the next frame), the data 10 dechurning unit 12 reads out this information from the RAM M11 each time a cell with a VPI(11:0) value of "001" is received, and dechurns the cell accordingly. In the present example, the data dechurning unit 12 dechurns the cell C1 just after the time point A,. since the cell C1 15 has a VPI(11:0) value of "001..
Suppose, on the other hand, that the next PLOAM cell #2 in the data stream contains a churned-VP message that says the virtual path with a VPI(11:0) value of 010" is not churned (i.e., a=0). In this case, every incoming 20 cell having this VPI value.010" will be handled as it is, without being dechurned, according to the timing diagram of FIG. 14.
As described above, the proposed ONU 10a is designed to receive a new churned-VP parameter from the 25 OLT in a PLOAM cell and activates it when the next PLOAM cell is received in the subsequent PLOAM frame. That is, the ONU 10a can start to dechurn the incoming user cells
-35 ( immediately from the next frame. This configuration reduces the latency of data received from the OLT, besides preventing inconsistencies from being introduced between the data churning process at the OLT and the data 5 dechurning process at the ONU 10a.
Referring next to FIGS. 15 to 24, an optical line terminal (OLT) embodying the present invention will now be described below.
FIG. 15 is a conceptual view of an optical line 10 terminal 20 embodying the present invention. Being coupled to an optical access network system (e.g., ATM-
PON), this OLT 20 transmits a data stream to a plurality of optical network units 30a to 30n (or ONUs 30, collectively). Here, the data stream contains information 15 encrypted by using a churning key.
The OLT 20 comprises a flag controller 21, a churning parameter transmission controller 22, a churning parameter overwriting unit 23, and a churning parameter updating unit 24. When sending a data stream, the flag 20 controller 21 sets and clears various flag, according to the status of the ONUs 30. Based on the flags, the churning parameter transmission controller 22 controls transmission of churning parameters (i.e., churned-VP parameters) which indicate which logical connections are 25 churned or not. The churning parameter overwriting unit 23 resends churned-VP parameters to ONUs 30, allowing them to overwrite their own information bases. The churning
-36 ( parameter updating unit 24 controls the update time points of churned- parameters so that they will be synchronized with the end of each churning key updating operation.
The flags mentioned above include an "initial 5 parameter delivered flag, n which is controlled by the flag controller 21 as follows. The OLT 20 sends churned-VP parameters to the ONU 30a when the ONU 30a has changed from a standby state to the operating state 08. Such a churned-VP transmission triggered by a state transition 10 from idle to 08 is called the initial parameter delivery process.. For use in this initial parameter delivery process, the flag controller 21 provides an n initial parameter delivered flags for each individual ONU. More specifically, the flag controller 21 clears the flag to 15.0" when the ONU 30 is in the standby state, while it sets the flag to.1. when the initial parameter delivery process is finished. When the ONU 30 enters to state 08, the churning parameter transmission controller 22 checks the initial parameter delivered flag, and if the flag is 20 still cleared at that time, it executes an initial parameter delivery process.
FIG. 16 is a flowchart showing the initial parameter delivery process using the initial parameter delivered flag. As a presupposition, note that every ONU 25 has its own identifier n the state of individual ONUs and their respective flags (described later) are referred to by their identifiers a.
-37 ( (S60) The flag controller 21 clears the initial parameter delivered flag(n) to to" when each ONU(n) is in the standby state.
(S61) Suppose that a specific ONU(n) changes from the 5 standby state to state 08.
(S62) Upon detection of the transition of the ONU(n) to state 08, the flag controller 21 checks whether its corresponding initial parameter delivered flag(n) is 0. n If the flag is 0,. then the process advances to 10 step S63. If the flag is "1, n the process terminates, since the flag indicates that the initial parameter delivery process has already been done.
(S63) The churning parameter transmission controller 22 executes an initial parameter delivery process for 15 the ONU(n). More specifically, the churning parameter transmission controller 22 supplies the ONU(n) with churned-VP parameters for 4096 virtual paths. In response to each churned-VP message, the ONU(nJ returns an acknowledge message to inform the sender 20 of the correct reception. The initial parameter delivery process is finished when all 4096 churned-VP messages are transmitted and the subsequent acknowledge messages are received. When this is finished, the churning parameter transmission 25 controller 22 sets the initial parameter delivered flag(n) to n 1. accordingly.
As described above, the proposed OLT 20 has an
-38 ( initial parameter delivered flag for each ONU, which is cleared when the ONU 30 is in the standby state and set when a relevant initial parameter delivery process is finished. With this flag, the OLT 20 executes an initial 5 parameter delivery process only when the ONU 30 makes a transition from standby to 08. This means that the proposed OLT 20 will never waste the bandwidth by executing again the same process, being triggered by other kinds of state transitions.
10 The flag controller 21 further provides an initial parameter sending flag,. which is controlled and used as follows. The flag controller 21 sets this flag during the execution of an initial parameter delivery process for an ONU. When the initial parameter sending 15 flag is set, the churning parameter transmission controller 22 stops accepting requests for an initial parameter delivery process. Suppose, for instance, that a plurality of ONUs left the standby state and have entered the operating state 08 simultaneously. In this case, the 20 churning parameter transmission controller 22 serves for the requesting ONU that made such a transition first. The initial parameter sending flag is set at this time, which makes other ONUs wait until the current process is finished. 25 FIG. 17 is a flowchart which shows the initial parameter delivery process using the initial parameter sending flag.
-39 i (S70) The flag controller 21 ensures that the initial parameter delivered flag(n) is ''o n (S71) The flag controller 21 tests whether the initial parameter sending flag is.0." If the flag is ''o, n 5 the process advances to step S72. If the flag is "1, n the process advances to step S74.
(S72) The flag controller 21 sets the initial parameter sending flag to '1 because no other ONUs are being served. 10 (S73) The churning parameter transmission controller 22 performs an initial parameter delivery process for the requesting ONU(n).
(S74) The churning parameter transmission controller 22 waits until the initial parameter sending flag 15 returns to 0. (i.e., until the ongoing initial parameter delivery process is finished).
In the way described above, the proposed OLT 20 performs the initial parameter delivery process for a specific ONU only when the initial parameter sending flag 20 is zero. This means -that the next ONU cannot be served until the ongoing process is finished. Therefore, even if a plurality of ONUs simultaneously request the OLT to execute the process, the OLT can serially handle those requests, serving one ONU at a time. That is, the OLT can 25 sends initial churned-VP messages efficiently, without the need for complicated congestion control.
The flag controller 21 further provides a
-40 ( "parameter update failure flag" as follows. Suppose here that a certain ONU 30 is in the operating state after the completion of its initial parameter delivery process. I During this normal operation, the optical line terminal 20 5 sends churned-VP update messages to the ONU 30 or resends them for overwriting purposes. The receiving ONU 30, l however, may fail to update or overwrite the churned-VP information for some reason, and thus returns no acknowledgement to the OLT 20. In the terminology of 10 G.983.1, this kind of failure is known as the loss of acknowledge (LOAi), which would bring the ONU 30 back to the standby state. When the ONU 30 recovered from the failure and has successfully reentered to the operating state 08, the OLT 20 has to execute the initial parameter 15 delivery process again. To this end, the flag controller 21 provides a parameter update failure flag to indicate that the ONU 30 has failed to update churned-VP information during its normal operation. If this flag is set, the churning parameter transmission controller 22 20 understands that the ONU 30 has encountered some problem in processing churned-VP update messages, and thus it invokes again an initial parameter delivery process for this ONU 30.
FIG. 18 is a flowchart which shows an initial 25 parameter delivery process using the parameter update failure flag. Note here that the process of updating churned-VP information in an operating ONU is referred to
-41- I
/ hereafter as the "parameter updating process. n (S80) The flag controller 21 detects an update failure when the OLT 20 receives no acknowledge message from an ONU(n) within a period of 300 ms after sending the 5 last churned-VP update message. Now it sets the relevant parameter update failure flag(n) to U1 n accordingly. (S81) The churning parameter transmission controller 22 stops sending messages to the failed ONU(n). The 10 ONU(n) enters the standby state.
(S82) When the ONU(n), whose parameter update failure flag is set to "1,. reenters to state 08, the churning parameter transmission controller 22 executes another initial parameter delivery process 15 for this ONU(n).
In the way described above, the proposed OLT 20 is designed to re-execute an initial parameter delivery process, as well as setting a relevant parameter update failure flag, in the case that the ONU 30 has failed to 20 update its churned-VP information. This additional execution of an initial parameter delivery process permits the failed ONU 30 to keep its stored churned-VP parameters consistent with those in the OLT 20.
The flag controller 21 further provides a 25 Parameter update unfinished flag" for the following reason. Suppose again that a certain ONU 30 has finished its initial parameter delivery process and now it is in
-42 ( the operating state. However, the ONU 30 could be forced out of the operating state because of some reason other I than the above-discussed update failure. In such cases, the ongoing churned-VP update operation is deemed to be 5 unfinished. To address this problem, the flag controller 21 provides a parameter update unfinished flag to indicate that the ONU 30has not finished to update some churned-VP parameters. When the ONU 30 enters to state 08 again, the churning parameter transmission controller 22 checks the 10 parameter update unfinished flag, and if the flag is still set at that time, it will execute an initial parameter delivery process.
FIG. 19 is a flowchart which shows an initial parameter delivery process using the parameter update 15 unfinished flag. This process proceeds according to the following steps.
(S90) When a specific ONU(n) has left the operating state 08, the flag controller 21 sets its corresponding parameter update unfinished flag(n) to 20 nl.1.
(S91) The churning parameter transmission controller 22 stops sending further messages to the failed ONU(n).
The ONU(n) now enters to the standby state.
(S92) When the ONU(n), whose parameter update unfinished 25 flag is set to.1,. re-enters to state 08, the churning parameter transmission controller 22 executes another initial parameter delivery process
for this ONU(n).
In the way described above, the proposed OLT 20 is designed to re-execute an initial parameter delivery process, as well as setting a relevant parameter update 5 unfinished flag, in the case that the ONU 30 left the operating state. This additional execution of an initial parameter delivery process permits the ONU 30 to keep its stored churned-VP parameters consistent with those in the OLT 20, in the case of a problem other than churned-VP 10 update failures.
The flag controller 21 further provides a "churning key updating flag, n which works as follows. As stated in an earlier section, the ONUs dynamically change their churning keys at prescribed intervals, thereby 15 ensuring data confidentiality. However, if a parameter updating process or parameter overwriting process is performed derring the period of this churning key updating process, the churned-VP parameters could not be correctly updated because of possible conflict between the two 20 processes. To avoid this conflict, the flag controller 21 provides a churning key updating flag which is set during the period when a churning key updating process is under way. When the churning key updating flag is set, the 25 optical line terminal 20 cannot send any messages other than churning key update messages. If a certain ONU 30 requests the OLT 20 to update churned-VP information
-44 ! during this period, the OLT 20 holds the request until the churning key is updated. This feature permits the ONU 30 to keep its stored churned-VP parameters consistent with those in the OLT 20.
5 The flag controller 21 further provides a "parameter update request flag" for each ONU. This flag will be set by an external maintenance station. when the OLT 20 performs a parameter updating process for a specific ONU that has already finished an initial 10 parameter delivery process. The OLT 20 then updates the requesting ONU's churned-VP parameters. Upon completion of the update, the parameter update request flag is cleared.
In this way, the OLT 20 can modify the churned-VP parameters that have once been established through the 15 past initial parameter delivery process, when the ONU of interest is in the operating state 08.
Note that the parameter update request flag is provided for each individual ONU, and that each ONU is allowed to update only one VPI entry at a time. In the 20 case of VPI for broadcast traffic, all ONUs receive the same update. The above restriction of "one VPI entry per ONUS ensures that each parameter updating process can be finished within the interval of churning key updates, thus rendering the updating time deterministic.
25 The flag controller 21 further provides a "parameter updating flag" for each ONU. Parameter updating processes deserve higher priority than other processes,
-45 ( because of their time-critical nature. For this reason, the flag controller 21 provides a parameter updating flag which is set when a parameter updating process is being executed. Other requests from the ONU have to be suspended 5 when the parameter updating flag is set, thereby preventing unwanted interruptions, as well as giving a higher priority to the ongoing parameter updating process.
Referring now to FIGS. 20 to 23, the details of the parameter updating process will be explained below.
10 FIGS. 20 and 21 show a flowchart of a process executed at the beginning of each parameter updating process.
(S100) The churning parameter transmission controller 22 tests whether any parameter update request flag is set (note that the ONUs 30a to 30n have their own 15 flags). If the flag is.1, n then the process advances to step S101. If the flag is À0," the process is terminated. (S101) The churning parameter transmission controller 22 then tests a "send flag." This send flag is a flag 20 that the flag controller 21 provides to indicate that the OLT 20 is sending a churned-VP message. If the send flag is "1, the process repeats step S101 until the flag is cleared to too, n If the send flag is "go n the process advances to step S102.
25 (S102) The flag controller 21 sets again the send flag to n 1, thereby inhibiting the acceptance of other requests.
-46 ! Unlike the above steps, the following steps S103 and so on can be executed in parallel to serve a plurality of ONUs at a time. Suppose, for example, that three ONUs 30a, Job, and 30c need to update their churnedVP 5 parameters. Then three processes will run concurrently to handle those requests. The following explanation focuses the parameter updating process for the ONU 30a.
(S103) The flag controller 21 clears the parameter update request flag to '.o n 10 (S104) The flag controller 21 sets the parameter updating flag to "l.n (S105) The churning parameter transmission controller 22 composes a churned-VP message by inserting a relevant value to its VPI field. It also presets a counter k
15 (e.g., k=3) for repetitive transmission of this churned-VP message.
(S106! The churning parameter transmission controller 22 tests the churning key updating flag. If the flag is n 1," the process repeats step S106 until the flag is 20 cleared to "0. If the send flag is "0," the process advances to step S107.
(S107) It is examined whether the ONU 30a is still in the operating state 08 or not. That is, if the parameter update unfinished flag is n 1," the process branches 25 to step S110. If the flag is "0," the process advances to step S108.
(S108) The churning parameter transmission controller 22
-47 sends out a churned-VP message. It then decrements the transmission counter k by one, so as to manage the number of churned-VP messages to be transmitted.
(S109) If the transmission counter k has reached zero, 5 the process is terminated. If not, the process returns to step S106.
(S110) The churning parameter transmission controller 22 executes an initial parameter delivery process.
FIG. 22 is a flowchart which shows a process of 10 receiving an acknowledge message. The ONU 30a sends back an acknowledge message in response to each churned-VP message that is correctly received from the OLT 20. The OLT 20 handles this acknowledge message according to the following steps.
15 (S120) The OLT 20 checks the message flow by measuring the time between the last churned-VP message and its subsequent acknowledge message, More specifically, the OLT 20 waits for an acknowledge message after sending the churned-VP message three times. If no 20 acknowledge is received within a prescribed period (300 ms) after sending the last churned-VP message, the OLT 20 detects a timeout error. If this is the case, the process branches to step S123. Otherwise, the process advances to step S121.
25 (S121) The churning key updating flag is tested. If the flag is "1," the process repeats step S121 until it is cleared to "0." If the flag is "0," the process
-48 1' advances to step S122.
(S122) The flag controller 21 clears the parameter updating flag to ''o. n (S123) The flag controller 21 sets the parameter update 5 failure flag to 1."
(S124) The churning parameter transmission controller 22 executes an initial parameter delivery process.
FIG. 23 is a flowchart which shows a process executed at the end of the parameter updating process.
10 This process comprises the following steps.
(S130) If all the parameter updating flags exhibit zeros, this indicates that the process is finished for all the ONUs concerned. If this is the case, the process advances to step S131. Otherwise, the process repeats 15 step S130 until all the non-zero flags are cleared.
(S131) The flag controller 21 clears the send flag to no, n thus enabling other requests.
The next section will describe the function of the churning parameter overwriting unit 23.
20 After a set of churning parameters are delivered to the ONU 30 through an initial parameter delivery process, the OLT 20 would not send churnedVP messages to the ONU 30 any more, as long as there is no change in the churned-VP parameters. Previously-proposed ONUs and OLTs, however, 25 can neither detect nor correct inconsistency in their churned-VP parameters, once it was introduced for some reason. To address this pm bleary, according to an embodiment of the present
-49 ! invention, the OLT 20 employs a churning parameter overwriting unit 23 which supplies the operating ONUs 30 with churned-VP parameters, being triggered by the completion of initial parameter delivery processes. With 5 the supplied information, the ONUs 30 overwrite their local churned-VP parameters, thus refreshing their information bases during normal operation. Such processes are termed "parameter overwriting processes," which would permit the ONUs 30 and OLT 20 to correct inconsistency in 10 their churned-VP parameters, even if it happened to be introduced for some reason.
The parameter overwriting process can be executed as a lower-priority task, because it is a kind of safety mechanism to maintain the consistency of churned-VP 15 parameters between the OLT 20 and ONUs 30. Accordingly, the churning parameter transmission controller 22 may suspend the transmission requests from the parameter overwriting process, while giving higher priority to other messaging activities including normal parameter updating 20 processes. The parameter overwriting process can run without disturbing other messaging activities.
The churning parameter overwriting unit 23 has an integral timer for use in the parameter overwriting processes. Being activated after each churned-VP message 25 for overwriting purposes, this timer provides a minimum interval of overwriting operations. To avoid conflict with other messages, the churning parameter overwriting unit 23
-50 does not produce the next churned-VP message until the timer is expired. The timer interval can be defined flexibly through a maintenance station.
The transmission of churned-VP messages should be 5 properly controlled not to conflict with churning key update messages. This issue will be discussed as follows.
According to the ITU-T Recommendation G.983.1, various control messages to the ONUs 30 are conveyed by downstream PLOAM cells which are transmitted at regular 10 intervals. It is therefore necessary for the OLT to determine which message to send to the ONUs 30 in the next PLOAM cell, by arbitrating between a plurality of message transmission requests, if any.
As previously explained in FIG. 3, churning key 15 update messages are transmitted at intervals of 16* Tframe.
Transmission of churned-VP messages, on the other hand, should be completed three times during a period when the churning key updating flag is not set. To meet those constraints, the churning parameter transmission 20 controller 22 would give priority to a churning key update message, if it conflicted with a churned-VP message. In this case, the OLT 20 first sends the churning key update message three times, automatically at intervals of 16*Tframe, and it then transmits the churned-VP message 25 three times, automatically at intervals of 16*Tframe. It should be noted that the arbitration takes place only at the first instance of those messages. Once the first
churning key update message is transmitted, the second and third instances can be sent without conflicting with each other. Referring lastly to FIG. 24, the operation of the 5 churning parameter updating unit 24 will be described below. While defining the activation timing of churning key updates, the ITU-T Recommendation G.983.1 lacks the definition of when to activate churned-VP updates. Without appropriate coordination, updating churned-VP parameters 10 would introduce inconsistencies in churned-VP parameters between the OLT 20 and ONUs 30.
According to an. embodiment of the present invention, the churning parameter updating unit 24 car. prevent any inconsistent updates by activating the new parameter at the churning 15 key updating time point. FIG. 24 is a timing diagram which explains how the churned-VP parameters are updated. First, the OLT 20 sends a churned-VP message three limes. Then the OLT 20 and the receiving ONU 30 activate this new churned-VP information at the first churning key updating 20 time point after the last churned-VP message is sent. In this way, the churned-VP parameters are updated simultaneously at the both ends, without fear of producing inconsistencies. The above discussion will now be summarized as
Acordinq to an emhodincnt of an aspect of the present invention, the optical line terminal provides various flags to control the transmission of data streams to the receiving network units. Particularly, it provides control flags for use in the transmission of churning parameters. This feature of the invention improves the quality of communication control, ensuring that the dechurning operations in the receiving end is synchronized with the churning operations in the sending end in terms of the usage of updated churning parameters.
15 The foregoing is considered as illustrative only of the principles of the present invention. Further, since numerous modifications and changes will readily occur to those skilled in the art. it is not desired to limit embodiments of the 20 invention to the exact construction and applications shown and described, and accordingly, all suitable modifications and equivalents may be regarded as falling within the scope of the invention in the appended claims and their 25 equivalents.

Claims (17)

1. An optical line terminal for use with an optical access network system, which terminal transmits a data stream containing information that is churned by using a churning 5 key, the terminal comprising: flag control means for controlling flags when sending the data stream to a receiving end; and churning parameter transmission control means for controlling transmission of churning parameters to the 10 receiving end, based on the status of the flags, the churning parameters indicating where logical connections are churned or not churned.
2. The optical line terminal according to claim 1, wherein 15 said flag control means are operable to clear an initial parameter delivered flag when the receiving end is in a standby state, and to set the initial parameter delivered flag at the end of an initial parameter delivery process that delivers an entire set of the current churning 20 parameters to the receiving end.
3. The optical line terminal according to claim 1 or 2, wherein the flags provided by said flag controlling means include an initial parameter delivery in progress flag that 25 indicates that an initial parameter delivery process is in progress to deliver an entire set of the current churning parameters to the receiving end.
4. The optical line terminal according to claim 1, 2 or 3 30 wherein said flag control means is operable to set a parameter update failure flag when an update of the churning parameters being stored in the receiving end has failed.
i S. The optical line terminal according to any preceding claim, wherein said flag control means is operable to set a parameter update finished flag when the receiving end has
5 left an operating state.
6. The optical line terminal according to any preceding claim, wherein said flag control means is operable to set a churning key updating flag when the optical line terminal 10 is updating the churning key
7. The optical line terminal according to any preceding claim, wherein said flag control means is operable to set a parameter update request flag when initiating an update of 15 the churning parameters.
8. The optical line terminal according to claim 7, wherein said flag control means is operable to set the parameter update request flag to initiate an update of one logical 20 connection for one receiving end.
9. The optical line terminal according to any preceding claim, wherein said flag control means is operable to set a parameter updating flag when the churning parameters are 25 being updated.
10. The optical line terminal according to any preceding claim, further comprising churning parameter overwriting means for performing a churning parameter overwriting 30 process that resends the churning parameters to the receiving end.
11. The optical line terminal according to claim 10, wherein said churning parameter overwriting means is, operable to suspend the churning parameter overwriting process when transmitting another message having a higher 5 priority.
12. The optical line terminal according to claim 10 or 11, wherein said churning parameter overwriting means is operable to suspend the overwriting process while the 10 churning parameters are being updated.
13. The optical line terminal according to claim 10, 11 or 12, wherein: said churning parameter overwriting means comprises a 15 timer that operates at predetermined intervals; and said churning parameter overwriting means is regularly activated by said timer.
14. The optical line terminal according to claim 13, 20 wherein the interval of said timer is given by an external source.
15. The optical line terminal according to any preceding claim, wherein: 25 said churning parameter transmission control means is operable to transmit a churning parameter message multiple times to send one of the churning parameters to the receiving end; when sending the first instance of the churning 30 parameter message, said churning parameter transmission control means is operable to perform arbitration between the churning parameter message and other messages; and
after the arbitration is finished, said churning parameter transmission control means is operable to automatically transmit the multiple instances of the churning parameter message at predetermined intervals.
16. The optical line terminal according to any preceding claim, further comprising churning parameter updating means for updating the churning parameters at a churning key updating time point where the churning key is updated.
17. An optical line terminal substantially as hereinbefore described with reference to and as illustrated in Figures IS to 24 of the accompanying drawings.
GB0329330A 1999-04-16 2000-02-16 Optical line terminal Expired - Fee Related GB2393367B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
GB0407949A GB2396790B (en) 1999-04-16 2000-02-16 Optical line terminal
GB0407948A GB2396789B (en) 1999-04-16 2000-02-16 Optical line terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP10968799A JP4201430B2 (en) 1999-04-16 1999-04-16 Optical subscriber line termination equipment
GB0003602A GB2349314B (en) 1999-04-16 2000-02-16 Optical network unit

Publications (3)

Publication Number Publication Date
GB0329330D0 GB0329330D0 (en) 2004-01-21
GB2393367A true GB2393367A (en) 2004-03-24
GB2393367B GB2393367B (en) 2004-05-26

Family

ID=31889668

Family Applications (1)

Application Number Title Priority Date Filing Date
GB0329330A Expired - Fee Related GB2393367B (en) 1999-04-16 2000-02-16 Optical line terminal

Country Status (1)

Country Link
GB (1) GB2393367B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2079109A (en) * 1980-06-19 1982-01-13 Oak Industries Inc A system for enciphering and deciphering digital signals
GB2124856A (en) * 1982-07-23 1984-02-22 Oak Industries Inc Multi-layer encryption system for the broadcast of encrypted information
US5502767A (en) * 1994-05-27 1996-03-26 Sasuta; Michael Method for maintaining secure information synchronization on a control channel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2079109A (en) * 1980-06-19 1982-01-13 Oak Industries Inc A system for enciphering and deciphering digital signals
GB2124856A (en) * 1982-07-23 1984-02-22 Oak Industries Inc Multi-layer encryption system for the broadcast of encrypted information
US5502767A (en) * 1994-05-27 1996-03-26 Sasuta; Michael Method for maintaining secure information synchronization on a control channel

Also Published As

Publication number Publication date
GB0329330D0 (en) 2004-01-21
GB2393367B (en) 2004-05-26

Similar Documents

Publication Publication Date Title
US7415111B2 (en) Optical network unit and optical line terminal
US6487591B1 (en) Method for switching between active and standby units using IP swapping in a telecommunication network
US6853641B2 (en) Method of protecting traffic in a mesh network
US7133357B2 (en) Cell switch module with unit cell switching function
US7035264B2 (en) Communication network system and method for synchronously controlling path connection
EP1092308B1 (en) Method and apparatus for non-disruptive addition of a new node to an inter-nodal network
EP1016252B1 (en) Process scheduling in computer network
US6735211B1 (en) Packet communications customer-station apparatus
JP2001160843A (en) Access network remote control system
CN1123171C (en) Automatic switching system
JPH0686341A (en) Communication method
GB2393367A (en) Optical line terminal
GB2396789A (en) Optical line terminal
US7593318B2 (en) Method and apparatus for header updating
US20050019035A1 (en) Data communications system, station device, subscriber device, redundant configuration switch determination method, operation control method, and program therefor
JP4573888B2 (en) Optical subscriber line terminal equipment
US6674722B1 (en) Processes in a distributed multiprocessor system
US6680905B1 (en) Transfer path control system
US6577602B1 (en) Module for OAM processing of ATM cells of a cell flux on virtual connections
JP3710643B2 (en) Optical subscriber line terminator and state transition control method
WO2024066536A1 (en) Software upgrading method, related device, and network
JP3549400B2 (en) ATM switching equipment
JP3045144B2 (en) ATM switch
JPH0955752A (en) Synchronizing method of dual stm/atm conversion device
JP3534630B2 (en) Information management method in ring network

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee

Effective date: 20160216