WO2008031291A1 - Procédé de récupération de synchronisation de numéros de séquence de couche d'adaptation pair à pair à deux couches de transport de signalisation - Google Patents

Procédé de récupération de synchronisation de numéros de séquence de couche d'adaptation pair à pair à deux couches de transport de signalisation Download PDF

Info

Publication number
WO2008031291A1
WO2008031291A1 PCT/CN2006/003230 CN2006003230W WO2008031291A1 WO 2008031291 A1 WO2008031291 A1 WO 2008031291A1 CN 2006003230 W CN2006003230 W CN 2006003230W WO 2008031291 A1 WO2008031291 A1 WO 2008031291A1
Authority
WO
WIPO (PCT)
Prior art keywords
signaling unit
message
unit
protocol entity
m2pa
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2006/003230
Other languages
English (en)
French (fr)
Inventor
Qingyong Liang
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2008031291A1 publication Critical patent/WO2008031291A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/0016Arrangements providing connection between exchanges
    • H04Q3/0025Provisions for signalling

Definitions

  • the present invention relates to an IP network signaling transmission protocol (SIGTRAN protocol), and in particular, to an abnormal situation such as a packet loss misordering of an MTP2 peer-to-peer adaptation protocol (M2PA protocol), correspondingly
  • M2PA protocol MTP2 peer-to-peer adaptation protocol
  • the serial number restores the solution to the synchronization mechanism.
  • IP networks can be used to carry services such as voice, data, and multimedia.
  • Traditional circuit-switched networks and IP networks are in a phase of convergence.
  • the need to transmit circuit-switched signaling protocols such as SS7 over IP networks.
  • the IETF Network Working Group has established a dedicated signaling transport group, and their IP network signaling transport protocol (SIGTRAN protocol) supports the transmission of traditional circuit-switched signaling over IP networks.
  • SIGTRAN protocol IP network signaling transport protocol
  • MTP MTP2 Peer to Peer Adaption Layer
  • the M2PA protocol is used to implement reliable messages between two MTP3 peer-to-peer protocol entities carried on an IP network. Order delivery.
  • China's Ministry of Information Industry also officially released the M2PA communications industry standard.
  • the specific protocol structure of M2PA is shown in Figure 1 and Figure 2.
  • M2PA As the transmission signaling layer 2 in the IP network, M2PA is directly carried on the SCTP protocol (RFC2960) entity, and the SCTP protocol entity has the characteristics of reliable and orderly transmission. Therefore, there is no further description of the reliable and orderly transmission mechanism of M2PA in the RFC protocol standard and China's communication industry standards.
  • M2PA acts as the transport signaling link layer under the MTP3 protocol entity and passes the SCTP.
  • the protocol entity and the M2PA protocol entity work together to perform reliable and orderly transmission of messages between MTP3 protocol entities.
  • the SCTP protocol entity can ensure the synchronization of the sequence number recovery through retransmission and other mechanisms.
  • an abnormality such as a message loss occurs between the M2PA protocol entity and the SCTP protocol entity
  • the message receiver M2PA protocol entity will always discard the data packet of the discontinuous sequence number sent by the sender M2PA protocol entity, and the message sender M2PA protocol entity The message is continuously sent to the M2PA receiver protocol entity because it is not clear about the message loss that occurred before.
  • an object of the present invention is to provide a method for recovering synchronization of a transmission layer two-layer peer-to-peer adaptation layer sequence number, which solves a message signaling unit (MSU) that receives an out-of-sequence in an M2PA protocol entity.
  • the sender M2PA protocol entity and the method for recovering the synchronization of the transmission signaling layer 2 peer-to-peer adaptation layer sequence includes the following steps:
  • the M2PA protocol entity that receives the out-of-order message signaling unit constructs a new at least one type of message unit, and the new at least one type of message unit carries the sequence number information of the discarded message signaling unit;
  • the M2PA protocol entity that receives the out-of-order message signaling unit sends a message unit of one type of the new at least one type of message unit to the M2PA protocol entity that sends the out-of-order message signaling unit;
  • step (1) is specifically:
  • step (2) is specifically :
  • step (11) The M2PA protocol entity that has received the out-of-order message signaling unit sends the new link state signaling unit to the M2PA protocol entity that sent the out-of-order message signaling unit.
  • step (11) is specifically:
  • the buffer subsequently receives the message signaling unit sent by the M2PA protocol entity that sends the out-of-order message signaling unit;
  • step (21) is specifically:
  • the M2PA protocol entity that receives the out-of-order message signaling unit sends a new link state signaling unit to the M2PA protocol entity that sends the out-of-order message signaling unit;
  • the M2PA protocol entity that sends the out-of-order message signaling unit After receiving the new link state signaling unit sent by the M2PA protocol entity of the out-of-order message signaling unit, the M2PA protocol entity that sends the out-of-order message signaling unit performs the legality of the new link state signaling unit. Checking, if legal, the M2PA protocol entity sending the out-of-order message signaling unit waits for the data response timer to restart; if not, sending the M2PA protocol entity of the out-of-order message signaling unit to the new link state signaling unit message Carry out the disposal process;
  • the M2PA protocol entity that sends the out-of-order message signaling unit decodes the sequence number information of the discarded message unit or the new sequence number recovery link state signaling unit in the received new link state signaling unit, and is to be decoded.
  • the discarded message signaling unit is resent to the M2PA protocol entity that receives the out-of-order message signaling unit.
  • the retransmission queue of the M2PA protocol entity that sends the out-of-order message signaling unit is used to check whether the new link state signaling unit is merged.
  • the process of transmitting the out-of-order message signaling unit in step (3) is specifically: if the out-of-order message signaling unit does not occur between the M2PA protocol entity that receives the message signaling unit and the M2PA protocol entity that sends the message signaling unit Transmitting, then receiving the M2PA protocol entity of the message signaling unit to send the message signaling unit
  • the sequence number information of the discarded message unit in the new link state signaling unit sent by the M2PA protocol entity is empty.
  • the process of transmitting the out-of-order message signaling unit in step (3) is specifically: if the out-of-order message signaling unit does not occur between the M2PA protocol entity that receives the message signaling unit and the M2PA protocol entity that sends the message signaling unit In the case of transmission, the M2PA protocol entity receiving the message signaling unit does not send a new link state signaling unit whose value is recovered to the M2PA protocol entity transmitting the message signaling unit.
  • the present invention further provides an apparatus for transporting signaling Layer 2 peer-to-peer adaptation layer sequence number synchronization synchronization, comprising: creating means for constructing a new at least one M2PA protocol entity that receives the out-of-order message signaling unit a type of message unit, the new at least one type of message unit carries the sequence number information of the discarded message signaling unit; and the sending device is configured to enable the M2PA protocol entity that receives the out-of-order message signaling unit to re-new at least one One type of message unit of the type of message unit is sent to the M2PA protocol entity that sends the out-of-order message signaling unit; and the processing device, the M2PA protocol entity that receives the message signaling unit and the M2PA protocol entity that sends the message signaling unit In the case where no transmission of the out-of-order message signaling unit occurs, the flow of the transmission of the out-of-order message signaling unit does not occur.
  • the new at least one type of message unit includes a new link state signaling unit.
  • the processing device sends the M2PA protocol entity that receives the message signaling unit to the case that no transmission of the out-of-order message signaling unit occurs between the M2PA protocol entity that receives the message signaling unit and the M2PA protocol entity that sends the message signaling unit.
  • New link status sent by the M2PA protocol entity that sent the message signaling unit The sequence number information of the discarded message unit in the signaling unit is empty, or the M2PA protocol entity that receives the message signaling unit does not send a new link state signaling with the value of the serial number recovery to the M2PA protocol entity that sends the message signaling unit. unit.
  • the present invention solves the problem that the M2PA protocol entity receives the out-of-order message unit, which inevitably causes the M2PA signaling link to be interrupted, and can prevent the loss of the upper layer user data of the M2PA protocol entity to the greatest extent.
  • FIG. 4 is a flowchart of an implementation method for implementing sequence number synchronization by modifying an existing LSSU (Link State Signaling Unit): In Service message; 5 is a diagram showing an implementation method of the serial number synchronization by adding a LSSU (Link State Signaling Unit): Recovery message; and FIG. 6 is a structural diagram showing a sequence number recovery synchronization apparatus according to the present invention.
  • LSSU Link State Signaling Unit
  • the sequence number recovery synchronization is a message unit between two peer-to-peer protocol entities due to abnormal conditions such as packet loss between two peer-to-peer signaling layer 2 protocol entities.
  • the serial number has an inconsistent and asynchronous recovery method.
  • the operation of message unit retransmission and sequence number synchronization between two peer protocol entities is often implemented by means of sequence number indication flag inversion and link state message signaling unit interaction.
  • FIG. 3 is a diagram showing the processing of the M2PA RFC protocol and the M2PA postal protocol standard regarding the M2PA ⁇ L sequence packet loss; FIG. 3 can be seen from FIG.
  • the BSN is: Backward Sequence Number, the backward sequence number, which represents the number of the message signaling unit currently received from the peer M2PA protocol entity:); therefore, the M2PA protocol entity that is subsequently received—the MSU sent by B is always discarded.
  • the present invention implements serial number synchronization between M2PA protocol entities by improving the LSSU: In Service message in the existing M2PA communication industry standard protocol specification.
  • the principle of this embodiment is to minimize the loss of the signaling link and to perform sequence number recovery of the data message as much as possible.
  • the specific processing procedure is as follows: This solution is implemented by tampering with the LSSU message structure. At the end of the LSSU: In Service message structure of the existing protocol, a message interval list is added.
  • the LSSU: In Service message structure before modification is:
  • FSN List element Begin n-1 (FLEB n-1) —+—+—+—+—+—+—+—+—+—+—+—+—+— +—+—+—+—
  • FSN List Element Begin represents the first missing packet sequence number of a lost sequence interval
  • FSN List Element End represents the last lost packet number FSN of a lost sequence interval
  • the sequence number is: n represents the number of lost sequence intervals, and the value range of the value of n can be different according to the specific implementation of the software.
  • n is a value of 1, it is a special case of a packet that only loses one interval.
  • the improved LSSU: In Service message processing steps are as follows: Step 101: Under normal circumstances, when no packet loss occurs, both parties of the M2PA protocol entity send a LSSU: In Service to reply the message.
  • the FSSU In Service FSN List Element list is empty. That is, the number n of lost sequence intervals is zero.
  • Step 102 A packet loss occurs between two peer-to-peer protocol entities of the M2PA due to various abnormal conditions.
  • Step 103 The M2PA protocol entity-A receives the out-of-order message unit MSU when there is a packet loss condition.
  • Step 104 The M2PA protocol entity_A cache receives the out-of-order MSU into the receiving buffer of the M2PA protocol entity A.
  • Step 105 The M2PA protocol entity A constructs a specific LSSU according to the out-of-order packet loss condition: the In Service message is sent to the message sender M2PA protocol entity-B.
  • the LSSU: In Service can be sent regardless of whether the user data is sent by the MSU, and the sender and the receiver can be quickly synchronized.
  • Step 107 The M2PA protocol entity “B” decodes the FSN List element Begin and the FSN List element End according to the received LSSU: In Service to determine which data messages are specifically lost during the data transmission process. M2PA Protocol Entity—B chooses to retransmit the corresponding lost data message to the M2PA protocol entity—A.
  • Step 108 When receiving the retransmission data message sent by the M2PA protocol entity_B, the M2PA protocol entity A determines whether it is cached or handed over to the upper layer user according to the data sequence number in the receiving buffer (the specific principle is: if the data message is And the cached data message can ensure the order of the upper layer user data, and the data message and the corresponding cached data are handed over to the upper layer user. Otherwise, the data message is also cached in the receive buffer for processing).
  • the foregoing only provides an implementation method for implementing the technical solution of the present invention. The specific implementation method is not limited to the method flow described in this embodiment.
  • FIG. 5 shows another embodiment of implementing the technical solution of the present invention.
  • This embodiment adds a new signaling link state signaling unit LSSU by using the existing M2PA RFC protocol specification: Recovery (Serial Number Recovery)
  • the message is used to implement the M2PA i "sequence synchronization process between the entities.
  • the present invention has some differences between the processing of the new message LSSU: Recovery and the implementation of the LSSU: In Service message unit shown in Figure 4.
  • YES The LSSU: Recovery message unit does not have the operation associated with step 101 in the embodiment shown in Figure 4 above, ie in the absence of packet loss. Under normal circumstances, LSSU: Recovery is not actively sent. However, when a packet loss occurs, the LSSU:Recovery message is sent actively. In step 102 and subsequent processing, the processing of the LSSU: Recovery message is consistent with the LSSU: In Service processing.
  • FIG. 4 is a block diagram showing the structure of the serial number recovery synchronizing apparatus according to the present invention.
  • FIG. 6 is a block diagram showing the structure of the serial number recovery synchronizing apparatus according to the present invention.
  • the apparatus 600 for transmitting signaling layer 2 peer-to-peer adaptation layer sequence number synchronization includes: a creating apparatus 602, configured to construct a new type of at least one type of M2PA protocol entity that receives the out-of-order message signaling unit Message unit, the new at least one type of message unit carries the sequence number information of the discarded message signaling unit; and the sending device 604 is configured to enable the M2PA protocol entity that receives the out-of-order message signaling unit to re-new at least one new type One type of message unit of the type of message unit is sent to the M2PA protocol entity that sends the out-of-order message signaling unit; and the processing device 606, the M2PA protocol entity that receives the message signaling unit and the M2PA protocol entity that sends the message signaling unit In the case where no transmission of the out-of-order message signaling unit occurs, the flow of the transmission of the out-of-order message signaling unit does not occur.
  • the new at least one type of message unit includes a new link state signaling unit.
  • the processing apparatus 600 enables the reception of the message signaling in the case where the transmission of the out-of-order message signaling unit does not occur between the M2PA protocol entity that receives the message signaling unit and the M2PA protocol entity that transmits the message signaling unit.
  • the M2PA protocol entity of the unit sends the sequence number information of the discarded message unit in the new link state signaling unit sent by the M2PA protocol entity that sends the message signaling unit to null, or makes the M2PA protocol entity that receives the message signaling unit not
  • the M2PA protocol entity transmitting the message signaling unit transmits a new link state signaling unit whose value is recovered.
  • the present invention mainly proposes a message unit sequence number synchronization synchronization mechanism in the M2PA protocol, which is a remedy for the defects of the current M2PA protocol.
  • the above two embodiments are only two specific methods for implementing the technical solution of the present invention, and are not limited to the existing M2PA. Modification/add/delete mode of the protocol message unit, modification/addition/deletion of the existing M2PA protocol message unit function, modification/addition/deletion of the parameter field attached to the existing M2PA protocol message unit, or may be any of the above methods combination.
  • the present invention solves the problem that the M2PA protocol entity receives the out-of-order message unit, which inevitably causes the M2PA signaling link to be interrupted.

Landscapes

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

Description

一种传输信令二层对等
适配层序号恢复同步的方法 技术领域 本发明涉及 IP网络信令传输协议 ( SIGTRAN协议), 尤其 涉及一种当 MTP2对等适配协议 ( M2PA协议)发生丟包错序 等异常情况时, 相应的序号恢复同步机制的解决方法。 背景技术 随着 IP网络技术的逐步成熟, IP网络可用于承载语音、数 据、 多媒体等业务, 传统的电路交换网络与 IP网络处于融合阶 段, 为了实现传统电路交换网络与 IP网络的互联互通, 出现了 在 IP网络上传输七号信令等电路交换信令协议的需求。为了满 足在 IP 网络上传输信令协议的需求, IETF 网络工作组成立了 专门的信令传输小组, 他们所制订的 IP 网络信令传输协议 ( SIGTRAN协议) 支持通过 IP网络传输传统电路交换信令。 2005年 IETF工作组正式发布了 MTP2对等适配层协议 (M2PA, MTP2 Peer to Peer Adaption Layer), M2PA协议用来实现 载在 IP 网络上的两个 MTP3 对等协议实体之间消息的可靠有序传 递。 2002年我国信息产业部也正式发布了 M2PA的通信行业标 准。 M2PA具体的协议结构如附图 1、 附图 2所示。
M2PA作为 IP网络中的传输信令二层是直接承载在 SCTP 协议 (RFC2960)实体上的,而 SCTP协议实体具备了可靠有序传 输的特性。 因此在 RFC协议标准以及我国通信行业标准中都没 有对 M2PA的可靠有序传输机制进行进一步的描述。但是 M2PA 作为处于 MTP3协议实体之下的传输信令链路层,是通过 SCTP 协议实体以及 M2PA协议实体来共同完成 MTP3协议实体间消 息的可靠有序传输。 当 SCTP两个对等协议实体间在 IP网络传 输过程中如果发生了丢包、 乱序等错误情况时, 在 SCTP协议 实体间可以通过重传等机制来保证序号的恢复同步。 但是当 M2PA协议实体与 SCTP协议实体间发生消息丢失等异常情况 时, 消息接收方 M2PA协议实体会一直抛弃发送方 M2PA协议 实体发送过来的不连续序号的数据报文, 而消息发送方 M2PA 协议实体由于不清楚之前发生的消息丟失情况所以会持续不断 的发送消息给 M2PA接收方协议实体。 此异常情况一直持续到 发送方 M2PA协议实体检测到丢包消息长时间无应答导致发送 Out of Service (退出服务)给接收方 M2PA协议实体。 随后进 行 MTP3数据回取以及信令链路的倒换操作, 严重情况下甚至 可能会导致信令局向不可达等异常情况。 此异常情况参见附图 3。 发明内容 为了克服上述缺陷, 本发明的目的在于提供一种传输信令 二层对等适配层序号恢复同步的方法, 该方法解决了在 M2PA 协议实体接收到失序的消息信令单元 ( MSU )时,发送方 M2PA 协议实体和; 为达到上述目的, 本发明一种传输信令二层对等适配层序 号恢复同步的方法, 包括以下步骤:
( 1 )接收到失序消息信令单元的 M2PA协议实体构造新 的至少一种类型的消息单元, 新的至少一种类型的消息单元携 带有被丟弃消息信令单元的序号信息; ( 2 )接收到失序消息信令单元的 M2PA协议实体再将新 的至少一种类型的消息单元中的一种类型的消息单元发送给发 送失序消息信令单元的 M2PA协议实体;
( 3 )若接收消息信令单元的 M2PA协议实体与发送消息 信令单元的 M2PA协议实体之间没有发生失序消息信令单元的 传输, 则转入没有发生失序消息信令单元传输的流程。 其中, 步骤( 1 )具体为:
( 11 )接收到失序消息信令单元的 M2PA协议实体构造新 的链路状态信令单元, 新的链路状态信令单元携带有被丢弃消 息信令单元的序号信息; 步骤(2 )具体为:
( 21 )接收到失序消息信令单元的 M2PA协议实体再将新 的链路状态信令单元发送给发送失序消息信令单元的 M2PA协 议实体。 其中, 步驟(11 )具体为:
( 111 )接收失序消息信令单元的 M2PA协议实体接收到失 序消息信令单元时, 緩存随后接收到由发送失序消息信令单元 的 M2PA协议实体发送的消息信令单元;
( 112 )接收到失序消息信令单元的 M2PA协议实体构造新 的链路状态信令单元, 该新的链路状态信令单元携带有被丢弃 消息单元的序号信息或者该新的链路状态信令单元值为序号恢 复。 其中, 步骤(21 )具体为:
( 211 )接收到失序消息信令单元的 M2PA协议实体将新的 链路状态信令单元发送给发送失序消息信令单元的 M2PA协议 实体;
( 212 )发送失序消息信令单元的 M2PA协议实体接收到 接收失序消息信令单元的 M2PA协议实体发送的新的链路状态 信令单元后, 对新的链路状态信令单元的合法性进行检查, 若 合法, 则发送失序消息信令单元的 M2PA协议实体等待数据应 答定时器重新启动; 若不合法, 则发送失序消息信令单元的 M2PA 协议实体对该新的链路状态信令单元消息进行抛弃处 理;
( 213 )发送失序消息信令单元的 M2PA协议实体对接收 到的新的链路状态信令单元中的被丢弃消息单元的序号信息或 者新的序号恢复链路状态信令单元进行解码, 将被丢弃的消息 信令单元重新发送给接收失序消息信令单元的 M2PA 协议实 体。 其中, 步骤 (212 ) 中, 采用对发送失序消息信令单元的 M2PA协议实体的重传队列检查新的链路状态信令单元是否合 洚。 其中, 步骤( 3 )中没有发生失序消息信令单元传输的流程 具体为: 若接收消息信令单元的 M2PA协议实体与发送消息信令单 元的 M2PA协议实体之间没有发生失序消息信令单元的传输, 则接收消息信令单元的 M2PA协议实体向发送消息信令单元的 M2PA协议实体发送的新的链路状态信令单元中被丟弃消息单 元的序号信息为空。 其中, 步驟( 3 )中没有发生失序消息信令单元传输的流程 具体为: 若接收消息信令单元的 M2PA协议实体与发送消息信令单 元的 M2PA协议实体之间没有发生失序消息信令单元的传输, 则接收消息信令单元的 M2PA协议实体不向发送消息信令单元 的 M2PA 协议实体发送值为序号恢复的新的链路状态信令单 元。 本发明还提供了一种用于传输信令二层对等适配层序号恢 复同步的装置, 其包括: 创建装置, 用于使接收到失序消息信 令单元的 M2PA协议实体构造新的至少一种类型的消息单元, 新的至少一种类型的消息单元携带有被丢弃消息信令单元的序 号信息; 发送装置, 用于使接收到失序消息信令单元的 M2PA 协议实体再将新的至少一种类型的消息单元中的一种类型的消 息单元发送给发送失序消息信令单元的 M2PA协议实体; 以及 处理装置, 在接收消息信令单元的 M2PA协议实体与发送消息 信令单元的 M2PA协议实体之间没有发生失序消息信令单元的 传输的情况下, 转入没有发生失序消息信令单元传输的流程。 其中, 新的至少一种类型的消息单元包括新的链路状态信 令单元。 其中, 处理装置在接收消息信令单元的 M2PA协议实体与 发送消息信令单元的 M2PA协议实体之间没有发生失序消息信 令单元的传输的情况下, 使接收消息信令单元的 M2PA协议实 体向发送消息信令单元的 M2PA协议实体发送的新的链路状态 信令单元中被丟弃消息单元的序号信息为空, 或者使接收消息 信令单元的 M2PA协议实体不向发送消息信令单元的 M2PA协 议实体发送值为序号恢复的新的链路状态信令单元。 本发明与现有协议技术相比, 解决了 M2PA协议实体接收 到失序消息单元必然导致 M2PA信令链路中断的问题, 可以最 大程度上防止 M2PA协议实体上层用户数据的丟失。 同时提出 了在 M2PA协议中增加消息单元恢复同步机制, 从消息流程上 避免了 M2PA协议实体消息单元丟包失序导致 M2PA信令链路 中断的可能性。 本发明的其它特征和优点将在随后的说明书中阐述,并且, 部分地从说明书中变得显而易见,或者通过实施本发明而了解。 本发明的目的和其他优点可通过在所写的说明书、权利要求书、 以及附图中所特别指出的结构来实现和获得。 附图说明 附图用来提供对本发明的进一步理解, 并且构成说明书的 一部分, 与本发明的实施例一起用于解释本发明, 并不构成对 本发明的限制。 在附图中: 图 1是 M2PA在 IPSP中应用的协议栈; 图 2是 M2PA在 SG中应用的协议栈; 图 3是目前 M2PA的 RFC协议及 M2PA的邮电协议标准 关于 M2PA乱序错误处理流程; 图 4是本发明通过修改现有 LSSU (链路状态信令单元): In Service消息来实现序号同步的实施方法流程图; 图 5 是本发明通过新增 LSSU (链路状态信令单元): Recovery消息来实现序号同步的实施方法 ¾程图; 以及 图 6是示出根据本发明的序号恢复同步装置的结构图。 具体实施方式 以下结合附图对本发明的优选实施例进行说明,应当理解, 此处所描述的优选实施例仅用于说明和解释本发明, 并不用于 限定本发明。 在传输信令二层协议中, 序号恢复同步一 ¾:是指当两个对 等的传输信令二层协议实体之间由于丟包等异常情况, 导致两 个对等协议实体之间消息单元的序号发生不一致和不同步的恢 复方法。 传输信令中常常通过序号指示标志反转、 链路状态消 息信令单元交互等方法来实现两个对等协议实体之间的消息单 元重新传送、 序号同步等操作。 本发明主要是对现有 M2PA协 议一种或几种类型消息单元的附带参数和功能进行改进, 来完 成 M2PA十办议实体间的序号恢复同步。 或者是新增目前 M2PA 协议中没有的一种或几种类型的消息单元, 进行 M2PA协议改 进来实现 M2PA协议实体间的序号恢复同步。 下面结合附图对本发明的技术方案故进一步详细的说明: 附图 3为目前 M2PA的 RFC协议及 M2PA的邮电协议标 准关于 M2PA ^L序丟包的处理 ¾程图; 从附图 3可以看出, 在 目前的 M2PA协议中, M2PA协议实体—乙发送 MSU ( Message Signal Unit, 消息信令单元 )给 M2PA协议实体―曱, M2PA协 议实体一曱由于没有接收到 M2PA协议实体—乙的 MSU: FSN-7 BSN=6; (其中, FSN为: Forward Sequence Number, 前向序 列号, 代表当前发送方 M2PA协议实体发送的消息信令单元的 编号; BSN为: Backward Sequence Number, 后向序列号, 代 表当前从对端 M2PA协议实体接收到的消息信令单元的编号:); 所以一直抛弃随后收到的 M2PA 协议实体—乙发送过来的 MSU。 此状况一直持续到 M2PA 协议实体―乙对应的 MSU: FSN=7, BSN=6数据包等待应答定时器 Timer T7超时(具体处 理流程同相关 M2PA协议 ), 向 M2PA协议实体—甲发送 LSSU: Out Of Service开始释放信令链路。 从协议流程描述可以看出, 一旦 M2PA协议实体间发生丟包乱序必然会导致 M2PA信令链 路的释放。 且断链检测的间隔必须在 Timer T7时间间隔内, 如 果 M2PA协议实体上层用户消息单元流量比较大时会导致大量 的数据包在 M2PA对等协议实体间发生丢弃。 如附图 4所示, 本发明通过对现有的 M2PA通信行业标准 协议规范中 LSSU: In Service消息进行改进, 来实现 M2PA协 议实体间的序号同步。 本实施方案的原则是尽可能地不导致信 令链路断链且进行数据消息的序号恢复。 具体处理过程如下: 本方案通过爹改 LSSU 消息结构来实现, 在现有协议的 LSSU: In Service消息结构最后增加一个消息间隔列表, 修改 前的 LSSU: In Service消息结构为:
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
1 State I + - +—+- +-+-+- +—+—+-+— +— +—+—+— +—+—+—+ +—+ +—+—+—+—+—+_+—+—+-+— +—+—+ 本发明 ^ 改后的 LSSU: In Service消息结构为:
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
+一 +—+—+—+—+—+—+—+—+—+—+—+—+— +—+—+—+—+—+— +—+—+—+—+—+—+—+—+—+—+— +—+
1 State I +— +— +—+—+—+— +—+_+— +一+一 +_+—+—+—+—+—+—+—+—+—+—+—+—+— +- +—+—+—+—+—+— +
I FSN List Element Begin 1 (FLEB1) |
+—+— +一 +—+—+— +一+一 +—+—+—+—+—+—+—+—+—十一 +-+一 +—+—+—+—+—+-+—+—+—+— +—+—+ I FSN List Element End 1 (FLEE1)
+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+, +—+—+— +— +—+—+—+—+—+
I FSN List Element Begin 2 (FLEB2)
I FSN List Element End 2 (FLEE2)
+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+ -+—+—+—+■ I FSN List Element Begin 3 (PLEB3 )
+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—÷—+— +—+—+—+_ —+—+—+_+—·
I FSN List Element End 3 (FLEE 3)
+— _ (·— H 1 1 1 1 i 1 1 h~ -\ h™ H 1 h— H 1 1 1 1- -
·—+_+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+_+—+—+—+—+—+—+-
■ -} 1 1 1 1 1 1 1 (*— +— H h~ -+—+—+—+—+—+
+—+—+—+—+—+—+— +—+—+—+—+—+— +—+—+ +—+—+—+—+—+—+-
FSN List element Begin n-1 (FLEB n-1) —+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+
FSN List Element End n-1 (FLEE n-1)
+—+—+—+ .+—+—+—+—+—+—+—+—+—+—+—+—+—+—+_+—+—+—+—+ -+—+—+—+—+—+-
FSN List Element Begin n (FLEB n)
.+- + - + -+- + _+- + - + -4·- FSN List Element End n(FLEE n)
其中: FSN List Element Begin ( FLEB )代表一个丢失序列 间隔的第一个丢失的数据包序号 FSN
FSN List Element End ( FLEE )代表一个丢失序列间隔的最 后一个丟失的数据包序号 FSN 其中序号: n代表丟失序列间隔的个数, n值的取值范围可 以根据软件具体实施不同取值。 当 n取值为 1时, 就是一个仅 仅丢失一个间隔的数据包的特例。 本发明改进后的 LSSU: In Service消息处理步骤如下: 步骤 101 : 正常情况下, 没有丢包情况发生时 M2PA协议 实体双方通过发送 LSSU: In Service来进行消息的应答。 其中 消息 LSSU: In Service中 FSN List Element列表为空。 即丟失 序列间隔的个数 n为 0。 此时的 M2PA协议实体欢方处理机制 与目前中国通信行业标准 M2PA协议处理。 步驟 102: 由于各种异常情况导致在 M2PA两个对等协议 实体间发生了丢包情况。 步骤 103: 当存在丟包情况时 M2PA协议实体—甲接收到失 序的消息单元 MSU。 步骤 104: M2PA协议实体_甲緩存接收到的失序 MSU到 M2PA协议实体一甲的接收緩存中。 步骤 105: M2PA协议实体一甲根据失序丢包情况, 构造具 体的 LSSU: In Service消息发送给消息发方 M2PA协议实体— 乙。 在具体实施中可以无论是否有用户数据 MSU发送都发送 此 LSSU: In Service,尽量保证收发双方可以快速的进行序号恢 复同步。 步驟 106: M2PA协议实体一乙接收到来自 M2PA协议实体 —甲的 LSSU: In Service消息, 对此消息进行合法性检查, 如果 消息非法则抛弃处理 (建议采用对 M2PA协议实体—乙的重传队 列进行检查是否存在 LSSU: In Service消息中包含的丟失序列 间隔 FSN序号, 但是本发明不限制具体的实施方法).如果消息 合法则 M2PA协议实体—乙将等待数据应答定时器 Timer T7重 新启动。 防止 M2PA协议实体_乙因为 Timer T7超时而释放信 令链路。 步骤 107: M2PA 协议实体―乙根据接收到的 LSSU: In Service, 解码其中的 FSN List element Begin 以及 FSN List element End 来判断在数据传送过程中具体丢失了那些数据消 息。 M2PA 协议实体—乙选择重新传送相应的丢失数据消息给 M2PA协议实体—甲。 步骤 108: M2PA协议实体一甲接收到来自 M2PA协议实体 _乙发送的重传数据消息时,根据接收緩存中的数据序号决定是 緩存还是上交给上层用户(具体的原则是: 如果本数据消息以及 緩存数据消息, 可以保证上层用户数据的有序性, 则本数据消 息以及相应的緩存数据上交给上层用户。 否则本数据消息也进 行緩存在接收緩存中处理)。 上述仅给出实现本发明技术方案的一种实施方法, 具体的 实现方法不仅仅局限于该实施例描述的方法流程。 附图 5所示的是实现本发明技术方案的另一种实施例: 该 实施例通过对现有 M2PA的 RFC协议规范增加一个新的信令链 路状态信令单元 LSSU: Recovery (序号恢复) 消息, 来实现 M2PA i "办议实体间的序号同步过程。 本发明对新增消息 LSSU: Recovery的处理与上述附图 4所 示的实施方案 LSSU: In Service 消息单元存在一些区别。 不同之处在于: LSSU: Recovery 消息单元没有上述附图 4 所示的实施方案中步骤 101相关操作, 即在没有数据包丟失的 正常情况下, LSSU: Recovery是不进行主动发送的。 但是当发 生数据包丟失的情况下,都会主动的发送 LSSU:Recovery消息。 步骤 102及随后的处理, LSSU: Recovery 消息的处理同 LSSU: In Service处理一致。
LSSU: Recovery消息单元只有在 M2PA信令链路投入服务 后才会发送和处理,其他情况下应该作为非期望消息进行抛弃。 针对附图 4和附图 5举例仅给出本发明的一种实现方法, 但具体的实现方法、 新增消息名称等不仅仅局限于该实施例的 描述。 附图 6示出了才队据本发明的序号恢复同步装置的结构图。 在图 6中, 用于传输信令二层对等适配层序号恢复同步的 装置 600 包括: 创建装置 602, 用于使接收到失序消息信令单 元的 M2PA协议实体构造新的至少一种类型的消息单元, 新的 至少一种类型的消息单元携带有被丢弃消息信令单元的序号信 息; 发送装置 604, 用于使接收到失序消息信令单元的 M2PA 协议实体再将新的至少一种类型的消息单元中的一种类型的消 息单元发送给发送失序消息信令单元的 M2PA协议实体; 以及 处理装置 606, 在接收消息信令单元的 M2PA协议实体与发送 消息信令单元的 M2PA协议实体之间没有发生失序消息信令单 元的传输的情况下, 转入没有发生失序消息信令单元传输的流 程。 在该装置中, 新的至少一种类型的消息单元包括新的链路 状态信令单元。 此外, 在该装置中, 处理装置 600在接收消息信令单元的 M2PA协议实体与发送消息信令单元的 M2PA协议实体之间没 有发生失序消息信令单元的传输的情况下, 使接收消息信令单 元的 M2PA协议实体向发送消息信令单元的 M2PA协议实体发 送的新的链路状态信令单元中被丟弃消息单元的序号信息为 空, 或者使接收消息信令单元的 M2PA协议实体不向发送消息 信令单元的 M2PA协议实体发送值为序号恢复的新的链路状态 信令单元。 本发明主要提出 M2PA 协议中消息单元序号恢复同步机 制, 是对目前 M2PA协议的缺陷的弥补, 上述的两种实施例仅 为实现本发明技术方案的两个具体方法, 不限于这些对现有 M2PA协议消息单元的修改 /增加 /删除方式,对现有 M2PA协议 消息单元功能的修改 /增加 /删除, 对现有 M2PA协议消息单元 附带参数字段的修改 /增加 /删除,或者可以为上述方式的任意组 合。 本发明与现有协议技术相比, 解决了 M2PA协议实体接收 到失序消息单元必然导致 M2PA信令链路中断的问题。 可以最 大程度上防止 M2PA协议实体上层用户数据的丢失。 同时提出 了在 M2PA协议中增力口消息单元恢复同步机制, 从消息流程上 避免了 M2PA协议实体消息单元丢包失序导致 M2PA信令链路 中断的可能性。 以上所述仅为本发明的优选实施例而已, 并不用于限制本 发明, 对于本领域的技术人员来说, 本发明可以有各种更改和 变化。 凡在本发明的精神和原则之内, 所作的任何修改、 等同 替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1. 一种传输信令二层对等适配层序号恢复同步的方法,其特 征在于, 包括以下步 -银:
( 1 )接收到失序消息信令单元的 M2PA协议实体构 造新的至少一种类型的消息单元,所述新的至少一种类型 的消息单元携带有被丢弃消息信令单元的序号信息;
( 2 )接收到失序消息信令单元的 M2PA协议实体再 将所述新的至少一种类型的消息单元中的一种类型的消 息单元发送给发送失序消息信令单元的 M2PA协议实体; 以及
( 3 )若接收消息信令单元的 M2PA协议实体与发送 消息信令单元的 M2PA 协议实体之间没有发生失序消息 信令单元的传输,则转入没有发生失序消息信令单元传输 的流程。
2. 根据权利要求 1 所述的传输信令二层对等适配层序号恢 复同步的方法, 其特征在于, 所述步骤(1 )具体为:
( 11 )接收到失序消息信令单元的 M2PA协议实体构 造新的链路状态信令单元,所述新的链路状态信令单元携 带有被丢弃消息信令单元的序号信息;
所述步骤(2 )具体为:
( 21 )接收到失序消息信令单元的 M2PA协议实体再 将所述新的链路状态信令单元发送给发送失序消息信令 单元的 M2PA†办议实体。 根据权利要求 2 所述的传输信令二层对等适配层序号恢 复同步的方法, 其特征在于, 所述步骤(11 )具体为:
( 111 )接收失序消息信令单元的 M2PA协议实体接 收到失序消息信令单元时,緩存随后接收到由发送失序消 息信令单元的 M2PA协议实体发送的消息信令单元;以及
( 112 )接收到失序消息信令单元的 M2PA协议实体 构造新的链路状态信令单元,该新的链路状态信令单元携 带有被丢弃消息单元的序号信息或者该新的链路状态信 令单元值为序号恢复。 根据权利要求 3 所述的传输信令二层对等适配层序号恢 复同步的方法, 其特征在于, 所述步據(21 )具体为:
( 211 )接收到失序消息信令单元的 M2PA协议实体 将所述新的链路状态信令单元发送给发送失序消息信令 单元的 M2PA ¼、议实体;
( 212 )发送失序消息信令单元的 M2PA协议实体接 收到接收失序消息信令单元的 M2PA协议实体发送的新 的链路状态信令单元后,对所述新的链路状态信令单元的 合法性进行检查, 若合法, 则发送失序消息信令单元的 M2PA 协议实体等待数据应答定时器重新启动; 若不合 法,则发送失序消息信令单元的 M2PA协议实体对该新的 链路状态信令单元消息进行抛弃处理; 以及
( 213 )发送失序消息信令单元的 M2PA协议实体对 接收到的所述新的链路状态信令单元中的被丟弃消息单 元的序号信息或者所述新的序号恢复链路状态信令单元 进行解码,将被丟弃的消息信令单元重新发送给接收失序 消息信令单元的 M2PA协议实体。 根据权利要求 4 所述的传输信令二层对等适配层序号恢 复同步的方法, 其特征在于, 所述步驟(212 ) 中, 采用 对发送失序消息信令单元的 M2PA 协议实体的重传队列 检查所述新的链路状态信令单元是否合法。 根据权利要求 4或 5所述的传输信令二层对等适配层序号 恢复同步的方法, 其特征在于, 所述步骤(3 ) 中没有发 生失序消息信令单元传输的流程具体为: 若接收消息信令单元的 M2PA协议实体与发送消息 信令单元的 M2PA协议实体之间没有发生失序消息信令 单元的传输,则所述接收消息信令单元的 M2PA协议实体 向发送消息信令单元的 M2PA协议实体发送的新的链路 状态信令单元中被丢弃消息单元的序号信息为空。 根据权利要求 4或 5所述的传输信令二层对等适配层序号 恢复同步的方法, 其特征在于, 所述步骤(3 ) 中没有发 生失序消息信令单元传输的流程具体为: 若接收消息信令单元的 M2PA协议实体与发送消息 信令单元的 M2PA 协议实体之间没有发生失序消息信令 单元的传输,则所述接收消息信令单元的 M2PA协议实体 不向发送消息信令单元的 M2PA 协议实体发送值为序号 恢复的新的链路状态信令单元。 一种传输信令二层对等适配层序号恢复同步的装置,其特 征在于, 包括: 创建装置, 用于使接收到失序消息信令单元的 M2PA 协议实体构造新的至少一种类型的消息单元 ,所述新的至 少一种类型的消息单元携带有被丟弃消息信令单元的序 号信息; 发送装置, 用于使接收到失序消息信令单元的 M2PA 协议实体再将所述新的至少一种类型的消息单元中的一 种类型的消息单元发送给发送失序消息信令单元的 M2PA协议实体; 以及 处理装置,在接收消息信令单元的 M2PA协议实体与 发送消息信令单元的 M2PA协议实体之间没有发生失序 消息信令单元的传输的情况下,转入没有发生失序消息信 令单元传输的流程。 才艮据权利要求 8 所述的传输信令二层对等适配层序号恢 复同步的装置, 其特征在于, 所述新的至少一种类型的消 息单元包括新的链路状态信令单元。 根据权利要求 9 所述的传输信令二层对等适配层序号恢 复同步的装置, 其特征在于, 所述处理装置在接收消息信 令单元的 M2PA协议实体与发送消息信令单元的 M2PA协 议实体之间没有发生失序消息信令单元的传输的情况下, 使所述接收消息信令单元的 M2PA协议实体向发送消息 信令单元的 M2PA协议实体发送的新的链路状态信令单 元中被丢弃消息单元的序号信息为空,或者使所述接收消 息信令单元的 M2PA协议实体不向发送消息信令单元的 M2PA协议实体发送值为序号恢复的新的链路状态信令单 元。
PCT/CN2006/003230 2006-09-07 2006-11-30 Procédé de récupération de synchronisation de numéros de séquence de couche d'adaptation pair à pair à deux couches de transport de signalisation Ceased WO2008031291A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610127507.9 2006-09-07
CN2006101275079A CN101127763B (zh) 2006-09-07 2006-09-07 一种传输信令二层对等适配层序号恢复同步的方法

Publications (1)

Publication Number Publication Date
WO2008031291A1 true WO2008031291A1 (fr) 2008-03-20

Family

ID=39095684

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/003230 Ceased WO2008031291A1 (fr) 2006-09-07 2006-11-30 Procédé de récupération de synchronisation de numéros de séquence de couche d'adaptation pair à pair à deux couches de transport de signalisation

Country Status (2)

Country Link
CN (1) CN101127763B (zh)
WO (1) WO2008031291A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110278058B (zh) * 2019-06-05 2020-11-03 华为技术有限公司 一种冗余信息反馈方法及通信装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6411621B1 (en) * 1998-08-21 2002-06-25 Lucent Technologies Inc. Apparatus, method and system for an intermediate reliability protocol for network message transmission and reception
CN1520111A (zh) * 2003-09-02 2004-08-11 ����ͨѶ�ɷ����޹�˾ 局域网内的数据传输方法
CN1829187A (zh) * 2005-02-28 2006-09-06 华为技术有限公司 一种保持分组数据协议汇聚子层序列号同步的方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798138A (zh) * 2004-12-20 2006-07-05 华为技术有限公司 提高m2pa协议可靠性的实现方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6411621B1 (en) * 1998-08-21 2002-06-25 Lucent Technologies Inc. Apparatus, method and system for an intermediate reliability protocol for network message transmission and reception
CN1520111A (zh) * 2003-09-02 2004-08-11 ����ͨѶ�ɷ����޹�˾ 局域网内的数据传输方法
CN1829187A (zh) * 2005-02-28 2006-09-06 华为技术有限公司 一种保持分组数据协议汇聚子层序列号同步的方法

Also Published As

Publication number Publication date
CN101127763B (zh) 2011-06-22
CN101127763A (zh) 2008-02-20

Similar Documents

Publication Publication Date Title
US7006433B1 (en) System and method for transporting in/ain signaling over an internet protocol (IP) network
US7161949B2 (en) Methods and system for fast session establishment between equipment using H.324 and related telecommunications protocols
US6674713B1 (en) Method and apparatus for providing continuous voice and call communications between a data network and a telephony network
US8693029B1 (en) Systems and methods for the reliable transmission of facsimiles over packet networks
US7388947B2 (en) Controllable telecommunications switch reporting compatible with voice grade lines
EP1465440B1 (en) Method and apparatus for changeover of associations between signalling processes
KR100728280B1 (ko) Sip를 이용한 통신 시스템에서 호 해제 요청/응답메시지를 이용한 네트워크 상태 관리 방법
US20040008734A1 (en) Method for common channel communication using a packet switched network
JP2006140989A (ja) H.324および関連する通信プロトコルを用いた装置間でセッションを高速に確立する方法およびシステム
US8484331B2 (en) Real time protocol packet tunneling
AU776750B2 (en) Redundant channels over a packet network
WO2010017691A1 (zh) 一种彩信互通前转消息去重保护的实现方法及彩信互联互通网关
US7965625B2 (en) Communication device and logical link abnormality detection method
US20080247413A1 (en) Communication apparatus and communication method
Morneault et al. Signaling system 7 (SS7) message transfer part 2 (MTP2)-User adaptation layer
WO2008031291A1 (fr) Procédé de récupération de synchronisation de numéros de séquence de couche d'adaptation pair à pair à deux couches de transport de signalisation
CN101507133B (zh) 因特网协议网络中的ptt/pts信令
WO2006017969A1 (en) A method for ip fax implement synchronous switch
JP5071696B2 (ja) シグナリング処理装置、リンク切替方法
Lifen et al. The performance study of transmitting MPEG4 over SCTP
US20030231643A1 (en) Signaling gateway for common channel communication through a packet switched network
WO2008031290A1 (fr) Procédé permettant e supprimer rapidement une liaison défaillante m2pa
KR100952480B1 (ko) 광대역 통합망의 가입자 정보 관리 방법 및 그 장치
Morneault et al. Integrated Services Digital Network (ISDN) Q. 921-User Adaptation Layer
WO2008031296A1 (en) A judgement handling method for sequence number of sequenced data in service specific connection oriented protocol

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 06828206

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06828206

Country of ref document: EP

Kind code of ref document: A1