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

📄 draft-ietf-sigtran-m2pa-02.txt

📁 No7信令,我需要交换类似的代码, 请店长审核,谢谢了,急着交换,谢谢
💻 TXT
📖 第 1 页 / 共 5 页
字号:
George, et al                                                [Page 14]Internet Draft  SS7 MTP2-User Peer-to-Peer Adaptation Layer   Mar 2001   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                                 ...   |                     Common Message Header                     |                                 ...   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                                 ...   |                         Message Data                          |                                 ...   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+2.2.1 User Data The User Data is the data sent from the MTP3 in the form of thecontiguous LI, SIO, and SIF octets of the MSU ([2] Q.703, section 2.2Signal Unit Format). The LI octet includes the two undefined bitsbetween the SIO and LI fields.The format for the User Data message is as follows:    0                   1                   2                   3    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                                 ...   |                            Data                               |                                 ...   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+No padding is added to the MTP3 message.Note that the Data field contains only the LI, SIF, and SIOoctets. The other components of the MTP2 MSU format (the Flag, BSN,BIB, FSN, FIB, CK) are not included in M2PA.It is not necessary to put the message length in the LI octet as inMTP2. The LI octet is included because the two spare bits in the LIoctet are used by MTP3 in a national version of SS7 as a Priorityfield. See [9], section 14 "Common Characteristics of message signalunit formats", section 14.2 (A) Priority Indicator (PRI). Thereforethe format of the LI octet is:    0                   0 1 2 3 4 5 6 7    +-+-+-+-+-+-+-+-+   |   spare   |PRI| (followed by SIO, SIF)    +-+-+-+-+-+-+-+-+   PRI - Priority used only in national MTP defined in [9].         Spare for other MTP versions.George, et al                                                [Page 15]Internet Draft  SS7 MTP2-User Peer-to-Peer Adaptation Layer   Mar 2001Since the LI octet is not used for a message length, there is no needto support the expanded LI field in [2], Q.703 Annex A. Therefore theLI field in M2PA is always one octet.2.2.2  Link StatusThe MTP2 Link Status message can be sent between M2PA peers toindicate link status. This message performs a function similar to thethe Link Status Signal Unit in MTP2.    0                   1                   2                   3    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   |                            State                              |   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+The valid values for State are shown in the following table.     Value  Description     1     In Service     2     Processor Outage     3     Processor Outage Ended     4     Busy     5     Busy Ended3.  M2PA Link StatesThe M2PA link moves from one state to another in response to variousevents.  The events that may result in a change of state include:   - MTP3 primitive requests   - SCTP notifications   - Receipt of Status messages from the peer M2PA   - Expiration of certain timersFigure 6 illustrates state changes together with the causing events.Note that some of the error conditions are not shown in the statediagram.Following is a list of the M2PA Link States and a description of each.IDLE - State of link during power-up initialization.OOS - Out Of Service. Power-up initialization is complete. George, et al                                                [Page 16]Internet Draft  SS7 MTP2-User Peer-to-Peer Adaptation Layer   Mar 2001AIP - Alignment In Progress. M2PA is attempting to establish SCTPassociation.INS-LOCAL - In Service Local. Association is established. M2PA iswaiting for peer to verify that it is In Service.INS - In Service. Link is ready for traffic.RETRIEVAL - Link no longer carries traffic. M2PA is waiting forrequest for message retrieval from MTP3.George, et al                                                [Page 17]Internet Draft  SS7 MTP2-User Peer-to-Peer Adaptation Layer   Mar 2001                           +-----------+                           |   IDLE    |                           +-----------+                                 |                                 | Power On                                 |                                 V                           +-----------+                  +------->|    OOS    |<---------------------+                  ^        +-----------+                      |                  |             | |                           |                  |  Server AND | | Client AND                |                  |  MTP3 Start | | MTP3 Start                |                  |             | |                           |                  |             V V                           |                  |        +-----------+                      |                  |        |    AIP    |--------------------->+                  |        +-----------+  MTP3 Stop           |		  |		 |	  OR SCTP Comm Error  |		  |		 |	  OR SCTP Comm Lost   |                  |              |                            |                  |              | SCTP Comm Up	              | 		                       |              |                            |                                |              V                            |                                |        +-----------+	              |		                       |        | INS-LOCAL |--------------------->+			                       |        +-----------+  MTP3 Stop         	                  |              |        OR SCTP Comm Error                   |              |        OR SCTP Comm Lost                    |              |        OR T1 Expiry       		  |   		 |                  |              | Link Status		                       |              | In Service received	                       |              |                                                  |              V                                                  |        +-----------+			                       |        |    INS    |			                       |        +-----------+			                       |              |                                       Retrieval  |              | MTP3 Stop                             Complete   |              | OR SCTP Comm Error           OR         |              | OR SCTP Comm Lost            MTP3 Start |              | OR T6 Expiry                         |              |                                                  |              V                                                  |        +-----------+                                            +<-------| RETRIEVAL |                           +-----------+                Figure 6: M2PA Link State Transition Diagram.George, et al                                                [Page 18]Internet Draft  SS7 MTP2-User Peer-to-Peer Adaptation Layer   Mar 20014.  Procedures4.1 Procedures to Support MTP2 Features4.1.1 Signal Unit Format, Delimitation, AcceptanceMessages for transmission across the network must follow the formatdescribed in section 2.SCTP provides reliable, in-sequence delivery. Therefore the relatedfunctionality of MTP2 is not needed. SCTP does not provide functionsrelated to Link State Control in MTP2. These functions must beprovided by M2PA.4.1.2 Link AlignmentLink alignment includes the establishment of an SCTP association and ahandshaking procedure between the M2PA peers to verify that theassociation is ready to be used as a link.To prevent duplicate associations from being established, it must bedecided in advance which endpoint initiates the establishment of theassociation. In a pair of endpoints, the endpoint that initiates theestablishment of the association is called the client. The otherendpoint is the server. An endpoint may be a client in itsrelationship with one endpoint, and a server in its relationship withanother endpoint. The designations of client and server are neededonly to decide which endpoint initiates the establishment of theassociation. After that, the endpoints function as peers.The client initiates the association using the server's IP address andthe M2PA well-known port number as the destination endpoint. In orderto allow for multiple links between the two endpoints, the client usesa different local port number for each link. It must be decided inadvance which local ports are used by the client. Each of these clientports must be known to the server. Each combination of client IP address/port and server IP address/port(i.e., each association) must be mapped to the same Signaling LinkCode (SLC) in the client and server, so that each endpoint knows whichlink is being created at the time the SCTP association isestablished. However, M2PA does not do any processing based on theSLC.Following are examples of the relationships between associations andlinks. Note that a link is an SCTP association identified by twoendpoints, in this case a client and server. Each endpoint isidentified by an IP address and port number. Each association ismapped to an SLC. George, et al                                                [Page 19]Internet Draft  SS7 MTP2-User Peer-to-Peer Adaptation Layer   Mar 2001Figure 7 shows a case with two IPSPs, each with two IP addresses. Twoassociations are the links that connect the two IPSPs. Since theselinks are in the same link set, they must have different SLCs.Table 1 shows the relationships in tabular form. Table 1 is onlyconceptual. The actual method for mapping the SCTP associations to theSLCs is implementation dependent.                IPSP X                        IPSP Y            +-------------+               +-------------+            |             |	SCTP      |             |            |         IPA | association 1 | IPB         |            |   port = PW +---------------+ port = PW   |            |     SLC = a |	          | SLC = a     |            |      Client |	          | Server      |            |             |	          |             |            |             |	SCTP      |             |            |         IPC | association 2 | IPD         |            |   port = PW +---------------+ port = PW   |            |     SLC = b |	          | SLC = b     |            |      Client |	          | Server      |            |             |	          |             |            +-------------+               +-------------+      IPx    = IP address      PW     = Well-known port number for M2PA                Figure 7: Associations and Links -                  Two IPSPs with Two Endpoints Each     +-------------+---------------------------------------+-----+     | Association |      Client       |      Server       | SLC |     |             +------------+------+------------+------+     |     |             | IP address | Port | IP address | Port |     |     +=============+============+======+============+======+=====+     |      1      |    IPA     |  PW  |    IPB     |  PW  |  a  |     +-------------+------------+------+------------+------+-----+     |      2      |    IPC     |  PW  |    IPD     |  PW  |  b  |     +-------------+------------+------+------------+------+-----+                Table 1: Associations and SLCs -                  Two IPSPs with Two Endpoints EachGeorge, et al                                                [Page 20]Internet Draft  SS7 MTP2-User Peer-to-Peer Adaptation Layer   Mar 2001Figure 8 and Table 2 show an example with three IPSPs. Note that inthis example, the two links are in different link sets. Therefore, itis possible that the values a and b may be equal.                IPSP X                        IPSP Y            +-------------+               +-------------+            |             |	SCTP      |             |            |         IPA | association 1 | IPB         |            |   port = PW +---------------+ port = PW   |            |     SLC = a |	          | SLC = a     |            |      Client |	          | Server      |            |             |	          |             |            |             |	SCTP      |             |            |         IPC | association 2 |             |            |   port = PW +-------+       |             |            |     SLC = b |	  |       |             |            |      Client |	  |       |             |            |             |	  |       |             |            +-------------+       |       +-------------+				  |				  |                		  |           IPSP Z				  |                                  |       +-------------+                                  |       |             |                                  |       | IPD         |                                  +-------+ port = PW   |                                          | SLC = b     |                                          | Server      |                                          |             |                                          |             |                                          |             |                                          |             |                                          |             |                                          |             |                                          |             |                                          +-------------+      IPx    = IP address      PW     = Well-known port number for M2PA                Figure 8: Associations and Links -                  One IPSP Connected to Two IPSPsGeorge, et al                                                [Page 21]Internet Draft  SS7 MTP2-User Peer-to-Peer Adaptation Layer   Mar 2001     +-------------+---------------------------------------+-----+     | Association |      Client       |      Server       | SLC |     |             +------------+------+------------+------+     |     |             | IP address | Port | IP address | Port |     |     +=============+============+======+============+======+=====+     |      1      |    IPA     |  PW  |    IPB     |  PW  |  a  |     +-------------+------------+------+------------+------+-----+     |      2      |    IPC     |  PW  |    IPD     |  PW  |  b  |     +-------------+------------+------+------------+------+-----+                Table 2: Associations and SLCs -                  One IPSP Connected to Two IPSPs

⌨️ 快捷键说明

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