Disclosure of Invention
Embodiments of the present invention provide a connection management method and device, which are used to update a base station serving a user equipment when the user equipment moves outside a notification area of a current radio access network.
In a first aspect, a method for connection management is provided, where the method includes:
a first base station receives a wireless access network notification area update request sent by user equipment, wherein the wireless access point notification area update request is used for notifying the first base station that the user equipment has moved out of a current wireless access network notification area;
the first base station determines a data transmission service provided by a secondary base station for the user equipment;
and the first base station switches the data transmission service provided by the auxiliary base station for the user equipment to be provided by the first base station.
Optionally, the method further includes:
if the first base station is a main base station corresponding to the user equipment, the first base station determines transmission tunnel information corresponding to a quality of service (QoS) flow transmitted by a secondary base station in all data flows of the user equipment;
and switching the data transmission service provided by the transmission tunnel corresponding to the transmission tunnel information to be provided by the first base station.
Optionally, the method further includes:
if the first base station is not the main base station corresponding to the user equipment, the first base station acquires the context of the user equipment from the main base station of the user equipment; the context comprises the transmission tunnel information of all QoS flows of the user equipment;
and switching the data transmission service provided by the transmission tunnels corresponding to all the QoS flows of the user equipment to be provided by the first base station.
Optionally, the determining, by the first base station, tunnel information corresponding to a QoS flow transmitted by a secondary base station in all QoS flows of the user equipment includes:
the first base station determines the QoS flow transmitted by the secondary base station in all the QoS flows of the user equipment according to the context of the user equipment; the context includes transmission tunnel information, which is established for the user equipment by the main base station and the auxiliary base station, for transmitting the QoS flow of the user equipment.
Optionally, the method further includes:
the first base station determines that a transmission tunnel corresponding to the QoS flow transmitted by the auxiliary base station is a tunnel of an N3 interface or a tunnel of an Xn interface according to the context;
if the first base station determines that the data transmission tunnel corresponding to the QoS flow transmitted by the auxiliary base station is a tunnel of an N3 interface according to the context, the first base station sends a first path updating request to a Session Management Function (SMF) device, wherein the first path updating request is used for requesting to update the tunnel of an N3 interface corresponding to the QoS flow transmitted by the auxiliary base station to the tunnel of an N3 interface of the first base station; or,
and if the first base station determines that the data interface corresponding to the QoS flow transmitted by the auxiliary base station is the tunnel of the Xn interface according to the context, deleting the information related to the auxiliary base station in the context by the first base station, and disconnecting the Xn interface for data transmission with the auxiliary base station.
Optionally, before all QoS flows of the user equipment are handed over to the first base station for transmission, the method further includes:
and the first base station sends a second path updating request to the SMF equipment, wherein the second path updating request is used for requesting to update downlink tunnel endpoints of the N3 interfaces corresponding to all QoS flows of the user equipment to the first base station.
Optionally, before the first base station receives a radio access network notification area update radio access point notification area update request sent by user equipment, the method further includes:
and the first base station updates the RRC state of the radio resource control signaling of the user equipment from an RRC connected state to an RRC inactivated state, and allocates a RAN notification area for the user equipment.
Optionally, the method further includes:
the first base station receives an RRC connection recovery request sent by user equipment; the RRC connection restoration request is used for requesting to restore the RRC state of the user equipment to the RRC connection state;
the first base station allocates part of the QoS flows of the user equipment to the secondary base station or a new secondary base station so as to provide communication service for the part of the QoS flows through the secondary base station or the new secondary base station; wherein the new secondary base station is a base station reallocated by the user equipment after the user equipment sends the wireless access point notification area update request;
the first base station sends an RRC recovery response message to the user equipment, where the RRC recovery response message includes configuration information of the secondary base station or the new secondary base station, so that the user equipment can recover a radio bearer with the secondary base station according to the configuration information, or establish a radio bearer with the new secondary base station.
In a second aspect, a base station is provided, including:
a transceiver unit, configured to receive a radio access network notification area update request sent by a user equipment, where the radio access point notification area update request is used to notify the base station that the user equipment has moved outside a current radio access network notification area;
a determining unit, configured to determine a data transmission service provided by a secondary base station for the user equipment;
a switching unit, configured to switch a data transmission service provided by a secondary base station for the ue to be provided by the base station.
Alternatively to this, the first and second parts may,
the determining unit is further configured to determine, if the base station is a primary base station corresponding to the user equipment, transmission tunnel information corresponding to a QoS flow transmitted by a secondary base station in all data flows of the user equipment;
the switching unit is further configured to switch the data transmission service provided through the transmission tunnel corresponding to the transmission tunnel information to be provided by the base station.
Alternatively to this, the first and second parts may,
the determining unit is further configured to obtain a context of the user equipment from a master base station of the user equipment if the base station is not the master base station corresponding to the user equipment; the context comprises the transmission tunnel information of all QoS flows of the user equipment;
alternatively to this, the first and second parts may,
the determining unit is specifically configured to determine, according to the context of the ue, a QoS flow transmitted by the secondary base station in all QoS flows of the ue; the context includes transmission tunnel information, which is established for the user equipment by the main base station and the auxiliary base station, for transmitting the QoS flow of the user equipment.
Optionally, the base station further includes a deleting unit;
the determining unit is further configured to determine, by the context, that a transmission tunnel corresponding to the QoS flow transmitted by the secondary base station is a tunnel of an N3 interface or a tunnel of an Xn interface;
the transceiver unit is further configured to send a first path update request to a session management function SMF device if the determining unit determines, according to the context, that the data transmission tunnel corresponding to the QoS flow transmitted by the secondary base station is a tunnel of an N3 interface, where the first path update request is used to request that a tunnel of an N3 interface corresponding to the QoS flow transmitted by the secondary base station is updated to a tunnel of an N3 interface of the base station; or,
and the deleting unit is configured to delete the information related to the secondary base station in the context and disconnect an Xn interface for data transmission with the secondary base station if the first base station determines, according to the context, that a data interface corresponding to the QoS flow transmitted by the secondary base station is an Xn interface tunnel.
Alternatively to this, the first and second parts may,
the transceiver unit is further configured to send a second path update request to the SMF device before the switching unit switches all QoS flows of the user equipment to the base station for transmission, where the second path update request is used to request that downlink tunnel endpoints of the N3 interfaces corresponding to all QoS flows of the user equipment be updated to the base station.
Optionally, the base station further includes an updating unit;
the updating unit is configured to update the RRC state of the radio resource control signaling RRC of the user equipment from an RRC connected state to an RRC inactive state and allocate a RAN notification area to the user equipment before the receiving unit receives a radio access point notification area update request sent by the user equipment.
Optionally, the base station further includes an allocation unit;
the receiving unit is configured to receive an RRC connection recovery request sent by a user equipment; the RRC connection restoration request is used for requesting to restore the RRC state of the user equipment to the RRC connection state;
the allocating unit is configured to allocate a part of QoS flows of all QoS flows of the ue to the secondary base station or a new secondary base station, so as to provide a communication service for the part of QoS flows through the secondary base station or the new secondary base station; wherein the new secondary base station is a base station reallocated by the allocation unit to the user equipment after the user equipment sends the wireless access point notification area update request;
the transceiver unit is further configured to send an RRC recovery response message to the user equipment, where the RRC recovery response message includes configuration information of the secondary base station or the new secondary base station, so that the user equipment can recover a radio bearer with the secondary base station according to the configuration information, or establish a radio bearer with the new secondary base station.
In a third aspect, there is provided another base station, including:
at least one processor, and
a memory communicatively coupled to the at least one processor, a communication interface;
wherein the memory stores instructions executable by the at least one processor, the at least one processor performing the method of the first aspect with the communication interface by executing the instructions stored by the memory.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, including:
the computer readable storage medium stores computer instructions which, when executed on a computer, cause the computer to perform the method of the first aspect.
In the embodiment of the present invention, when the ue moves outside the current radio access network notification area, the ue sends a radio access network notification area update request to the first base station to notify the first base station that the ue has moved outside the radio access network notification area, and the first base station determines a secondary base station providing a communication service for the ue and switches a transmission tunnel established by the secondary base station for the ue to the first base station for reconstruction. Therefore, for the user equipment in the moving process, the wireless access network node which provides data transmission service for the user equipment can be updated according to the updating request of the user equipment, so that the situation that the user equipment cannot forward the information to the user equipment in time after moving to the last node is avoided; or, it is avoided that if the node of the user is not updated, the original node provides the data transmission service for the user equipment, but the communication process cannot be performed, thereby wasting the signaling connection overhead and occupying the network resources.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
The technical background of the embodiments of the present invention is described below.
Currently, 3GPP specifies how to perform a procedure of reestablishing and releasing a New Radio (NR) bearer when an RRC inactive UE is simultaneously provided with communication services by an MgNB and an SgNB, but does not provide a related technical solution of how to manage a quality of Service (QOS) flow (flow) of the UE transmitted by the MgNB or the SgNB after the UE may move out of a Service range of the MgNB or the SgNB when the UE moves.
In view of this, an embodiment of the present invention provides a connection management method, in which when a ue moves outside a current radio access network notification area, the ue sends a radio access network notification area update request to a first base station to notify the first base station that the ue has moved outside the radio access network notification area, and the first base station determines a secondary base station providing a communication service for the ue, and switches a transmission tunnel established by the secondary base station for the ue to the first base station for reestablishment. Therefore, for the user equipment in the moving process, the wireless access network node which provides data transmission service for the user equipment can be updated according to the updating request of the user equipment, so that the situation that the user equipment cannot forward the information to the user equipment in time after moving to the last node is avoided; or, it is avoided that if the node of the user is not updated, the original node provides the data transmission service for the user equipment, but the communication process cannot be performed, thereby wasting the signaling connection overhead and occupying the network resources.
The technical scheme provided by the embodiment of the invention is described below by combining the accompanying drawings.
Referring to fig. 2, an embodiment of the present invention provides a connection management method, which can be performed by a connection management device provided in another embodiment of the present invention, and the connection management device can be implemented by a base station (gNB) in 5G communication, for example. The method comprises the following steps:
step 101: a first base station receives a RAN notification area update request sent by user equipment, and the RAN notification area update request is used for notifying the first base station that the user equipment has moved out of a current RAN notification area;
step 102: the first base station determines a data transmission service provided by the auxiliary base station for the user equipment;
step 103: and the first base station switches the data transmission service provided by the auxiliary base station for the user equipment to be provided by the first base station.
In the embodiment of the present invention, when the ue is in the RRC inactive state, it is desirable to let the core network side device consider that the ue is always in the connected state. The connection management states of a device on the core side, for example, a user equipment included in the AMF device, include two states, namely, a connection state (CM-Connected) and an Idle state (CM-Idle), when a signaling connection (signaling connection) of an N2 interface between the RAN and the AMF device, which is established by the RAN for the user equipment, is released, the AMF device considers that the user equipment enters the Idle state, otherwise, the AMF device considers that the user equipment is in the connection state. Therefore, when the ue is in the RRC inactive state, the RAN node connected to the ue will continue to receive downlink signaling or data information of the ue, and then the RAN node will set a notification area (notification area) for the ue in order to forward the downlink signaling or data information to the ue, i.e., to page the ue.
Specifically, before the MgNB activates the RRC inactive state for the ue, the ue may be served by the MgNB and the SgNB simultaneously. The MgNB may allocate an SgNB to the ue to transmit the user plane data to the ue. In which, how to allocate MgNB specifically belongs to the scope of the prior art, and the embodiments of the present invention are not described herein.
After the MgNB allocates the SgNB to the user equipment, the MgNB may then request the SMF device to do the following.
(1) The MgNB may request the SMF device to direct downlink user plane traffic for part or all of a Protocol Data Unit (PDU) session of the user equipment to one of the MgNB or SgNB. Wherein, the PDU session is a transmission tunnel for transmitting QOS flow of the user equipment, and when all downlink user plane traffic included in one complete PDU session is directed to one base station, that is, the downlink user plane traffic of the one complete PDU session is transmitted through the one base station, at this time, only one corresponding downlink transmission tunnel of the N3 interface is terminated for the PDU session.
(2) The MgNB can request the SMF device to direct downlink user plane traffic of a part of QOS flows in any one PDU session of the user equipment to the SgNB, while other QOS flows except the part of QOS flows in the PDU session remain in the MgNB, that is, for the same PDU session, the SgNB transmits downlink user plane traffic of a part of QOS flows in the PDU session, and the MgNB transmits downlink user plane traffic of the rest of QOS flows, so that the PDU session is terminated corresponding to downlink transmission tunnels of two N3 interfaces no matter how many QOS flows the PDU session includes.
In the embodiment of the invention, when the user is static or the mobility is low, the MgNB selects to activate the RRC non-activated state for the user equipment, and simultaneously distributes the RAN notification area for the user equipment. How MgNB activates the RRC inactive state belongs to the category of the prior art, and therefore, the details thereof are not described herein.
In the embodiment of the present invention, when the ue moves outside the RAN notification area allocated by the MgNB, the ue initiates a RAN notification area update (RAN notification area update) request. Correspondingly, after the ue initiates the RAN notification area update request, the first base station receives the RAN notification area update request, determines the SgNB providing communication service for the ue, and switches the downlink transmission tunnel established by the SgNB for the ue to the first base station, that is, reestablishes the part of the downlink transmission tunnel established by the SgNB for the ue through the first base station.
In the embodiment of the present invention, when the first base station that receives the RAN notification area update request may be an MgNB that provides a communication service for the user equipment before the user equipment initiates the RAN notification area update request, or may not be an MgNB that provides a communication service for the user equipment before the user equipment initiates the RAN notification area update request, so that the following will describe the technical solution of the embodiment of the present invention according to different situations. Hereinafter, the MgNB that provides communication service for the user equipment before the user equipment initiates a RAN notification area update request is referred to as an original MgNB, and the SgNB that provides communication service for the user equipment before the user equipment initiates a RAN notification area update request is referred to as an original SgNB.
Referring to fig. 3, a schematic flow chart of a method for providing, by a first base station, an MgNB for providing a communication service to a user equipment before the user equipment initiates a RAN notification area update request, that is, the first base station is corresponding to an original MgNB of the user equipment.
S301: the user equipment initiates a RAN notification area update request, and the first base station receives the RAN notification area update request.
S302: the first base station determines QOS flows for transmission by the SgNB.
In the embodiment of the present invention, when the first base station is the original MgNB of the ue, since the Context (Context) of the ue is stored in the first base station, the first base station may determine, according to the related information of the SgNB corresponding to the ue recorded in the Context, which QOS streams of the ue are transmitted through the SgNB, and further switch the QOS streams transmitted through the SgNB to be transmitted through the first base station.
Specifically, the context records downlink transmission tunnel information of an N3 interface or an Xn interface corresponding to the SgNB, and the first base station may determine the QOS stream transmitted through the SgNB according to the recorded downlink transmission tunnel information of the N3 interface or the Xn interface corresponding to the SgNB. The Xn interface is a transmission interface between base stations, and may be a transmission interface between MgNB and SgNB, for example.
S303: the first base station sends a first path switching request to the SMF equipment, and the SMF equipment receives the first path switching request.
When the first base station determines that the SgNB carries out the QOS stream transmission through the tunnel of the N3 interface, that is, the SgNB directly establishes a transmission tunnel with the UPF management device of the core network, and further directly carries out the QOS stream transmission, the SMF device also considers that the part of the QOS stream is always transmitted through the SgNB, so that after the first base station switches the QOS stream transmitted through the SgNB to be transmitted through itself, the first base station also sends a first path switching request to the SMF device to notify the SMF device to update the downlink transmission tunnel information of the N3 interface corresponding to the QOS stream transmitted through the SgNB before to the downlink transmission tunnel information of the N3 interface on the first base station, so as to carry out the subsequent QOS stream transmission, and can carry out normal transmission. Meanwhile, the SMF device also releases the resources used by the transmission tunnel established with the SgNB, so as to reduce the waste of resources.
Specifically, as can be seen from the network architecture diagram shown in fig. 1, the RAN cannot directly communicate with the SMF device, that is, the first base station cannot directly send the first path switching request to the SMF device, so that the first base station can send the first path switching request to the AMF device through the N2 signaling, and the AMF device forwards the first path switching request to the SMF device.
S304: the SMF equipment returns a first path switching response message to the first base station, and the first base station receives the first path switching response message.
After receiving the first path switching request sent by the first base station, the SMF device updates the downlink transmission tunnel information of the N3 interface corresponding to the QOS stream transmitted by the SgNB to the downlink transmission tunnel information of the N3 interface on the first base station, and returns a first path switching response message to the first base station.
Specifically, the SMF device may also send the first path switching response message to the AMF device, and then the AMF device may forward the first path switching response message to the first base station through the N2 signaling.
In the embodiment of the present invention, after the SMF device updates the transmission tunnel information corresponding to the QOS flow of the user equipment, the SMF device needs to notify the update to the UPF management device through an N4 signaling, so that the UPF configures a node of the user plane, that is, when the information of the user equipment needs to be forwarded subsequently, the node needs to be sent through the transmission tunnel corresponding to the updated transmission tunnel information.
S305: the first base station sends an Xn signaling release request to the SgNB, and the SgNB receives the Xn signaling release request.
When the first base station determines that the SgNB transmits the QOS flow through the tunnel of the Xn interface, namely a transmission tunnel is established between the SgNB and the first base station, and further the SgNB forwards the QOS flow through the MgNB, the first base station updates the context stored in the first base station, namely the information of the downlink transmission tunnel related to the SgNB in the context is deleted.
In addition, the first base station also disconnects the Xn interface for data transmission with the SgNB. Specifically, the first base station may send an Xn signaling release request to the SgNB to request the SgNB to correspondingly delete the relevant information of the signaling connection of the Xn interface between the first base station and the SgNB, so as to release the signaling overhead of the Xn interface between the first base station and the SgNB.
S306: and the SgNB returns an Xn signaling release response message to the first base station, and the first base station receives the Xn signaling release response message.
After receiving the Xn signaling release request, the SgNB deletes the relevant information of the signaling connection of the Xn interface between the first base station and the SgNB, and returns an Xn signaling release response message to the first base station.
Since S303 to S304 and S305 to S306 are operations corresponding to two different cases, operations corresponding to S303 to S304 are shown by broken lines in fig. 3 to be distinguished from each other.
S307: the first base station returns RAN notification area update response information to the user equipment, and the user equipment receives the RAN notification area update response information.
After the first base station completes the subsequent operation of the RAN notification area update request initiated by the user equipment, that is, the first base station receives the Xn signaling release response message, or the first base station receives the first path switching response message, the RAN notification area update response message is sent to the user equipment to notify the user equipment that the first base station has switched the QOS stream transmitted by the user equipment through SgNB to the first base station for transmission.
Please refer to fig. 4, which is a flowchart illustrating a corresponding method when the MgNB of the ue changes. The MgNB of the ue changes, that is, the first base station receiving the RAN notification area update request initiated by the ue is not the original MgNB of the ue.
S401: the user equipment initiates a RAN notification area update request, and the first base station receives the RAN notification area update request.
S402: the first base station sends a context request to the original MgNB, and the original MgNB receives the context request.
In the embodiment of the invention, because the first base station is not the original MgNB of the user equipment, the first base station cannot acquire the PDU session information or the related information of the QOS flow of the user equipment, and therefore, the first base station can acquire the context of the user equipment from the original MgNB. Specifically, the first base station may send an obtaining context obtaining request to the original MgNB to request the original MgNB to send the context of the user equipment to the first base station. Accordingly, the original MgNB may receive the context request.
S403: and the original MgNB sends a context response message to the first base station, and the first base station receives the context response message.
After receiving the context request, the original MgNB sends a context response message to the first base station, where the context response message carries the context of the user equipment to be acquired by the first base station.
S404: and the first base station sends a confirmation message to the original MgNB, and the original MgNB receives the confirmation message.
And after receiving the context sent by the original MgNB, the first base station returns a confirmation message to the original MgNB. After the original MgNB receives the acknowledgement message, all resources related to the user equipment are released. In addition, the original MgNB sends a message to the original SgNB to instruct the original SgNB to release all resources related to the ue, so that the original SgNB also releases all resources related to the ue.
S405: the first base station determines the QOS flow for transmission by the original SgNB.
In the embodiment of the present invention, the first base station may determine, according to the obtained context, the relevant information of the original SgNB corresponding to the user equipment, and determine which QOS streams of the user equipment are transmitted through the original SgNB.
Specifically, the context records downlink transmission tunnel information of an N3 interface or an Xn interface corresponding to the original SgNB, and the first base station may determine the QOS stream transmitted through the original SgNB according to the recorded downlink transmission tunnel information of the N3 interface or the Xn interface corresponding to the original SgNB.
S406: and the first base station sends a second path switching request to the SMF equipment, and the SMF equipment receives the second path switching request.
After the first base station determines QOS streams transmitted by the original SgNB, the first base station sends a second path switching request to the SMF device to notify the SMF device to update downlink transmission tunnel information of N3 interfaces of all PDU sessions of the user equipment to downlink transmission tunnel information of N3 interfaces on the first base station, that is, all QOS streams of the user equipment are transmitted through the first base station when all QOS streams of the user equipment are transmitted subsequently.
Specifically, the first base station may send the second path switching request to the AMF device through the N2 signaling, and then the AMF device forwards the second path switching request to the SMF device.
S407: and the SMF equipment returns a second path switching response message to the first base station, and the first base station receives the second path switching response message.
After receiving the second path switching request sent by the first base station, the SMF device updates the downlink transmission tunnel information of the N3 interface corresponding to all PDU sessions of the user equipment to the downlink transmission tunnel information of the N3 interface on the first base station, and returns a second path switching response message to the first base station.
Specifically, the SMF device may also send the second path switching response message to the AMF device, and then the AMF device may forward the second path switching response message to the first base station through the N2 signaling.
In the embodiment of the present invention, after the SMF device updates the transmission tunnel information corresponding to the QOS flow of the user equipment, the SMF device needs to notify the update to the UPF management device through an N4 signaling, so that the UPF configures a node of the user plane, that is, when the information of the user equipment needs to be forwarded subsequently, the node needs to be sent through the transmission tunnel corresponding to the updated transmission tunnel information.
S408: the first base station returns RAN notification area update response information to the user equipment, and the user equipment receives the RAN notification area update response information.
After the first base station completes the subsequent operation of the RAN notification area update request initiated by the user equipment, that is, after the first base station receives the second path switching response message, the RAN notification area update response message is sent to the user equipment to notify the user equipment that the first base station has switched all QOS streams of the user equipment to the first base station for transmission.
Please refer to fig. 5, which is a flowchart illustrating a method when the ue enters the RRC connected state again.
S501: the user equipment sends an RRC connection recovery request to the first base station, and the first base station receives the RRC connection recovery request.
In this embodiment of the present invention, after the ue enters the RRC inactive state, the RRC connection of the ue may be recovered through a service trigger of the ue or a paging trigger of the RAN. That is, when the user needs to forward data or the RAN needs to forward data to the user equipment, the RRC inactive state of the user equipment may be terminated, and the RRC connection of the user equipment may be resumed. Therefore, when the service of the user equipment is triggered or the paging of the RAN is triggered, the user equipment initiates an RRC connection recovery request to the first base station that provides communication service for the user equipment of course, so as to request the first base station to update the connection state of the RRC of the user equipment to the RRC connection state.
S502: the first base station determines a part of all QOS flows of the user equipment, which are provided with communication service by the SgNB.
After the ue enters the RRC connected state, in order to ensure that the ue is better provided with a communication service, the first base station may further allocate a part of QOS streams of all QOS streams of the ue to the SgNB, and further provide the communication service for the ue through the first base station and the SgNB together.
Specifically, in the context of the ue, a part of QOS streams that were last allocated to SgNB for transmission may be marked, so the first base station may allocate the part of QOS streams marked in the context to SgNB for transmission. Of course, the first base station may also re-determine a part of QOS flows from all QOS flows of the user equipment, and reallocate the QOS flows to SgNB for transmission.
Here, the SgNB may be an original SgNB of the ue, or may be an SgNB that is newly determined by the first base station for the ue. For example, after the ue enters the RRC inactive state, the location of the ue does not change, that is, the SgNB of the ue does not change, so that the ue can directly select the original SgNB as the SgNB of the ue without re-determining; or, after the ue enters the RRC inactive state and moves outside the notification area corresponding to the ue, the first base station may clear the information about the original SgNB of the ue, which is the technical solution described in the embodiments shown in fig. 3 and 4 in the present invention, so that after the ue enters the RRC connected state again, the SgNB needs to be newly allocated to the ue.
S503: the first base station sends an auxiliary base station adding request to the SgNB, and the SgNB receives the auxiliary base station adding request.
After the first base station determines the QOS flow of the communication service provided by the SgNB, the first base station needs to send the configuration information of the allocated SgNB to the user equipment, but the current base station may not know the configuration information of the SgNB, so the first base station also sends a third request to the SgNB, where the third request is used to request the SgNB to send the configuration of the SgNB to the first base station, and in addition, the third request can also be used to inform that the first base station has allocated part of the QOS flow of the user equipment to the SgNB for transmission.
S504: and the SgNB sends an auxiliary base station addition response message to the first base station, and the first base station receives the auxiliary base station addition response message.
After the SgNB receives the secondary base station addition request sent by the first base station, it sends a secondary base station addition response message to the first base station to send its own configuration information to the first base station.
S505: the first base station sends an RRC recovery response message to the user equipment, and the user equipment receives the RRC recovery response message.
In this way, after the user equipment acquires the configuration information of the SgNB, the user equipment may establish a radio bearer with the SgNB according to the configuration information of the SgNB, so as to transmit a QOS stream corresponding to the user equipment through the SgNB. Specifically, when the SgNB is the original SgNB of the ue, the ue only needs to recover a radio bearer (radio bearer) with the original SgNB; when the SgNB is the SgNB reallocated to the first base station, the ue needs to reestablish the radio bearer with the SgNB.
In summary, in the embodiments of the present invention, when the ue moves outside the current radio access network notification area, the ue sends a radio access network notification area update request to the first base station to notify the first base station that the ue has moved outside the radio access network notification area, and the first base station determines a secondary base station providing a communication service for the ue, and switches a transmission tunnel established by the secondary base station for the ue to the first base station for reconstruction. Therefore, for the user equipment in the moving process, the wireless access network node which provides data transmission service for the user equipment can be updated according to the updating request of the user equipment, so that the situation that the user equipment cannot forward the information to the user equipment in time after moving to the last node is avoided; or, it is avoided that if the node of the user is not updated, the original node provides the data transmission service for the user equipment, but the communication process cannot be performed, thereby wasting the signaling connection overhead and occupying the network resources.
Referring to fig. 6, based on the same inventive concept, an embodiment of the present invention provides a base station 60, where the base station 60 includes:
a transceiver 601, configured to receive a radio access network notification area update request sent by a user equipment, where the radio access network notification area update request is used to notify a base station that the user equipment has moved outside a current radio access network notification area;
a determining unit 602, configured to determine a data transmission service provided by a secondary base station for a user equipment;
a switching unit 603, configured to switch the data transmission service provided by the secondary base station for the ue to be provided by the base station.
Alternatively to this, the first and second parts may,
a determining unit 602, configured to determine, if the base station is a primary base station corresponding to the user equipment, transmission tunnel information corresponding to a quality of service QoS flow transmitted by the secondary base station in all data flows of the user equipment;
the switching unit 603 is further configured to switch the data transmission service provided through the transmission tunnel corresponding to the transmission tunnel information to be provided by the base station.
Alternatively to this, the first and second parts may,
a determining unit 602, further configured to obtain a context of the ue from a primary base station of the ue if the base station is not the primary base station corresponding to the ue; the context includes transmission tunnel information of all QoS flows of the user equipment;
alternatively to this, the first and second parts may,
a determining unit 602, specifically configured to determine, according to a context of a ue, a QoS flow transmitted by a secondary base station in all QoS flows of the ue; the context includes transmission tunnel information which is established for the user equipment by the main base station and the auxiliary base station and is used for transmitting the QoS flow of the user equipment.
Optionally, the base station further includes a deleting unit 604;
a determining unit 602, further configured to determine, according to the context, that a transmission tunnel corresponding to the QoS flow transmitted by the secondary base station is a tunnel of an N3 interface or a tunnel of an Xn interface;
the transceiving unit 601 is further configured to send a first path update request to the session management function SMF device if it is determined that the data transmission tunnel corresponding to the QoS flow transmitted by the secondary base station is the tunnel of the N3 interface, where the first path update request is used to request that the tunnel of the N3 interface corresponding to the QoS flow transmitted by the secondary base station is updated to the tunnel of the N3 interface of the base station; or,
a deleting unit 604, configured to delete the information related to the secondary base station in the context and disconnect the Xn interface for data transmission with the secondary base station if it is determined that the data interface corresponding to the QoS flow transmitted by the secondary base station is a tunnel of the Xn interface.
Alternatively to this, the first and second parts may,
the transceiving unit 601 is further configured to send a second path update request to the SMF device before the switching unit 603 switches all QoS flows of the user equipment to the base station for transmission, where the second path update request is used to request that downlink tunnel endpoints of the N3 interfaces corresponding to all QoS flows of the user equipment be updated to the base station.
Optionally, the base station further includes an updating unit 605;
an updating unit 605, configured to update the RRC state of the radio resource control signaling RRC of the user equipment from an RRC connected state to an RRC inactive state and allocate a RAN notification area to the user equipment before the receiving unit receives the radio access point notification area update request sent by the user equipment.
Optionally, the base station further includes an allocating unit 606;
a receiving unit, configured to receive an RRC connection recovery request sent by a user equipment; the RRC connection restoration request is used for requesting to restore the RRC state of the user equipment to the RRC connection state;
an allocating unit 606, configured to allocate a part of QoS streams in all QoS streams of the user equipment to the secondary base station or the new secondary base station, so as to provide a communication service for the part of QoS streams through the secondary base station or the new secondary base station; wherein, the new secondary base station is a base station reallocated for the user equipment by the allocating unit 606 after the user equipment sends the wireless access point notification area update request;
the transceiver unit 601 is further configured to send an RRC recovery response message to the user equipment, where the RRC recovery response message includes configuration information of the secondary base station or the new secondary base station, so that the user equipment can recover a radio bearer with the secondary base station according to the configuration information, or establish a radio bearer with the new secondary base station.
The device may be configured to execute the methods provided in the embodiments shown in fig. 2 to fig. 5, and therefore, for functions and the like that can be realized by each functional module of the device, reference may be made to the description of the embodiments shown in fig. 2 to fig. 5, which is not described in detail. The deleting unit 604, the updating unit 605, and the allocating unit 606 are shown together in fig. 6, but it should be understood that the deleting unit 604, the updating unit 605, and the allocating unit 606 are not essential functional modules, and are shown by dotted lines in fig. 6.
Referring to fig. 7, an embodiment of the present invention further provides a base station, where the base station includes at least one processor 701 and a memory 702 communicatively connected to the at least one processor 701, and the at least one processor 701 is configured to implement the steps of the connection management method provided in the embodiments shown in fig. 2 to fig. 5 when executing a computer program stored in the memory 702.
Optionally, at least one of the processors 701 may specifically include a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), one or more integrated circuits for controlling program execution, a hardware circuit developed by using a Field Programmable Gate Array (FPGA), or a baseband processor.
Optionally, at least one processor 701 may include at least one processing core.
Alternatively, the memory 702 may include Read Only Memory (ROM), Random Access Memory (RAM), and disk storage. The memory 702 is used for storing data required by the at least one processor 701 in operation. The number of the memories 702 is one or more.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the connection management method provided in the embodiment shown in fig. 2 to 5.
In the embodiments of the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the described unit or division of units is only one division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical or other form.
The functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be an independent physical module.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device, such as a personal computer, a server, or a network device, or a processor (processor) to execute all or part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as a universal serial bus flash drive (usb flash drive), a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above embodiments are only used to describe the technical solutions of the present application in detail, but the above embodiments are only used to help understanding the method of the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention. Variations or substitutions that may be readily apparent to one skilled in the art are intended to be included within the scope of the embodiments of the present invention.