⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc892.txt

📁 RFC 相关的技术文档
💻 TXT
📖 第 1 页 / 共 5 页
字号:
        This function is inherent.        In the 'implicit' variant, either transport entity disconnectsa transport connection by disconnecting the network connection towhich it is assigned.  Similarly when a transport entity is informedthat the network connection has been disconnected by the peertransport entity, this should be considered as a transportdisconnect.ISO Transport Protocol Specification                                   Page 22International Standards Organization        In the 'explicit' variant, either transport entity transmits aDisconnect Request (DR) TPDU, and the other responds with a DisconnectConfirm (DC) TPDU.  When the DC TPDU is sent or received by atransport entity, that entity should consider the transport connectionnot to exist (note 1).  After the sending of a DR TPDU, other TPDUsreceived before the DC TPDU are ignored.  It is possible that adisconnect collision will occur, when both transport entities send aDR TPDU at about the same time.  This results in each transport entityreceiving a DR, after sending one.  Each transport entity shallconsider the received DR TPDU as a confirmation of its DR TPDU, andshall not send or expect to receive a DC TPDU.        The DR can convey a limited amount (up to 64 octets) of data.6.8     Implicit Termination        Purpose:  Termination of a Transport Connection on theoccurrence of a signalled error for which recovery functions are notoperative.        Network Service Primitives:        N-DISCONNECT Indication        N-RESET Indication        Description:        When, on the network connection to which a TransportConnection is assigned, an N-DISCONNECT or N-RESET Indication occurs,both transport entities shall consider that the transport connectionno longer exists, and so inform the session entities.Note 1:        When a connection has been released, after the exchange of DRand DC, the reference can be re-used immediately (except in Class 4,where the Frozen Reference function is used, see Section 6.19).  Thisis because the releasing transport entity does not know with certaintythat the remote transport entity considers use of the reference to beended.  Therefore, the reference should not be re-used for furtherconnections.  (In practice, the reference may be re-used after areasonable period when it is possible to be reasonably certain thatthe remote transport entity will not continue to use it).6.9     Spurious Disconnect        Purpose:  To deal with the arrival of an "unknown" DR TPDU.        TPDUs and fields used:ISO Transport Protocol Specification                                   Page 23International Standards Organization        DR, DC        - source reference        - destination reference        Description:        A DR TPDU can be received for a transport connection whichdoes not exist.  Rather than treating this as an error, a DC TPDUshould be send back which reflects the references of the DR TPDU.Note:        This only applies when one or more transport connections usinga multiplexing class exist over the network connection, or when notransport connections exist.  At other times it is a protocol error.6.10    Data TPDU Numbering        Variants:  'normal' or 'extended'        Purpose:   Numbering of DT TPDUs for use in recovery,                    flow control, or sequencing functions.        TPDUs and Fields Used:        DT        - TPDU-NR (7 or 31 bits)        Description:        DT TPDUs transmitted in each direction on a transport connection bear a sequence number 'TPDU-NR'.  Its value in the firstDT TPDU in each direction after connection establishment will be zero.Thereafter each TPDU had 'TPDU-NR' one greater than the previous.  Modulo 2**7 arithmetic is used in the 'normal' variant, and modulo 2**31in the 'extended' variant.        In the sections that follow, the relationships 'greater than'and 'less than' are used in connection with TPDU numbers.  In all such uses, the numbers being compared cover a range less than the modulus and in fact lie within a contiguous set of TPDU numbers calleda 'window'.  The window has a known starting TPDU number and finishing number.  The term 'less than' means 'occurring sooner in the windowsequence' and the term 'greater than' means 'occurring later in thewindow sequence'.6.11    Expedited Data Transfer        Variants:  'network expedited' or not        Purpose:  Provision of the expedited data serviceISO Transport Protocol Specification                                   Page 24International Standards Organization        Network Service Primitives:        N-DATA        N-EXPEDITED DATA        TPDUs and Fields Used:        ED        - ED TPDU-NR (7 or 31 bits)        EA        - YR-TU-NR (7 or 31 bits)        Description:        Each expedited TSDU is conveyed as the data field of an ExpeditedData (ED) TPDU.          Each ED TPDU received must be acknowledged by an ExpeditedAcknowledge (EA) TPDU.          There may only be one ED TPDU unacknowledged at any time for eachdirection of a transport connection.          In the 'network expedited' variant (available in class 1 only),ED and EA TPDUs are conveyed in the data fields of N-EXPEDITED DATAprimitives.  Otherwise, N-DATA is used.  6.12    Reassignment        Purpose:  Assignment of a Transport Connection to a differentNetwork Connection.        TPDUs and Fields Used:        CR        - source reference        RJ, DR        - destination reference        Description:        When the Network Connection to which a Transport Connection wasassigned no longer exists, the Transport Connection can be assigned toanother Network Connection.          When one transport entity has assigned the Transport Connection,it is important that the other transport entity recognise to which Network Connection it has been assigned.  This can only take place when itISO Transport Protocol Specification                                   Page 25International Standards Organizationhas received a TPDU for the Transport Connection on a Network Connectionwith calling and called network addresses which imply the same transport entities as the old.  The TPDU will have been sent as a result of the assigning transport entity commencing resynchronization,and will thus be a RJ, or a retransmitted CR or DR.          The Transport Connection shall be recognised as having beenassigned to the Network Connection on which the TPDU was received.  6.13    Reassignment After Failure        Purpose:  Recovery from network provider initiated disconnect.        Network Service Primitives:        N-DISCONNECT Indication         Description:        When a N-DISCONNECT Indication arrives for the network connectionto which a transport connection is assigned, the transport connection must be reassigned by its initiator (see "Reassignment")        If the reassignment has not successfully occurred within a timeof T-wait seconds, then the transport connection must be considered asnon-existent by both transport entities.1        1.      The CR TPDU does not have a destination reference;                nevertheless it can be distinguished from a new                connection attempt by having the same source                 reference.          NOTE:  The value of T-wait has to be agreed by the communicatingtransport entities.  6.14    Retention Until Acknowledgement of TPDUs        Variants:  'confirmation of receipt' or 'AK'        Purpose:  To enable and minimize retransmission afterpossible loss of TPDUs.        Network Service Primitives:        N-DATA        N-DATA ACKNOWLEDGE        TPDUs and Fields Used:        CR, CC, DR, DCISO Transport Protocol Specification                                   Page 26International Standards Organization        RJ, AK, EA        - YR-TU-NR (7 or 31 bits)        DT        - TPDU-NR (7 or 31 bits)        ED        - ED TPDU-NR (7 or 31 bits)        Description:          Copies of the following TPDUs shall be retained upon transmissionto permit their later retransmission:                CR, CC, DR, DT, ED.        NOTE:  If DR is sent in response to CR there is no need to retain a copy of the DR.        In the 'confirmation of receipt' variant, applicable only in Class 1, transport entities receiving N-DATA Indications whichconvey DT TPDUs and have the confirmation request field set shallissue a N-DATA Acknowledge Request at the earliest possibleopportunity (1).          (1)     It is a local matter for each transport entity to                 decide which N-DATA Requests should have the                 confirmation request parameter set.  This decision                will normally be related to the amount of storage                 available for retained copies of the DT TPDUs.                  Use of the confirmation request parameter may                affect the quality of network service.          After each TPDU is acknowledged, as shown in Figure 5,the copy need not be retained.  Copies may also be discarded whenthe transport connection ceases to exist.          TPDU                            ACKNOWLEDGED BY        CR              receipt of CC, DR, or ERR, TPDU        DR              receipt of DC or DR (in case of collision)                        TPDU        CC              receipt of RJ, DT, AK, ED, EA TPDUs (or                         N-DATA ACKNOWLEDGE Indication.)        DT              N-DATA ACKNOWLEDGE Indication when the         (Note 1)        DT TPDU was sent before or with the oldest                        N-DATA which had the confirmation requestISO Transport Protocol Specification                                   Page 27International Standards Organization                        field set.          DT              receipt of Data Acknowledge (AK) or        (Note 2)        Reject (RJ) TPDU for which 'YR-TU-NR'                        is greater than 'TPDU-NR' in the DT TPDU.        ED              receipt of EA TPDU for which 'YR-TU-NR'                         is equal to 'ED-TPDU-NR' in the ED TPDU.        Notes:          1.      Applies to 'confirmation of receipt' variant.        2.      Applies to 'AK' variant.                  Figure 5.  Acknowledgement of TPDUs6.15    Resynchronization        Purpose:  To restore the connection to normal after an error.          Network Service Primitives:        N-RESET Indication        TPDUs and Fields Used:        CR, DR, CC, DC        RJ, EA        - YR-TU-NR (7 or 31 bits)        DT                              - TPDU-NR (7 or 31 bits)        ED        - ED TPDU-NR (7 or 31 bits)        Description:        After the reset of an underlying network connection,the resynchronization procedures below are carried out by bothtransport entities.          After a network connection failure, the reassignment afterfailure function is invoked and then the resynchronization function.  The sequence of events at the two transport entities is the following:        Events at the transport entity initiating reassignment:        (the transport entity immediately commences resynchronization         by sending a TPDU)ISO Transport Protocol Specification                                   Page 28International Standards Organization        o       if a CR is retained then retransmit it.        o       if a DR is retained then retransmit it.        o       otherwise, resynchronize data:                -       send RJ TPDU with 'YR-TU-NR' field set to                        the 'TPDU-NR' of the first unreceived DT                        TPDU                -       when RJ TPDU has been received retransmit any                        ED TPDUs then DT TPDUs which are unacknowledged                -       any ED TPDUs received which are duplicates shall                        be acknowledged (by EA TPDUs) and discarded.          Events at the other transport entity:        The transport entity shall not send any TPDUs until after 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -