CN101415211B - Method, system and apparatus for processing switch - Google Patents
Method, system and apparatus for processing switch Download PDFInfo
- Publication number
- CN101415211B CN101415211B CN200710181822A CN200710181822A CN101415211B CN 101415211 B CN101415211 B CN 101415211B CN 200710181822 A CN200710181822 A CN 200710181822A CN 200710181822 A CN200710181822 A CN 200710181822A CN 101415211 B CN101415211 B CN 101415211B
- Authority
- CN
- China
- Prior art keywords
- asn
- data
- target
- serving
- anchor
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/02—Buffering or recovering information during reselection ; Modification of the traffic flow during hand-off
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种切换处理方法,包括以下步骤:MS即将切换到的TargetASN获取Anchor ASN缓存的第一个数据的序列号SN′以及所述Serving ASN未发送到所述MS的最后一个数据的序列号SN;所述Target ASN从所述Serving ASN获取序列号SN至SN′之间的数据;所述Target ASN向MS发送从所述序列号SN开始的数据。通过本发明实施例提供的方法,无论数据路径预先注册过程是在切换准备阶段完成还是在切换执行阶段完成,都能够实现切换中数据的完整性;同时Anchor ASN不需要向所有的Target ASN单播数据,且克服了切换的时延问题。
The invention discloses a handover processing method, which includes the following steps: the TargetASN to which the MS is about to handover obtains the serial number SN' of the first data cached by the Anchor ASN and the serial number SN' of the last data not sent to the MS by the Serving ASN Serial number SN; the Target ASN acquires data between serial numbers SN to SN' from the Serving ASN; the Target ASN sends data starting from the serial number SN to the MS. Through the method provided by the embodiment of the present invention, regardless of whether the pre-registration process of the data path is completed in the handover preparation phase or the handover execution phase, the integrity of the data in the handover can be realized; at the same time, the Anchor ASN does not need to unicast to all Target ASNs data, and overcome the handover delay problem.
Description
技术领域 technical field
本发明涉及通信技术领域,尤其涉及一种切换处理方法、系统和装置。The present invention relates to the technical field of communications, and in particular to a handover processing method, system and device.
背景技术 Background technique
WiMAX(Worldwide Interoperability for Microwave Access,全球接入微波互操作性)是一种基于IEEE 802.16标准的无线城域网技术。WiMAX网络主要由MSS/SS(客户端)、ASN(Access Service Network,接入业务网)、CSN(Connectivity Service Network,连接业务网)三部分组成,其中,ASN包括BS(Base Station,基站)和ASN-GW(ASN Gateway,接入业务网网关),CSN包括AAA Server(Authentication Authorization Accounting,认证、授权和计费服务器)等逻辑实体。WiMAX网络无线侧是基于IEEE 802.16d/e标准的无线城域网接入技术,主要遵循2004年7月制定的IEEE 802.16-2004(802.16d)标准。IEEE 802.16-2004(802.16d)标准工作频段是2GHz到11GHz,是授权和非授权的混合频段。WiMAX采用OFDM(Orthogonal FrequencyDivision Multiplexing,正交频分复用技术)和OFDMA(Orthogonal FrequencyDivision Multiple Access,正交频分多址接入)的物理层,能有效的抗多径衰落,在最佳信道衰落情况下,传输速率可以逼近75Mbps。IEEE 802.16-2004(802.16d)标准用于城域网中的非视距点对多点技术,主要是固定和游牧网络的形式。WiMAX (Worldwide Interoperability for Microwave Access) is a wireless metropolitan area network technology based on the IEEE 802.16 standard. The WiMAX network is mainly composed of three parts: MSS/SS (client), ASN (Access Service Network, access service network), CSN (Connectivity Service Network, connection service network). Among them, ASN includes BS (Base Station, base station) and ASN-GW (ASN Gateway, access service network gateway), CSN includes logical entities such as AAA Server (Authentication Authorization Accounting, authentication, authorization and accounting server). The wireless side of the WiMAX network is a wireless metropolitan area network access technology based on the IEEE 802.16d/e standard, which mainly follows the IEEE 802.16-2004 (802.16d) standard formulated in July 2004. IEEE 802.16-2004 (802.16d) standard working frequency band is 2GHz to 11GHz, which is a mixed frequency band of licensed and unlicensed. WiMAX adopts the physical layer of OFDM (Orthogonal Frequency Division Multiplexing, Orthogonal Frequency Division Multiplexing) and OFDMA (Orthogonal Frequency Division Multiple Access, Orthogonal Frequency Division Multiple Access), which can effectively resist multipath fading and Under normal circumstances, the transmission rate can approach 75Mbps. The IEEE 802.16-2004 (802.16d) standard is used for non-line-of-sight point-to-multipoint technology in metropolitan area networks, mainly in the form of fixed and nomadic networks.
图1所示为WiMAX网络逻辑架构图,WiMAX网络主要组成部分以及功能具体为:(1)客户端(MSS/MS):用于接入WiMAX网络。(2)接入业务网(ASN):用于为WiMAX终端提供无线接入服务的网络功能集合,ASN包括BS和ASN-GW网元,其中BS网元的主要功能为:提供BS和MS(Mobile Station,移动终端)的L2连接、无线资源管理等;ASN-GW网元的主要功能为:为MS认证、授权和计费功能提供客户端功能,为MS提供L3信息的Relay(中继)功能(如IP地址分配)、ASN内切换等。(3)连接业务网(CSN):用于为WiMAX终端提供IP连接服务,具体为:MS的IP地址分配、Internet接入、AAA proxy或者server(服务器)、基于用户的授权控制等。FIG. 1 shows a logical architecture diagram of a WiMAX network. The main components and functions of the WiMAX network are as follows: (1) Client (MSS/MS): used to access the WiMAX network. (2) Access Service Network (ASN): A set of network functions used to provide wireless access services for WiMAX terminals. The ASN includes BS and ASN-GW network elements. Mobile Station, mobile terminal) L2 connection, wireless resource management, etc.; the main functions of the ASN-GW network element are: providing client functions for MS authentication, authorization and billing functions, and providing L3 information relay (relay) for MS Functions (such as IP address allocation), intra-ASN switching, etc. (3) Connection service network (CSN): used to provide IP connection services for WiMAX terminals, specifically: MS IP address allocation, Internet access, AAA proxy or server (server), user-based authorization control, etc.
WiMAX网络中的逻辑实体间通过R1至R6的接口进行通信,各网元及接口关系如图1所示。Logical entities in the WiMAX network communicate through interfaces R1 to R6, and the relationship between network elements and interfaces is shown in Figure 1.
ASN的作用主要包括以下几个方面:确保WiMAX终端与WiMAX基站之间二层连接的建立;无线资源管理;网络发现以及WiMAX用户网络业务供应商的最优选择;在代理移动IP模式下,充当代理服务器控制WiMAX用户的认证、授权以及计费消息;为WiMAX终端三层应用连接的建立提供中继。The role of the ASN mainly includes the following aspects: ensuring the establishment of a
CSN的作用主要包括以下几个方面:为WiMAX用户会话分配IP地址;提供互联网接入;充当认证授权计费代理服务器或者认证授权计费服务器;基于用户签约数据进行策略和访问控制;支持ASN与CSN之间隧道的建立;支持WiMAX用户话单的生成以及跨运营商之间的WiMAX业务结算;支持CSN之间漫游隧道的建立;支持ASN之间的移动性;支持多种WiMAX业务,例如基于位置的业务、端到端业务、多媒体广播与多播业务等。The role of the CSN mainly includes the following aspects: assigning IP addresses for WiMAX user sessions; providing Internet access; acting as an authentication, authorization, and accounting proxy server or authentication, authorization, and accounting server; performing policy and access control based on user subscription data; supporting ASN and The establishment of tunnels between CSNs; support the generation of WiMAX user bills and settlement of WiMAX services between operators; support the establishment of roaming tunnels between CSNs; support mobility between ASNs; support multiple WiMAX services, such as based on Location-based services, end-to-end services, multimedia broadcast and multicast services, etc.
在现有WiMAX技术中,一个完整的切换流程一般分为两个阶段,第一阶段为切换准备阶段,第二阶段为切换执行阶段。以下结合实施例对两个阶段的流程作详细描述。In the existing WiMAX technology, a complete handover process is generally divided into two stages, the first stage is the handover preparation stage, and the second stage is the handover execution stage. The process of the two stages will be described in detail below in conjunction with the embodiments.
切换准备阶段(Handover Preparation)的流程如图2所示,包括以下步骤:The process of the handover preparation phase (Handover Preparation) is shown in Figure 2, including the following steps:
步骤S201、MS向Serving ASN(服务接入业务网)发送MOB_MSHO-REQ(切换请求)消息,发起切换过程。In step S201, the MS sends a MOB_MSHO-REQ (handover request) message to the Serving ASN (Serving Access Service Network) to initiate a handover process.
步骤S202、ServingASN向一个或者多个TargetASNs(目标接入业务网)发送R4接口的HO_Req(切换请求)消息。所述Target ASNs为潜在切换TargetBSs(目标基站)所在的ASN。In step S202, the ServingASN sends a HO_Req (handover request) message of the R4 interface to one or more TargetASNs (target access service networks). The Target ASNs are the ASNs where the potential handover TargetBSs (target base stations) are located.
步骤S203、Target ASNs发起上下文请求过程(Context Request procedure),向Authenticator ASN(授权接入业务网)请求MS的AK(Authorization Key,授权键)上下文。该步骤也可能在切换执行过程完成。Step S203, Target ASNs initiates the context request procedure (Context Request procedure), and requests the AK (Authorization Key, authorization key) context of the MS from the Authenticator ASN (authorized access service network). This step may also be done during handover execution.
步骤S204、Target ASNs发起到Anchor ASN(锚点接入业务网)的数据路径预建立过程。如果AnchorASN不支持数据路径预建立过程,则向TargetASN(s)返回Path_Prereg_Rsp(路径预建立应答)消息,并且在消息中携带错误指示,此时则需要在切换执行阶段执行该过程。因此,数据路径预建立过程步骤在切换准备阶段是可选的,既可以在切换准备阶段完成,也可以在后续的切换执行阶段完成。但是由于在现有技术中,如果需要支持数据完整性,则此步骤必须在切换准备阶段执行,此时Anchor ASN要执行以下步骤:Anchor ASN沿数据路径树(如图4所示)向Target ASNs单播数据,并且将第一个单播数据的序列号SN’(sequence number,序列号)发送给Target ASNs。Step S204, Target ASNs initiates a data path pre-establishment process to Anchor ASN (anchor access service network). If the AnchorASN does not support the data path pre-establishment process, it returns a Path_Prereg_Rsp (path pre-establishment response) message to the TargetASN(s) and carries an error indication in the message. At this time, this process needs to be performed in the handover execution phase. Therefore, the data path pre-establishment process step is optional in the handover preparation phase, and can be completed in the handover preparation phase or in the subsequent handover execution phase. However, in the prior art, if data integrity needs to be supported, this step must be performed in the handover preparation phase. At this time, the Anchor ASN needs to perform the following steps: Unicast data, and send the sequence number SN' (sequence number, sequence number) of the first unicast data to Target ASNs.
步骤S205、Target ASNs向Serving ASN发送R4接口的HO_Rsp(切换响应)消息确认切换请求。Step S205, the Target ASNs sends a HO_Rsp (handover response) message of the R4 interface to the Serving ASN to confirm the handover request.
步骤S206、ServingASN接收到TargetASNs发送的HO_Rsp消息后,向MS发送MOB_BSHO-RSP(切换响应)消息,该MOB_BSHO-RSP消息中包含一个或者多个网络选择的潜在的Target BS供MS切换。Step S206, after the ServingASN receives the HO_Rsp message sent by the TargetASNs, it sends a MOB_BSHO-RSP (handover response) message to the MS, and the MOB_BSHO-RSP message includes one or more potential Target BSs selected by the network for the MS to switch over.
步骤S207、Serving ASN向Target ASNs发送R4接口的HO_Ack(切换应答)消息。Step S207, the Serving ASN sends the HO_Ack (handover acknowledgment) message of the R4 interface to the Target ASNs.
切换执行阶段的流程如图3所示,包括以下步骤:The process of switching the execution stage is shown in Figure 3, including the following steps:
步骤S301、MS向Serving ASN发送MOB_HO-IND(切换指示)消息,指示MS要切换到其在切换准备阶段所选择的某一Target BS上。Step S301, the MS sends a MOB_HO-IND (handover instruction) message to the Serving ASN, instructing the MS to handover to a Target BS selected by it in the handover preparation phase.
步骤S302、Serving ASN接收并根据该MOB_HO-IND消息,向MS选择的Target ASN发送R4接口的HO_Cnf(切换确认)消息。如果需要支持数据完整性,此时ServingASN需停止向源BS发送下行数据,且缓存AnchorASN发送的数据,并且在向Target ASN发送的HO_Cnf消息中携带最后一个未发送给源BS的数据的序列号SN。Step S302, the Serving ASN receives and sends the HO_Cnf (Handover Confirmation) message of the R4 interface to the Target ASN selected by the MS according to the MOB_HO-IND message. If data integrity needs to be supported, the ServingASN needs to stop sending downlink data to the source BS at this time, and cache the data sent by the AnchorASN, and carry the serial number SN of the last data not sent to the source BS in the HO_Cnf message sent to the Target ASN .
步骤S303、Target ASN接收到HO_Cnf消息后,向Serving ASN发送R4接口的HO_Ack(切换应答)消息。Step S303, after the Target ASN receives the HO_Cnf message, it sends the HO_Ack (handover response) message of the R4 interface to the Serving ASN.
步骤S304、Target ASN发起上下文请求过程(Context Request procedure),向Authenticator ASN请求MS的AK上下文。如果该过程已经在切换准备过程完成,则此步骤不存在。Step S304, the Target ASN initiates a context request procedure (Context Request procedure), and requests the AK context of the MS from the Authenticator ASN. This step does not exist if the process has already been completed during the handover preparation process.
步骤S305、如果在切换准备阶段没有执行数据路径预先注册过程(DataPath Pre-Reg Procedure),则在此步骤中执行该过程。Step S305, if the data path pre-registration procedure (DataPath Pre-Reg Procedure) is not executed in the handover preparation phase, then execute the procedure in this step.
步骤S306、MS发起到Target ASN的重新入网过程。在MS入网成功后,TargetASN将保存的数据发送给MS,发送的数据为:从其接收到的序列号为SN的数据开始发送。In step S306, the MS initiates a re-entry process to the Target ASN. After the MS successfully accesses the network, the TargetASN sends the stored data to the MS, and the sent data is: start sending from the received data with the serial number SN.
步骤S307、Target ASN发起到Anchor ASN的数据路径注册过程(Data PathRegistration procedure),建立起到Anchor ASN的数据平面。建立数据平面后,Anchor ASN将下行数据发送给Target ASN,然后由Target ASN发给MS。In step S307, the Target ASN initiates a data path registration procedure (Data Path Registration procedure) to the Anchor ASN, and establishes a data plane to the Anchor ASN. After the data plane is established, the Anchor ASN sends the downlink data to the Target ASN, and then the Target ASN sends it to the MS.
步骤S308、Target ASN发起CMAC Key Count Update过程,更新Authenticator ASN中CMAC Key Count值。Step S308, the Target ASN initiates the CMAC Key Count Update process to update the CMAC Key Count value in the Authenticator ASN.
步骤S309、TargetASN向ServingASN发送R4接口的HO_Complete(切换完成)消息,通知Serving ASN切换完成;Serving ASN接收到HO_Complete消息后,释放MS的上下文信息。Step S309, the TargetASN sends a HO_Complete (handover complete) message of the R4 interface to the ServingASN, notifying the Serving ASN that the handover is complete; after receiving the HO_Complete message, the Serving ASN releases the context information of the MS.
步骤S310、Anchor ASN向Serving ASN发起取消数据路径注册过程(DataPath De-Registration)。Step S310, the Anchor ASN initiates a data path registration cancellation process (DataPath De-Registration) to the Serving ASN.
步骤S311、Anchor ASN取消所有未被选择的Target ASN的预先注册的数据路径。Step S311, the Anchor ASN cancels all pre-registered data paths of the Target ASNs that are not selected.
在现有WiMAX技术中,需要保证切换过程中数据的完整性,以减少切换过程中的丢包现象,实现真正的无损切换。目前保证切换过程中数据完整性的方案分为基础方案和建立在基础方案之上的带ARQ(AutomaticRepeat-reQuest,自动重传请求)同步机制的方案两种,后者是更细粒度的方案,需要建立在前者的基础方案之上。In the existing WiMAX technology, it is necessary to ensure the integrity of data during the handover process, so as to reduce packet loss during the handover process and realize a true lossless handover. At present, the schemes for ensuring data integrity in the switching process are divided into two types: the basic scheme and the scheme with ARQ (Automatic Repeat-reQuest, automatic repeat request) synchronization mechanism based on the basic scheme. The latter is a more fine-grained scheme. It needs to be built on the basis of the former.
现有技术一中存在一种沿多个路径树单播的数据完整性方法,该方法的基本原理已经体现在上述实施例的切换流程中,即在切换准备过程中由数据路径预先注册消息(Data Path Pre-Reg Request)触发业务流的数据从数据路径树的根节点Anchor ASN沿着数据路径树的分支单播给所有的Target ASN,沿所有分支单播的数据与Anchor ASN发送给Serving ASN的业务数据流一致,Target ASN保存单播过来的数据直到MS切换过来或者切换被取消。在切换准备阶段,Target ASN在同Anchor ASN进行数据路径预先注册(Data Path Pre-RegProcedure)时,Anchor ASN开始单播数据(如图1步骤S204所示),Anchor ASN在向Target ASN发送的数据路径预先注册的响应消息中携带第一个单播的数据的序列号SN’,TargetASN接收该序列号SN’并通知ServingASN,使得ServingASN掌握每个Target ASN缓存的数据内容,这样Serving ASN在通知MS切换前就需要把Target ASNs没有缓存的数据都发送给MS,即Serving ASN在通知MS切换前至少需要把序列号SN’以前的所有数据都发送给MS。由于每个TargetASN在同Anchor ASN进行数据路径预先注册时,发送的消息不一定同时到达,所以可能需要为每个Target ASN都维护一个序列号,在这种情况下ServingASN在通知MS切换前就至少需要把序列号最大的一个SN’以前的所有数据都发送给MS。In
在Anchor ASN向路径树的各分支单播数据的同时,Serving ASN仍向MS发送数据。当MS向Serving ASN发送MOB_HO-IND消息通知Serving ASN其将要切换时(如图2中的步骤S301所示),Serving ASN停止向源BS(以及MS)发送数据,同时缓存Anchor ASN发送过来的数据,并且通过HO_Conf消息通知TargetASN最后一个没有向源BS发送出去的数据的序列号SN(如图2中的步骤S302所示),如上所述,当MS切换到目标网络后,目标网络的Target ASN就将把从序列号为SN开始的所有数据发送给MS。While the Anchor ASN unicasts data to each branch of the path tree, the Serving ASN still sends data to the MS. When the MS sends a MOB_HO-IND message to the Serving ASN to notify the Serving ASN that it will switch (as shown in step S301 in Figure 2), the Serving ASN stops sending data to the source BS (and MS), and caches the data sent by the Anchor ASN at the same time , and notify the TargetASN by the HO_Conf message of the last serial number SN of the data that is not sent to the source BS (as shown in step S302 in Figure 2), as mentioned above, after the MS switches to the target network, the Target ASN of the target network It will send all the data starting from the serial number SN to MS.
现有技术一存在如下缺点:(1)数据路径预注册过程可能在切换准备阶段完成,也可能在切换执行阶段完成,是一个可选的步骤,如果该过程在切换准备阶段完成,则可以保证切换中数据的完整性,如果该过程在切换执行阶段完成,则无法保证切换中数据的完整性。(2)数据路径建立完成后,AnchorASN需要向所有的Target ASN沿着数据路径树的分支单播数据,因此这将对TargetASN的缓存能力要求很高,同时也极大地浪费了系统带宽等资源。(3)本方法中要求Serving BS(服务基站)必须向MS转发完所有Anchor ASN没有缓存的数据后,才能够向MS发起MOB_BS_RSP/REQ,因此切换需要等待一段时间,影响了切换的时延和数据转发的效率。
现有技术二中存在一种请求转发的数据完整性方法,对现有技术一做了一些改进,具体为:Anchor ASN在数据路径预先注册(Data PathPre-Registration)时,不是向所有的路径树转发数据,而是将数据缓存,直到Target ASN向其发送数据路径注册请求消息(Data Path Registration Request),Anchor ASN才将数据转发给Target ASN。There is a data integrity method for request forwarding in
在切换的准备阶段,Anchor ASN一旦接受到任意一个Target ASN发送的Data Path Pre-Registration Request消息后就开始缓存数据,Anchor ASN将第一个缓存的数据的序列号SN’通过Data Path Pre-Registration Response发送给Target ASN,Target ASN通过HO_Response消息将该序列号SN’转发给ServingASN,这样Serving ASN就可以获悉Target ASN处可以得到哪些数据,ServingASN在通知MS切换前就需要把Target ASNs无法得到的数据都发送给MS。In the preparation stage of switching, once the Anchor ASN receives the Data Path Pre-Registration Request message sent by any Target ASN, it starts to cache data, and the Anchor ASN passes the serial number SN' of the first cached data through Data Path Pre-Registration The Response is sent to the Target ASN, and the Target ASN forwards the serial number SN' to the ServingASN through the HO_Response message, so that the Serving ASN can learn what data can be obtained from the Target ASN, and the ServingASN needs to send the data that the Target ASNs cannot obtain before notifying the MS to switch Both are sent to MS.
同时,Serving ASN仍向MS发送数据。当MS向Serving ASN发送MOB_HO-IND消息通知其将要切换时,Serving ASN通过HO_Conf消息通知TargetASN最后一个没有发送出去的序列号SN,这样,当MS切换到目标网络后,目标网络的Target ASN就将从这个序列号SN开始的所有数据发送给MS。At the same time, Serving ASN still sends data to MS. When the MS sends a MOB_HO-IND message to the Serving ASN to notify that it will switch, the Serving ASN notifies the TargetASN of the last serial number SN that has not been sent out through the HO_Conf message, so that when the MS switches to the target network, the Target ASN of the target network will be All data starting from this serial number SN are sent to MS.
现有技术二中Anchor ASN在数据路径预先注册时,不再向所有的路径树转发数据,节省了系统带宽等资源,但是现有技术一中的其他缺点现有技术二中仍然存在。In
发明内容 Contents of the invention
本发明实施例提供一种切换处理方法、系统和装置,以解决切换中实现数据完整性时数据路径预先注册过程必须在切换准备阶段完成、Anchor ASN沿多个路径单播数据、以及切换通知消息的发送时机限制的问题。Embodiments of the present invention provide a handover processing method, system, and device to solve the problem that the data path pre-registration process must be completed in the handover preparation stage when data integrity is achieved during handover, Anchor ASN unicasts data along multiple paths, and handover notification messages The problem of sending timing constraints.
为达到上述目的,本发明实施例提供一种切换处理方法,包括以下步骤:To achieve the above purpose, an embodiment of the present invention provides a handover processing method, including the following steps:
移动终端MS即将切换到的目标业务接入网Target ASN获取锚点接入业务网Anchor ASN缓存的第一个数据的序列号SN′以及服务业务接入网ServingASN未发送到所述MS的最后一个数据的序列号SN;The target service access network Target ASN that the mobile terminal MS is about to switch to obtains the serial number SN' of the first data cached by the anchor access service network Anchor ASN and the last data not sent to the MS by the serving service access network ServingASN The serial number SN of the data;
所述Target ASN建立起到所述Anchor ASN的数据平面,所述AnchorASN将其缓存的下行数据发送给所述Target ASN;The Target ASN establishes a data plane to the Anchor ASN, and the AnchorASN sends its buffered downlink data to the Target ASN;
所述Target ASN从所述Serving ASN获取序列号SN至S N′-1之间的数据;The Target ASN obtains data between the serial number SN and SN'-1 from the Serving ASN;
所述Anchor ASN发起到所述Serving ASN的取消数据路径注册过程;The Anchor ASN initiates a process of canceling the data path registration to the Serving ASN;
所述Target ASN向MS发送从所述序列号SN开始的数据。The Target ASN sends data starting from the sequence number SN to the MS.
本发明实施例还提供一种切换处理系统,包括:An embodiment of the present invention also provides a switching processing system, including:
移动终端MS,用于在切换时向服务业务接入网Serving ASN发送切换请求;The mobile terminal MS is used to send a handover request to the Serving ASN during handover;
所述Serving ASN,用于接收并根据所述MS发送的切换请求,向一个或多个目标业务接入网Target ASN发送所述MS切换请求;接收到所述MS发送的切换指示后,将未发送到所述MS的最后一个数据的序列号SN发送给所述MS即将切换到的所述Target ASN;并向所述Target ASN发送所述序列号SN至第一个数据的序列号SN′-1之间的数据;The Serving ASN is configured to receive and send the MS handover request to one or more target service access networks Target ASN according to the handover request sent by the MS; after receiving the handover instruction sent by the MS, it will not The sequence number SN of the last data sent to the MS is sent to the Target ASN to which the MS is about to switch; and the sequence number SN to the first data sequence number SN' is sent to the Target ASN- Data between 1;
所述Target ASN,用于接收到所述Serving ASN发送的切换请求后,发起到锚点接入业务网Anchor ASN的数据路径预建立过程;获取所述AnchorASN缓存的第一个数据的序列号SN’以及所述Serving ASN未发送到MS的最后一个数据的序列号SN;接收所述Serving ASN发送的序列号SN至SN′-1之间的数据;当所述MS切换到本设备后,向所述MS发送从所述序列号SN开始的数据;The Target ASN is used to initiate a data path pre-establishment process to the anchor point access service network Anchor ASN after receiving the switching request sent by the Serving ASN; obtain the serial number SN of the first data cached by the AnchorASN 'and the serial number SN of the last data that the Serving ASN has not sent to the MS; receive the data between the serial numbers SN and SN'-1 sent by the Serving ASN; when the MS switches to the device, send The MS sends data starting from the sequence number SN;
所述Anchor ASN,用于在数据路径预建立过程中,缓存其从其他实体接收的数据,将缓存的第一个数据的序列号SN’发送给所述Target ASN;在数据路径建立后,将其缓存的数据发送给所述Target ASN。The Anchor ASN is used to cache data received from other entities during the pre-establishment process of the data path, and send the serial number SN' of the first cached data to the Target ASN; after the data path is established, the The cached data is sent to the Target ASN.
一种目标业务接入网Target ASN,包括:数据路径预建立单元,用于在接收到服务业务接入网Serving ASN发送的切换请求后,发起到所述AnchorASN的数据路径预建立过程;转发单元,用于在所述MS切换到本设备后,将接收到的全部数据转发给所述MS。A target service access network Target ASN, comprising: a data path pre-establishment unit, used to initiate the data path pre-establishment process to the AnchorASN after receiving the switching request sent by the serving service access network Serving ASN; forwarding unit , used to forward all the received data to the MS after the MS is handed over to the device.
与现有技术相比,本发明的实施例具有以下优点:Compared with the prior art, the embodiments of the present invention have the following advantages:
通过本发明实施例提供的方法,无论数据路径预先注册过程是在切换准备阶段完成还是在切换执行阶段完成,都能够实现切换中数据的完整性;同时Anchor ASN不需要向所有的Target ASN单播数据,且克服了切换的时延问题。Through the method provided by the embodiment of the present invention, regardless of whether the pre-registration process of the data path is completed in the handover preparation phase or in the handover execution phase, the integrity of the data in the handover can be realized; at the same time, the Anchor ASN does not need to unicast to all Target ASNs data, and overcome the handover delay problem.
附图说明Description of drawings
图1是现有技术中WiMAX网络逻辑架构示意图;FIG. 1 is a schematic diagram of a logical architecture of a WiMAX network in the prior art;
图2是现有技术中切换准备阶段的流程图;Fig. 2 is a flow chart of the handover preparation stage in the prior art;
图3是现有技术中切换执行阶段的流程图;Fig. 3 is a flow chart of the handover execution stage in the prior art;
图4是现有技术中业务流的数据路径树示意图;Fig. 4 is a schematic diagram of a data path tree of a service flow in the prior art;
图5是本发明实施例一的一种切换处理方法流程图;FIG. 5 is a flowchart of a handover processing method according to
图6是本发明实施例二的一种切换处理方法流程图;FIG. 6 is a flowchart of a handover processing method according to
图7是本发明实施例三的一种切换处理方法示意图;FIG. 7 is a schematic diagram of a handover processing method according to Embodiment 3 of the present invention;
图8是本发明实施例三的一种切换处理方法示意图;FIG. 8 is a schematic diagram of a handover processing method according to Embodiment 3 of the present invention;
图9是本发明实施例四的一种切换处理方法示意图;FIG. 9 is a schematic diagram of a handover processing method according to Embodiment 4 of the present invention;
图10是本发明实施例五的一种切换处理方法示意图;FIG. 10 is a schematic diagram of a handover processing method according to Embodiment 5 of the present invention;
图11是本发明实施例六的一种切换处理方法示意图;FIG. 11 is a schematic diagram of a handover processing method according to Embodiment 6 of the present invention;
图12是本发明实施例七的一种切换处理系统示意图;FIG. 12 is a schematic diagram of a switching processing system according to
图13是本发明实施例八的一种Target ASN示意图;Fig. 13 is a schematic diagram of a Target ASN in Embodiment 8 of the present invention;
图14是本发明实施例九的一种Serving ASN示意图。Fig. 14 is a schematic diagram of a Serving ASN according to Embodiment 9 of the present invention.
具体实施方式 Detailed ways
下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.
本发明实施例一中,一种切换处理方法如图5所示,具体步骤如下:In
步骤S501、Serving ASN根据MS发送的切换请求,向一个或多个TargetASN发送切换请求。Step S501, the Serving ASN sends a handover request to one or more TargetASNs according to the handover request sent by the MS.
步骤S502、Target ASN接收到Serving ASN发送的切换请求后,发起到Anchor ASN的数据路径预建立过程。In step S502, the Target ASN initiates a data path pre-establishment process to the Anchor ASN after receiving the switching request sent by the Serving ASN.
步骤S503、Anchor ASN接收到Target ASN发送的数据路径预建立请求后,停止向Serving ASN发送数据,将从HA(Home Agent,家乡代理)接收的数据缓存起来,并且将第一个缓存的数据的序列号SN’发送给Target ASN,TargetASN可以通过切换请求响应将SN’发送给Serving ASN。Step S503, after the Anchor ASN receives the data path pre-establishment request sent by the Target ASN, it stops sending data to the Serving ASN, caches the data received from the HA (Home Agent, home agent), and caches the first cached data The serial number SN' is sent to the Target ASN, and the TargetASN can send the SN' to the Serving ASN through the switching request response.
步骤S504、Serving ASN接收到MS发送的切换指示后,停止向MS发送数据,缓存从Anchor ASN发送过来的数据,并且通知Target ASN最后一个未发送到MS的数据的序列号SN。Step S504, after the Serving ASN receives the switching instruction sent by the MS, it stops sending data to the MS, buffers the data sent from the Anchor ASN, and notifies the Target ASN of the serial number SN of the last data not sent to the MS.
步骤S505、Target ASN从Serving ASN上获取序列号SN至SN′之间的数据。该步骤可以采用数据转发(Data forwarding)的方式,即Serving ASN主动将序列号SN至SN′之间的数据转发给Target ASN,或者采用数据取回(DataRetrieval)的方式,即Target ASN触发Serving ASN转发序列号SN至SN′之间的数据。Step S505, Target ASN acquires data between serial numbers SN to SN' from Serving ASN. This step can adopt the method of data forwarding (Data forwarding), that is, the Serving ASN actively forwards the data between the serial number SN to SN' to the Target ASN, or the method of data retrieval (Data Retrieval), that is, the Target ASN triggers the Serving ASN Data between sequence numbers SN to SN' are forwarded.
步骤S506、Anchor ASN和Target ASN建立数据路径,Anchor ASN将其缓存的数据发送给Target ASN。In step S506, the Anchor ASN and the Target ASN establish a data path, and the Anchor ASN sends the cached data to the Target ASN.
步骤S507、当MS切换到Target ASN后,Target ASN将接收到的从序列号SN开始的数据转发给MS,如果接收到序列号SN以前的数据则丢弃。Step S507, when the MS switches to the Target ASN, the Target ASN forwards the received data beginning with the serial number SN to the MS, and discards the data before the serial number SN is received.
进一步的,本发明实施例二是在本发明实施例一的基础上的改进,一种切换处理方法如图6所示,具体步骤如下:Further,
步骤S601、Serving ASN根据MS发送的切换请求,向一个或多个TargetASN发送切换请求。Step S601, the Serving ASN sends a handover request to one or more TargetASNs according to the handover request sent by the MS.
步骤S602、Target ASN接到Serving ASN发送的切换请求后,发起到AnchorASN的数据路径预建立过程。Step S602, after the Target ASN receives the switching request sent by the Serving ASN, it initiates a data path pre-establishment process to the AnchorASN.
步骤S603、Anchor ASN接收到Target ASN发送的数据路径预建立请求后,缓存从HA接收到的数据,并且将第一个缓存的数据的序列号SN’发送给TargetASN,同时继续向Serving ASN发送数据,Target ASN可以通过切换请求响应将SN’发送给Serving ASN。。Step S603: After receiving the data path pre-establishment request sent by the Target ASN, the Anchor ASN caches the data received from the HA, and sends the serial number SN' of the first cached data to the TargetASN, and at the same time continues to send data to the Serving ASN , Target ASN can send SN' to Serving ASN by switching request response. .
步骤S604、Serving ASN接收到MS的切换指示后,停止向MS发送数据,缓存从Anhor ASN发送过来的数据,并且通知Target ASN最后一个未发送到MS的数据的序列号SN。Step S604, after the Serving ASN receives the handover instruction from the MS, it stops sending data to the MS, buffers the data sent from the Anhor ASN, and notifies the Target ASN of the serial number SN of the last data not sent to the MS.
步骤S605、Target ASN比较序列号SN和SN′的大小,如果序列号没有发生反转且SN不大于SN′,转步骤S606,否则不需要从Serving ASN请求转发数据;或者Serving ASN比较序列号SN和SN′的大小,如果序列号没有发生反转且SN不大于SN′,转步骤S606,否则Serving ASN不需要主动转发数据给Target ASN。Step S605, Target ASN compares the size of the serial number SN and SN', if the serial number is not reversed and SN is not greater than SN', go to step S606, otherwise there is no need to request forwarding data from the Serving ASN; or the Serving ASN compares the serial number SN and SN', if the serial number does not reverse and SN is not greater than SN', go to step S606, otherwise Serving ASN does not need to actively forward data to Target ASN.
步骤S606、Target ASN从Serving ASN上获取序列号SN至SN′之间的数据。该步骤可以采用数据转发(Data forwarding)的方式,即Serving ASN主动将序列号SN至SN′之间的数据转发给Target ASN,或者采用数据取回(DataRetrieval)的方式,即Target ASN触发Serving ASN转发序列号SN至SN′之间的数据。Step S606, Target ASN acquires data between serial numbers SN to SN' from Serving ASN. This step can adopt the method of data forwarding (Data forwarding), that is, the Serving ASN actively forwards the data between the serial number SN to SN' to the Target ASN, or the method of data retrieval (Data Retrieval), that is, the Target ASN triggers the Serving ASN Data between sequence numbers SN to SN' are forwarded.
步骤S607、Anchor ASN和Target ASN建立数据路径,Anchor ASN将其缓存的数据发送给Target ASN。In step S607, the Anchor ASN and the Target ASN establish a data path, and the Anchor ASN sends the cached data to the Target ASN.
步骤S608、当MS切换到Target ASN后,Target ASN将接收到的从序列号SN开始的数据转发给MS,如果接收到序列号SN以前的数据则丢弃。Step S608, after the MS switches to the Target ASN, the Target ASN forwards the received data beginning with the serial number SN to the MS, and discards the data before the serial number SN is received.
本发明的实施例三中,以数据路径预先注册过程在切换准备阶段执行为例对本发明进行描述,在WiMAX中一个完整的切换流程一般分为两个阶段,第一阶段为切换准备阶段,第二阶段为切换执行阶段,一种切换处理方法如图7至8所示。In the third embodiment of the present invention, the present invention is described by taking the pre-registration process of the data path in the handover preparation stage as an example. A complete handover process in WiMAX is generally divided into two stages. The first stage is the handover preparation stage, and the second stage is the handover preparation stage. The second stage is the handover execution stage, and a handover processing method is shown in FIGS. 7 to 8 .
本实施例中切换准备阶段的流程如图7所示,具体步骤如下:The flow of the switching preparation phase in this embodiment is shown in Figure 7, and the specific steps are as follows:
步骤S701、MS通过向Serving ASN发送MOB_MSHO-REQ(切换请求)消息发起切换。In step S701, the MS initiates a handover by sending a MOB_MSHO-REQ (handover request) message to the Serving ASN.
步骤S702、Serving ASN向一个或者多个Target ASNs发送R4接口的HO_Req消息。所述Target ASNs为潜在切换Target BSs所在的ASN。Step S702, the Serving ASN sends the HO_Req message of the R4 interface to one or more Target ASNs. The Target ASNs are the ASNs where the Target BSs for potential switching are located.
步骤S703、Target ASN(s)发起上下文请求过程(Context Requestprocedure),向Authenticator ASN请求MS的AK上下文。该步骤也可能在切换执行阶段完成。In step S703, the Target ASN(s) initiates a context request procedure (Context Request procedure) to request the AK context of the MS from the Authenticator ASN. This step may also be done during the handover execution phase.
步骤S704、Target ASN(s)发起到Anchor ASN的数据路径预建立过程。如果Anchor ASN不支持数据路径预建立过程,Anchor ASN向Target ASN(s)返回Path_Prereg_Rsp消息,并在该消息中携带错误指示,此时数据路径预建立过程则需要在切换执行阶段执行。此处假设Anchor ASN支持该过程,则Anchor ASN需要执行以下步骤:In step S704, the Target ASN(s) initiates a data path pre-establishment process to the Anchor ASN. If the Anchor ASN does not support the data path pre-establishment process, the Anchor ASN returns the Path_Prereg_Rsp message to the Target ASN(s) and carries an error indication in the message. At this time, the data path pre-establishment process needs to be executed during the handover execution phase. Assuming that the Anchor ASN supports this process, the Anchor ASN needs to perform the following steps:
a)Anchor ASN停止向Serving ASN发送下行数据,并且缓存HA发送的数据;a) Anchor ASN stops sending downlink data to Serving ASN, and caches the data sent by HA;
b)Anchor ASN将其缓存的第一个数据单元的序列号SN′发送给TargetASN。b) Anchor ASN sends the sequence number SN' of the first data unit it caches to TargetASN.
步骤S705、Serving ASN和Target ASN(s)之间发起数据路径预注册(R4-DP-PreReg)过程,用于建立数据路径在两者之间转发数据。该过程也可能在切换执行阶段完成。In step S705, a data path pre-registration (R4-DP-PreReg) process is initiated between the Serving ASN and the Target ASN(s), for establishing a data path to forward data between the two. This process may also be done during the handover execution phase.
步骤S706、Target ASN(s)向Serving ASN发送R4接口的HO_Rsp消息确认切换请求,该消息中携带序列号SN′的信息。Step S706, the Target ASN(s) sends the HO_Rsp message of the R4 interface to the Serving ASN to confirm the handover request, and the message carries the information of the serial number SN'.
步骤S707、Serving ASN向MS发送MOB_BSHO-RSP消息,消息中包含一个或者多个网络选择的潜在的Target BS给MS切换。Step S707, the Serving ASN sends a MOB_BSHO-RSP message to the MS, and the message includes one or more potential Target BSs selected by the network to hand over to the MS.
步骤S708、Serving ASN向Target ASN(s)发送R4接口的HO_Ack消息。Step S708, the Serving ASN sends the HO_Ack message of the R4 interface to the Target ASN(s).
本实施例中切换执行阶段的流程如图8所示,具体步骤如下:The process of switching the execution stage in this embodiment is shown in Figure 8, and the specific steps are as follows:
步骤S801、MS向Serving ASN发送MOB_HO-IND消息,指示MS要切换到其在切换准备阶段所选择的某一Target BS上。Step S801, the MS sends a MOB_HO-IND message to the Serving ASN, instructing the MS to handover to a Target BS selected by it in the handover preparation phase.
步骤S802、Serving ASN接收到MOB_HO-IND消息后,停止向源BS发送下行数据,并且缓存从Anchor ASN发送过来的数据。Serving ASN向MS选择的Target ASN发送R4接口的HO_Cnf消息,在该消息中携带最后一个未发送给源BS的数据的序列号SN。Step S802: After receiving the MOB_HO-IND message, the Serving ASN stops sending downlink data to the source BS, and buffers the data sent from the Anchor ASN. The Serving ASN sends the HO_Cnf message of the R4 interface to the Target ASN selected by the MS, in which the sequence number SN of the last data not sent to the source BS is carried.
步骤S803、Target ASN接收到HO_Cnf消息后,向Serving ASN发送R4接口的HO_Ack消息。Step S803: After receiving the HO_Cnf message, the Target ASN sends the HO_Ack message of the R4 interface to the Serving ASN.
步骤S804、Target ASN发起上下文请求过程(Context Request procedure),向Authenticator ASN请求MS的AK上下文。如果该过程已经在切换准备过程完成,则此步骤不存在。Step S804, the Target ASN initiates a context request procedure (Context Request procedure), and requests the AK context of the MS from the Authenticator ASN. This step does not exist if the process has already been completed during the handover preparation process.
步骤S805、Serving ASN和Target ASN之间发起数据路径预注册过程(R4-DP-PreReg Procedure),用于建立数据路径在两者之间转发数据。如果数据路径预注册过程已经在切换准备阶段完成,则该步骤不存在。In step S805, a data path pre-registration procedure (R4-DP-PreReg Procedure) is initiated between the Serving ASN and the Target ASN to establish a data path to forward data between the two. If the data path pre-registration process has been completed in the handover preparation phase, this step does not exist.
步骤S806、MS发起到Target ASN的重新入网过程。In step S806, the MS initiates a re-entry process to the Target ASN.
步骤S807、Target ASN发起到Anchor ASN的数据路径注册过程(DataPath Registration procedure),建立起到Anchor ASN的数据平面。Anchor ASN将其缓存的下行数据发送给Target ASN。In step S807, the Target ASN initiates a data path registration procedure (DataPath Registration procedure) to the Anchor ASN, and establishes a data plane to the Anchor ASN. Anchor ASN sends its cached downlink data to Target ASN.
步骤S808、Serving ASN和Target ASN之间发起数据路径注册(R4-DP-Reg)。在建立起Serving ASN和Target ASN之间的数据路径后,Serving ASN将其缓存的数据全部转发给Target ASN。In step S808, a data path registration (R4-DP-Reg) is initiated between the Serving ASN and the Target ASN. After establishing the data path between the Serving ASN and the Target ASN, the Serving ASN forwards all the cached data to the Target ASN.
步骤S809、Target ASN发起CMAC Key Count Update过程,更新Authenticator ASN的CMAC Key Count值。In step S809, the Target ASN initiates a CMAC Key Count Update process to update the CMAC Key Count value of the Authenticator ASN.
步骤S810、Target ASN向Serving ASN发送R4HO_Complete消息,通知Serving ASN切换完成。Serving ASN接收到HO_Complete消息后,释放MS的上下文信息。In step S810, the Target ASN sends an R4HO_Complete message to the Serving ASN, notifying the Serving ASN that switching is complete. After receiving the HO_Complete message, the Serving ASN releases the context information of the MS.
步骤S811、Anchor ASN发起到Serving ASN的取消数据路径注册过程(Data Path De-Registration)。Anchor ASN取消所有未选择的Target ASN的预先注册的数据路径。In step S811, the Anchor ASN initiates a data path de-registration process (Data Path De-Registration) to the Serving ASN. The Anchor ASN cancels all pre-registered data paths for Target ASNs that are not selected.
步骤S812、Serving ASN和Target ASN之间发起数据路径取消注册(R4-DP-DeReg)过程。In step S812, a data path deregistration (R4-DP-DeReg) process is initiated between the Serving ASN and the Target ASN.
步骤S813、当MS切换到Target ASN后,Target ASN将接收到的从序列号SN开始的数据转发给MS,如果接收到序列号SN以前的数据则丢弃。此步骤可以在Target ASN接收到序列号为SN的数据后就开始。Step S813, after the MS switches to the Target ASN, the Target ASN forwards the received data starting from the serial number SN to the MS, and discards if the data before the serial number SN is received. This step can start after the Target ASN receives the data with the sequence number SN.
本发明的实施例四中,在切换的准备阶段不执行数据路径预先注册过程,而是在切换的执行阶段执行。完整的切换流程一般分为两个阶段进行,本实施例中的切换准备阶段的流程除了图7中的步骤S704(即Target ASN(s)发起到Anchor ASN的数据路径预建立过程)不存在以外,其它步骤与上述实施三中描述的一致,在此对切换准备阶段的流程不再赘述,只描述切换执行阶段的流程,一种切换处理方法如图9所示,具体步骤如下:In Embodiment 4 of the present invention, the data path pre-registration process is not performed in the preparation phase of the handover, but is performed in the execution phase of the handover. The complete handover process is generally divided into two stages, and the process of the handover preparation stage in this embodiment does not exist except step S704 in Figure 7 (that is, the data path pre-establishment process initiated by Target ASN(s) to Anchor ASN , other steps are consistent with those described in the above-mentioned implementation three, and the process of the handover preparation phase will not be repeated here, and only the process of the handover execution phase will be described. A handover processing method is shown in Figure 9, and the specific steps are as follows:
步骤S901、MS向Serving ASN发送MOB_HO-IND消息,指示其要切换到切换准备阶段所选择的某一Target BS上。Step S901, the MS sends a MOB_HO-IND message to the Serving ASN, instructing it to switch to a Target BS selected in the handover preparation stage.
步骤S902、Serving ASN接收到MOB_HO-IND消息后,停止向源BS发送下行数据,并且缓存从Anchor ASN发送过来的数据。Serving ASN向TargetASN发送R4接口的HO_Cnf消息,在该消息中携带最后一个未发送给源BS的数据的序列号SN。Step S902: After receiving the MOB_HO-IND message, the Serving ASN stops sending downlink data to the source BS, and buffers the data sent from the Anchor ASN. The Serving ASN sends the HO_Cnf message of the R4 interface to the TargetASN, and the message carries the serial number SN of the last data not sent to the source BS.
步骤S903、Target ASN接收到HO_Cnf消息后,向Serving ASN发送R4接口的HO_Ack消息。Step S903, after receiving the HO_Cnf message, the Target ASN sends the HO_Ack message of the R4 interface to the Serving ASN.
步骤S904、Target ASN发起上下文请求过程(Context Request procedure),向Authenticator ASN请求MS的AK上下文。Step S904, the Target ASN initiates a context request procedure (Context Request procedure), and requests the AK context of the MS from the Authenticator ASN.
步骤S905、Target ASN发起到Anchor ASN的数据路径预建立过程。Anchor ASN接收到Target ASN发送的数据路径预先注册消息后执行以下步骤:In step S905, the Target ASN initiates a data path pre-establishment process to the Anchor ASN. Anchor ASN performs the following steps after receiving the data path pre-registration message sent by Target ASN:
a)Anchor ASN停止向Serving ASN发送下行数据,并且缓存从HA发送过来的数据;a) Anchor ASN stops sending downlink data to Serving ASN, and caches the data sent from HA;
b)Anchor ASN将缓存的第一个数据单元的序列号SN′发送给TargetASN。b) Anchor ASN sends the sequence number SN' of the first cached data unit to TargetASN.
步骤S906、Serving ASN和Target ASN之间发起数据路径预注册过程(R4-DP-PreReg Procedure),用于建立数据路径在两者之间转发数据。如果数据路径预注册过程已经在切换准备阶段完成,则该步骤不存在。In step S906, a data path pre-registration procedure (R4-DP-PreReg Procedure) is initiated between the Serving ASN and the Target ASN to establish a data path to forward data between the two. If the data path pre-registration process has been completed in the handover preparation phase, this step does not exist.
步骤S907、MS发起到Target ASN的重新入网过程。Step S907, the MS initiates a re-entry process to the Target ASN.
步骤S908、Target ASN发起到Anchor ASN的数据路径注册过程(DataPath Registration procedure),建立起到Anchor ASN的数据平面。Anchor ASN将其缓存的下行数据发送给Target ASN。In step S908, the Target ASN initiates a data path registration procedure (DataPath Registration procedure) to the Anchor ASN, and establishes a data plane to the Anchor ASN. Anchor ASN sends its cached downlink data to Target ASN.
步骤S909、Serving ASN和Target ASN之间发起数据路径注册(R4-DP-Reg)。在建立起Serving ASN和Target ASN之间的数据路径后,Serving ASN将其缓存的数据全部转发给Target ASN。In step S909, a data path registration (R4-DP-Reg) is initiated between the Serving ASN and the Target ASN. After establishing the data path between the Serving ASN and the Target ASN, the Serving ASN forwards all the cached data to the Target ASN.
步骤S910、Target ASN发起CMAC Key Count Update过程,更新Authenticator ASN的CMAC Key Count值。In step S910, the Target ASN initiates a CMAC Key Count Update process to update the CMAC Key Count value of the Authenticator ASN.
步骤S911、Target ASN向Serving ASN发送R4接口的HO_Complete消息,通知Serving ASN切换完成。Serving ASN接收到HO_Complete消息后,释放MS的上下文信息。Step S911, the Target ASN sends the HO_Complete message of the R4 interface to the Serving ASN, notifying the Serving ASN that the switching is completed. After receiving the HO_Complete message, the Serving ASN releases the context information of the MS.
步骤S912、Anchor ASN发起到Serving ASN的取消数据路径注册过程(Data Path De-Registration)。Anchor ASN取消所有未选择的Target ASN的预先注册的数据路径。In step S912, the Anchor ASN initiates a deregistration process (Data Path De-Registration) to the Serving ASN. The Anchor ASN cancels all pre-registered data paths for Target ASNs that are not selected.
步骤S913、如果数据全部转发完毕,Serving ASN和Target ASN之间发起数据路径取消注册(R4-DP-DeReg)过程。Step S913, if all the data has been forwarded, a data path deregistration (R4-DP-DeReg) process is initiated between the Serving ASN and the Target ASN.
步骤S914、当MS切换到Target ASN后,Target ASN将接收到的从序列号SN开始的数据转发给MS,如果接收到序列号SN以前的数据则丢弃。此步骤可以在Target ASN接收到序列号为SN的数据后就开始。Step S914, after the MS switches to the Target ASN, the Target ASN forwards the received data starting from the serial number SN to the MS, and discards if the data before the serial number SN is received. This step can start after the Target ASN receives the data with the sequence number SN.
在上述实施例三和实施例四中,无论数据路径预注册过程是在切换准备阶段执行还是在切换执行阶段执行,Anchor ASN都要在数据路径预注册过程中执行以下步骤:a)停止向Serving ASN发送数据,并且缓存从HA发送过来的数据;b)将其第一个缓存的数据的序列号SN′发送给Target ASN。In the third and fourth embodiments above, no matter whether the data path pre-registration process is executed in the handover preparation phase or in the handover execution phase, the Anchor ASN will perform the following steps in the data path pre-registration process: a) stop sending data to the Serving ASN sends data and caches the data sent from HA; b) sends the sequence number SN' of the first cached data to Target ASN.
MS向Serving ASN发送MO_HO_IND后,Serving ASN将停止向MS发送数据,并且缓存从Anchor ASN来的数据,同时将最后一个未发送给MS的数据的序列号SN通过HO_Cnf消息发送给Targrt ASN。在完成上述步骤后,Serving ASN将序列号SN至SN’-1的数据全部转发给Target ASN;在MS进入目标网络后,Target ASN将这些未发送的从序列号SN开始的数据发送给MS。After the MS sends MO_HO_IND to the Serving ASN, the Serving ASN will stop sending data to the MS, and cache the data from the Anchor ASN, and at the same time send the serial number SN of the last data not sent to the MS to the Targrt ASN through the HO_Cnf message. After the above steps are completed, the Serving ASN forwards all the data from the serial number SN to SN’-1 to the Target ASN; after the MS enters the target network, the Target ASN sends the unsent data starting from the serial number SN to the MS.
在上述方法中Target ASN需要将序列号SN’告诉Serving ASN,有两种方式,一是Target ASN可以将序列号SN’通过切换响应消息(HO_Rsp)发送给Serving ASN以让其知道哪些数据可以获得,也可以由Target ASN通过上下文递交消息将序列号SN’通知Serving ASN,则Serving ASN将序列号SN至SN’-1的数据全部转发给Target ASN。In the above method, the Target ASN needs to tell the Serving ASN the serial number SN'. There are two ways. One is that the Target ASN can send the serial number SN' to the Serving ASN through the handover response message (HO_Rsp) to let it know which data can be obtained , or the Target ASN can notify the Serving ASN of the serial number SN' through the context delivery message, and the Serving ASN will forward all the data from the serial number SN to SN'-1 to the Target ASN.
本发明的实施例五中,以数据路径预先注册过程在切换准备阶段执行为例对本发明进行描述,同实施例三所述,在WiMAX中一个完整的切换流程一般分为两个阶段,第一阶段为切换准备阶段,第二阶段为切换执行阶段。在本实施例中,切换准备阶段的流程除数据路径预先注册过程中Anchor ASN在缓存数据的同时仍然继续向Serving ASN发送下行数据之外其他步骤与上述实施二中描述的一致,在此不再赘述,只描述切换执行阶段的流程,一种切换处理方法如图10所示,具体步骤如下:In the fifth embodiment of the present invention, the present invention is described by taking the pre-registration process of the data path in the handover preparation stage as an example. As described in the third embodiment, a complete handover process in WiMAX is generally divided into two stages. The first The first stage is the handover preparation stage, and the second stage is the handover execution stage. In this embodiment, the process of the handover preparation phase is consistent with that described in the second implementation, except that the Anchor ASN continues to send downlink data to the Serving ASN while buffering data during the data path pre-registration process. For details, only the process of the handover execution phase is described. A handover processing method is shown in Figure 10, and the specific steps are as follows:
步骤S1001、MS向Serving ASN发送MOB_HO-IND消息,指示其要切换到切换准备阶段所选择的某一Target BS上。Step S1001, the MS sends a MOB_HO-IND message to the Serving ASN, instructing it to switch to a Target BS selected in the handover preparation phase.
步骤S1002、Serving ASN接收到MOB_HO-IND消息后,停止向源BS发送下行数据,并且缓存从Anchor ASN发送过来的数据。Serving ASN向Target ASN发送R4接口的HO_Cnf消息,在该消息中携带最后一个未发送给源BS的数据的序列号SN。Step S1002: After receiving the MOB_HO-IND message, the Serving ASN stops sending downlink data to the source BS, and buffers the data sent from the Anchor ASN. The Serving ASN sends the HO_Cnf message of the R4 interface to the Target ASN, which carries the serial number SN of the last data not sent to the source BS.
步骤S1003、Target ASN接收到HO_Cnf消息后,向Serving ASN发送R4接口的HO_Ack消息。Step S1003: After receiving the HO_Cnf message, the Target ASN sends the HO_Ack message of the R4 interface to the Serving ASN.
步骤S1004、Target ASN发起上下文请求过程(Context Requestprocedure),向Authenticator ASN请求MS的AK上下文。In step S1004, the Target ASN initiates a context request procedure (Context Request procedure) to request the AK context of the MS from the Authenticator ASN.
步骤S1005、Serving ASN和Target ASN之间发起数据路径预注册过程(R4-DP-PreReg Procedure),用于建立数据路径在两者之间转发数据。如果数据路径预注册过程已经在切换准备阶段完成,则该步骤不存在。In step S1005, a data path pre-registration process (R4-DP-PreReg Procedure) is initiated between the Serving ASN and the Target ASN to establish a data path to forward data between the two. If the data path pre-registration process has been completed in the handover preparation phase, this step does not exist.
步骤S1006、MS发起到Target ASN的重新入网过程。Step S1006, the MS initiates a re-entry process to the Target ASN.
步骤S1007、Target ASN发起到Anchor ASN的数据路径注册过程(DataPath Registration procedure),建立起到Anchor ASN的数据平面。当数据平面建立起来后,Anchor ASN可以开始将缓存的数据转发给Target ASN。In step S1007, the Target ASN initiates a data path registration procedure (DataPath Registration procedure) to the Anchor ASN, and establishes a data plane to the Anchor ASN. When the data plane is established, the Anchor ASN can start forwarding the cached data to the Target ASN.
步骤S1008、Serving ASN和Target ASN之间发起数据路径注册(R4-DP-Reg)。在建立起Serving ASN和Target ASN之间的数据路径后,Serving ASN比较序列号SN’和SN的大小,当如果序列号没有发生反转且SN大于SN’时,则Serving ASN不需要转发任何数据给Target ASN;如果SN小于SN’,Serving ASN则需要将序列号SN至SN’-1之间的数据全部转发给Target ASN。In step S1008, a data path registration (R4-DP-Reg) is initiated between the Serving ASN and the Target ASN. After establishing the data path between the Serving ASN and the Target ASN, the Serving ASN compares the serial number SN' and the size of SN, and if the serial number does not reverse and SN is greater than SN', the Serving ASN does not need to forward any data To Target ASN; if SN is smaller than SN', Serving ASN needs to forward all the data between serial number SN to SN'-1 to Target ASN.
步骤S1009、Target ASN发起CMAC Key Count Update过程,更新Authenticator的CMAC Key Count值。In step S1009, the Target ASN initiates the CMAC Key Count Update process to update the CMAC Key Count value of the Authenticator.
步骤S1010、Target向Serving ASN发送R4 HO_Complete消息,通知Serving ASN切换完成,Serving ASN接收到HO_Complete消息后,释放MS的上下文信息。Step S1010, the Target sends an R4 HO_Complete message to the Serving ASN to notify the Serving ASN that the switching is complete, and the Serving ASN releases the context information of the MS after receiving the HO_Complete message.
步骤S1011、Anchor ASN发起到Serving ASN的取消数据路径注册过程(Data Path De-Registration)。Anchor ASN取消所有未选择的Target ASN的预先注册的数据路径。Step S1011, the Anchor ASN initiates the deregistration process (Data Path De-Registration) to the Serving ASN. The Anchor ASN cancels all pre-registered data paths for Target ASNs that are not selected.
步骤S1012、Serving ASN和Target ASN之间发起数据路径取消注册(R4-DP-DeReg)过程。In step S1012, a data path deregistration (R4-DP-DeReg) process is initiated between the Serving ASN and the Target ASN.
步骤S1013、当MS切换到Target ASN后,Target ASN将接收到的从序列号SN开始的数据转发给MS,如果接收到序列号SN以前的数据则丢弃。此步骤可以在Target ASN接收到序列号为SN的数据后就开始。序列号为SN的数据可以是从Serving ASN转发过来的(SN小于SN’情形),也可以是从Anchor ASN发送来的(SN大于SN’情形)。Step S1013, when the MS switches to the Target ASN, the Target ASN forwards the received data beginning with the serial number SN to the MS, and discards the data before the serial number SN is received. This step can start after the Target ASN receives the data with the sequence number SN. The data whose serial number is SN can be forwarded from Serving ASN (SN is less than SN’), or sent from Anchor ASN (SN is greater than SN’).
本发明的实施例六中,在切换的准备阶段不执行数据路径预先注册过程,而是在切换的执行阶段执行。完整的切换流程一般分为两个阶段进行,本实施例的切换准备阶段的流程与上述实施二描述的一致,在此不再赘述,只描述切换执行阶段的流程,一种切换处理方法如图11所示,具体步骤如下:In Embodiment 6 of the present invention, the data path pre-registration process is not performed in the preparation phase of the handover, but is performed in the execution phase of the handover. The complete handover process is generally divided into two stages. The process of the handover preparation stage in this embodiment is consistent with that described in the second implementation above, and will not be repeated here. Only the process of the handover execution stage is described. A handover processing method is shown in the figure 11, the specific steps are as follows:
步骤S1101、MS向Serving ASN发送MOB_HO-IND消息,指示其要切换到切换准备阶段所选择的某一Target BS上。Step S1101, the MS sends a MOB_HO-IND message to the Serving ASN, instructing it to switch to a Target BS selected in the handover preparation stage.
步骤S1102、Serving ASN接收到MOB_HO-IND消息后,停止向源BS发送下行数据,并且缓存从Anchor ASN发送过来的数据。Serving ASN向Target ASN发送R4接口的HO_Cnf消息,在该消息中携带最后一个未发送给源BS的数据的序列号SN。Step S1102: After receiving the MOB_HO-IND message, the Serving ASN stops sending downlink data to the source BS, and buffers the data sent from the Anchor ASN. The Serving ASN sends the HO_Cnf message of the R4 interface to the Target ASN, which carries the serial number SN of the last data not sent to the source BS.
步骤S1103、Target ASN接收到HO_Cnf消息后,向Serving ASN发送R4接口的HO_Ack消息。Step S1103: After receiving the HO_Cnf message, the Target ASN sends the HO_Ack message of the R4 interface to the Serving ASN.
步骤S1104、Target ASN发起上下文请求过程(Context Requestprocedure),向Authenticator ASN请求MS的AK上下文。In step S1104, the Target ASN initiates a context request procedure (Context Request procedure), and requests the AK context of the MS from the Authenticator ASN.
步骤S1105、Target ASN发起到Anchor ASN的数据路径预建立过程。Anchor ASN在接收到Target ASN发送的数据路径预先注册消息后执行以下步骤:In step S1105, the Target ASN initiates a data path pre-establishment process to the Anchor ASN. Anchor ASN performs the following steps after receiving the data path pre-registration message sent by Target ASN:
a)与实施例二和实施例三中描述的不同,Anchor ASN仍然继续向ServingASN发送下行数据,并且缓存从HA发送过来的数据;a) Different from what is described in
b)Anchor ASN将缓存的第一个数据单元的序列号S N′发送给TargetASN。b) Anchor ASN sends the sequence number SN' of the first cached data unit to TargetASN.
步骤S1106、Serving ASN和Target ASN之间发起数据路径预注册过程(R4-DP-PreReg Procedure),用于建立数据路径在两者之间转发数据。如果数据路径预注册过程已经在切换准备阶段完成,则该步骤不存在。In step S1106, a data path pre-registration process (R4-DP-PreReg Procedure) is initiated between the Serving ASN and the Target ASN to establish a data path to forward data between the two. If the data path pre-registration process has been completed in the handover preparation phase, this step does not exist.
步骤S1107、MS发起到Target ASN的重新入网过程。Step S1107, the MS initiates a re-entry process to the Target ASN.
步骤S1108、Target ASN发起到Anchor ASN的数据路径注册过程(DataPath Registration procedure),建立起到Anchor ASN的数据平面。当数据平面建立起来后,Anchor ASN可以开始将缓存的数据转发给Target ASN。In step S1108, the Target ASN initiates a data path registration procedure (DataPath Registration procedure) to the Anchor ASN, and establishes a data plane to the Anchor ASN. When the data plane is established, the Anchor ASN can start forwarding the cached data to the Target ASN.
步骤S1109、Serving ASN和Target ASN之间发起数据路径注册(R4-DP-Reg)。在建立起Serving ASN和Target ASN之间的数据路径后,Serving ASN比较序列号SN’和SN的大小,当如果序列号没有发生反转且SN大于SN’时,则Serving ASN不需要转发任何数据给Target ASN;如果SN小于SN’,Serving ASN则需要将序列号SN至SN’-1之间的数据全部转发给Target ASN。In step S1109, a data path registration (R4-DP-Reg) is initiated between the Serving ASN and the Target ASN. After establishing the data path between the Serving ASN and the Target ASN, the Serving ASN compares the serial number SN' and the size of SN, and if the serial number does not reverse and SN is greater than SN', the Serving ASN does not need to forward any data To Target ASN; if SN is smaller than SN', Serving ASN needs to forward all the data between serial number SN to SN'-1 to Target ASN.
步骤S1110、Target ASN发起CMAC Key Count Update过程,更新Authenticator的CMAC Key Count值。In step S1110, the Target ASN initiates the CMAC Key Count Update process to update the CMAC Key Count value of the Authenticator.
步骤S1111、Target向Serving ASN发送R4接口的HO_Complete消息,通知Serving ASN切换完成,Serving ASN接收到HO_Complete消息后,释放MS的上下文信息。Step S1111, the Target sends a HO_Complete message of the R4 interface to the Serving ASN to notify the Serving ASN that the handover is complete, and the Serving ASN releases the context information of the MS after receiving the HO_Complete message.
步骤S1112、Anchor ASN发起到Serving ASN的取消数据路径注册过程(Data Path De-Registration)。Anchor ASN取消所有未选择的Target ASN的预先注册的数据路径。Step S1112, the Anchor ASN initiates the deregistration process (Data Path De-Registration) to the Serving ASN. The Anchor ASN cancels all pre-registered data paths for Target ASNs that are not selected.
步骤S1113、Serving ASN和Target ASN之间发起数据路径取消注册(R4-DP-DeReg)过程。In step S1113, a data path deregistration (R4-DP-DeReg) process is initiated between the Serving ASN and the Target ASN.
步骤S1114、当MS切换到Target ASN后,Target ASN将接收到的从序列号SN开始的数据转发给MS,如果接收到序列号SN以前的数据则丢弃。此步骤可以在Target ASN接收到序列号为SN的数据后就开始。序列号为SN的数据可以是从Serving ASN转发过来的(SN小于SN’情形),也可以是从Anchor ASN发送来的(SN大于SN’情形)。Step S1114, when the MS switches to the Target ASN, the Target ASN forwards the received data starting from the serial number SN to the MS, and discards if the data before the serial number SN is received. This step can start after the Target ASN receives the data with the sequence number SN. The data whose serial number is SN can be forwarded from Serving ASN (SN is less than SN’), or sent from Anchor ASN (SN is greater than SN’).
在上述实施例五和实施例六中,无论数据路径预先注册过程是在切换准备阶段执行还是在切换执行阶段执行,Anchor ASN都要在该过程中执行以下步骤:a)与实施例三和实施四描述的方法不同,缓存从HA发送过来的下行数据,但是其仍然继续向Serving ASN发送下行数据;b)将第一个缓存的数据的序列号SN′发送给Target ASN。In the above-mentioned fifth and sixth embodiments, regardless of whether the data path pre-registration process is performed in the handover preparation phase or in the handover execution phase, the Anchor ASN will perform the following steps in the process: The four described methods are different. The downlink data sent from the HA is cached, but it still continues to send downlink data to the Serving ASN; b) Send the serial number SN' of the first cached data to the Target ASN.
MS向Serving ASN发送切换指示消息(MO_HO_IND)后,Serving ASN将停止向MS发送数据,并且缓存从Anchor ASN发送过来的数据,同时将最后一个未发送给MS的数据的序列号SN通过HO_Cnf消息发送给Targrt ASN。在Anchor ASN和Target ASN之间的数据路径建立起来后,Anchor ASN可以开始将缓存的数据发送给Target ASN。在Serving ASN和Target ASN之间的数据路径建立起来后,Serving ASN比较序列号SN和SN‘的大小,如果序列号没有发生反转且SN大于SN‘,则Serving ASN不需要转发任何数据给Target ASN,;如果序列号没有发生反转且SN‘大于SN,则Serving ASN将序列号SN至SN’-1之间的数据全部转发给Target ASN。在MS进入目标网络后,Target ASN将未发送的从序列号SN开始的数据发送给MS,如果Target ASN接收有序列号小于SN的数据,则丢弃掉。序列号为SN的数据可以是从Serving ASN转发过来的(SN小于SN’情形),也可以是从Anchor ASN发送来的(SN大于SN’情形)。After the MS sends a handover instruction message (MO_HO_IND) to the Serving ASN, the Serving ASN will stop sending data to the MS, and cache the data sent from the Anchor ASN, and at the same time send the serial number SN of the last data not sent to the MS through the HO_Cnf message Give the Targrt ASN. After the data path between Anchor ASN and Target ASN is established, Anchor ASN can start sending cached data to Target ASN. After the data path between Serving ASN and Target ASN is established, Serving ASN compares the size of the serial number SN and SN'. If the serial number has not been reversed and SN is greater than SN', Serving ASN does not need to forward any data to Target ASN,; if the serial number has not been reversed and SN' is greater than SN, Serving ASN will forward all the data between serial number SN to SN'-1 to Target ASN. After the MS enters the target network, the Target ASN sends the unsent data starting from the serial number SN to the MS. If the Target ASN receives data with a serial number smaller than the SN, it discards it. The data whose serial number is SN can be forwarded from Serving ASN (SN is less than SN’), or sent from Anchor ASN (SN is greater than SN’).
本发明的实施例五和实施六中描述的方法是在本发明的实施例三和实施例四中描述的方法的进一步的改进,尤其是实施例五中描述的方法,可以进一步提高数据转发的效率和降低切换时延。The methods described in Embodiment 5 and Embodiment 6 of the present invention are further improvements of the methods described in Embodiment 3 and Embodiment 4 of the present invention, especially the method described in Embodiment 5, which can further improve the efficiency of data forwarding efficiency and reduce switching delay.
以上描述的实施例中,Target ASN通过数据转发的方式从Serving ASN上获取数据,也可以采用数据取回的方式,即Target ASN触发Serving ASN转发数据,具体为:Target ASN向Serving ASN发送Data Retrival Request(数据取回请求)消息请求Serving ASN转发数据;Serving ASN接收到Target ASN发送的Data Retrival Request消息后,向Target ASN发送Data Retrival Response(数据取回响应)消息,消息中携带需要转发的数据。采用数据取回的方式时,Serving ASN和Target ASN之间可以不建立数据路径,且由Target ASN比较SN和SN’的大小;也可以建立数据路径,即Target ASN通过Data Retrival Request消息请求Serving ASN转发数据时,Serving ASN通过建立的与Target ASN之间的数据路径转发数据,Serving ASN在数据转发完后,向Target ASN发送DataRetrival Response消息确认。其他实现过程与数据转发的方式类似,在此不再赘述。In the above-described embodiments, the Target ASN obtains data from the Serving ASN through data forwarding, or data retrieval can be adopted, that is, the Target ASN triggers the Serving ASN to forward data, specifically: the Target ASN sends Data Retrival to the Serving ASN The Request (Data Retrieval Request) message requests the Serving ASN to forward data; after receiving the Data Retrival Request message sent by the Target ASN, the Serving ASN sends a Data Retrival Response (Data Retrieval Response) message to the Target ASN, which carries the data to be forwarded . When the data retrieval method is used, no data path needs to be established between the Serving ASN and the Target ASN, and the size of SN and SN' can be compared by the Target ASN; a data path can also be established, that is, the Target ASN requests the Serving ASN through the Data Retrival Request message When forwarding data, the Serving ASN forwards the data through the established data path with the Target ASN. After the data is forwarded, the Serving ASN sends a DataRetrival Response message to the Target ASN for confirmation. Other implementation processes are similar to the way of data forwarding, and will not be repeated here.
上述描述的实施例中,Target ASN和Serving ASN之间如果采用数据转发的方式转发数据,Target ASN需要将SN’通知Serving ASN,如果采用数据取回的方式转发数据,Target ASN则不需要将SN’通知Serving ASN。In the embodiment described above, if data forwarding is adopted between Target ASN and Serving ASN, Target ASN needs to notify Serving ASN of SN'; if data retrieval is used to forward data, Target ASN does not need to forward SN ' Notify Serving ASN.
通过以上实施例提供的方法,无论数据路径预先注册过程是在切换准备阶段完成还是在切换执行阶段完成,都能够实现切换中数据的完整性;同时AnchorASN不需要向所有的Target ASN单播数据,且克服了切换的时延问题。Through the method provided by the above embodiment, regardless of whether the pre-registration process of the data path is completed in the handover preparation phase or in the handover execution phase, the integrity of the data in the handover can be realized; at the same time, the AnchorASN does not need to unicast data to all Target ASNs, And it overcomes the delay problem of handover.
本发明的实施例七中,一种切换处理系统如图12所示,包括:In
MS10,用于在切换时向Serving ASN20发送切换请求。Serving ASN20,用于接收并根据MS10发送的切换请求,向一个或多个Target ASN30发送MS10切换请求;接收到MS10发送的切换指示后,将未发送到MS10的最后一个数据的序列号SN发送给MS10即将切换到的Target ASN30;并向TargetASN30发送数据。Target ASN30,用于接收到Serving ASN20发送的切换请求后,发起到Anchor ASN40的数据路径预建立过程;获取Anchor ASN40缓存的第一个数据的序列号SN’以及Serving ASN20未发送到MS10的最后一个数据的序列号SN;接收Serving ASN20发送的数据;当MS10切换到本设备后,向MS10发送从序列号SN开始的数据。Anchor ASN40,用于在数据路径预建立过程中,缓存其从其他实体接收的数据,将缓存的第一个数据的序列号SN’发送给Target ASN30;在数据路径建立后,将其缓存的数据发送给Target ASN30。MS10 is used to send a switching request to Serving ASN20 during switching. Serving ASN20 is used to receive and send MS10 switching request to one or more Target ASN30 according to the switching request sent by MS10; after receiving the switching instruction sent by MS10, send the sequence number SN of the last data not sent to MS10 to MS10 is about to switch to Target ASN30; and send data to TargetASN30. Target ASN30 is used to initiate the data path pre-establishment process to Anchor ASN40 after receiving the switching request sent by Serving ASN20; obtain the serial number SN' of the first data cached by Anchor ASN40 and the last one not sent to MS10 by Serving ASN20 The serial number SN of the data; receive the data sent by Serving ASN20; when MS10 switches to the device, send the data starting from the serial number SN to MS10. Anchor ASN40 is used to cache the data received from other entities during the pre-establishment of the data path, and send the serial number SN' of the first cached data to Target ASN30; after the data path is established, the cached data Send to Target ASN30.
本发明的实施例八中,一种Target ASN30如图13所示,包括:In the eighth embodiment of the present invention, a Target ASN30 as shown in Figure 13 includes:
数据路径预建立单元31,用于在接收到Serving ASN20发送的切换请求后,发起到Anchor ASN40的数据路径预建立过程。转发单元32,用于在MS10切换到本设备后,将接收到的全部数据转发给MS10。The data path
还包括:比较单元33,用于在Target ASN30采用数据取回的方式触发Serving ASN20向其发送数据时,比较SN′和SN的大小,如果SN′大于SN,触发Serving ASN20向其发送SN至SN′之间的数据,否则不触发ServingASN20向其发送数据。Also includes: a
本发明的实施例九中,一种Serving ASN20如图14所示,包括:In Embodiment 9 of the present invention, a Serving ASN20 is shown in Figure 14, including:
收发单元21,用于接收并根据MS10发送的切换请求,向一个或多个TargetASN30发送切换请求。处理单元22,用于在接收到MS10发送的切换指示后,停止向MS10发送数据,缓存从Anchor ASN40发送的数据,并将未发送到MS10的最后一个数据的序列号SN发送给MS10即将切换到的Target ASN30。The transceiver unit 21 is configured to receive and send a switching request to one or more TargetASN30 according to the switching request sent by the MS10. The processing unit 22 is configured to stop sending data to the MS10 after receiving the handover instruction sent by the MS10, buffer the data sent from the Anchor ASN40, and send the serial number SN of the last data that is not sent to the MS10 to the MS10 that is about to be handed over to Target ASN30.
还包括:比较单元23,用于在Serving ASN20采用数据转发的方式向Target ASN30发送数据时,比较SN′和SN的大小,如果SN′大于SN,向TargetASN30转发SN至SN′之间的数据,否则不向Target ASN30转发数据。数据路径建立单元24,用于建立Serving ASN20和Target ASN30之间的数据路径。Also include: comparison unit 23, for when Serving ASN20 adopts the mode of data forwarding to send data to Target ASN30, compare the size of SN' and SN, if SN' is greater than SN, forward the data between SN to SN' to TargetASN30, Otherwise, do not forward data to Target ASN30. Data path establishment unit 24, is used for establishing the data path between Serving ASN20 and Target ASN30.
通过以上实施例提供的系统,无论数据路径预先注册过程是在切换准备阶段完成还是在切换执行阶段完成,都能够实现切换中数据的完整性;同时Anchor ASN不需要向所有的Target ASN单播数据,且克服了切换的时延问题。Through the system provided by the above embodiments, regardless of whether the data path pre-registration process is completed in the handover preparation phase or in the handover execution phase, the integrity of the data in the handover can be realized; at the same time, the Anchor ASN does not need to unicast data to all Target ASNs , and overcome the handover delay problem.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该获取机软件产品存储在一个存储介质中,包括若干指令用以使得一台终端设备执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be realized by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is a better implementation Way. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, and the software product of the acquisition machine is stored in a storage medium, including several instructions for making A terminal device executes the methods of various embodiments of the present invention.
以上公开的仅为本发明的几个具体实施例,但是,本发明并非局限于此,任何本领域的技术人员能思之的变化都应落入本发明的保护范围。The above disclosures are only a few specific embodiments of the present invention, however, the present invention is not limited thereto, and any changes conceivable by those skilled in the art shall fall within the protection scope of the present invention.
Claims (11)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710181822A CN101415211B (en) | 2007-10-16 | 2007-10-16 | Method, system and apparatus for processing switch |
PCT/CN2008/072693 WO2009049553A1 (en) | 2007-10-16 | 2008-10-15 | A method, system and apparatus for handover processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710181822A CN101415211B (en) | 2007-10-16 | 2007-10-16 | Method, system and apparatus for processing switch |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101415211A CN101415211A (en) | 2009-04-22 |
CN101415211B true CN101415211B (en) | 2012-10-03 |
Family
ID=40567028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710181822A Active CN101415211B (en) | 2007-10-16 | 2007-10-16 | Method, system and apparatus for processing switch |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101415211B (en) |
WO (1) | WO2009049553A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101984709B (en) * | 2010-10-19 | 2014-04-30 | 中兴通讯股份有限公司 | Pre-establishment method of R4 data channel and relay access service network gateway |
WO2016101257A1 (en) * | 2014-12-26 | 2016-06-30 | 华为技术有限公司 | Data transmission method and device |
CN109246770B (en) | 2017-05-05 | 2021-06-22 | 华为技术有限公司 | A switching method, terminal device and network device |
CN108966293B (en) * | 2017-05-18 | 2020-12-04 | 大唐移动通信设备有限公司 | Base station switching method and device |
CN112584450A (en) * | 2019-09-30 | 2021-03-30 | 大唐移动通信设备有限公司 | Anchor point conversion processing method, device and equipment |
CN113645572B (en) * | 2020-05-11 | 2022-12-06 | 华为技术有限公司 | A communication method, device and storage medium |
CN114258091A (en) * | 2020-09-23 | 2022-03-29 | 上海诺基亚贝尔股份有限公司 | Data lossless handover |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1717091A (en) * | 2004-07-02 | 2006-01-04 | 现观科技股份有限公司 | Method for detecting ping-pong handover effect of cellular network |
CN1874594A (en) * | 2005-06-01 | 2006-12-06 | 华为技术有限公司 | Implementation method for switching terminals in wireless communication system |
CN1964557A (en) * | 2005-11-11 | 2007-05-16 | 华为技术有限公司 | A data processing method and access equipment during hand-over of mobile station |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1984437A (en) * | 2005-12-15 | 2007-06-20 | 华为技术有限公司 | Method for controlling mobile-platform lossless switch in WiMAX system and telecommunication equipment |
-
2007
- 2007-10-16 CN CN200710181822A patent/CN101415211B/en active Active
-
2008
- 2008-10-15 WO PCT/CN2008/072693 patent/WO2009049553A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1717091A (en) * | 2004-07-02 | 2006-01-04 | 现观科技股份有限公司 | Method for detecting ping-pong handover effect of cellular network |
CN1874594A (en) * | 2005-06-01 | 2006-12-06 | 华为技术有限公司 | Implementation method for switching terminals in wireless communication system |
CN1964557A (en) * | 2005-11-11 | 2007-05-16 | 华为技术有限公司 | A data processing method and access equipment during hand-over of mobile station |
Non-Patent Citations (2)
Title |
---|
CN 1717091 A,全文. |
US 2006/0003768 A1,全文. |
Also Published As
Publication number | Publication date |
---|---|
WO2009049553A1 (en) | 2009-04-23 |
CN101415211A (en) | 2009-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101415211B (en) | Method, system and apparatus for processing switch | |
KR100810207B1 (en) | Handover Method and Device Between Core Network Entities in Packet-switched Networks | |
AU2010200993B2 (en) | Methods and apparatus for the utilization of core based nodes for state transfer | |
CN101518122B (en) | Multicast fast handover | |
US8625530B2 (en) | Data processing during a mobile handover operation | |
CN101212461B (en) | Data transmission method and system and core network gateway during switching of heterogeneous IP network | |
WO2020200242A1 (en) | Session processing method, communication device and communication system | |
CN110493890A (en) | A kind of connection restoration methods, access and mobile management function to ps domain entity and user equipment | |
US20100027508A1 (en) | Fast handover method and system using network-based localized mobility management | |
CN100593929C (en) | A Mobile Handoff Method in Wireless Packet Network | |
CN101112058A (en) | tunnel for multicast data | |
JP4468424B2 (en) | Method and apparatus for seamless handover | |
TWI431992B (en) | Method to switch between network-controlled and mobile-controlled mobile ip functionality | |
CN1726727A (en) | Method and apparatus for performing inter-technology handover from WLAN to cellular network | |
CN100596229C (en) | Method for informing target network address binding result and mobile user terminal | |
CN108882323A (en) | A kind of IPv6 Network Mobility node method for handover control based on SDN | |
US9160547B2 (en) | Method and devices for managing a data flow transfer | |
JP4705665B2 (en) | Seamless handover method and apparatus in mobile entity communication | |
CN101399753A (en) | Method, system and device for data forwarding | |
Chiang et al. | The Backward Fast Media Independent Handover for Proxy Mobile IPv6 Control Scheme (BFMIH-PMIPV6) over Heterogeneous Wireless Mobile Networks. | |
KR100981327B1 (en) | Method and system for handoff of terminal in mobile communication system using proxy mobile internet protocol | |
WO2008089671A1 (en) | Method, system and terminal for reducing handover delay | |
KR20080010990A (en) | Service method and system of mobile node supporting mobile IP in mobile communication system using proxy mobile IP | |
KR101527611B1 (en) | Heterogeneous network connection method | |
Xu et al. | Seamless handover scheme for real-time multimedia services in PMIPv6 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |