CN114051286B - Terminal context processing method and device - Google Patents

Terminal context processing method and device Download PDF

Info

Publication number
CN114051286B
CN114051286B CN202111144349.9A CN202111144349A CN114051286B CN 114051286 B CN114051286 B CN 114051286B CN 202111144349 A CN202111144349 A CN 202111144349A CN 114051286 B CN114051286 B CN 114051286B
Authority
CN
China
Prior art keywords
base station
target terminal
terminal
context
identification information
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
Application number
CN202111144349.9A
Other languages
Chinese (zh)
Other versions
CN114051286A (en
Inventor
彭聪
田炜
李�瑞
李本元
李晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Technology Co Ltd
Original Assignee
Inspur Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Software Technology Co Ltd filed Critical Inspur Software Technology Co Ltd
Priority to CN202111144349.9A priority Critical patent/CN114051286B/en
Publication of CN114051286A publication Critical patent/CN114051286A/en
Application granted granted Critical
Publication of CN114051286B publication Critical patent/CN114051286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/27Transitions between radio resource control [RRC] states
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a terminal context processing method and device, wherein the method comprises the following steps: receiving a handover request which is sent by a first base station and contains first identification information of a target terminal; responding to the handover request, storing context information of the target terminal, sending a handover request confirmation message to the first base station, generating second identification information, and initiating paging to the terminal based on the first paging message, so that the target terminal updates the locally stored identification information of the target terminal to the second identification information under the condition that the locally stored identification information is identical to the first identification information; and sending a path switching request to the core network so that the core network updates the context information of the target terminal. The terminal context processing method and the terminal context processing device can ensure that the terminal context in the inactive state can be quickly migrated to the second base station when the first base station is turned off in an energy-saving way. And when the subsequent terminal needs to recover the RRC connection, rapidly recovering the data service.

Description

Terminal context processing method and device
Technical Field
The present invention relates to the field of wireless communications technologies, and in particular, to a method and an apparatus for processing a terminal context.
Background
In order to ensure the user service perception and simultaneously meet the requirements of energy conservation and electricity saving as well as cost saving, operators generally form a multi-frequency point multi-coverage network in urban prosperous areas, office buildings and other areas with dense openings, and introduce an energy conservation function. When more users and user data flows are larger, all base stations in the same area work normally to provide wireless network service; in the idle time period of the network with less users and small traffic volume at late night, the energy-saving function can trigger to close the base stations with low utilization rate of some physical resource blocks (Physical Resource Block, PRB) and less user number, including closing RRU radio frequency channels and the like, so as to achieve the purposes of saving electric energy, saving energy and reducing emission.
With the development of communication technology, a fifth generation mobile communication (5 th-generation, 5G) system has been developed. In addition to the RRC layer idle state and the connection state proposed by the long term evolution (long term evolution, LTE) system, a new user state, an inactive state, also called a deactivation state, a third state, an inactive state, or a deactivation state, is proposed in the 5G system. In the inactive state, the UE-connected base station may save context information of the UE, where the context information includes an Access Stratum (AS) security context of the UE. For the core network, the UE is considered to be in a connected state even though the UE is in an inactive state. Thus after the UE enters the inactive state from the connected state, the base station also enters the inactive state, but the core network is still connected.
Since the terminal in the inactive state does not affect the PRB utilization, when the energy-saving function triggers the base station to block, a certain amount of inactive state terminal context is stored under the base station, and the base station is about to be closed, so that wireless service cannot be provided any more, and the processing of the inactive state terminal context is an important topic to be solved in the industry at present.
Disclosure of Invention
The invention provides a terminal context processing method and device, which are used for solving the defect that the context of a base station to be closed cannot be processed in the prior art, and guaranteeing continuity of the context and service of an active state terminal after energy-saving closing of the base station.
The invention provides a terminal context processing method, which comprises the following steps:
receiving a handover request which is sent by a first base station and contains first identification information of a target terminal;
responding to the handover request, storing context information of the target terminal, sending a handover request confirmation message to a first base station, generating second identification information, and initiating paging to the terminal based on a first paging message, so that the target terminal updates the locally stored identification information of the target terminal to the second identification information under the condition that the locally stored identification information is identical to the first identification information;
Sending a path switching request to a core network so that the core network updates the context information of the target terminal;
the handover request carries context information, first identification information and a cause value of the target terminal; the first paging message carries the first identification information, the second identification information and the cause value.
According to the terminal context processing method provided by the invention, the path switching request information is sent to the core network, so that after the core network updates the context information of the target terminal, the method further comprises:
under the condition of receiving target downlink data sent by the core network, initiating downlink paging to a terminal based on a second paging message carrying the second identification information;
under the condition of receiving a first reestablishment message carrying the second identification information sent by the target terminal, establishing RRC connection with the target terminal based on the context information of the target terminal;
or, in case of receiving the second reconfiguration message carrying the second identification information sent by the target terminal, establishing an RRC connection with the target terminal based on the context information of the target terminal.
According to the terminal context processing method provided by the invention, under the condition of receiving the target downlink data sent by the core network, based on the second paging message carrying the second identification information, after the downlink paging is initiated to the terminal, the method further comprises:
receiving a first acquisition message sent by a first target base station;
based on the first acquisition message, sending the context information of the target terminal to the first target base station, so that the first target base station establishes RRC connection with the target terminal based on the context information of the target terminal;
the first target base station is a base station to which the target terminal is connected.
According to the terminal context processing method provided by the invention, the path switching request information is sent to the core network, so that after the core network updates the context information of the target terminal, the method further comprises:
receiving a second acquisition message sent by a second target base station;
based on the second acquisition message, sending the context information of the target terminal to the second target base station, so that the second target base station establishes RRC connection with the target terminal based on the context information of the target terminal;
The second target base station is a base station to which the target terminal is connected.
The invention also provides a terminal context processing method, which comprises the following steps:
sending a release message to a target terminal so that the target terminal enters an inactive state;
before releasing the context information of the target terminal, sending a handover request to a second base station so that the second base station stores the context information of the target terminal;
receiving a handover request confirmation message sent by the second base station, and releasing the context information of the target terminal based on the handover request confirmation message;
the handover request carries context information, first identification information and a cause value of the target terminal.
The invention also provides a terminal context processing device, which comprises:
the first receiving module is used for receiving a handover request which is sent by the first base station and contains first identification information of the target terminal;
the first paging module is used for responding to the handover request, storing the context information of the target terminal, sending a handover request confirmation message to the first base station, generating second identification information, and initiating paging to the terminal based on the first paging message so that the target terminal updates the locally stored identification information of the target terminal to the second identification information under the condition that the locally stored identification information is the same as the first identification information;
A first sending module, configured to send a path switching request to a core network, so that the core network updates context information of the target terminal;
the handover request carries context information, first identification information and a cause value of the target terminal; the first paging message carries the first identification information, the second identification information and the cause value.
The invention also provides a terminal context processing device, which comprises:
the second sending module is used for sending a release message to the target terminal so as to enable the target terminal to enter a non-activated state;
a third sending module, configured to send a handover request to a second base station before releasing the context information of the target terminal, so that the second base station saves the context information of the target terminal;
the second receiving module is used for receiving a handover request confirmation message sent by the second base station and releasing the context information of the target terminal based on the handover request confirmation message;
the handover request carries context information, first identification information and a cause value of the target terminal.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of any of the terminal context processing methods described above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a terminal context processing method as described in any of the above.
The invention also provides a computer program product comprising a computer program which when executed by a processor implements the steps of a terminal context processing method as described in any of the above.
Based on receiving and responding to a handover request, the terminal context processing method and device provided by the invention store the context information of the target terminal, enable the first base station to release the context through the handover request confirmation message, instruct the target terminal to take over wireless network service through the first paging message, and instruct the core network to update the context through the path switching request. When the first base station is turned off in an energy-saving way, the terminal context in an inactive state can be ensured to be quickly migrated to the second base station, so that the terminal context can be timely found when the subsequent terminal needs to restore the RRC connection state, the data service can be quickly restored, and the user experience is not influenced.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a terminal context processing method provided by the invention;
FIG. 2 is a schematic diagram of a general flow of a terminal context processing method according to the present invention;
FIG. 3 is a second general flow chart of the terminal context processing method according to the present invention;
FIG. 4 is a third general flow chart of the terminal context processing method according to the present invention;
FIG. 5 is a schematic diagram showing a general flow of a terminal context processing method according to the present invention;
FIG. 6 is a second flow chart of a terminal context processing method according to the present invention;
FIG. 7 is a schematic diagram of a terminal context handling device according to the present invention;
FIG. 8 is a second schematic diagram of a terminal context handling device according to the present invention;
fig. 9 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more.
It is to be understood that the terminology used in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The terms "comprises" and "comprising" indicate the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Fig. 1 is a schematic flow chart of a terminal context processing method provided by the invention. As shown in fig. 1, a terminal context processing method provided by an embodiment of the present invention includes: step 101, receiving a handover request including first identification information of a target terminal, which is sent by a first base station.
The handover request carries context information, first identification information and a cause value of the target terminal.
It should be noted that, the execution body of the terminal context processing method provided by the embodiment of the present invention is a terminal context processing device. The terminal context processing means may be provided on the second base station or the terminal context processing means may be the second base station.
The application scenario of the terminal context processing device is that a cell 1 and a cell 2 are respectively arranged under a base station 1 (i.e. a first base station) and a base station 2 (i.e. a second base station), NG interfaces are established between the base station 1 and a 5G core network, the base station 1 and the base station 2 belong to the same radio access network (Radio Access Network, RAN), an XN interface is established between the base station 1 and the base station 2, and then the cell 1 and the cell 2 are in different-frequency same-coverage neighbor relation. The UE (User Equipment) is first accessed to the cell 1 under the base station 1, and for the purpose of saving energy, the base station 1 needs to be turned off, so that wireless service cannot be provided for the UE, and the UE needs to acquire wireless service from the base station 2, so that the context of the UE needs to be processed.
The first base station is an original base station providing wireless service, and the base station needs to be turned off because the number of terminal users in a period of time is less and the PRB utilization rate is low.
When the first base station normally provides wireless network service, the first base station can record the I-RNTI of the terminals in all cells when the terminals enter an inactive state.
The second base station is a base station which is connected with the wireless service of the first base station, and the second base station is a different base station from the first base station.
The target terminal refers to a terminal that receives the wireless network service of the first base station before the first base station is turned off.
And the first identification information is used for identifying the identity of the target terminal. Based on the first identification information, it may be determined whether the accessed terminal is a target terminal. The first identification information may be, for example, an I-RNTI1 assigned by the target terminal in a certain cell in the first base station.
And the reason value is used for indicating the condition of the first base station. Based on the cause value, it may be determined whether the wireless network service being taken over belongs to the first base station. Illustratively, the Cause value may be some specific Cause value Cause1 to indicate that the first base station is currently to be turned off.
Specifically, in step 101, the terminal context processing apparatus receives a handover request sent by the first base station before being turned off.
The Handover Request message is generally used to instruct the target base station to perform admission processing on the resources to be handed over.
The Handover Request is a Handover Request message carrying the context information of the target terminal, the inactive state terminal identifier I-RNTI1 allocated to the UE by the first base station, and the specific Cause value Cause 1.
And the handover request is used for enabling the second base station to acquire the state of the first base station and can also be used for transmitting the context information of the target terminal.
And 102, responding to the handover request, storing the context information of the target terminal, sending a handover request confirmation message to the first base station, generating second identification information, and initiating paging to the terminal based on the first paging message, so that the target terminal updates the locally stored identification information of the target terminal to the second identification information under the condition that the locally stored identification information is identical to the first identification information.
The first paging message carries first identification information, second identification information and a cause value.
The handover request acknowledgement message refers to information fed back to the handover request in step 101. Illustratively, the handover request confirm message is a Handover Request Acknowledge message.
Before step 102, the terminal context processing means generates second identification information according to the related information of the second base station. Illustratively, the second base station generates an inactive state terminal identifier I-RNTI2 for the target terminal according to the base station ID, and uses the I-RNTI2 as second identification information.
The second identification information is used for identifying the identity of the target terminal. Based on the second identification information, it may be determined whether the accessed terminal is a target terminal.
And the first paging message is used for the second base station to initiate downlink paging to the terminal. Illustratively, the first Paging message is a RAN Paging message.
Unlike a normal RAN Paging message, only carries one terminal identity for matching Paging. The first paging message carries not only the I-RNTI1 for the matching page but also the I-RNTI2 of the handover base station (i.e., the second base station).
Specifically, in step 102, the terminal context processing apparatus determines that the first base station can no longer provide the wireless network service according to the specific Cause value Cause1 carried in the handover request according to the handover request received in step 101, so as to save the context information of the target terminal carried in the handover request, and replies Handover Request Acknowledge to the first base station.
Meanwhile, the terminal context processing device sends a RAN Paging message carrying I-RNTI1, I-RNTI2 and a specific Cause value Cause1 in the RAN area.
After receiving the RAN Paging message, the target terminal matches the locally stored identifier library according to the carried I-RNTI1, discards the stored I-RNTI1 and stores the I-RNTI2 carried by the RAN Paging message under the condition of successful matching. In the case of a match failure, the above-described response is not made.
After the first base station receives the Handover Request Acknowledge message, according to the attribute of the message and the specific Cause value Cause1, it can be determined that the second base station has taken over the context information of the target terminal, and the context information of the target terminal is not needed to be processed locally, so that the context information of the target terminal is deleted, and then the cell shutdown procedure is entered.
Step 103, sending a path switching request to the core network so that the core network updates the context information of the target terminal.
It should be noted that, the path switching request is used for starting the process of switching the destination terminal data link termination point carried by the core network to the new termination point. The path switch request is illustratively a Path Switch Request message.
Specifically, in step 103, the terminal context handling device sends Path Switch Request a message to the core network.
After receiving the Path Switch Request message, the core network updates the context information of the target terminal and the termination point of the data link according to the information carried by the message.
The core network performs matching with the locally stored identifier library according to the I-RNTI1 carried by the Path Switch Request message, and switches the termination point of the data link of the target terminal from the first base station to the second base station according to the I-RNTI2 information carried by the message when the matching is successful, i.e., the NG port of the target terminal is migrated to the second base station, so that an NG link of the target terminal is established between the second base station and the core network, and the second base station is replied with Path Switch Request Acknowledge messages. In case of a match failure, the above-mentioned response is not made.
The embodiment of the invention stores the context information of the target terminal based on receiving and responding to the handover request, enables the first base station to release the context through the handover request confirmation message, indicates the target terminal to take over the wireless network service through the first paging message, and indicates the core network to update the context through the path switching request. When the first base station is turned off in an energy-saving way, the terminal context in an inactive state can be ensured to be quickly migrated to the second base station, so that the terminal context can be timely found when the subsequent terminal needs to restore the RRC connection state, the data service can be quickly restored, and the user experience is not influenced.
On the basis of any one of the foregoing embodiments, after sending the path switching request information to the core network, so that the core network updates the context information of the target terminal, the method further includes: and under the condition of receiving the target downlink data sent by the core network, initiating downlink paging to the terminal based on a second paging message carrying second identification information.
After the first base station, the second base station, the target terminal and the core network all complete the processing of the context information of the target terminal. And different service scenes make the flow of establishing RRC connection between the second base station and the target terminal different.
The target downlink data refers to downlink data sent to the target terminal by the core network.
And the second Paging message is used for initiating a common RAN Paging message of downlink Paging to all terminals in the coverage area after the second base station receives the downlink data sent to the target terminal.
Specifically, under the condition that the service scene is the core network to send downlink data, the terminal context processing device receives target downlink data issued by the core network and performs downlink Paging by utilizing the RAN Paging message carrying the I-RNTI 2.
After receiving the second paging message, the target terminal matches the locally updated identifier base according to the I-RNTI2 carried by the second paging message, and sends a request for establishing RRC connection to the second base station if the matching is successful.
And under the condition of receiving a first reestablishment message carrying second identification information sent by the target terminal, establishing RRC connection with the target terminal based on the context information of the target terminal.
The first reestablishment message is a request message for establishing an RRC connection between the target terminal and the second base station. Illustratively, the first reestablishment message is a RRC Resume Request message carrying I-RNTI 2.
Specifically, after receiving the first reestablishment message, the terminal context processing device matches the I-RNTI2 carried by the first reestablishment message with a locally stored identifier library, and establishes RRC connection with the target terminal according to the currently stored context information of the target terminal under the condition that the matching is successful, so as to provide wireless network service for the target terminal.
In case of a match failure, the terminal context handling means does not respond as described above.
Fig. 2 is a general flow diagram of a terminal context processing method provided by the present invention. As shown in fig. 2, an exemplary context processing flow for transmitting downlink data by the core network is given:
in step 201, the target terminal receives the wireless network service under the cell 1, and because there is no uplink and downlink data in a certain time, the base station 1 (i.e. the first base station) sends an rrCRelease message with a supension channel fig to the target terminal, so that the target terminal enters an RRC inactive state.
Step 202, after a period of time, because the number of terminal users in the cell 1 is small, the PRB utilization rate is low, or the energy-saving shutdown needs to be entered, the cell 1 is ready to be closed, and then a Handover Request message is sent to the co-coverage neighbor cell 2 through the XN interface, and the Handover Request message carries a specific Cause value Cause1 and an inactive state terminal identifier 1 (i.e., I-RNTI 1) allocated to the target terminal.
Step 203, the cell 2 uses the ID of the base station 2 to generate an inactive state terminal identifier 2 (i.e. I-RNTI 2) for the target terminal, and sends a RAN Paging message carrying I-RNTI1 and I-RNTI2, and a specific Cause value Cause1 in the RAN area.
Step 204, the target terminal currently resides in the cell 2, receives the RAN Paging message, discards the stored I-RNTI1, and stores the I-RNTI2.
In step 205, the cell 2 receives the Handover Request message, and determines that the Handover Request message carries a specific Cause value Cause1, and replies Handover Request Acknowledge to the cell 1.
Step 206, the cell 1 receives Handover Request Acknowledge information, judges that the local context information of the target terminal which is required to be processed is not needed, deletes the context information of the target terminal, and then enters a cell closing flow;
step 207, cell 2 sends Path Switch Request message to the core network.
Step 208, the core network receives the Path Switch Request message, migrates the NG port context information and the data link of the target terminal to the base station 2, replies Path Switch Request Acknowledge the message to the base station 2, and can establish the NG link of the target terminal between the cell 2 and the core network.
In step 209, the core network sends the downlink data of the target terminal to the base station 2, and the base station 2 sends a common RAN Paging message carrying the I-RNTI2 in the RAN area.
Step 210, the target terminal receives the common RAN Paging message carrying the I-RNTI2, initiates an RRC Resume request in the cell 2 by using the I-RNTI2, completes an RRC connection recovery procedure between the cell 2 and the target terminal, and completes a context link handover between the cell 2 and the core network, and the target terminal resumes a downlink service, thereby completing an RRC Resume procedure.
Or, in the case of receiving the second reconfiguration message carrying the second identification information sent by the target terminal, establishing an RRC connection with the target terminal based on the context of the target terminal.
It should be noted that, the second reconfiguration message is a request message for the target terminal to actively establish an RRC connection with the second base station after step 103. Illustratively, the second re-establishment message is a RRC Resume Request message carrying I-RNTI 2.
Specifically, when the service scenario is that the target terminal requests uplink service, the terminal context processing device receives the second reconfiguration message, matches the I-RNTI2 carried by the second reconfiguration message with the locally stored identifier library, and establishes RRC connection with the target terminal according to the currently stored context information of the target terminal under the condition that the matching is successful, so as to provide wireless network service for the target terminal.
In case of a match failure, the terminal context handling means does not respond as described above.
Fig. 3 is a second general flow chart of the terminal context processing method provided by the present invention. As shown in fig. 3, an exemplary context processing flow for sending an uplink service request by a target terminal is given:
in step 301, the target terminal receives the wireless network service under the cell 1, and because there is no uplink and downlink data within a certain time, the base station 1 (i.e. the first base station) sends an rrCRelease message with a supension to the target terminal, so that the target terminal enters an RRC inactive state.
Step 302, after a period of time, because the number of terminal users in the cell 1 is small, the PRB utilization rate is low, or the energy-saving shutdown needs to be entered, the cell 1 is ready to be closed, and then a Handover Request message is sent to the co-coverage neighbor cell 2 through the XN interface, and the Handover Request message carries a specific Cause value Cause1 and an inactive state terminal identifier 1 (i.e., I-RNTI 1) allocated to the target terminal.
Step 303, the cell 2 uses the ID of the base station 2 to generate an inactive state terminal identifier 2 (i.e. I-RNTI 2) for the target terminal, and sends a RAN Paging message carrying I-RNTI1 and I-RNTI2, and a specific Cause value Cause1 in the RAN area.
Step 304, the target terminal currently resides in the cell 2, receives the RAN Paging message, discards the stored I-RNTI1, and stores the I-RNTI2.
In step 305, the cell 2 receives the Handover Request message, and determines that the Handover Request message carries a specific Cause value Cause1, and replies Handover Request Acknowledge to the cell 1.
Step 306, the cell 1 receives Handover Request Acknowledge information, judges that the local context information of the target terminal which needs to be processed is no longer available, deletes the context information of the target terminal, and then enters a cell closing flow;
step 307, cell 2 sends Path Switch Request message to the core network.
Step 308, the core network receives the Path Switch Request message, migrates the NG port context information and the data link of the target terminal to the base station 2, replies Path Switch Request Acknowledge the message to the base station 2, and can establish the NG link of the target terminal between the cell 2 and the core network.
Step 309, the target terminal needs to send an uplink service request, initiates an RRC Resume request according to the I-RNTI2 in the cell 2, completes an RRC connection recovery procedure between the cell 2 and the target terminal, completes a context link handover between the cell 2 and the core network, and completes an RRC Resume procedure by the target terminal.
The embodiment of the invention determines the target terminal responding to paging through the second identification information carried by the second paging message under different service scenes, and determines the establishment of RRC connection with the target terminal through the context information of the target terminal through the second identification information carried by the first reestablishment message fed back by the target terminal. When the first base station is turned off in an energy-saving way, the terminal context in an inactive state can be ensured to be quickly migrated to the second base station, so that the terminal context can be timely found when the subsequent terminal needs to restore the RRC connection state, the data service can be quickly restored, and the user experience is not influenced.
On the basis of any one of the foregoing embodiments, in the case of receiving the target downlink data sent by the core network, after initiating downlink paging to the terminal based on the second paging message carrying the second identification information, the method further includes: and receiving a first acquisition message sent by the first target base station.
The first target base station is a base station to which the target terminal is connected.
The first target base station refers to a base station where a current camping cell of the target terminal is located. The first target base station is the other base station under the RAN area to which the first base station and the second base station belong.
And the first acquisition message is used for requesting the first target base station to acquire the message of the context from the second base station. Illustratively, the first acquisition message is a Retrieve UE Context Request message.
Before receiving the first acquisition message sent by the first target base station, the receiving object of the target terminal sending the first reestablishment message becomes the first target base station.
The first target base station analyzes the base station ID of the second base station according to the I-RNTI2 carried by the first reestablishment message, so that the first target base station confirms the object for sending the first obtaining message.
Specifically, in the case that the service scenario is that the current residence cell is the first target base station, and the core network sends downlink data, the terminal context processing device receives a Retrieve UE Context Request message sent by the first target base station.
And transmitting the context information of the target terminal to the first target base station based on the first acquisition message, so that the first target base station establishes RRC connection with the target terminal based on the context information of the target terminal.
Specifically, after receiving the Retrieve UE Context Request message sent by the first target base station, the terminal context processing device responds to the Retrieve UE Context Request message, and sends the currently stored context information of the target terminal to the first target base station, so that the first target base station establishes an RRC connection with the target terminal according to the received context information of the target terminal, and the first target base station provides a wireless network service for the target terminal.
Fig. 4 is a third general flow chart of the terminal context processing method provided by the present invention. As shown in fig. 4, an exemplary context processing flow for transmitting downlink data by the core network when a currently camping cell is another cell is given:
in step 401, the target terminal receives the wireless network service under the cell 1, and because there is no uplink and downlink data in a certain time, the base station 1 (i.e. the first base station) sends an rrCRelease message with a supension channel to the target terminal, so that the target terminal enters an RRC inactive state.
After a period of time, step 402, because the number of terminal users in cell 1 is small, the PRB utilization rate is low, or energy saving shutdown needs to be entered, and the like, cell 1 is ready to be closed, a Handover Request message is sent to the co-coverage neighbor cell 2 through the XN interface, and the Handover Request message carries a specific Cause value Cause1 and an inactive state terminal identifier 1 (i.e., I-RNTI 1) assigned to the target terminal.
Step 403, the cell 2 uses the ID of the base station 2 to generate an inactive state terminal identifier 2 (i.e. I-RNTI 2) for the target terminal, and sends a RAN Paging message carrying I-RNTI1 and I-RNTI2, and a specific Cause value Cause1 in the RAN area.
Step 404, the target terminal currently resides in the cell 2, receives the RAN Paging message, discards the stored I-RNTI1 and stores the I-RNTI2.
In step 405, the cell 2 receives the Handover Request message, and determines that the Handover Request message carries a specific Cause value Cause1, and replies Handover Request Acknowledge to the cell 1.
Step 406, the cell 1 receives Handover Request Acknowledge information, judges that the local context information of the target terminal does not need to be processed any more, deletes the context information of the target terminal, and then enters a cell closing flow;
step 407, cell 2 sends Path Switch Request message to the core network.
In step 408, the core network receives the Path Switch Request message, migrates the NG port context information and the data link of the target terminal to the base station 2, replies Path Switch Request Acknowledge the message to the base station 2, and can establish the NG link of the target terminal between the cell 2 and the core network.
Step 409, the core network sends the downlink data of the target terminal to the base station 2, and the base station 2 sends a common RAN Paging message carrying the I-RNTI2 in the RAN area.
In step 410, the target terminal receives the common RAN Paging message carrying the I-RNTI2, initiates an RRC Resume request at the cell 3 (i.e., the first target base station) by using the I-RNTI2, and the cell 3 sends Retrieve UE Context Request a message to the base station 2 where the cell 2 is located according to the base station ID where the cell 2 is located included in the I-RNTI 2.
In step 411, the base station of the cell 2 replies Retrieve UE Context Response to the base station of the cell 3, carrying terminal a information, completing the RRC connection recovery process between the cell 3 and the target terminal and completing the context link switching between the cell 3 and the core network, and the target terminal recovers the downlink service to complete the RRC Resume procedure of the cross-station.
The embodiment of the invention transfers the target context information to the first target base station based on the received first acquisition message, so that the first target base station establishes RRC connection with the target terminal according to the context information of the target terminal. When the first base station is turned off in an energy-saving way, the terminal in the inactive state can be guaranteed to be capable of rapidly migrating to the first target base station, so that the terminal context can be found in time when the subsequent terminal needs to recover the RRC connection state, data service is rapidly recovered, and user experience is not affected.
On the basis of any one of the foregoing embodiments, after sending the path switching request information to the core network, so that the core network updates the context information of the target terminal, the method further includes: and receiving a second acquisition message sent by the second target base station.
The second target base station is a base station accessed by the target terminal.
After step 103, the target terminal actively initiates an RRC Resume procedure to the second target base station, and after receiving RRC Resume Request sent by the target terminal, the second target base station analyzes the base station ID of the second base station according to the I-RNTI2 carried by the message, so that the second target base station confirms that the object to which the first acquisition message is sent is the second base station.
And the second acquisition message is used for requesting the second target base station to acquire the message of the context information of the target terminal from the second base station. Illustratively, the second acquisition message is a Retrieve UE Context Request message.
The second target base station refers to a base station where the target terminal is located in the current resident cell. The second target base station is another base station in the RAN area to which the first base station and the second base station belong.
The second target base station is not specifically limited in the embodiment of the present invention, for example, the first target base station and the second target base station may be the same base station, or the first target base station and the second target base station may be different base stations.
Specifically, in the case that the traffic scenario is that the current camping cell is the second target base station, and the target terminal requests the uplink traffic, the terminal context processing device receives Retrieve UE Context Request message.
And transmitting the context information of the target terminal to a second target base station based on the second acquisition message, so that the second target base station establishes RRC connection with the target terminal based on the context information of the target terminal.
Specifically, after receiving the Retrieve UE Context Request message sent by the second target base station, the terminal context processing device sends the currently stored context information of the target terminal to the second target base station in response to the Retrieve UE Context Request message, so that the first target base station establishes an RRC connection with the target terminal according to the received context information of the target terminal, and the first target base station provides a wireless network service for the target terminal.
In case of a match failure, the terminal context handling means does not respond as described above.
Fig. 5 is a general flow chart of a terminal context processing method provided by the present invention. As shown in fig. 5, an exemplary context processing flow for sending an uplink service request by a target terminal when a current camping cell is another cell is given:
in step 501, the target terminal receives the wireless network service under the cell 1, and because there is no uplink and downlink data in a certain time, the base station 1 (i.e. the first base station) sends an rrCRelease message with a supension to the target terminal, so that the target terminal enters an RRC inactive state.
Step 502, after a period of time, because the number of terminal users in the cell 1 is small, the PRB utilization rate is low, or the energy-saving shutdown needs to be entered, the cell 1 is ready to be closed, and then a Handover Request message is sent to the co-coverage neighbor cell 2 through the XN interface, and the Handover Request message carries a specific Cause value Cause1 and an inactive state terminal identifier 1 (i.e., I-RNTI 1) allocated to the target terminal.
In step 503, the cell 2 uses the ID of the base station 2 to generate an inactive state terminal identifier 2 (i.e. I-RNTI 2) for the target terminal, and sends a RAN Paging message carrying I-RNTI1 and I-RNTI2, and a specific Cause value Cause1 in the RAN area.
Step 504, the target terminal currently resides in the cell 2, receives the RAN Paging message, discards the stored I-RNTI1, and stores the I-RNTI2.
In step 505, the cell 2 receives the Handover Request message, and determines that the Handover Request message carries a specific Cause value Cause1, and replies Handover Request Acknowledge to the cell 1.
Step 506, the cell 1 receives Handover Request Acknowledge information, judges that the local context information of the target terminal which needs to be processed is no longer available, deletes the context information of the target terminal, and then enters a cell closing flow;
step 507, cell 2 sends Path Switch Request message to core network.
Step 508, the core network receives the Path Switch Request message, migrates the NG port context information and the data link of the target terminal to the base station 2, replies Path Switch Request Acknowledge the message to the base station 2, and can establish the NG link of the target terminal between the cell 2 and the core network.
In step 509, the target terminal needs to send an uplink service request, and initiates an RRC Resume request with the I-RNTI2 in the cell 3, and the cell 3 sends Retrieve UE Context Request a message to the base station 2 where the cell 2 is located according to the base station ID where the cell 2 is located included in the I-RNTI 2.
Step 510, the base station 02 replies Retrieve UE Context Response to the base station 03, carrying information of the target terminal, completing an RRC connection recovery procedure between the cell 3 and the target terminal and completing a context link switching between the cell 3 and the core network, and the target terminal recovers an uplink service to complete an RRC Resume procedure of a cross-station.
The embodiment of the invention transfers the target context information to the second target base station based on the second acquisition message, so that the second target base station establishes RRC connection with the target terminal according to the context information of the target terminal. When the first base station is turned off in an energy-saving way, the terminal context in an inactive state can be ensured to be quickly migrated to the second target base station, so that the terminal context can be timely found when the subsequent terminal needs to restore the RRC connection state, the data service can be quickly restored, and the user experience is not influenced.
Fig. 6 is a second flowchart of a terminal context processing method according to the present invention. As shown in fig. 6, a terminal context processing method provided by an embodiment of the present invention includes: step 601, a release message is sent to the target terminal, so that the target terminal enters an inactive state.
It should be noted that, the execution body of the terminal context processing method provided by the embodiment of the present invention is a terminal context processing device. The terminal context processing means may be provided on the first base station or the terminal context processing means may be the first base station.
The release message is used to instruct the target terminal to enter the inactive state, and the release message may be an RRCRelease message with a suphendconfig, for example.
Specifically, since the first base station has no uplink and downlink data within a certain time, the terminal context processing device sends an RRCRelease message with a sustendconfig to the target terminal, so that the target terminal enters an RRC inactive state.
Step 602, before releasing the context information of the target terminal, sending a handover request to the second base station, so that the second base station saves the context information of the target terminal.
Wherein the handover request carries context information, first identification information and cause value of the target terminal
Specifically, before the first cell is turned off, the terminal context processing device sends a Handover Request message carrying context information of the target terminal, an inactive state terminal identifier I-RNTI1 allocated to the UE by the first base station, and a specific Cause value Cause1 to the second base station.
Step 603, receiving a handover request acknowledgement message sent by the second base station, and releasing the context information of the target terminal based on the handover request acknowledgement message.
Specifically, after receiving the Handover Request Acknowledge message, the terminal context processing apparatus may determine that the second base station has taken over the context information of the target terminal according to the attribute of the message and the specific Cause value Cause1, and the local terminal context information is not required to be processed, so that the context information of the target terminal is deleted, and then the cell shutdown procedure is entered.
The embodiment of the invention enables the target terminal to enter the inactive state based on the sending of the release message, and enables the first base station to release the context by sending the handover request to the second base station before the first base station is turned off and receiving the handover request confirmation message fed back by the second base station. The first base station can be turned off in an energy-saving way on the premise of confirming the second base station to save the context. Furthermore, the terminal context in the inactive state can be ensured to be quickly migrated to the second base station, so that the terminal context can be timely found when the subsequent terminal needs to recover the RRC connection state, the data service can be quickly recovered, and the user experience is not influenced.
Fig. 7 is a schematic structural diagram of a terminal context processing device provided by the present invention. As shown in fig. 7, a terminal context processing apparatus provided in an embodiment of the present invention includes: a first receiving module 710, a first paging module 720, and a first transmitting module 730, wherein:
the first receiving module 710 is configured to receive a handover request including first identification information of a target terminal sent by a first base station.
The first paging module 720 is configured to store context information of the target terminal in response to the handover request, send a handover request acknowledgement message to the first base station, generate second identification information, and initiate paging to the terminal based on the first paging message, so that the target terminal updates the locally stored identification information of the target terminal to the second identification information when the locally stored identification information is the same as the first identification information.
A first sending module 730, configured to send a path switching request to the core network, so that the core network updates the context information of the target terminal.
The handover request carries the context information, the first identification information and the cause value of the target terminal; the first paging message carries first identification information, second identification information and a cause value.
Specifically, the terminal context processing device provided in the embodiment of the present invention may be disposed on the second base station, or the terminal context processing device is the second base station.
The first receiving module 710, the first paging module 720, and the first transmitting module 730 are electrically connected in sequence.
The first receiving module 710 receives a handover request transmitted by the first base station before being turned off.
The first paging module 720 determines, according to the handover request received in the first receiving module 710 and the specific Cause value Cause1 carried by the handover request, that the first base station can no longer provide the wireless network service, so as to save the context information of the target terminal carried by the handover request and reply Handover Request Acknowledge to the first base station. Meanwhile, the terminal context processing device sends a RAN Paging message carrying I-RNTI1, I-RNTI2 and a specific Cause value Cause1 in the RAN area.
The first transmitting module 730 transmits Path Switch Request the message to the core network. After receiving the Path Switch Request message, the core network updates the context information of the target terminal and the termination point of the data link according to the information carried by the message.
Optionally, the apparatus further includes a second paging module, a third receiving module, and a fourth receiving module, wherein:
And the second paging module is used for initiating downlink paging to the terminal based on a second paging message carrying second identification information under the condition of receiving target downlink data sent by the core network.
And the third receiving module is used for establishing RRC connection with the target terminal based on the context information of the target terminal under the condition of receiving the first reestablishment message carrying the second identification information sent by the target terminal.
And a fourth receiving module, configured to establish an RRC connection with the target terminal based on the context information of the target terminal, in the case of receiving the second reconfiguration message carrying the second identification information sent by the target terminal.
Optionally, the second paging module includes a fourth receiving unit and a second transmitting unit, wherein:
and the fourth receiving unit is used for receiving the first acquisition message sent by the first target base station.
And the second sending unit is used for sending the context information of the target terminal to the first target base station based on the first acquisition message so that the first target base station establishes RRC connection with the target terminal based on the context information of the target terminal.
The first target base station is a base station to which the target terminal is connected.
Optionally, the apparatus further comprises a fifth receiving module and a fourth transmitting module, wherein:
And the fifth receiving module is used for receiving the second acquisition message sent by the second target base station.
And a fourth sending module, configured to send context information of the target terminal to the second target base station based on the second acquisition message, so that the second target base station establishes an RRC connection with the target terminal based on the context information of the target terminal.
The second target base station is a base station accessed by the target terminal.
The terminal context processing device provided by the embodiment of the invention is used for executing the terminal context processing method provided by the invention, the implementation mode of the terminal context processing device is consistent with the implementation mode of the terminal context processing method provided by the invention, and the same beneficial effects can be achieved, and the detailed description is omitted.
The embodiment of the invention stores the context information of the target terminal based on receiving and responding to the handover request, enables the first base station to release the context through the handover request confirmation message, indicates the target terminal to take over the wireless network service through the first paging message, and indicates the core network to update the context through the path switching request. When the first base station is turned off in an energy-saving way, the terminal context in an inactive state can be ensured to be quickly migrated to the second base station, so that the terminal context can be timely found when the subsequent terminal needs to restore the RRC connection state, the data service can be quickly restored, and the user experience is not influenced.
Fig. 8 is a second schematic structural diagram of the terminal context processing device provided by the present invention. As shown in fig. 8, a terminal context processing apparatus provided in an embodiment of the present invention includes: a second transmitting module 810, a third transmitting module 820, and a second receiving module 830, wherein:
the second sending module 810 is configured to send a release message to the target terminal, so that the target terminal enters the inactive state.
And a third sending module 820, configured to send a handover request to the second base station before releasing the context information of the target terminal, so that the second base station saves the context information of the target terminal.
The second receiving module 830 is configured to receive a handover request acknowledgement message sent by the second base station, and release context information of the target terminal based on the handover request acknowledgement message.
The handover request carries context information, first identification information and a cause value of the target terminal.
Specifically, the terminal context processing device provided in the embodiment of the present invention may be disposed on the first base station, or the terminal context processing device is the first base station.
The second transmitting module 810, the third transmitting module 820, and the second receiving module 830 are electrically connected in sequence.
The second transmitting module 810 transmits an RRCRelease message with a suptendconfig to the target terminal, so that the target terminal enters an RRC inactive state.
The third sending module 820 sends, before the first cell is turned off, a Handover Request message carrying the context information of the target terminal, the inactive state terminal identifier I-RNTI1 allocated to the UE by the first base station, and the specific Cause value Cause1 to the second base station.
After receiving the Handover Request Acknowledge message, the second receiving module 830 can determine that the second base station has taken over the context information of the target terminal according to the attribute of the message and the specific Cause value Cause1, and the context information of the target terminal is not needed to be processed locally, so that the context information of the target terminal is deleted, and then the cell shutdown procedure is entered.
The terminal context processing device provided by the embodiment of the invention is used for executing the terminal context processing method provided by the invention, the implementation mode of the terminal context processing device is consistent with the implementation mode of the terminal context processing method provided by the invention, and the same beneficial effects can be achieved, and the detailed description is omitted.
The embodiment of the invention enables the target terminal to enter the inactive state based on the sending of the release message, and enables the first base station to release the context by sending the handover request to the second base station before the first base station is turned off and receiving the handover request confirmation message fed back by the second base station. The first base station can be turned off in an energy-saving way on the premise of confirming the second base station to save the context. Furthermore, the terminal context in the inactive state can be ensured to be quickly migrated to the second base station, so that the terminal context can be timely found when the subsequent terminal needs to recover the RRC connection state, the data service can be quickly recovered, and the user experience is not influenced.
Fig. 9 illustrates a physical schematic diagram of an electronic device, as shown in fig. 9, which may include: processor 910, communication interface 920, memory 930, and communication bus 940, wherein processor 910, communication interface 920, and memory 930 communicate with each other via communication bus 940. Processor 910 can invoke logic instructions in memory 930 to perform a terminal context handling method comprising: receiving a handover request which is sent by a first base station and contains first identification information of a target terminal; responding to the handover request, storing context information of the target terminal, sending a handover request confirmation message to the first base station, generating second identification information, and initiating paging to the terminal based on the first paging message, so that the target terminal updates the locally stored identification information of the target terminal to the second identification information under the condition that the locally stored identification information is identical to the first identification information; sending a path switching request to a core network so that the core network updates the context information of the target terminal; the handover request carries the context information, the first identification information and the cause value of the target terminal; the first paging message carries first identification information, second identification information and a cause value.
Further, the logic instructions in the memory 930 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RAM, randomAccessMemory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of executing the terminal context processing method provided by the above methods, the method comprising: receiving a handover request which is sent by a first base station and contains first identification information of a target terminal; responding to the handover request, storing context information of the target terminal, sending a handover request confirmation message to the first base station, generating second identification information, and initiating paging to the terminal based on the first paging message, so that the target terminal updates the locally stored identification information of the target terminal to the second identification information under the condition that the locally stored identification information is identical to the first identification information; sending a path switching request to a core network so that the core network updates the context information of the target terminal; the handover request carries the context information, the first identification information and the cause value of the target terminal; the first paging message carries first identification information, second identification information and a cause value.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the terminal context processing method provided by the above methods, the method comprising: receiving a handover request which is sent by a first base station and contains first identification information of a target terminal; responding to the handover request, storing context information of the target terminal, sending a handover request confirmation message to the first base station, generating second identification information, and initiating paging to the terminal based on the first paging message, so that the target terminal updates the locally stored identification information of the target terminal to the second identification information under the condition that the locally stored identification information is identical to the first identification information; sending a path switching request to a core network so that the core network updates the context information of the target terminal; the handover request carries the context information, the first identification information and the cause value of the target terminal; the first paging message carries first identification information, second identification information and a cause value.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A terminal context processing method, comprising:
receiving a handover request which is sent by a first base station and contains first identification information of a target terminal;
responding to the handover request, storing context information of the target terminal, sending a handover request confirmation message to a first base station, generating second identification information, and initiating paging to the terminal based on a first paging message, so that the target terminal updates the locally stored identification information of the target terminal to the second identification information under the condition that the locally stored identification information is identical to the first identification information;
sending a path switching request to a core network so that the core network updates the context information of the target terminal;
the handover request carries context information, first identification information and a cause value of the target terminal; the first paging message carries the first identification information, the second identification information and the cause value; the cause value indicates that the current situation of the first base station is to be turned off.
2. The terminal context processing method according to claim 1, wherein the sending path switching request information to a core network so that the core network updates the context information of the target terminal, the method further comprises:
Under the condition of receiving target downlink data sent by the core network, initiating downlink paging to a terminal based on a second paging message carrying the second identification information;
under the condition of receiving a first reestablishment message carrying the second identification information sent by the target terminal, establishing RRC connection with the target terminal based on the context information of the target terminal;
or, in case of receiving the second reconfiguration message carrying the second identification information sent by the target terminal, establishing an RRC connection with the target terminal based on the context information of the target terminal.
3. The terminal context processing method according to claim 2, wherein in the case of receiving the target downlink data sent by the core network, after initiating downlink paging to the terminal based on a second paging message carrying the second identification information, the method further comprises:
receiving a first acquisition message sent by a first target base station;
based on the first acquisition message, sending the context information of the target terminal to the first target base station, so that the first target base station establishes RRC connection with the target terminal based on the context information of the target terminal;
The first target base station is a base station to which the target terminal is connected.
4. The terminal context processing method according to claim 1, wherein the sending path switching request information to the core network so that after the core network updates the context information of the target terminal, the method further comprises:
receiving a second acquisition message sent by a second target base station;
based on the second acquisition message, sending the context information of the target terminal to the second target base station, so that the second target base station establishes RRC connection with the target terminal based on the context information of the target terminal;
the second target base station is a base station to which the target terminal is connected.
5. A terminal context processing method, comprising:
sending a release message to a target terminal so that the target terminal enters an inactive state;
before releasing the context information of the target terminal, sending a handover request to a second base station so that the second base station stores the context information of the target terminal;
receiving a handover request confirmation message sent by the second base station, and releasing the context information of the target terminal based on the handover request confirmation message;
The handover request carries context information, first identification information and a cause value of the target terminal; the cause value indicates that the current situation of the first base station is to be shut down.
6. A terminal context processing apparatus, comprising:
the first receiving module is used for receiving a handover request which is sent by the first base station and contains first identification information of the target terminal;
the first paging module is used for responding to the handover request, storing the context information of the target terminal, sending a handover request confirmation message to the first base station, generating second identification information, and initiating paging to the terminal based on the first paging message so that the target terminal updates the locally stored identification information of the target terminal to the second identification information under the condition that the locally stored identification information is the same as the first identification information;
a first sending module, configured to send a path switching request to a core network, so that the core network updates context information of the target terminal;
the handover request carries context information, first identification information and a cause value of the target terminal; the first paging message carries the first identification information, the second identification information and the cause value; the cause value indicates that the current situation of the first base station is to be turned off.
7. A terminal context processing apparatus, comprising:
the second sending module is used for sending a release message to the target terminal so as to enable the target terminal to enter a non-activated state;
a third sending module, configured to send a handover request to a second base station before releasing the context information of the target terminal, so that the second base station saves the context information of the target terminal;
the second receiving module is used for receiving a handover request confirmation message sent by the second base station and releasing the context information of the target terminal based on the handover request confirmation message;
the handover request carries context information, first identification information and a cause value of the target terminal; the cause value indicates that the current situation of the first base station is to be shut down.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the terminal context handling method according to any of claims 1 to 5 when the program is executed.
9. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the terminal context handling method according to any of claims 1 to 5.
CN202111144349.9A 2021-09-28 2021-09-28 Terminal context processing method and device Active CN114051286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111144349.9A CN114051286B (en) 2021-09-28 2021-09-28 Terminal context processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111144349.9A CN114051286B (en) 2021-09-28 2021-09-28 Terminal context processing method and device

Publications (2)

Publication Number Publication Date
CN114051286A CN114051286A (en) 2022-02-15
CN114051286B true CN114051286B (en) 2023-06-16

Family

ID=80205000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111144349.9A Active CN114051286B (en) 2021-09-28 2021-09-28 Terminal context processing method and device

Country Status (1)

Country Link
CN (1) CN114051286B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616943A (en) * 2017-01-26 2018-10-02 华为技术有限公司 Information transferring method, base station and user equipment
CN109041219A (en) * 2017-06-09 2018-12-18 华为技术有限公司 A kind of communication means and equipment
CN109699050A (en) * 2017-10-24 2019-04-30 普天信息技术有限公司 A kind of inactive state terminal restores method, base station, equipment and the system of connection
WO2020122797A1 (en) * 2018-12-14 2020-06-18 Telefonaktiebolaget Lm Ericsson (Publ) Conditional mobility
CN112866982A (en) * 2019-09-29 2021-05-28 华为技术有限公司 Paging method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616943A (en) * 2017-01-26 2018-10-02 华为技术有限公司 Information transferring method, base station and user equipment
CN109041219A (en) * 2017-06-09 2018-12-18 华为技术有限公司 A kind of communication means and equipment
CN109699050A (en) * 2017-10-24 2019-04-30 普天信息技术有限公司 A kind of inactive state terminal restores method, base station, equipment and the system of connection
WO2020122797A1 (en) * 2018-12-14 2020-06-18 Telefonaktiebolaget Lm Ericsson (Publ) Conditional mobility
CN112866982A (en) * 2019-09-29 2021-05-28 华为技术有限公司 Paging method and device

Also Published As

Publication number Publication date
CN114051286A (en) 2022-02-15

Similar Documents

Publication Publication Date Title
CN108616950B (en) Mobility management method between wireless access networks, core network equipment and base station
CN112040567B (en) Method and device for recovering RRC connection and computer storage medium
CN110366224B (en) Signaling optimization method, device, computer readable storage medium and communication system
CN110602750B (en) Transmission link management, establishment and migration method, device, base station and storage medium
CN109699050B (en) Method, base station, equipment and system for recovering connection of inactive state terminal
CN107666691B (en) Terminal state conversion method and device
WO2018127030A1 (en) Method and device for notification of information about ran-based notification area
CN110636499B (en) Method, device, terminal and base station for updating notification area of wireless access network
US11375413B2 (en) Method and apparatus for processing information
JP2023530248A (en) Cell group processing method, device and communication equipment
CN114423017A (en) Self-configuration and self-optimization method, system and device
CN112105092A (en) Method and device for processing data in dual-connection reestablishment
US20240040341A1 (en) Communication method and terminal device
CN111294741A (en) Method and device for extracting and sending service information, terminal and base station
CN110089193B (en) Context release method, device and system
CN104507133A (en) Voice switching method and device
CN114051286B (en) Terminal context processing method and device
WO2019223774A1 (en) Method and device for improving reliability of paging , and computer storage medium
WO2016184157A1 (en) Method and apparatus for processing program in mobile communication system
CN110290565B (en) Access layer context management method and device
CN106454890B (en) Self-configuration and self-optimization method, system and device
CN109644338B (en) Method and device for obtaining secret key and computer storage medium
CN111510924B (en) Method and device for determining security algorithm and computer storage medium
CN109548191B (en) RRC connection reestablishment method, RRC connection recovery method, computer-readable storage medium, and base station
CN112423317B (en) Different network switching processing method, information configuration method, user equipment and network equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant