CN105517022B - Service restoration method, terminal and system after a kind of failure of establishing initial context - Google Patents
Service restoration method, terminal and system after a kind of failure of establishing initial context Download PDFInfo
- Publication number
- CN105517022B CN105517022B CN201610042707.8A CN201610042707A CN105517022B CN 105517022 B CN105517022 B CN 105517022B CN 201610042707 A CN201610042707 A CN 201610042707A CN 105517022 B CN105517022 B CN 105517022B
- Authority
- CN
- China
- Prior art keywords
- release
- terminal
- context
- message
- initial context
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/20—Manipulation of established connections
- H04W76/27—Transitions between radio resource control [RRC] states
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
- H04W76/34—Selective release of ongoing connections
- H04W76/36—Selective release of ongoing connections for reassigning the resources associated with the released connections
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例提供一种初始上下文建立失败后业务恢复方法、终端及系统,包括:终端发起NAS消息;移动管理实体指示演进的基站进行初始上下文建立;演进的基站检测初始上下文建立失败;网络侧通知终端上下文释放指示;以及终端处理上下文释放指示,发起ATTACH请求。该初始上下文建立失败后业务恢复方法、终端及系统在初始上下文建立失败时,增加给终端的指示消息,通知MME侧和eNodeB侧的UE上下文信息被删除,终端进而立即发起ATTACH过程,而不必发起RRC重建或Service Request或TAU等过程以免被网络拒绝,从而节省信令资源,迅速恢复业务,优化客户体验。
Embodiments of the present invention provide a service recovery method, terminal and system after the initial context establishment fails, including: the terminal initiates a NAS message; the mobility management entity instructs the evolved base station to establish the initial context; the evolved base station detects that the initial context establishment fails; the network side Informing the terminal of the context release indication; and the terminal processes the context release indication and initiates an ATTACH request. After the initial context establishment fails, the service recovery method, the terminal and the system add an indication message to the terminal when the initial context establishment fails to notify the UE context information on the MME side and the eNodeB side that the UE context information is deleted, and the terminal then immediately initiates the ATTACH process without having to initiate Processes such as RRC reconstruction or Service Request or TAU are prevented from being rejected by the network, thereby saving signaling resources, quickly restoring services, and optimizing customer experience.
Description
技术领域technical field
本发明涉及无线通信领域,尤其涉及一种初始上下文建立失败后业务恢复方法、终端及系统。The present invention relates to the field of wireless communication, in particular to a service recovery method, terminal and system after an initial context establishment fails.
背景技术Background technique
随着无线通信技术的发展,人们对数据业务的需求日益提高。长期演进(LongTerm Resolved,LTE)技术因为其永久在线,业务数据速率,系统容量大等特点而得到大力发展。在现有技术中,用户设备(User Equipment,UE)通过电子保障措施(ElectronicSupport Measures,ESM)过程建立默认的增强分组服务承载上下文(EPS BEARERCONTEXT),该承载上下文除了显示去激活或网络隐式去激活外,在S1连接和无限资源控制模块(Radio Resource Control,RRC)连接释放时用户体验(User Experience,UE)侧和移动管理实体(Mobile Managenment Entity,MME)侧上下文均不会释放,当连接释放后用户进入ECM-IDLE模式,后续若该用户需要传输缓存上行数据或信令或是网络有缓存下行数据发送时,可能通过Service Request过程或TAU过程来转换到ECM-CONNECTED模式,并在Service Request过程中或在TAU过程结束后通过初始上下文建立过程建立S1和空口承载,从而进一步进行数据业务。With the development of wireless communication technology, people's demand for data services is increasing day by day. Long Term Resolved (LTE) technology has been vigorously developed due to its characteristics of permanent online, service data rate, and large system capacity. In the prior art, a user equipment (User Equipment, UE) establishes a default enhanced packet service bearer context (EPS BEARERCONTEXT) through an Electronic Support Measures (ESM) process, except for explicit deactivation or implicit network deactivation. In addition to activation, the user experience (User Experience, UE) side and the mobile management entity (Mobile Management Entity, MME) side context will not be released when the S1 connection and the radio resource control module (Radio Resource Control, RRC) connection are released. After release, the user enters ECM-IDLE mode. If the user needs to transmit buffered uplink data or signaling or the network has buffered downlink data to send, it may switch to ECM-CONNECTED mode through the Service Request process or TAU process, and in the Service During the Request process or after the TAU process ends, S1 and the air interface bearer are established through the initial context establishment process, so as to further perform data services.
根据协议,若初始上下文建立过程中,若由于E-UTRAN无线接入控制或是终端重配失败或终端重配完成消息未成功发送到演进的基站(eNodeB)等原因,最终导致初始上下文过程建立失败,eNodeB和MME的行为协议未明确,eNodeB和MME两个节点分别进行各自的隐式释放或是MME发起的UE Context Release都可以接受,只要保证eNodeB侧的资源释放即可。According to the agreement, if during the initial context establishment process, if the E-UTRAN radio access control or terminal reconfiguration fails or the terminal reconfiguration completion message is not successfully sent to the evolved base station (eNodeB), etc., the initial context establishment process will eventually result Failed, the behavior agreement between eNodeB and MME is not clear, it is acceptable for eNodeB and MME to perform their own implicit release or UE Context Release initiated by MME, as long as the resource release on the eNodeB side is guaranteed.
现有技术至少会存在以下问题:There are at least the following problems in the prior art:
(1)若是终端重配完成消息未成功发送,终端不断重传该消息,到达最大重传次数后,发起RRC连接重建,因为eNodeB侧UE上下文已经删除故重建不能成功。重建被网络拒绝后离开RRC_CONNECTED态,并且底层指示'RRC connection failure'的RRC释放原语后,终端继续发起TAU过程以实现NAS信令连接恢复,而MME侧上下文已经释放,所以TAU Request也会被网络以'Implicitly detached'原因拒绝。(1) If the terminal reconfiguration completion message is not sent successfully, the terminal retransmits the message continuously. After reaching the maximum number of retransmissions, it initiates RRC connection re-establishment. Because the UE context on the eNodeB side has been deleted, the re-establishment cannot succeed. After the reconstruction is rejected by the network and leaves the RRC_CONNECTED state, and the underlying RRC release primitive indicating 'RRC connection failure', the terminal continues to initiate the TAU process to restore the NAS signaling connection, and the MME side context has been released, so the TAU Request will also be Network rejects with reason 'Implicitly detached'.
(2)若是Service Request过程中网络侧无线接入控制原语导致所有的无线承载均无法建立,UE不知道MME侧上下文已被去激活,只收到eNodeB的原因为'other'的RRC连接释放消息而结束本次Service Request过程,后续用户若重新发起Service Request请求业务恢复,均会因为MME侧找不到上下文而被网络以"Implicitly detached"原因拒绝。(2) If the radio access control primitive on the network side fails to establish all radio bearers during the Service Request process, the UE does not know that the context on the MME side has been deactivated, and only receives the RRC connection release from the eNodeB for the reason 'other' Message ends the Service Request process. If the subsequent user re-initiates the Service Request to request service recovery, it will be rejected by the network with the reason of "Implicitly detached" because the MME side cannot find the context.
以上均会增加不必要的信令交互过程,浪费信令资源,同时延长了业务恢复时间。All of the above will increase unnecessary signaling interaction processes, waste signaling resources, and prolong service recovery time.
发明内容Contents of the invention
本发明目的旨在提供一种初始上下文建立失败后业务恢复方法、终端及系统,该初始上下文建立失败后业务恢复方法、终端及系统可以节省信令资源,迅速恢复业务,优化客户体验。The purpose of the present invention is to provide a service recovery method, terminal and system after initial context establishment failure, which can save signaling resources, quickly restore services, and optimize customer experience.
具体的,本发明实施例提供一种初始上下文建立失败后业务恢复方法,包括:Specifically, the embodiment of the present invention provides a service recovery method after the initial context establishment fails, including:
终端发起NAS消息;The terminal initiates a NAS message;
移动管理实体指示演进的基站进行初始上下文建立;The mobility management entity instructs the evolved base station to establish an initial context;
演进的基站检测初始上下文建立失败;The evolved base station detects that the initial context establishment fails;
网络侧通知终端上下文释放指示;以及The network side notifies the terminal of the context release indication; and
终端处理上下文释放指示,发起ATTACH请求。The terminal processes the context release indication and initiates an ATTACH request.
优选地,所述终端处理上下文释放指示,发起ATTACH请求,具体包括:Preferably, the terminal processes the context release indication and initiates an ATTACH request, specifically including:
终端的RRC层接收到网络侧的RRC链路释放消息后,对释放原因进行判断;After receiving the RRC link release message from the network side, the RRC layer of the terminal judges the reason for the release;
若上述释放原因指示网络上下文释放,则终端的RRC层判断当前是否有RLC重传及是否要发起RRC重建过程,若存在则停止该过程,并释放资源进入IDLE态;If the above-mentioned release reason indicates that the network context is released, then the RRC layer of the terminal judges whether there is currently an RLC retransmission and whether to initiate an RRC re-establishment process, and if so, stops the process and releases resources to enter the IDLE state;
RRC层在释放资源结束后,指示NAS层无线链路释放,携带特殊原因值,指示网络侧上下文释放;After the release of resources, the RRC layer instructs the NAS layer to release the radio link, carries a special cause value, and instructs the network side to release the context;
NAS层收到上述无线链路释放消息后,对其中的原因值进行判断,若为上下文释放指示,则进行本地去注册,在本地去注册结束后发起ATTACH请求,请求网络重新附着。After the NAS layer receives the above wireless link release message, it judges the cause value, if it is a context release instruction, it performs local de-registration, and initiates an ATTACH request after the local de-registration is completed, requesting the network to reattach.
优选地,所述NAS消息为TAU消息或Service Request消息。Preferably, the NAS message is a TAU message or a Service Request message.
优选地,所述指示的消息为已有消息中的参数、新增加的参数或现有参数中的某些字段。Preferably, the indicated message is a parameter in an existing message, a newly added parameter or some fields in an existing parameter.
本发明实施例还提供一种初始上下文建立失败后业务恢复终端,包括:The embodiment of the present invention also provides a service recovery terminal after the initial context establishment fails, including:
NAS模块,用于终端发起NAS消息;The NAS module is used for the terminal to initiate a NAS message;
RRC模块,用于移动管理实体指示演进的基站进行初始上下文建立;The RRC module is used for the mobility management entity to instruct the evolved base station to establish an initial context;
初始上下文失败检测模块, 用于演进的基站检测初始上下文建立失败;The initial context failure detection module is used for the evolved base station to detect the failure to establish the initial context;
初始上下文释放指示模块,用于网络侧通知终端上下文释放指示;以及The initial context release indication module is used for the network side to notify the terminal of the context release indication; and
业务失败恢复模块,用于终端处理上下文释放指示,发起ATTACH请求。The service failure recovery module is used for the terminal to process the context release indication and initiate an ATTACH request.
优选地,所述业务失败恢复模块具体包括:Preferably, the business failure recovery module specifically includes:
第一判断模块,终端的RRC层接收到网络侧的RRC链路释放消息后,对释放原因进行判断;The first judging module, after the RRC layer of the terminal receives the RRC link release message from the network side, judges the reason for the release;
第二判断模块,若上述释放原因指示网络上下文释放,则终端的RRC层判断当前是否有RLC重传及是否要发起RRC重建过程,若存在则停止该过程,并释放资源进入IDLE态;The second judging module, if the above-mentioned release reason indicates that the network context is released, then the RRC layer of the terminal judges whether there is RLC retransmission and whether to initiate the RRC reconstruction process, if there is, stop the process, and release resources to enter the IDLE state;
释放模块,RRC层在释放资源结束后,指示NAS层无线链路释放,携带特殊原因值,指示网络侧上下文释放;Release module, the RRC layer instructs the NAS layer to release the radio link after releasing the resources, carries a special cause value, and instructs the network side to release the context;
第三判断模块,NAS层收到上述无线链路释放消息后,对其中的原因值进行判断,若为上下文释放指示,则进行本地去注册,在本地去注册结束后发起ATTACH请求,请求网络重新附着。The third judging module, after the NAS layer receives the above-mentioned wireless link release message, judges the cause value therein, if it is a context release instruction, then performs local de-registration, and initiates an ATTACH request after the local de-registration is completed, requesting the network to re-register attached.
优选地,所述NAS消息为TAU消息或Service Request消息。Preferably, the NAS message is a TAU message or a Service Request message.
优选地,所述所述指示的消息为已有消息中的参数、新增加的参数或现有参数中的某些字段。Preferably, the indicated message is a parameter in an existing message, a newly added parameter or some fields in an existing parameter.
在此基础上,本发明实施例还提供一种初始上下文建立失败后业务恢复系统,具体包括本发明实施例提供的上述初始上下文建立失败后业务恢复终端。On this basis, an embodiment of the present invention further provides a service recovery system after initial context establishment failure, specifically including the above-mentioned service recovery terminal after initial context establishment failure provided by the embodiment of the present invention.
由于本发明实施例提供的一种网络初始上下文建立失败后业务恢复方法、终端及系统,在初始上下文建立失败时,增加给终端的指示消息,通知MME侧和eNodeB侧的UE上下文信息被删除,终端进而立即发起ATTACH过程,而不必发起RRC 重建或Service Request或TAU等过程以免被网络拒绝,从而节省信令资源,迅速恢复业务,优化客户体验。Because the service recovery method, terminal and system provided by the embodiment of the present invention after the network initial context establishment fails, when the initial context establishment fails, an indication message is added to the terminal to notify the UE context information on the MME side and the eNodeB side to be deleted, The terminal then immediately initiates the ATTACH process without initiating RRC re-establishment or Service Request or TAU processes to avoid being rejected by the network, thereby saving signaling resources, quickly restoring services, and optimizing customer experience.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其他目的、特征和优点能够更明显易懂,以下特举较佳实施例,并配合附图,详细说明如下。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the following preferred embodiments are specifically cited below, and are described in detail as follows in conjunction with the accompanying drawings.
附图说明Description of drawings
图1为本发明第一实施例提供的一种初始上下文建立失败业务恢复方法的流程示意图。Fig. 1 is a schematic flow chart of a method for recovering a service that fails to establish an initial context according to the first embodiment of the present invention.
图2为图1所示步骤S105业务恢复的流程示意图。FIG. 2 is a schematic flow chart of service restoration in step S105 shown in FIG. 1 .
图3为本发明第二实施例提供的一种初始上下文建立失败业务恢复方法的流程示意图。Fig. 3 is a schematic flow chart of a method for recovering a service that fails to establish an initial context according to a second embodiment of the present invention.
图4为本发明第三实施例提供的一种初始上下文建立失败业务恢复终端的结构示意图。Fig. 4 is a schematic structural diagram of a terminal for service recovery after an initial context establishment failure provided by a third embodiment of the present invention.
图5为图4所示业务失败恢复模块的结构示意图。FIG. 5 is a schematic structural diagram of the service failure recovery module shown in FIG. 4 .
具体实施方式Detailed ways
为更进一步阐述本发明为达成预定发明目的所采取的技术手段及功效,以下结合附图及较佳实施例,对依据本发明提出的一种初始上下文建立失败后业务恢复方法、终端及系统及其具体实施方式、方法、步骤、结构、特征及功效,详细说明如后。In order to further explain the technical means and effects adopted by the present invention to achieve the intended purpose of the invention, the following, in conjunction with the accompanying drawings and preferred embodiments, will describe a method, terminal, system and service recovery method, terminal and system proposed according to the present invention after failure to establish an initial context. Its specific implementation, methods, steps, structures, features and effects are described in detail below.
有关本发明的前述及其他技术内容、特点与功效,在以下配合参考图式的较佳实施例的详细说明中将可清楚的呈现。通过具体实施方式的说明,当可对本发明为达成预定目的所采取的技术手段及功效得以更加深入且具体的了解,然而所附图式仅是提供参考与说明之用,并非用来对本发明加以限制。The foregoing and other technical contents, features and effects of the present invention will be clearly presented in the following detailed description of preferred embodiments with reference to the drawings. Through the description of specific implementation methods, the technical means and effects of the present invention to achieve the intended purpose can be understood more deeply and specifically, but the attached drawings are only for reference and description, and are not used to explain the present invention limit.
请参考图1,图1为本发明第一实施例提供的一种初始上下文建立失败业务恢复方法的流程示意图。如图1所示,该初始上下文建立失败业务恢复方法具体包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a method for recovering a service that fails to establish an initial context according to the first embodiment of the present invention. As shown in Figure 1, the initial context establishment failure service recovery method specifically includes the following steps:
步骤S101:终端发起NAS消息。Step S101: the terminal initiates a NAS message.
ECM-IDLE模式下的终端发起NAS消息触发初始上下文建立过程,该NAS消息是TAU消息或Service Request消息。The terminal in ECM-IDLE mode initiates a NAS message to trigger the initial context establishment process, and the NAS message is a TAU message or a Service Request message.
其中,TAU消息触发场景包括两种:TAU请求中active标志位置位,或TAU请求中active标志位未置位但是网络有下行数据缓存。Among them, the TAU message triggering scenarios include two types: the active flag bit is set in the TAU request, or the active flag bit is not set in the TAU request but the network has downlink data cache.
步骤S102:MME指示eNodeB进行初始上下文建立。Step S102: the MME instructs the eNodeB to establish an initial context.
MME收到NAS消息后,触发初始上下文建立过程,发送初始上下文建立请求给eNodeB。After receiving the NAS message, the MME triggers the initial context establishment process and sends an initial context establishment request to the eNodeB.
其中TAU过程触发的初始上下文建立请求,是在MME发送TAU Accept消息之后。The initial context establishment request triggered by the TAU process is after the MME sends the TAU Accept message.
步骤S103:eNodeB检测初始上下文建立失败;Step S103: the eNodeB detects that the initial context establishment fails;
eNodeB在收到MME的初始上下文建立请求消息后,进行相关无线接入准入及用户面资源的建立,若eNodeB检测到初始上下文建立过程失败,则通知MME。After receiving the initial context establishment request message from the MME, the eNodeB performs related wireless access admission and establishment of user plane resources. If the eNodeB detects that the initial context establishment process fails, it notifies the MME.
步骤S104:网络侧通知终端上下文释放指示。Step S104: the network side notifies the terminal of the context release instruction.
eNodeB侧和MME侧进行初始上下文建立失败后的后续处理,最终指示终端网络侧上下文释放,该指示消息为已有消息中的参数、新增加的参数或现有参数中的某些字段。The eNodeB side and the MME side perform subsequent processing after the initial context establishment fails, and finally instruct the terminal network side to release the context. The indication message is a parameter in an existing message, a newly added parameter, or some fields in an existing parameter.
步骤S105:终端处理上下文释放指示,发起ATTACH请求。Step S105: the terminal processes the context release indication and initiates an ATTACH request.
终端收到网络侧上下文释放指示消息后,进行现有过程终止,包括NAS模块现有Service Request过程和RRC模块相关过程如重建、重传等,如有则结束,释放链路进入空闲态,去激活UE侧上下文,进入EMM-DEREGISTERED状态。最后,终端发起ATTACH请求,重新附着。After the terminal receives the context release indication message from the network side, it terminates the existing process, including the existing Service Request process of the NAS module and the related processes of the RRC module such as reconstruction and retransmission. Activate the context on the UE side and enter the EMM-DEREGISTERED state. Finally, the terminal initiates an ATTACH request to reattach.
对于上述方法中的网络侧上下文释放指示处理,可以有多种实现方案:eNodeB暂缓释放链路,MME通过现有NAS消息指示终端;eNodeB侧通过RRC释放消息中新增新的IE或释放原因IE里扩展新的字段指示终端。For the network-side context release indication processing in the above method, there are multiple implementation schemes: the eNodeB suspends the release of the link, and the MME instructs the terminal through the existing NAS message; the eNodeB side adds a new IE or release reason IE to the RRC release message A new field is extended to indicate the terminal.
请参考图2,图2为图1所示步骤S105业务恢复的流程示意图。如图2所以,该步骤S105业务恢复的具体步骤包括:Please refer to FIG. 2 . FIG. 2 is a schematic flow chart of the service restoration in step S105 shown in FIG. 1 . As shown in Figure 2, the specific steps of the step S105 service recovery include:
步骤S1051:终端的RRC层接收到网络侧的RRC链路释放消息后,对释放原因进行判断;Step S1051: After receiving the RRC link release message from the network side, the RRC layer of the terminal judges the reason for the release;
步骤S1052:若上述释放原因指示网络上下文释放,则终端的RRC层判断当前是否有RLC重传及是否要发起RRC重建过程,若存在则停止该过程,并释放资源进入IDLE态;Step S1052: If the above-mentioned release reason indicates that the network context is released, the RRC layer of the terminal judges whether there is currently an RLC retransmission and whether to initiate an RRC re-establishment process, and if so, stops the process and releases resources to enter the IDLE state;
步骤S1053:RRC层在释放资源结束后,指示NAS层无线链路释放,携带特殊原因值,指示网络侧上下文释放;Step S1053: After the release of resources, the RRC layer instructs the NAS layer to release the radio link, carries a special cause value, and instructs the network side to release the context;
步骤S1054:NAS层收到上述无线链路释放消息后,对其中的原因值进行判断,若为上下文释放指示,则进行本地去注册,在本地去注册结束后发起ATTACH请求,请求网络重新附着。Step S1054: After receiving the wireless link release message, the NAS layer judges the cause value, if it is a context release instruction, performs local de-registration, and initiates an ATTACH request after the local de-registration is completed, requesting network re-attachment.
本发明实施例提供了一种初始上下文建立失败后的业务恢复方法,主要包括:终端在ECM-IDLE态收到Service Request消息或TAU请求消息且激活标志置位或TAU请求消息且激活标志未置位但是网络有下行数据发送的情况下,网络侧检测初始上下文建立失败,需要指示给终端网络侧上下文去激活,终端RRC层不再重传RLC数据也不发起RRC重建过程,NAS层终止当前过程并直接发起ATTACH请求。The embodiment of the present invention provides a service recovery method after the initial context establishment fails, which mainly includes: the terminal receives a Service Request message or a TAU request message in the ECM-IDLE state and the activation flag is set or a TAU request message and the activation flag is not set bit but the network has downlink data to send, the network side detects that the initial context establishment fails, and needs to instruct the terminal network side to deactivate the context, the terminal RRC layer does not retransmit RLC data and does not initiate the RRC reconstruction process, and the NAS layer terminates the current process And directly initiate the ATTACH request.
请参考图3,图3为本发明第二实施例提供的一种初始上下文建立失败业务恢复方法的流程示意图。如图3所示,该网络侧上下文释放指示方法具体包括:Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a method for recovering a service that fails to establish an initial context according to a second embodiment of the present invention. As shown in Figure 3, the network side context release indication method specifically includes:
步骤S201、S202、S203与上述第一实施例中的步骤S101类似,步骤S210、S211与上述第一实施例中的步骤S102、S103类似,在此不再赘述。Steps S201 , S202 , and S203 are similar to step S101 in the above-mentioned first embodiment, and steps S210 and S211 are similar to steps S102 and S103 in the above-mentioned first embodiment, so details are not repeated here.
步骤S212:eNodeB指示MME初始上下文建立失败。Step S212: the eNodeB instructs the MME to fail to establish the initial context.
步骤S213:可选步骤,适用于MME发起显式S1连接释放场景,则发送UE上下文释放指示消息给eNodeB,并在消息中携带适合的原因,该原因需要在RRC释放消息中指示给终端,类似于“Load Balancing TAU Required”原因的处理。Step S213: optional step, applicable to the scenario where the MME initiates an explicit S1 connection release, then send a UE context release instruction message to the eNodeB, and carry a suitable reason in the message, which needs to be indicated to the terminal in the RRC release message, similar to Handle the cause of "Load Balancing TAU Required".
步骤S214:若收到MME的释放指示消息且原因为特定的释放原因,或未收到MME的指令,eNodeB释放无线信令连接,并在RRC释放消息中携带特定的上下文释放指示原因。Step S214: If the release indication message from the MME is received and the reason is a specific release reason, or the instruction from the MME is not received, the eNodeB releases the wireless signaling connection, and carries a specific context release indication cause in the RRC release message.
步骤S215:终端对于网络侧上下文释放指示进行处理,包括终止现有过程、进入空闲态和去注册状态。Step S215: The terminal processes the context release indication on the network side, including terminating the existing process, entering the idle state and de-registering state.
步骤S216:终端发起ATTACH请求,请求网络进行附着。Step S216: the terminal initiates an ATTACH request to request the network to attach.
步骤S217:成功附着。Step S217: attach successfully.
请参考图4,图4为本发明第三实施例提供的一种初始上下文建立失败业务恢复终端的结构示意图。该初始上下文建立失败业务恢复终端410包括:Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of a service recovery terminal that fails to establish an initial context according to a third embodiment of the present invention. The initial context establishment failure service recovery terminal 410 includes:
NAS模块411,用于终端发起NAS消息;The NAS module 411 is used for the terminal to initiate a NAS message;
其中,该NAS模块411在接收到RRC模块的无线链路释放指示后,判断释放原因,若为网络上下文去激活则进行本地去注册,并重新发起ATTCH过程。Wherein, the NAS module 411 judges the cause of the release after receiving the wireless link release instruction from the RRC module, and if the network context is deactivated, performs local de-registration and re-initiates the ATTCH process.
RRC模块412,用于移动管理实体指示演进的基站进行初始上下文建立;The RRC module 412 is used for the mobility management entity to instruct the evolved base station to establish an initial context;
其中,该RRC模块412接收eNodeB下发的RRC释放消息,并对其中释放原因进行判断,若是网络侧上下文释放,则本地释放资源终止重传重建等过程,并指示NAS模块无线链路释放。Wherein, the RRC module 412 receives the RRC release message sent by the eNodeB, and judges the reason for the release. If the network side context is released, the local release resource terminates the process of retransmission and reconstruction, and instructs the NAS module to release the wireless link.
初始上下文失败检测模块421, 用于演进的基站检测初始上下文建立失败;The initial context failure detection module 421 is used for the evolved base station to detect the failure to establish the initial context;
其中,该初始上下文失败检测模块421,检测eNodeB在初始上下文建立过程中的各种失败导致的最终初始上下文建立失败,并发送给MEM初始上下文建立失败消息。Wherein, the initial context failure detection module 421 detects the final initial context establishment failure caused by various failures in the initial context establishment process of the eNodeB, and sends an initial context establishment failure message to the MEM.
初始上下文释放指示模块422,用于网络侧通知终端上下文释放指示;The initial context release indication module 422 is used for the network side to notify the terminal of the context release indication;
其中,该上下文释放指示模块422在初始上下文失败检测模块421检测到初始上下建立失败,释放用户资源并释放RRC连接,若MME显式发起了UE上下文释放,则判断MME释放指令中是否携带特定上下文释放原因,若携带则将RRC释放原因置为上下文释放原因,若为隐式释放过程,则eNodeB直接在RRC释放消息中携带释放原因为上下文释放。Wherein, the context release instruction module 422 detects that the initial context failure detection module 421 fails to establish the initial context, releases the user resources and releases the RRC connection, and if the MME explicitly initiates the UE context release, then judges whether the MME release command carries a specific context Release reason, if carried, set the RRC release reason as the context release reason, if it is an implicit release process, the eNodeB directly carries the release reason in the RRC release message as the context release.
业务失败恢复模块431,用于终端处理上下文释放指示,发起ATTACH请求。The service failure recovery module 431 is used for the terminal to process the context release indication and initiate an ATTACH request.
其中,该业务失败恢复模块431,用于在MME显示发起的S1连接释放指示中,在S1UE Context Release Command消息中携带特定的原因值指示上下文释放,并约定eNodeB需要将该原因在RRC释放消息中携带给终端。Among them, the service failure recovery module 431 is used to carry a specific cause value in the S1UE Context Release Command message in the S1 connection release indication initiated by the MME to indicate the context release, and agree that the eNodeB needs to include the cause in the RRC release message carried to the terminal.
针对网络侧上下文释放指示处理不同实现,终端也有不同实现方案:For different implementations of context release instructions on the network side, terminals also have different implementations:
若网络通过RRC消息如RRC释放消息指示上下文释放,则RRC模块接收到网络侧上下文去激活指示消息后,不需要继续RLC重传,若检测到需要发起重建则不发起重建,同时发送信令连接释放消息给NAS,并指示释放原因为“上下文去激活”,NAS模块接收到RRC层信令连接释放消息后,判断原因是否是上下文去激活指示,若是该指示则终止当前过程,之后发起ATTACH请求;If the network indicates the context release through an RRC message such as an RRC release message, the RRC module does not need to continue RLC retransmission after receiving the network side context deactivation indication message. Release the message to the NAS, and indicate that the reason for the release is "context deactivation". After receiving the RRC layer signaling connection release message, the NAS module determines whether the cause is the context deactivation indication. If it is the indication, terminate the current process, and then initiate an ATTACH request ;
若网络通过NAS消息如Detach Req或Service reject消息指示上下文释放,则NAS模块接收到网络侧上下文去激活指示消息后,先进行去注册过程,在去注册过程完成后再发起ATTACH请求。If the network indicates context release through a NAS message such as a Detach Req or Service reject message, the NAS module first performs a de-registration process after receiving the network-side context deactivation indication message, and then initiates an ATTACH request after the de-registration process is completed.
请参考图5,图5为图4所示业务失败恢复模块的结构示意图。如图5所示,该业务失败恢复模块431具体包括:Please refer to FIG. 5 , which is a schematic structural diagram of the service failure recovery module shown in FIG. 4 . As shown in Figure 5, the business failure recovery module 431 specifically includes:
第一判断模块4311,终端的无限资源控制模块层接收到网络侧的无限资源控制模块链路释放消息后,对释放原因进行判断;The first judging module 4311, after the unlimited resource control module layer of the terminal receives the link release message of the unlimited resource control module on the network side, judges the reason for the release;
第二判断模块4312,若上述释放原因指示网络上下文释放,则终端的无限资源控制模块层判断当前是否有RLC重传及是否要发起无限资源控制模块重建过程,若存在则停止该过程,并释放资源进入IDLE态;The second judging module 4312, if the above-mentioned release reason indicates that the network context is released, then the terminal's unlimited resource control module layer judges whether there is currently RLC retransmission and whether to initiate the unlimited resource control module reconstruction process, and if so, stop the process and release The resource enters the IDLE state;
释放模块4313,无限资源控制模块层在释放资源结束后,指示NAS层无线链路释放,携带特殊原因值,指示网络侧上下文释放;The release module 4313, after the unlimited resource control module layer releases resources, instructs the NAS layer to release the wireless link, carries a special cause value, and instructs the network side to release the context;
第三判断模块4314,NAS层收到上述无线链路释放消息后,对其中的原因值进行判断,若为上下文释放指示,则进行本地去注册,在本地去注册结束后发起ATTACH请求,请求网络重新附着。The third judging module 4314, after the NAS layer receives the wireless link release message, judges the cause value therein, if it is a context release instruction, then performs local de-registration, and initiates an ATTACH request after the local de-registration is completed, requesting the network Reattach.
本发明实施例提供了一种初始上下文建立失败后的业务恢复终端,主要包括:终端在ECM-IDLE态收到Service Request消息或TAU请求消息且激活标志置位或TAU请求消息且激活标志未置位但是网络有下行数据发送的情况下,网络侧检测初始上下文建立失败,需要指示给终端网络侧上下文去激活,终端RRC层不再重传RLC数据也不发起RRC重建过程,NAS层终止当前过程并直接发起ATTACH请求。The embodiment of the present invention provides a service recovery terminal after the initial context establishment fails, mainly including: the terminal receives a Service Request message or a TAU request message in the ECM-IDLE state and the activation flag is set or a TAU request message and the activation flag is not set bit but the network has downlink data to send, the network side detects that the initial context establishment fails, and needs to instruct the terminal network side to deactivate the context, the terminal RRC layer does not retransmit RLC data and does not initiate the RRC reconstruction process, and the NAS layer terminates the current process And directly initiate the ATTACH request.
在此基础上,本发明实施例还提供一种初始上下文建立失败后业务恢复系统,该初始上下文建立失败后业务恢复系统包括上述初始上下文建立失败后业务恢复终端。On this basis, an embodiment of the present invention further provides a service recovery system after initial context establishment failure. The service recovery system after initial context establishment failure includes the above-mentioned service recovery terminal after initial context establishment failure.
根据上述说明书的揭示和教导,本发明所属领域的技术人员还可以对上述实施方式进行变更和修改。因此,本发明并不局限于上面揭示和描述的具体实施方式,对本发明的一些修改和变更也应当落入本发明的权利要求的保护范围内。此外,尽管本说明书中使用了一些特定的术语,但这些术语只是为了方便说明,并不对本发明构成任何限制。According to the disclosure and teaching of the above-mentioned specification, those skilled in the art to which the present invention belongs can also make changes and modifications to the above-mentioned embodiment. Therefore, the present invention is not limited to the specific embodiments disclosed and described above, and some modifications and changes to the present invention should also fall within the protection scope of the claims of the present invention. In addition, although some specific terms are used in this specification, these terms are only for convenience of description and do not constitute any limitation to the present invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610042707.8A CN105517022B (en) | 2016-01-22 | 2016-01-22 | Service restoration method, terminal and system after a kind of failure of establishing initial context |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610042707.8A CN105517022B (en) | 2016-01-22 | 2016-01-22 | Service restoration method, terminal and system after a kind of failure of establishing initial context |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105517022A CN105517022A (en) | 2016-04-20 |
| CN105517022B true CN105517022B (en) | 2018-11-02 |
Family
ID=55724585
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610042707.8A Active CN105517022B (en) | 2016-01-22 | 2016-01-22 | Service restoration method, terminal and system after a kind of failure of establishing initial context |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105517022B (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107484149B (en) * | 2016-06-08 | 2020-10-16 | 中国移动通信有限公司研究院 | Access control method and device |
| CN108616956B (en) * | 2017-01-16 | 2020-10-20 | 普天信息技术有限公司 | Method for service isolation in electric power wireless private network |
| CN109246792B (en) * | 2017-04-27 | 2021-01-05 | 展讯通信(上海)有限公司 | Wireless communication method and device, computer readable storage medium and user terminal |
| WO2019126938A1 (en) * | 2017-12-25 | 2019-07-04 | Oppo广东移动通信有限公司 | Notification method for releasing terminal context, network device, and computer storage medium |
| CN110831260B (en) * | 2018-08-10 | 2022-04-22 | 大唐移动通信设备有限公司 | RRC connection recovery processing method and device and terminal |
| JP7240492B2 (en) * | 2018-11-01 | 2023-03-15 | テレフオンアクチーボラゲット エルエム エリクソン(パブル) | Handling Reestablishment Failure Ambiguity |
| CN111372291B (en) * | 2018-12-26 | 2021-04-16 | 大唐移动通信设备有限公司 | Radio Resource Control (RRC) connection reestablishment method and device |
| CN113411913B (en) * | 2020-03-16 | 2023-07-07 | 华为技术有限公司 | Communication method and terminal equipment |
| CN116548061A (en) * | 2021-12-03 | 2023-08-04 | 北京小米移动软件有限公司 | Switching control method and device and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101754397A (en) * | 2008-12-16 | 2010-06-23 | 中兴通讯股份有限公司 | Abnormity handling method, system and apparatus after failure of establishing initial context |
| CN101911815A (en) * | 2007-11-13 | 2010-12-08 | 捷讯研究有限公司 | Method and apparatus for state/mode transition |
| CN104081869A (en) * | 2012-01-30 | 2014-10-01 | 瑞典爱立信有限公司 | Method and arrangement for RRC switching |
-
2016
- 2016-01-22 CN CN201610042707.8A patent/CN105517022B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101911815A (en) * | 2007-11-13 | 2010-12-08 | 捷讯研究有限公司 | Method and apparatus for state/mode transition |
| CN101754397A (en) * | 2008-12-16 | 2010-06-23 | 中兴通讯股份有限公司 | Abnormity handling method, system and apparatus after failure of establishing initial context |
| CN104081869A (en) * | 2012-01-30 | 2014-10-01 | 瑞典爱立信有限公司 | Method and arrangement for RRC switching |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105517022A (en) | 2016-04-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105517022B (en) | Service restoration method, terminal and system after a kind of failure of establishing initial context | |
| KR102299118B1 (en) | Duplication and rlc operation in new radio access technology | |
| CN109429257B (en) | User equipment and related methods | |
| CN110958688B (en) | User equipment and execution method thereof, base station and execution method thereof | |
| EP3592097B1 (en) | Radio link failure handling method and related product | |
| CN109548188B (en) | Radio bearer processing method, user equipment and base station | |
| CN110622548A (en) | Method and system for reporting slave node failure in dual connectivity network | |
| CN113727328B (en) | A communication method, device and system | |
| CN110312296A (en) | Method performed by user equipment, method performed by base station, user equipment and base station | |
| CN114600503B (en) | Fast primary cell group failure recovery via secondary node change | |
| US20210377758A1 (en) | Communication control method | |
| TW201831031A (en) | Device and Method of Handling a State Mismatch in a Wireless Communication System | |
| CN107241815A (en) | Apparatus and method for handling rrc connection recovery procedure | |
| JP7622100B2 (en) | Cell group processing method, device and communication device | |
| WO2018171744A1 (en) | Radio link monitoring method and user equipment | |
| WO2011113378A2 (en) | Method and apparatus for recovering memory of user-plane buffer | |
| CN112789892B (en) | Wireless communication method, device and system | |
| WO2018082623A1 (en) | Connection reestablishment method and apparatus, electronic device, and computer storage medium | |
| CN109803455B (en) | Connection control, service processing method and device | |
| CN102595640A (en) | Wireless link re-establishment method and system | |
| WO2015100564A1 (en) | Fault handling method, packet data network, mobility management entity, and network system | |
| CN115604863A (en) | Method performed by user equipment and user equipment | |
| CN104581859A (en) | Service processing method and device for wireless communication | |
| WO2018134470A1 (en) | Maintaining second link in aggregation operations during primary link rlf | |
| WO2010139215A1 (en) | Method, system and evolved node b for implementing service release |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250506 Address after: 6th Floor, Building C, High tech Headquarters Building, No. 73 Huachuang Road, Yanchuang Park, Jiangbei New District, Nanjing City, Jiangsu Province, China 210000 Patentee after: Nanjing Chuangxin Huilian Technology Co.,Ltd. Country or region after: China Address before: Room 507, 560 Shengxia Road, Pudong New Area, Shanghai, 201210 Patentee before: SHANGHAI BALANSTECH INFORMATION TECHNOLOGY Co.,Ltd. Country or region before: China |
|
| TR01 | Transfer of patent right |