WO2008031296A1 - A judgement handling method for sequence number of sequenced data in service specific connection oriented protocol - Google Patents
A judgement handling method for sequence number of sequenced data in service specific connection oriented protocol Download PDFInfo
- Publication number
- WO2008031296A1 WO2008031296A1 PCT/CN2006/003806 CN2006003806W WO2008031296A1 WO 2008031296 A1 WO2008031296 A1 WO 2008031296A1 CN 2006003806 W CN2006003806 W CN 2006003806W WO 2008031296 A1 WO2008031296 A1 WO 2008031296A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sequence number
- receiving
- buffer
- data
- protocol
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/32—Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/34—Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
Definitions
- the present invention relates to a processing method for a service specific connection-oriented protocol SSCOP (SERVICE SPECIFIC CONNECTION ORIENTED PROTOCOL) in an asynchronous transmission mode ATM signaling network.
- SSCOP service specific connection-oriented protocol
- the SS method is used in the SSCOP protocol layer for the sequenced data SD (Sequenced Data) sequence number.
- SD Sequenced Data
- SSCOP is used on the Iu interface between the core network CN and the radio network controller RNC, the lub interface between the RNC and the base station NodeB, and the Iur interface between the RNCs.
- the protocol performs reliable transmission of signaling data.
- the SSCOP protocol is responsible for the transmission of information and control information between two peer-to-peer entities.
- the upper layer provides services for the service-specific coordination function layer SSCF, and the lower layer interacts with the common part of the ATM adaptation layer, the sub-layer AAL CPCS.
- the SSCOP protocol is defined by the international communication standard ITU-T Q.2110 and provides the following functions: Sequence integrity: Ensures that the transmitted SDCOP SD protocol data unit PDUs are in the same order; Error retransmission: The SSCOP entity at the receiving end is detecting the missing SSCOP service data. When the unit SDU is used, the retransmission mechanism is used for error correction.
- Flow control adjust the transmission rate to adjust the transmission window for flow control; report error to LM: report error to LM; keep link activated: two peers The SSCOP entity can remain connected for a period of time without data transmission.
- Local data retrieval When the link switching occurs on the upper layer, the local SSCOP user can retrieve the SDU that is not released by SSCOP.
- Connection Control This function includes SSCOP. Connection establishment, release, synchronization, and undefined transmission of user-to-user messages to users of different lengths; Data transfer: Transfer of user data between SSCOP users and support both deterministic and non-deterministic data transfers; Protocol error recovery: Detection and recovery of protocol operational errors; Status report: Exchange of status information between sending/receiving peers .
- the basic variables of the SSCOP protocol are described below:
- VR(R) The serial number of the next expected SD PDU, plus 1 after receipt.
- VR(H) The next largest SD PDU that is expected to be received, updates VR(H) when a new SD PDU or POLL PDU is received.
- VR(MR) The maximum number of SD PDUs allowed to be received.
- N(S) The serial number of the current SD PDU.
- the SSCOP processing process increments VR(R) by 1, and then finds whether there is an SD with the sequence number equal to VR(R)+1 in the receive buffer, and SD1 will It was successfully submitted to the upper layer of the business layer, but this is the SD1 with the serial number NS, not the correct SD that the user needs.
- the principle of order consistency that is followed when the SSCOP protocol forwards data violates the business exception, causing the receiver to receive buffered data.
- the serial number of the received SD is less than VR(R)
- the SSCOP ten is not handled properly, and needs to be modified.
- the technical problem to be solved by the present invention is to propose a service specific aspect.
- the method for judging the ordered data sequence number in the connection protocol In the data transmission phase, when the receiver receives the SD sent by the peer, and SD.N(S) is less than VR(R), the receiver can be avoided.
- the present invention proposes a method for judging ordered data numbers in a service-specific connection-oriented protocol, and after receiving the ordered data SD, the received data is based on the ordered data.
- Serial number The values of the SD.N(S) and SSCOP protocol basic variables are judged and the SD is processed according to the judgment result, and the method further includes: determining the ordered data serial number SD, N(S) in the determining and processing process.
- the receiver After receiving the ordered data SD, the receiver performs the following judgment and processing:
- (a) Determine its serial number SD.N(S): If SD.N(S) is greater than or equal to the maximum sequence number VR(MR) of the packet to be received, discard the SD and end; if SD.N(S) Equal to the sequence number VR(R) of the expected received packet, send it to the upper layer service and check the receive buffer, send the legal data to the service layer, and end; if SD.N(S) is less than VR (R), discarding the ordered data, ending; if SD.N(S) is greater than VR(R) and less than VR(MR), performing step (b);
- step (b) Check if there is enough space in the receive buffer to save the SD, if not, end, otherwise, proceed to step (c);
- step (c) determining whether SD.N(S) is equal to or greater than the maximum sequence number VR(H) of the ordered data that is expected to be received, and if so, saving the SD in the buffer; otherwise, performing step (d);
- step (d) Determine whether there is the SD with the same serial number in the receive buffer. If yes, do the protocol error recovery processing with the error type Q. Otherwise, save the SD in the buffer. Further, the above method may further have the following features: In the step (a), SD.N(S) is smaller than
- VR( ), performs protocol error recovery processing with error type Q, and ends. Further, the above method may also have the following features: In the step- ⁇ (a), when SD.N(S) is greater than VR(MR), check whether the local end has received lost space, and if so, to the opposite end Send an unsolicited status PDU, if not, end the process.
- the present invention increases the judgment process of whether the serial number of the SD is greater than the lower boundary VR(R) of the receiving window in the data transmitting phase, and if the serial number of the SD is smaller than the lower boundary of the receiving window, Therefore, it is necessary to take measures and not save it in the receiving buffer of the receiver, thereby avoiding the receiving buffer buffer confusion and the upper layer service being abnormal.
- FIG. 1 is a flow chart of a process after receiving an SD in the prior art.
- FIG. 2 is a schematic diagram of the receiving buffer confusion caused by the processing flow of FIG. 1.
- FIG. 3 is a flow chart showing the processing of the SD serial number in the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In FIG. 3, based on the original processing of the SD serial number, the determination process of the SD serial number and the lower boundary of the receiving window VR(R) is added. The specific steps are as follows: Step 110: Determine whether SD.N(S) is smaller than VR (MR), that is, whether the SD is within the upper boundary of the receiving window WinLen.
- MR VR
- Step 120 It is judged whether the SD is the next SD that the terminal expects to receive, that is, whether SD.N(S) is equal to VR(R), and if it is "true", the SD is sent to the upper layer service and the receiving buffer is checked.
- Step 130 determining whether the serial number of the SD is greater than VR(R), that is, determining whether the SD falls within the lower boundary of the receiving window, if the description is If the data is out of order, the SD is discarded, and the protocol error recovery processing of the error type Q is performed, and the process ends. Otherwise, step 140 is performed; the protocol error recovery processing of the error type Q is performed in the protocol, and the data transfer timer reset data transfer is first reset. Timer, then sends MAA_ERROR-indication(Q) to the layer management, and finally performs error recovery processing.
- Step 140 Check whether there is enough space in the receiving buffer to save the SD.
- Step 150 determine whether the serial number of the SD is equal to VR (H). ), if it is "true”, save the SD in the buffer, otherwise, proceed to step 160;
- Step 160 Determine whether the serial number of the SD is greater than VR(H). If it is "true”, save the SD in the buffer. Because a new lost interval is generated, an unsolicited status PDU needs to be sent to the opposite end to notify the opposite end.
- step 170 determining whether the SD is in the receiving buffer, that is, checking whether there is an SD with the same serial number in the receiving buffer, if "True", do the protocol error recovery processing with the error type Q, otherwise, save the SD in the buffer.
- the step 130 determines whether the serial number of the SD is greater than VR(R), and after placing the SD, checks whether there is any space in the receiving buffer before there is enough space; and steps 110 and 120 The order can be changed.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Communication Control (AREA)
Abstract
A judgement handling method for sequence number of sequenced data in service specific connection oriented protocol, after sequenced data (SD) received by receivers, judges according to the sequence number of sequenced data (SD.N(S)) and value of based variable of SSCOP and deals with the SD based on the judgement, in process of judgement and handling, judges whether the SD.N(S) smaller than the sequence number (VR(R)) of the next data pack that in expectation of receiving by receiving window, if yes, discards said SD, ends, if no, goes on the following judgement and handling.
Description
业务特定面向连接协议中对有序数据序号的判断处理方法 技术领域 本发明涉及一种在异步传输模式 ATM信令网络中业务特定面向连接协议 SSCOP(SERVICE SPECIFIC CONNECTION ORIENTED PROTOCOL)的处理 方法。 尤其涉及链路处于 艮务状态时, SSCOP 协议层中对于有序数据 SD(Sequenced Data)序号的处 S方法。 背景技术 当第三代移动通信系统使用 ATM 技术作为地面传输承载时, 在核心网 CN与无线网络控制器 RNC的 Iu接口, RNC与基站 NodeB间的 lub接口以及 RNC间的 Iur接口上都采用 SSCOP协议进行信令数据的可靠传输。 TECHNICAL FIELD The present invention relates to a processing method for a service specific connection-oriented protocol SSCOP (SERVICE SPECIFIC CONNECTION ORIENTED PROTOCOL) in an asynchronous transmission mode ATM signaling network. In particular, when the link is in the service state, the SS method is used in the SSCOP protocol layer for the sequenced data SD (Sequenced Data) sequence number. BACKGROUND When a third generation mobile communication system uses ATM technology as a terrestrial transmission bearer, SSCOP is used on the Iu interface between the core network CN and the radio network controller RNC, the lub interface between the RNC and the base station NodeB, and the Iur interface between the RNCs. The protocol performs reliable transmission of signaling data.
SSCOP 协议负责在两个点对点实体间进行信息和控制信息的传输。 上层 为业务特定协调功能层 SSCF提供服务, 下层与 ATM适配层的公共部分会聚 子层 AAL CPCS交互。 The SSCOP protocol is responsible for the transmission of information and control information between two peer-to-peer entities. The upper layer provides services for the service-specific coordination function layer SSCF, and the lower layer interacts with the common part of the ATM adaptation layer, the sub-layer AAL CPCS.
SSCOP协议由国际通信标准 ITU-T Q.2110规定, 提供如下功能: 顺序完整性: 保证传送的 SSCOP的 SD协议数据单元 PDU顺序一致; 差错重传:接收端的 SSCOP实体在检测丢失的 SSCOP服务数据单元 SDU 时, 采用重发机制进行纠错; 流量控制: 通过调整发送窗口的大小来调整发送速率进行流量控制; 向 LM报告错误: 向 LM报告已发生差错; 保持链路激活: 两个对等 SSCOP实体之间能够在一段时间没有数据传输 时仍保持连接状态; 本地数据回取: 当上层发生链路倒换时, 本地 SSCOP用户能够回取未被 SSCOP释放的 SDU; 连接控制: 该功能包括 SSCOP连接的建立、 释放、 同步, 以及对不同长 度的用户对 user-to-user消息的不确定传送;
数据传送: 在 SSCOP用户之间传送用户数据, 并同时支持确定和非确定 数据传输; 协议差错恢复: 对协议运行错误的检测和恢复; 状态报告: 在发送 /接收对等实体之间交换状态信息。 SSCOP协议的基本变量说明如下: The SSCOP protocol is defined by the international communication standard ITU-T Q.2110 and provides the following functions: Sequence integrity: Ensures that the transmitted SDCOP SD protocol data unit PDUs are in the same order; Error retransmission: The SSCOP entity at the receiving end is detecting the missing SSCOP service data. When the unit SDU is used, the retransmission mechanism is used for error correction. Flow control: adjust the transmission rate to adjust the transmission window for flow control; report error to LM: report error to LM; keep link activated: two peers The SSCOP entity can remain connected for a period of time without data transmission. Local data retrieval: When the link switching occurs on the upper layer, the local SSCOP user can retrieve the SDU that is not released by SSCOP. Connection Control: This function includes SSCOP. Connection establishment, release, synchronization, and undefined transmission of user-to-user messages to users of different lengths; Data transfer: Transfer of user data between SSCOP users and support both deterministic and non-deterministic data transfers; Protocol error recovery: Detection and recovery of protocol operational errors; Status report: Exchange of status information between sending/receiving peers . The basic variables of the SSCOP protocol are described below:
VR(R) : 下一个期望收到的 SD PDU的序号, 收到后加 1。 VR(R): The serial number of the next expected SD PDU, plus 1 after receipt.
VR(H): 下一个期望收到的最大序号的 SD PDU , 在收到新 SD PDU或 POLL PDU时对 VR(H)进行更新。 VR(H): The next largest SD PDU that is expected to be received, updates VR(H) when a new SD PDU or POLL PDU is received.
VR(MR) : 允许接收的 SD PDU最大序号。 N(S) : 当前 SD PDU的序号。 在数据发送阶段, 当接收方收到对端发送过来的 SD , 且 SD.N(S)小于 VR(R)时, 根据协议规定的处理步骤如图 1所示: VR(MR): The maximum number of SD PDUs allowed to be received. N(S) : The serial number of the current SD PDU. In the data transmission phase, when the receiver receives the SD sent by the peer, and SD.N(S) is less than VR(R), the processing steps according to the protocol are as shown in Figure 1:
1 . 通过判断语句 "SD.N(S)< VR(MR)"来判断这个 SD是否落在接收窗口 WinLen的上边界之内。 此时, 该判断语句为 "真", 进行下一步; 2. 判断 SD是否就是本端期望接收到的下一个 SD ,通过表达式 SD.N(S)=1. Determine whether the SD falls within the upper boundary of the receive window WinLen by judging the statement "SD.N(S)< VR(MR)". At this point, the judgment statement is "true", proceed to the next step; 2. Determine whether the SD is the next SD that the local end expects to receive, by the expression SD.N(S)=
VR(R)判断, 此时, 该判断结果为 进行下一步骤; VR(R) judges, at this time, the judgment result is to proceed to the next step;
3. 进行緩存处理时, 先查看接收緩冲区是否有效, 即查看接收方是否有 足够的接收緩冲区空间保存该 SD。 如果没有, 则丟弃该 SD , 结束处理; 假定 此时存在足够的緩沖区空间, 进行下一步骤; 4. 判断 SD的序号是否等于 VR(H) , 此时, 该判断结果为 "假", 进行下 一步 3. When performing cache processing, first check whether the receive buffer is valid, that is, check if the receiver has enough receive buffer space to save the SD. If not, discard the SD and end the processing; assuming that there is enough buffer space at this time, proceed to the next step; 4. Determine whether the serial number of SD is equal to VR(H), at this time, the judgment result is "false" , proceed to the next step
5. 判断 SD的序号是否大于 VR(H) , 由于 SD的序号小于 VR(H) , 进行下 一步骤; 5. Determine whether the serial number of SD is greater than VR(H). Since the serial number of SD is less than VR(H), proceed to the next step;
6. 检查接收緩冲区中是否存在序号相同的 SD , 如果存在, 则进行协议错 误处理, 否则, 准备保存到接收緩沖区中, 假定此时緩沖区中没有序号相同的
SD, 进^"下一步 -骤; 6. Check whether there is SD with the same serial number in the receiving buffer. If it exists, protocol error processing is performed. Otherwise, it is ready to save to the receiving buffer. It is assumed that there is no serial number in the buffer. SD, enter ^" next step - step;
7. 将 SD保存到接收緩冲区中, 结束处理。 通过上述步骤,如果接收方收到对端发来的 SD,且满足 SD. N(S) < VR(R) 时, 该 SD会被接收方保存在接收方的接收緩冲区中, 但根据协议接收方在将 接收緩冲区的数据提取出来发送给上层用户时, 保存在緩沖区的 SD的序号必 须大于当前接收方的 VR(R) , 因此, 这个保存在接收緩冲区的 SD并不能正常 被取出发送给上层用户。 从而会导致接收方接收緩冲区混乱, 上层业务异常。 混乱情形可见图 2说明: 7. Save the SD to the receive buffer and end processing. Through the above steps, if the receiver receives the SD sent by the peer and satisfies SD. N(S) < VR(R), the SD will be saved by the receiver in the receiving buffer of the receiver, but according to When the protocol receiver extracts the data of the receive buffer and sends it to the upper-layer user, the serial number of the SD stored in the buffer must be greater than the current receiver's VR(R). Therefore, this SD is stored in the receive buffer. Cannot be taken out and sent to the upper layer user. As a result, the receiving side receives buffer confusion and the upper layer service is abnormal. The chaotic situation can be seen in Figure 2:
( 1 ) 接收到乱序的 SD1后, 将 SD1保存在緩沖区中; ( 2 ) 随着系统的运行, SD2传递给上层用户; (1) After receiving the out-of-order SD1, save SD1 in the buffer; (2) SD2 is transmitted to the upper-layer user as the system runs;
( 3 )随着系统的运行, 原来保存在緩冲区的乱序 SD1又重新落在接收窗 口中, 且有 VR(R)= SDl . N(S) -1 , VR(H)> VR(R) , 这时接收到对端发来的 SD, 有 SD. N(S) = VR(R); (3) As the system runs, the out-of-order SD1 originally saved in the buffer falls back into the receiving window, and there are VR(R)=SDl. N(S) -1 , VR(H)> VR( R), at this time, receiving the SD sent from the opposite end, there is SD. N(S) = VR(R);
( 4 ) 在 SSCOP层将该 SD转发上层业务层之后, SSCOP处理进程会将 VR(R)加 1 , 然后查找接收緩冲区中是否存在序号等于 VR(R)+1 的 SD, SD1 就会被顺利地递交给了上层业务层, 但这是序号为 NS的 SD1 , 并不是用户需 要的正确的 SD。 违背了 SSCOP协议转发数据时所要遵循的顺序一致性原则, 会导致业务异常, 使接收方接收緩冲数据混乱。 从上面的描述可知: 在接收到 SD 的序号小于 VR(R)的情况下, SSCOP 十办议处理不当, 需要" ίι爹改。 发明内容 本发明要解决的技术问题是提出一种业务特定面向连接协议中对有序数 据序号的判断处理方法。 在数据发送阶段, 当接收方收到对端发送过来的 SD, 且 SD.N(S)小于 VR(R)时, 可以避免接收方接收緩冲区混乱, 上层业务出现异 常。 为解决上述技术问题,本发明提出一种业务特定面向连接协议中对有序数 据序号的判断处理方法, 接收方接收到有序数据 SD 后, 根据有序数据序号
SD.N(S)和 SSCOP协议基本变量的值进行判断并依据判断结果对该 SD进行相 应处理,其特征在于,在该判断和处理过程中还包括:判断有序数据序号 SD,N(S) 是否小于接收窗口下一个期望收到的数据包的顺序号 VR(R), 如果是, 则丢弃 所述 SD, 结束, 否则再继续后续判断和处理。 进一步, 上述方法还可具有以下特点: 接收方接收到有序数据 SD后, 执 行以下判断和处理过程: (4) After the SDCOP layer forwards the SD to the upper layer service layer, the SSCOP processing process increments VR(R) by 1, and then finds whether there is an SD with the sequence number equal to VR(R)+1 in the receive buffer, and SD1 will It was successfully submitted to the upper layer of the business layer, but this is the SD1 with the serial number NS, not the correct SD that the user needs. The principle of order consistency that is followed when the SSCOP protocol forwards data violates the business exception, causing the receiver to receive buffered data. As can be seen from the above description: In the case where the serial number of the received SD is less than VR(R), the SSCOP ten is not handled properly, and needs to be modified. The technical problem to be solved by the present invention is to propose a service specific aspect. The method for judging the ordered data sequence number in the connection protocol. In the data transmission phase, when the receiver receives the SD sent by the peer, and SD.N(S) is less than VR(R), the receiver can be avoided. In order to solve the above technical problem, the present invention proposes a method for judging ordered data numbers in a service-specific connection-oriented protocol, and after receiving the ordered data SD, the received data is based on the ordered data. Serial number The values of the SD.N(S) and SSCOP protocol basic variables are judged and the SD is processed according to the judgment result, and the method further includes: determining the ordered data serial number SD, N(S) in the determining and processing process. Whether it is smaller than the sequence number VR(R) of the next expected packet received in the receiving window, if yes, discard the SD and end, otherwise continue the subsequent judgment and processing. Further, the above method may also have the following features: After receiving the ordered data SD, the receiver performs the following judgment and processing:
( a ) 判断其序号 SD.N(S): 如果 SD.N(S)大于等于允许接收数据包的最大序号 VR(MR), 则丟弃所述 SD, 结束; 如果 SD.N(S)等于期望收到的数据包的顺序号 VR(R), 则将其发送给上层 业务并检查接收緩冲区, 把其中合法的数据发送给业务层, 结束; 如果 SD.N(S)小于 VR(R), 则丟弃所述有序数据, 结束; 如果 SD.N(S)大于 VR(R)且小于 VR(MR), 执行步骤 ( b ); (a) Determine its serial number SD.N(S): If SD.N(S) is greater than or equal to the maximum sequence number VR(MR) of the packet to be received, discard the SD and end; if SD.N(S) Equal to the sequence number VR(R) of the expected received packet, send it to the upper layer service and check the receive buffer, send the legal data to the service layer, and end; if SD.N(S) is less than VR (R), discarding the ordered data, ending; if SD.N(S) is greater than VR(R) and less than VR(MR), performing step (b);
( b ) 查看接收緩冲区中是否有足够的空间保存所述 SD, 如果没有, 结 束, 否则, 执 4亍步骤 (c ); (b) Check if there is enough space in the receive buffer to save the SD, if not, end, otherwise, proceed to step (c);
( c )判断 SD.N(S)是否等于或大于期望收到的有序数据最大序号 VR(H), 如果是, 将 SD保存在緩沖区中; 否则, 执行步骤 (d ); (c) determining whether SD.N(S) is equal to or greater than the maximum sequence number VR(H) of the ordered data that is expected to be received, and if so, saving the SD in the buffer; otherwise, performing step (d);
( d ) 判断接收緩沖区中是否存在序号相同的所述 SD, 如果是, 做错误 类型为 Q的协议错误恢复处理, 否则, 将 SD保存在緩冲区中。 进一步, 上述方法还可具有以下特点: 所述步驟 (a ) 中, SD.N(S)小于(d) Determine whether there is the SD with the same serial number in the receive buffer. If yes, do the protocol error recovery processing with the error type Q. Otherwise, save the SD in the buffer. Further, the above method may further have the following features: In the step (a), SD.N(S) is smaller than
VR( ), 进行错误类型为 Q的协议错误恢复处理, 结束。 进一步, 上述方法还可具有以下特点: 所述步 -猓 (a ) 中, SD.N(S)大于 VR(MR)时, 查看本端是否有接收丢失的空间, 如果有, 则向对端发送非请求 的状态 PDU , 如果没有, 结束处理。 与现有技术相比, 本发明在数据发送阶段, 增加对 SD的序号是否大于接 收窗口的下边界 VR(R)的判断处理, 如果 SD的序号小于接收窗口的下边界,
则需要采取措施, 不将其保存在接收方的接收緩冲区中, 从而, 避免了接收方 接收緩冲区混乱, 上层业务出现异常。 附图说明 图 1为现有技术中收到 SD后的处理流程图。 图 2为图 1的处理流程中造成接收緩冲区混乱的示意图。 图 3为实施例中对 SD序号的处理流程图。 具体实施方式 ' 图 3中在原来对 SD序号处理的基础上, 增加了 SD序号和接收窗口下边 界 VR(R)的判断过程, 具体步骤如下: 步骤 110, 判断 SD.N(S)是否小于 VR(MR), 即判断所迷 SD是否落在接 收窗口 WinLen的上边界之内。 如果为 "真", 则执行步骤 120; 否则, 丟弃所 述 SD, 查看本端是否有接收丟失的空间, 如果有, 则向对端发送 USTAT PDU, 如果没有, 则结束处理; 步骤 120, 判断 SD是否为本端期望接收到的下一个 SD, 即判断 SD.N(S) 是否等于 VR(R), 如果为 "真", 则将所述 SD发送给上层业务并检查接收緩冲 区, 将其中合法的数据发送给业务层, 结束, 否则, 执行步骤 130; 步驟 130, 判断 SD的序号是否大于 VR(R), 即判断 SD是否落在接收窗 口的下边界之内, 如果为 说明数据乱序, 则丟弃 SD, 进行错误类型为 Q的协议错误恢复处理, 结束, 否则, 执行步骤 140; 协议中进行错误类型为 Q 的协议错误恢复处理, 首先复位数据传送定时 器 reset data transfer timer , 然后向层管理发送 MAA_ERROR-indication(Q) , 最 后进行差错恢复处理。 步骤 140 , 查看接收緩沖区中是否有足够的空间保存所述 SD, 如果为 "假 ", 则丟弃该 SD, 结束, 否则, 执行步骤 150; 步骤 150, 判断 SD的序号是否等于 VR(H) , 如果为 "真", 将 SD保存在 緩冲区中, 否则, 执 4亍步骤 160;
步骤 160 , 判断 SD的序号是否大于 VR(H), 如果为 "真", 将 SD保存在 緩沖区中, 由于产生了新的丢失区间, 需要向对端发送非请求的状态 PDU, 通 知对端接收到的数据有丢失, 请求对端重发; 否则, 执行步骤 170; 步骤 170 , 判断所述 SD是否在接收緩冲区中, 即检查接收緩冲区中是否 存在序号相同的 SD, 如果为 "真", 做错误类型为 Q的协议错误恢复处理, 否 则, 将 SD保存在緩冲区中。 在另一实施例中,如果所述步骤 130收到 SD的序号 SD.N(S)小于 VR(R), 则丢弃所述 SD, 不再进行错误类型为 Q的协议错误恢复处理, 结束。 在其他实施例中, 步骤 130对 SD的序号是否大于 VR(R)的判断可以放在 接收到 SD之后, 查看接收緩沖区中是否有足够的空间之前的任何地方; 而且 步骤 110和步骤 120的顺序可换。
VR( ), performs protocol error recovery processing with error type Q, and ends. Further, the above method may also have the following features: In the step-猓(a), when SD.N(S) is greater than VR(MR), check whether the local end has received lost space, and if so, to the opposite end Send an unsolicited status PDU, if not, end the process. Compared with the prior art, the present invention increases the judgment process of whether the serial number of the SD is greater than the lower boundary VR(R) of the receiving window in the data transmitting phase, and if the serial number of the SD is smaller than the lower boundary of the receiving window, Therefore, it is necessary to take measures and not save it in the receiving buffer of the receiver, thereby avoiding the receiving buffer buffer confusion and the upper layer service being abnormal. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart of a process after receiving an SD in the prior art. FIG. 2 is a schematic diagram of the receiving buffer confusion caused by the processing flow of FIG. 1. FIG. 3 is a flow chart showing the processing of the SD serial number in the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In FIG. 3, based on the original processing of the SD serial number, the determination process of the SD serial number and the lower boundary of the receiving window VR(R) is added. The specific steps are as follows: Step 110: Determine whether SD.N(S) is smaller than VR (MR), that is, whether the SD is within the upper boundary of the receiving window WinLen. If yes, go to step 120; otherwise, discard the SD and check whether the local end has received the lost space. If yes, send the USTAT PDU to the peer. If not, the process ends. Step 120 It is judged whether the SD is the next SD that the terminal expects to receive, that is, whether SD.N(S) is equal to VR(R), and if it is "true", the SD is sent to the upper layer service and the receiving buffer is checked. And sending the legal data to the service layer, and ending, otherwise, performing step 130; Step 130, determining whether the serial number of the SD is greater than VR(R), that is, determining whether the SD falls within the lower boundary of the receiving window, if the description is If the data is out of order, the SD is discarded, and the protocol error recovery processing of the error type Q is performed, and the process ends. Otherwise, step 140 is performed; the protocol error recovery processing of the error type Q is performed in the protocol, and the data transfer timer reset data transfer is first reset. Timer, then sends MAA_ERROR-indication(Q) to the layer management, and finally performs error recovery processing. Step 140: Check whether there is enough space in the receiving buffer to save the SD. If it is "false", discard the SD and end. Otherwise, go to step 150. Step 150, determine whether the serial number of the SD is equal to VR (H). ), if it is "true", save the SD in the buffer, otherwise, proceed to step 160; Step 160: Determine whether the serial number of the SD is greater than VR(H). If it is "true", save the SD in the buffer. Because a new lost interval is generated, an unsolicited status PDU needs to be sent to the opposite end to notify the opposite end. If the received data is lost, the requesting end retransmits; otherwise, step 170 is performed; Step 170, determining whether the SD is in the receiving buffer, that is, checking whether there is an SD with the same serial number in the receiving buffer, if "True", do the protocol error recovery processing with the error type Q, otherwise, save the SD in the buffer. In another embodiment, if the sequence number SD.N(S) of the SD received by the step 130 is less than VR(R), the SD is discarded, and the protocol error recovery process of the error type Q is not performed, and the process ends. In other embodiments, the step 130 determines whether the serial number of the SD is greater than VR(R), and after placing the SD, checks whether there is any space in the receiving buffer before there is enough space; and steps 110 and 120 The order can be changed.
Claims
一种业务特定面向连接协议中对有序数据序号的判断处理方法, 接收方 接收到有序数据 SD后, 根据有序数据序号 SD.N(S)和 SSCOP协议基本 变量的值进行判断并依据判断结果对该 SD进行相应处理, 其特征在于, 在该判断和处理过程中还包括: 判断有序数据序号 SD.N(S)是否小于接 收窗口下一个期望收到的数据包的顺序号 VR(R), 如果是, 则丟弃所述 SD, 结束, 否则再继续后续判断和处理。 A method for judging the ordered data sequence number in a service-specific connection-oriented protocol, after receiving the ordered data SD, the receiver determines and according to the value of the ordered data sequence SD.N(S) and the SSCOP protocol basic variable The judgment result is correspondingly processed to the SD, and the method further includes: determining whether the ordered data sequence number SD.N(S) is smaller than a sequence number VR of the next expected data packet in the receiving window. (R), if yes, discard the SD and end, otherwise continue the subsequent judgment and processing.
权 Right
如权利要求 1 所述方法, 其特征在于: 接收方接收到有序数据 SD后, 执 4亍以下判断和处理过程: The method according to claim 1, wherein: after receiving the ordered data SD, the receiving party performs the following judgment and processing:
( a ) 判断其序号 SD.N(S): (a) determine its serial number SD.N(S):
如果 SD.N(S)大于等于允许接收数据书包的最大序号 VR(MR) , 则丢 弃所述 SD, 结束; If SD.N(S) is greater than or equal to the maximum sequence number VR(MR) of the data packet that is allowed to be received, discard the SD and end;
如果 SD.N(S)等于期望收到的数据包的顺序号 VR(R) , 则将其发送 给上层业务并检查接收緩沖区, 把其中合法的数据发送给业务层, 结束; 如果 SD.N(S)小于 VR(R) , 则丢弃所述有序数据, 结束; If SD.N(S) is equal to the sequence number VR(R) of the packet to be received, it is sent to the upper layer service and checks the receiving buffer, and the legal data is sent to the service layer, ending; if SD. If N(S) is less than VR(R), the ordered data is discarded, and the process ends;
如果 SD.N(S)大于 VR(R)且小于 VR(MR), 执行步骤 ( b ); If SD.N(S) is greater than VR(R) and less than VR(MR), perform step (b);
( b )查看接收緩冲区中是否有足够的空间保存所述 SD,如果没有, 结束, 否则, 执行步骤 (c ); (b) Check if there is enough space in the receive buffer to save the SD, if not, end, otherwise, perform step (c);
( c ) 判断 SD.N(S)是否等于或大于期望收到的有序数据最大序号 VR(H), 如果是, 将 SD保存在緩冲区中; 否则, 执行步骤 (d ); (c) determine whether SD.N(S) is equal to or greater than the maximum sequence number VR(H) of the ordered data that is expected to be received, and if so, save the SD in the buffer; otherwise, perform step (d);
( d )判断接收緩冲区中是否存在序号相同的所述 SD , 如果是, 做 错误类型为 Q的协议错误恢复处理, 否则, 将 SD保存在緩冲区中。 如权利要求 1或 2所述方法, 其特征在于: (d) judging whether there is the SD with the same serial number in the receiving buffer, and if so, doing the protocol error recovery processing with the error type Q, otherwise, saving the SD in the buffer. The method of claim 1 or 2, characterized by:
所述步骤(a ) 中, SD.N(S)小于 VR(R) , 进行错误类型为 Q的协议 错误恢复处理, 结束。 如权利要求 2所述方法, 其特征在于: In the step (a), SD.N(S) is smaller than VR(R), and the protocol error recovery processing of the error type Q is performed, and the process ends. The method of claim 2 wherein:
所述步 -骤 (a ) 中, SD.N(S)大于 VR(MR)时, 查看本端是否有接收
丢失的空间, 如果有, 则向对端发送非请求的状态 PDU, 如果没有' 结 束处理。
In the step-by-step (a), when SD.N(S) is greater than VR(MR), check whether the local end receives Lost space, if any, sends an unsolicited status PDU to the peer, if there is no 'end processing.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610126964.6 | 2006-09-11 | ||
CNA2006101269646A CN101146024A (en) | 2006-09-11 | 2006-09-11 | Determination and processing method of sequential data SN in service-specific connection protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008031296A1 true WO2008031296A1 (en) | 2008-03-20 |
Family
ID=39183372
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2006/003806 WO2008031296A1 (en) | 2006-09-11 | 2006-12-31 | A judgement handling method for sequence number of sequenced data in service specific connection oriented protocol |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101146024A (en) |
WO (1) | WO2008031296A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102008046576A1 (en) | 2008-09-10 | 2010-03-18 | Siemens Aktiengesellschaft | Three-phase choke coil device for filter circuit utilized for output sinusoidal filter of frequency converter, has yokes that are linked with each other such that magnetic fluid flows into legs in leg direction |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105743815B (en) * | 2016-04-06 | 2021-09-10 | 腾讯科技(深圳)有限公司 | Method and apparatus for jitter buffer data processing |
CN109714326A (en) * | 2018-12-21 | 2019-05-03 | 北京明朝万达科技股份有限公司 | A kind of application layer data sequence group packet method, apparatus, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11145989A (en) * | 1997-11-13 | 1999-05-28 | Matsushita Electric Ind Co Ltd | Atm communication equipment and atm communication method |
JPH11261593A (en) * | 1998-03-06 | 1999-09-24 | Nec Corp | Recovery system for sscop resending abnormality |
CN1561487A (en) * | 2001-04-25 | 2005-01-05 | 诺基亚公司 | Method and system for interlayer control between re-sequencing and retransmission entities |
CN1768498A (en) * | 2001-10-19 | 2006-05-03 | 艾利森电话股份有限公司 | Avoiding stall conditions and sequence number ambiguity in an automatic repeat request protocol |
-
2006
- 2006-09-11 CN CNA2006101269646A patent/CN101146024A/en active Pending
- 2006-12-31 WO PCT/CN2006/003806 patent/WO2008031296A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11145989A (en) * | 1997-11-13 | 1999-05-28 | Matsushita Electric Ind Co Ltd | Atm communication equipment and atm communication method |
JPH11261593A (en) * | 1998-03-06 | 1999-09-24 | Nec Corp | Recovery system for sscop resending abnormality |
CN1561487A (en) * | 2001-04-25 | 2005-01-05 | 诺基亚公司 | Method and system for interlayer control between re-sequencing and retransmission entities |
CN1768498A (en) * | 2001-10-19 | 2006-05-03 | 艾利森电话股份有限公司 | Avoiding stall conditions and sequence number ambiguity in an automatic repeat request protocol |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102008046576A1 (en) | 2008-09-10 | 2010-03-18 | Siemens Aktiengesellschaft | Three-phase choke coil device for filter circuit utilized for output sinusoidal filter of frequency converter, has yokes that are linked with each other such that magnetic fluid flows into legs in leg direction |
Also Published As
Publication number | Publication date |
---|---|
CN101146024A (en) | 2008-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6674713B1 (en) | Method and apparatus for providing continuous voice and call communications between a data network and a telephony network | |
KR100949245B1 (en) | Congestion notification in 3g radio access | |
JP3183343B2 (en) | Data communication method, terminal device, relay device, data communication system and recording medium thereof | |
US7965729B2 (en) | Transferring data such as files | |
JP4489971B2 (en) | Method and apparatus for managing polling requests in data communication | |
CN1290286C (en) | Automatic repeat request protocol | |
JP3905385B2 (en) | Method and apparatus for maintaining synchronization in connection with resetting a communication connection | |
US7965625B2 (en) | Communication device and logical link abnormality detection method | |
EP1344359B1 (en) | Method of enhancing the efficiency of data flow in communication systems | |
US7843849B2 (en) | Packet data transmission in third generation mobile system | |
US20050105499A1 (en) | Communication device | |
BRPI0009590B1 (en) | packet drop notification for semi-reliable relay protocol | |
CN101237392B (en) | A network failure testing method under asynchronous transmission mode | |
WO2008031296A1 (en) | A judgement handling method for sequence number of sequenced data in service specific connection oriented protocol | |
US20040017784A1 (en) | Method of improving the performance between one mobile station and a base station by selective setting of the retransmission time-out values | |
EP1422882A1 (en) | System and method of unacknowledged network layer service access point indentifier (NSAPI) recovery in sub-network dependent convergence protocol (SNDCP) communication | |
JPH08316989A (en) | Method for controlling transfer data quantity and device therefor | |
JPH10262066A (en) | Connection establishment system | |
Akyildiz et al. | A new ATM adaptation layer for TCP/IP over wireless ATM networks | |
JP2001136209A (en) | Communication apparatus | |
Akyildiz et al. | TCP performance improvement over wireless ATM networks through a new AAL protocol | |
JPH0818601A (en) | Relay transfer system | |
JPH0738612A (en) | Gateway | |
JP2001352339A (en) | Communication system | |
WO2002065677A1 (en) | Self-synchronising packet protocol for wireless data communications |
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: 06840836 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC OF 300609 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 06840836 Country of ref document: EP Kind code of ref document: A1 |