WO2000042738A1 - Apparatus and method for continuously checking atm cell - Google Patents

Apparatus and method for continuously checking atm cell Download PDF

Info

Publication number
WO2000042738A1
WO2000042738A1 PCT/JP1999/000096 JP9900096W WO0042738A1 WO 2000042738 A1 WO2000042738 A1 WO 2000042738A1 JP 9900096 W JP9900096 W JP 9900096W WO 0042738 A1 WO0042738 A1 WO 0042738A1
Authority
WO
WIPO (PCT)
Prior art keywords
atm cell
sar
received
atm
pdu
Prior art date
Application number
PCT/JP1999/000096
Other languages
French (fr)
Japanese (ja)
Inventor
Yoshihiro Uchida
Mikio Nakayama
Original Assignee
Fujitsu Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Limited filed Critical Fujitsu Limited
Priority to PCT/JP1999/000096 priority Critical patent/WO2000042738A1/en
Publication of WO2000042738A1 publication Critical patent/WO2000042738A1/en

Links

Classifications

    • 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
    • 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/5638Services, e.g. multimedia, GOS, QOS
    • H04L2012/5646Cell characteristics, e.g. loss, delay, jitter, sequence integrity
    • H04L2012/5652Cell construction, e.g. including header, packetisation, depacketisation, assembly, reassembly
    • H04L2012/5653Cell construction, e.g. including header, packetisation, depacketisation, assembly, reassembly using the ATM adaptation layer [AAL]
    • H04L2012/5654Cell construction, e.g. including header, packetisation, depacketisation, assembly, reassembly using the ATM adaptation layer [AAL] using the AAL1
    • 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/5672Multiplexing, e.g. coding, scrambling
    • H04L2012/5673Coding or scrambling

Definitions

  • the present invention relates to an inspection apparatus and method for inspecting continuity of ATM cells transmitted by a constant transmission rate service of an ATM network.
  • ATM switching technology uses fixed-length packets (ATM cells) as unit data and transfers them over a high-speed packet switching network (ATM network with an ATM switch at the core) to provide various types of traffic. It was introduced with the aim of handling networks in a single network. However, when introducing an ATM network, it is necessary to gradually use an existing non-ATM network while effectively using the existing non-ATM network. Connect to The problem exists.
  • AAL ATM adaptation layer
  • user data is directly stored in the ATM cell payload (the area where ATM service users can store data, which is not allowed when processing ATM cells at the ATM Layer level).
  • the AAL is set on top of the ATM Layer, and a SAL—PDU (Segmentation And Reassembly sublayer-Protocol Data Unit) is used as the AAL packet.
  • SAL—P DU Segmentation And Reassembly sublayer-Protocol Data Unit
  • the S AR—P DU header contains a protocol for efficient ATM cell transfer according to the traffic characteristics of each service (for example, end-to-end transfer error detection / data It contains the information necessary to implement the retransmission request.
  • SAR-PDU formats are standardized according to the characteristics of the traffic to be handled, and AA LT ype 1 (hereinafter AAL 1) is one of them. There is power S.
  • CBR Constant Bit Rate
  • DS1 and DS1 which are used as standard for data transmission on existing non-ATM networks 3 and others.
  • the characteristics of CBR traffic are that its bandwidth is always constant, and that it is sensitive to delays and delay variations added by being transmitted over the network.
  • AR-PDUs have the necessary mechanisms to successfully transfer CBR traffic with the above characteristics in ATM networks where delay variation is essentially unavoidable.
  • Figure 1 is a block diagram showing the configuration of an ATM network using AAL1.
  • non-ATM terminals 1 and 2 are connected as end users and receive services by non-ATM traffic.
  • the non-ATM traffic transmitted from the non-ATM terminal 1 is mapped to an ATM cell and transmitted to the ATM network 5.
  • the ATM cells exchanged and transmitted in the ATM network 5 are converted into non-ATM traffic data format and converted to non-ATM terminal 2 c non-ATM traffic to be converted to ATM cells (ie, Mapping non-ATM traffic to SAR-PDU payload, adding SAR-PDU header to generate SAR-PDU, and adding ATM header to generate ATM cells).
  • the AAL1 transmitting unit (hereinafter referred to as S AAL 1) 3 is used, and the AAL1 receiving unit (hereinafter referred to as RAA L1) 4 reproduces non-ATM traffic from ATM cells.
  • FIG. 2A is a diagram showing the configuration of the ATM cell and the SAR-PDU.
  • FIG. 2B is a table listing the meanings of the symbols in FIG. 2A.
  • the S AR-P DU has a length of 48 octets that can fit in the ATM cell payload, and the first one octet is the S AR-P DU header.
  • CSI CS Indication
  • SC Sequence Count
  • the SC subfield is a sequence number having a value of 0 to 7, and is assigned by SAAL 1 for each SAR-PDU.
  • the SC attached to the ATM cell that stores continuous user data is set to increase by 1 (0 after 7).
  • the SAAL1 decomposes the continuous non-ATM traffic transmitted from the non-ATM terminal and sequentially stores it in the SAR-PDU payload of the ATM cell as shown in FIG. 2A.
  • the ATM cell configured in this manner carries continuous data of non-ATM traffic, and at this time, the non-traffic data stored in the SAR-P DU pay port is continuous.
  • Serial numbers from 0 to 7 are set in the ATM cell SC. By examining the SC at the receiving end, it is possible to check whether the non-ATM traffic data is correctly transmitted by the ATM cell in the order transmitted from the transmitting end.
  • GFC in Fig. 2A is an abbreviation of Generic Flow Control and is provided at the interface between the user and the network, so the VPI in this case is 8 bits. However, the GFC is not provided in the network interface, and is used as the VPI area. For a network-to-network interface, the VPI has a 12-bit area Assigned.
  • FIG. 3 is a block diagram showing the configuration of RAAL1.
  • R AAL 1 checks the contents of the SAR-PDU header of the SAR-PDU contained in the arriving ATM cell and, based on the detection result, re-assembles the SAR-PDU in a reassembly buffer (reassembly buffer). Buffers, hereafter RBUF), or whether to discard without capturing.
  • Header detection is a two-step process.
  • the received ATM cell is input to SNHK in FIG.
  • the SNCHK extracts only the SAR-PDU header from the ATM cells and checks the SAR-PDU header for normality.
  • the SAR-PDU header health is determined by the presence or absence of a header error using the SNP field in the SAR-PDU header. If there is no header error, or if there is a header error but the error can be corrected by the CRC bit of the SAR-PDU header, it is determined to be "valid" and there is a header error and the If the error cannot be corrected, it is determined to be "invalid".
  • the second is the continuity check of SC by SCC HK in Fig. 3.
  • SC should be continuous in the direction of increasing by 1 in adjacent SAR-PDU, but ATM SC continuity will be lost if cells are dropped or duplicated during transfer in the network, or if unnecessary cells are mixed.
  • the SC CHK uses the result of the SC continuity check and the “valid” and “invalid” information of the SAR-PDU, which is the result of the SNCHK, to decide whether to import or discard the SAR-PDU.
  • ATM cells are input to SC CHK, but when writing SAR—PDU to RBUF, adjust the timing so that the ATM cell header is not written to RBUF. And outputs the light naple signal WE to RB UF.
  • the RBUF contains only the SAR—PDU of the ATM cells. Is written.
  • SNA capture / discard decision algorithm
  • RBUF is a buffer for regenerating non-ATM traffic transmitted over ATM cells. For example, it stores SAR—PDUs that are determined to be captured and stores non-ATM traffic. Line rate
  • the operation is such that only the SAR-PDU payload is read.
  • RBU F also absorbs the fluctuation of delay added to ATM cells during ATM network transfer. Therefore, the RBUF is usually configured as a FIF that has a capacity that does not cause overflow or underflow within the allowable range of the delay variation added in the ATM network. Note that the read control of the RBUF is performed by RBURCTL in FIG. R BURCT L supplies a read address and a read enable signal RE to RBU F, and sequentially reads out only the SAR-P DU ⁇ of the SAR-P DU stored in RBUF. Control.
  • the RBU F should be able to keep the number of SAR-P DU payloads in the buffer almost constant when the ATM cells are normally transferred.
  • SC CHK detects cell loss and writes the number of dummy SAR-PDUs judged to have dropped to RBUF.
  • SC CHK detects cell loss and writes the number of dummy SAR-PDUs judged to have dropped to RBUF.
  • SNA Robust SN algorithm
  • FSNA Fast SN algorithm
  • FIG. 4 is a block diagram showing the hardware configuration of SCCHK using RSNA.
  • a feature of RSNA is that buffers for ST (SAR-PDU-time storage unit) and SAR-PDU- pieces are provided before the RBUF.
  • the determination of writing to RBUF is based on the last SAR written to RBUF—SC of PDU (stored in SC ac of SCREG in the figure) and SAR in ST—SC of P DU (stored in SC st ), And then by checking the SC continuity of the arriving SAR-PDU.
  • the continuity check section of S C is S EQ C in FIG.
  • the SC CHK receives the valid Z invalid information of the SAR-PDU from the SNC HK and the received SAR-PDU data from the ATM network.
  • SEQC is based on SAR-P DU valid / invalid information and SC ac and SC st stored in SC register (SC REG).
  • SAR-P DU data (ATM Judge whether or not [Cell] is written to ST, and transmit the write enable signal WE st to ST.
  • the WE st provides a timing for writing an ATM cell including SAR-PDU data input from the ATM network to the ST.
  • SEQC is stored in ST If it is determined that an ATM cell should be written to the RBUF, a read enable signal RE st is given to the ST to output the ATM cell and output the AT [cell to the selector SEL. At the same time, a write control signal is given to 13 ⁇ 481; F for 3 £ ⁇ 3 ⁇ , and a write enable signal is output at a timing such that only the SAR-PDU portion of the ATM cell is written. If the SC included in the received ATM cell does not have continuity with the SC st or SC ac stored in the SC REG, it is determined that a cell has been inserted or dropped, and the ATM cell from the ST has been deleted.
  • the output is stopped or the dummy data generated by the dummy PDU data generation unit DUMG EN is output from the SEL instead of the ATM cell that has been dropped.
  • the ATM cell is actually stored in the ST, and control is performed such that only the SAR-PDU is written when writing to the RBUF.
  • AR The description is made assuming that the PDU itself is read and written to the ST.
  • FIG. 5 is a state transition diagram of RSNA performed by SEQUC of SCCHK in FIG.
  • SEQC is in the STAR state.
  • an ATM cell including the SAR-P DU When an ATM cell including the SAR-P DU is input, it determines whether the SC of the SAR-P DU received this time is valid or invalid (invalid / valid). This judgment is made based on the SAR-PDU valid / invalid information given by SN CHK. SAR—If the header of the PDU contains an error and cannot be corrected, the SAR_PDU received this time is considered invalid. Then, the SAR—PDU (ATM cell) PDUr received this time is discarded. Then, it waits in the START state until the first valid SAR-PDU is input.
  • ATM cell including the SAR-P DU When an ATM cell including the SAR-P DU is input, it determines whether the SC of the SAR-P DU received this time is valid or invalid (invalid / valid). This judgment is made based on the SAR-PDU valid / invalid information given by SN CHK. SAR—If the header
  • this SAR-PDU (PDUr) is stored in ST, and the state transits to OUT-OF-SYNC.
  • the SAR-PDU stored in the ST is written into the RBUF, and the SAR-PDU received this time is stored in the ST.
  • the state shifts to the SYNC state.
  • the SC of the SAR-P DU received this time is a continuous SC with the SAR-P DU stored in the ST, and if it is determined that the SC is continuous.
  • the SAR-PDU stored in the ST is replaced with the RBU.
  • the currently received SAR-PDU is written to S #, and the state transits to OUT-OF-SEQUUENCE state. If the SAR-PDU received this time is invalid, the state transits to the INVALID state.
  • the S stored in the ST Discard the AR-PDU and store the received SAR-PDU in the ST and return to the SYNC state. If the SC of the received SAR-PDU is continuous with the SC of the SAR-PDU recorded in the ST, the dummy SAR-PDU is written to the RBUF, and then Write the SAR-PDU stored in the ST to the RBUF, store the SAR-PDU received this time in the ST, and return to the SYNC state.
  • the SC of the received SAR-P DU is the number obtained by adding "2" to the SC of the SAR-P DU recently written to the RBUF
  • the SAR-P DU stored in the ST Is written to RBU F, and the SAR-PDU received this time is written to ST, and returns to the SYNC state.
  • the SAR—P DU is invalid, the SAR—P DU stored in the ST is discarded, and the SAR—P DU received this time is also discarded. To return to the ST ART state.
  • the SAR received this time the SAR that the PDU SC recently wrote to the RB UF—the one that added “1” to the SC of the PDU, the one that added “2”, or the SAR stored in the ST— To P DU SC If it is not one of the ones with "1" added, the SAR-PDU stored in the ST is discarded, the SAR-PDU received this time is stored in the ST, and the OUT-OF-SYNC state is entered. Move to
  • the SAR—P DU SC that was recently written to RBUF plus “2”
  • the SAR—P DU stored in ST is written to RBUF, and the S received this time
  • the received SAR—P DU SC has recently written to the RBUF.
  • the SAR_PDU stored in the ST is discarded, the SAR_PDU received this time is stored in the ST, and the state returns to the OUT-OF-SYNC state.
  • FIG. 6 is a block diagram showing the configuration of the SCCHK of the FSN.
  • SAR-PDU valid / invalid information is input to SEQC from SNCHK, and ATM cells (including SAR-PDU) are input to SEL from the ATM network.
  • the S EQ C contains the SAR—P DU valid / invalid information and the S—A of the last received S—A PDU and the S—A of the recently written S—P—D DU stored in the SC REG. With reference to the value, it is determined whether or not the SAR-PDU of the ATM cell input to the SEL is to be written to the RBUF.
  • FIG. 9 is a state transition diagram of SEQC according to FIG.
  • FS NA is similar to RSNA in that processing proceeds while transiting between the five states of START, OUT-OF-SYNC, SYNC, OUT-OF-SEQUENCE, and INVALID.
  • S EQ C is initially in the START state.
  • S In the TART state if the received SAR-PDU is invalid, continue to discard the SAR-PDU, stay in the SART state, and wait until a valid SAR-PDU is input. I have.
  • this valid SAR—P DU is discarded as a SAR—P DU for which continuity has not yet been confirmed, and the state is OUT—OF—S YN Move to the C state.
  • the OUT—OF—S YNC state when a new SAR—P DU is received, whether the SC of this SAR—PDU and the SC (SC pr) of the immediately preceding SAR_P DU are continuous Then, if they are not consecutive, the newly received SAR-PDU is discarded and stays in OUT-OF-SYNC state. If the newly received SAR-PDU is invalid, discard the newly received SAR-PDU and return to the START state.
  • the newly received SAR—P DU is stored in the RB UF.
  • shift to the S YNC state In the S YNC state, the SC of the newly received SAR-P DU is compared with the SC of the SAR-P DU written in the RB UF.
  • the state remains in the SYNC state.
  • the SAR-PDU received this time is written to the RBUF and the state transits to the INVALID state.
  • the newly received SAR—P DU SC is not continuous with the SAR—P DU SC written in RBU F
  • the newly received SAR—PDU is written in RB UF, OUT— OF— S £ 0 £ 1 ⁇ .
  • Move to £ state in OUT-OFSEQUENCE state, newly received S
  • the AR-P DU is invalid, discard the newly received S AR-P DU and return to the START state.
  • the newly received SAR-PDU is valid, and the SC is connected to the SAR-PDU SC that was written to RBU F immediately before the SAR-PDU that was written to RBUF immediately before. In this case, the newly received SAR-PDU is discarded, and the state returns to the SYNC state.
  • the SC of the newly received SAR-P DU is "1" larger than the SC of the SAR-P DU previously written to the RB UF, it is determined that a cell has dropped out and the data Is written to the RBUF, and then the received SAR_PDU is written to the RBUF to return to the SYNC state. If the SC of the newly received SAR-P DU is "2" larger than the SC of the SAR-P DU written to the RBUF just before the SAR-P DU written to the RBU F immediately before Then, the newly received SAR-PDU is written to RBUF, and the state returns to the SYNC state.
  • the newly received SAR-PDU is invalid in the I NVA LID state, the newly received SAR-PDU is discarded, and the state returns to the START state. If the newly received SAR—P DU is valid, and the SC is written to the RBUF immediately before the SAR—the SAR that was written to the RBUF immediately before the PDU—AR—is greater than the SC of the P DU by “1” Discards the newly received SAR-P DU and returns to the SYNC state ( the SC of the newly received SAR-P DU is immediately before the SAR-P DU written to the RBU F. If the SAR—PDU is larger than the SC by “2”, write the newly received SAR—P DU to RBUF and Return to YNC state. In the INVALID state, if none of the above conditions for returning to the SYNC state are satisfied, the newly received SAR-PDU is discarded, and the state shifts to the OUT-OF-SYNC state. .
  • R SNA and F SNA have the following advantages and disadvantages, respectively.
  • both algorithms are equivalent in terms of the detection capability regarding cell overlap (contamination) (one duplicated. Contamination is detected. See (a) to (c) above). There is a difference in discard ability.
  • FSNA cannot discard cells that should be discarded when an abnormal event occurs, and discards cells that seem to be normal immediately after that. Even if a dummy cell is inserted, the correct position cannot be obtained. In particular, when mixed cells occur, the bandwidth of the CBR service is preserved, but reproduced non-ATM traffic is mixed with meaningless data and dropped out of meaningful data. There are concerns about the effects of the loss of data and loss of synchronization with services.
  • An object of the present invention is to provide a cell inspection apparatus and method which can correctly discard a cell to be discarded in an abnormal state without delay in a normal state.
  • the checking device of the present invention checks the continuity of ATM cells received at a constant transmission rate from an ATM network, and accepts the user data to a reassembly buffer for reproducing user data contained in the ATM cells.
  • Sequence number storage means for storing the sequence number of the ATM cell, and if the sequence number of the ATM cell received this time and the sequence number of the ATM cell recently received in the reassembly buffer have continuity, Write the received ATM cell directly to the reassembly buffer, and if the continuity is broken, write the ATM cell received this time to the temporary storage means, and then receive It was by examining the sequence number of the ATM cells, or writes the ATM cell Le stored in the temporary storage means to the reassembly buffer, and a controlling means for determining whether to discard.
  • the checking method of the present invention checks the continuity of ATM cells received at a constant transmission rate from an ATM network, and accepts or discards the user data in a reassembly buffer for reproducing user data contained in the ATM cell.
  • a test method for determining whether or not the received ATM cell is stored; and (b) a method for storing the ATM cell stored in the step (a).
  • the ATM cells are written directly to the reassembly buffer without temporarily storing the ATM cells. There is no processing delay like the conventional RSNA to store.
  • the ATM cells are temporarily stored, and the sequence number of the next incoming ATM cell is checked to determine what kind of failure has occurred.
  • the ATM cell to be discarded is written into the reassembly buffer unlike the conventional FSN, and the subsequent normal ATM cell is not discarded.
  • ATM cells to be discarded can be discarded, and ATM cells to be written to the reassembly buffer can be correctly written.
  • FIG. 1 is a block diagram showing the configuration of an ATM network using AAL1.
  • FIG. 2A is a diagram showing a configuration of an ATM cell and a SAR-PDU.
  • FIG. 2B is a table listing the meaning of each symbol in FIG. 2A.
  • FIG. 3 is a block diagram showing the configuration of RAAL1.
  • FIG. 4 is a block diagram showing the hardware configuration of SCCHK using RSNA.
  • FIG. 5 is a state transition diagram of RSNA performed by SEQUC of SCCHK in FIG.
  • FIG. 6 is a block diagram showing the configuration of the FSCNA SCCHK.
  • FIG. 7 is a state transition diagram of SEQC in accordance with FSNA.
  • FIG. 8 is a table listing the meanings of the symbols used in the state transition diagrams of FIGS. 5 and 7.
  • FIG. 9 is a block diagram showing a hardware configuration of SCCHK for realizing ASNS according to an embodiment of the present invention.
  • FIG. 10 is a diagram showing a state transition diagram of an ASA according to an embodiment of the present invention.
  • FIG. 11 is a flowchart showing a process in the START state of the ASA according to an embodiment of the present invention.
  • FIG. 12 is a flowchart showing a process in the OUT-OF-SYNC state of ASNA according to an embodiment of the present invention.
  • FIG. 13 is a flowchart showing processing in the SYNC state of the ASNA according to an embodiment of the present invention.
  • FIG. 14 is a flowchart showing a first mode of processing in the OUT-OF-SEQUENCE state of the ASA according to an embodiment of the present invention.
  • FIG. 15 is a flowchart showing a second mode of the process in the OUT-OF-SE QUENCE state of ASNA according to one embodiment of the present invention. You.
  • FIG. 16 is a flowchart showing a process in the I NVALID state of the ASA according to an embodiment of the present invention.
  • FIG. 17 is a diagram showing an operating state of the ASA N according to an embodiment of the present invention in a normal state.
  • FIG. 18 is a diagram showing an operation state when cells of ASNS according to an embodiment of the present invention are mixed.
  • FIG. 19 is a diagram showing an operation state in a case where a cell is dropped out of the ASA and insertion of dummy data is performed according to an embodiment of the present invention.
  • FIG. 20 is a diagram illustrating an operation state when an error occurs in the SC of the ASN A according to the embodiment of the present invention.
  • FIG. 9 is a block diagram showing a hardware configuration of SCCHK for realizing ASNS which is one embodiment of the present invention.
  • the wiring that directly inputs the SAR-P DU (actually an ATM cell) input from the ATM network to the SEL, and the current wiring that stores the currently received SAR-P DU
  • a reception PDU buffer CRBUF and a reception SAR-P DU-time storage unit ST for storing the SAR_P DU received immediately before the currently received SAR-P DU are provided.
  • SEQC obtains SAR-PDU valid Z invalid information. SEQC uses this SAR-P DU valid / invalid information and S stored in SCREG. By referring to the SAR SC of the PDU and the SC of the PDU written in the RBU F in the T, it is determined whether the ATM cell has been lost or duplicated, and which of the data input to the SEL is determined. Selector signal P DU— SEL is input to SEL to specify whether or not to send to RBUF. For SEL, SAR-PDU stored in ST, SAR-PDU stored in CRBUF, SAR-PDU directly input from ATM network, and dummy data generated by DUMGEN Is entered. The SEQU C determines which data should be written to the RBUF according to the ASNA described in detail below, and controls the SEL to write the appropriate data to the RBUF.
  • the SEQU C gives the ST a write enable signal WE st and a read enable signal RE st to write the SAR-P DU to the ST and the SAR-P from the ST. Controls DU reading.
  • the dummy cell, the cell in the ST, and the cell just received are subjected to certain conditions after receiving a cell that has lost continuity or an invalid cell.
  • the cell in s T and the cell just received must be written to the RBUF at once.
  • FIG. 10 is a diagram showing a state transition diagram of ASNA which is one embodiment of the present invention.
  • S EQ C is initially in the START state.
  • START state when a valid cell arrives (a cell with an SN determined to be valid by S NCHK; the same applies hereafter), the cell is stored in ST and stored in the register SC st of SCREG. The SN of the cell is stored, and the state transits to the OUT-OF-SYNC state. If the arriving cell is not valid (invalid), the cell is discarded (not stored in the ST) and remains in the START state.
  • a valid cell In the OUT-OF-SYNC state, a valid cell has been received, but the continuity of SC has not yet been detected.
  • a valid cell arrives and the SC of the arriving cell is larger than the value of the SC of the SAR—P DU stored in the ST by “1”, ie, SC st + 1. If there is, the cell in the ST and the valid cell just received are written to the RBU F, and the SC of the valid cell just received is stored in the register SC ac of SCREG. After that, it shifts to the SYNC state.
  • the ST and SC st are overwritten with the received valid cell, and OUT—OF—S YNC Stay in the state. That is, valid cells originally stored in the ST are discarded. None is written to RBU F. If an invalid cell arrives in the OU T — OF — SYNC state, clear the ST and transit to the START state. The valid cells stored in the ST are discarded.
  • the S YNC state is a state in which SC continuity is detected.
  • SC SC ac + 1
  • the invalid cell stored in the ST is determined to be a mixed cell
  • the ST is cleared, and the valid cell just received is set to RBUF.
  • the SC is stored in SC ac, and the state transits to the SYNC state. Invalid cells are discarded. If a valid cell is received and its SC is S C a c + 2, it is determined that the invalid cell stored in ST was originally a valid cell but could not be corrected.
  • the priority is selected in consideration of which of (a) and (b) above is more likely to occur.
  • FIG. 11 is a flowchart showing a process in the START state of the ASA according to an embodiment of the present invention.
  • step S1 when the SEQUC is in the initial state, it is determined in a step S1 whether a SAR-PDU has been received. If the SAR-PDU has not been received, the process of step S1 is repeated to wait for the SAR-PDU to be received.
  • step S1 when SAR-PDU is received, in step S2, the SC of the currently received SAR-PDU (PDUr.SC) is set in SCr. Then, in step S3, it is determined whether SCr is valid or invalid based on the SAR—PDU valid / invalid information from the SNCHK.
  • step S5 If it is determined in step S3 that the SC r is not valid, in step S5, the currently received SAR—P DU is discarded, and the process returns to step S1, where the next SAR—P DU is received. Wait for it to be done. If it is determined in step S3 that SC r is valid, in step S4, the currently received SAR—P DU is stored in the ST, and the SC r is stored in the ST—the SAR— Set to SC st that holds SC of PDU. Then, proceeding to step S6, the state transits to the OUT-OF-SYNC state.
  • FIG. 12 is a flowchart showing a process in the OUT-OF-SYNC state of ASNA according to an embodiment of the present invention.
  • step S10 it is determined whether or not a SAR-PDU has been received. If SAR-PDU has not been received, repeat step S1 and wait for SAR-PDU to be received. Step S10 confirms that the SAR—PDU has been received. Then, in step SI1, SC of the received SAR-P DU (P DU r .SC) is set in SC r. Then, in step S12, it is determined whether the SC r force S is valid or invalid based on the SAR-PDU valid / invalid information from SNCHK. If the SC of the SAR-P DU received this time is not valid, the process proceeds to step S13, where the SAR-P DU stored in S # is discarded, and the SAR_P DU received this time is also deleted. Discard, step S 1
  • step S15 If the result of the determination in S15 is "NO", the flow proceeds to step S16, the SAR-PDU received this time is stored in ST, and the flow returns to step S10.
  • step S 15 the S 8 1 received this time? 0 If 3 is stored in the 3 T, the S AR— If it is determined that it is continuous with the SC of the PDU, in step S 17, first, the S AR— Write the PDU to RBUF, and then write the SAR-PDU received this time to RBUF. Then, the process proceeds to step S18 to shift to the SYNC state.
  • FIG. 13 is a flowchart showing a process in the SYNC state of the ASA according to an embodiment of the present invention.
  • S EQ.C determines whether or not the SAR-P DU has been received in step S20, and waits until the SAR-P DU has been received. If it is determined in step S20 that the SAR—P DU has been received, in step S21, the SAR—P which has been received this time by SC r Set the DU SC (P DU r. SC). Then, in step S22, it is determined whether SC r is valid or invalid based on the SAR_PDU validity / invalidity information from the SNCHK. If it is determined that the SC r is not valid, the process proceeds to step S23, where the received SAR-P DU is stored in the ST, and the SAR-P DU stored in the ST is stored. Set SC r to SC st where SC is set, and in step S24, transition to the INVALID state.
  • step S 20 Repeat the processing of step S26, and sequentially write the received SAR-PDU to RBUF.
  • FIG. 14 is a flowchart showing a first mode of the process in the OUT-OF-SEQUEUNCE state of the ASA according to an embodiment of the present invention.
  • step S30 determines in step S30 whether or not the SAR-PDU has been received. Then, the process of step S30 is repeated until SAR-PDU is received. If it is determined in step S30 that SAR—PDU has been received, in step S31, the SC (PDU.SC) of the received SAR—PDU is set to SCr, In step S32, it is determined whether SC r is valid. In the judgment of step S32, the SAR—PDU valid / invalid information notified from the SNCHK is used.
  • step S32 If it is determined in step S32 that SC r is not valid, the process proceeds to step S33, where the S AR—P DU stored in the ST is discarded, and the S AR received this time is discarded. — Discard the PDU. Then, in step S34, the state returns to the START state.
  • the ATM cell (S AR—P DU) is placed before the S AR—PDU stored in the ST. ) Is detected. If the determination in step S37 is "YE S", the value of the function NoDUM (SCac, SCst) is set in NoDUM in step S38.
  • the function NoDUM (SCac, SCst) is a process for calculating the number of dropped ATM cells (SAR-PDU) when a drop is found.
  • a program example of the function NoDUM (SCac, SCst) is shown below.
  • This program calculates the difference between SC (SC st) of SAR—P DU and SAR—P DU SC (SC ac) that has been written to RBUF recently. Calculate the lost ATM cell It estimates the number. For example, 3_Rei at three "6", SC ac force S
  • SCst-SCac_l 3 is calculated as the number of dropped cells.
  • SCst_SCac + 7 3 is calculated as the number of dropped cells.
  • step S38 only NoDUM dummy data is written to the RBU F, and then the SAR-P DU stored in the ST is written to the RBU F. Furthermore, the SAR-P DU received this time is also written into the RBUF, the SC (SC r) of the SAR-PDU received this time is set in SC ac, and the process proceeds to step S43 to shift to the S YNC state. .
  • step S40 the SAR-PDU stored in the ST is written to the RBU F. Then, the SAR-PDU received this time is written to the RBUF, and the SCa SC r is set, and in step S43, the state transits to the S YNC state.
  • step S39 If the determination in step S39 is "NO", it is determined that two or more cells have been mixed, the SAR—PDU stored in the ST is discarded, and the SAR received this time is discarded. — Store the PDU in ST, set SCr in SC st, and move to OUT—OF—S YNC state in step S42.
  • FIG. 15 is a diagram showing OUT—OF—SE of ASNA according to an embodiment of the present invention.
  • FIG. 9 is a flowchart showing a second mode of the process in the QUENCE state.
  • step S37 After receiving the (P DU), in step S37 ', it is determined whether or not the SC of the currently received SAR—P DU and the SC of the SAR—P DU stored in the ST are continuous. Judge. If the result of the determination is “YE S”, in step S 38, the dummy data of the number equal to the number of cells determined to have been lost is written to the RBUF, and then the received SAR—P Write DU to RBU F.
  • step S35' the SC of the SAR-PDU received this time is continuously connected with the SAR-SC of the PDU recently written to the RBUF. It is determined whether or not it is. If the result of the determination in step S35 'is "YES”, the SAR-PDU in the ST is discarded, and the SAR-PDU received this time is written to the RBUF. If the determination in step S35 'is "NO”, the processing from step S39 is performed. This process is similar to that described in FIG.
  • the process proceeds to step S36, and in the above example, SC is the last “4”.
  • SC is the last “4”.
  • the continuity of SC r and SC st is determined in step S 37 in the second embodiment of FIG.
  • SC corresponds to 0 to 7 between the first "4" and the last "4" in the above example. Assuming that the ATM cell is lost, eight dummy data are written.
  • any of the processing modes in the OUT-OF-S EQUENC E shown in FIGS. 14 and 15 can be implemented, and the priority of the determination in step S 35 and step S 37 ′ is given.
  • the order should be appropriately determined by a person using this embodiment.
  • FIG. 16 is a flowchart showing a process in the I NVALID state of the ASA according to an embodiment of the present invention.
  • step S50 determines in step S50 whether or not the SAR-PDU has been received, and repeats step S50 until the SAR-PDU is received.
  • step S50 when SAR-PDU is received, in step S51, the SC (PDU.SC) of the SAR-PDU received this time is set to SCr.
  • step S52 based on the SAR-PDU valid / invalid information from the SNCHK, it is determined whether the SC (SCr) of the SAR-PDU received this time is valid. If it is determined that SC r is not valid, the process proceeds to step S53, where the SAR—P DU stored in the ST is discarded, and The SAR-PDU received this time is also discarded, and in step S54, the state shifts to the START state.
  • SC SC
  • step S52 If it is determined in step S52 that SC r is valid, the process proceeds to step S55 in which SC r is connected to the SC (SC ac) of the SAR—PDU that has recently written to RBUF. Is determined. If it is determined in step S55 that SCr is continuous with SCac, in step S56, the SAR_PDU stored in the ST is discarded and received this time. SAR — Write PDU to RBUF. Then, SCr is set to SAc, and in step S61, the state shifts to the SYNC state. If it is determined in step S55 that SCr is not continuous with SAc, the process proceeds to step S57 to determine whether SCr is larger than SAc by "2".
  • FIG. 17 is a diagram showing an operating state of the ASA N according to an embodiment of the present invention in a normal state.
  • the normal state is when the SAR-PDU of the SC is successively input to the SC CHK.
  • the SC force S “2”, “3 ,,”, “4, ′”, “5 ,,”, “6”, “7 ,,”, “0 ,,,” SAR-PDUs of 1, 2, and "2" are input to SC CHK in the above order.
  • ASNA stays in the S YNC state.
  • there is no problem in SC continuity so nothing is written in ST.
  • CRBUF which writes the currently received SAR-PDU.
  • the input SAR-PDU is directly written to RBUF. That is, SAR-PDUs from SC "2" to the next "2" are sequentially written.
  • FIG. 18 is a diagram showing an operation state when cells of ASNS according to an embodiment of the present invention are mixed.
  • the SCCHK includes SC cards “2”, “3”, “4”, “4” (denoted as 4N), “5”,
  • SAR-PDU of "6" is input.
  • the SC is initially in the SYNC state and the SC writes 2 to 4 SAR-P DUs to the RBUF, but upon receiving a mixed cell, it shifts to the OUT-OF-S EQUE NCE state, The mixed cell is written to ST.
  • the SAR-P DU with SC of "5" is input, the mixed cells in the ST are discarded and the state returns to the SYNC state.
  • Write DU to R BU F After that, the SAR—PDU after the SC “6” is written to the RBUF as in the normal case. In the case of FIG. 18, CRBUF is not used.
  • FIG. 19 is a diagram showing an operation state in a case where a cell of the ASAN according to an embodiment of the present invention is dropped and dummy data is inserted.
  • the SC CHK receives the SAR—P DU from the SC force S “2” to “4” and then inputs the SC force S “5”,
  • the SAR-PDU of "7” is dropped, and then the SAR-PDU of SC force S "0 ,," and "2" are input.
  • the AS NA is initially in the S YNC state and processes the S AR-P DUs from SC cards “2" to "4" in the same way as normal, and writes them to the RBUF.
  • the SAR—P DU with SC “0” is input, the state of ASNA shifts to OUT—OF—SE QU ENC E state, and the ST receives the SAR with SC “0” this time.
  • FIG. 20 is a diagram illustrating an operation state in a case where there is an error in the SC of the ASNA according to one embodiment of the present invention.
  • this case shows a case where two S AR-P DUs of S C force; “7” are successively input to S C C HK.
  • the ASNA is in the S YNC state while the SAR—PDU from SC “2” to “5” is being input, and each SAR—PDU is operated in the same way as normal. Writing to RBU F.
  • the received SAR-PDUs are sequentially written to the RBUF as in the normal state.
  • AS NA is two RS NA> FS NA in terms of discarding ability, which indicates that the overall performance is higher than RS NA and FS NA. You can play.
  • ATM traffic transmitted from an ATM network at a constant speed can be converted into non-ATM traffic and transferred to a non-ATM terminal. Therefore, even when the ATM network is introduced and the ATM network and the non-ATM network are mixed, it is possible to smoothly introduce the ATM network without lowering the service to the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An SC checking section (SCCHK) of an AAL1 receiving unit (RAAL1) recognizes the continuity of an ATM cell based on SAR-PDU validity/invalidity information from an SN checking section (SNCHK) and the value of an SC contained in an SAR-PDU header. An SC storage section (SCREG) is fed with the value of the SC of the SAR-PDU stored in a received SAR-PDU temporary storage section (ST) and the value of the SC of the SAR-PDU written in a latest re-assembly buffer (RBUF). Normally, a received ATM cell (including an SAR-PDU) is directly written in the RBUF. During a failure, the previously received SAR-PDU is stored in the ST, and the currently received SAR-PDU is stored in a currently received PDU buffer (CRBUF). Thus, since normally a SAR-PDU is directly written in the RB UF, no processing delay occurs; and since during a failure a SAR -PDU is temporarily stored in the ST, it is possible to insert dummy data in a position where data is to be inserted and to correctly discard a SAR-PDU to be discarded.

Description

明 細 書  Specification
ATMセルの連続性検査装置及び方法 技術分野 Apparatus and method for checking continuity of ATM cells
本発明は、 ATMネッ トワークの定伝送速度サービスによって伝送さ れた ATMセルの連続性を検査する検査装置及び方法に関する。 背景技術  The present invention relates to an inspection apparatus and method for inspecting continuity of ATM cells transmitted by a constant transmission rate service of an ATM network. Background art
今日、 世界全体を視野に入れた情報化社会の実現に向けて多くの研究 開発が行われている。 このような情報化社会においては、 企業から一般 人までが音声から画像までの様々なマルチメディァ情報に容易にァクセ ス可能とするためのィンフラス トラクチャの構築が必要である。 マルチ メディア情報化社会におけるイ ンフラス トラクチャとなるネッ トワーク は、 伝送量の大きく異なるデータを柔軟に収容し、 ユーザに種々の情報 を提供しなくてはならない。 このようなネッ トワークと して、 ATM Today, much research and development is being conducted to realize an information society with a global perspective. In such an information-oriented society, it is necessary to build an infrastructure that enables companies and ordinary people to easily access various multimedia information from audio to images. Networks that will become infrastructure in the multimedia information society must accommodate data with greatly different transmission volumes flexibly and provide various types of information to users. ATM is one such network.
(Asynchronous Transfer Mode) 交換技 を用レヽた A T Mネッ 卜ヮー クが有力視され、 盛んに研究開発されている。 (Asynchronous Transfer Mode) An ATM network using exchange techniques is regarded as promising and is being actively researched and developed.
ATM交換技術はそもそも固定長パケッ ト (ATMセル) を単位デー タと し、 これを高速パケッ ト交換網 (ATMスィ ッチを核とする ATM ネッ トワーク) で転送することにより、 様々な トラフィ ックを単一のネ ッ トワークで取り扱うことを目指して導入されたものである。 しかし、 ATMネッ トワークの導入に当たり、 既存の非 ATMネッ トワークを有 効に利用しながら、 徐々に ATMネッ トワークを導入する必要があるた め、 ATMネッ トワーク と既存の非 ATMネッ トワーク とを如何に接続 という問題が存在する。 ATM switching technology uses fixed-length packets (ATM cells) as unit data and transfers them over a high-speed packet switching network (ATM network with an ATM switch at the core) to provide various types of traffic. It was introduced with the aim of handling networks in a single network. However, when introducing an ATM network, it is necessary to gradually use an existing non-ATM network while effectively using the existing non-ATM network. Connect to The problem exists.
すなわち、 非 ATMトラフィ ックをどのようにして ATMネッ トヮー クに取り込み、 効率的に転送し、 確実に元の非 ATMトラフィ ックに変 換するかという問題である。  That is, how to take non-ATM traffic into the ATM network, transfer it efficiently, and reliably convert it to the original non-ATM traffic.
ATMネッ トワークで取り扱われる トラフィ ックは、 ユーザに対して 提供されるサービスに依存してその性質が多様である。 これら多様な ト ラフィ ックを同一構造の ATMセルで効率的に転送するために、 ATM A daptation Layer (以下、 AA Lとレヽう) が導入されている。 AA Lに おレヽては ATMセルのペイロー ド (ATM Layerのレベルで ATMセル を処理する場合には処理することの許されない、 ATMサービス利用者 がデータをのせる領域) に直接ユーザデータを収容するのではなく、 AT M Layerの上位に A A Lを設け、 AA Lのパケッ トと して S AR— P D U (Segmentation And Reassembly sublayer-Protocol Data Un it) を用レヽ、 この S AR— P DUのペイロードにユーザデータを収容す る。 S AR— P DUヘッダには、 それぞれのサービスのトラフィ ック特 性に応じた、 ATMセル転送を効率的に進めるためのプロ トコル (例え ば、 end- to-endでの転送エラー検出 ·データ再送要求等) を実現する ために必要な情報が収容されている。 S AR— P DUのフォ一マツ トは 取り扱い対象とする トラフィ ックの特性に応じて数種類規格化されてお り、 その一種と して AA L T y p e 1 (以下、 AAL 1 とレ、う) 力 S ある。  The traffic handled in ATM networks varies in nature depending on the services provided to users. In order to efficiently transfer these various types of traffic using the same structure of ATM cells, an ATM adaptation layer (hereinafter referred to as AAL) has been introduced. For AAL, user data is directly stored in the ATM cell payload (the area where ATM service users can store data, which is not allowed when processing ATM cells at the ATM Layer level). Instead, the AAL is set on top of the ATM Layer, and a SAL—PDU (Segmentation And Reassembly sublayer-Protocol Data Unit) is used as the AAL packet. The SAR—P DU payload Contains user data. The S AR—P DU header contains a protocol for efficient ATM cell transfer according to the traffic characteristics of each service (for example, end-to-end transfer error detection / data It contains the information necessary to implement the retransmission request. Several types of SAR-PDU formats are standardized according to the characteristics of the traffic to be handled, and AA LT ype 1 (hereinafter AAL 1) is one of them. There is power S.
AA L 1が取り扱う トラフィ ックは C B R (Constant Bit Rate: 定速度) サービスと呼ばれるもので、 例えば、 既存の非 ATMネッ トヮ ークでのデータ伝送に標準的に使用される D S 1、 D S 3などの P CM 回線等である。 C B R トラフィ ックの特徴は、 その帯域が常に一定であること、 及び ネッ トワークを伝送されることによって付加される遅延及び遅延の変動 に敏感であるとレヽうことであり、 AA L 1の S AR— P D Uは上記のよ うな特徴を持つ C B R トラフィ ックを本質的に遅延の変動が避けられな い ATMネッ トワークでうまく転送するために必要な機構を備えている。 図 1は、 A A L 1 を使用した ATMネッ トワークの構成を示すブロッ ク図である。 The traffic handled by AA L1 is called CBR (Constant Bit Rate) service. For example, DS1 and DS1, which are used as standard for data transmission on existing non-ATM networks 3 and others. The characteristics of CBR traffic are that its bandwidth is always constant, and that it is sensitive to delays and delay variations added by being transmitted over the network. AR-PDUs have the necessary mechanisms to successfully transfer CBR traffic with the above characteristics in ATM networks where delay variation is essentially unavoidable. Figure 1 is a block diagram showing the configuration of an ATM network using AAL1.
図 1のネッ トワークにおいては、 非 ATM端末 1及び 2がェンドユー ザと して接続されており、 非 ATMトラフィ ックによるサービスを受け ている。 非 ATM端末 1から送信された非 ATMトラフィ ックは、 AT Mセルにマッピングされ、 ATMネッ トワーク 5に送出される。 ATM ネッ トワーク 5において交換伝送された ATMセルは、 非 ATMトラフ ィ ック用のデ一タフォーマツ トに再生されて非 ATM端末 2に送られる c 非 ATMトラフィ ックを ATMセルへ変換する (すなわち、 非 ATM トラフィ ックを S A R— P D Uペイロードにマッピングし、 S AR— P DUヘッダを付加して S AR— P DUを生成し、 更に ATMヘッダを付 加して ATMセルを生成する) のが AA L 1送信部 (以下、 S AAL 1 という) 3であり、 ATMセルから非 ATMトラフィ ックを再生するの が AA L 1受信部 (以下、 RAA L 1 という) 4である。 In the network shown in Fig. 1, non-ATM terminals 1 and 2 are connected as end users and receive services by non-ATM traffic. The non-ATM traffic transmitted from the non-ATM terminal 1 is mapped to an ATM cell and transmitted to the ATM network 5. The ATM cells exchanged and transmitted in the ATM network 5 are converted into non-ATM traffic data format and converted to non-ATM terminal 2 c non-ATM traffic to be converted to ATM cells (ie, Mapping non-ATM traffic to SAR-PDU payload, adding SAR-PDU header to generate SAR-PDU, and adding ATM header to generate ATM cells). The AAL1 transmitting unit (hereinafter referred to as S AAL 1) 3 is used, and the AAL1 receiving unit (hereinafter referred to as RAA L1) 4 reproduces non-ATM traffic from ATM cells.
図 2 Aは、 ATMセル及び S A R— P DUの構成を示す図である。 ま た、 図 2 Bは、 図 2 A中の各記号の示す意味を列記する表である。  FIG. 2A is a diagram showing the configuration of the ATM cell and the SAR-PDU. FIG. 2B is a table listing the meanings of the symbols in FIG. 2A.
図 2 A中の ATMセルへッダについては A TMレイヤの転送機能に係 るものであるので説明を省略する。  Since the ATM cell header in FIG. 2A relates to the transfer function of the ATM layer, the description is omitted.
S AR— P DUはちよ う ど ATMセルペイロードに収まる 4 8ォクテ ッ トの長さであり、 先頭の 1オクテッ トが S AR— P DUヘッダである, S AR— P DUヘッダ内には S N (Sequence Number) 、 S N P (SN Protection) の 2つのフィーノレドがある。 31^ ?は内部に。1¾〇、 P の二つのサブフィールドを持ち、 C R C符号及びパリティ ビッ トにより S Nブイ一ルドに関するエラー検出 · 訂正を行うためのものである。 一 方、 S Nフィール ドに関しては C S I (CS Indication) 、 S C (Sequ ence Count) の二つのサブフィールドがあり、 このうち C S I に関し ては A A L 1の极う C B Rサービスの種類に応じて使用法が異なるので、 ここでは説明を省略する。 S Cサブフィールドは 0〜 7の値を持つシー ケンス番号であり、 S A A L 1が S A R— P DU毎に付与する。 連続す るュ一ザデータを収納する ATMセルに付される S Cは 1ずつ増加する ように設定される ( 7の次は 0 ) 。 The S AR-P DU has a length of 48 octets that can fit in the ATM cell payload, and the first one octet is the S AR-P DU header. There are two fields in the SAR—PDU header: SN (Sequence Number) and SNP (SN Protection). 31 ^? Is inside. It has two subfields, 1¾〇 and P, and is used to detect and correct errors in the SN field by using CRC code and parity bit. On the other hand, for the SN field, there are two subfields, CSI (CS Indication) and SC (Sequence Count) .The usage of the CSI differs depending on the type of CBR service according to AAL1. Therefore, the description is omitted here. The SC subfield is a sequence number having a value of 0 to 7, and is assigned by SAAL 1 for each SAR-PDU. The SC attached to the ATM cell that stores continuous user data is set to increase by 1 (0 after 7).
すなわち、 S AA L 1では、 非 ATM端末から送信されてくる、 連続 した非 ATMトラフィ ックを分解し、 順次、 図 2 Aに示すような ATM セルの S AR— P DUペイロードに収納する。 このようにして構成され た ATMセルは、 非 ATMトラフィ ックの連続したデータを運ぶが、 こ のとき、 S AR— P DUペイ口一ドに収納されている非トラフィ ックデ —タが連続した A TMセルの S Cには 0 ~ 7までの連続番号が設定され る。 受信側でこの S Cを調べることにより、 非 ATMトラフィ ックデー タが送信側から送信された順番で、 正しく A T Mセルによって送信され てきているかを検査することができるようになつている。  That is, the SAAL1 decomposes the continuous non-ATM traffic transmitted from the non-ATM terminal and sequentially stores it in the SAR-PDU payload of the ATM cell as shown in FIG. 2A. The ATM cell configured in this manner carries continuous data of non-ATM traffic, and at this time, the non-traffic data stored in the SAR-P DU pay port is continuous. Serial numbers from 0 to 7 are set in the ATM cell SC. By examining the SC at the receiving end, it is possible to check whether the non-ATM traffic data is correctly transmitted by the ATM cell in the order transmitted from the transmitting end.
なお、 図 2 Aの G F Cは Generic Flow Controlの略であり、 ユー ザとネッ トワークのインタフェースにおいて設けられるので、 この場合 の V P I は 8ビッ トとなる。 しかし、 ネッ トヮ一ク間インタフェースに おいては、 G F Cは設けられないで、 V P I の領域として使用される。 ネッ トワーク間イ ンタフェースの場合、 V P I は 1 2ビッ トの領域が割 り当てられる。 Note that GFC in Fig. 2A is an abbreviation of Generic Flow Control and is provided at the interface between the user and the network, so the VPI in this case is 8 bits. However, the GFC is not provided in the network interface, and is used as the VPI area. For a network-to-network interface, the VPI has a 12-bit area Assigned.
図 3は、 R A A L 1の構成を示すブロック図である。  FIG. 3 is a block diagram showing the configuration of RAAL1.
R AA L 1では、 到着した ATMセルに含まれる S AR— P DUの持 つ S AR— P DUヘッダの内容を検査し、 検查結果により、 その S AR 一 P DUを reassembly buffer (再組立バッファ。 以下、 RBUF) に取り込むか、 取り込まずに破棄するかを決定する。  R AAL 1 checks the contents of the SAR-PDU header of the SAR-PDU contained in the arriving ATM cell and, based on the detection result, re-assembles the SAR-PDU in a reassembly buffer (reassembly buffer). Buffers, hereafter RBUF), or whether to discard without capturing.
ヘッダの検查は二段階であり、 第一は、 受信した ATMセルは図 3の S NCHKに入力される。 S NCHKでは、 ATMセルの中から S AR — P DUヘッダのみを抽出し、 S AR— P DUヘッダの正常性を検査す る。 S A R— P DUヘッダ正常性は S A R— P DUヘッダ内の S N Pフ ィールドを使って、 ヘッダ誤りの有無によって決定される。 ヘッダ誤り がない場合、 または、 ヘッダ誤りがあるが、 S AR— P DUヘッダの C RCビッ トによって誤り訂正が可能である場合には "有効" と判定され、 ヘッダ誤りがあり、 かつ、 その誤りが訂正不能である場合は "無効" と 判定される。 第二は、 図 3の S C C HKによる S Cの連続性確認であつ て、 通常であれば S Cは、 隣り合う S A R— P DUで 1ずつ増加する方 向で連続しているはずであるが、 ATMネッ トワーク内での転送途中で セルの脱落 · 重複、 あるいは不要なセルの混入などがあると S Cの連続 性が失われる。 S C CHKでは、 S Cの連続性の確認結果と、 S NCH Kの結果である S A R— P DUの "有効" 、 "無効" 情報とを使用して、 S A R— P DUの取り込み 破棄を決定する。 ここで、 S C CHKに入 力されるのは ATMセルであるが、 S AR— P DUを RBUFに書き込 む場合には、 ATMセルヘッダの部分が RBUFに書き込まれないよう に、 タイ ミングを調整して RB U Fにライ トイネープル信号 WEを出力 する。 この結果、 RBUFには、 ATMセルの内、 S AR— PDUのみ が書き込まれることになる。 この S C CHKで行われる取り込み ·破棄 決定アルゴリズム (以下、 S NAという) に関しては、 詳細については 実際のインプリメンテーションに任せられている。 Header detection is a two-step process. First, the received ATM cell is input to SNHK in FIG. The SNCHK extracts only the SAR-PDU header from the ATM cells and checks the SAR-PDU header for normality. The SAR-PDU header health is determined by the presence or absence of a header error using the SNP field in the SAR-PDU header. If there is no header error, or if there is a header error but the error can be corrected by the CRC bit of the SAR-PDU header, it is determined to be "valid" and there is a header error and the If the error cannot be corrected, it is determined to be "invalid". The second is the continuity check of SC by SCC HK in Fig. 3. Normally, SC should be continuous in the direction of increasing by 1 in adjacent SAR-PDU, but ATM SC continuity will be lost if cells are dropped or duplicated during transfer in the network, or if unnecessary cells are mixed. The SC CHK uses the result of the SC continuity check and the “valid” and “invalid” information of the SAR-PDU, which is the result of the SNCHK, to decide whether to import or discard the SAR-PDU. Here, ATM cells are input to SC CHK, but when writing SAR—PDU to RBUF, adjust the timing so that the ATM cell header is not written to RBUF. And outputs the light naple signal WE to RB UF. As a result, the RBUF contains only the SAR—PDU of the ATM cells. Is written. The details of the capture / discard decision algorithm (hereinafter referred to as SNA) performed by this SC CHK are left to the actual implementation.
RBU Fは、 ATMセルにのって転送されてきた非 ATMトラフイツ クを再生するためのバッファであって、 例えば、 取り込むべきと判断さ れた S AR— P DUを記憶し、 非 ATMトラフィ ックの回線のレート RBUF is a buffer for regenerating non-ATM traffic transmitted over ATM cells. For example, it stores SAR—PDUs that are determined to be captured and stores non-ATM traffic. Line rate
(例えば D S 1であれば 1. 5 4 4Mb p s ) で、 S AR— P DUのぺ ィロー ドのみを読み出すような動作となる。 同時に RBU Fでは ATM ネッ トワーク転送時に ATMセルに付加された遅延の変動の吸収も行う。 従って、 R B U Fは ATMネッ トワークで付加される遅延変動の許容値 の範囲内で、 オーバーフロ一やアンダーフローを起こさないだけの容量 をもった F I F◦と して構成されるのが普通である。 なお、 RBUFの 読み出し制御は、 図 3中の R B U R C T Lで行われる。 R BURCT L は、 RBU Fに読み出しア ドレスと リードィネーブル信号 R Eとを供給 し、 R B U Fに記憶されている S AR— P DUの内、 S AR— P DUぺ イロ一ドのみを順次読み出すよ うに制御している。 (For example, in the case of DS1, 1.554Mbps), the operation is such that only the SAR-PDU payload is read. At the same time, RBU F also absorbs the fluctuation of delay added to ATM cells during ATM network transfer. Therefore, the RBUF is usually configured as a FIF that has a capacity that does not cause overflow or underflow within the allowable range of the delay variation added in the ATM network. Note that the read control of the RBUF is performed by RBURCTL in FIG. R BURCT L supplies a read address and a read enable signal RE to RBU F, and sequentially reads out only the SAR-P DU ぺ of the SAR-P DU stored in RBUF. Control.
上記のように、 RBU Fは ATMセルの転送が正常に行われている状 況ではバッファ内の S A R - P DUペイロード滞留数がほぼ一定の状態 となるはずであるが、 ATMネッ トワーク上でセル脱落が発生すると書 き込まれるデータが減少し、 最悪の場合はアンダーフローを起こしてし まう。 アンダーフローを防止するためには、 S C CHKでセル脱落を検 出し、 脱落したと判断される個数のダミーの S AR— P DUを RBUF へ書き込んでやればよい。 また、 逆に ATMネッ トワーク上でセルの重 複 ' 混入が発生した場合は、 重複 ' 混入したセルを破棄し、 RBUFの オーバーフローを防止する必要がある。 これら脱落セル '重複 混入セ ルの検出も S C C HKの機能である。 As described above, the RBU F should be able to keep the number of SAR-P DU payloads in the buffer almost constant when the ATM cells are normally transferred. When a drop occurs, the amount of data written decreases, and in the worst case, an underflow occurs. In order to prevent underflow, SC CHK detects cell loss and writes the number of dummy SAR-PDUs judged to have dropped to RBUF. On the other hand, when cells are duplicated and mixed on the ATM network, it is necessary to discard the duplicated cells and prevent the RBUF from overflowing. These dropped cells and duplicated mixed cells Is also a function of SCC HK.
S N Aに関しては、 規格化されていないが、 I TU— T I . 3 6 3. 1 A p p e n d i x IEに参考情報と して二種類が示されている。 そ れらは Robust SN algorithm (以下、 R S NAという) 、 及び Fast SN algorithm (以下、 F S NAとレ、う) であって、 通常 AAL 1処理 装置においては、 2つのうちのいずれかを適用している場合が多い。  Regarding SNA, it is not standardized, but two types are shown as reference information in ITU-TI.363.1 Appendix IE. These are the Robust SN algorithm (hereinafter referred to as RSNA) and the Fast SN algorithm (hereinafter referred to as FSNA). In an AAL1 processor, one of the two is usually applied. Often have.
図 4は、 R S N Aを使用する S C CHKのハードウエア構成を示すブ 口ック図である。  FIG. 4 is a block diagram showing the hardware configuration of SCCHK using RSNA.
R S NAの特徴は、 RBU F前段に S T (S AR— P DU—時格納 部) とレヽぅ S A R— P DU—個分のバッファを設けていることである。 R B U Fへの書き込み判断は R B U Fに最後に書き込んだ S A R— P D Uの S C (図中、 S C R E Gの S C a cに記憶されている) 、 S Tにあ る S AR— P D.Uの S C (S C s t に記憶されている) 、 及びその次に 到着した S AR— P DUの S Cの連続性を検査することによつて行うこ とである。 S Cの連続性検査部は、 図 4中の S E Q Cである。  A feature of RSNA is that buffers for ST (SAR-PDU-time storage unit) and SAR-PDU- pieces are provided before the RBUF. The determination of writing to RBUF is based on the last SAR written to RBUF—SC of PDU (stored in SC ac of SCREG in the figure) and SAR in ST—SC of P DU (stored in SC st ), And then by checking the SC continuity of the arriving SAR-PDU. The continuity check section of S C is S EQ C in FIG.
S C CHKには、 S AR— P D Uの有効 Z無効情報が S N C HKから 入力されると共に、 受信した S AR— P DUデータが ATMネッ トヮー クより入力される。 実際には S A R_ P DUではなくて、 これを含んだ ATMセルが入力される。 S E Q Cは、 S A R— P DU有効/無効情報 と、 S Cレジスタ (S C RE G) に記憶されている S C a c及び S C s t に基づいて、 A TMネッ トワークから入力された S A R - P DUデー タ (ATM [セル) を S Tに書き込むか否かを判断し、 S Tにライ トイネ 一ブル信号 WE s t を送信する。 この WE s tは、 ATMネッ トワーク から入力される S AR— PDUデータを含む ATMセルを S Tに書き込 むタイ ミングを提供するものである。 S E Q Cが S Tに記憶されている ATMセルを R B U Fに書き込むべきと判断した場合には、 S Tにリー ドィネーブル信号 RE s tを与えて、 ATMセルを出力させるとともに、 セレクタ S E Lに AT [セルを出力させる。 同時に、 3 £ <3〇は1¾81; Fに書き込み制御信号を与え、 ATMセルの内、 S AR— P DUの部分 のみが書き込まれるようなタイ ミングでライ トイネーブル信号を出力す る。 受信した ATMセルに含まれる S Cが、 S C REGに記憶されてい る S C s tや S C a c と連続性を有しない場合には、 セルの揷入ゃ脱落 が生じたと して、 S Tからの ATMセルの出力を中止したり、 脱落した A TMセルの変わりに、 ダミー P DUデ一タ生成部 D UMG E Nによつ て生成されたダミーデータを S E Lから出力させるようにする。 このよ うに、 実際には S Tに記憶されるのは ATMセルであり、 RBUFに書 き込む際に S AR— P DUのみを書き込むような制御がなされるが、 以 下の説明においては、 S AR— P DUそのものが S Tに読み書きさ† る ものとして説明する。 The SC CHK receives the valid Z invalid information of the SAR-PDU from the SNC HK and the received SAR-PDU data from the ATM network. Actually, instead of SA R_PDU, the ATM cell containing this is input. SEQC is based on SAR-P DU valid / invalid information and SC ac and SC st stored in SC register (SC REG). SAR-P DU data (ATM Judge whether or not [Cell] is written to ST, and transmit the write enable signal WE st to ST. The WE st provides a timing for writing an ATM cell including SAR-PDU data input from the ATM network to the ST. SEQC is stored in ST If it is determined that an ATM cell should be written to the RBUF, a read enable signal RE st is given to the ST to output the ATM cell and output the AT [cell to the selector SEL. At the same time, a write control signal is given to 1¾81; F for 3 £ <3〇, and a write enable signal is output at a timing such that only the SAR-PDU portion of the ATM cell is written. If the SC included in the received ATM cell does not have continuity with the SC st or SC ac stored in the SC REG, it is determined that a cell has been inserted or dropped, and the ATM cell from the ST has been deleted. The output is stopped or the dummy data generated by the dummy PDU data generation unit DUMG EN is output from the SEL instead of the ATM cell that has been dropped. As described above, the ATM cell is actually stored in the ST, and control is performed such that only the SAR-PDU is written when writing to the RBUF. AR—The description is made assuming that the PDU itself is read and written to the ST.
図 5は、 図 4の S C C HKの S E Q Cが行う R S N Aの状態遷移図で ある。  FIG. 5 is a state transition diagram of RSNA performed by SEQUC of SCCHK in FIG.
S E Q Cは、 R S NAの場合、 5つの状態を遷移しながらセル紛失 重複/混入を検出する。 なお、 図 8の表 1に、 図 5中に現れる記号表現 についてまとめた。  In the case of RSNA, SEQUC detects cell loss duplication / contamination while transitioning between five states. Table 1 in Fig. 8 summarizes the symbolic expressions that appear in Fig. 5.
まず、 初期状態においては、 S E Q Cは S T A RT状態にある。 S A R— P DUを含む ATMセルが入力されると、 今回受信した S AR— P DUの S Cが有効であるか無効であるか (invalid/valid) を判断する。 この判断は、 S N CHKより与えられる S AR— P DU有効/無効情報 により行う。 S A R— P DUのヘッダに誤りが含まれており、 訂正不可 能である場合には、 今回受信された S A R_ P DUは invalidであると して、 今回受信した S AR— P DU (ATMセル) P DU r を破棄する。 そして、 最初に validな S AR— P DUが入力されるまで S TART状 態で待機する。 validの S A R— P DUが入力されると、 今回の S AR — P DU ( P DU r ) を S Tに記憶し、 O U T— O F— S Y N C状態に 移行する。 OUT— O F—S YNC状態では、 今回受信した S AR— P DUの S Cが S Tに記憶されている S AR— Pひ Uの S Cの値と連続し ている力 、 すなわち、 S C r = S C s t + 1であるか否かを判断し、 連 続していない場合には、 S Tに記憶されている S AR— P DUを破棄し、 今回受信した S A R— P DUを S Tに記憶する。 このようにして、 S T に記憶されている S AR— P DUの S Cと連続した S Cを有する S AR 一 P DUを受信するまで、 OUT— O F— S YNC状態にとどまる。 な お、 OUT— O F— S YNC状態において、 invalidな S AR— P DU を受信した場合には、 今回受信した invalidな S AR— P DUを破棄し、 S Tに記憶されている S AR— P DUも破棄して S TART状態に戻る。 First, in the initial state, SEQC is in the STAR state. When an ATM cell including the SAR-P DU is input, it determines whether the SC of the SAR-P DU received this time is valid or invalid (invalid / valid). This judgment is made based on the SAR-PDU valid / invalid information given by SN CHK. SAR—If the header of the PDU contains an error and cannot be corrected, the SAR_PDU received this time is considered invalid. Then, the SAR—PDU (ATM cell) PDUr received this time is discarded. Then, it waits in the START state until the first valid SAR-PDU is input. When valid SAR-PDU is input, this SAR-PDU (PDUr) is stored in ST, and the state transits to OUT-OF-SYNC. In the OUT—OF—S YNC state, the SC of the received SAR—P DU is the force that is continuous with the SC value of the S AR—P stored in the ST, that is, SC r = SC st Judge whether it is +1 or not, and if not continuous, discard the SAR-PDU stored in ST and store the SAR-PDU received this time in ST. In this way, the state stays in the OUT-OF-S YNC state until a SAR-P DU having an SC continuous with the SAR-P DU stored in the ST is received. If an invalid SAR-P DU is received in the OUT-OF-S YNC state, the invalid SAR-P DU received this time is discarded, and the SAR-P stored in the ST is discarded. Discard the DU and return to the START state.
OUT— O F— S YNC状態において、 今回受信した S A R— P D U の S Cが S Tに記憶されている S AR— P DUの S Cと連続している、 すなわち、 S C r = S C s t + 1 となっている場合には、 S Tに記憶さ れている S AR— P DUを R BU Fに書き込み、 今回受信した S A R— P DUを S Tに記憶する。 そして、 S YNC状態に移行する。 S YNC 状態では、 今回受信した S A R— P DUの S Cが S Tに記憶されている S AR- P DUと連続した S Cとなっているか否かを判断し、 連続にな つていると判断した場合には、 S Tに記憶されている S AR— P DUを RBU Fに書き込むと共に、 今回受信した S AR— P DUを S Tに書き 込む。 そして、 毎回受信される S AR— P DUの S Cが S Tに記憶され ている S AR— P DUの S Cと連続している場合には S YNC状態にと どまって、 順次 S AR— P DUを RBU Fに書き込む動作を行う。 In the OUT—OF—S YNC state, the SC of the SAR—PDU received this time is continuous with the SC of the SAR—P DU stored in the ST, that is, SC r = SC st + 1. In this case, the SAR-PDU stored in the ST is written into the RBUF, and the SAR-PDU received this time is stored in the ST. Then, the state shifts to the SYNC state. In the S YNC state, it is determined whether the SC of the SAR-P DU received this time is a continuous SC with the SAR-P DU stored in the ST, and if it is determined that the SC is continuous. Writes the SAR-PDU stored in the ST into the RBU F and writes the SAR-PDU received this time into the ST. Then, if the SC of the received SAR-P DU is continuous with the SC of the SAR-P DU stored in the ST, the state changes to the SYNC state. Then, the operation of sequentially writing SAR-PDU to RBUF is performed.
S Y N C状態において、 今回受信した S AR— P DUの S Cが S Tに 記憶されている S AR— P DUの S Cと連続したものでない場合には、 S Tに記憶されている S AR— P DUを RBU Fに書き込むと共に、 今 回受信した S AR— P DUを S Τに書き込んで、 OUT— OF— S EQ U E N C E状態に移行する。 また、 今回受信した S AR— P DUが inv alid (無効) であった場合には、 I N V A L I D状態に移行する。 OU T— O F— S EQUE NC E状態では、 今回受信した S A R— PDUの S Cが最近 RBU Fに書き込んだ S AR— P DU S Cと連続したもので ある場合には、 S Tに記憶されている S AR— P DUを破棄し、 今回受 信した S A R— P D Uを S Tに記憶して、 S YNC状態に復帰する。 ま た、 今回受信した S AR— P DUの S Cが S Tに記億されている S A R — P DUの S Cと連続したものである場合には、 ダミー S AR— P DU を R B U Fに書き込み、 次に S Tに記憶されている S AR— P DUを R BU Fに書き込み、 今回受信した S A R— P DUを S Tに記憶して S Y NC状態に復帰する。 あるいは、 今回受信した S AR— P DUの S Cが 最近 R B U Fに書き込んだ S A R— P DUの S Cに "2" を加えた数で あった場合には、 S Tに記憶されている S AR— P DUを RBU Fに書 き込み、 今回受信した S A R— P DUを S Tに書き込んで、 S YNC状 態に復帰する。 O U T— O F— S E QU E N C E状態において、 受信し た S A R— P DUが invalidであった場合には、 S Tに記憶されている S A R- P DUを破棄し、 今回受信した S A R— P DUも破棄して S T ART状態に戻る。 今回受信した S AR— P DUの S Cが最近 RB U F に書き込んだ S A R— P DUの S Cに "1 " を加えたもの、 "2" を加 えたもの、 あるいは S Tに記憶されている S AR— P DUの S Cに " 1 " を加えたもののいずれでもない場合には、 S Tに記憶されている S AR- P DUを破棄し、 今回受信した S A R— P DUを S Tに記憶し て OUT— O F— S YN C状態に移行する。 In the SYNC state, if the SC of the SAR-PDU received this time is not continuous with the SC of the SAR-PDU stored in the ST, the SAR-PDU stored in the ST is replaced with the RBU. In addition to writing to F, the currently received SAR-PDU is written to S #, and the state transits to OUT-OF-SEQUUENCE state. If the SAR-PDU received this time is invalid, the state transits to the INVALID state. In the OU T — OF — S EQUE NCE state, if the SC of the SAR — PDU received this time is continuous with the SAR — P DU SC recently written to the RBU F, the S stored in the ST Discard the AR-PDU and store the received SAR-PDU in the ST and return to the SYNC state. If the SC of the received SAR-PDU is continuous with the SC of the SAR-PDU recorded in the ST, the dummy SAR-PDU is written to the RBUF, and then Write the SAR-PDU stored in the ST to the RBUF, store the SAR-PDU received this time in the ST, and return to the SYNC state. Alternatively, if the SC of the received SAR-P DU is the number obtained by adding "2" to the SC of the SAR-P DU recently written to the RBUF, the SAR-P DU stored in the ST Is written to RBU F, and the SAR-PDU received this time is written to ST, and returns to the SYNC state. In the OUT—OF—SE QUENCE state, if the received SAR—P DU is invalid, the SAR—P DU stored in the ST is discarded, and the SAR—P DU received this time is also discarded. To return to the ST ART state. The SAR received this time—the SAR that the PDU SC recently wrote to the RB UF—the one that added “1” to the SC of the PDU, the one that added “2”, or the SAR stored in the ST— To P DU SC If it is not one of the ones with "1" added, the SAR-PDU stored in the ST is discarded, the SAR-PDU received this time is stored in the ST, and the OUT-OF-SYNC state is entered. Move to
I N V A L I D状態に移行した場合には、 この状態において受信した S A R— P DUが invalid出会った場合には、 S Tに記憶されている S A R - P DUを破棄し、 今回受信した S A R— P DUも破棄して S T A RT状態に戻る。 今回受信した S AR— P DUの S Cが最近 R B U Fに 書き込んだ S A R— P D Uの S Cに " 1 " を加えたものである場合には、 S Tに記憶されている S AR— P DUを破棄し、 今回受信した S A R— P DUを S Tに記憶して S YN C状態に復帰する。 また、 今回受信した 3 1¾ー? 01;の 3じが最近 R B U Fに書き込んだ S A R— P DUの S Cに "2 " を加えたものである場合には、 S Tに記憶されている S A R — P DUを R B U Fに書き込み、 今回受信した S AR— P DUを S Tに 記憶して S YNC状態に復帰する。 I N V A L I D状態において、 受信 した S AR— P DUの S Cが最近 R B U Fに書き込んだ S A R— P DU の S Cに " 1 " を加えたもの、 あるレ、は、 "2 " を加えたもののいずれ でもない場合には、 S Tに記憶されている S AR_ P DUを破棄し、 今 回受信した S AR— P DUを S Tに記憶して OU T— O F— S Y N C状 態に戻る。  In the case of transition to the INVALID state, if the SAR-P DU received in this state is invalid, the SAR-P DU stored in the ST is discarded, and the SAR-P DU received this time is also discarded. To return to the STAR state. If the SC of the received SAR-P DU is the SC of the SAR-PDU recently written to RBUF plus "1", the SAR-P DU stored in the ST is discarded, The SAR-P DU received this time is stored in the ST and returns to the SYNC state. Also, this time you received 31 1? If the 3rd of 01; is the SAR—P DU SC that was recently written to RBUF plus “2”, then the SAR—P DU stored in ST is written to RBUF, and the S received this time AR—Stores P DU in ST and returns to SYNC state. In the INVALID state, the received SAR—P DU SC has recently written to the RBUF. SAR—P DU SC plus “1”. Then, the SAR_PDU stored in the ST is discarded, the SAR_PDU received this time is stored in the ST, and the state returns to the OUT-OF-SYNC state.
図 6は、 F S N Aの S C C HKの構成を示すブロック図である。  FIG. 6 is a block diagram showing the configuration of the SCCHK of the FSN.
R S N Aの場合との違いは S Tがないことである (S Tがないので、 S C R E Gの S C s t もない。 ただし、 OUT— O F— S E QU E NC E状態においては直前に受信した有効 S AR— P DUの S Cを表し、 O UT— O F— S E Q U E NC E , I N V A L I D状態にあっては S YN C状態からこれらの状態に遷移する原因となった S A R— P DUの直前 に受信していた S AR— P DUの S Cを表す S C p r レジスタが存在す る) 。 F S NAの場合は、 今到着した S A R— P DUの S Cと、 最近 R B U Fに書いた S A R— P D Uの S C ( S C a c ) とを比較して書き込 み判断を行う。 また、 セル脱落が検出された場合はダミーセル及び今受 信したセルを一括して R B U Fに書き込む必要がある。 従って、 ダミー セルを RBU Fに書き込むまでは、 今受信したセルを保持する必要があ り、 これを行うのが C RBU F (Current Buffer) である。 The difference from the RSNA case is that there is no ST. (Since there is no ST, there is no SC st of SCREG. However, in the OUT-OF-SE QU E NC E state, the last valid SAR-P DU received. OUT— OF— SEQUENCE, in the INVALID state, which caused the transition from the SYNC state to these states, just before SAR— PDU There is an SC pr register that indicates the SC of the received SAR-P DU.) In the case of FSNA, the write decision is made by comparing the SC of the SAR-PDU that has just arrived with the SC (SCac) of the SAR-PDU recently written to the RBUF. If a cell loss is detected, it is necessary to write the dummy cell and the cell just received into the RBUF at once. Therefore, it is necessary to hold the cell just received until the dummy cell is written to the RBU F, and this is done by the C RBU F (Current Buffer).
まず、 S NCHKから S AR— P DU有効/無効情報が S E Q Cに入 力されると共に、 ATMネッ トワークから A TMセル ( S A R— P DU を含む) が S E Lに入力される。 S EQ Cは、 S AR— P DU有効/無 効情報と、 S C REGに記憶されている、 直前に受信した S AR— P D Uの S C及び RB UFに最近書き込んだ S AR— P DUの S Cの値とを 参照して、 S E Lに入力された ATMセルの S AR— P DUを RBUF に書き込むか否かを判断する。 そして、 S E Q Cは、 F S NAに基づい て、 S E Lに選択信号を送信し、 ATMセルを出力させると共に、 RB U Fに書き込み制御信号を与えて、 ATMセルの内 S AR— P DUの部 分のみを R B U Fに書き込むように制御する。 S EQCは、 ATMセル が脱落していることが S Cの検査から判明した場合には、 DUMG EN で生成されたダミ一データを S E Lで選択して RBU Fへ書き込ませる c 図 7は、 F S N Aに従った S E Q Cの状態遷移図である。 First, SAR-PDU valid / invalid information is input to SEQC from SNCHK, and ATM cells (including SAR-PDU) are input to SEL from the ATM network. The S EQ C contains the SAR—P DU valid / invalid information and the S—A of the last received S—A PDU and the S—A of the recently written S—P—D DU stored in the SC REG. With reference to the value, it is determined whether or not the SAR-PDU of the ATM cell input to the SEL is to be written to the RBUF. Then, based on the FSNA, the SEQC sends a selection signal to the SEL to output the ATM cell, and also provides a write control signal to the RBUF to allow only the SAR-PDU portion of the ATM cell to be output. Control to write to RBUF. S EQC, when the ATM cell is missing is found from inspection of the SC, c 7 for writing to RBU F a dummy datum generated by DUMG EN selected in SEL is the FSNA FIG. 9 is a state transition diagram of SEQC according to FIG.
なお、 同図における各記号の意味は、 図 8の表に示した通りである。 F S NAにおいても、 S TART、 OUT一 O F一 S YNC、 S Y N C、 OU T— O F— S E Q U E N C E、 I N V A L I Dの 5つの状態間 を相互に遷移しながら処理を進める点においては R S N Aと同様である, まず、 S EQ Cは、 初期状態においては、 S TART状態にある。 S TART状態において、 受信する S AR— P DUが invalidである場合 は、 S AR— P DUを破棄し続け、 S TART状態にとどまって、 vali dな S A R— P DUが入力されるまで待機している。 validな S A R— P DUが入力されると、 この validの S A R— P DUは、 まだ連続性が 確認されていない S AR— P DUであるとして破棄されると共に、 状態 が OUT— O F— S YN C状態に移行する。 OUT— O F— S YNC状 態では、 新たに S A R— P DUを受信すると、 この S AR— PDUの S Cと、 直前に受信した S AR_ P DUの S C (S C p r ) とが連続して いるか否かを判断し、 連続していない場合には、 新たに受信した S AR 一 P DUを破棄して OUT— O F— S Y N C状態にとどまる。 新たに受 信した S AR— P DUが invalidであった場合には、 この新たに受信し た S AR— P DUを破棄して S TART状態に戻る。 新たに受信した S AR— P DUの S Cが直前に受信した S AR— P DUの S Cと連続して いると判断された場合には、 この新たに受信した S AR— P DUを RB U Fに書き込むと共に、 S YNC状態に移行する。 S YNC状態では、 新たに受信した S AR— P DUの S Cと RB U Fに書き込んだ S AR— P DUの S Cとを比較して、 連続していると判断されている間は、 新た に受信した S A R— P DUを R B U Fに書き込んでいく。 この間、 状態 は S Y N C状態にとどまる。 S YNC状態において、 invalidな S AR — P DUが受信された場合には、 今回受信した S AR— P DUを RBU Fに書き込んで、 I N V A L I D状態に移行する。 新たに受信した S A R— P DUの S Cが RBU Fに書き込んだ S AR— P DUの S Cと連続 していないと判断された場合には、 新たに受信した S A R— P D Uを R B UFに書き込んで、 OUT— O F— S £0 £ 1^。£状態に移行する( OUT— O F S E Q U E N C E状態において、 新たに受信された S AR— P DUが invalidである場合には、 この新たに受信された S AR — P DUを破棄して、 S T ART状態に戻る。 新たに受信した S AR— P DUが validで、 その S Cが、 直前に R B U Fに書き込んだ S AR— P DUの 1つ前に RBU Fに書き込んだ S AR— P DUの S Cと連続し ている場合には、 新たに受信した S AR— P DUを破棄して、 S YNC 状態に復帰する。 新たに受信した S A R— P DUの S Cが、 直前に RB U Fに書き込んだ S AR— P DUの S Cより "1 " 大きいものである場 合には、 セルの脱落が起こったとして、 ダミ一データを RBUFに書き 込むと共に、 次に、 受信した S AR_ P DUを RBUFに書き込んで、 S YNC状態に戻る。 新たに受信した S AR— P DUの S Cが、 直前に RBU Fに書き込んだ S AR— P DUの 1つ前に RBUFに書き込んだ S AR— P DUの S Cより "2" だけ大きい場合には、 この新たに受信 した S AR— P DUを R BU Fに書き込んで、 S YNC状態に復帰する。 新たに受信した S AR— P DUの S Cが上記した S YNC状態に戻るた めの条件のいずれも満たしていないと判断された場合には、 新たに受信 した S AR— P DUを破棄し、 OUT—◦ F— S YNC状態に移行する c The meaning of each symbol in the figure is as shown in the table of FIG. FS NA is similar to RSNA in that processing proceeds while transiting between the five states of START, OUT-OF-SYNC, SYNC, OUT-OF-SEQUENCE, and INVALID. S EQ C is initially in the START state. S In the TART state, if the received SAR-PDU is invalid, continue to discard the SAR-PDU, stay in the SART state, and wait until a valid SAR-PDU is input. I have. When a valid SAR—P DU is input, this valid SAR—P DU is discarded as a SAR—P DU for which continuity has not yet been confirmed, and the state is OUT—OF—S YN Move to the C state. In the OUT—OF—S YNC state, when a new SAR—P DU is received, whether the SC of this SAR—PDU and the SC (SC pr) of the immediately preceding SAR_P DU are continuous Then, if they are not consecutive, the newly received SAR-PDU is discarded and stays in OUT-OF-SYNC state. If the newly received SAR-PDU is invalid, discard the newly received SAR-PDU and return to the START state. If it is determined that the SC of the newly received SAR—P DU is continuous with the SC of the previously received SAR—P DU, the newly received S AR—P DU is stored in the RB UF. At the same time as writing, shift to the S YNC state. In the S YNC state, the SC of the newly received SAR-P DU is compared with the SC of the SAR-P DU written in the RB UF. Write SAR-P DU to RBUF. During this time, the state remains in the SYNC state. When an invalid SAR-PDU is received in the SYNC state, the SAR-PDU received this time is written to the RBUF and the state transits to the INVALID state. If it is determined that the newly received SAR—P DU SC is not continuous with the SAR—P DU SC written in RBU F, the newly received SAR—PDU is written in RB UF, OUT— OF— S £ 0 £ 1 ^. Move to £ state (in OUT-OFSEQUENCE state, newly received S If the AR-P DU is invalid, discard the newly received S AR-P DU and return to the START state. The newly received SAR-PDU is valid, and the SC is connected to the SAR-PDU SC that was written to RBU F immediately before the SAR-PDU that was written to RBUF immediately before. In this case, the newly received SAR-PDU is discarded, and the state returns to the SYNC state. If the SC of the newly received SAR-P DU is "1" larger than the SC of the SAR-P DU previously written to the RB UF, it is determined that a cell has dropped out and the data Is written to the RBUF, and then the received SAR_PDU is written to the RBUF to return to the SYNC state. If the SC of the newly received SAR-P DU is "2" larger than the SC of the SAR-P DU written to the RBUF just before the SAR-P DU written to the RBU F immediately before Then, the newly received SAR-PDU is written to RBUF, and the state returns to the SYNC state. If it is determined that the SC of the newly received SAR-P DU does not satisfy any of the above conditions for returning to the S YNC state, the newly received S AR-P DU is discarded, OUT-◦ F- c to move to S YNC state
I NVA L I D状態において、 新たに受信した S AR— P DUが inv alidであった場合には、 この新たに受信した S AR— P DUを破棄し て、 S TART状態に戻る。 新たに受信した S A R— P DUが validで あり、 その S Cが直前に R B U Fに書き込んだ S A R— P D Uの 1つ前 に R B U Fに書き込んだ S AR— P DUの S Cより "1 " だけ大きい場 合には、 新たに受信した S AR— P DUを破棄して S YNC状態に戻る ( 新たに受信した S AR— P DUの S Cが、 直前に RBU Fに書き込んだ S A R— P DUの 1つ前の S A R— P D Uの S Cより "2" だけ大きい 場合には、 新たに受信した S AR— P DUを RBUFに書き込んで、 S YNC状態に復帰する。 I N V A L I D状態において、 上記 S YNC状 態に復帰するための条件をいずれも満たしていない場合には、 新たに受 信した S AR— P DUを破棄し、 OUT— O F— S YNC状態に移行す る。 If the newly received SAR-PDU is invalid in the I NVA LID state, the newly received SAR-PDU is discarded, and the state returns to the START state. If the newly received SAR—P DU is valid, and the SC is written to the RBUF immediately before the SAR—the SAR that was written to the RBUF immediately before the PDU—AR—is greater than the SC of the P DU by “1” Discards the newly received SAR-P DU and returns to the SYNC state ( the SC of the newly received SAR-P DU is immediately before the SAR-P DU written to the RBU F. If the SAR—PDU is larger than the SC by “2”, write the newly received SAR—P DU to RBUF and Return to YNC state. In the INVALID state, if none of the above conditions for returning to the SYNC state are satisfied, the newly received SAR-PDU is discarded, and the state shifts to the OUT-OF-SYNC state. .
R S NA、 F S N Aには以下に述べるような利点 · 欠点がそれぞれあ る。  R SNA and F SNA have the following advantages and disadvantages, respectively.
( 1 ) 処理により付加される遅延については、 R S NAでは、 RAA L 1 に到着した S A R— P D Uは必ず S Tに一時格納され、 次の S A R— P DUの到着をまつてから "受入" または "破棄" が決定されるため、 R B U Fへの書き込みに遅延が必ず生じる。 この遅延は、 次の S AR— P DUがいつ到着するかに依存し、 C B R トラフイ ツクの帯域で決まる ATMセル生成間隔と、 ATMネッ トヮ一ク内伝送の際に付加された遅 延からなる。 一方、 F S NAでは、 到着した S A R— P D Uに対する "受入" 、 "破棄" の判定が直ちに行われるので、 F S NAを採用する ことにより生じるアルゴリズム固有の遅延はない。 C B R トラフィ ック は前述のように遅延量に敏感なサービスであり、 遅延の観点からは F S N Aの方が優れているといえる。  (1) Regarding the delay added by the processing, in the RS NA, the SAR-PDU arriving at RAA L 1 is always temporarily stored in the ST, and "accept" or "" after waiting for the next SAR-P DU to arrive. Because "discard" is determined, there is always a delay in writing to RBUF. This delay depends on when the next SAR-PDU arrives, and depends on the ATM cell generation interval determined by the bandwidth of the CBR traffic and the delay added during transmission within the ATM network. Become. On the other hand, in F SNA, the decision of “accept” or “discard” for the arriving SAR-PDU is made immediately, so there is no algorithm-specific delay caused by adopting F S NA. CBR traffic is a service that is sensitive to the amount of delay as described above, and it can be said that FSNA is superior from the viewpoint of delay.
( 2) S C連続性異常の検出能力について以下の例を用いて述べる。  (2) The detection capability of SC continuity abnormality is described using the following example.
( a ) セル重複 · 混入と判定する場合  (a) When it is determined that cells are duplicated and mixed
受信 S AR— P DUの S C : · · - 1 2 3 4 4 5 6 7 0 - · · 二番目の S C = 4のセルは重複 (混入) していると判断する。  Received S AR — P DU SC: ·-1 2 3 4 4 5 6 7 0--· The second cell with SC = 4 is judged to be duplicated (mixed).
( b ) セル脱落と判定する場合  (b) When judging that a cell is dropped
受信 S AR— P DUの S C : · · · 1 2 3 4 · - 3 4 5 6 7 · · ·  Received S AR—SC of PDU: 1 2 3 4--3 4 5 6 7
S C- 4 と 3の間で、 6個のセル (S N= 5, 6, 7 , 0, 1, 2) が脱落していると判断する。 Between SC-4 and 3, 6 cells (SN = 5, 6, 7, 0, 1, 2) It is judged that is dropped.
( c ) シーケンスは保たれていると判断する場合  (c) When it is determined that the sequence is maintained
受信 S AR— P DUの S C : · · - 1 2 3 4 3 6 7 0 1 - · · S C - 4と 6に挟まれた S C = 3のセルは S C = 5であると判断 する。  Receiving S AR — P DU SC: · · · 1 2 3 4 3 6 7 0 1-· · · Cells with SC = 3 sandwiched between SC-4 and 6 are judged to have SC = 5.
セル脱落に関してはどちらも同じ能力であり、 上記 (b ) に示すよう な連続 6個までのセル脱落を検出することができる。 ただし、 F S NA においてセル脱落が判明した時には、 セル脱落の直後に到着したセル (上記 (b ) の二つ目の S C= 3のセル) は既に R B U Fに受け入れら れているため、 本来セルの脱落した箇所にダミ一セルを挿入することは できない。 一方、 セル重複 '混入に関しては、 検出能力という点では両 アルゴリズムは同等 ( 1個の重複 .混入を検出。 上記 (a ) から (c ) を参照) であるが、 重複 ·混入発生時のセル破棄能力に違いがある。 上 記 ( a ) で説明すると、 上記 ( a ) で混入あるいは重複したと思われる セルは二つ目の S C = 4のもの (以下、 破棄すべきセルという) である。 R S NAでは、 S C= 5が RAA L 1に到着した時点では破棄すべきセ ルは S Tに一時格納されている状態であるので、 これを R BUFへ書き 込まないことによって破棄すべきセルを破棄することができる。 ところ 力 S、 F S NAの場合 S C= 5のセルが R AA L 1 に到着し、 ァルゴリズ ムにより実は直前の S C= 4であるセル (すなわち、 破棄すべきセル) は重複、 あるいは混入セルであったことが判明するが、 このとき破棄す べきセルは既に R B U Fに書き込まれた後である。 しかし、 余計なセル の混入があつたと判明したので、 判明した分 ( 1個) の S AR— P DU を破棄しなければ、 RBU Fへの書き込み帯域が規定よりも大きくなり 最悪の場合 R B U Fのオーバフローを引き起こしてしまう。 従って、 一 般的には F S N Aでは破棄すべきセルの次に到着したセル (本例では S C = 5 ) を破棄して帯域を守る動作を行う。 この理由は、 R B U Fに書 き込まれた S C = 4であるセルを破棄するためには、 R B U Fの書き込 みア ドレス ( S C = 4のセルの上に、 次のセルを上書きする) あるいは 読み出しア ドレス ( S C == 4のセルを読み飛ばす) を制御する必要があ り、 複雑なメモリ書き込み Ζ読み出し制御回路が必要になってしまい、 単純に R B U Fを F I F O動作させることでは実現できないからである。 以上より、 R S N Aは混入セルの排除能力が高い反面、 アルゴリズム による遅延が常に発生する特徴を持ち、 F S N Aはアルゴリ ズム固有の 遅延は全く発生しないものの混入セルそのものの排除 ·正確な位置への ダミ一セルの挿入はできないという特徴を持つことになる。 Both have the same capability for cell loss, and can detect up to six consecutive cell loss as shown in (b) above. However, when cell loss is found in the FS NA, the cell arriving immediately after the cell loss (the second SC = 3 cell in (b) above) has already been accepted by the RBUF, so the original cell A dummy cell cannot be inserted at the place where it was dropped. On the other hand, both algorithms are equivalent in terms of the detection capability regarding cell overlap (contamination) (one duplicated. Contamination is detected. See (a) to (c) above). There is a difference in discard ability. Explaining in (a) above, the cells considered to be mixed or duplicated in (a) above are those with the second SC = 4 (hereinafter referred to as cells to be discarded). In RS NA, when SC = 5 arrives at RAA L1, the cells to be discarded are temporarily stored in ST, so the cells to be discarded are not written by writing this to R BUF. can do. However, in the case of force S, FS NA, the cell with SC = 5 arrives at R AAL1, and the previous cell with SC = 4 (that is, the cell to be discarded) is an overlapped or mixed cell due to the algorithm. It turns out that the cells to be discarded have already been written to RBUF. However, since it was found that extra cells were mixed in, if the found (one) SAR-PDU was not discarded, the write bandwidth to the RBU F would be larger than specified, and in the worst case the RBUF Causes an overflow. Therefore, one Generally, in FSNA, the cell that arrives next to the cell to be discarded (SC = 5 in this example) is discarded to protect the band. The reason is that in order to discard cells with SC = 4 written in RBUF, the write address of RBUF (overwriting the next cell on top of the cell with SC = 4) or read This is because it is necessary to control the address (skipping cells with SC == 4), and a complicated memory write / read control circuit is required, which cannot be realized by simply operating the RBUF as a FIFO. . From the above, RSNA has a high ability to eliminate mixed cells, but has the characteristic of always causing delays due to algorithms.FSNA does not generate any algorithm-specific delay, but eliminates mixed cells themselves. The feature is that cells cannot be inserted.
セル脱落や重複 ·混入などの発生頻度は、 通常の運用状態においては、 それほど高くないと考えられるので、 頻度の高くない事象に対する該事 象発生時の保護という観点から S C検査アルゴリズムの導入を考えると、 定常的に遅延の付加される R S N Aは適用しづらい面がある。 一般的に 低速 C B Rサービスほど遅延の影響を受けやすいから、 低速サービスへ の R S N A適用には十分な検討が必要である。  Since the frequency of cell loss, duplication, and mixing is considered to be not so high under normal operating conditions, consider introducing an SC inspection algorithm from the viewpoint of protecting against infrequent events when such events occur. However, RSNA, which has a constant delay, is difficult to apply. In general, slower CBR services are more susceptible to delay, so sufficient consideration is needed for applying RSN A to slower services.
—方、 F S N Aでは異常事象発生時に破棄すべきセルを破棄できず、 その直後の正常であると思われるセルを破棄してしまう。 ダミーセルの 挿入にしても正確な位置へはできない。 特に混入セルが発生した場合は C B Rサービスの帯域は守られるものの再生された非 A T Mトラフイツ クには、 みすみす意味のないデータの混入と、 意味のあるデータの脱落 が発生することになり、 高速 C B Rサービスであるほど大量のデータが 失われたり、 同期はずれを起こしたりと言った影響が懸念される。  On the other hand, FSNA cannot discard cells that should be discarded when an abnormal event occurs, and discards cells that seem to be normal immediately after that. Even if a dummy cell is inserted, the correct position cannot be obtained. In particular, when mixed cells occur, the bandwidth of the CBR service is preserved, but reproduced non-ATM traffic is mixed with meaningless data and dropped out of meaningful data. There are concerns about the effects of the loss of data and loss of synchronization with services.
以上より定常時はアルゴリ ズムによる遅延が発生せず、 異常時には (処理遅延が発生しても) 破棄すべきセルを破棄できるアルゴリズムが 望ましい。 発明の開示 From the above, there is no delay due to the algorithm in the steady state, and An algorithm that can discard cells to be discarded (even if processing delays occur) is desirable. Disclosure of the invention
本発明の課題は、 定常時には遅延が発生せず、 異常時には破棄すべき セルを正しく破棄できるセル検査装置及び方法を提供することである。 本発明の検查装置は、 ATMネッ トワークから定伝送速度で受信され る ATMセルの連続性を検査し、 ATMセルに含まれるユーザデータを 再生するための再組立バッファへ該ュ一ザデータを受け入れるか破棄す るかを判断する検査装置であって、 受信された ATMセルを記憶する一 時記憶手段と、 該一時記憶手段に書き込まれた ATMセルのシーケンス 番号と、 最近該再組立バッファに書き込んだ ATMセルのシーケンス番 号とを記憶するシーケンス番号記憶手段と、 今回受信した ATMセルの シーケンス番号と最近該再組立バッファへ受け入れた ATMセルのシー ケンス番号とが連続性を持つときは、 今回受信した ATMセルを直接再 組立バッファへ書き込み、 該連続性が破られた場合は、 今回受信した A TMセルを該一時記憶手段に書き込み、 その次に受信した ATMセルの シーケンス番号を検査して、 該一時記憶手段に記憶されている ATMセ ルを再組立バッファへ書き込むか、 破棄するかを決定する制御手段とを 備えることを特徴とする。  An object of the present invention is to provide a cell inspection apparatus and method which can correctly discard a cell to be discarded in an abnormal state without delay in a normal state. The checking device of the present invention checks the continuity of ATM cells received at a constant transmission rate from an ATM network, and accepts the user data to a reassembly buffer for reproducing user data contained in the ATM cells. A temporary storage means for storing received ATM cells, a sequence number of the ATM cells written in said temporary storage means, and a recently written in said reassembly buffer. Sequence number storage means for storing the sequence number of the ATM cell, and if the sequence number of the ATM cell received this time and the sequence number of the ATM cell recently received in the reassembly buffer have continuity, Write the received ATM cell directly to the reassembly buffer, and if the continuity is broken, write the ATM cell received this time to the temporary storage means, and then receive It was by examining the sequence number of the ATM cells, or writes the ATM cell Le stored in the temporary storage means to the reassembly buffer, and a controlling means for determining whether to discard.
本発明の検査方法は、 ATMネッ トワークから定伝送速度で受信され る ATMセルの連続性を検査し、 ATMセルに含まれるユーザデータを 再生するための再組立バッファへ該ユーザデータを受け入れるか破棄す るかを判断する検査方法であって、 ( a ) 受信された ATMセルを記憶 するステップと、 (b ) 該ステップ ( a ) で記憶された ATMセルのシ —ケンス番号と、 最近該再組立バッファに書き込んだ ATMセルのシー ケンス番号とを記憶するステップと、 ( c ) 今回受信した ATMセルの シーケンス番号と最近該再組立バッファへ受け入れた A T Mセルのシー ケンス番号とが連続性を持つときは、 今回受信した ATMセルを直接再 組立バッファへ書き込み、 該連続性が破られた場合は、 今回受信した A TMセルを該ステップ ( a ) で記憶し、 その次に受信した ATMセルの シーケンス番号を検査して、 該ステップ ( a ) で記憶された ATMセル を再組立バッファへ書き込むか、 破棄するかを決定するステップとを備 えることを特徴とする。 The checking method of the present invention checks the continuity of ATM cells received at a constant transmission rate from an ATM network, and accepts or discards the user data in a reassembly buffer for reproducing user data contained in the ATM cell. A test method for determining whether or not the received ATM cell is stored; and (b) a method for storing the ATM cell stored in the step (a). A step of storing the sequence number of the ATM cell recently written in the reassembly buffer, and (c) the sequence number of the ATM cell received this time and the sequence of the ATM cell recently received in the reassembly buffer. If the sequence number has continuity, the ATM cell received this time is written directly into the reassembly buffer. If the continuity is broken, the ATM cell received this time is stored in step (a). Checking the sequence number of the next received ATM cell and determining whether to write or discard the ATM cell stored in step (a) into the reassembly buffer. .
上記本発明の検査装置あるいは検査方法によれば、 ATMセル間に連 続性が保たれている通常時には、 ATMセルを一時格納することなく、 直接再組立バッファに書き込むので、 常に ATMセルを一時格納する従 来の R S NAのような処理遅延は生じない。  According to the inspection apparatus or the inspection method of the present invention described above, in the normal state where continuity is maintained between ATM cells, the ATM cells are written directly to the reassembly buffer without temporarily storing the ATM cells. There is no processing delay like the conventional RSNA to store.
また、 ATMセルの連続性が破られた時には、 その ATMセルを一時 的に記憶しておき、 次に入力される ATMセルのシーケンス番号を調べ て、 どのような障害が発生しているかを判断してから処理を行うので、 従来の F S NAのように、 破棄すべき ATMセルを再組立バッファに書 き込んでしまい、 後続の正常な ATMセルを破棄してしまうような事態 は起こらず、 破棄すべき ATMセルを破棄し、 再組立バッファに書き込 むべき ATMセルを正しく書き込むことができる。 図面の簡単な説明  When the continuity of ATM cells is broken, the ATM cells are temporarily stored, and the sequence number of the next incoming ATM cell is checked to determine what kind of failure has occurred. After processing, the ATM cell to be discarded is written into the reassembly buffer unlike the conventional FSN, and the subsequent normal ATM cell is not discarded. ATM cells to be discarded can be discarded, and ATM cells to be written to the reassembly buffer can be correctly written. BRIEF DESCRIPTION OF THE FIGURES
図 1は、 A A L 1 を使用した ATMネッ トワークの構成を示すブロッ ク図である。  FIG. 1 is a block diagram showing the configuration of an ATM network using AAL1.
図 2 Aは、 ATMセル及び S AR— P DUの構成を示す図である。 図 2 Bは、 図 2 A中の各記号の示す意味を列記する表である。 FIG. 2A is a diagram showing a configuration of an ATM cell and a SAR-PDU. FIG. 2B is a table listing the meaning of each symbol in FIG. 2A.
図 3は、 R A A L 1の構成を示すブロック図である。  FIG. 3 is a block diagram showing the configuration of RAAL1.
図 4は、 R S N Aを使用する S C CHKのハードウエア構成を示すブ 口ック図である。  FIG. 4 is a block diagram showing the hardware configuration of SCCHK using RSNA.
図 5は、 図 4の S C C HKの S E Q Cが行う R S N Aの状態遷移図で ある。  FIG. 5 is a state transition diagram of RSNA performed by SEQUC of SCCHK in FIG.
図 6は、 F S NAの S C C H Kの構成を示すブロ ック図である。  FIG. 6 is a block diagram showing the configuration of the FSCNA SCCHK.
図 7は、 F S NAに従った S E Q Cの状態遷移図である。  FIG. 7 is a state transition diagram of SEQC in accordance with FSNA.
図 8は、 図 5及び図 7の状態遷移図に使用される記号の意味を列記し た表である。  FIG. 8 is a table listing the meanings of the symbols used in the state transition diagrams of FIGS. 5 and 7.
図 9は、 本発明の一実施形態である A S N Aの実現するため S C CH Kのハードウエア構成を示すブロック図である。  FIG. 9 is a block diagram showing a hardware configuration of SCCHK for realizing ASNS according to an embodiment of the present invention.
図 1 0は、 本発明の一実施形態である A S N Aの状態遷移図を示す図 である。  FIG. 10 is a diagram showing a state transition diagram of an ASA according to an embodiment of the present invention.
図 1 1は、 本発明の一実施形態である A S N Aの S T A RT状態にお ける処理を示すフロ一チヤ一トである。  FIG. 11 is a flowchart showing a process in the START state of the ASA according to an embodiment of the present invention.
図 1 2は、 本発明の一実施形態である A S N Aの OUT— O F— S Y NC状態における処理を示すフローチヤ一トである。  FIG. 12 is a flowchart showing a process in the OUT-OF-SYNC state of ASNA according to an embodiment of the present invention.
図 1 3は、 本発明の一実施形態である AS NAの S YNC状態におけ る処理を示すフローチャートである。  FIG. 13 is a flowchart showing processing in the SYNC state of the ASNA according to an embodiment of the present invention.
図 1 4は、 本発明の一実施形態である A S N Aの OUT— O F— S E QUE NC E状態における処理の第 1 の態様を示すフローチヤ一トであ る。  FIG. 14 is a flowchart showing a first mode of processing in the OUT-OF-SEQUENCE state of the ASA according to an embodiment of the present invention.
図 1 5は、 本発明の一実施形態である A S N Aの OUT— O F— S E QUENC E状態における処理の第 2の態様を示すフローチヤ一トであ る。 FIG. 15 is a flowchart showing a second mode of the process in the OUT-OF-SE QUENCE state of ASNA according to one embodiment of the present invention. You.
図 1 6は、 本発明の一実施形態である A S NAの I NVA L I D状態 における処理を示すフローチヤ一トである。  FIG. 16 is a flowchart showing a process in the I NVALID state of the ASA according to an embodiment of the present invention.
図 1 7は、 本発明の一実施形態である A S N Aの通常時の動作状態を 示す図である。  FIG. 17 is a diagram showing an operating state of the ASA N according to an embodiment of the present invention in a normal state.
図 1 8は、 本発明の一実施形態である A S N Aのセル混入時の動作状 態を示す図である。  FIG. 18 is a diagram showing an operation state when cells of ASNS according to an embodiment of the present invention are mixed.
図 1 9は、 本発明の一実施形態である A S N Aのセル脱落、 ダミ一デ ータの挿入を行う場合の動作状態を示す図である。  FIG. 19 is a diagram showing an operation state in a case where a cell is dropped out of the ASA and insertion of dummy data is performed according to an embodiment of the present invention.
図 2 0は、 本発明の一実施形態である A S N Aの S Cに誤りがある場 合の動作状態を示す図である。 発明を実施するための最良の形態  FIG. 20 is a diagram illustrating an operation state when an error occurs in the SC of the ASN A according to the embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION
本発明の一実施形態である S N Aを以下において、 Adaptive Robust SN algorithm (以下、 A S NAという) という名称で参照する。 図 9は、 本発明の一実施形態である A S N Aの実現するため S C C H Kのハードウエア構成を示すブロック図である。  An SNA that is an embodiment of the present invention is hereinafter referred to as an Adaptive Robust SN algorithm (hereinafter, referred to as an ASN A). FIG. 9 is a block diagram showing a hardware configuration of SCCHK for realizing ASNS which is one embodiment of the present invention.
A S N Aを実現する S C C H Kにおいては、 A TMネッ トワークから 入力される S A R— P DU (実際には ATMセル) を直接 S E Lに入力 する配線と、 現在受信されている S AR— P DUを記憶する現受信 P D Uバッファ C R B U Fと、 現在受信されている S A R— P DUの 1つ前 に受信された S A R_ P DUを記憶する受信 S AR— P DU—時格納部 S Tとが設けられている。  In SCCHK that implements ASNA, the wiring that directly inputs the SAR-P DU (actually an ATM cell) input from the ATM network to the SEL, and the current wiring that stores the currently received SAR-P DU A reception PDU buffer CRBUF and a reception SAR-P DU-time storage unit ST for storing the SAR_P DU received immediately before the currently received SAR-P DU are provided.
S E Q Cは S A R— P DU有効 Z無効情報を取得する。 S E Q Cは、 この S A R— P DU有効/無効情報と、 S C R E Gに記憶されている S T内の S AR— P DUの S Cと、 RBU Fに書き込まれた S A R— P D Uの S Cとを参照して、 ATMセルの脱落、 重複を判断し、 S E Lに入 力されるデータの内どのデータを R B U Fに送信するかを指示するセレ クタ信号 P DU— S E Lを S E Lに入力する。 S E Lには S Tに記憶さ れた S AR— P DUと、 C R B U Fに記憶された S A R— P DUと、 A TMネッ トワークから直接入力される S AR— P DUと、 DUMGEN によって生成されるダミーデータとが入力されている。 S EQ Cは、 後 に詳述する A S NAにより、 どのデータを R B U Fに書き込むべきかを 判断し、 S E Lを制御して、 適切なデータを RBU Fに書き込むように する。 SEQC obtains SAR-PDU valid Z invalid information. SEQC uses this SAR-P DU valid / invalid information and S stored in SCREG. By referring to the SAR SC of the PDU and the SC of the PDU written in the RBU F in the T, it is determined whether the ATM cell has been lost or duplicated, and which of the data input to the SEL is determined. Selector signal P DU— SEL is input to SEL to specify whether or not to send to RBUF. For SEL, SAR-PDU stored in ST, SAR-PDU stored in CRBUF, SAR-PDU directly input from ATM network, and dummy data generated by DUMGEN Is entered. The SEQU C determines which data should be written to the RBUF according to the ASNA described in detail below, and controls the SEL to write the appropriate data to the RBUF.
また、 S EQ Cは、 S Tに対し、 ライ トイネーブル信号 WE s t及び リ一ドイネ一ブル信号 R E s t を与えて、 S Tへの S AR— P DUの書 き込み及び S Tからの S AR— P DUの読み出しを制御する。  The SEQU C gives the ST a write enable signal WE st and a read enable signal RE st to write the SAR-P DU to the ST and the SAR-P from the ST. Controls DU reading.
なお、 AS N Aではセル脱落が検出された場合はダミーセル、 S T内 のセル、 及び今受信したセルの 3種類を、 連続性が失われたセルや、 無 効セルを受信した後に一定の条件を満たすセルを受信した場合は、 s T 内のセル及び今受信したセルを、 それぞれ一括して R B U Fへ書き込む 必要がある。  In addition, in the case of ASNA, if a cell loss is detected, the dummy cell, the cell in the ST, and the cell just received are subjected to certain conditions after receiving a cell that has lost continuity or an invalid cell. When a cell that satisfies the condition is received, the cell in s T and the cell just received must be written to the RBUF at once.
従って、 ダミーセルや S T内のセルを RBUFへ書き込むまで、 今受 信したセルを保持する必要があり、 これを行うのが、 図 9の C RBU F (Current Buf f er: 現受信 P D Uバッファ) である。 C RBUFは S Tと同じ構造を持つバッファで良いが、 S Tがその内容を次セルが到着 するまで保持するためのものであるのに対して、 CRBU Fは一括書き のときのためのみ待ち合わせを行うものであって、 C RB UFにより R S N Aの場合の S Tのような定常的な遅延が付加されるものではない。 図 1 0は、 本発明の一実施形態である A S N Aの状態遷移図を示す図 である。 Therefore, it is necessary to hold the cell just received until a dummy cell or a cell in the ST is written to the RBUF, and this is done by the C RBU F (Current Buffer Buffer) shown in Fig. 9. is there. C RBUF may be a buffer with the same structure as ST, but ST is to hold its contents until the next cell arrives, whereas CRBU F waits only for batch writing. However, C RB UF does not add a constant delay like ST in the case of RSNA. FIG. 10 is a diagram showing a state transition diagram of ASNA which is one embodiment of the present invention.
なお、 同図において、 図中の各記号の意味は、 図 8の表 1 と同じであ る。  In the same figure, the meaning of each symbol in the figure is the same as in Table 1 in FIG.
最初、 S E Q Cは、 初期状態において、 S TART状態になっている。 S TART状態において、 有効セル (S NCHKで有効 (valid) と判 断された S Nを持つセル。 以下同じ) が到着したときは、 そのセルを S Tに格納し、 S C RE Gのレジスタ S C s t にそのセルの S Nを記憶し、 O U T— O F— S Y N C状態へ遷移する。 到着セルが有効でない (inva lid) ときは、 そのセルは破棄 (S Tに格納しない) し、 S TART状 態にとどまる。  Initially, S EQ C is initially in the START state. In the START state, when a valid cell arrives (a cell with an SN determined to be valid by S NCHK; the same applies hereafter), the cell is stored in ST and stored in the register SC st of SCREG. The SN of the cell is stored, and the state transits to the OUT-OF-SYNC state. If the arriving cell is not valid (invalid), the cell is discarded (not stored in the ST) and remains in the START state.
OUT一 O F— S YNC状態では、 有効セルは受信したが、 S Cの連 続性は未だ検出されていない状態である。 OUT— O F— S YNC状態 において、 有効セルが到着し、 かつ、 到着セルの S Cが S Tに記憶され ている S A R— P DUの S Cの値より " 1 " だけ大きい、 すなわち、 S C s t + 1であるときは、 S T内のセル、 続けて今受信した有効セルを RBU Fに書き込み、 S C R E Gのレジスタ S C a cに、 今受信した有 効セルの S Cを記憶する。 その後、 S YNC状態に移行する。  In the OUT-OF-SYNC state, a valid cell has been received, but the continuity of SC has not yet been detected. In the OUT—OF—S YNC state, a valid cell arrives and the SC of the arriving cell is larger than the value of the SC of the SAR—P DU stored in the ST by “1”, ie, SC st + 1. If there is, the cell in the ST and the valid cell just received are written to the RBU F, and the SC of the valid cell just received is stored in the register SC ac of SCREG. After that, it shifts to the SYNC state.
OUT— O F— S YNC状態において、 有効セルは到着したがその S Cが S C s t + 1以外の値である時は、 S T、 及び S C s tを受信した 有効セルで上書きし、 OUT— O F— S YNC状態にとどまる。 すなわ ち、 もともと S Tに格納されていた有効セルは破棄される。 RBU Fへ は何も書かれない。 OU T— O F— S YN C状態において、 無効セルが 到着した場合は、 S Tをクリアして S TART状態へ遷移する。 S Tに 格納されていた有効セルは破棄される。 S YNC状態は、 S Cの連続性が検出されている状態である。 S YN C状態においては、 有効セルを受信し、 かつ、 その S Cが、 最近 RBU Fに書き込まれた S A R— P D Uの S Cに "1 " を加えた値、 すなわち、 S C a c + 1であるときは、 そのセルを RB UFに書き込み、 受信セル の S Cで S C a c を更新して S YNC状態にとどまる。 有効セルを受信 し、 かつ、 その S Cが S C a c + 1以外の値であるときは、 受信セルを S Tに格納し S C s tに受信セルの S Cを記憶して、 OUT— O F— S E QU E N C E状態へ遷移する。 無効セルを受信した場合は受信セルを S Tに格納し、 I N V A L I D状態へ遷移する。 In the OUT—OF—S YNC state, when a valid cell arrives but its SC is a value other than SC st + 1, the ST and SC st are overwritten with the received valid cell, and OUT—OF—S YNC Stay in the state. That is, valid cells originally stored in the ST are discarded. Nothing is written to RBU F. If an invalid cell arrives in the OU T — OF — SYNC state, clear the ST and transit to the START state. The valid cells stored in the ST are discarded. The S YNC state is a state in which SC continuity is detected. In the SYNC state, if a valid cell is received and the SC is the value of the SC of the SAR-PDU recently written to the RBU F plus "1", that is, SC ac + 1 Then, the cell is written to the RB UF, SC ac is updated by the SC of the receiving cell, and the cell remains in the SYNC state. When a valid cell is received and the SC is a value other than SC ac + 1, the received cell is stored in ST, the SC of the received cell is stored in SC st, and the OUT—OF—SE QUENCE state is set. Transition to. When an invalid cell is received, the received cell is stored in the ST, and the state transits to the INVALID state.
I N V A L I D状態においては、 S Tに格納された無効セルに対する In the I N V A L ID state, an invalid cell stored in ST
R B U Fへの受入ノ破棄の判断が行われる。 I NVAL I D状態におい て、 無効セルを受信したときは、 S Tをク リアし、 S TART状態へ遷 移する。 R B U Fへは何も書き込まれない。 有効セルを受信し、 かつ、 その S Cが S C a c + 1であるときは、 S Tに格納されている無効セル は混入セルであると判断し、 S Tをク リアし、 今受信した有効セルを R B U Fに書き込み、 S C a cにその S Cを記億して S Y N C状態へ遷移 する。 無効セルは破棄されたことになる。 有効セルを受信し、 かつ、 そ の S Cが S C a c + 2であるときは、 S Tに格納されている無効セルは 本来有効セルであつたが、 訂正不能であつたと判断し、 A decision is made to abandon the acceptance to the RBUF. If an invalid cell is received in the I NVAL ID state, ST is cleared and the state transits to the START state. Nothing is written to RBUF. When a valid cell is received and the SC is SC ac + 1, the invalid cell stored in the ST is determined to be a mixed cell, the ST is cleared, and the valid cell just received is set to RBUF. And the SC is stored in SC ac, and the state transits to the SYNC state. Invalid cells are discarded. If a valid cell is received and its SC is S C a c + 2, it is determined that the invalid cell stored in ST was originally a valid cell but could not be corrected.
( 1 ) S Tに格納されている有効セルの R B UFへの書き込み  (1) Writing valid cells stored in ST to RBUF
( 2) 今受信した有効セルの R B U Fへの書き込みと、 そのセルの持つ S Cの S C a cへの記憶  (2) Write the currently received valid cell to RBUF and store the SC of that cell in SCac.
を行って、 S YN C状態へ遷移する。  To make a transition to the SYNC state.
I N V A L I D状態において、 有効セルを受信し、 かつ、 その S Cが S C a c + 1でも S C a c + 2でもないときは、 S Cの連続性が完全に 失われたと判断し、 S T、 及び S C s tに今受信にした有効セルの内容 を上書きし、 OUT— O F— S YNC状態へ遷移する。 RBUFへは何 も書き込まれない。 In the INVALID state, if a valid cell is received and the SC is neither SC ac + 1 nor SC ac + 2, the continuity of SC is completely Judge as lost, overwrite ST and SC st with the contents of the valid cell just received, and transit to OUT-OF-SYNC state. Nothing is written to RBUF.
OUT— .O F— S EQUENC E状態は、 S Cの連続性が失われた状 態で、 S Tに格納されている S Cの連続していない有効セルの R B U F への受入 破棄の判断が行われる。 OUT— O F— S EQUE NC E状 態において、 無効セルを受信したときは、 S Tをク リアし、 S TART 状態へ遷移する。 R B U Fへは何も書き込まれない。 有効セルを受信し、 かつ、 その S Cが S C a c + 1であるときは、 S Tに格納された有効セ ルは混入セルであると判定し、 S Tをク リアし、 今受信した有効セルを R B U Fへ書き込み、 その S Cを S C a cに記憶して S Y N C状態へ遷 移する。 S Tに格納されていた有効セルは破棄されることになる。 有効 セルを受信し、 かつ、 その S Cが S C s t + 1であるときは、 最近 R B U Fに書いた有効セル (その S Cが S C a cで表されているもの) と S Tに格納されている有効セルとの間でセル脱落が発生したと判断し、 In the OUT—.OF—S EQUENC E state, the discontinuity of the SC is lost, and a decision is made to accept and discard the non-consecutive valid cells stored in the ST into the RBUF. When an invalid cell is received in the OUT-OF-SEQUENCE state, ST is cleared and the state transits to the START state. Nothing is written to RBUF. If a valid cell is received and the SC is SC ac + 1, the valid cell stored in ST is determined to be a mixed cell, ST is cleared, and the valid cell received just now is RBUF Then, the SC is stored in SC ac and the state transits to the SYNC state. The valid cell stored in ST will be discarded. When a valid cell is received and the SC is SC st + 1, the valid cell recently written in RBUF (the SC is represented by SC ac) and the valid cell stored in ST are It is determined that cell loss has occurred between
( 1 ) S C a c と S C s tの差から計算される脱落したと判断されるセ ルの個数分のダミ一セルの RB U Fへの書き込み (1) Writing dummy cells to the RBUF for the number of cells determined to be missing, calculated from the difference between S C a c and S c st
( 2 ) S Tに格納されている有効セルの RB UFへの書き込み  (2) Write valid cells stored in ST to RB UF
( 3 ) 今受信した有効セルの R B U Fへの書き込みと、 そのセルの持つ S Cの S C a cへの記憶  (3) Write the valid cell just received to RBUF and store the SC of that cell in SCac
を行って、 S YNC状態へ推移する。  To change to the S YNC state.
有効セルを受信し、 かつ、 その S Cが S C a c + 2であるときは、 S Tに格納されている有効セルは本来連続した S Cであったものが何らか の原因で異常な値となってしまったものと判断して、  When a valid cell is received and its SC is SC ac + 2, the valid cell stored in the ST has an abnormal value for some reason because it was originally a continuous SC. Judge that
( 1 ) S Tに格納されている有効セルの RBUFへの書き込み ( 2 ) 今受信した有効セルの R BU Fへの書き込みと、 そのセルの持つ S Cの S C a cへの記'慮 (1) Write valid cells stored in ST to RBUF (2) Write the valid cell just received to RBUF and write the SC of that cell to SC ac.
を行って、 S YNC状態へ遷移する。 And transit to the S YNC state.
有効セルを受信し、 かつ、 その S Cが S C a c + l、 S C s t + l、 S C a c + 2のいずれでもないときは、 S Cの連続性が完全に失われた と判断して、 S T、 及び S C s tに今受信した有効セルの内容を上書き し、 OUT— O F— S YNC状態へ遷移する。 RBUFへは何も書き込 まれない。 上記括弧付き数字で示された各条件判定は、 記述されている 順序で行う。 ただし、 上記条件判断において、 今受信した有効セルの S C (以下 S C r とレ、う) と、 S C s t、 S C a cの関係が、  If a valid cell is received and the SC is not one of SC ac + l, SC st + l, and SC ac + 2, it is determined that the continuity of the SC has been completely lost, and ST and Overwrites the contents of the valid cell just received to SC st and transits to OUT-OF-S YNC state. Nothing is written to RBUF. Each condition judgment indicated by the number in parentheses is performed in the order described. However, in the above condition determination, the relationship between the S C of the currently received valid cell (hereinafter referred to as S C r) and S C st, S C a c is
S C r = S C s t + l = S C a c + l  S C r = S C st + l = S C a c + l
である場合も起こり得る。 上記で示した条件判断では、 上記説明では、 S C r = S C a c + lの判断を優先しているが、 S C r = S C s t + 1 の判断を優先することも可能である。 S C r 二 S C s t + 1の判断を優 先した場合は、 Can also occur. In the above condition judgment, in the above description, the judgment of S Cr = S C a c + l is prioritized, but the judgment of S C r = S C st +1 may be prioritized. If the priority of S C r 2 S C s t +1 is given priority,
受信 S AR— P DUの S C : · · - 1 2 3 44 5 6 7 0 - · · である場合、 1個目の S C= 4 と 2個目の S C = 4の間で S C= 5, 6 , 7, 0, 1, 2, 3の 7個のセル脱落が発生したと判断され、  Receiving S AR—SC of P DU: ·-1 2 3 4 4 5 6 7 0-· · If SC = 4 and SC = 4 between the first SC = 4 and the second SC = 4 , 7, 0, 1, 2, and 3 are determined to have been dropped,
( 1 ) 7個のダミーセルの R B U Fへの書き込み  (1) Write 7 dummy cells to RBUF
( 2) S Tに格納されていた有効セルの RBUFへの書き込み  (2) Writing valid cells stored in ST to RBUF
(3 ) 今受信した有効セルの書き込み  (3) Write valid cell just received
が行われた後に、 S YNC状態へ移行する。 従って、 同じシーケンスの S Cを受け取っても判断の優先順位を入れ替えることによって、 After that, the state transitions to the S YNC state. Therefore, even if SCs of the same sequence are received, by changing the priority of the judgment,
( a ) 1個の混入セル  (a) One mixed cell
( b ) 7個のセル脱落 という全く異なった判定が行われることになる。 (b) 7 cells dropped A completely different decision is made.
実際のアルゴリ ズム適用に当たっては、 上記 ( a ) 、 ( b ) のうち、 どちらがより起こりやすいか等を考慮して優先順位を選択する。  In applying the actual algorithm, the priority is selected in consideration of which of (a) and (b) above is more likely to occur.
図 1 1は、 本発明の一実施形態である A S N Aの S T A RT状態にお ける処理を示すフローチャートである。  FIG. 11 is a flowchart showing a process in the START state of the ASA according to an embodiment of the present invention.
まず、 S E Q Cが初期状態にはいると、 ステップ S 1で、 S AR— P DUを受信したか否かが判断される。 S AR— P DUを受信していない 場合には、 ステップ S 1の処理を繰り返して S AR— P DUが受信され るのを待つ。 ステップ S 1で、 S A R— P D Uが受信されると、 ステツ プ S 2で、 S C r に現在受信した S AR— P DUの S C ( P DU r . S C) を設定する。 そして、 ステップ S 3で、 S C rが有効か無効かを、 S NCHKからの S AR— P D U有効ノ無効情報に基づいて判断する。 ステップ S 3で、 S C rが有効でないと判断された場合には、 ステップ S 5で、 現在受信された S A R— P DUを破棄してステップ S 1 に戻り、 次の S AR— P DUが受信されるのを待つ。 ステップ S 3で、 S C rが 有効であると判断された場合には、 ステップ S 4で、 現在受信された S AR— P DUを S Tに記憶し、 S C r を S Tに記憶されている S A R— P DUの S Cを保持する S C s t に設定する。 そして、 ステップ S 6に 進んで、 OUT— O F— S YN C状態に移行する。  First, when the SEQUC is in the initial state, it is determined in a step S1 whether a SAR-PDU has been received. If the SAR-PDU has not been received, the process of step S1 is repeated to wait for the SAR-PDU to be received. In step S1, when SAR-PDU is received, in step S2, the SC of the currently received SAR-PDU (PDUr.SC) is set in SCr. Then, in step S3, it is determined whether SCr is valid or invalid based on the SAR—PDU valid / invalid information from the SNCHK. If it is determined in step S3 that the SC r is not valid, in step S5, the currently received SAR—P DU is discarded, and the process returns to step S1, where the next SAR—P DU is received. Wait for it to be done. If it is determined in step S3 that SC r is valid, in step S4, the currently received SAR—P DU is stored in the ST, and the SC r is stored in the ST—the SAR— Set to SC st that holds SC of PDU. Then, proceeding to step S6, the state transits to the OUT-OF-SYNC state.
図 1 2は、 本発明の一実施形態である A S N Aの OUT— O F— S Y NC状態における処理を示すフロ一チャートである。  FIG. 12 is a flowchart showing a process in the OUT-OF-SYNC state of ASNA according to an embodiment of the present invention.
OUT— O F— S YNC状態では、 まず、 ステップ S 1 0で、 S AR 一 P DUを受信したか否かを判断する。 S A R— P DUを受信していな い場合には、 ステップ S 1を繰り返して、 S AR— P DUが受信される のを待つ。 ステップ S 1 0で、 S A R— P D Uが受信されたことが確認 されると、 ステップ S I 1で、 S C r に受信した S AR— P DUの S C (P DU r . S C) を設定する。 そして、 ステップ S 1 2で、 S C r力 S 有効か無効かを S N C H Kからの S A R— P DU有効 無効情報に基づ いて判断する。 今回受信した S AR— P DUの S Cが有効でない場合に は、 ステップ S 1 3に進んで、 S Τに記憶されている S AR— P DUを 破棄すると共に、 今回受信した S AR_ P DUも破棄し、 ステップ S 1In the OUT-OF-SYNC state, first, in step S10, it is determined whether or not a SAR-PDU has been received. If SAR-PDU has not been received, repeat step S1 and wait for SAR-PDU to be received. Step S10 confirms that the SAR—PDU has been received Then, in step SI1, SC of the received SAR-P DU (P DU r .SC) is set in SC r. Then, in step S12, it is determined whether the SC r force S is valid or invalid based on the SAR-PDU valid / invalid information from SNCHK. If the SC of the SAR-P DU received this time is not valid, the process proceeds to step S13, where the SAR-P DU stored in S # is discarded, and the SAR_P DU received this time is also deleted. Discard, step S 1
4で、 S TART状態に戻る。 At 4, return to the START state.
ステップ S 1 2で、 S C rが有効であると判断された場合には、 ステ ップ S 1 5で、 S C r = S C s t + lであるか否かが判断される。 これ は、 今回受信した S A R_ P D Uの S Cが S Tに記憶されている S A R 一 P DUの S Cと連続しているか否かを判断するものである。 ステップ If it is determined in step S12 that SCr is valid, it is determined in step S15 whether SCr = SCst + l. This is to determine whether the SC of the SAR_PDU received this time is continuous with the SC of the SAR-PDU stored in the ST. Steps
S 1 5の判断の結果が "NO" となった場合には、 ステップ S 1 6に進 んで、 今回受信した S AR— P DUを S Tに記憶して、 ステップ S 1 0 に戻る。 If the result of the determination in S15 is "NO", the flow proceeds to step S16, the SAR-PDU received this time is stored in ST, and the flow returns to step S10.
ステップ S 1 5で、 今回受信した S八1 ー? 0 1の3じが3 Tに記憶 されている S AR— P DUの S Cと連続していると判断された場合には、 ステップ S 1 7で、 まず、 S Tに記憶されている S AR— P DUを RB UFに書き込み、 次に、 今回受信した S A R— P DUを R B U Fに書き 込む。 そして、 ステップ S 1 8に進んで、 S YNC状態に移行する。 図 1 3は、 本発明の一実施形態である A S N Aの S YN C状態におけ る処理を示すフロ一チャートである。  In step S 15, the S 8 1 received this time? 0 If 3 is stored in the 3 T, the S AR— If it is determined that it is continuous with the SC of the PDU, in step S 17, first, the S AR— Write the PDU to RBUF, and then write the SAR-PDU received this time to RBUF. Then, the process proceeds to step S18 to shift to the SYNC state. FIG. 13 is a flowchart showing a process in the SYNC state of the ASA according to an embodiment of the present invention.
S YNC状態においては、 S EQ.Cは、 ステップ S 20において、 S A R— P DUが受信されたか否かを判断し、 S AR— P DUが受信され るまで待つ。 ステップ S 2 0で、 S AR— P DUが受信されたと判断さ れた場合には、 ステップ S 2 1で、 S C rに今回受信された S AR— P DUの S C (P DU r . S C) を設定する。 そして、 ステップ S 2 2で、 S NCHKからの S AR_ P DU有効ノ無効情報を基に、 S C rが有効 か無効か判断する。 S C rが有効でないと判断された場合には、 ステツ プ S 2 3に進んで、 今回受信した S AR— P DUを S Tに記億すると共 に、 S Tに記憶されている S A R— P DUの S Cが設定される S C s t に S C r を設定して、 ステップ S 2 4で、 I N V A L I D状態に移行す る。 In the SYNC state, S EQ.C determines whether or not the SAR-P DU has been received in step S20, and waits until the SAR-P DU has been received. If it is determined in step S20 that the SAR—P DU has been received, in step S21, the SAR—P which has been received this time by SC r Set the DU SC (P DU r. SC). Then, in step S22, it is determined whether SC r is valid or invalid based on the SAR_PDU validity / invalidity information from the SNCHK. If it is determined that the SC r is not valid, the process proceeds to step S23, where the received SAR-P DU is stored in the ST, and the SAR-P DU stored in the ST is stored. Set SC r to SC st where SC is set, and in step S24, transition to the INVALID state.
ステップ S 2 2で、 S C rが有効と判断された場合には、 ステップ S 2 5で、 S C r = S C a c + lか否かが判断される。 これは、 今回受信 した S AR— P DUの S Cが、 最近 RBUFに書き込まれた S AR— P DUの S Cと連続しているか否かを判断するものである。 ここで、 S C と して "0 " 〜 "7 " までの番号を使用している場合には、 "7 " に連 続する数は "0 " であるとする。 ステップ S 2 5で、 今回受信した S A R— P DUの S Cが最近 R B U Fに書き込まれた S AR— P DUの S C と連続するものであると判断された場合には、 ステップ S 2 6に進み、 今回受信した S AR— P DUを RBU Fに書き込むと共に、 最近 RBU Fに書き込まれた S AR— P DUの S Cが設定されるべき S C a cに S C r を設定する。 そして、 ステップ S 2 0に戻り、 次の S AR— P DU の受信を待つ。 このように、 受信された S AR— P DUの S Cが最近 R B U Fに書き込まれた S A R_ P DUの S Cと連続する場合、 すなわち、 正常に転送が行われている場合には、 ステップ S 2 0〜ステップ S 2 6 の処理を繰り返し、 順次、 受信した S AR— P DUを R B U Fに書き込 んでいく。  If it is determined in step S22 that SCr is valid, it is determined in step S25 whether or not SCr = SCac + 1. This is to determine whether the SC of the SAR-P DU received this time is continuous with the SC of the SAR-P DU recently written to the RBUF. Here, when numbers from "0" to "7" are used as SC, it is assumed that the number following "7" is "0". If it is determined in step S25 that the SC of the SAR—PDU received this time is continuous with the SC of the SAR—PDU recently written to the RBUF, the process proceeds to step S26. The currently received SAR-P DU is written to the RBU F, and SC r is set to the SC ac in which the SC of the SAR-P DU recently written to the RBU F is to be set. Then, the process returns to step S20, and waits for reception of the next SAR-PDU. In this way, if the SC of the received SAR—P DU is continuous with the SC of the SAR_P DU that has been recently written to the RBUF, that is, if the transfer is normally performed, step S 20 ~ Repeat the processing of step S26, and sequentially write the received SAR-PDU to RBUF.
ステップ S 2 5で、 今回受信した S AR— P DUの S Cが最近 R B U Fに書き込んだ S AR— P DUの S Cと連続していない、 すなわち、 S C r = S C a c + 1でないと判断された場合には、 ステップ S 2 7に進 み、 今回受信した S A R— P DUを S Tに書き込むと共に、 S C s tに 今回受信した S A R— P DUの S C (S C r ) を設定する。 そして、 ス テツプ S 2 8に進み、 OUT— O F— S EQUE NC E状態へ移行する。 In step S25, the SC of the SAR—P DU received this time is not continuous with the SC of the SAR—P DU that has recently been written to the RBUF. If it is determined that C r = SC ac +1 is not satisfied, the process proceeds to step S27, where the SAR—P DU received this time is written into ST, and the SC (of the SAR—P DU received this time) is written into SC st. SC r). Then, the flow advances to step S28 to shift to an OUT-OF-SEQUENCE state.
図 1 4は、 本発明の一実施形態である A S N Aの OUT— O F— S E QU E NC E状態における処理の第 1の態様を示すフローチヤ一トであ る。  FIG. 14 is a flowchart showing a first mode of the process in the OUT-OF-SEQUEUNCE state of the ASA according to an embodiment of the present invention.
S E Q Cは、 OUT— O F— S E QUE NC E状態にはいると、 ステ ップ S 3 0で、 S AR— P DUが受信されたか否かを判断する。 そして、 S A R— P D Uが受信されるまで、 ステップ S 3 0の処理を繰り返す。 ステップ S 3 0で、 S AR— P DUが受信されたと判断された場合には、 ステップ S 3 1で、 受信した S AR— P DUの S C (P DU. S C) を S C r に設定し、 ステップ S 3 2で S C rが有効か否かを判断する。 ス テツプ S 3 2の判断では、 S NCHKから通知される S AR— P DU有 効/無効情報を使用する。  Upon entering the OUT-OF-SEQUENCE state, the SEQC determines in step S30 whether or not the SAR-PDU has been received. Then, the process of step S30 is repeated until SAR-PDU is received. If it is determined in step S30 that SAR—PDU has been received, in step S31, the SC (PDU.SC) of the received SAR—PDU is set to SCr, In step S32, it is determined whether SC r is valid. In the judgment of step S32, the SAR—PDU valid / invalid information notified from the SNCHK is used.
ステップ S 3 2で、 S C rが有効でないと判断された場合には、 ステ ップ S 3 3に進んで、 S Tに記憶されている S AR— P DUを破棄し、 今回受信された S AR— P DUも破棄する。 そして、 ステップ S 3 4で, S TART状態に戻る。  If it is determined in step S32 that SC r is not valid, the process proceeds to step S33, where the S AR—P DU stored in the ST is discarded, and the S AR received this time is discarded. — Discard the PDU. Then, in step S34, the state returns to the START state.
ステップ S 3 2で、 S C rが有効であると判断された場合には、 ステ ップ S 3 5に進んで、 S C r = S C a c + 1であるか否か、 すなわち、 今回受信した S AR— P DUの S Cが、 最近 R B U Fに書き込まれた S AR— P DUの S Cと連続したものか否かが判断される。 ステップ S 3 5の判断が " Y E S " の場合には、 ステップ S 3 6において、 S Tに記 億されている S AR— P DUを破棄し、 今回受信した S AR— PDUを RBU Fに書き込む。 更に、 S C a cに S C r を設定して、 ステップ SIf it is determined in step S32 that SC r is valid, the flow advances to step S35 to determine whether or not SC r = SC ac +1. — It is determined whether the SC of the PDU is continuous with the SAR—PDU SC that has recently been written to the RBUF. If the determination in step S35 is "YES", in step S36, the SAR-PDU recorded in the ST is discarded, and the SAR-PDU received this time is discarded. Write to RBU F. Further, SC r is set in SC ac, and step S
4 3に進み、 S YNC状態に戻る。 この処理は、 1つの ATMセルの重 複 · 混入が合った場合の処理である。 4 Proceed to 3 to return to the S YNC state. This process is performed when one ATM cell is mixed and mixed.
ステップ S 3 5で、. S C r = S C a c + 1ではないと判断された場合 は、 ステップ S 3 7で、 S C r = S C s t + lか否かが判断される。 す なわち、 今回受信した S AR— P DUの S Cが S Tに記憶されている S AR— P DUの S Cより " 1 " だけ大きいか否かを判断する。 これは、 If it is determined in step S35 that SCr = SCC + 1, it is determined in step S37 whether SCR = SCst + 1. That is, it is determined whether or not the SC of the SAR-P DU received this time is larger than the SC of the SAR-P DU stored in the ST by "1". this is,
5 Tに記憶されている S A R— P DUと今回受信した S AR— P DUと の連続性を確かめることによって、 S Tに記憶されている S AR— P D Uの前に ATMセル (S AR— P DU) の脱落があることを検出するも のである。 ステップ S 3 7の判断が "YE S" の場合には、 ステップ S 3 8で、 NoDUMに関数 NoDUM (SCac、 SCst) の値を設定する。 5 By confirming the continuity between the SAR—P DU stored in T and the currently received SAR—P DU, the ATM cell (S AR—P DU) is placed before the S AR—PDU stored in the ST. ) Is detected. If the determination in step S37 is "YE S", the value of the function NoDUM (SCac, SCst) is set in NoDUM in step S38.
関数 NoDUM (SCac、 SCst) は、 ATMセル (S AR— P DU) の脱落 が発見されたときに、 脱落した個数を演算する処理である。 関数 NoDUM (SCac、 SCst) のプログラム例を以下に示す。  The function NoDUM (SCac, SCst) is a process for calculating the number of dropped ATM cells (SAR-PDU) when a drop is found. A program example of the function NoDUM (SCac, SCst) is shown below.
function NoDUM (SCac、 SCst) {  function NoDUM (SCac, SCst) {
if (SCst-SCac- 1≥ 0 ) {  if (SCst-SCac- 1≥ 0) {
return ( SCst-SCac- 1 ) ;  return (SCst-SCac-1);
} else {  } else {
return (SCst-SCac+7) ;  return (SCst-SCac + 7);
このプログラムは、 それ以降連続性が確認された S AR— P DUの S C ( S C s t ) と、 最近 R B U Fに書き込まれた S A R— P DUの S C ( S C a c ) との間にある数値の差を算出して、 脱落した ATMセルの 数を推定するものである。 例えば、 3〇 3 カ "6 " で、 S C a c力 SThis program calculates the difference between SC (SC st) of SAR—P DU and SAR—P DU SC (SC ac) that has been written to RBUF recently. Calculate the lost ATM cell It estimates the number. For example, 3_Rei at three "6", SC ac force S
"2 " の場合には、 じカ "3 " 、 "4 " 、 "5 " の 3つの ATMセル が脱落していることになる。 上記の if 文での判断式は、 「真」 になる ので、 SCst - SCac_l = 3が脱落セル数と して算出される。 また、 例えば、 S C s t力 S " 2 " で、 S C a c力 S " 6 " の場合、 S C力 S " 7 " 、 " 0,, 、 " 1 " の 3つの ATMセルが脱落していることになる。 この場合、 上記 if 文の判断式は、 「偽」 となるので、 SCst_SCac+7= 3が脱落セル数と して算出される。 In the case of "2", it means that three ATM cells "3", "4", and "5" have been dropped. Since the judgment formula in the above if statement is "true", SCst-SCac_l = 3 is calculated as the number of dropped cells. For example, in the case of SC st force S "2" and SC ac force S "6", three ATM cells of SC force S "7", "0, ...," "1" are missing. In this case, since the judgment formula of the above if statement is “false”, SCst_SCac + 7 = 3 is calculated as the number of dropped cells.
このようにして、 算出された脱落セル数が変数 NoDUMに設定される。 そして、 ステップ S 3 8において、 ダミーデータを NoDUM個だけ RBU Fに書き込み、 次に S Tに記憶されていた S AR— P DUを RBU Fに 書き込む。 更に、 今回受信した S AR— P DUも RBUFに書き込んで、 S C a c に今回受信した S A R— P D Uの S C ( S C r ) を設定し、 ス テツプ S 4 3に進んで、 S YNC状態に移行する。  In this way, the calculated number of dropped cells is set in the variable NoDUM. Then, in step S38, only NoDUM dummy data is written to the RBU F, and then the SAR-P DU stored in the ST is written to the RBU F. Furthermore, the SAR-P DU received this time is also written into the RBUF, the SC (SC r) of the SAR-PDU received this time is set in SC ac, and the process proceeds to step S43 to shift to the S YNC state. .
ステップ S 3 7で、 判断の結果が "N〇" となった場合には、 ステツ プ S 3 9で、 S C r = S C a c + 2であるか否かを判断する。 これは、 最近 RBU Fに書き込まれた S AR— P DUの S C ( S C a c ) と、 現 在 S Tに書き込まれている S A R— P DUの S C (S C s t ) とは連続 していないが、 今回受信した S AR— P DUの S C ( S C r ) が S C a c と連続しているか否かを判断するものである。 ステップ S 3 9の判断 "YE S " の場合には、 S Tに記憶されている S AR— P DUの S C (S C s t ) は、 何らかの原因で誤りが生じたものであるが、 実際には 正常な S A R— P DUであると判断するものである。 従って、 ステップ S 4 0で、 S Tに記憶されている S AR— P DUを RBU Fに書き込み 次に、 今回受信した S A R— P DUを R B U Fに書き込み、 S C a じ に S C r を設定して、 ステップ S 4 3で、 S YNC状態に移行する。 If the result of the determination at step S37 is "N〇", it is determined at step S39 whether or not SCr = SCac + 2. This is because the SC (SC ac) of the SAR—P DU that was recently written to the RBU F and the SC (SC st) of the SAR—P DU currently written to the ST are not continuous. This is for determining whether or not the SC (SCr) of the received SAR-PDU is continuous with SCac. In the case of “YE S” in step S 39, the SC (SC st) of the S AR—P DU stored in the ST indicates that an error has occurred for some reason, but it is actually normal. SAR—Judges that this is a PDU. Therefore, in step S40, the SAR-PDU stored in the ST is written to the RBU F. Then, the SAR-PDU received this time is written to the RBUF, and the SCa SC r is set, and in step S43, the state transits to the S YNC state.
ステップ S 3 9の判断が "NO" の場合には、 セルの混入が 2つ以上 生じていると判断して、 S Tに記憶されている S AR— P DUを破棄し、 今回受信した S AR— P DUを S Tに記憶し、 S C s tに S C rを設定 して、 ステップ S 4 2で、 OUT— O F— S YNC状態に移行する。 図 1 5は、 本発明の一実施形態である A S N Aの OUT— O F— S E If the determination in step S39 is "NO", it is determined that two or more cells have been mixed, the SAR—PDU stored in the ST is discarded, and the SAR received this time is discarded. — Store the PDU in ST, set SCr in SC st, and move to OUT—OF—S YNC state in step S42. FIG. 15 is a diagram showing OUT—OF—SE of ASNA according to an embodiment of the present invention.
QU E NC E状態における処理の第 2の態様を示すフローチャートであ る。 9 is a flowchart showing a second mode of the process in the QUENCE state.
なお、 図 1 5において、 図 1 4のフローチャートと同じステップは、 同じステップ符号を付してあり、 同じステップの説明の詳細は省略する c 第 2の態様においては、 有効セル (有効 S AR— P DU) が受信され た後、 ステップ S 3 7 ' で、 今回受信された S AR— P DUの S Cと、 S Tに記憶されている S AR— P DUの S Cとが連続しているか否かを 判断する。 判断の結果が "YE S " の場合には、 ステップ S 3 8で、 脱 落したと判断されたセル数に等しい数のダミ一データを R B U Fに書き 込んだ後、 今回受信した S AR— P DUを RBU Fに書き込む。 ステツ プ S 3 7 ' で "NO" と判断された場合には、 ステップ S 3 5 ' で、 今 回受信した S AR— P DUの S Cが最近 R B U Fに書き込んだ S A R— P DUの S Cと連続しているか否かが判断される。 ステップ S 3 5 ' の 判断の結果が " Y E S " の場合、 S T内の S AR— P DUを破棄し、 今 回受信した S A R— P DUを R B U Fに書き込む。 ステップ S 3 5 ' の 判断が " NO" の場合には、 ステップ S 3 9以下の処理を行う。 この処 理は図 1 4で説明したものと同様である。 In FIG. 15, the same steps as those in the flowchart of FIG. 14 are denoted by the same step numbers, and the details of the same steps are omitted. C In the second mode, the valid cell (valid S AR− After receiving the (P DU), in step S37 ', it is determined whether or not the SC of the currently received SAR—P DU and the SC of the SAR—P DU stored in the ST are continuous. Judge. If the result of the determination is “YE S”, in step S 38, the dummy data of the number equal to the number of cells determined to have been lost is written to the RBUF, and then the received SAR—P Write DU to RBU F. If "NO" is determined in the step S37 ', in the step S35', the SC of the SAR-PDU received this time is continuously connected with the SAR-SC of the PDU recently written to the RBUF. It is determined whether or not it is. If the result of the determination in step S35 'is "YES", the SAR-PDU in the ST is discarded, and the SAR-PDU received this time is written to the RBUF. If the determination in step S35 'is "NO", the processing from step S39 is performed. This process is similar to that described in FIG.
前述したように、 例えば、 受信 S A R— P D Uの S Cが 「 · · · 1 2 3 4 4 5 6 7 0 · · · I となっており、 今、 S C a c = 4 (最初の " 4 " ) 、 S C s t = 4 (後ろの " 4,, ) 、 S C r = 5となっていた場 合を考える。 図 1 4の第 1の態様では、 ステップ S 3 5で、 先に S C r と S C a c との連続性を見ているので、 上記例では、 判断の結果が "Y E S " となる。 従って、 ステップ S 3 6に進んで、 上記例の内、 S Cが 後ろの " 4 " に対応する S AR— P DUを混入セルとして破棄する。 こ れに対し、 図 1 5の第 2の態様では、 ステップ S 3 7, で、 先に S C r と S C s tの連続性を判断するので、 この場合は S C r と S C s との 連続性あり と判断し、 ステップ S 3 8で、 上記例における最初の "4" と後ろの "4 " との間に S Cが 0〜 7に対応する ATMセルが脱落して いると して、 8個のダミ一データの書き込みが行われる。 As described above, for example, the SC of the received SAR—PDU is “「 · 1 2 3 4 4 5 6 7 0 ··· I, and now SC ac = 4 (first Consider the case where "4"), SC st = 4 (the last "4 ,,)", and SC r = 5. In the first embodiment of FIG. Since the continuity between r and SC ac is observed, in the above example, the result of the determination is “YES.” Therefore, the process proceeds to step S36, and in the above example, SC is the last “4”. In contrast, in the second embodiment of FIG. 15, the continuity of SC r and SC st is determined in step S 37 in the second embodiment of FIG. Therefore, in this case, it is determined that there is continuity between SC r and SC s, and in step S38, SC corresponds to 0 to 7 between the first "4" and the last "4" in the above example. Assuming that the ATM cell is lost, eight dummy data are written.
このように、 図 1 4 と図 1 5で示した OUT— OF— S EQUENC Eにおける処理の態様は、 いずれも実装可能であって、 ステップ S 3 5, とステップ S 3 7 ' の判断の優先順位は本実施形態を使用する者に よって適宜定められるべきものである。  As described above, any of the processing modes in the OUT-OF-S EQUENC E shown in FIGS. 14 and 15 can be implemented, and the priority of the determination in step S 35 and step S 37 ′ is given. The order should be appropriately determined by a person using this embodiment.
図 1 6は、 本発明の一実施形態である A S NAの I NVA L I D状態 における処理を示すフロ一チャートである。  FIG. 16 is a flowchart showing a process in the I NVALID state of the ASA according to an embodiment of the present invention.
S E Q Cは、 I N V A L I D状態に移行すると、 ステップ S 5 0で、 S A R - P DUの受信があつたか否かを判断し、 S AR— P DUを受信 するまでステップ S 5 0を繰り返す。 ステップ S 5 0で、 S AR— P D Uを受信すると、 ステップ S 5 1 において、 今回受信した S AR— P D Uの S C (P DU. S C) を S C r に設定する。  When the SEQUC transitions to the INVALID state, it determines in step S50 whether or not the SAR-PDU has been received, and repeats step S50 until the SAR-PDU is received. In step S50, when SAR-PDU is received, in step S51, the SC (PDU.SC) of the SAR-PDU received this time is set to SCr.
ステップ S 5 2に進み、 S NCHKからの S AR— P DU有効/無効 情報を元に、 今回受信した S AR— P DUの S C (S C r ) が有効か否 かを判断する。 S C rが有効でないと判断された場合には、 ステップ S 5 3に進んで、 S Tに記憶されている S A R— P DUを破棄すると共に 今回受信した S AR— P DUも破棄し、 ステップ S 5 4で S TART状 態に移行する。 Proceeding to step S52, based on the SAR-PDU valid / invalid information from the SNCHK, it is determined whether the SC (SCr) of the SAR-PDU received this time is valid. If it is determined that SC r is not valid, the process proceeds to step S53, where the SAR—P DU stored in the ST is discarded, and The SAR-PDU received this time is also discarded, and in step S54, the state shifts to the START state.
ステップ S 5 2で、 S C rが有効であると判断された場合には、 ステ ップ S 5 5に進んで、 S C rが最近 R B U Fに書き込んだ S A R— P D Uの S C ( S C a c ) と連続しているか否かが判断される。 ステップ S 5 5で、 S C rが S C a c と連続していると判断された場合には、 ステ ップ S 5 6で、 S Tに記憶されている S AR_ P DUは破棄し、 今回受 信した S A R— P D Uを R B U Fに書き込む。 そして、 S C rを S C a cに設定して、 ステップ S 6 1 において、 S YNC状態に移行する。 ステップ S 5 5で、 S C rが S C a c と連続していないと判断された 場合には、 ステップ S 5 7に進み、 S C rが S C a c より " 2 " だけ大 きいか否かを判断する。 ステップ S 5 7の判断結果が "Y E S " の場合 には、 S Tに記憶されている S AR— P DUを RBU Fに書き込み、 次 に、 今回受信された S A R— P D Uを R B U Fに書き込んで、 S C rを S C a cに設定して、 ステップ S 6 1 において S Y N C状態に移行する。 ステップ S 5 7で、 判断結果が "NO" であった場合には、 ステップ S 5 9で、 S Tに記憶されている S AR— P DUを破棄し、 今回受信し た S AR— P DUを S Tに書き込む。 そして、 S C rを S C s tに設定 して、 ステップ S 6 0で、 O U T— O F— S Y N C状態に移行する。 図 1 7は、 本発明の一実施形態である A S N Aの通常時の動作状態を 示す図である。  If it is determined in step S52 that SC r is valid, the process proceeds to step S55 in which SC r is connected to the SC (SC ac) of the SAR—PDU that has recently written to RBUF. Is determined. If it is determined in step S55 that SCr is continuous with SCac, in step S56, the SAR_PDU stored in the ST is discarded and received this time. SAR — Write PDU to RBUF. Then, SCr is set to SAc, and in step S61, the state shifts to the SYNC state. If it is determined in step S55 that SCr is not continuous with SAc, the process proceeds to step S57 to determine whether SCr is larger than SAc by "2". If the decision result in the step S57 is "YES", the SAR-PDU stored in the ST is written to the RBU F, and the SAR-PDU received this time is written to the RBUF, and the SC r is set to SC ac, and in step S61, the state transits to the SYNC state. If the result of the determination is "NO" in step S57, the SAR-PDU stored in the ST is discarded in step S59, and the SAR-PDU received this time is discarded. Write to ST. Then, S Cr is set to S C st, and in step S 60, the state transits to the OUT—OF—SYNC state. FIG. 17 is a diagram showing an operating state of the ASA N according to an embodiment of the present invention in a normal state.
通常時とは、 S C CHKに S Cの連続した S A R— P D Uが順次入力 される場合である。 図 1 7の上段に示されているように、 S C力 S "2 " 、 " 3,, 、 " 4,' 、 " 5,, 、 " 6 " 、 " 7,, 、 " 0,, 、 " 1,, 、 " 2 " の S AR— P DUが、 上記の順序で S C CHKに入力されている。 この場 合、 図 1 7の下段に示されているように、 A S NAは、 S YNC状態に とどまつている。 また、 S Cの連続性に問題がないので、 S Tには何も 書き込まれていない。 また、 現在受信した S AR— P DUを書き込む C R B U Fにも何も書き込まれない。 そして、 RBU Fへは、 入力された S A R— P DUが直接書き込まれる。 すなわち、 S Cが " 2" から次の "2 " までの S A R— P DUが順次書き込まれている。 The normal state is when the SAR-PDU of the SC is successively input to the SC CHK. As shown in the upper part of FIG. 17, the SC force S “2”, “3 ,,”, “4, ′”, “5 ,,”, “6”, “7 ,,”, “0 ,,,” SAR-PDUs of 1, 2, and "2" are input to SC CHK in the above order. This place In this case, as shown in the lower part of FIG. 17, ASNA stays in the S YNC state. Also, there is no problem in SC continuity, so nothing is written in ST. Nothing is written to CRBUF, which writes the currently received SAR-PDU. Then, the input SAR-PDU is directly written to RBUF. That is, SAR-PDUs from SC "2" to the next "2" are sequentially written.
図 1 8は、 本発明の一実施形態である A S N Aのセル混入時の動作状 態を示す図である。  FIG. 18 is a diagram showing an operation state when cells of ASNS according to an embodiment of the present invention are mixed.
図 1 8の上段に記載されているように、 S C CHKには、 S Cカ "2" 、 "3 " 、 "4 " 、 "4 " (4 Nと表されている) 、 "5 " 、 As shown in the upper part of FIG. 18, the SCCHK includes SC cards “2”, “3”, “4”, “4” (denoted as 4N), “5”,
" 6 " の S AR— P DUが入力されている。 A S NAにおいては、 最初 S Y N C状態にあって S Cが 2〜4の S AR— P DUを RBUFに書き 込んでいるが、 混入セルを受信した時点で OUT— O F— S EQUE N C E状態に移行し、 S Tに混入セルが書き込まれる。 次に、 S Cが "5 " の S A R— P DUが入力されると、 S T内の混入セルを破棄して S Y N C状態に戻ると共に、 新たに受信した、 S C力 S "5 " の S AR— P DUを R BU Fに書き込む。 そして、 その後は、 通常時と同様に S C "6 " 以降の S A R— P D Uを R B U Fに書き込む。 図 1 8の場合に は、 C R B U Fは使用されない。 SAR-PDU of "6" is input. In the AS NA, the SC is initially in the SYNC state and the SC writes 2 to 4 SAR-P DUs to the RBUF, but upon receiving a mixed cell, it shifts to the OUT-OF-S EQUE NCE state, The mixed cell is written to ST. Next, when the SAR-P DU with SC of "5" is input, the mixed cells in the ST are discarded and the state returns to the SYNC state. Write DU to R BU F. After that, the SAR—PDU after the SC “6” is written to the RBUF as in the normal case. In the case of FIG. 18, CRBUF is not used.
図 1 9は、 本発明の一実施形態である A S N Aのセル脱落、 ダミーデ ータの挿入を行う場合の動作状態を示す図である。  FIG. 19 is a diagram showing an operation state in a case where a cell of the ASAN according to an embodiment of the present invention is dropped and dummy data is inserted.
図 1 9の上段に示されているように、 S C CHKには、 S C力 S "2" 力 ら "4" までの S AR— P DUが入力された後、 S C力 S " 5 " 力、ら "7 " の S AR— P DUが脱落して、 次に、 S C力 S " 0,, 力、ら " 2 " の S AR— P DUが入力されている。 このような場合においては、 A S NAは最初 S YNC状態にあり、 S Cカ "2" から "4 " までの S AR— P DUを通常時と同様に処理し、 R B U Fに書き込んでいるが、 次に、 S Cが "0" の S AR— P DUが 入力されると、 A S N Aの状態は OUT— O F— S E QU E NC E状態 に移行し、 S Tには今回受信した S Cが " 0 " の S A R— P DUが書き 込まれる。 次に、 S C力 S "1 " の S AR— P DUが入力されると、 S C 力 "0" 、 "1 " と連続するので、 脱落したと考えられるセルの数を算 出し、 その数のダミーデータを書き込んだ後、 S Tに書き込まれていた、 S C力 S "0 " の S A R— P DUが R B U Fに書き込まれる。 更に、 CR B U Fに書き込まれていた、 S C力 "1,, の3八1 ー? 0乙丫も 1 811? に書き込まれる。 そして、 A S NAの状態は S YNC状態に戻り、 通常 時と同様にして、 後に受信される、 S C力 S "2" の S AR— PDUを R B U Fに書き込む処理を行う。 As shown in the upper part of FIG. 19, the SC CHK receives the SAR—P DU from the SC force S “2” to “4” and then inputs the SC force S “5”, The SAR-PDU of "7" is dropped, and then the SAR-PDU of SC force S "0 ,," and "2" are input. In such a case, the AS NA is initially in the S YNC state and processes the S AR-P DUs from SC cards "2" to "4" in the same way as normal, and writes them to the RBUF. When the SAR—P DU with SC “0” is input, the state of ASNA shifts to OUT—OF—SE QU ENC E state, and the ST receives the SAR with SC “0” this time. — PDU is written. Next, when the S AR—P DU of the SC power S “1” is input, since the SC powers “0” and “1” continue, the number of cells considered to be dropped is calculated. After writing the dummy data, the SAR-P DU with SC power S "0" written to ST is written to RBUF. Furthermore, the SC force "1 ,,, 381-? 0 丫 which was written to the CR BUF is also written to 1 811. Then, the state of the ASNA returns to the SYNC state, and it is the same as the normal state. Then, the SAR-PDU with SC power S "2" received later is written into the RBUF.
図 2 0は、 本発明の一実施形態である A S NAの S Cに誤りがある場 合の動作状態を示す図である。  FIG. 20 is a diagram illustrating an operation state in a case where there is an error in the SC of the ASNA according to one embodiment of the present invention.
図 2 0の上段に示されているように、 この場合は、 S C力; "7" の S AR— P DUが 2つ続いて S C C HKに入力される場合を示している。 図 2 0では、 それぞれ、 " 7— 1 " 、 " 7— 2 " で、 S C力 S " 7 " の S AR— P DUの内最初に S C CHKに入力される S AR— P DUと、 後 に S C C HKに入力される S A R— P DUを示している。  As shown in the upper part of FIG. 20, this case shows a case where two S AR-P DUs of S C force; “7” are successively input to S C C HK. In FIG. 20, the SAR—PDU that is first input to SC CHK among the SAR—PDUs of SC force S “7” at “7-1” and “7—2”, respectively, Shows the SAR-P DU input to SCC HK.
A S NAは、 S C力 S "2" 力 ら "5 " までの S AR— P DUが入力さ れている間は、 S YNC状態にあり、 通常時と同じ動作で各 S AR— P DUを RBU Fに書き込んでいる。  The ASNA is in the S YNC state while the SAR—PDU from SC “2” to “5” is being input, and each SAR—PDU is operated in the same way as normal. Writing to RBU F.
S C力 S "5 " の S AR— P DUの次に、 S C力 S "7" の S AR— P D U ( "7— 1 " で表されている) が入力されると、 AS NAは OUT ― O F— S E QU E NC E状態に移行して、 今受信した " 7— 1 " の S A R— P D Uを S Tに書き込む。 そして、 次に、 S C力 S "7" の S AR— P DU ( "7 - 2 " で表されている) が入力されると、 最近 RBUFに 書き込んだ、 S C力 S "5 " の S A R— P DUの S Cと "7— 2" の S A R— P DUの S Cが 1つ飛びになっていることを検出して、 "7— 1 " の S A R— P D Uの S Cは本来 "6 " であったものが、 何らかの原因で " 7 " になったものである判断する。 そして、 "7— 2" の S AR— P DUを受信し、 上記判断を行った後、 S Tに記憶されている "7— 1 " の S AR— P DUを RBU Fに書き込み、 次に、 C RBU Fに書き込ま れている "7— 2" の S A R— P D Uを R B U Fに書き込んで、 S YN C状態に戻る。 When a S AR—P DU with SC power S “5” is input and then a S SAR—PDU (represented by “7-1”) with SC power S “7” is input, AS NA becomes OUT— Moves to the OF—SE QU E NCE state and writes the received SAR—PDU of “7-1” to the ST. Next, when the SAR—P DU (represented by “7-2”) of the SC force S “7” is input, the SAR of the SC force S “5” that was recently written to the RBUF— Detected that the SC of PDU and the SAR of "7-2" were skipped by one, and the SC of "7-1" SAR-PDU was originally "6". Judge that the thing is "7" for some reason. Then, after receiving the SAR-P DU of "7-2" and performing the above determination, the SAR-P DU of "7-1" stored in the ST is written to the RBU F. Write the SAR-PDU of "7-2" written in C RBU F to RBUF and return to SYNC state.
これ以降は、 通常時と同様にして、 S YNC状態において、 受信した S A R— P D Uを順次 RB U Fに書き込んでいく。  Thereafter, in the SYNC state, the received SAR-PDUs are sequentially written to the RBUF as in the normal state.
図 1 7〜図 2 0で明らかなように、 頻度的には最も高い S YN C状態 においては、 A S N Aは F S N Aと同等の性能を発揮し、 アルゴリズム による遅延の付加は発生しない。 また、 異常状態においては、 R S NA と同様に S Tを用いて次到着セルを待ってから R B U Fへの受入/破棄 を判断するため、 破棄すべきセルを破棄することができる。 他状態から S YN C状態に復帰するときには、 S Tの内容を RB U Fへ書き込むベ きであれば受信 P DUと一括して書き込むため、 この時の遅延性能も F S NAと同等である。  As is clear from FIGS. 17 to 20, in the SYNC state, which is the highest in frequency, ASNA exhibits the same performance as FSNA, and no delay is added by the algorithm. Also, in the abnormal state, the cell to be discarded can be discarded since the next arrival cell is waited for using ST as in R SNA before accepting / discarding to RBUF. When returning from the other state to the SYNC state, if the contents of ST should be written to RBUF, they are written together with the received PDU, so the delay performance at this time is equivalent to that of FSNA.
以上より、 A S NAは、 遅延性能に関しては、 AS NA= F S NA> R S NA, 破棄能力に関しては A S NA二 R S NA> F S NAであり、 総合的に R S NA、 F S NAより も能力が高いとレヽうことができる。 産業上の利用可能性 From the above, AS NA is AS NA = FS NA> RS NA in terms of delay performance, and AS NA is two RS NA> FS NA in terms of discarding ability, which indicates that the overall performance is higher than RS NA and FS NA. You can play. Industrial applicability
本発明は、 定速度で ATMネッ トワークから送信された ATMトラフ ィ ックを非 ATMトラフィ ックに変換して非 ATM端末に転送すること ができる。 従って、 ATMネッ トワークの導入時に ATMネッ トワーク と非 ATMネッ トワークが混在する状況に於いても、 ユーザへのサービ スの低下をもたらすことなく、 ATMネッ トワークのスムースな導入を 行うことができる。  According to the present invention, ATM traffic transmitted from an ATM network at a constant speed can be converted into non-ATM traffic and transferred to a non-ATM terminal. Therefore, even when the ATM network is introduced and the ATM network and the non-ATM network are mixed, it is possible to smoothly introduce the ATM network without lowering the service to the user.

Claims

請 求 の 範 囲 The scope of the claims
1. A TMネッ トワークから受信される ATMセルの連続性を検査し、 ATMセルに含まれるユーザデータを再生するための再組立バッファへ 該ユーザデータを受け入れるか破棄するかを判断する検査装置であって、 受信された ATMセルを記憶する一時記憶手段と、 1. A tester that checks the continuity of ATM cells received from the ATM network and determines whether to accept or discard the user data in a reassembly buffer for reproducing the user data contained in the ATM cell. A temporary storage means for storing the received ATM cells;
該一時記憶手段に書き込まれた ATMセルのシーケンス番号と、 最近 該再組立バッファに書き込んだ ATMセルのシーケンス番号とを記憶す るシーケンス番号記憶手段と、  Sequence number storage means for storing the sequence number of the ATM cell written in the temporary storage means and the sequence number of the ATM cell recently written in the reassembly buffer;
今回受信した ATMセルのシーケンス番号と最近該再組立バッファへ 受け入れた ATMセルのシーケンス番号とが連続性を持つときは、 今回 受信した ATMセルを直接再組立バッファへ書き込み、 該連続性が破ら れた場合は、 今回受信した ATMセルを該一時記憶手段に書き込み、 そ の次に受信した ATMセルのシーケンス番号を検査して、 該一時記憶手 段に記憶されている ATMセルを再組立バッファへ書き込むか、 破棄す るかを決定する制御手段と、  If the sequence number of the ATM cell received this time and the sequence number of the ATM cell recently received in the reassembly buffer have continuity, the ATM cell received this time is written directly to the reassembly buffer, and the continuity is broken. In this case, the ATM cell received this time is written in the temporary storage means, the sequence number of the next received ATM cell is checked, and the ATM cell stored in the temporary storage means is stored in the reassembly buffer. Control means for deciding whether to write or discard;
を備えることを特徴とする検査装置。  An inspection apparatus comprising:
2 - 前記受信された ATMセルのシーケンス番号が誤りを含んでいるか 否かを示す情報に基づいて該受信された ATMセルの有効/無効を決定 し、 前記再組立バッファへ書き込むか否かの判断要素とすることを特徴 とする請求の範囲第 1項に記載の検査装置。 2-Determine whether the received ATM cell is valid / invalid based on information indicating whether or not the sequence number of the received ATM cell contains an error, and determine whether or not to write to the reassembly buffer. The inspection device according to claim 1, wherein the inspection device is an element.
3. 前記制御手段は、 ATMセルの連続性が破られていた場合、 前記そ の次に受信した ATMセルのシーケンス番号と、 最近前記再組立バッフ ァへ書き込んだ ATMセルのシーケンス番号とに連続性が見いだされる と、 前記一時記憶手段に格納されている ATMセルは破棄すべきセルと 判断することを特徴とする請求の範囲第 1項に記載の検査装置。 3. The control means, if the continuity of the ATM cell is broken, the sequence number of the next received ATM cell and the latest reassembly buffer. The ATM cell stored in the temporary storage means is determined to be a cell to be discarded when continuity is found between the ATM cell and the sequence number of the ATM cell written to the ATM cell. Inspection equipment.
4. 前記制御手段は、 前記その次に受信した ATMセルのシーケンス番 号と、 最近前記再組立バッファへ書き込んだ ATMセルのシーケンス番 号とに連続性が見いだされない場合、 前記その次に受信した ATMセル の第 1のシーケンス番号と前記一時記憶手段に格納された ATMセルの 第 2のシーケンス番号とに連続性があれば、 最近前記再組立バッファへ 書き込んだ ATMセルと該一時記憶手段に格納されている ATMセルと の間で該第 1のシーケンス番号と該第 2のシーケンス番号との差に対応 するだけの ATMセル脱落が発生したと判断することを特徴とする請求 の範囲第 3項に記載の検査装置。 4. The control means, if no continuity is found between the sequence number of the next received ATM cell and the sequence number of the ATM cell recently written to the reassembly buffer, If there is continuity between the first sequence number of the ATM cell obtained and the second sequence number of the ATM cell stored in the temporary storage means, the ATM cell recently written to the reassembly buffer and the temporary storage means 3. The method according to claim 3, wherein it is determined that an ATM cell loss corresponding to a difference between the first sequence number and the second sequence number between the stored ATM cell and the ATM cell has occurred. The inspection device according to the item.
5. ダミ一データを生成するダミ一データ生成手段を更に備え、 脱落したと判断された ATMセルの数と同数のダミ一データを前記再 組立バッファに書き込むことを特徴とする請求の範囲第 4項に記載の検 5. The system according to claim 4, further comprising: dummy data generating means for generating dummy data, wherein the same number of dummy data as the number of ATM cells determined to have been dropped is written to said reassembly buffer. The inspection described in section
6. 前記制御手段は、 前記その次に受信した ATMセルのシーケンス番 号と、 前記一時記憶手段に記憶された ATMセルのシーケンス番号とに 連続性が見いだされない場合、 該その次に受信した ATMセルのシーケ ンス番号と、 最近前記再組立バッファへ書き込んだ ATMセルのシーケ ンス番号とに連続性があると見なされる場合、 前記一時記憶手段に格納 されている ATMセルは本来連続性を有する ATMセルであると判断す ることを特徴とする請求の範囲第 1項に記載の検査装置。 6. The control unit, if continuity is not found between the sequence number of the next received ATM cell and the sequence number of the ATM cell stored in the temporary storage unit, If it is considered that the sequence number of the ATM cell and the sequence number of the ATM cell recently written in the reassembly buffer have continuity, the ATM cell stored in the temporary storage means has inherent continuity. Judge as an ATM cell The inspection device according to claim 1, wherein
7. 前記定伝送速度の ATMネッ トワークのサービスは、 C B Rサ一ビ スであることを特徴とする請求の範囲第 1項に記載の検査装置。 7. The inspection apparatus according to claim 1, wherein the service of the constant transmission rate ATM network is a CBR service.
8. 前記 A TMネッ トワークのサ一ビスは、 S AR— P DUを用いた A A L 1 によって提供されるサービスであることを特徴とする請求の範囲 第 7項に記載の検査装置。 8. The inspection apparatus according to claim 7, wherein the service of the ATM network is a service provided by AAL1 using SAR-PDU.
9. 前記その次に受信した ATMセル、 前記一時記憶手段に格納されて いる ATMセル、 及び前記ダミ一データ生成手段で生成されるダミーデ —タのいずれかを選択する選択手段を備え、 9. selecting means for selecting one of the ATM cell received next to the ATM cell, the ATM cell stored in the temporary storage means, and the dummy data generated by the dummy data generating means;
該選択手段の出力を切り替えることにより、 前記再組立バッファへの 書き込み、 あるいは、 破棄を行うことを特徴とする請求の範囲第 5項に 記載の検查装置。  6. The inspection apparatus according to claim 5, wherein writing to the reassembly buffer or discarding is performed by switching an output of the selection unit.
1 0. 前記選択手段は、 前記その次に受信された ATMセルと、 前記一 時記憶手段に格納されている ATMセルと、 必要とされる数のダミーデ ータとを順次切り替えて前記再組立バッファへ書き込むことを特徴とす る請求の範囲第 9項に記載の検査装置。 10. The selecting means sequentially switches between the next received ATM cell, the ATM cell stored in the temporary storage means, and the required number of dummy data, and performs the reassembly. 10. The inspection device according to claim 9, wherein writing is performed to a buffer.
1 1. 前記その次に受信した ATMセルを記憶する現セル記憶手段を更 に備え、 1 1. further comprising a current cell storage means for storing the next received ATM cell;
前記一時記憶手段に記憶されている ATMセルと、 前記ダミーデータ 生成手段によって生成されるダミーデータと、 該その次に受信した AT Mセルをいずれも前記再組立バッファへ書き込む際に、 該現セル記憶手 段に記憶された ATMセルを前記再組立バッファに書き込むタイミング を調整することを特徴とする請求の範囲第 9項に記載の検査装置。 ATM cells stored in the temporary storage means, dummy data generated by the dummy data generation means, and the next received AT 10. The writing method according to claim 9, wherein when writing all the M cells to the reassembly buffer, the timing of writing the ATM cells stored in the current cell storage means to the reassembly buffer is adjusted. Inspection equipment.
1 2. ATMネッ トワークから受信される ATMセルの連続性を検査し、 ATMセルに含まれるユーザデータを再生するための再組立バッファへ 該ユーザデータを受け入れるか破棄するかを判断する検査方法であって、1 2. A test method that checks the continuity of ATM cells received from the ATM network and determines whether to accept or discard the user data in the reassembly buffer for reproducing the user data contained in the ATM cell. So,
( a ) 受信された ATMセルを記憶するステップと、 (a) storing the received ATM cells;
( b ) 該ステップ ( a ) で記憶された ATMセルのシーケンス番号と、 最近該再組立バッファに書き込んだ ATMセルのシーケンス番号とを記 憶するステップと、  (b) storing the sequence number of the ATM cell stored in step (a) and the sequence number of the ATM cell recently written in the reassembly buffer;
( c ) 今回受信した ATMセルのシーケンス番号と最近該再組立バッ ファへ受け入れた ATMセルのシーケンス番号とが連続性を持つときは、 今回受信した ATMセルを直接再組立バッファへ書き込み、 該連続性が 破られた場合は、 今回受信した ATMセルを該ステップ ( a ) で記憶し、 その次に受信した ATMセルのシーケンス番号を検査して、 該ステップ ( a ) で記憶された ATMセルを再組立バッファへ書き込むか、 破棄す るかを決定するステップと、  (c) If the sequence number of the ATM cell received this time and the sequence number of the ATM cell recently received by the reassembly buffer have continuity, write the ATM cell received this time directly into the reassembly buffer, and If the cell is violated, the currently received ATM cell is stored in step (a), the sequence number of the next received ATM cell is checked, and the ATM cell stored in step (a) is stored. Deciding whether to write or discard the reassembly buffer;
を備えることを特徴とする検査方法。  An inspection method, comprising:
1 3. 前記受信された ATMセルのシーケンス番号が誤りを含んでいる か否かを示す情報に基づいて該受信された ATMセルの有効/無効を決 定し、 前記再組立バッファへ書き込むか否かの判断要素とすることを特 徴とする請求の範囲第 1 2項に記載の検査方法。 1 3. Determine whether the received ATM cell is valid / invalid based on information indicating whether or not the sequence number of the received ATM cell contains an error, and determine whether or not to write to the reassembly buffer. The inspection method according to claim 12, characterized in that the inspection method is used as a judgment factor.
1 4. 前記ステップ ( c ) において、 ATMセルの連続性が破られてい た場合、 前記その次に受信した ATMセルのシーケンス番号と、 最近前 記再組立バッファへ書き込んだ ATMセルのシーケンス番号とに連続性 が見いだされると、 前記ステップ ( a ) で記憶された ATMセルは破棄 すべきセルと判断することを特徴とする請求の範囲第 1 2項に記載の検 查方法。 1 4. If the continuity of the ATM cell is broken in step (c), the sequence number of the next received ATM cell and the sequence number of the ATM cell recently written in the reassembly buffer are used. 13. The detection method according to claim 12, wherein when continuity is found in the cell, the ATM cell stored in the step (a) is determined to be a cell to be discarded.
1 5. 前記ステップ ( c ) において、 前記その次に受信した ATMセル のシーケンス番号と、 最近前記再組立バッファへ書き込んだ ATMセル のシーケンス番号とに連続性が見いだされない場合、 前記その次に受信 した ATMセルの第 1のシーケンス番号と前記ステップ ( a ) で記憶さ れた ATMセルの第 2のシーケンス番号とに連続性があれば、 最近前記 再組立バッファへ書き込んだ ATMセルと該ステップ ( a ) で記憶され た A T Mセルとの間で該第 1のシーケンス番号と該第 2のシーケンス番 号との差に対応するだけの ATMセル脱落が発生したと判断することを 特徴とする請求の範囲第 1 4項に記載の検査方法。 1 5. In the step (c), if no continuity is found between the sequence number of the ATM cell received next and the sequence number of the ATM cell recently written in the reassembly buffer, If there is continuity between the first sequence number of the received ATM cell and the second sequence number of the ATM cell stored in the step (a), the ATM cell which has been recently written to the reassembly buffer and the step And determining that an ATM cell loss corresponding to the difference between the first sequence number and the second sequence number has occurred between the ATM cell and the ATM cell stored in (a). Inspection method according to item 14 of the scope.
1 6. ダミーデータを生成するステップを更に備え、 1 6. The method further comprises the step of generating dummy data,
脱落したと判断された ATMセルの数と同数のダミ一データを前記再 組立バッファに書き込むことを特徴とする請求の範囲第 1 5項に記載の 検査方法。  16. The inspection method according to claim 15, wherein the same number of dummy data as the number of ATM cells determined to be dropped are written to the reassembly buffer.
1 7. 前記ステップ ( c ) において、 前記その次に受信した ATMセル のシーケンス番号と、 前記ステップ ( a ) で記憶された ATMセルのシ —ケンス番号とに連続性が見いだされない場合、 該その次に受信した A TMセルのシーケンス番号と、 最近前記再組立バッファへ書き込んだ A TMセルのシーケンス番号とに連続性があると見なされる場合、 前記ス テツプ ( a ) で記憶された ATMセルは本来連続性を有する ATMセル であると判断することを特徴とする請求の範囲第 1 2項に記載の検査方 法。 1 7. In the above step (c), if continuity is not found between the sequence number of the next received ATM cell and the sequence number of the ATM cell stored in step (a), A received next If it is considered that the sequence number of the TM cell and the sequence number of the ATM cell recently written in the reassembly buffer have continuity, the ATM cell stored in step (a) has continuity by nature. The inspection method according to claim 12, wherein the inspection method is determined to be an ATM cell.
1 8. 前記定伝送速度の ATMネッ トワークのサービスは、 C B Rサー ビスであることを特徴とする請求の範囲第 1 2項に記載の検査方法。 18. The inspection method according to claim 12, wherein the service of the ATM network having the constant transmission rate is a CBR service.
1 9. 前記 ATMネッ トワークのサービスは、 S AR— P DUを用いた AA L 1 によって提供されるサービスであることを特徴とする請求の範 囲第 1 8項に記載の検査方法。 19. The inspection method according to claim 18, wherein the service of the ATM network is a service provided by AAL1 using SAR-PDU.
2 0. 前記その次に受信した ATMセル、 前記ステップ ( a ) で記憶さ れた ATMセル、 及び前記ダミ一データ生成ステップで生成されるダミ 一データのいずれかを選択するステップを備え、 20. A step of selecting any of the next received ATM cell, the ATM cell stored in the step (a), and the dummy data generated in the dummy data generation step.
該選択ステップの出力を切り替えることにより、 前記再組立バッファ への書き込み、 あるいは、 破棄を行うことを特徴とする請求の範囲第 1 6項に記載の検査方法。  17. The inspection method according to claim 16, wherein writing to the reassembly buffer or discarding is performed by switching an output of the selection step.
2 1. 前記選択ステップは、 前記その次に受信された ATMセルと、 前 記ステップ ( a ) で記憶された ATMセルと、 必要とされる数のダミー データとを順次切り替えて前記再組立バッファへ書き込むことを特徴と する請求の範囲第 2 0項に記載の検査方法。 2 1. The selecting step sequentially switches between the next received ATM cell, the ATM cell stored in step (a), and the required number of dummy data to switch the reassembly buffer. 20. The inspection method according to claim 20, wherein the information is written in a file.
2 2. ( d ) 前記その次に受信した ATMセルを記憶するステップを更 に備え、 2 2. (d) storing the next received ATM cell,
前記ステップ ( a ) で記憶された ATMセルと、 前記ダミーデータ生 成ステップによって生成されるダミ一データと、 該その次に受信した A δ ΤΜセルをいずれも前記再組立バッファへ書き込む際に、 該ステップ ( d ) で記憶された ATMセルを前記再組立バッファに書き込むタイ ミ ングを調整することを特徴とする請求の範囲第 2 0項に記載の検査方法 ( When writing the ATM cell stored in the step (a), the dummy data generated in the dummy data generating step, and the next received AδΤΜ cell to the reassembly buffer, inspection method according to the second 0 term claims, characterized in that adjusting the tie Mi ing to write ATM cells stored in said step (d) in the reassembly buffer (
PCT/JP1999/000096 1999-01-14 1999-01-14 Apparatus and method for continuously checking atm cell WO2000042738A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP1999/000096 WO2000042738A1 (en) 1999-01-14 1999-01-14 Apparatus and method for continuously checking atm cell

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP1999/000096 WO2000042738A1 (en) 1999-01-14 1999-01-14 Apparatus and method for continuously checking atm cell

Publications (1)

Publication Number Publication Date
WO2000042738A1 true WO2000042738A1 (en) 2000-07-20

Family

ID=14234714

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1999/000096 WO2000042738A1 (en) 1999-01-14 1999-01-14 Apparatus and method for continuously checking atm cell

Country Status (1)

Country Link
WO (1) WO2000042738A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100364520B1 (en) * 2000-04-28 2002-12-16 주식회사 글로트렉스 Method of Processing a AAL1 PDU in a Asynchronous Transfer Mode Network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0537549A (en) * 1991-08-02 1993-02-12 Nippon Telegr & Teleph Corp <Ntt> Cell abort mis-distribution detection and dummy cell insertion mis-distribution cell elimination system
JPH05136817A (en) * 1991-04-22 1993-06-01 Matsushita Electric Ind Co Ltd Method and device for managing sequence number
JPH05336146A (en) * 1992-06-04 1993-12-17 Matsushita Electric Ind Co Ltd Cell abort mis-delivery detector
JPH07107090A (en) * 1993-09-29 1995-04-21 Toshiba Corp Cell disassembling system used for fixed bit rate communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05136817A (en) * 1991-04-22 1993-06-01 Matsushita Electric Ind Co Ltd Method and device for managing sequence number
JPH0537549A (en) * 1991-08-02 1993-02-12 Nippon Telegr & Teleph Corp <Ntt> Cell abort mis-distribution detection and dummy cell insertion mis-distribution cell elimination system
JPH05336146A (en) * 1992-06-04 1993-12-17 Matsushita Electric Ind Co Ltd Cell abort mis-delivery detector
JPH07107090A (en) * 1993-09-29 1995-04-21 Toshiba Corp Cell disassembling system used for fixed bit rate communication

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100364520B1 (en) * 2000-04-28 2002-12-16 주식회사 글로트렉스 Method of Processing a AAL1 PDU in a Asynchronous Transfer Mode Network

Similar Documents

Publication Publication Date Title
US6633564B1 (en) Method and apparatus for inserting packets into a data stream
EP0112336B1 (en) An interface facility for a packet switching system
JPH0983541A (en) Error processing method/device
US6711167B1 (en) ATM communication apparatus controlling method, ATM communication apparatus and recording medium therefor
JPH0846644A (en) Packet exchange system
JPH08204712A (en) Data length correction system
JPH09162877A (en) Buffer control system
JP2836606B2 (en) ATM cell transfer device
WO2000021247A1 (en) Packet buffer device
US5896386A (en) Queue management method for wireless asynchronous transfer mode network interface card
JP2778373B2 (en) Buffer device with retransmission function
WO2000042738A1 (en) Apparatus and method for continuously checking atm cell
JP3753100B2 (en) System switching system and system switching method
JPH1065713A (en) Method for detecting atm system cell
JPH07264207A (en) Data terminal equipment connection method to atm exchange network
KR100221188B1 (en) Traffic controlling method for atm network
JP2838674B2 (en) Confirmation frame transfer method in FC / ATM network converter
KR100512360B1 (en) Apparatus and method message conversion between each other mobile communication systems
KR100271521B1 (en) Aal1 receiving apparatus for cbr
JPH08116326A (en) Cell assembling device for asynchronous transfer mode communication system
JP2848350B2 (en) ATM communication system
JPH07131461A (en) Header control system for atm communication
Esaki et al. Draft Proposal for Specification of FEC-SSCS for AAL Type 5
KR0129177B1 (en) A circuit for deleting data from send buffer of sscop sublayer
KR0133803B1 (en) A circuit inserting data into send buffer of sscop sublayer

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): CN JP US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): DE FR GB

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP

Ref document number: 2000594224

Format of ref document f/p: F