WO2019192608A1 - 一种连接重建立方法及装置 - Google Patents

一种连接重建立方法及装置 Download PDF

Info

Publication number
WO2019192608A1
WO2019192608A1 PCT/CN2019/081546 CN2019081546W WO2019192608A1 WO 2019192608 A1 WO2019192608 A1 WO 2019192608A1 CN 2019081546 W CN2019081546 W CN 2019081546W WO 2019192608 A1 WO2019192608 A1 WO 2019192608A1
Authority
WO
WIPO (PCT)
Prior art keywords
cell
terminal device
source
connection
message
Prior art date
Application number
PCT/CN2019/081546
Other languages
English (en)
French (fr)
Inventor
王瑞
戴明增
曾清海
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to BR112020020269-0A priority Critical patent/BR112020020269A2/pt
Priority to KR1020207030640A priority patent/KR102417372B1/ko
Priority to EP19781791.9A priority patent/EP3761752B1/en
Publication of WO2019192608A1 publication Critical patent/WO2019192608A1/zh
Priority to US17/061,167 priority patent/US11457497B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0079Transmission or use of information for re-establishing the radio link in case of hand-off failure or rejection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • H04W36/144Reselecting a network or an air interface over a different radio air interface technology
    • H04W36/1443Reselecting a network or an air interface over a different radio air interface technology between licensed networks
    • 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/30Connection release

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a connection re-establishment method and apparatus.
  • the 3rd Generation Partnership Project (3GPP) TS36.331 communication protocol specifies a method for triggering Radio Resource Control (RRC) connection re-establishment after a handover of a terminal device fails.
  • the method is: when the terminal device selects the re-established cell (referred to as: the first cell) to be the same as the source cell, the terminal device sends an RRC connection reestablishment request to the base station serving the first cell. a message to restore the RRC connection of the terminal device.
  • the terminal device enters an idle state.
  • connection re-establishment method is not applicable to a 5G system.
  • connection re-establishment method and device which can implement connection re-establishment of a terminal device in a 5G system, and effectively improve the probability that the terminal device restores the RRC connection.
  • a connection re-establishment method in which a terminal device selects a first cell; in a case where a format of a first cell is different from a source cell, and the first cell does not belong to a cell of the first type, the terminal device leaves The connection state is sent to the upper layer, and the connection release cause value includes a handover failure, a type of the first cell, a core network type corresponding to the first cell, a format of the first cell, and whether the first cell and the source core network At least one of a connection, a non-access stratum NAS recovery indication, a NAS change, and a core network type change, the connection release cause value is used to indicate that the upper layer determines whether to change the type of the core network to which the terminal device is connected, and the first type of cell is the source and the source.
  • the cell connected to the core network is the core network that the terminal device accesses in the source cell.
  • the terminal device in the present application determines whether the first cell belongs to the first type of cell after determining that the standard of the first cell is different from the standard of the source cell.
  • the terminal device leaves the connection state, which effectively improves the probability that the terminal device restores the RRC connection.
  • the terminal device leaves the connected state, it also sends a connection release reason value to the upper layer, so that the upper layer determines whether to change the type of the core network to which the terminal device is connected, so as to improve the probability that the terminal device restores the RRC connection.
  • a connection re-establishment method in which a terminal device selects a first cell; in a case where a format of a first cell is the same as a format of a source cell, or a format of a first cell is different from a format of a source cell, And the first device belongs to the first type of cell, the terminal device sends, to the reselected radio access network device, a first message for requesting to reestablish the radio resource control RRC connection between the terminal device and the access network, where
  • the radio access network device is a radio access network device to which the first cell belongs, the first type of cell is a cell connected to the source core network, and the source core network is a core network that the terminal device accesses in the source cell;
  • the device receives a second message sent by the reselected radio access network device for instructing the terminal device to establish a connection with the target radio access network device.
  • the terminal device determines whether the first cell belongs to the cell of the first type.
  • the radio access network device to which the first cell belongs ie, the reselected radio access network device
  • the terminal device sends the first message to the reselected radio access network device.
  • the terminal device before sending the first message to the reselected radio access network device, the terminal device further retains a security configuration used in the source cell, where the security configuration includes At least one of a RRC integrity protected secret key and an algorithm for RRC integrity protection.
  • the terminal device before sending the first message to the target radio access network device, the terminal device further resets the medium access control MAC entity, releases the MAC configuration, and releases/heavily Establishing/reserving a source service data adaptation protocol SDAP entity corresponding to the data radio bearer DRB, and releasing/re-establishing/reserving the source RLC entity corresponding to the SRB, and releasing/re-establishing/reserving the source RLC entity corresponding to the DRB, and The source PDCP entity corresponding to the SRB is released/re-established/reserved, and the source PDCP entity corresponding to the DRB is released/re-established/reserved.
  • the terminal device after receiving the second message sent by the reselection radio access network device, releases the first signaling radio bearer SRB 1 at the terminal device.
  • the terminal device In the case of the source PDCP entity, and the second message includes the first configuration information, the terminal device creates a PDCP entity of the SRB 1 according to the first configuration information; or the terminal device receives the retransmission of the reselected radio access network device.
  • the terminal device in the case that the terminal device releases the source PDCP entity of the first signaling radio bearer SRB 1, and the second message does not include the first configuration information, the terminal device creates a new SRB 1 according to the first preset configuration information.
  • the PDCP entity or, after receiving the second message sent by the reselection radio access network device, the terminal device reestablishes the source PDCP entity of the first signaling radio bearer SRB 1 after the terminal device retains the source PDCP entity of the first signaling radio bearer SRB 1
  • the PDCP entity of the SRB 1 or, after receiving the second message sent by the reselection radio access network device, the terminal device reserves the first signaling radio bearer SRB 1 at the terminal device.
  • the terminal device creates a PDCP entity of the SRB1 after releasing the source PDCP entity of the SRB 1, or the terminal device after receiving the second message sent by the reselection radio access network device, at the terminal device In the case where the NR PDCP entity of the first signaling radio bearer SRB 1 is re-established, the terminal device applies the NR PDCP entity of SRB 1.
  • the terminal device after the terminal device receives the second message sent by the reselection radio access network device, the terminal device releases the source RLC of the first signaling radio bearer SRB 1 In the case that the second message includes the second configuration information, the terminal device creates an RLC entity of the SRB 1 according to the second configuration information; or the terminal device receives the second message sent by the reselected radio access network device. After the terminal device releases the source RLC entity of the first signaling radio bearer SRB 1, and the second message does not include the second configuration information, the terminal device creates a new RLC of the SRB 1 according to the second preset configuration information.
  • the terminal device releases the SRB 1 when the terminal device retains the source RLC entity of the first signaling radio bearer SRB 1 The source RLC entity and the new RLC entity of SRB 1.
  • the terminal device further receives, by the reselection radio access network device, a third message that includes configuration information of the radio bearer RB, where the RB includes the second signaling.
  • the radio carries at least one of SRB 2 and DRB.
  • the terminal device releases the source PDCP entity of the RB, and the configuration information of the RB includes the third configuration information, the terminal device creates a PDCP entity of the RB according to the third configuration information; or, the RB is released in the terminal device.
  • the source PDCP entity, and the third message does not include the third configuration information
  • the terminal device creates a source PDCP entity of the RB according to the third preset configuration information; or the source PDCP entity re-establishes the RB at the terminal device
  • the terminal device applies the source PDCP entity of the RB; or, in the case that the terminal device retains the source PDCP entity of the RB, the terminal device re-establishes the source PDCP entity of the RB, or the source of the RB is retained in the terminal device.
  • the terminal device releases the source PDCP entity of the RB and reconstructs the PDCP entity of the RB.
  • the terminal device after receiving the third message sent by the reselection radio access network device, releases the source RLC entity of the RB, and the RB If the configuration information includes the fourth configuration information, the terminal device creates an RLC entity of the RB according to the fourth configuration information, or releases the source RLC entity of the RB, and the configuration information of the RB does not include the fourth configuration information. If the terminal device reserves the source RLC entity of the RB, the terminal device releases the source RLC entity of the RB, and creates a new RB. RLC entity.
  • the source SDAP entity of the DRB is released on the terminal device, and If the configuration information of the RB includes the fifth configuration information, the terminal device creates a SDAP entity of the DRB according to the fifth configuration information; or, if the terminal device retains the source SDAP entity of the DRB, the terminal device releases the DRB.
  • the source SDAP entity establishes a SDAP entity of the DRB.
  • the terminal device reestablishes the SDAP entity of the DRB.
  • the terminal device configures the entity by using configuration information corresponding to the configuration performed before the terminal device sends the first message.
  • the terminal device before the terminal device sends the first message to the reselected radio access network device, the standard and the source cell in the first cell The terminal device also determines that the first cell is connected to the source core network.
  • the first cell in a scenario where the format of the first cell is the same as that of the source cell, the first cell may be connected to the source core network or may not be connected to the source core network.
  • the RRC connection of the terminal device cannot be restored. Therefore, after determining that the format of the first cell is the same as that of the source cell, the terminal device further determines whether the connection of the first cell to the source core network can effectively improve the probability of the terminal recovering the RRC connection, and reduce signaling interaction.
  • the terminal device leaves the connection state, and sends a connection release cause value to the upper layer;
  • the connection release cause value includes the handover failure, the type of the first cell, the format of the first cell, the core network type corresponding to the first cell, and whether the first cell is At least one of a connection to a source core network, a non-access stratum NAS recovery indication, a NAS change, and a core network type change.
  • the reselected radio access network device cannot obtain the context of the terminal, so that the terminal device cannot be restored even if the format of the first cell is the same as that of the source cell. RRC connection.
  • a third aspect provides a connection re-establishment method, which is applied to an application scenario in which a terminal device initiates connection re-establishment. Specifically, the terminal device selects the first cell, and when the format of the first cell is the same as the format of the source cell, the terminal device sends a request to the reselected radio access network device to request to reestablish the terminal device and the access network.
  • the first radio message controls the first message of the RRC connection
  • the reselected radio access network device is the radio access network device to which the first cell belongs
  • the terminal device receives the fourth message sent by the reselected radio access network device, fourth
  • the message is used to indicate that the reselected radio access network device rejects the RRC connection between the terminal device and the access network.
  • the fourth message includes a reject cause value, and the reject cause value is used to indicate that the first cell is not connected to the source core network.
  • the terminal device may receive the fourth message sent by the reselection radio access network device, where the fourth message includes the first cell and the source core network. Unconnected reason value. The terminal device can determine whether to reselect the cell according to the reject reason value to establish a connection between the terminal device and the access network.
  • the terminal device may determine, as the first cell, the to-be-selected cell connected to the source core network, such that the terminal The behavior of the device in the subsequent process is simplified.
  • connection re-establishment device in a fourth aspect, is provided, and the connection re-establishment device is a terminal device.
  • the connection re-establishment device includes a selection unit, a determination unit, a control unit, and a transmission unit.
  • the above selecting unit is configured to select the first cell.
  • the determining unit is configured to determine whether the format of the first cell selected by the selecting unit is the same as the format of the source cell, and determining whether the first cell belongs to the first type of cell, where the first type of cell is the source core
  • the cell connected to the network, the source core network is the core network that the terminal device accesses in the source cell.
  • the control unit is configured to leave the connected state if the determining unit determines that the format of the first cell is different from the source cell and the first cell does not belong to the first type of cell.
  • the sending unit is configured to: when the determining unit determines that the standard of the first cell is different from the format of the source cell, and the first cell does not belong to the cell of the first type, sending a connection release cause value to the upper layer, and the connection release reason value Including handover failure, type of first cell, core network type corresponding to the first cell, system of the first cell, connection of the first cell to the source core network, non-access layer NAS recovery indication, NAS change, and core network type change At least one of the connection release cause values is used to instruct the upper layer to determine whether to change the type of the core network to which the terminal device is connected.
  • connection re-establishment device is provided, and the connection re-establishment device is a terminal device.
  • the connection re-establishment device includes a selection unit, a determination unit, a transmission unit, and a reception unit.
  • the above selecting unit is configured to select the first cell.
  • the determining unit is configured to determine whether the format of the first cell selected by the selecting unit is the same as the format of the source cell, and determining whether the first cell belongs to the first type of cell, where the first type of cell is the source core
  • the cell connected to the network, the source core network is the core network that the terminal device accesses in the source cell.
  • the transmitting unit is configured to: when the determining unit determines that the format of the first cell is the same as the format of the source cell, or that the determining unit determines that the format of the first cell is different from the format of the source cell, and the first cell belongs to the first
  • the first message is sent to the reselected radio access network device, and the first message is used to request to reestablish the radio resource control RRC connection between the terminal device and the access network, and reselect the radio access network device. It is a radio access network device to which the first cell belongs.
  • the receiving unit is configured to receive a second message sent by the reselected radio access network device, where the second message is used to instruct the terminal device to establish a connection with the target radio access network device.
  • connection re-establishment apparatus in the application further includes a configuration unit, configured to send, by the sending unit, the first to the reselected radio access network device Prior to the message, the security configuration used in the source cell is retained, the security configuration including at least one of a secret key for RRC integrity protection and an algorithm for RRC integrity protection.
  • the foregoing configuration unit is further configured to: after the sending unit sends the first message to the target radio access network device, reset the medium access control MAC entity, and release MAC configuration, and source service data adaptation protocol SDAP entity for releasing/re-establishing/reserving the data radio bearer DRB, and for releasing/re-establishing/reserving the source RLC entity corresponding to the SRB, and for releasing/ The source RLC entity corresponding to the DRB is re-established/reserved, and the source PDCP entity corresponding to the SRB is released/re-established/reserved, and the source PDCP entity corresponding to the DRB is released/reserved.
  • the foregoing configuration unit is further configured to: after the receiving unit receives the second message sent by the reselected radio access network device,
  • the source PDCP entity of the first signaling radio bearer SRB 1 When the source PDCP entity of the first signaling radio bearer SRB 1 is released, and the second message includes the first configuration information, the PDCP entity of the SRB 1 is newly created according to the first configuration information; or, the first letter is released. If the source carries the source PDCP entity of the SRB 1, and the second message does not include the first configuration information, the PDCP entity of the SRB 1 is newly created according to the first preset configuration information; or, the first signaling radio bearer is reserved.
  • the PDCP entity of the SRB 1 is reconstructed; or, in the case that the source PDCP entity of the first signaling radio bearer SRB 1 is retained, after the source PDCP entity of the SRB 1 is released, the new SRB1 is created.
  • the PDCP entity; or, in the case of re-establishing the NR PDCP entity of the first signaling radio bearer SRB 1, the NR PDCP entity of SRB 1 is applied.
  • the foregoing configuration unit is further configured to: after the receiving unit receives the second message sent by the reselected radio access network device,
  • the RLC entity of the SRB 1 When the source RLC entity of the first signaling radio bearer SRB 1 is released, and the second message includes the second configuration information, the RLC entity of the SRB 1 is newly created according to the second configuration information; or, the first letter is released. If the radio carries the source RLC entity of the SRB 1, and the second message does not include the second configuration information, the RLC entity of the SRB 1 is newly created according to the second preset configuration information; or, the first signaling radio bearer is reserved. In the case of the source RLC entity of SRB 1, the source RLC entity of SRB 1 is released, and the RLC entity of SRB 1 is newly created.
  • the receiving unit is further configured to receive a third message sent by the reselected radio access network device, where the third message includes configuration information of the radio bearer RB, and the RB At least one of the second signaling radio bearers SRB 2 and DRB is included.
  • the configuration unit is further configured to: when the source PDCP entity of the RB is released, and the configuration information of the RB includes the third configuration information, create a PDCP entity of the RB according to the third configuration information; or release the RB.
  • the source PDCP entity of the new RB is created according to the third preset configuration information; or, in the case that the source PDCP entity of the RB is re-established, the RB is applied.
  • the foregoing configuration unit is further configured to: when the source RLC entity of the RB is released, and the configuration information of the RB includes the fourth configuration information, according to the fourth The configuration information is used to create an RLC entity of the RB.
  • the RLC entity of the RB is newly created according to the fourth preset configuration information; or If the source RLC entity of the RB is reserved, the source RLC entity of the RB is released, and the RLC entity of the RB is newly created.
  • the foregoing configuration unit is further configured to: release the source of the DRB If the configuration information of the RB includes the fifth configuration information, the SDAP entity of the DRB is newly created according to the fifth configuration information, or the source SDAP entity of the DRB is released when the source SDAP entity of the DRB is reserved. And the SDAP entity of the DRB is newly created. Alternatively, if the terminal device retains the source SDAP entity of the DRB, the terminal device reestablishes the SDAP entity of the DRB.
  • the determining unit is further configured to: before the sending unit sends the first message to the reselecting radio access network device, When the format of a cell is the same as that of the source cell, it is determined that the first cell is connected to the source core network.
  • the determining unit is further configured to: before the sending unit sends the first message to the reselecting radio access network device, When the format of a cell is the same as that of the source cell, it is determined that the first cell is not connected to the source core network.
  • the connection re-establishment apparatus in the present application further includes a control unit, configured to determine, in the determining unit, that the first cell has the same standard as the source cell, and the first cell is not connected to the source core network. In the case of leaving the connected state.
  • the sending unit is further configured to: when the determining unit determines that the format of the first cell is the same as that of the source cell, and the first cell is not connected to the source core network, sending a connection release cause value to the upper layer; Including handover failure, type of first cell, system of first cell, core network type corresponding to first cell, connection of first cell to source core network, non-access layer NAS recovery indication, NAS change, and core network type change At least one of them.
  • connection re-establishment device in a sixth aspect, is provided, the connection re-establishment device being a terminal device.
  • the connection re-establishment device includes a selection unit. Determine the unit and the sending unit.
  • the foregoing selecting unit is configured to select the first cell.
  • the determining unit is configured to determine whether the format of the first cell selected by the selecting unit is the same as the format of the source cell.
  • the sending unit is configured to send the first message to the reselected radio access network device if the determining unit determines that the format of the first cell is the same as the format of the source cell.
  • the receiving unit is further configured to receive a fourth message sent by the reselection radio access network device, where the fourth message is used to instruct the reselection radio access network device to reject the RRC connection between the reestablishing the terminal device and the access network, and fourth The message includes a reject cause value, and the reject cause value is used to indicate that the first cell is not connected to the source core network.
  • the selecting unit is specifically configured to determine, as the first cell, the to-be-selected cell connected to the source core network.
  • a terminal device comprising: one or more processors, a memory, and a communication interface.
  • the memory and communication interface are coupled to one or more processors; the terminal device communicates with other devices through a communication interface, the memory is used to store computer program code, and the computer program code includes instructions, when one or more processors execute the instructions,
  • the terminal device performs the connection re-establishment method as described in the first aspect, the second aspect, the third aspect, and various possible implementations thereof.
  • a computer readable storage medium stores instructions; when it is run on the terminal device, causes the terminal device to perform the first aspect, the second aspect, and the third
  • a ninth aspect further provides a computer program product comprising instructions, when executed on a terminal device, causing the terminal device to perform the first aspect, the second aspect, the third aspect, and various possible implementations thereof as described above The connection re-establishment method described.
  • a connection re-establishment method wherein a reselection radio access network device receives a first message sent by a terminal device in a first cell (the first cell belongs to a reselection radio access network device), and the first message is used by Requesting to reestablish a radio resource control RRC connection between the terminal device and the access network; in case the reselection radio access network device is connected to the source core network, in response to the first message, reselecting the radio access network device to send to the terminal device a fifth message, the fifth message is used to indicate that the reselected radio access network device accepts the RRC connection between the terminal device reestablishment and the access network, and the source core network is the core network that the terminal device accesses in the source cell.
  • the source cell is the original serving cell of the terminal device or the source cell before the handover of the terminal device.
  • the network device receives a handover request message sent by the source base station for requesting a handover process of the replacement core network for the terminal device, where the handover request message includes a source context of the terminal device, and the source context of the terminal device includes a re-selection radio access
  • the first security parameter information that the network device checks the terminal device, and the source base station is the base station to which the source cell belongs.
  • the method of “responding to the first message, reselecting the radio access network device to send the fifth message to the terminal device” is: reselecting the radio access network device to verify the terminal device according to the first security parameter information; reselecting the wireless device The access network device determines to accept the RRC connection between the terminal device reestablishment and the access network, and sends a fifth message to the terminal device.
  • a connection re-establishment method is provided, and the first message sent by the radio access network device in the first cell (the first cell belongs to the reselection radio access network device) is received by the reselection radio access network device, where the first message is used by the first message.
  • the device Retrieving a radio resource control RRC connection between the terminal device and the access network; and reselecting the radio access network device to the terminal in response to the first message if the reselected radio access network device is not connected to the source core network;
  • the device sends a fourth message, where the fourth message is used to indicate that the reselected radio access network device rejects the RRC connection between the terminal device and the access network, and the fourth message includes a reject reason value, and the reject reason value is used to indicate the first cell.
  • the source core network is the core network that the terminal device accesses in the source cell, and the source cell is the original serving cell of the terminal device or the source cell before the terminal device switches.
  • the reject reason value is used to indicate that the first cell is not connected to the source core network. After the terminal device obtains the reject reason value, the terminal device determines whether to reselect the cell according to the reject reason value to establish the terminal device and the access network. The connection between the two.
  • connection re-establishment device is provided, and the connection re-establishment device is a radio access network device.
  • the connection re-establishment device includes a receiving unit, a determining unit, and a transmitting unit.
  • the receiving unit is configured to receive a first message sent by the terminal device in the first cell, where the first message is used to request to reestablish a radio resource control RRC connection between the terminal device and the access network, where the first cell belongs to the Reselect the wireless access network device.
  • the determining unit is configured to determine whether to connect with the source core network, where the source core network is a core network that the terminal device accesses in the source cell, and the source cell is the original serving cell of the terminal device or the source cell before the terminal device switches.
  • the sending unit is configured to send a fifth message to the terminal device in response to the first message, where the determining unit determines to connect to the source core network, where the fifth message is used to indicate that the reselected radio access network device accepts the terminal device reestablishment The radio resource control RRC connection with the access network.
  • the receiving unit is further configured to: when the first cell is in an evolved universal terrestrial radio access E-UTRA, and the first cell is connected to the source core network. And receiving, by the source base station, a handover request message, where the handover request message is used to request a handover process for the terminal device to replace the core network, where the handover request message includes a source context of the terminal device, and the source context of the terminal device includes The first security parameter information that is checked by the access network device for the terminal device, where the source base station is the base station to which the source cell belongs.
  • the determining unit is further configured to: according to the first security parameter information, verify the terminal device, and determine to accept the RRC connection between the terminal device and the access network.
  • the sending unit is specifically configured to: after the determining unit accepts the RRC connection between the terminal device and the access network, send the fifth message to the terminal device.
  • connection re-establishment device in a thirteenth aspect, is provided, the connection re-establishment device being a radio access network device.
  • the connection re-establishment device includes a receiving unit, a determining unit, and a transmitting unit.
  • the receiving unit is configured to receive a first message sent by the terminal device, where the first message is used to request to reestablish a radio resource control RRC connection between the terminal device and the access network.
  • the determining unit is configured to determine whether the radio access network device is connected to the source core network, where the source core network is a core network that the terminal device accesses in the source cell, and the source cell is the original serving cell of the terminal device or before the terminal device is switched. Source cell.
  • the sending unit is configured to send a fourth message to the terminal device in response to the first message, where the determining unit determines that the reselected radio access network device is not connected to the source core network, where the fourth message is used to indicate reselection of the wireless
  • the access network device rejects the RRC connection between the terminal device and the access network.
  • the fourth message includes a reject cause value, and the reject cause value is used to indicate that the first cell is not connected to the source core network.
  • a radio access network device comprising: one or more processors, a memory, and a communication interface.
  • the memory and communication interface are coupled to one or more processors; the wireless access network device communicates with other devices through a communication interface, the memory is used to store computer program code, and the computer program code includes instructions when one or more processors execute When instructed, the radio access network device performs the connection re-establishment method as described in the tenth aspect, the eleventh aspect, and various possible implementations thereof.
  • a fifteenth aspect further provides a computer readable storage medium having stored therein instructions; when operating on a radio access network device, causing the radio access network device to perform the tenth aspect as described above.
  • a computer program product comprising instructions for causing a radio access network device to perform the tenth aspect, the eleventh aspect, and various possibilities thereof, when operating on a radio access network device
  • the thirteenth aspect, the fourteenth aspect, the fifteenth aspect, the sixteenth aspect, and various implementations thereof reference may be made to the tenth aspect, the eleventh aspect, and each of A detailed description of the implementation; and the beneficial effects of the twelfth aspect, the thirteenth aspect, the fourteenth aspect, the fifteenth aspect, the sixteenth aspect, and various implementations thereof, reference may be made to the tenth aspect, The analysis of the beneficial effects in the eleventh aspect and its various implementations will not be repeated here.
  • connection re-establishment device is not limited to the device or the function module itself. In actual implementation, these devices or function modules may appear under other names. As long as the functions of the respective devices or functional modules are similar to the present application, they are within the scope of the claims and their equivalents.
  • a chip in a seventeenth aspect, may include: one or more processors, a memory, a communication bus; the memory is configured to store one or more computer instructions, and the one or more processors and the memory pass The communication bus is coupled to, when the chip is in operation, the one or more processors execute the one or more computer instructions stored in the memory to cause the chip to perform the first aspect and any possible implementation thereof, Or the connection re-establishment method according to any one of the second aspect and any one of the possible implementations of the third aspect and any one of the possible implementation manners.
  • a chip may include: one or more processors, a memory, a communication bus; the memory is configured to store one or more computer instructions, and the one or more processors and the memory pass The communication bus is coupled to, when the chip is in operation, the one or more processors execute the one or more computer instructions stored in the memory to cause the chip to perform the tenth aspect and any possible implementation thereof, Or the connection re-establishment method of any one of the eleventh aspect and any one of the possible implementations.
  • the source cell is an evolved universal terrestrial radio access E-UTRA cell.
  • the source core network is a fifth-generation core network 5GC, and the first type of cell is an NR cell.
  • the source cell is a new air interface NR cell, and correspondingly, the source core network is 5GC, and the first type of cell is an E-UTRA cell.
  • FIG. 1 is a network architecture of a conventional LTE system
  • FIG. 2 is a schematic diagram of a network structure in which a 4G system and a 5G system coexist;
  • FIG. 3 is a schematic structural diagram of hardware of a mobile phone according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a radio access network device according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart 1 of a connection re-establishment method according to an embodiment of the present application
  • FIG. 6 is a second schematic flowchart of a connection re-establishment method according to an embodiment of the present disclosure
  • FIG. 7 is a schematic flowchart 3 of a connection re-establishment method according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic flowchart 4 of a connection re-establishment method according to an embodiment of the present disclosure
  • FIG. 9 is a schematic flowchart 5 of a connection re-establishment method according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic flowchart 6 of a connection re-establishment method according to an embodiment of the present disclosure
  • FIG. 11 is a schematic flowchart 7 of a connection re-establishment method according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic flowchart 8 of a connection re-establishment method according to an embodiment of the present disclosure
  • FIG. 13 is a schematic flowchart nin of a connection re-establishment method according to an embodiment of the present disclosure
  • FIG. 14 is a schematic structural diagram 1 of a connection re-establishment apparatus according to an embodiment of the present disclosure
  • FIG. 15 is a schematic structural diagram 2 of a connection re-establishment apparatus according to an embodiment of the present application.
  • first and second are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining “first” and “second” may include one or more of the features either explicitly or implicitly. In the description of the embodiments of the present application, “multiple” means two or more unless otherwise stated.
  • Mobility is a major feature in wireless communication systems. It is mainly implemented by cell reselection in Idle mode and handover in Connected mode. In the connection mode, due to the complexity of multi-cell coverage in local areas, the cell strength and weakness contrast will change at any time during the handover process, so that the possibility of handover failure is relatively large.
  • LTE Long Term Evolution
  • UE User Equipment
  • the RRC connection re-establishment process to ensure the continuity of the service.
  • An embodiment of the present application refers to an evolved Node Base Station (eNB) in an LTE system as an LTE eNB, and a User Equipment (UE) in an LTE system is referred to as an LTE UE.
  • eNB evolved Node Base Station
  • UE User Equipment
  • the LTE eNB accesses the Evolved Packet Core (EPC) network through the S1 interface, and the LTE eNBs are connected through the X2 interface.
  • EPC Evolved Packet Core
  • Each LTE eNB is connected to at least one LTE UE.
  • Figure 1 shows the network architecture of a conventional LTE system.
  • the connection between the LTE eNB and the LTE UE is a wireless connection.
  • a solid line is illustrated in FIG.
  • LTE eNBs can evolve into Next Generation eNBs (ng-eNBs).
  • the ng-eNB provides wireless transmission resources for the UE by Evolved Universal Terrestrial Radio Access (E-UTRA) technology.
  • the ng-eNB may provide the 5th Generation Core Network (5GCN) service for the UE, and may also provide the EPC service for the UE.
  • 5GCN 5th Generation Core Network
  • the ng-eNB may be connected only to the 5GCN/EPC, or may be connected to the 5GCN and the EPC at the same time.
  • 5GCN can also be called 5GC.
  • a cell in which the NG-eNB provides the 5GC service is referred to as an E-UTRA-5GC cell
  • a cell in which the ng-eNB or the LTE eNB provides the EPC service is referred to as an E-UTRA-EPC cell.
  • the UE in the RRC Connected mode triggers the handover procedure in the LTE system (Intra-LTE), and the UE in the RRC Idle mode triggers the cell. Re-election process.
  • the core network accessed by the UE does not change, and the radio access technology (RAT) does not change.
  • the source configuration used by the UE in the source cell can be used in the same-standard cell.
  • the base station serving the source cell and the base station serving the target cell each have the context of the UE.
  • the connected state When the UE moves between the LTE cell and other cells (for example, the 3Generation Mobile Communication Technology (3G)/the 2 Generation Communication Communication Technology (2G)), the connected state
  • the UE triggers a handover procedure of changing the radio access technology (Inter-RAT), and the UE in the idle state triggers the cell reselection process.
  • the core network changes during the handover of the Inter-RAT, and the RAT also changes.
  • the source configuration used by the UE in the source cell cannot be used in the cells of different standards.
  • the base station serving the source cell has the context related to the source core network.
  • the base station serving the target cell has the context in which the UE is associated with the target core network.
  • the UE If the UE fails to switch, the RRC connection re-establishment process may be triggered. Correspondingly, the UE performs cell reselection. If the cell reselected by the UE (referred to as the first cell) is the same as the source cell, the UE sends an RRC Connection Reestablishment Request message to the base station serving the first cell. As can be seen from the above description, if the first cell is the same as the source cell, and the base station serving the first cell also has the context of the UE, the UE sends an RRC connection re-establishment request to the base station serving the first cell. After the message, the base station can pass the security check of the UE to restore the RRC connection of the UE. If the first cell is different from the source cell, the UE leaves the RRC connected state, that is, does not send an RRC connection re-establishment request message to the base station serving the first cell.
  • the access network (RAN) of the 5G system is called Next Generation RAN (NG-RAN), and the NG-RAN node includes ng-eNB and gNB (base station in 5G system).
  • NG-RAN Next Generation RAN
  • gNB provides wireless transmission resources for terminal devices through New Radio (NR) technology, and provides 5GC services for terminal devices.
  • NR New Radio
  • the UE in the 5G system is referred to as a 5G UE, and the cell in which the gNB provides the 5GC service is referred to as an NR cell.
  • Figure 2 shows the network structure in which the 4G system coexists with the 5G system.
  • the ng-eNB can access the EPC through the S1 interface, or can access the 5GC through other corresponding interfaces (indicated by NG in FIG. 2).
  • the 5G UE connected to the ng-eNB can access the 5GC through the ng-eNB.
  • the LTE UE connected to the ng-eNB can access the EPC through the ng-eNB.
  • the LTE eNB is connected to the ng-eNB connected to the EPC through an X2 interface, and the ng-eNB and the NR gNB are connected through an Xn interface.
  • the connection between multiple devices of the foregoing multiple devices and the UE may be a wireless connection. In order to conveniently and intuitively represent the connection relationship between the devices, a solid line is illustrated in FIG. 2 .
  • the UE in the connected state triggers a handover procedure, which includes changing the inter-system inter-RAT handover procedure and the intra-system inter -RAT) handover process.
  • the handover of the inter-system intra-RAT may be a handover between the E-UTRA-EPC cell and the E-UTRA-5GC cell.
  • the core network has changed, but the RAT has not changed.
  • the handover of the intra-system inter-RAT may be a handover of the UE between the E-UTRA and 5GC cells and the NR cell. In this switching mode, the core network has not changed, but the RAT has changed.
  • the UE has the following three switching scenarios:
  • the switching scenario of the core system and the RAT changes (Inter system inter-RAT). For example: handover between E-UTRA to EPC cell and NR cell, handover between LTE cell and NR cell.
  • the switching scenario of the core network change and the RAT unchanged (Inter system intra-RAT). For example: handover between E-UTRA to EPC cells and E-UTRA to 5GC cells, handover between LTE cells and E-UTRA to 5GC cells.
  • the source cell is an E-UTRA to 5GC cell
  • the first cell is an NR cell
  • the E-UTRA-5GC cell is different from the NR cell according to the existing RRC.
  • the connection re-establishment process after determining that the format of the first cell is different from the format of the source cell, the UE leaves the RRC connected state.
  • SDAP Service Data Adaptation Protocol
  • the PDCP type both NR PDCP
  • the configuration of the quality of service (QoS) of the UE can also be configured. Used in the first cell to ensure continuity of services/data.
  • the UE can resume the RRC connection by transmitting an RRC Connection Reestablishment Request message.
  • the source cell is an E-UTRA to EPC cell
  • the first cell is an E-UTRA to 5GC cell
  • the E-UTRA to EPC cell and the E-UTRA to 5GC cell are used.
  • the UE sends an RRC Connection Reestablishment Request message to the ng-eNB serving the E-UTRA-5GC.
  • the UE Before the UE determines the first cell, the UE has reverted back to its configuration used in the source cell (referred to as: source configuration), and the source configuration cannot be used in the first cell, therefore, Even if the UE sends an RRC Connection Reestablishment Request message to the ng-eNB, the UE receives the RRC Connection Reestablishment Reject message sent by the ng-eNB, causing the re-establishment to fail.
  • source configuration used in the source cell
  • the embodiment of the present application provides a method for establishing a connection re-establishment.
  • the terminal device leaves the connected state and sends a connection release reason value to the upper layer to indicate whether the upper layer determines whether to change the type of the core network to which the terminal device is connected.
  • the first type of cell is a cell connected to the source core network.
  • the terminal device sends a request for reestablishing the RRC between the terminal device and the access network to the reselected base station.
  • the first message of the connection determines whether the method of determining whether the system of the first cell is the same as the format of the source cell and whether the cell of the first cell belongs to the cell of the first type determines whether to reselect the radio access network device. Sending the first message effectively improves the probability that the terminal device restores the RRC connection, and reduces signaling interaction.
  • the RRC connection re-establishment method provided in the embodiment of the present application is applicable to the RRC connection re-establishment process in the handover failure scenario, and is also applicable to other RRC connection re-establishment procedures except the handover failure scenario.
  • the RRC connection re-establishment process triggered by other events such as radio link failure, RRC reconfiguration failure, integrity check failure, and the like.
  • the connection re-establishment method provided by the embodiment of the present application is applicable to the communication system shown in FIG. 2.
  • the source radio access network device/reselection radio access network device in the embodiment of the present application may be an LTE eNB, an ng-eNB, or an NR gNB, and the terminal device may be an NR UE.
  • the terminal device in the embodiment of the present application may be a mobile phone (such as the mobile phone 300 shown in FIG. 3), a tablet computer, a personal computer (PC), a personal digital assistant (PDA), a smart watch, a netbook,
  • a mobile phone such as the mobile phone 300 shown in FIG. 3
  • a tablet computer such as the mobile phone 300 shown in FIG. 3
  • PC personal computer
  • PDA personal digital assistant
  • smart watch such as the mobile phone 300 shown in FIG. 3
  • netbook a netbook
  • the mobile phone 300 is used as an example of the terminal.
  • the mobile phone 300 may specifically include: a processor 301, a radio frequency (RF) circuit 302, a memory 303, a touch screen 304, a Bluetooth device 305, and one or more sensors 306. , Wireless Fidelity (Wi-Fi) device 307, positioning device 308, audio circuit 309, peripheral interface 310, and power supply device 311. These components can communicate over one or more communication buses or signal lines (not shown in Figure 3).
  • RF radio frequency
  • WiFi Wireless Fidelity
  • the processor 301 is a control center of the mobile phone 300.
  • the various parts of the mobile phone 300 are connected by various interfaces and lines, and the mobile phone 300 is executed by running or executing an application stored in the memory 303 and calling data stored in the memory 303.
  • processor 301 can include one or more processing units.
  • the processor 301 may further include a fingerprint verification chip, configured to verify the collected fingerprint.
  • the radio frequency circuit 302 can be used to receive and transmit wireless signals during transmission or reception of information or calls.
  • the radio frequency circuit 302 can process the downlink data of the base station and then process it to the processor 301; in addition, transmit data related to the uplink to the base station.
  • radio frequency circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency circuit 302 can also communicate with other devices through wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to global mobile communication systems, general packet radio services, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, and the like.
  • the memory 303 is used to store applications and data, and the processor 301 executes various functions and data processing of the mobile phone 300 by running applications and data stored in the memory 303.
  • the memory 303 mainly includes a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image processing function, etc.); the storage data area can be stored according to the use of the mobile phone. Data created at 300 o'clock (such as audio data, phone book, etc.).
  • the memory 303 may include high speed random access memory (RAM), and may also include nonvolatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
  • the memory 303 can store various operating systems such as an iOS operating system, an Android operating system, and the like.
  • the above memory 303 may be independent and connected to the processor 301 through the above communication bus; the memory 303 may also be integrated with the processor 301.
  • the touch screen 304 may specifically include a touch panel 304-1 and a display 304-2.
  • the touch panel 304-1 can collect touch events on or near the user of the mobile phone 300 (for example, the user uses a finger, a stylus, or the like on the touch panel 304-1 or the touch panel 304.
  • the operation near -1), and the collected touch information is sent to other devices (for example, processor 301).
  • the touch event of the user in the vicinity of the touchpad 304-1 may be referred to as a hovering touch; the hovering touch may mean that the user does not need to directly touch the touchpad in order to select, move or drag a target (eg, an icon, etc.) , and only the user is located near the device to perform the desired function.
  • the touch panel 304-1 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • a display (also referred to as display screen) 304-2 can be used to display information entered by the user or information provided to the user as well as various menus of the handset 300.
  • the display 304-2 can be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the touchpad 304-1 can be overlaid on the display 304-2, and when the touchpad 304-1 detects a touch event on or near it, it is transmitted to the processor 301 to determine the type of touch event, and then the processor 301 can provide a corresponding visual output on display 304-2 depending on the type of touch event.
  • touchpad 304-1 and display 304-2 are implemented as two separate components to implement the input and output functions of handset 300, in some embodiments, touchpad 304- 1 is integrated with the display screen 304-2 to implement the input and output functions of the mobile phone 300. It is to be understood that the touch screen 304 is formed by stacking a plurality of layers of materials. In the embodiment of the present application, only the touch panel (layer) and the display screen (layer) are shown, and other layers are in the embodiment of the present application. Not recorded in the middle.
  • the touch panel 304-1 can be disposed on the front side of the mobile phone 300 in the form of a full-board
  • the display screen 304-2 can also be disposed on the front side of the mobile phone 300 in the form of a full-board, so that the front side of the mobile phone can be borderless. Structure.
  • the mobile phone 300 can also have a fingerprint recognition function.
  • the fingerprint capture device 312 can be configured on the back of the handset 300 (eg, below the rear camera) or on the front side of the handset 300 (eg, below the touch screen 304).
  • the fingerprint collection device 312 can be configured in the touch screen 304 to implement the fingerprint recognition function, that is, the fingerprint collection device 312 can be integrated with the touch screen 304 to implement the fingerprint recognition function of the mobile phone 300.
  • the fingerprint capture device 312 is disposed in the touch screen 304, may be part of the touch screen 304, or may be otherwise disposed in the touch screen 304.
  • the main component of the fingerprint collection device 312 in the embodiment of the present application is a fingerprint sensor, which can adopt any type of sensing technology, including but not limited to optical, capacitive, piezoelectric or ultrasonic sensing technologies. .
  • the mobile phone 300 can also include a Bluetooth device 305 for enabling data exchange between the handset 300 and other short-range devices (eg, mobile phones, smart watches, etc.).
  • the Bluetooth device in the embodiment of the present application may be an integrated circuit or a Bluetooth chip or the like.
  • the handset 300 can also include at least one type of sensor 306, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display of the touch screen 304 according to the brightness of the ambient light, and the proximity sensor may turn off the power of the display when the mobile phone 300 moves to the ear.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone 300 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • the Wi-Fi device 307 is configured to provide the mobile phone 300 with network access complying with the Wi-Fi related standard protocol, and the mobile phone 300 can access the Wi-Fi access point through the Wi-Fi device 307, thereby helping the user to send and receive emails, Browsing web pages and accessing streaming media, etc., it provides users with wireless broadband Internet access.
  • the Wi-Fi device 307 can also function as a Wi-Fi wireless access point to provide Wi-Fi network access to other devices.
  • the positioning device 308 is configured to provide a geographic location for the mobile phone 300. It can be understood that the positioning device 308 can be specifically a receiver of a positioning system such as a Global Positioning System (GPS) or a Beidou satellite navigation system, or a Russian GLONASS. After receiving the geographical location transmitted by the positioning system, the positioning device 308 sends the information to the processor 301 for processing, or sends it to the memory 303 for storage. In some other embodiments, the positioning device 308 may also be a receiver of an Assisted Global Positioning System (AGPS), which assists the positioning device 308 in performing ranging and positioning services by acting as a secondary server.
  • AGPS Assisted Global Positioning System
  • the secondary location server provides location assistance over a wireless communication network in communication with a location device 308 (i.e., a GPS receiver) of the device, such as handset 300.
  • the positioning device 308 can also be a Wi-Fi access point based positioning technology. Since each Wi-Fi access point has a globally unique MAC address, the device can scan and collect broadcast signals from surrounding Wi-Fi access points when Wi-Fi is turned on, so Wi- can be obtained. The MAC address broadcasted by the Fi access point; the device sends the data (such as the MAC address) capable of indicating the Wi-Fi access point to the location server through the wireless communication network, and each Wi-Fi access point is retrieved by the location server. The geographic location, combined with the strength of the Wi-Fi broadcast signal, calculates the geographic location of the device and sends it to the location device 308 of the device.
  • Audio circuitry 309, speaker 313, microphone 314 can provide an audio interface between the user and handset 300.
  • the audio circuit 309 can transmit the converted electrical data of the received audio data to the speaker 313 for conversion to the sound signal output by the speaker 313; on the other hand, the microphone 314 converts the collected sound signal into an electrical signal by the audio circuit 309. After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 302 for transmission to, for example, another mobile phone, or the audio data is output to the memory 303 for further processing.
  • the peripheral interface 310 is used to provide various interfaces for external input/output devices (such as a keyboard, a mouse, an external display, an external memory, a subscriber identity module card, etc.). For example, it is connected to the mouse through a Universal Serial Bus (USB) interface, and is connected to a Subscriber Identification Module (SIM) card provided by the service provider through a metal contact on the card slot of the subscriber identity module. . Peripheral interface 310 can be used to couple the external input/output peripherals described above to processor 301 and memory 303.
  • USB Universal Serial Bus
  • SIM Subscriber Identification Module
  • the mobile phone 300 can communicate with other devices in the device group through the peripheral interface 310.
  • the peripheral interface 310 can receive display data sent by other devices for display, etc. No restrictions are imposed.
  • the mobile phone 300 may further include a power supply device 311 (such as a battery and a power management chip) that supplies power to the various components, and the battery may be logically connected to the processor 301 through the power management chip to manage charging, discharging, and power management through the power supply device 311. And other functions.
  • a power supply device 311 such as a battery and a power management chip
  • the battery may be logically connected to the processor 301 through the power management chip to manage charging, discharging, and power management through the power supply device 311. And other functions.
  • the mobile phone 300 may further include a camera (front camera and/or rear camera), a flash, a pico projection device, a near field communication (NFC) device, and the like, and details are not described herein.
  • a camera front camera and/or rear camera
  • a flash a flash
  • a pico projection device a pico projection device
  • NFC near field communication
  • the wireless access device in the embodiment of the present application may be a wireless access point (AP) or a base station, which is not specifically limited in this embodiment of the present application.
  • AP wireless access point
  • base station which is not specifically limited in this embodiment of the present application.
  • FIG. 4 is a schematic diagram of a composition of a radio access network device according to an embodiment of the present disclosure.
  • the radio access network device may include at least one processor 41, a memory 42, a transceiver 43, and a bus 44.
  • the processor 41 is a control center of the radio access network device, and may be a processor or a collective name of a plurality of processing elements.
  • the processor 41 is a CPU, and may be an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, for example, one or more microprocessors. (Digital Signal Processor, DSP), or one or more Field Programmable Gate Arrays (FPGAs).
  • ASIC Application Specific Integrated Circuit
  • the processor 41 can perform various functions of the wireless access network device by running or executing a software program stored in the memory 42, and invoking data stored in the memory 42.
  • processor 41 may include one or more CPUs, such as CPU 0 and CPU 1 shown in the figures.
  • the radio access network device can include multiple processors, such as processor 41 and processor 45 shown in FIG.
  • processors can be a single core processor (CPU) or a multi-core processor (multi-CPU).
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
  • the memory 42 can be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type that can store information and instructions.
  • the dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this.
  • Memory 42 may be present independently and coupled to processor 41 via bus 44. The memory 42 can also be integrated with the processor 41.
  • the memory 42 is used to store a software program that executes the solution of the present application, and is controlled by the processor 41 for execution.
  • the transceiver 43 is configured to communicate with other devices or communication networks. For example, it is used for communication with a communication network such as an Ethernet, a radio access network (RAN), or a wireless local area network (WLAN).
  • Transceiver 43 may include all or part of a baseband processor, and may also optionally include an RF processor.
  • the RF processor is used to transmit and receive RF signals
  • the baseband processor is used to implement processing of a baseband signal converted by an RF signal or a baseband signal to be converted into an RF signal.
  • the bus 44 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 4, but it does not mean that there is only one bus or one type of bus.
  • the device structure shown in FIG. 4 does not constitute a limitation to the radio access network device, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • connection re-establishment method provided by the present application will now be described in conjunction with the communication system shown in FIG. 2 above, the hardware structure of the mobile phone shown in FIG. 3, and the structure of the radio access network device shown in FIG.
  • a radio access network device as a base station.
  • connection re-establishment method includes the following steps:
  • Step 1 After the source base station determines to switch the source device from the source cell to the target cell to which the target base station provides the service, the source base station sends a handover preparation message to the target base station, and after receiving the response message sent by the target base station to indicate that the path has been established. Send a handover command to the terminal device.
  • the source base station sends a handover preparation message to the target base station through an inter-base station interface (such as an Xn interface) or an interface between the base station and the core network (such as an S1 interface or an NG interface).
  • an inter-base station interface such as an Xn interface
  • an interface between the base station and the core network such as an S1 interface or an NG interface
  • the handover preparation message includes a security context of the terminal device, for example: first security parameter information VarShortMAC-Input.
  • the first security parameter information is calculated by the source base station based on the ID of the target cell, the Cell Radio Network Temporary Identifier (C-RNTI) of the source cell, and the Physical Cell Identifier (PCI) of the source cell.
  • C-RNTI Cell Radio Network Temporary Identifier
  • PCI Physical Cell Identifier
  • the source core network is different from the target core network.
  • the target base station Since the first security parameter information is based on the security information of the source core network, the target base station cannot acquire the first security parameter information of the terminal device for the handover of the inter-RAT. If the source base station determines that the target base station is connected to the source core network, the source base station may carry the first security parameter information of the terminal device in the handover preparation message, so that the terminal device initiates connection re-establishment in the target cell by using the source configuration.
  • the source core network is the same as the target core network.
  • the source base station After determining that the target core network is the same as the source core network, the source base station directly carries the first security parameter information of the terminal device in the handover preparation message.
  • the target base station After receiving the handover preparation message, the target base station establishes a new path and sends a response message indicating that the path has been established to the source base station after the new path is established. After receiving the response message, the source base station sends a handover command including the first duration to the terminal device.
  • the first duration is the maximum time that the terminal device waits to perform a handover procedure.
  • the handover command can be an RRC message.
  • the handover command may be an RRC Connection Reconfiguration message including mobility control information.
  • Step 2 The terminal device updates its configuration to the configuration of the target cell according to the handover command.
  • the terminal device After receiving the handover command, the terminal device starts the first timer and updates its related configuration to the configuration of the target cell.
  • the duration of the first timer is the first duration described above. If the first timer expires and the terminal device has not completed the handover, the terminal device determines that the handover fails.
  • Step 3a If the terminal device fails to switch, the terminal device reverts back to the source configuration.
  • the configuration used by the terminal device in the source cell is simply referred to as the source configuration.
  • the source configuration includes state variables and parameters of each radio bearer (RB).
  • the source configuration does not include the configuration of the physical layer PHY and the medium access control layer MAC layer in the source cell. Because the subsequent terminal device needs to determine the first cell according to the cell signal quality, the first cell may be the source cell, and may also be the target cell, and may even be other cells than the source cell and the target cell. After the terminal device camps on a certain cell, the configuration of the physical layer and the medium access control layer of the cell needs to be used.
  • Step 3b After the terminal device returns to the source configuration, the terminal device starts an RRC connection re-establishment process.
  • the terminal device suspends all radio bearers except the Signaling Radio Bearers (SRB) 0, resets the MAC, and releases the primary service group (MCG) auxiliary service.
  • SRB Signaling Radio Bearers
  • MCG primary service group
  • Scell Secondary Cell
  • application default physical channel configuration e.g., the terminal device
  • MAC MediaCard
  • MAC MediaCard
  • the terminal device also performs cell reselection.
  • the cell reselection is the focus of the application. Therefore, the embodiment of the present application describes the cell reselection of the terminal device.
  • Step 4 The terminal device starts a second timer, performs cell reselection, and determines the first cell.
  • the terminal device starts the second timer. After the cell reselection is completed, the second timer is stopped. For example, the terminal device selects a suitable cell that is the same as the source RAT or selects a cell of another RAT and stops the second timer. If the second timer expires, the terminal device enters an idle state (Idle mode).
  • the format of the first cell determined by the terminal device may be the same as or different from the format of the source cell.
  • the RRC connection re-establishment process triggered by the handover failure is taken as an example to describe the connection re-establishment method in the embodiment of the present application from the perspective of whether the system of the first cell and the source cell are the same.
  • the source cell is the source cell in the handover process
  • the source base station is the source station of the handover (for example, Source eNB, Source gNB).
  • the method in the embodiment of the present application is also applicable to the RRC re-establishment process triggered by other situations.
  • the source cell is the original serving cell before the terminal device starts to re-establish the process
  • the source base station is the base station to which the original serving cell of the terminal device belongs.
  • the serving cell when the terminal device sends the RLF is the source cell.
  • the terminal device in this embodiment may be processed in the following manner:
  • Manner 1 If the first cell is an E-UTRA cell, that is, the format of the first cell is the same as that of the source cell, the terminal device further reads system information of the first cell to determine whether the first cell is connected to the source core. network.
  • the terminal device stops the second timer, starts a third timer, and sends an RRC Connection Reestablishment Request message to the reselected base station.
  • the terminal device leaves the connection state of the E-UTRA.
  • the RRC connection release indication including the connection release cause value is sent to the upper layer (for example, the non-access NAS layer), so that the upper layer can determine the release cause value according to the connection. Whether to change the type of core network to which the terminal device is connected.
  • the connection release cause value may include a combination of any one or more of the following information: handover failure, type of the first cell, format of the first cell, whether the first cell provides a source core network connection, and the first cell support Core network type, etc.
  • the source cell is an E-UTRA-EPC cell
  • the first cell is an E-UTRA-5GC cell.
  • the upper layer determines that the terminal device cannot continue to use the EPS NAS according to the connection release reason value, but replaces it with the 5GS NAS, and the terminal device The 5GC can be accessed through the 5GS NAS in the first cell.
  • the source cell is an E-UTRA to 5GC cell
  • the reselected cell is an E-UTRA to EPC cell.
  • the upper layer determines that the terminal device cannot continue to use the 5GS NAS but replaces it with the EPS NAS according to the connection release reason value, and the terminal device can The EPC is accessed by the EPS NAS in the first cell.
  • Manner 2 The terminal device selects an E-UTRA system and the cell that can be connected to the source core network is used as the first cell (suitable cell), so that the terminal device can stop the second timer, start the third timer, and
  • the reselected base station transmits an RRC Connection Reestablishment Request (RRC Connection Reestablishment Request) message. That is to say, the definition of a suitable cell can be defined, and only a cell that can be connected to the source core network/the core network of the same source core network type can be used as a suitable cell.
  • Manner 3 If the first cell is an E-UTRA cell, that is, the format of the first cell is the same as that of the source cell, the terminal device does not further distinguish whether the E-UTRA cell is connected to the source core network. The terminal device stops the second timer, starts the third timer, and sends an RRC Connection Reestablishment Request message to the reselected base station.
  • the terminal device in the embodiment of the present application may be processed in the following manner:
  • Mode I The terminal device leaves the connected state.
  • the terminal device deletes the security context, resets the MAC, and releases radio resources, including the RLC entity, the MAC configuration, and the PDCP entity corresponding to all the established RBs.
  • the RRC connection release indication including the connection release cause value is sent to the upper layer (for example, the non-access NAS layer), so that the upper layer can determine whether to replace the core network according to the connection release cause value.
  • the connection release cause value may include a combination of any one or more of the following information: handover failure, type of the first cell, format of the first cell, whether the first cell provides a source core network connection, and the first cell support The type of core network, etc.
  • Mode II If the source core network of the terminal device is 5GC, the terminal device identifies whether the first cell is an NR cell.
  • the terminal device determines that the first cell is an NR cell according to a cell frequency point/physical signal feature/synchronization signal or the like.
  • the terminal device leaves the NR connection state, and sends a connection release reason value to the upper layer (for example, the non-access NAS layer), so that the upper layer can determine whether to replace the core network type according to the connection release cause value.
  • the connection release cause value may include a combination of any one or more of the following information: handover failure, reselection of the cell type, reselection of the cell's system, reselection of the cell, provision of the source core network connection, and first cell support. The type of core network, etc.
  • the terminal device retains the security configuration.
  • the security configuration includes any one of the following information or a combination of any of the following: a 5G security context, a source base station key (eg, KgNB, KeNB), and a next hop parameter (Next Hop parameter, NH), Next Hop Chaining Counter parameter (NCC), secret key for RRC encryption, secret key for RRC integrity protection (referred to as security), encryption algorithm, and integrity algorithm.
  • processing of the user plane may include any one of the following processes or a combination of any number:
  • the terminal device resets the MAC entity and releases the MAC configuration.
  • the terminal device For the source SDAP entity corresponding to the DRB, the terminal device may be released, may be re-established, and may also be reserved. For the source RLC entity corresponding to the DRB, the terminal device may be released, may be re-established, and may also be reserved. For the source RLC entity corresponding to the SRB, the terminal device may be released, may be re-established, and may also be reserved. If the terminal device retains the source SDAP/PDCP/RLC entity, the RRC Connection Reestablishment message or the RRC Connection Reestablishment message (also referred to as RRC reconfiguration message in NR) sent by the reselected base station may be received. Then operate on the SDAP/PDCP/RLC entity.
  • the RRC Connection Reestablishment message or the RRC Connection Reestablishment message also referred to as RRC reconfiguration message in NR
  • the terminal device For the PDCP entity corresponding to the SRB (SRB1 and/or SRB2), the terminal device may be released, may be re-established, and may also be reserved. The terminal device may release or retain the RLC entity corresponding to the established SRB. If the terminal device retains the PDCP/RLC entity corresponding to the established SRB, the RRC Connection Reestablishment message or the RRC connection reconfiguration message (the RRC reconfiguration is also received in the NR). The message) then operates on the PDCP/RLC entity.
  • the above manner I is applicable to the case where the source cell is E-UTRA, and the source cell is NR.
  • the mode II is applied to the source core network is 5GC, and the source cell is E. -UTRA case.
  • the terminal device in the embodiment of the present application may be processed in the following manner:
  • Method 1 The terminal device leaves the connected state.
  • the terminal device resets the MAC, and releases radio resources, including the RLC entity, the MAC configuration, and the PDCP entity corresponding to all the established RBs.
  • the RRC connection release indication including the connection release cause value is sent to the upper layer (for example, the non-access NAS layer), so that the upper layer can determine whether to replace according to the connection release cause value.
  • Core network type may include a combination of any one or more of the following information: handover failure, type of the first cell, format of the first cell, whether the first cell provides source core network connection, reselection cell support Core network type, etc.
  • the terminal device determines whether the cell is connected to the 5GC.
  • the terminal device reserves the security configuration.
  • the method for the terminal device to retain the security configuration reference may be made to the description of the foregoing mode II, and details are not described herein again.
  • the terminal device leaves the connected state of the NR.
  • the specific process of the terminal device leaving the NR connection state refer to the description of the foregoing mode 1, and details are not described herein again.
  • Mode 3 The terminal device selects an E-UTRA system and can connect to the source core network, that is, defines the definition of a suitable cell: for the E-UTRA system, only the cell can be connected to the source core network.
  • the cell connected to the core network of the same type as the source core network is a suitable cell.
  • the terminal device retains the security configuration.
  • the method of retaining the security configuration of the terminal device refer to the description of the foregoing mode II, and details are not described herein again.
  • Step 5 The terminal device sends an RRC Connection Reestablishment Request (RRC Connection Reestablishment Request) message to the reselected base station.
  • RRC Connection Reestablishment Request RRC Connection Reestablishment Request
  • the RRC connection re-establishment request message includes a cell identifier of the source cell (such as a PCI of the source primary cell), a terminal device identifier (such as a C-RNTI) used in the source cell, and second security parameter information (such as shortMAC-I).
  • a cell identifier of the source cell such as a PCI of the source primary cell
  • a terminal device identifier such as a C-RNTI
  • second security parameter information such as shortMAC-I
  • Step 6 The reselected base station checks the RRC connection re-establishment request message.
  • the reselected base station acquires the context of the terminal device based on the cell identity of the source cell and the terminal device identifier used in the source cell.
  • the reselected base station determines the type of the source core network. If the reselected base station is the original serving base station or the source station of the terminal device, the reselected base station can learn the source core network type of the terminal device; or if the reselected base station is the target base station for the terminal device handover, the reselected base station can The source core network type of the terminal device is obtained by the type of handover initiated by the source station.
  • the source core network type is EPC. If the source station initiates Xn handover, the source core network type is EPC. If the reselected base station receives the intra-system handover of the S1 interface, the source core network type is EPC. If the reselected base station receives the inter-system handover of the S1 interface, the source core network type is 5GC. When the reselected base station receives the intra-system handover request on the NG interface, the source core network type is 5GC. When the reselected base station receives an intersystem handover request on the NG interface, the source core network type is EPC.
  • the reselecting base station determines, according to the context of the terminal device, a source core network type of the terminal device, where the terminal device context is carried by the switched source station in the handover request.
  • the reselected base station checks the RRC connection re-establishment request message based on the first security parameter information in the context of the terminal device.
  • the reselection base station checks whether the second security parameter information has legality.
  • the handover request message received by the target base station carries a context applicable to the target device in the target core network.
  • the target base station is also connected to the source core network, if the source base station sends the source context of the terminal device to the target base station, the target base station has the capability to perform RRC connection reestablishment for the terminal device.
  • the source base station carries the source context of the terminal device in the handover request message when initiating the handover across the core network. Further, the source base station determines whether the target base station supports the source core network when the handover is initiated across the core network. If supported, the source information of the terminal device is carried in the handover request message.
  • the first security parameter information is included in the context of the terminal device that is obtained by the reselection base station, and the reselected base station is connected to the source core network, and then the reselected base station sends an RRC connection reestablishment message to the terminal device, that is, step 7 is performed. If the first security parameter information is not included in the context of the terminal device that is obtained by the reselection of the base station, the reselected base station sends an RRC connection reestablishment reject message to the terminal device, that is, step 12 is performed.
  • Step 7 The reselected base station sends an RRC Connection Reestablishment message to the terminal device.
  • the RRC connection reestablishment message includes configuration information of the SRB 1.
  • Step 8 The terminal device reconfigures the SRB 1 according to the configuration information of the SRB 1.
  • the terminal device reverts to the source configuration in step 3, for the terminal device, the core network accessed by the terminal device is the source core network, and the working NAS is the source NAS, and the security context used is the security of the source system. Context. Therefore, after receiving the RRC connection reestablishment message, the terminal device reconfigures the SRB 1 according to the configuration information of the SRB 1.
  • the terminal device releases the source PDCP entity of the SRB 1 before the RRC connection re-establishment request message is sent, if the RRC connection reestablishment message includes the configuration information of the PDCP entity (ie, the first configuration information), the terminal The device creates a PDCP entity of the SRB 1 according to the configuration information of the PDCP entity. If the RRC connection reestablishment message does not include the configuration information of the PDCP entity, the terminal device creates a new SRB according to the default PDCP configuration information (that is, the first preset configuration information). 1 PDCP entity.
  • the default PDCP configuration information that is, the first preset configuration information
  • the PDCP entity that the terminal device reserves is the PDCP entity of the SRB 1.
  • the terminal device re-establishes the PDCP entity of the SRB 1.
  • the terminal device reserves the source PDCP entity of the SRB 1 before the RRC connection re-establishment request message is sent, the terminal device releases the source PDCP entity of the SRB1, and creates a PDCP entity of the SRB 1.
  • the terminal device re-establishes the NR PDCP entity of the SRB 1, and the terminal device uses the NR PDCP entity as the PDCP entity of the SRB 1.
  • the PDCP entity of the SRB 1 used by the terminal device in the source cell and the PDCP entity of the re-established SRB 1 should be E-UTRA PDCP.
  • the source core network is 5GC, the PDCP entity of the SRB 1 used by the terminal device in the source cell and the PDCP entity of the re-established SRB 1 should be NR PDCP.
  • the terminal device releases the source RLC entity of the SRB 1 before the RRC connection re-establishment request message is sent, if the RRC connection reestablishment message includes the configuration information of the RLC entity, the terminal device obtains the configuration information according to the RLC entity. The RLC entity of the SRB 1 is newly created. If the RRC connection reestablishment message does not include the configuration information of the RLC entity, the terminal device creates an RLC entity of the SRB 1 according to the configuration information of the default RLC entity.
  • the terminal device releases the source RLC entity, and creates a new RLC entity for the SRB 1.
  • the RLC entity of the SRB 1 used by the terminal device in the source cell and the RLC entity of the re-established SRB 1 should be E-UTRA RLC.
  • the RLC entity of the SRB 1 used by the terminal device in the source cell should be E-UTRA RLC. If the NR cell is successfully re-established, the SRB 1 used.
  • the RLC entity should be NR RLC.
  • the RLC entity of the SRB 1 used by the terminal device in the source cell should be an E-UTRA RLC.
  • the RLC entity of the SRB 1 used should be an E-UTRA RLC.
  • the RLC entity of the SRB 1 used by the terminal device in the source cell should be NR RLC. If the NR cell is successfully re-established, the RLC entity of the SRB 1 used should be For NR RLC.
  • the RLC entity of the SRB 1 used by the terminal device in the source cell should be NR RLC. If the E-UTRA cell is successfully re-established, the RLC of the SRB 1 used. The entity should be an E-UTRA RLC.
  • Step 9 the terminal device sends an RRC Connection Reestablishment Complete (RRC Connection Reestablishment Complete) message to the reselected base station through the SRB 1.
  • RRC Connection Reestablishment Complete RRC Connection Reestablishment Complete
  • Step 10 the reselecting base station sends an RRC Connection Reconfiguration (RRC Connection Reconfiguration) message to the terminal device.
  • RRC Connection Reconfiguration RRC Connection Reconfiguration
  • the RRC Connection Reconfiguration message may include configuration information of RBs (SRB 2 and/or DRB).
  • Step 11 The terminal device reconfigures or configures the RB according to the configuration information included in the RRC connection reconfiguration message.
  • the terminal device releases the source PDCP entity of the RB before the RRC connection re-establishment request message is sent, if the RRC connection reestablishment message includes the configuration information of the PDCP, the terminal device creates a new RB according to the PDCP configuration information. If the RRC connection reestablishment message does not include the PDCP configuration information, the terminal device creates a PDCP entity of the RB according to the default PDCP configuration information.
  • the terminal device reserves the source PDCP entity of the RB before the RRC connection re-establishment request message is sent
  • the terminal device releases the source PDCP entity of the RB.
  • the PDCP entity of the RB is created. It is easy to understand that the manner in which the terminal device newly creates the PDCP entity of the RB is relatively simple, especially for the SRB, the state of the source PDCP entity does not particularly help the continuity of the data transmission. New construction is the easiest behavior at this time.
  • the terminal device re-establishes the PDCP entity of the RB.
  • the manner in which the terminal device re-establishes the PDCP entity of the RB can continue the state and variables of the PDCP entity, especially for the DRB, the continuity of data transmission can be guaranteed.
  • the terminal device re-establishes the NR PDCP entity of the RB, and the terminal device uses the NR PDCP entity as the PDCP entity of the RB.
  • the terminal device releases the source RLC entity of the RB before the RRC connection re-establishment request message is sent, if the RRC connection reestablishment message includes the configuration information of the RLC, the terminal device creates a new RB according to the configuration information of the RLC. If the RRC connection reestablishment message does not include the configuration information of the RLC, the terminal device creates a RLC entity of the RB according to the default RLC configuration information.
  • the terminal device releases the source RLC entity, and creates a new RLC entity for the RB.
  • the terminal device releases the source SDAP entity of the DRB before the RRC connection re-establishment request message is sent, if the RRC connection reestablishment message includes the configuration information of the SDAP, the terminal device creates a new DRB according to the configuration information of the SDAP.
  • the SDAP entity is the RRC connection reestablishment message.
  • the terminal device releases the source SDAP entity of the DRB, and creates a SDAP entity of the DRB.
  • the terminal device reserves the source SDAP entity of the DRB before the RRC connection re-establishment request message is sent, the terminal device re-establishes the SDAP entity of the DRB.
  • the terminal device reserves the source SDAP entity of the DRB before the RRC connection re-establishment request message is sent, the terminal device applies the SDAP entity of the DRB.
  • Step 12 The reselected base station sends an RRC Connection Reestablishment Reject message to the terminal device, and the terminal device leaves the connected state.
  • the RRC connection reestablishment reject message includes a reject reason value, where the reject reason value is used to indicate that the reselected base station/reselected cell is not connected to the source core network of the terminal device.
  • the terminal device determines to replace the accessed core network/switching NAS based on the reject reason value.
  • Step 1 - Step 3a is an optional step, and is applicable to the RRC connection re-establishment process triggered by the handover failure;
  • Step 3b - Step 12 can be used as a complete RRC connection re-establishment process, which is applicable to the handover failure trigger.
  • the RRC connection re-establishment process is also applicable to other time-triggered RRC connection re-establishment procedures, for example, the terminal device discovers that the radio link fails, the integrity check fails, and the RRC reconfiguration value fails, etc., may be performed by using steps 3b-12.
  • the RRC connection re-establishment process may be performed by using steps 3b-12.
  • connection re-establishment method provided by the embodiment of the present application is described in detail with reference to the network structure shown in FIG. 2 above for different source core networks.
  • FIG. 5 shows a connection re-establishment method provided by the embodiment of the present application in a scenario where the source base station is an ng-eNB, the source core network is a 5GC, and the source cell is an E-UTRA-5GC.
  • the processing method includes:
  • the source base station After determining, by the source base station, the terminal device is switched from the source cell to the target cell that the target base station provides the service, the source base station sends a handover preparation message to the target base station.
  • the source base station may also send a handover preparation message to the source core network, where the source core network node directly forwards the handover preparation message or forwards the message to the target base station through the target core network node.
  • the target base station in this scenario is ng-eNB or gNB.
  • the handover preparation message includes a security context of the terminal device, and the security context includes first security parameter information.
  • the first security parameter information includes a combination of one or more of the following: a 5G system security context, a source base station key (eg, KeNB), a target base station key (eg, KgNB, KeNB), a next hop Next Hop parameter (NH), Next Hop Chaining Counter parameter (NCC), secret key for RRC encryption, key for RRC integrity protection (referred to as security), encryption algorithm
  • the security algorithm calculates the security check parameters calculated according to the source C-RNTI (source C-RNTI), the source PCI (source PCI), and the target cell ID (target cell-ID) according to the 5G system security mechanism.
  • the target base station In response to the handover preparation message, the target base station prepares a resource for the terminal device, and sends a response message to the source base station to indicate that the terminal device performs the handover.
  • the source base station sends a handover command to the terminal device.
  • the switching command includes a first duration.
  • the terminal device performs a handover operation according to the handover command, and determines whether the handover fails.
  • the terminal device after receiving the handover command, the terminal device starts the first timer and updates its related configuration to the configuration of the target cell.
  • the duration of the first timer is the first duration described above. If the first timer expires and the terminal device has not completed the handover, the terminal device determines that the handover fails.
  • the terminal device If the terminal device fails to switch, the terminal device reverts back to the source configuration, and starts an RRC connection re-establishment process.
  • the terminal device starts a second timer, performs cell reselection, and determines the first cell.
  • the reselected cell is a suitable cell.
  • the terminal device determines whether the standard of the first cell is the same as the format of the source cell.
  • the terminal device determines a format of the first cell according to a frequency point of the cell, a physical signal feature, or a synchronization signal. After the terminal device determines the format of the first cell, it is determined whether the standard of the first cell is the same as the format of the source cell.
  • the terminal device performs S509 after S507.
  • the terminal device performs S508 after S507.
  • the terminal device leaves the connected state, and sends a connection release indication including a connection release cause value to the upper layer.
  • the source cell in this embodiment is an E-UTRA-5GC cell. If the format of the first cell is different from the source cell, the reselected base station may be a gNB.
  • the terminal device leaves the connected state, enters an idle state, and sends a connection release indication including a connection release cause value to the NAS layer. In this way, the NAS layer can determine whether to replace the type of the core network according to the connection release cause value.
  • the terminal device sends an RRC connection re-establishment request message to the reselected base station.
  • the source cell in this embodiment is an E-UTRA to 5GC cell. If the format of the first cell is the same as that of the source cell, the first cell is an E-UTRA-5GC cell or an E-UTRA-EPC cell.
  • the first cell is an E-UTRA to 5GC cell
  • the first cell and the source cell are both connected to the 5GC, so that the reselected base station can acquire the context of the terminal device, and then re-establish the RRC connection request according to the context of the terminal device.
  • the message is verified to accept the request sent by the terminal device.
  • the terminal device also retains its security configuration. For details on how to maintain the security configuration of the terminal device, refer to the above description, and details are not described here.
  • S510a and S511 are sequentially executed after S509.
  • the reselected base station cannot obtain the context of the terminal device, and thus the reselected base station rejects the request sent by the terminal device. If the first cell is an E-UTRA to EPC cell, S510b is executed after S509.
  • the reselected base station sends an RRC connection reestablishment message to the terminal device.
  • the RRC Connection Reestablishment message includes configuration information of the SRB 1.
  • the terminal device reconfigures the SRB 1 according to the configuration information of the SRB 1.
  • the terminal device sends an RRC connection reestablishment complete message to the reselected base station by using the reconfigured SRB1.
  • the reselecting base station sends an RRC connection reconfiguration message to the terminal device.
  • the RRC Connection Reconfiguration message may include configuration information of the target RB (SRB 2 and/or DRB).
  • the terminal device reconfigures or configures the target RB according to the configuration information of the target RB.
  • step 11 For the description of step 11 above, reference may be made to S514, and details are not described herein again.
  • S510b The reselected base station sends an RRC connection reestablishment reject message to the terminal device.
  • the terminal device After receiving the RRC connection reestablishment reject message, the terminal device performs S508.
  • the source cell in this embodiment is an E-UTRA-5GC cell.
  • the reselected base station can also obtain the context of the terminal device, so that the terminal device initiates an RRC connection reestablishment request. After that, the RRC connection of the terminal device can still be restored.
  • the NR cell is different from the E-UTRA to 5GC cell. Therefore, in a scenario in which the first cell is different from the source cell, the terminal device may further determine whether the first cell is an NR cell.
  • connection re-establishment method provided in this embodiment may further include S515 between S507 and S508.
  • the terminal device determines whether the first cell is an NR cell.
  • the terminal device leaves the connected state and sends a connection release indication to the upper layer, that is, S508 is performed.
  • S516 to S521 are executed after S515.
  • the terminal device sends an RRC connection re-establishment request message to the reselected base station.
  • the reselected base station in S516 is a gNB.
  • the reselected base station sends an RRC connection reestablishment message to the terminal device.
  • the RRC Connection Reestablishment message includes configuration information of the SRB 1.
  • the gNB can obtain the context of the terminal device, and check the RRC connection re-establishment request message according to the context of the terminal device to accept the request sent by the terminal device. Correspondingly, the gNB sends an RRC connection reestablishment message to the terminal device.
  • the terminal device reconfigures the SRB 1 according to the configuration information of the SRB 1.
  • S518 can refer to the description of step 8 above, and details are not described herein again.
  • the terminal device sends an RRC connection reestablishment complete message to the reselected base station by using the reconfigured SRB1.
  • the reselecting base station sends an RRC connection reconfiguration message to the terminal device.
  • the RRC Connection Reconfiguration message may include configuration information of the target RB (SRB 2 and/or DRB).
  • the terminal device reconfigures or configures the target RB according to the configuration information of the target RB.
  • step 11 For the description of step 11 above, reference may be made to S521, and details are not described herein again.
  • the first cell is an E-UTRA-5GC cell or an E-UTRA-EPC cell.
  • the terminal device in the embodiment of the present application sends an RRC connection to the reselected base station after determining that the format of the first cell is different from the source cell, in order to improve the success rate of the RRC connection and the signaling interaction. Before re-establishing the request message, it may further determine whether the reselected base station serving the first cell is connected to the source core network.
  • connection re-establishment method provided by the embodiment of the present application further includes S601 between S507 and S509, and only includes S510a-S514 after S509, and does not include S510b.
  • S601 is:
  • the terminal device determines whether the reselected base station is connected to the source core network.
  • the reselected base station When the reselected base station is connected to the source core network, the reselected base station may re-establish an RRC connection for the terminal device and continue to provide the terminal device with a connection with the source core network.
  • the reselection of the base station needs to have the context of the terminal device, and then perform verification according to the context of the terminal device. Therefore, when the reselected base station is connected to the source core network, the terminal device performs S509.
  • the terminal device leaves the connected state and sends a connection release indication to the upper layer, that is, S508 is performed.
  • a suitable cell may also be redefined.
  • Redefining a suitable cell refers to a cell that can be connected to the source core network/the core network of the same source core network type. That is to say, the first cell determined by the terminal device is a cell that can be connected to the source core network/the core network of the same source core network type.
  • the system of the first cell is the same as the format of the source cell, after the terminal device sends the RRC connection re-establishment request message to the reselected base station, the possibility that the reselected base station sends the RRC connection reestablishment message to the terminal device increases.
  • the RRC Connection Reestablishment Reject message is not sent because the reselected base station does not support the source core network type.
  • FIG. 7 illustrates a flow of a method of reestablishing a connection in a scenario of redefining a suitable cell.
  • the connection re-establishment method includes S501 to S505, S701, S507 to S509, S510a to S514, and S515 to S521.
  • S701 is:
  • the terminal device starts a second timer, performs cell reselection, and determines a first cell connected to the source core network.
  • the reselected cell is a suitable cell. Only a cell supporting the connection with the source core network can be considered as a suitable cell by the terminal device.
  • the terminal device in the embodiment of the present application determines whether the first cell is the same as the source cell, and whether the first cell is connected to the source core network.
  • the terminal device integrates all the determination results to determine whether to send the RRC connection re-establishment request message to the reselected base station, which effectively improves the probability that the terminal device restores the RRC connection, and reduces the signaling interaction.
  • steps S501-S504 are steps in the switching scenario, which may be optional steps.
  • the schemes in the steps S505-S521 can be applied to the general RRC connection re-establishment procedure.
  • the triggering conditions of the RRC connection re-establishment procedure may be handover failure, radio link failure, RRC reconfiguration failure, integrity check failure, and the like.
  • FIG. 8 shows a connection re-establishment method provided by the embodiment of the present application in a scenario where the source base station is an ng-eNB or an eNB, the source core network is an EPC, and the source cell is an E-UTRA-EPC cell.
  • the processing method includes:
  • the source base station determines to switch the terminal device from the source cell to the target cell that the target base station provides the service, and then sends a handover preparation message to the target base station or the source core network.
  • the target base station in the scenario may be an ng-eNB, an eNB, or a gNB.
  • the handover preparation message further includes the source context of the terminal device. For example: including a security context of a terminal device in the EPS, the security context including first security parameter information. This can increase the probability that the terminal device connection re-establishment is successful.
  • the target base station In response to the handover preparation message, the target base station prepares a resource for the UE, and sends a response message to the source base station to indicate that the UE performs the handover.
  • the source base station sends a handover command to the terminal device.
  • the switching command includes a first duration.
  • the terminal device performs a handover operation according to the handover command, and determines whether the handover fails.
  • the terminal device after receiving the handover command, the terminal device starts the first timer and updates its related configuration to the configuration of the target cell.
  • the duration of the first timer is the first duration described above. If the first timer expires and the terminal device has not completed the handover, the terminal device determines that the handover fails.
  • the terminal device fails to switch, the terminal device reverts back to the source configuration, and starts an RRC connection re-establishment process.
  • the terminal device starts a second timer, performs cell reselection, and determines the first cell.
  • the terminal device determines whether the standard of the first cell is the same as the format of the source cell.
  • the terminal device determines a format of the first cell according to a frequency point of the cell, a physical signal feature, or a synchronization signal. After the terminal device determines the format of the first cell, it is determined whether the standard of the first cell is the same as the format of the source cell.
  • the terminal device performs S808 after S807. If the format of the first cell is the same as that of the source cell, the terminal device executes S809 after S807.
  • connection release indication including a connection release cause value
  • the source cell in this embodiment is an E-UTRA-EPC cell. If the format of the first cell is different from that of the source cell, the first cell should be an NG cell, and the reselected base station is a gNB.
  • the terminal device leaves the connected state, enters an idle state, and sends a connection release indication including a connection release cause value to the NAS layer.
  • the NAS layer can determine whether to replace the type of the core network according to the connection release cause value.
  • the terminal device sends an RRC connection re-establishment request message to the reselected base station.
  • the source cell in this embodiment is an E-UTRA-EPC cell. If the format of the first cell is the same as that of the source cell, the first cell is an E-UTRA-5GC cell or an E-UTRA-EPC cell.
  • the first cell is an E-UTRA-EPC cell
  • the first cell and the source cell are both connected to the EPC, so that if the reselected base station can acquire the context of the terminal device, the RRC connection is re-established according to the context of the terminal device. If the request message is verified, the request sent by the terminal device can be accepted.
  • the terminal device also retains its security configuration. For details on how to maintain the security configuration of the terminal device, refer to the above description, and details are not described here.
  • S810a and S811 are sequentially executed after S809.
  • the reselected base station rejects the request sent by the terminal device. . If the first cell is an E-UTRA to 5GC cell, then S810b is performed after S809.
  • the reselected base station sends an RRC connection reestablishment message to the terminal device.
  • the RRC Connection Reestablishment message includes configuration information of the SRB 1.
  • the terminal device reconfigures the SRB 1 according to the configuration information of the SRB 1.
  • the terminal device sends an RRC connection reestablishment complete message to the reselected base station by using the reconfigured SRB1.
  • the reselecting base station sends an RRC connection reconfiguration message to the terminal device.
  • the RRC Connection Reconfiguration message may include configuration information of the target RB (SRB 2 and/or DRB).
  • the terminal device reconfigures or configures the target RB according to the configuration information of the target RB.
  • step 11 For the description of step 11 above, reference may be made to S814, and details are not described herein again.
  • S810b The reselected base station sends an RRC connection reestablishment reject message to the terminal device.
  • the foregoing RRC connection reestablishment reject message includes a reject cause value, and the reject cause value may be a combination of one or more of the following: the reselected base station/cell is not connected to the source core network, and the terminal device is instructed to replace the core network. Reselect the base network/cell connected core network (for example, 5GC). Optionally, the terminal device performs NAS recovery based on the reason for rejection, or NAS switching (for example, replacing the working NAS from the EPS NAS to the 5GS NAS).
  • the reject cause value may be a combination of one or more of the following: the reselected base station/cell is not connected to the source core network, and the terminal device is instructed to replace the core network. Reselect the base network/cell connected core network (for example, 5GC).
  • the terminal device performs NAS recovery based on the reason for rejection, or NAS switching (for example, replacing the working NAS from the EPS NAS to the 5GS NAS).
  • the terminal device After receiving the RRC connection reestablishment reject message, the terminal device performs S808.
  • connection re-establishment method provided by the embodiment of the present application further includes S901 between S807 and S809.
  • S901 is:
  • the terminal device determines whether the reselected base station is connected to the source core network.
  • the reselected base station When the reselected base station is connected to the source core network, it is possible for the reselected base station to reestablish an RRC connection for the UE, thereby restoring the connection with the source core network. If the reselected base station has the context of the terminal device, then the verification is performed according to the context of the acquired terminal device. Therefore, when the reselected base station is connected to the source core network, the terminal device executes S809.
  • the terminal device leaves the connected state and sends a connection release indication to the upper layer, that is, S808 is performed.
  • a suitable cell may also be redefined.
  • Redefining a suitable cell refers to a cell that can be connected to the source core network/the core network of the same source core network type. That is to say, the first cell determined by the terminal device is a cell that can be connected to the source core network/the core network of the same source core network type.
  • the terminal device sends the RRC connection re-establishment request message to the reselected base station
  • the reselected base station sends an RRC connection reestablishment message to the terminal device, but does not send The RRC connection reestablishment reject message.
  • FIG. 10 illustrates a flow of a method of reestablishing a connection re-establishment in a scenario of a suitable cell.
  • the connection re-establishment method replaces S806 in FIG. 8 with S1001.
  • S1001 is:
  • the terminal device starts a second timer, performs cell reselection, and determines a first cell connected to the source core network.
  • the terminal device in the embodiment of the present application determines whether the first cell is the same as the source cell, and whether the first cell is connected to the source core network.
  • the terminal device integrates all the determination results to determine whether to send the RRC connection re-establishment request message to the reselected base station, which effectively improves the probability that the terminal device restores the RRC connection, and reduces the signaling interaction.
  • steps S801-S804 are steps in the switching scenario, which may be optional steps.
  • the schemes in the steps S805-S814 and S901 can be applied to the general RRC connection re-establishment procedure.
  • the triggering conditions of the RRC connection re-establishment procedure may be handover failure, radio link failure, RRC reconfiguration failure, integrity check failure, and the like.
  • FIG. 11 shows a connection re-establishment method provided by the embodiment of the present application in a scenario where the source base station is a gNB, the source core network is a 5GC, and the source cell is an NR cell.
  • the processing method includes:
  • the source base station After determining, by the source base station, the terminal equipment is switched from the source cell to the target cell that the target base station provides the service, the source base station sends a handover preparation message to the target base station.
  • the target base station is an ng-eNB
  • the source station triggers the cross-core network handover (that is, the target core network type is EPC)
  • the target station when the target station is also connected to the source core network, the source station may be in the handover preparation message.
  • the source context of the UE is included, such as the security context of the terminal device in the 5GS, the security context including the first security parameter information.
  • the possibility that the UE is successfully re-established under the cell of the target station can be increased.
  • the target base station In response to the handover preparation message, the target base station prepares a resource for the UE, and sends a response message to the source base station to indicate that the UE performs the handover.
  • S1103 The source base station sends a handover command to the terminal device.
  • the switching command includes a first duration.
  • S1104 The terminal device performs a handover operation according to the handover command, and determines whether the handover fails.
  • the terminal device after receiving the handover command, the terminal device starts the first timer and updates its related configuration to the configuration of the target cell.
  • the duration of the first timer is the first duration described above. If the first timer expires and the terminal device has not completed the handover, the terminal device determines that the handover fails.
  • S1106 The terminal device starts a second timer, performs cell reselection, and determines the first cell.
  • S1107 The terminal device determines whether the standard of the first cell is the same as the format of the source cell.
  • the terminal device determines a format of the first cell according to a frequency point of the cell, a physical signal feature, or a synchronization signal. After the terminal device determines the format of the first cell, it is determined whether the standard of the first cell is the same as the format of the source cell.
  • the terminal device executes S1108 after S1107. If the format of the first cell is the same as that of the source cell, the terminal device executes S1109 after S1107.
  • S1108 The terminal device leaves the connected state, and sends a connection release indication including a connection release cause value to the upper layer.
  • the source cell in this embodiment is an NR cell. If the format of the first cell is different from that of the source cell, when the reselected base station should be an ng-eNB, optionally, the terminal device leaves the connected state and enters an idle state, and A connection release indication including a connection release cause value is sent to the NAS layer. In this way, the NAS layer can determine whether to replace the type of the core network according to the connection release cause value.
  • the terminal device sends an RRC connection re-establishment request message to the reselected base station.
  • the source cell in this embodiment is an NR cell. If the format of the first cell is the same as that of the source cell, the first cell is an NR cell.
  • the reselected cell is an NR cell
  • the reselected cell and the source cell are both connected to the 5GC.
  • the RRC connection reestablishment request message may be verified according to the context of the terminal device. If the test is successful, the re-establishment request sent by the terminal device can be accepted.
  • the terminal device also retains its security configuration. For details on how to maintain the security configuration of the terminal device, refer to the above description, and details are not described here.
  • S1110a and S1111 are sequentially executed after S1109.
  • S1110a The reselected base station sends an RRC connection reestablishment message to the terminal device.
  • the RRC Connection Reestablishment message includes configuration information of the SRB 1.
  • the terminal device reconfigures the SRB 1 according to the configuration information of the SRB 1.
  • S1111 S1112 to S1114 are further included.
  • the terminal device sends an RRC connection reestablishment complete message to the reselected base station by using the reconfigured SRB1.
  • the reselecting base station sends an RRC connection reconfiguration message to the terminal device.
  • the RRC Connection Reconfiguration message may include configuration information of the target RB (SRB 2 and/or DRB).
  • the terminal device reconfigures or configures the target RB according to the configuration information of the target RB.
  • step 11 For the description of step 11 above, reference may be made to S1114, and details are not described herein again.
  • S1110b The reselected base station sends an RRC connection reestablishment reject message to the terminal device.
  • the terminal device After receiving the RRC connection reestablishment reject message, the terminal device executes S1108.
  • the source cell in this embodiment is an NR cell.
  • the reselected cell is an E-UTRA-5GC cell
  • the reselected base station also supports the connection with the source core network, that is, the reselected base station may be heavy for the UE.
  • the reselected base station has the context of the terminal device, after the terminal device initiates the RRC connection reestablishment request, the reselected cell can resume the RRC connection of the terminal device.
  • the NR cell is different from the E-UTRA to 5GC cell. Therefore, in a scenario in which the reselected cell is different from the source cell, the terminal device may further determine whether the reselected cell is an E-UTRA cell.
  • connection re-establishment method provided in this embodiment may further include S1115 between S1107 and S1108.
  • the terminal device determines whether the first cell is an E-UTRA cell.
  • the terminal device leaves the connected state and sends a connection release indication to the upper layer, that is, S1108 is executed.
  • the first cell is an E-UTRA cell
  • S1116 is performed after S1115.
  • the first cell may be an E-UTRA-5GC cell, or may be an E-UTRA-EPC cell.
  • the terminal device sends an RRC connection re-establishment request message to the reselected base station.
  • the reselected base station in S1116 is an ng-eNB.
  • the reselected base station is connected to the source core network. If the reselected base station has the context of the terminal device and performs verification according to the obtained context of the terminal device, the terminal device may accept the link reestablishment request, that is, execute S1117a after S1116. If the reselected cell is an E-UTRA ⁇ 5GC cell, the reselected base station cannot obtain the context of the terminal device, and rejects the terminal device to send a link reestablishment request, that is, S1117b is executed after S1116.
  • the terminal device is refused to send a link reestablishment request, that is, S1117b is executed after S1116.
  • S1117a The reselected base station sends an RRC connection reestablishment message to the terminal device.
  • the RRC Connection Reestablishment message includes configuration information of the SRB 1.
  • the reselection base station can acquire the context of the terminal device, and check the RRC connection re-establishment request message according to the context of the terminal device to accept the request sent by the terminal device.
  • the reselected base station sends an RRC connection reestablishment message to the terminal device.
  • the terminal device reconfigures the SRB 1 according to the configuration information of the SRB 1.
  • step 8 For the description of step 8 above, reference may be made to S1118, and details are not described herein again.
  • the terminal device sends an RRC connection reestablishment complete message to the reselected base station by using the reconfigured SRB1.
  • the reselected base station sends an RRC connection reconfiguration message to the terminal device.
  • the RRC Connection Reconfiguration message may include configuration information of the target RB (SRB 2 and/or DRB).
  • the terminal device reconfigures or configures the target RB according to the configuration information of the target RB.
  • S1121 may refer to the description of step 11 above, and details are not described herein again.
  • S1117b The reselected base station sends an RRC connection reestablishment reject message to the terminal device.
  • the RRC connection reestablishment message reject message includes a reject reason value, where the reject reason value is used to indicate that the reselected base station/reselected cell is not connected to the source core network of the terminal device.
  • the reject reason value may be a combination of one or more of the following: the reselected base station/cell is not connected to the source core network, instructs the UE to replace the core network, and reselects the base network/cell connected core network.
  • the UE performs NAS recovery or NAS handover based on the reason for rejection.
  • the terminal device After receiving the RRC connection reestablishment reject message, the terminal device executes S1108.
  • the first cell is an E-UTRA-5GC cell or an E-UTRA-EPC cell.
  • the terminal device in the embodiment of the present application sends an RRC connection to the reselected base station after determining that the format of the first cell is different from the source cell, in order to improve the success rate of the RRC connection and the signaling interaction. Before re-establishing the request message, it may further determine whether the reselected base station serving the first cell is connected to the source core network.
  • connection re-establishment method provided by the embodiment of the present application further includes S1201 between S1115 and S1116.
  • S1201 is:
  • the terminal device determines whether the reselected base station is connected to the source core network.
  • the reselected base station When the reselected base station is connected to the source core network, the reselected base station can provide a connection with the source core network.
  • the check When the reselected base station has the context of the terminal device, the check may be performed according to the obtained context of the terminal device, and if the verification succeeds, the reestablishment request of the terminal device may be received. Therefore, when the reselected base station is connected to the source core network, the terminal device performs S1116.
  • the terminal device leaves the connected state and sends a connection release indication to the upper layer, that is, S1108 is performed.
  • a suitable cell may also be redefined.
  • Redefining a suitable cell refers to a cell that can be connected to the source core network/the core network of the same source core network type. That is to say, the first cell determined by the terminal device is a cell that can be connected to the source core network/the core network of the same source core network type.
  • the terminal device sends the RRC connection re-establishment request message to the reselected base station
  • the reselected base station sends an RRC connection reestablishment message to the terminal device, but does not send The RRC connection reestablishment reject message.
  • FIG. 13 illustrates a flow of a method of reestablishing a connection re-establishment in a scenario of a suitable cell.
  • the connection re-establishment method is to replace S1106 in FIG. 11 with S1301.
  • S1301 is:
  • the terminal device starts a second timer, performs cell reselection, and determines a first cell connected to the source core network.
  • the terminal device in the embodiment of the present application determines whether the first cell is the same as the source cell, and whether the first cell is connected to the source core network.
  • the terminal device integrates all the determination results to determine whether to send the RRC connection re-establishment request message to the reselected base station, which effectively improves the probability that the terminal device restores the RRC connection, and reduces the signaling interaction.
  • steps S1101-S1104 are steps in the switching scenario, which may be optional steps.
  • the schemes in steps S1105-S1121 and S1201 and S1301 may be applicable to a general RRC connection re-establishment procedure.
  • the triggering conditions of the RRC connection re-establishment procedure may be handover failure, radio link failure, RRC reconfiguration value failure, integrity check. Failure, etc.
  • connection re-establishment device which is a chip in a terminal device or a terminal device.
  • the connection re-establishment means is configured to perform the steps performed by the terminal device in the above connection re-establishment method.
  • the connection re-establishment device provided by the embodiment of the present application may include a module corresponding to the corresponding step.
  • the embodiment of the present application may divide the function module by the connection re-establishment device according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and may be further divided in actual implementation.
  • FIG. 14 shows a possible structural diagram of the connection re-establishment device 140.
  • the connection re-establishment device 140 includes a selection unit 141, a determination unit 142, a control unit 143, a transmission unit 144, and a configuration unit 145.
  • the selection unit 141 is configured to support the connection re-establishment device 140 to perform S506, S806, S1106 in the above-described embodiments, and/or other processes for the techniques described herein;
  • the determining unit 142 is configured to support the connection re-establishment device 140.
  • connection re-establishment device 140 provided by the embodiment of the present application includes but is not limited to the above modules.
  • the connection re-establishment device 140 may further include a storage unit.
  • the storage unit can be used to store the program code of the connection re-establishment device 140. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
  • the selection unit 141, the determining unit 142, the control unit 143, and the configuration unit 145 may be the processor 301 in FIG. 3, the transmitting unit 144 may be the antenna in FIG. 3, and the storage unit may be the memory 303 in FIG.
  • connection re-establishment device 140 When the connection re-establishment device 140 is in operation, the connection re-establishment device 140 performs the steps of the terminal device in the connection re-establishment method of the embodiment shown in any of Figures 5-13.
  • connection re-establishment device 140 Another embodiment of the present application further provides a computer readable storage medium having instructions stored therein.
  • the connection re-establishment device 140 When the instructions are run on the connection re-establishment device 140, the connection re-establishment device 140 performs the operation as shown in FIG. The step of establishing a terminal device in the connection re-establishment method of the embodiment shown in any of the drawings.
  • a computer program product comprising computer executed instructions stored in a computer readable storage medium; at least one processor coupled to the reestablishment device 140
  • the computer-executable instructions can be read from a computer-readable storage medium, and the at least one processor executing the computer-executing instructions causes the connection re-establishment device 140 to perform a connection re-establishment of an embodiment as shown in any of Figures 5-13 The steps of the terminal device in the method.
  • a chip may include: one or more processors, a memory, a communication bus; the memory is configured to store one or more computer instructions, one or more of the above
  • the processor is coupled to the memory via the communication bus, and when the chip is in operation, the one or more processors execute the one or more computer instructions stored in the memory to cause the chip to perform any one of FIG. 5-13
  • connection re-establishment device which may be a radio access network device or a chip in the radio access network device.
  • the connection re-establishment means is operative to perform the steps performed by the reselected base station in the above connection re-establishment method.
  • the connection re-establishment device provided by the embodiment of the present application may include a module corresponding to the corresponding step.
  • the embodiment of the present application may divide the function module by the connection re-establishment device according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and may be further divided in actual implementation.
  • FIG. 15 shows a possible structural diagram of the connection re-establishment device 150 in the present embodiment.
  • the connection re-establishment device 150 includes a receiving unit 151, a determining unit 152, and a transmitting unit 153.
  • the receiving unit 151 is configured to instruct the connection re-establishment device 150 to perform S509, S512, S516, S519, S809, S812, S1109, S1112, S1116, S1119 in the above embodiment, and/or other processes for the techniques described herein.
  • the determining unit 152 is configured to support the connection re-establishment device 150 to perform "determine whether to accept the connection between the terminal device and the access network", and/or other processes for the techniques described herein; the transmitting unit 153 is configured to Supporting the connection re-establishment device 150 performs S510a, S510b, S513, S517, S520, S810a, S810b, S813, S1110a, S1110b, S1113, S1117, S1120, and/or for the techniques described herein in the above embodiments. Other processes. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
  • connection re-establishment device 150 provided by the embodiment of the present application includes but is not limited to the above modules.
  • the connection re-establishment device 150 may further include a storage unit.
  • the storage unit can be used to store program code and data of the connection re-establishment device 150.
  • the above determining unit 152 may be the processor 41 in FIG. 4, the receiving unit 151 and the transmitting unit 153 may be the transceiver 43 in FIG. 4, and the storage unit may be the memory 42 in FIG.
  • connection re-establishment means 150 performs the connection re-establishment method of the embodiment shown in any of Figs. 5-13.
  • a computer program product comprising computer executed instructions stored in a computer readable storage medium; at least one processor coupled to the reestablishment device 150
  • the computer-executable instructions can be read from a computer-readable storage medium, and the at least one processor executing the computer-executing instructions causes the connection re-establishment device 150 to perform the connection re-establishment method of the embodiment as illustrated in any of Figures 5-13 The step of reselecting the base station.
  • a chip may include: one or more processors, a memory, a communication bus; the memory is configured to store one or more computer instructions, one or more of the above
  • the processor is coupled to the memory via the communication bus, and when the chip is in operation, the one or more processors execute the one or more computer instructions stored in the memory to cause the chip to perform any one of FIG. 5-13
  • a computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, computer instructions can be wired from a website site, computer, server or data center (eg Coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.) is transmitted to another website site, computer, server, or data center.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data terminal device such as a server, data center, or the like, including one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used.
  • the combination may be integrated into another device, or some features may be ignored or not performed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a readable storage medium.
  • the technical solution of the embodiments of the present application may be embodied in the form of a software product in the form of a software product in essence or in the form of a contribution to the prior art, and the software product is stored in a storage medium.
  • a number of instructions are included to cause a device (which may be a microcontroller, chip, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种连接重建立方法及装置,涉及通信技术领域,能够实现5G系统中终端设备的连接重建立。该方法包括:终端设备选择第一小区;在第一小区的制式与源小区的制式不同、且第一小区不属于第一类型的小区的情况下,终端设备离开连接态,并向上层发送连接释放原因值,连接释放原因值包括切换失败、第一小区的类型、第一小区对应的核心网类型、第一小区的制式、第一小区是否与源核心网连接、非接入层NAS恢复指示、NAS变更以及核心网类型变更中的至少一个,连接释放原因值用于指示上层确定是否变更终端设备连接的核心网的类型,第一类型的小区为与源核心网连接的小区,源核心网为终端设备在源小区中接入的核心网。

Description

一种连接重建立方法及装置
本申请要求于2018年04月04日提交中国专利局、申请号为201810301277.6、发明名称为“一种连接重建立方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及通信技术领域,尤其涉及一种连接重建立方法及装置。
背景技术
目前,第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)TS36.331通信协议中规定了终端设备切换失败后触发无线资源控制(Radio Resource Control,RRC)连接重建立的方法。该方法为:当终端设备选择重建立的小区(简称为:第一小区)与源小区的制式相同时,终端设备向为第一小区提供服务的基站发送RRC连接重建立请求(RRC Connection Reestablishment Request)消息,以恢复该终端设备的RRC连接。当第一小区与源小区的制式不同时,终端设备进入空闲态。
但是,上述连接重建立方法不适用于5G系统。
发明内容
本申请实施例提供一种连接重建立方法及装置,能够实现5G系统中终端设备的连接重建立,并有效提高终端设备恢复RRC连接的概率。
为达到上述目的,本申请实施例采用如下技术方案:
第一方面,提供一种连接重建立方法,终端设备选择第一小区;在第一小区的制式与源小区的制式不同、且第一小区不属于第一类型的小区的情况下,终端设备离开连接态,并向上层发送连接释放原因值,该连接释放原因值包括切换失败、第一小区的类型、第一小区对应的核心网类型、第一小区的制式、第一小区是否与源核心网连接、非接入层NAS恢复指示、NAS变更以及核心网类型变更中的至少一个,连接释放原因值用于指示上层确定是否变更终端设备连接的核心网的类型,第一类型的小区为与源核心网连接的小区,源核心网为终端设备在源小区中接入的核心网。
可以看出,本申请中的终端设备在选择第一小区后,在确定第一小区的制式与源小区的制式不相同后,还确定第一小区是否属于第一类型的小区。当第一小区的制式与源小区的制式不相同、且第一小区不属于第一类型的小区的情况下,终端设备离开连接态,有效的提高了终端设备恢复RRC连接的概率。终端设备在离开连接态时还向上层发送连接释放原因值,以便于上层确定是否变更终端设备连接的核心网的类型,以提高终端设备恢复RRC连接的概率。
第二方面,提供一种连接重建立方法,终端设备选择第一小区;在第一小区的制式与源小区的制式相同的情况下,或者,在第一小区的制式与源小区的制式不同、且第一小区属于第一类型的小区的情况下,终端设备向重选无线接入网设备发送用于请求重建终端设备与接入网之间的无线资源控制RRC连接的第一消息,这里,重选无线接入网设备为第一小区所属的无线接入网设备,第一类型的小区为与源核心网连接的 小区,源核心网为终端设备在源小区中接入的核心网;终端设备接收重选无线接入网设备发送的用于指示终端设备建立与目标无线接入网设备之间的连接的第二消息。
可以看出,本申请提供的连接重建方法中,即使第一小区的制式与源小区的制式不相同,终端设备也还会确定第一小区是否属于第一类型的小区。当第一小区属于第一类型的小区时,该第一小区所属的无线接入网设备(即重选无线接入网设备)能够获取到终端设备的上下文,能够恢复终端设备的RRC连接。相应的,在第一小区的制式与源小区的制式不相同、且第一小区属于第一类型的小区的情况下,终端设备向重选无线接入网设备发送第一消息。
可选的,在本申请的一种可能的实现方式中,在向重选无线接入网设备发送第一消息之前,终端设备还保留在源小区中使用的安全配置,该安全配置包括用于RRC完整性保护的秘钥和用于RRC完整性保护的算法中的至少一种。
可选的,在本申请的另一种可能的实现方式中,在向目标无线接入网设备发送第一消息之前,终端设备还重置介质访问控制MAC实体,释放MAC配置,以及释放/重建立/保留与数据无线承载DRB对应的源服务数据自适应协议SDAP实体,以及释放/重建立/保留与SRB对应的源RLC实体,以及释放/重建立/保留与DRB对应的源RLC实体,以及释放/重建立/保留与SRB对应的源PDCP实体,以及释放/重建立/保留与DRB对应的源PDCP实体。
可选的,在本申请的另一种可能的实现方式中,终端设备在接收到重选无线接入网设备发送的第二消息之后,在终端设备释放了第一信令无线承载SRB 1的源PDCP实体,且第二消息包括第一配置信息的情况下,该终端设备根据第一配置信息,新建SRB 1的PDCP实体;或者,终端设备在接收到重选无线接入网设备发送的第二消息之后,在终端设备释放了第一信令无线承载SRB 1的源PDCP实体,且第二消息未包括第一配置信息的情况下,该终端设备根据第一预设配置信息,新建SRB 1的PDCP实体;或者,终端设备在接收到重选无线接入网设备发送的第二消息之后,在终端设备保留了第一信令无线承载SRB 1的源PDCP实体的情况下,该终端设备重建SRB 1的PDCP实体;或者,终端设备在接收到重选无线接入网设备发送的第二消息之后,在终端设备保留了第一信令无线承载SRB 1的源PDCP实体的情况下,该终端设备在释放SRB 1的源PDCP实体后,新建SRB1的PDCP实体;或者,终端设备在接收到重选无线接入网设备发送的第二消息之后,在终端设备重建立了第一信令无线承载SRB 1的NR PDCP实体的情况下,该终端设备应用SRB 1的NR PDCP实体。
可选的,在本申请的另一种可能的实现方式中,终端设备接收重选无线接入网设备发送的第二消息之后,在终端设备释放了第一信令无线承载SRB 1的源RLC实体,且第二消息包括第二配置信息的情况下,该终端设备根据第二配置信息,新建SRB 1的RLC实体;或者,终端设备在接收到重选无线接入网设备发送的第二消息之后,在终端设备释放了第一信令无线承载SRB 1的源RLC实体,且第二消息未包括第二配置信息的情况下,该终端设备根据第二预设配置信息,新建SRB 1的RLC实体;或者,终端设备在接收到重选无线接入网设备发送的第二消息之后,在终端设备保留了第一信令无线承载SRB 1的源RLC实体的情况下,该终端设备释放SRB 1的源RLC实体,并新建SRB 1的RLC实体。
可选的,在本申请的另一种可能的实现方式中,终端设备还接收重选无线接入网设备发送的包括无线承载RB的配置信息的第三消息,这里,RB包括第二信令无线承载SRB 2和DRB中的至少一个。后续,在终端设备释放了RB的源PDCP实体,且RB的配置信息包括第三配置信息的情况下,该终端设备根据第三配置信息,新建RB的PDCP实体;或者,在终端设备释放了RB的源PDCP实体,且第三消息未包括第三配置信息的情况下,该终端设备根据第三预设配置信息,新建RB的源PDCP实体;或者,在终端设备重建立了RB的源PDCP实体的情况下,该终端设备应用RB的源PDCP实体;或者,在终端设备保留了RB的源PDCP实体的情况下,该终端设备重建RB的源PDCP实体,或者,在终端设备保留了RB的源PDCP实体的情况下,终端设备释放RB的源PDCP实体,并重建RB的PDCP实体。
可选的,在本申请的另一种可能的实现方式中,终端设备在接收到重选无线接入网设备发送的第三消息后,在终端设备释放了RB的源RLC实体,且RB的配置信息包括第四配置信息的情况下,该终端设备根据第四配置信息,新建RB的RLC实体;或者,在终端设备释放了RB的源RLC实体,且RB的配置信息未包括第四配置信息的情况下,该终端设备根据第四预设配置信息,新建RB的RLC实体;或者,在终端设备保留了RB的源RLC实体的情况下,该终端设备释放RB的源RLC实体,并新建RB的RLC实体。
可选的,在本申请的另一种可能的实现方式中,在源核心网为第五代核心网5GC、且上述RB包括DRB的场景下,在终端设备释放了DRB的源SDAP实体,且RB的配置信息包括第五配置信息的情况下,该终端设备根据第五配置信息,新建DRB的SDAP实体;或者,在终端设备保留了DRB的源SDAP实体的情况下,该终端设备释放DRB的源SDAP实体,并新建DRB的SDAP实体;或者,在终端设备保留了DRB的源SDAP实体的情况下,终端设备重建DRB的SDAP实体。
不论是哪一实体,终端设备在接收到第三消息后,采用与该终端设备发送第一消息之前执行的配置相对应的配置信息对该实体进行配置。
可选的,在上述第一方面、第二方面及其任意一种可能的实现方式中,在终端设备向重选无线接入网设备发送第一消息之前,在第一小区的制式与源小区的制式相同的情况下,终端设备还确定第一小区与源核心网连接。
5G系统中,第一小区的制式与源小区的制式相同的场景中,第一小区可能与源核心网连接,也可能与源核心网不连接。当第一小区与源核心网不连接时,终端设备的RRC连接无法恢复。因此,终端设备在确定第一小区的制式与源小区的制式相同后,还确定第一小区是否与源核心网连接能够有效的提高终端恢复RRC连接的概率,且减少信令的交互。
可选的,在上述第一方面、第二方面及其任意一种可能的实现方式中,在第一小区的制式与源小区的制式相同、且第一小区与源核心网不连接的情况下,终端设备离开连接态,并向上层发送连接释放原因值;该连接释放原因值包括切换失败、第一小区的类型、第一小区的制式、第一小区对应的核心网类型、第一小区是否与源核心网连接、非接入层NAS恢复指示、NAS变更以及核心网类型变更中的至少一个。
从上面描述可知,若第一小区与源核心网不连接,则重选无线接入网设备无法获 取到终端的上下文,这样,即使第一小区的制式与源小区的制式相同也无法恢复终端设备的RRC连接。
第三方面,提供一种连接重建立方法,应用于终端设备发起连接重建立的应用场景。具体的,终端设备选择第一小区,在第一小区的制式与源小区的制式相同的情况下,终端设备向重选无线接入网设备发送用于请求重建所述终端设备与接入网之间的无线资源控制RRC连接的第一消息,该重选无线接入网设备为第一小区所属的无线接入网设备;终端设备接收重选无线接入网设备发送的第四消息,第四消息用于指示重选无线接入网设备拒绝终端设备重建与接入网之间的RRC连接,第四消息包括拒绝原因值,拒绝原因值用于指示第一小区与源核心网不相连。
在第一小区的制式与源小区的制式相同的情况下,终端设备可能会接收到重选无线接入网设备发送的第四消息,该第四消息包括用于指示第一小区与源核心网不相连的拒绝原因值。终端设备根据该拒绝原因值能够确定出是否重新选择小区,以建立该终端设备与接入网之间的连接。
可选的,在上述第一方面、第二方面、第三方面及其任意一种可能的实现方式中,终端设备可以将与源核心网连接的待选择小区确定为第一小区,这样,终端设备在后续过程中的行为较为简化。
第四方面,提供一种连接重建立装置,该连接重建立装置为终端设备。具体的,连接重建立装置包括选择单元、确定单元、控制单元和发送单元。
上述选择单元,用于选择第一小区。上述确定单元,用于确定上述选择单元选择出的第一小区的制式与源小区的制式是否相同,以及用于确定第一小区是否属于第一类型的小区,第一类型的小区为与源核心网连接的小区,源核心网为终端设备在源小区中接入的核心网。上述控制单元,用于在上述确定单元确定第一小区的制式与源小区的制式不同、且第一小区不属于第一类型的小区的情况下,离开连接态。上述发送单元,用于在上述确定单元确定第一小区的制式与源小区的制式不同、且第一小区不属于第一类型的小区的情况下,向上层发送连接释放原因值,连接释放原因值包括切换失败、第一小区的类型、第一小区对应的核心网类型、第一小区的制式、第一小区是否与源核心网连接、非接入层NAS恢复指示、NAS变更以及核心网类型变更中的至少一个,连接释放原因值用于指示上层确定是否变更终端设备连接的核心网的类型。
第五方面,提供一种连接重建立装置,该连接重建立装置为终端设备。具体的,连接重建立装置包括选择单元、确定单元、发送单元和接收单元。
本申请提供的各个单元模块所实现的功能具体如下:
上述选择单元,用于选择第一小区。上述确定单元,用于确定上述选择单元选择出的第一小区的制式与源小区的制式是否相同,以及用于确定第一小区是否属于第一类型的小区,第一类型的小区为与源核心网连接的小区,源核心网为终端设备在源小区中接入的核心网。上述发送单元,用于在上述确定单元确定第一小区的制式与源小区的制式相同的情况下,或者在上述确定单元确定第一小区的制式与源小区的制式不同、且第一小区属于第一类型的小区的情况下,向重选无线接入网设备发送第一消息,第一消息用于请求重建终端设备与接入网之间的无线资源控制RRC连接,重选无线接入网设备为第一小区所属的无线接入网设备。上述接收单元,用于接收重选无线接入 网设备发送的第二消息,第二消息用于指示终端设备建立与目标无线接入网设备之间的连接。
可选的,在本申请的一种可能的实现方式中,本申请中的连接重建立装置还包括配置单元,该配置单元,用于在上述发送单元向重选无线接入网设备发送第一消息之前,保留在源小区中使用的安全配置,安全配置包括用于RRC完整性保护的秘钥和用于RRC完整性保护的算法中的至少一种。
可选的,在本申请的另一种可能的实现方式中,上述配置单元,还用于在上述发送单元向目标无线接入网设备发送第一消息之前,重置介质访问控制MAC实体,释放MAC配置,以及用于释放/重建立/保留与数据无线承载DRB对应的源服务数据自适应协议SDAP实体,以及用于释放/重建立/保留与SRB对应的源RLC实体,以及用于释放/重建立/保留与DRB对应的源RLC实体,以及用于释放/重建立/保留与SRB对应的源PDCP实体,以及用于释放/保留与DRB对应的源PDCP实体。
可选的,在本申请的另一种可能的实现方式中,上述配置单元还用于:在上述接收单元接收重选无线接入网设备发送的第二消息之后,
在释放了第一信令无线承载SRB 1的源PDCP实体,且第二消息包括第一配置信息的情况下,根据第一配置信息,新建SRB 1的PDCP实体;或者,在释放了第一信令无线承载SRB 1的源PDCP实体,且第二消息未包括第一配置信息的情况下,根据第一预设配置信息,新建SRB 1的PDCP实体;或者,在保留了第一信令无线承载SRB 1的源PDCP实体的情况下,重建SRB 1的PDCP实体;或者,在保留了第一信令无线承载SRB 1的源PDCP实体的情况下,在释放SRB 1的源PDCP实体后,新建SRB1的PDCP实体;或者,在重建立了第一信令无线承载SRB 1的NR PDCP实体的情况下,应用SRB 1的NR PDCP实体。
可选的,在本申请的另一种可能的实现方式中,上述配置单元还用于:在上述接收单元接收重选无线接入网设备发送的第二消息之后,
在释放了第一信令无线承载SRB 1的源RLC实体,且第二消息包括第二配置信息的情况下,根据第二配置信息,新建SRB 1的RLC实体;或者,在释放了第一信令无线承载SRB 1的源RLC实体,且第二消息未包括第二配置信息的情况下,根据第二预设配置信息,新建SRB 1的RLC实体;或者,在保留了第一信令无线承载SRB 1的源RLC实体的情况下,释放SRB 1的源RLC实体,并新建SRB 1的RLC实体。
可选的,在本申请的另一种可能的实现方式中,上述接收单元,还用于接收重选无线接入网设备发送的第三消息,第三消息包括无线承载RB的配置信息,RB包括第二信令无线承载SRB 2和DRB中的至少一个。上述配置单元,还用于:在释放了RB的源PDCP实体,且RB的配置信息包括第三配置信息的情况下,根据第三配置信息,新建RB的PDCP实体;或者,在释放了RB的源PDCP实体,且第三消息未包括第三配置信息的情况下,根据第三预设配置信息,新建RB的源PDCP实体;或者,在重建立了RB的源PDCP实体的情况下,应用RB的源PDCP实体;或者,在保留了RB的源PDCP实体的情况下,重建RB的源PDCP实体;或者,在保留了RB的源PDCP实体的情况下,终端设备释放RB的源PDCP实体,并重建RB的PDCP实体。
可选的,在本申请的另一种可能的实现方式中,上述配置单元还用于:在释放了 RB的源RLC实体,且RB的配置信息包括第四配置信息的情况下,根据第四配置信息,新建RB的RLC实体;或者,在释放了RB的源RLC实体,且RB的配置信息未包括第四配置信息的情况下,根据第四预设配置信息,新建RB的RLC实体;或者,在保留了RB的源RLC实体的情况下,释放RB的源RLC实体,并新建RB的RLC实体。
可选的,在本申请的另一种可能的实现方式中,在源核心网为第五代核心网5GC、且RB包括DRB的情况下,上述配置单元还用于:在释放了DRB的源SDAP实体,且RB的配置信息包括第五配置信息的情况下,根据第五配置信息,新建DRB的SDAP实体;或者,在保留了DRB的源SDAP实体的情况下,释放DRB的源SDAP实体,并新建DRB的SDAP实体;或者,在终端设备保留了DRB的源SDAP实体的情况下,终端设备重建DRB的SDAP实体。
可选的,在第四方面、第五方面及其任意一种可能的实现方式中,上述确定单元,还用于在上述发送单元向重选无线接入网设备发送第一消息之前,在第一小区的制式与源小区的制式相同的情况下,确定第一小区与源核心网连接。
可选的,在第四方面、第五方面及其任意一种可能的实现方式中,上述确定单元,还用于在上述发送单元向重选无线接入网设备发送第一消息之前,在第一小区的制式与源小区的制式相同的情况下,确定第一小区与源核心网不连接。该场景中,本申请中的连接重建立装置还包括控制单元,该控制单元,用于在上述确定单元确定第一小区的制式与源小区的制式相同、且第一小区与源核心网不连接的情况下,离开连接态。上述发送单元,还用于在上述确定单元确定第一小区的制式与源小区的制式相同、且第一小区与源核心网不连接的情况下,向上层发送连接释放原因值;连接释放原因值包括切换失败、第一小区的类型、第一小区的制式、第一小区对应的核心网类型、第一小区是否与源核心网连接、非接入层NAS恢复指示、NAS变更以及核心网类型变更中的至少一个。
第六方面,提供一种连接重建立装置,该连接重建立装置为终端设备。该连接重建立装置包括选择单元。确定单元以及发送单元。
具体的,上述选择单元,用于选择第一小区。上述确定单元,用于确定上述选择单元选择的第一小区的制式与源小区的制式是否相同。上述发送单元,用于在上述确定单元确定第一小区的制式与源小区的制式相同的情况下,向重选无线接入网设备发送第一消息。上述接收单元,还用于接收重选无线接入网设备发送的第四消息,第四消息用于指示重选无线接入网设备拒绝终端设备重建与接入网之间的RRC连接,第四消息包括拒绝原因值,拒绝原因值用于指示第一小区与源核心网不相连。
可选的,在第四方面、第五方面、第六方面及其任意一种可能的实现方式中,上述选择单元,具体用于将与源核心网连接的待选择小区确定为第一小区。
第七方面,提供一种终端设备,该终端设备包括:一个或多个处理器、存储器、通信接口。其中,存储器、通信接口与一个或多个处理器耦合;终端设备通过通信接口与其他设备通信,存储器用于存储计算机程序代码,计算机程序代码包括指令,当一个或多个处理器执行指令时,终端设备执行如上述第一方面、第二方面、第三方面及其各种可能的实现方式所述的连接重建立方法。
第八方面,还提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令;当其在终端设备上运行时,使得终端设备执行如上述第一方面、第二方面、第三方面及其各种可能的实现方式所述的连接重建立方法。
第九方面,还提供一种包括指令的计算机程序产品,当其在终端设备上运行时,使得终端设备执行如上述第一方面、第二方面、第三方面及其各种可能的实现方式所述的连接重建立方法。
本申请中第四方面、第五方面、第六方面、第七方面、第八方面、第九方面及其各种实现方式的具体描述,可以参考第一方面、第二方面、第三方面及其各种实现方式中的详细描述;并且,第四方面、第五方面、第六方面、第七方面、第八方面、第九方面及其各种实现方式的有益效果,可以参考第一方面、第二方面、第三方面及其各种实现方式中的有益效果分析,此处不再赘述。
第十方面,提供一种连接重建立方法,重选无线接入网设备接收终端设备在第一小区(第一小区属于重选无线接入网设备)发送的第一消息,第一消息用于请求重建终端设备与接入网之间的无线资源控制RRC连接;在重选无线接入网设备与源核心网连接的情况下,响应第一消息,重选无线接入网设备向终端设备发送第五消息,第五消息用于指示重选无线接入网设备接受终端设备重建与接入网之间的无线资源控制RRC连接,源核心网为终端设备在源小区中接入的核心网,源小区为终端设备原服务小区或者为终端设备切换之前的源小区。
可选的,在本申请的一种可能的实现方式中,在第一小区的制式为演进通用陆地无线接入E-UTRA,且第一小区连接源核心网的情况下,重选无线接入网设备接收源基站发送的用于请求为终端设备进行更换核心网的切换过程的切换请求消息,该切换请求消息包括终端设备的源上下文,终端设备的源上下文包括用于指示重选无线接入网设备对终端设备进行校验的第一安全参数信息,源基站为源小区所属的基站。相应的,上述“响应第一消息,重选无线接入网设备向终端设备发送第五消息”的方法为:重选无线接入网设备根据第一安全参数信息校验终端设备;重选无线接入网设备确定接受终端设备重建与接入网之间的RRC连接,并向终端设备发送第五消息。
第十一方面,提供一种连接重建立方法,重选无线接入网设备接收终端设备在第一小区(第一小区属于重选无线接入网设备)发送的第一消息,第一消息用于请求重建终端设备与接入网之间的无线资源控制RRC连接;在重选无线接入网设备与源核心网不连接的情况下,响应第一消息,重选无线接入网设备向终端设备发送第四消息,第四消息用于指示重选无线接入网设备拒绝终端设备拒绝与接入网之间的RRC连接,第四消息包括拒绝原因值,拒绝原因值用于指示第一小区与源核心网不相连,源核心网为终端设备在源小区中接入的核心网,源小区为终端设备原服务小区或者为终端设备切换之前的源小区。
拒绝原因值用于指示第一小区与源核心网不相连,这样,终端设备在获取到该拒绝原因值后,根据该拒绝原因值确定是否重新选择小区,以建立该终端设备与接入网之间的连接。
第十二方面,提供一种连接重建立装置,该连接重建立装置为无线接入网设备。该连接重建立装置包括接收单元、确定单元和发送单元。
具体的,上述接收单元,用于接收终端设备在第一小区发送的第一消息,第一消息用于请求重建终端设备与接入网之间的无线资源控制RRC连接,第一小区属于所述重选无线接入网设备。上述确定单元,用于确定是否与源核心网连接,源核心网为终端设备在源小区中接入的核心网,源小区为终端设备原服务小区或者为终端设备切换之前的源小区。上述发送单元,用于在上述确定单元确定与源核心网连接的情况下,响应第一消息,向终端设备发送第五消息,第五消息用于指示重选无线接入网设备接受终端设备重建与接入网之间的无线资源控制RRC连接。
可选的,在本申请的一种可能的实现方式中,上述接收单元,还用于在第一小区的制式为演进通用陆地无线接入E-UTRA,且第一小区连接源核心网的情况下,接收源基站发送的切换请求消息,切换请求消息用于请求为终端设备进行更换核心网的切换过程,切换请求消息包括终端设备的源上下文,终端设备的源上下文包括用于指示重选无线接入网设备对终端设备进行校验的第一安全参数信息,源基站为源小区所属的基站。上述确定单元,还用于根据根据第一安全参数信息校验终端设备,并确定接受终端设备重建与接入网之间的RRC连接。上述发送单元,具体用于在上述确定单元接受终端设备重建与接入网之间的RRC连接后,向终端设备发送第五消息。
第十三方面,提供一种连接重建立装置,该连接重建立装置为无线接入网设备。该连接重建立装置包括接收单元、确定单元和发送单元。
上述接收单元,用于接收终端设备发送的第一消息,第一消息用于请求重建终端设备与接入网之间的无线资源控制RRC连接。上述确定单元,用于确定无线接入网设备与源核心网是否连接,源核心网为终端设备在源小区中接入的核心网,源小区为终端设备原服务小区或者为终端设备切换之前的源小区。上述发送单元,用于在上述确定单元确定重选无线接入网设备与源核心网不连接的情况下,响应第一消息,向终端设备发送第四消息,第四消息用于指示重选无线接入网设备拒绝终端设备拒绝与接入网之间的RRC连接,第四消息包括拒绝原因值,拒绝原因值用于指示第一小区与源核心网不相连。
第十四方面,提供一种无线接入网设备,该无线接入网设备包括:一个或多个处理器、存储器、通信接口。其中,存储器、通信接口与一个或多个处理器耦合;无线接入网设备通过通信接口与其他设备通信,存储器用于存储计算机程序代码,计算机程序代码包括指令,当一个或多个处理器执行指令时,无线接入网设备执行如上述第十方面、第十一方面及其各种可能的实现方式所述的连接重建立方法。
第十五方面,还提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令;当其在无线接入网设备上运行时,使得无线接入网设备执行如上述第十方面、第十一方面及其各种可能的实现方式所述的连接重建立方法。
第十六方面,还提供一种包括指令的计算机程序产品,当其在无线接入网设备上运行时,使得无线接入网设备执行如上述第十方面、第十一方面及其各种可能的实现方式所述的连接重建立方法。
本申请中第十二方面、第十三方面、第十四方面、第十五方面、第十六方面及其各种实现方式的具体描述,可以参考第十方面、第十一方面及其各种实现方式中的详细描述;并且,第十二方面、第十三方面、第十四方面、第十五方面、第十六方面及 其各种实现方式的有益效果,可以参考第十方面、第十一方面及其各种实现方式中的有益效果分析,此处不再赘述。
在本申请中,上述连接重建立装置的名字对设备或功能模块本身不构成限定,在实际实现中,这些设备或功能模块可以以其他名称出现。只要各个设备或功能模块的功能和本申请类似,属于本申请权利要求及其等同技术的范围之内。
第十七方面,提供一种芯片,该芯片可以包括:一个或多个处理器,存储器,通信总线;上述存储器用于存储一个或多个计算机指令,上述一个或多个处理器与上述存储器通过上述通信总线连接,当上述芯片运行时,上述一个或多个处理器执行上述存储器存储的上述一个或多个计算机指令,以使上述芯片执行如第一方面及其任意一种可能的实现方式,或第二方面及其任意一种可能的实现方式,或第三方面及其任意一种可能的实现方式中任一项所述的连接重建立方法。
第十八方面,提供一种芯片,该芯片可以包括:一个或多个处理器,存储器,通信总线;上述存储器用于存储一个或多个计算机指令,上述一个或多个处理器与上述存储器通过上述通信总线连接,当上述芯片运行时,上述一个或多个处理器执行上述存储器存储的上述一个或多个计算机指令,以使上述芯片执行如第十方面及其任意一种可能的实现方式,或第十一方面及其任意一种可能的实现方式中任一项所述的连接重建立方法。
上述源小区为演进通用陆地无线接入E-UTRA小区,相应的,上述源核心网为第五代核心网5GC,上述第一类型的小区为NR小区。或者,上述源小区为新空口NR小区,相应的,上述源核心网为5GC,上述第一类型的小区为E-UTRA小区。
本申请的这些方面或其他方面在以下的描述中会更加简明易懂。
附图说明
图1为传统的LTE系统的网络架构;
图2为4G系统与5G系统共存的网络结构示意图;
图3为本申请实施例提供的手机的硬件结构示意图;
图4为本申请实施例提供的无线接入网设备的结构示意图;
图5为本申请实施例提供的连接重建立方法的流程示意图一;
图6为本申请实施例提供的连接重建立方法的流程示意图二;
图7为本申请实施例提供的连接重建立方法的流程示意图三;
图8为本申请实施例提供的连接重建立方法的流程示意图四;
图9为本申请实施例提供的连接重建立方法的流程示意图五;
图10为本申请实施例提供的连接重建立方法的流程示意图六;
图11为本申请实施例提供的连接重建立方法的流程示意图七;
图12为本申请实施例提供的连接重建立方法的流程示意图八;
图13为本申请实施例提供的连接重建立方法的流程示意图九;
图14为本申请实施例提供的连接重建立装置的结构示意图一;
图15为本申请实施例提供的连接重建立装置的结构示意图二。
具体实施方式
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。
本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
移动性是无线通信系统中的主要特征,它主要靠空闲模式(Idle mode)下的小区重选和连接模式(Connected mode)下的切换来实现。连接模式下由于局部地区多小区覆盖的复杂性导致切换过程中小区强弱对比会时刻发生变化,这样出现切换失败的可能性就比较大。在长期演进(Long Term Evolution,LTE)系统中,用户设备(User Equipment,UE)此时就需要利用RRC连接重建立流程来保证业务的连贯性。
本申请实施例将LTE系统中的演进式基站(evolved Node Base Station,eNB)称为LTE eNB,将LTE系统中的用户设备(User Equipment,UE)称为LTE UE。
在传统的LTE系统中,LTE eNB通过S1接口接入到分组核心演进(The Evolved Packet Core,EPC)网,不同的LTE eNB之间通过X2接口连接。每个LTE eNB均与至少一个LTE UE连接。图1示出了传统的LTE系统的网络架构。在实际应用中上述LTE eNB与LTE UE之间的连接为无线连接,为了方便直观地表示各个设备之间的连接关系,图1中采用实线示意。
随着通信技术的发展,LTE eNB可演进为下一代LTE基站(Next Generation eNB,ng-eNB)。ng-eNB通过演进通用陆地无线接入(Evolved Universal Terrestrial Radio Access,E-UTRA)技术为UE提供无线传输资源。ng-eNB可以为UE提供第五代核心网(the 5th Generation Core Network,5GCN)的服务,也可以为UE提供EPC的服务。在实际部署中,ng-eNB可以仅仅与5GCN/EPC连接,也可以同时与5GCN和EPC连接。5GCN也可以称为5GC。
本申请实施例将ng-eNB提供5GC服务的小区称为E-UTRA~5GC小区,将ng-eNB或LTE eNB提供EPC服务的小区称为E-UTRA~EPC小区。
当UE在两个LTE小区(cell)之间移动时,处于连接态(RRC Connected mode)的UE触发LTE系统内(Intra-LTE)的切换流程,处于空闲态(RRC Idle mode)的UE触发小区重选流程。Intra-LTE的切换中UE接入的核心网没有发生变化,无线接入技术(Radio Access Technology,RAT)也未发生变化,UE在源小区使用的源配置在同制式的小区内可以使用,为源小区提供服务的基站和为目标小区提供服务的基站均具有UE的上下文。当UE在LTE小区与其他制式(例如第三代通信技术(the 3Generation Mobile Communication Technology,3G)/第二代通信技术(the 2Generation Mobile Communication Technology,2G))的小区之间移动时,连接态的UE触发变更无线接入技术(Inter-RAT)的切换流程,处于空闲态的UE触发小区重选流程。Inter-RAT的切换中核心网发生变化,RAT也发生变化,UE在源小区使用的源配置在不同制式的小区内不能使用,为源小区提供服务的基站具有UE在源核心网相关的上下文,为目标小区提供服务的基站具有UE在目标核心网相关的上下文。
若UE切换失败,则可能会触发RRC连接重建立流程。相应的,UE执行小区重选。若UE重选的小区(称为第一小区)与源小区的制式相同,则该UE向为第一小区提供服务的基站发送RRC连接重建立请求(RRC Connection Reestablishment Request)消息。从上面描述可知,若第一小区与源小区的制式相同,且为第一小区提供服务的基站也具有UE的上下文,这样,在UE向为第一小区提供服务的基站发送RRC连接重建立请求消息后,该基站能够通过该UE的安全校验,以恢复UE的RRC连接。若第一小区与源小区的制式不同,则该UE离开RRC连接态,即不会向为第一小区提供服务的基站发送RRC连接重建立请求消息。
5G系统的接入网(Radio Access Network,RAN)称为下一代RAN(Next Generation RAN,NG-RAN),NG-RAN节点包括ng-eNB和gNB(5G系统中的基站)。其中,gNB通过新空口(New Radio,NR)技术为终端设备提供无线传输资源,并为终端设备提供5GC的服务。本申请实施例将5G系统的UE称为5G UE,将gNB提供5GC服务的小区称为NR小区。
图2示出了4G系统与5G系统共存的网络结构。如图2所示,ng-eNB可通过S1接口接入到EPC,也可通过其他相应接口(图2中用NG表示)接入到5GC。与ng-eNB连接的5G UE可通过ng-eNB接入到5GC。与ng-eNB连接的LTE UE,可通过ng-eNB接入EPC。LTE eNB与连接了EPC的ng-eNB之间通过X2接口连接,ng-eNB与NR gNB之间通过Xn接口连接。同理,在实际应用中上述多个设备多个设备与UE之间的连接可能为无线连接,为了方便直观地表示各个设备之间的连接关系,图2中采用实线示意。
当UE在ng-eNB小区和NR gNB小区移动时,处于连接态的UE触发切换流程,该切换流程包括变更核心网(inter-system inter-RAT)的切换流程和5G系统内(intra-system inter-RAT)的切换流程。inter-system intra-RAT的切换可以为UE在E-UTRA~EPC小区与E-UTRA~5GC小区之间的切换。这种切换方式中,核心网发生了变化,但RAT未发生变化。intra-system inter-RAT的切换可以为UE在E-UTRA~5GC小区与NR小区之间的切换。这种切换方式,核心网未发生变化,但RAT发生了变化。
在图2示出的网络结构中,UE存在下述三种切换场景:
1、5G系统内变更RAT(Intra 5GS inter-RAT)的切换场景。例如:E-UTRA~5GC小区与NR小区之间的切换。
2、核心网和RAT均变更(Inter system inter-RAT)的切换场景。例如:E-UTRA~EPC小区与NR小区之间的切换,LTE小区与NR小区之间的切换。
3、核心网变更且RAT不变(Inter system intra-RAT)的切换场景。例如:E-UTRA~EPC小区与E-UTRA~5GC小区之间的切换,LTE小区与E-UTRA~5GC小区之间的切换。
对于上述Intra 5GS inter-RAT的切换场景,以源小区为E-UTRA~5GC小区,第一小区为NR小区为例,E-UTRA~5GC小区与NR小区的制式不同,若按照现有的RRC连接重建立流程,UE在确定第一小区的制式与源小区的制式不同后,会离开RRC连接态。但是,考虑到该切换场景中,核心网没有发生变化,服务数据自适应协议(Service Data Adaptation Protocol,SDAP)和PDCP类型(均为NR PDCP)均为发生变化。因 此,UE的服务质量(Quality of Service,QoS)相关的配置、数据无线承载(Data Radio Bearer,DRB)的配置、SDAP配置、分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)配置也均可以在第一小区中使用,从而保证了业务/数据的连续性。此时,UE是可以通过发送RRC连接重建立请求(RRC Connection Reestablishment Request)消息恢复RRC连接的。
对于上述Inter system intra-RAT的切换场景,以源小区为E-UTRA~EPC小区,第一小区为E-UTRA~5GC小区为例,E-UTRA~EPC小区与E-UTRA~5GC小区的制式相同,若按照现有的RRC连接重建立流程,UE在确定切换失败后,会向为E-UTRA~5GC小区提供服务的ng-eNB发送RRC连接重建立请求(RRC Connection Reestablishment Request)消息。但是,在UE确定第一小区之前,该UE已经回复到(revert back to)其在源小区中使用的配置(简称为:源配置),该源配置并不能在第一小区中使用,因此,即使UE向ng-eNB发送了RRC连接重建立请求消息,该UE也会收到ng-eNB发送的RRC连接重建立拒绝(RRC Connection Reestablishment Reject)消息,从而导致重建立失败。
可以看出,现有的切换失败后的RRC连接重建立方法不适用于5G系统。
针对这一问题,本申请实施例提供一种连接重建立方法,在终端设备选择的第一小区的制式与源小区的制式不同、且第一小区不属于第一类型的小区的情况下,终端设备离开连接态,并向上层发送连接释放原因值,以用于指示上层确定是否变更终端设备连接的核心网的类型。这里,第一类型的小区为与源核心网连接的小区。或者,在第一小区的制式与源小区的制式不同、且第一小区属于第一类型的小区的情况下,终端设备向重选基站发送用于请求重建终端设备与接入网之间的RRC连接的第一消息。本申请实施例中的终端设备综合“第一小区的制式是否与源小区的制式相同”以及“第一小区是否属于第一类型的小区”的判断结果,确定是否向重选无线接入网设备发送第一消息,有效的提高了终端设备恢复RRC连接的概率,减少了信令交互。
本申请实施例提供的RRC连接重建立方法适用于切换失败场景中的RRC连接重建立过程,也适用于除切换失败场景之外的其他RRC连接重建立过程。例如:无线链路失败、RRC重配置失败、完整性校验失败等其他事件触发的RRC连接重建立过程。
本申请实施例提供的连接重建立方法适用于图2所示的通信系统。结合图2,本申请实施例中的源无线接入网设备/重选无线接入网设备均可以为LTE eNB、ng-eNB或者NR gNB,终端设备可以为NR UE。
本申请实施例中的终端设备可以是手机(如图3所示的手机300)、平板电脑、个人计算机(Personal Computer,PC)、个人数字助理(Personal Digital Assistant,PDA)、智能手表、上网本、可穿戴电子设备等,本申请实施例对该设备的具体形式不做特殊限制。
如图3所示,以手机300作为上述终端举例,手机300具体可以包括:处理器301、射频(Radio Frequency,RF)电路302、存储器303、触摸屏304、蓝牙装置305、一个或多个传感器306、无线保真(Wireless Fidelity,Wi-Fi)装置307、定位装置308、音频电路309、外设接口310以及电源装置311等部件。这些部件可通过一根或多根通信总线或信号线(图3中未示出)进行通信。本领域技术人员可以理解,图3中示 出的硬件结构并不构成对手机的限定,手机300可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图3对手机300的各个部件进行具体的介绍:
处理器301是手机300的控制中心,利用各种接口和线路连接手机300的各个部分,通过运行或执行存储在存储器303内的应用程序,以及调用存储在存储器303内的数据,执行手机300的各种功能和处理数据。在一些实施例中,处理器301可包括一个或多个处理单元。在本申请实施例一些实施例中,上述处理器301还可以包括指纹验证芯片,用于对采集到的指纹进行验证。
射频电路302可用于在收发信息或通话过程中,无线信号的接收和发送。特别地,射频电路302可以将基站的下行数据接收后,给处理器301处理;另外,将涉及上行的数据发送至基站。通常,射频电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频电路302还可以通过无线通信和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。
存储器303用于存储应用程序以及数据,处理器301通过运行存储在存储器303的应用程序以及数据,执行手机300的各种功能以及数据处理。存储器303主要包括存储程序区以及存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像处理功能等);存储数据区可以存储根据使用手机300时所创建的数据(比如音频数据、电话本等)。此外,存储器303可以包括高速随机存取存储器(RAM),还可以包括非易失存储器,例如磁盘存储器件、闪存器件或其他易失性固态存储器件等。存储器303可以存储各种操作系统,例如,iOS操作系统,Android操作系统等。上述存储器303可以是独立的,通过上述通信总线与处理器301相连接;存储器303也可以和处理器301集成在一起。
触摸屏304具体可以包括触控板304-1和显示器304-2。
其中,触控板304-1可采集手机300的用户在其上或附近的触摸事件(比如用户使用手指、触控笔等任何适合的物体在触控板304-1上或在触控板304-1附近的操作),并将采集到的触摸信息发送至其他器件(例如处理器301)。其中,用户在触控板304-1附近的触摸事件可以称之为悬浮触控;悬浮触控可以是指,用户无需为了选择、移动或拖动目标(例如图标等)而直接接触触控板,而只需用户位于设备附近以便执行所想要的功能。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型来实现触控板304-1。
显示器(也称为显示屏)304-2可用于显示由用户输入的信息或提供给用户的信息以及手机300的各种菜单。可以采用液晶显示器、有机发光二极管等形式来配置显示器304-2。触控板304-1可以覆盖在显示器304-2之上,当触控板304-1检测到在其上或附近的触摸事件后,传送给处理器301以确定触摸事件的类型,随后处理器301可以根据触摸事件的类型在显示器304-2上提供相应的视觉输出。虽然在图3中,触控板304-1与显示屏304-2是作为两个独立的部件来实现手机300的输入和输出功能,但是在某些实施例中,可以将触控板304-1与显示屏304-2集成而实现手机300的输 入和输出功能。可以理解的是,触摸屏304是由多层的材料堆叠而成,本申请实施例实施例中只展示出了触控板(层)和显示屏(层),其他层在本申请实施例实施例中不予记载。另外,触控板304-1可以以全面板的形式配置在手机300的正面,显示屏304-2也可以以全面板的形式配置在手机300的正面,这样在手机的正面就能够实现无边框的结构。
另外,手机300还可以具有指纹识别功能。例如,可以在手机300的背面(例如后置摄像头的下方)配置指纹采集器件312,或者在手机300的正面(例如触摸屏304的下方)配置指纹采集器件312。又例如,可以在触摸屏304中配置指纹采集器件312来实现指纹识别功能,即指纹采集器件312可以与触摸屏304集成在一起来实现手机300的指纹识别功能。在这种情况下,该指纹采集器件312配置在触摸屏304中,可以是触摸屏304的一部分,也可以以其他方式配置在触摸屏304中。本申请实施例实施例中的指纹采集器件312的主要部件是指纹传感器,该指纹传感器可以采用任何类型的感测技术,包括但不限于光学式、电容式、压电式或超声波传感技术等。
手机300还可以包括蓝牙装置305,用于实现手机300与其他短距离的设备(例如手机、智能手表等)之间的数据交换。本申请实施例实施例中的蓝牙装置可以是集成电路或者蓝牙芯片等。
手机300还可以包括至少一种传感器306,比如光传感器、运动传感器以及其他传感器。具体的,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节触摸屏304的显示器的亮度,接近传感器可在手机300移动到耳边时,关闭显示器的电源。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机300还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
Wi-Fi装置307,用于为手机300提供遵循Wi-Fi相关标准协议的网络接入,手机300可以通过Wi-Fi装置307接入到Wi-Fi接入点,进而帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。在其他一些实施例中,该Wi-Fi装置307也可以作为Wi-Fi无线接入点,可以为其他设备提供Wi-Fi网络接入。
定位装置308,用于为手机300提供地理位置。可以理解的是,该定位装置308具体可以是全球定位系统(Global Positioning System,GPS)或北斗卫星导航系统、俄罗斯GLONASS等定位系统的接收器。定位装置308在接收到上述定位系统发送的地理位置后,将该信息发送至处理器301进行处理,或者发送至存储器303进行保存。在另外的一些实施例中,该定位装置308还可以是辅助全球卫星定位系统(Assisted Global Positioning System,AGPS)的接收器,AGPS系统通过作为辅助服务器来协助定位装置308完成测距和定位服务,在这种情况下,辅助定位服务器通过无线通信网络与设备例如手机300的定位装置308(即GPS接收器)通信而提供定位协助。在另外的一些实施例中,该定位装置308也可以是基于Wi-Fi接入点的定位技术。由于每一个Wi-Fi接入点都有一个全球唯一的MAC地址,设备在开启Wi-Fi的情况下即可扫 描并收集周围的Wi-Fi接入点的广播信号,因此可以获取到Wi-Fi接入点广播出来的MAC地址;设备将这些能够标示Wi-Fi接入点的数据(例如MAC地址)通过无线通信网络发送至位置服务器,由位置服务器检索出每一个Wi-Fi接入点的地理位置,并结合Wi-Fi广播信号的强弱程度,计算出该设备的地理位置并发送到该设备的定位装置308中。
音频电路309、扬声器313、麦克风314可提供用户与手机300之间的音频接口。音频电路309可将接收到的音频数据转换后的电信号,传输到扬声器313,由扬声器313转换为声音信号输出;另一方面,麦克风314将收集的声音信号转换为电信号,由音频电路309接收后转换为音频数据,再将音频数据输出至RF电路302以发送至比如另一手机,或者将音频数据输出至存储器303以便进一步处理。
外设接口310,用于为外部的输入/输出设备(例如键盘、鼠标、外接显示器、外部存储器、用户识别模块卡等)提供各种接口。例如通过通用串行总线(Universal Serial Bus,USB)接口与鼠标连接,通过用户识别模块卡卡槽上的金属触点与电信运营商提供的用户识别模块卡(Subscriber Identification Module,SIM)卡进行连接。外设接口310可以被用来将上述外部的输入/输出外围设备耦接到处理器301和存储器303。
在本申请实施例中,手机300可通过外设接口310与设备组内的其他设备进行通信,例如,通过外设接口310可接收其他设备发送的显示数据进行显示等,本申请实施例对此不作任何限制。
手机300还可以包括给各个部件供电的电源装置311(比如电池和电源管理芯片),电池可以通过电源管理芯片与处理器301逻辑相连,从而通过电源装置311实现管理充电、放电、以及功耗管理等功能。
尽管图3未示出,手机300还可以包括摄像头(前置摄像头和/或后置摄像头)、闪光灯、微型投影装置、近场通信(Near Field Communication,NFC)装置等,在此不再赘述。
本申请实施例中的无线接入设备可以为无线接入点(Access Point,AP),也可以为基站,本申请实施例对此不作具体限定。
图4为本申请实施例提供的一种无线接入网设备的组成示意图,如图4所示,无线接入网设备可以包括至少一个处理器41,存储器42、收发器43、总线44。
下面结合图4对无线接入网设备的各个构成部件进行具体的介绍:
处理器41是无线接入网设备的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器41是一个CPU,也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(Digital Signal Processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)。
其中,处理器41可以通过运行或执行存储在存储器42内的软件程序,以及调用存储在存储器42内的数据,执行无线接入网设备的各种功能。
在具体的实现中,作为一种实施例,处理器41可以包括一个或多个CPU,例如图中所示的CPU 0和CPU 1。
在具体实现中,作为一种实施例,无线接入网设备可以包括多个处理器,例如图 4中所示的处理器41和处理器45。这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
存储器42可以是只读存储器(Read-Only Memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(Random Access Memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器42可以是独立存在,通过总线44与处理器41相连接。存储器42也可以和处理器41集成在一起。
其中,存储器42用于存储执行本申请方案的软件程序,并由处理器41来控制执行。
收发器43,用于与其他设备或通信网络通信。如用于与以太网,无线接入网(radio access network,RAN),无线局域网(Wireless Local Area Networks,WLAN)等通信网络通信。收发器43可以包括基带处理器的全部或部分,以及还可选择性地包括RF处理器。RF处理器用于收发RF信号,基带处理器则用于实现由RF信号转换的基带信号或即将转换为RF信号的基带信号的处理。
总线44,可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component Interconnect,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图4中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
图4中示出的设备结构并不构成对无线接入网设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
现结合上述图2示出的通信系统、图3示出的手机的硬件结构以及图4示出的无线接入网设备的结构对本申请提供的连接重建立方法进行描述。为了便于描述,下文以无线接入网设备为基站为例进行描述。
具体的,本申请提供的连接重建立方法包括下述步骤:
步骤1、源基站确定将终端设备从源小区切换至目标基站提供服务的目标小区后,向目标基站发送切换准备消息,并在接收到目标基站发送的用于指示路径已经建立完成的响应消息后,向终端设备发送切换命令。
具体的,源基站通过基站间接口(如Xn接口)或者基站与核心网之间的接口(如S1接口或NG接口)向目标基站发送切换准备消息。
该切换准备消息包括终端设备的安全上下文,例如:第一安全参数信息VarShortMAC-Input。第一安全参数信息为源基站基于目标小区的ID、源小区的小区无线网络临时标识(Cell Radio Network Temporary Identifier,C-RNTI)、源小区的物理小区标识(Physical Cell Identifier,PCI)等信息计算出的。第一安全参数信息用于 在终端设备向目标基站发送RRC连接重建里请求后,目标基站基于上述第一安全参数信息对该终端设备进行安全校验。
从上面描述可知,终端设备在图2示出的通信系统中切换时,会存在以下两种切换类型:
一、源核心网与目标核心网不同。
由于第一安全参数信息为基于源核心网的安全信息,因此,对于跨核心网(inter-RAT)的切换,目标基站无法获取终端设备的第一安全参数信息。若源基站确定目标基站与源核心网连接,则该源基站可以在切换准备消息中携带终端设备的第一安全参数信息,便于终端设备使用源配置在目标小区发起连接重建立。
二、源核心网与目标核心网相同。
源基站确定目标核心网与源核心网相同后,直接在切换准备消息中携带终端设备的第一安全参数信息。
目标基站在接收到切换准备消息后,建立新路径并在新路径建立完成后向源基站发送用于指示路径已经建立的响应消息。源基站在接收到该响应消息后,向终端设备发送包括第一时长的切换命令。该第一时长为终端设备执行一次切换过程等待的最长时间。
该切换命令可以为RRC消息。示例性的,在LTE系统中,该切换命令可以为包括移动控制信息(mobility Control Info)的RRC连接重配(RRC Connection Reconfiguration)消息。
步骤2、终端设备根据切换命令,将其配置更新为目标小区的配置。
具体的,终端设备在接收到切换命令后,启动第一定时器,并将其相关配置更新为目标小区的配置。第一定时器的时长为上述第一时长。若第一定时器超时,终端设备还没有完成切换,则终端设备确定切换失败。
步骤3a、若终端设备切换失败,则该终端设备回复到(revert back to)源配置。
本申请实施例将终端设备在源小区中使用的配置简称为源配置。
具体的,源配置包括每个无线承载(Radio Bearer,RB)的状态变量和参数。源配置不包括源小区中的物理层PHY、媒体接入控制层MAC层的配置。因为后续终端设备需要根据小区信号质量确定第一小区,该第一小区可能为源小区,也可能为目标小区,甚至可能为除了源小区与目标小区以外的其他小区。终端设备驻留到某一小区后需要使用该小区的物理层、媒体接入控制层的配置。
步骤3b、在终端设备回复到源配置后,该终端设备启动RRC连接重建立流程。
具体的,终端设备挂起(Suspend)除信令无线承载(Signaling Radio Bearers,SRB)0以外的所有无线承载、重置MAC、释放主服务小区组主小区组(Master Cell Group,MCG)辅服务小区(Secondary Cell,Scell)、应用默认物理信道配置以及针对MCG还应用默认MAC主配置等。此外,终端设备还进行小区重选。由于小区重选为本申请关注的重点,因此,本申请实施例对终端设备进行小区重选进行描述。
步骤4、终端设备启动第二计时器,进行小区重选,并确定第一小区。
具体的,在发起连接重建立时,终端设备启动第二计时器。在完成小区重选后停止第二计时器,例如:终端设备选择了与源RAT相同的适合的小区(Suitable cell)或 选择了一个其他RAT的小区后停止第二计时器。若第二计时器超时,则终端设备进入空闲态(Idle mode)。
结合前面描述可知,终端设备确定的第一小区的制式与源小区的制式可能相同,也可能不同。
下面以切换失败触发的RRC连接重建立流程为例,从第一小区的制式与源小区的制式是否相同的角度来说明本申请实施例中的连接重建立方法。此时,源小区为切换过程中的源小区,源基站为切换的源站(例如Source eNB,Source gNB)。本申请实施例中的方法也适用于其他情况触发的RRC重建立流程,此时,源小区为终端设备开始重建立流程之前的原服务小区,源基站为终端设备原服务小区所属的基站。例如,对于RLF触发的RRC重建立流程,终端设备在发送RLF时的服务小区为源小区。
当源小区的制式为E-UTRA,第一小区为与源小区的制式相同的合适(suitable)小区时,本申请实施例中的终端设备可采用下述方式进行处理:
方式一:若第一小区为E-UTRA小区,即第一小区的制式与源小区的制式相同,则终端设备进一步读取该第一小区的系统信息,以确定该第一小区是否连接源核心网。
若该E-UTRA小区连接源核心网,则终端设备停止第二计时器,启动第三计时器,向重选基站发送RRC连接重建立请求(RRC Connection Reestablishment Request)消息。
若该E-UTRA小区不能提供与源核心网的连接,则终端设备离开E-UTRA的连接态。可选的,终端设备在离开E-UTRA的连接态时,向上层(例如非接入NAS层)发送包括连接释放原因值的RRC连接释放指示,这样,上层即可根据该连接释放原因值确定是否更换终端设备连接的核心网的类型。这里,连接释放原因值可以包括以下信息中的任一种或多种的组合:切换失败、第一小区的类型、第一小区的制式、第一小区是否提供源核心网连接、第一小区支持的核心网类型等。
示例性的,源小区为E-UTRA~EPC小区,第一小区为E-UTRA~5GC小区,上层根据连接释放原因值确定终端设备不能继续沿用EPS NAS,而是更换为5GS NAS,则终端设备可以在第一小区中通过5GS NAS接入5GC。反之,源小区为E-UTRA~5GC小区,重选小区为E-UTRA~EPC小区,上层根据连接释放原因值确定终端设备不能继续沿用5GS NAS,而是更换为EPS NAS,则终端设备可以在第一小区中通过EPS NAS接入EPC。
方式二:终端设备选择一个E-UTRA制式、且能够与源核心网连接的小区作为第一小区(suitable cell),这样,终端设备即可停止第二计时器,启动第三计时器,并向重选基站发送RRC连接重建立请求(RRC Connection Reestablishment Request)消息。也就是说,可以对合适(suitable)小区的定义进行限定,只有能够与源核心网连接/与源核心网类型相同的核心网连接的小区才能作为合适小区。
方式三:若第一小区为E-UTRA小区,即第一小区的制式与源小区的制式相同,终端设备不进一步区分该E-UTRA小区是否连接源核心网。终端设备停止第二计时器,启动第三计时器,向重选基站发送RRC连接重建立请求(RRC Connection Reestablishment Request)消息。
当源小区的制式为E-UTRA,第一小区的制式与源小区的制式不同时,本申请实 施例中的终端设备可采用下述方式进行处理:
方式I:终端设备离开连接态。
具体的,终端设备删除安全上下文、重置MAC、释放包括RLC实体、MAC配置以及与所有建立的RB对应的PDCP实体等无线资源。
可选的,终端设备在离开连接态时,向上层(例如非接入NAS层)发送包括连接释放原因值的RRC连接释放指示,这样,上层即可根据该连接释放原因值确定是否更换核心网类型。这里,连接释放原因值可以包括以下信息中的任一种或多种的组合:切换失败、第一小区的类型、第一小区的制式、第一小区是否提供源核心网连接、第一小区支持的核心网的类型等。
方式II:若终端设备的源核心网为5GC,终端设备识别第一小区是否为NR小区。
示例性的,终端设备根据小区频点/物理信号特征/同步信号等,确定第一小区为NR小区。
若第一小区不是NR小区,则终端设备离开NR连接态,并向上层(例如非接入NAS层)发送连接释放原因值,这样,上层即可根据该连接释放原因值确定是否更换核心网类型。这里,连接释放原因值可以包括以下信息中的任一种或多种的组合:切换失败、重选小区的类型、重选小区的制式、重选小区是否提供源核心网连接、第一小区支持的核心网的类型等。
此外,终端设备保留安全配置。示例性的,安全配置包括以下信息中的任一种或任意多种的组合:5G安全上下文(5G security context)、源基站秘钥(例如KgNB、KeNB)、下一跳参数(Next Hop parameter,NH)、下一跳链计数参数(Next Hop Chaining Counter parameter,NCC)、用于RRC加密的秘钥、用于RRC完整性保护(简称完保)的秘钥、加密算法、完保算法等。
可选的,对于用户面的处理可以包括以下处理中的任一项或任意多项的组合:
终端设备重置MAC实体,释放MAC配置。
对于与DRB对应的源SDAP实体,终端设备可以释放,也可以重建立,还可以保留。对于与DRB对应的源RLC实体,终端设备可以释放,也可以重建立,还可以保留。对于与SRB对应的源RLC实体,终端设备可以释放,也可以重建立,还可以保留。若终端设备保留了源SDAP/PDCP/RLC实体,则可以在接收到重选基站发送的RRC连接重建立(RRC Connection Reestablishment)消息或RRC连接重配置消息(NR中也称为RRC重配置消息)后对SDAP/PDCP/RLC实体进行操作。
对于与SRB(SRB1和/或SRB2)对应的PDCP实体,终端设备可以释放,也可以重建立,还可以保留。对于与建立的SRB对应的RLC实体,终端设备可以释放,也可以保留。若终端设备保留了与建立的SRB对应的PDCP/RLC实体,则可以在接收到重选基站发送的RRC连接重建立(RRC Connection Reestablishment)消息或RRC连接重配置消息(NR中也成为RRC重配置消息)后再对PDCP/RLC实体进行操作。
需要说明的是,上述方式I既适用于源小区的制式是E-UTRA的情况,也适用于源小区的制式是NR的情况下;方式II适用于源核心网为5GC,源小区制式为E-UTRA的情况下。
当源小区的制式为NR,第一小区与源小区的制式不同时,本申请实施例中的终 端设备可采用下述方式进行处理:
方式1:终端设备离开连接态。
具体的,终端设备重置MAC、释放包括RLC实体、MAC配置以及与所有建立的RB对应的PDCP实体等无线资源。可选的,终端设备在离开NR的连接态时,向上层(例如非接入NAS层)发送包括连接释放原因值的RRC连接释放指示,这样,上层即可根据该连接释放原因值确定是否更换核心网类型。这里,连接释放原因值可以包括以下信息中的任一种或多种的组合:切换失败、第一小区的类型、第一小区的制式、第一小区是否提供源核心网连接、重选小区支持的核心网类型等。
方式2:若第一小区为E-UTRA小区,则终端设备进一步判断该小区是否连接5GC。
当第一小区为E-UTRA小区时,若第一小区也连接5GC,则终端设备保留安全配置。这里,终端设备保留安全配置的方法可以参考上述方式II的描述,此处不再进行详细赘述。
若第一小区不能提供与5GC的连接,则终端设备离开NR的连接态。终端设备离开NR的连接态的具体过程可以参考上述方式1的描述,此处不再进行详细赘述。
方式3:终端设备选择一个E-UTRA制式、且能够与源核心网连接的小区,即对合适(suitable)小区的定义进行限定:对于E-UTRA制式的小区,只有能够与源核心网连接/与源核心网类型相同的核心网连接的小区为合适小区。
在这种场景中,终端设备保留安全配置。终端设备保留安全配置的方法可以参考上述方式II的描述,此处不再进行详细赘述。
步骤5、终端设备向重选基站发送RRC连接重建立请求(RRC Connection Reestablishment Request)消息。
该RRC连接重建立请求消息包括源小区的小区标识(如源主小区的PCI)、源小区中使用的终端设备标识(如C-RNTI)以及第二安全参数信息(如shortMAC-I)。
步骤6、重选基站对RRC连接重建立请求消息进行校验。
其中,重选基站基于源小区的小区标识和源小区中使用的终端设备标识获取终端设备的上下文。可选的,当重选基站为ng-eNB时,重选基站确定源核心网的类型。若该重选基站为终端设备的原服务基站或源站,则重选基站可以获知终端设备的源核心网类型;或者,若该重选基站为终端设备切换的目标基站,则重选基站可以通过源站发起的切换类型获知该终端设备的源核心网类型。
示例性的,源站若发起X2切换,则源核心网类型为EPC。源站若发起Xn切换,则源核心网类型为EPC。重选基站若收到S1接口的系统内切换,则源核心网类型为EPC。重选基站若收到S1接口的系统间切换,则源核心网类型为5GC。重选基站在NG接口收到系统内切换请求,则源核心网类型为5GC。重选基站在NG接口收到系统间切换请求,则源核心网类型为EPC。
可选的,重选基站基于终端设备的上下文,判断终端设备的源核心网类型,该终端设备上下文由切换的源站携带在切换请求中。重选基站基于该终端设备的上下文中的第一安全参数信息对RRC连接重建立请求消息进行校验。
具体的,重选基站检验第二安全参数信息是否具有合法性。可选的,若终端设备切换的目标核心网与源核心网不同,目标基站收到的切换请求消息携带终端设备在目 标核心网中适用的上下文。当该目标基站也连接源核心网时,如果源基站将终端设备的源上下文发给目标基站,目标基站有能力为终端设备进行RRC连接重建。示例性的,源基站在发起跨核心网的切换时,在切换请求消息中携带终端设备的源上下文。进一步可选的,源基站在发起跨核心网的切换时,判断目标基站是否支持源核心网,若支持,则在切换请求消息中携带终端设备的源上下文。
可选的,重选基站获取到的终端设备的上下文中包括第一安全参数信息,且重选基站与源核心网连接,则重选基站向终端设备发送RRC连接重建消息,即执行步骤7。若重选基站获取到的终端设备的上下文中未包括第一安全参数信息,则该重选基站向终端设备发送RRC连接重建拒绝消息,即执行步骤12。
步骤7、重选基站向终端设备发送RRC连接重建(RRC Connection Reestablishment)消息。
可选的,该RRC连接重建消息包括SRB 1的配置信息。
步骤8、终端设备根据SRB 1的配置信息重配SRB 1。
具体的,由于终端设备在步骤3中回复到源配置,因此,对于终端设备而言,其接入的核心网为源核心网,工作的NAS为源NAS,使用的安全上下文为源系统的安全上下文。因此,终端设备在接收到RRC连接重建消息后,根据SRB 1的配置信息重新配置SRB 1。
可选的,在发送RRC连接重建立请求消息之前,终端设备释放了SRB 1的源PDCP实体的场景中,若RRC连接重建消息包括了PDCP实体的配置信息(即第一配置信息),则终端设备根据PDCP实体的配置信息,新建SRB 1的PDCP实体;若RRC连接重建消息未包括PDCP实体的配置信息,则终端设备根据默认的PDCP的配置信息(即第一预设配置信息),新建SRB 1的PDCP实体。
可选的,在发送RRC连接重建立请求消息之前,终端设备保留了SRB 1的源PDCP实体的场景中,终端设备将保留的PDCP实体作为SRB 1的PDCP实体。
可选的,在发送RRC连接重建立请求消息之前,终端设备保留SRB 1的源PDCP实体的场景中,终端设备重建SRB 1的PDCP实体。
可选的,在发送RRC连接重建立请求消息之前,终端设备保留SRB 1的源PDCP实体的场景中,终端设备释放SRB1的源PDCP实体,新建SRB 1的PDCP实体。
可选的,在发送RRC连接重建立请求消息之前,终端设备重建立了SRB 1的NR PDCP实体,则终端设备将该NR PDCP实体作为SRB 1的PDCP实体。
需要说明的是,当源核心网为EPC时,终端设备在源小区使用的SRB 1的PDCP实体和重建立后的SRB 1的PDCP实体均应该为E-UTRA PDCP。当源核心网为5GC时,终端设备在源小区使用的SRB 1的PDCP实体和重建立后的SRB 1的PDCP实体均应该为NR PDCP。
可选的,在发送RRC连接重建立请求消息之前,终端设备释放了SRB 1的源RLC实体的场景中,若RRC连接重建消息包括了RLC实体的配置信息,则终端设备根据RLC实体的配置信息,新建SRB 1的RLC实体;若RRC连接重建消息未包括RLC实体的配置信息,则终端设备根据默认的RLC实体的配置信息,新建SRB 1的RLC实体。
可选的,在发送RRC连接重建立请求消息之前,终端设备保留了SRB 1的源RLC实体的场景中,终端设备释放源RLC实体,为SRB 1新建RLC实体。
需要说明的是,当源核心网为EPC时,终端设备在源小区使用的SRB 1的RLC实体和重建立后的SRB 1的RLC实体均应该为E-UTRA RLC。当源核心网为5GC时,且源小区的制式为E-UTRA时,终端设备在源小区使用的SRB 1的RLC实体应该为E-UTRA RLC,若在NR小区重建立成功,使用的SRB 1的RLC实体应该为NR RLC。当源核心网为5GC时,且源小区的制式为E-UTRA时,终端设备在源小区使用的SRB 1的RLC实体应该为E-UTRA RLC。若在E-UTRA小区重建立成功,使用的SRB 1的RLC实体应该为E-UTRA RLC。当源核心网为5GC时,且源小区的制式为NR时,终端设备在源小区使用的SRB 1的RLC实体应该为NR RLC,若在NR小区重建立成功,使用的SRB 1的RLC实体应该为NR RLC。当源核心网为5GC时,且源小区的制式为NR时,终端设备在源小区使用的SRB 1的RLC实体应该为NR RLC,若在E-UTRA小区重建立成功,使用的SRB 1的RLC实体应该为E-UTRA RLC。
步骤9(可选的)、终端设备通过SRB 1向重选基站发送RRC连接重建完成(RRC Connection Reestablishment Complete)消息。
步骤10(可选的)、重选基站向终端设备发送RRC连接重配(RRC Connection Reconfiguration)消息。
该RRC连接重配消息可以包括RB(SRB 2和/或DRB)的配置信息。
步骤11、终端设备根据RRC连接重配消息包括的配置信息,对RB进行重配或配置。
可选的,在发送RRC连接重建立请求消息之前,终端设备释放了RB的源PDCP实体的场景中,若RRC连接重建消息包括了PDCP的配置信息,则终端设备根据PDCP的配置信息,新建RB的PDCP实体;若RRC连接重建消息未包括PDCP的配置信息,则终端设备根据默认的PDCP的配置信息,新建RB的PDCP实体。
可选的,在发送RRC连接重建立请求消息之前,终端设备保留了RB的源PDCP实体的场景中,终端设备释放RB的源PDCP实体。终端设备释放RB的源PDCP实体后,新建该RB的PDCP实体。容易理解的是,“终端设备新建RB的PDCP实体”的方式较为简单,尤其是对于SRB,源PDCP实体的状态对数据传输的连续性没有特别帮助,因此。此时新建是最简单的行为。
可选的,在发送RRC连接重建立请求消息之前,终端设备保留RB的源PDCP实体的场景中,终端设备重建立RB的PDCP实体。“终端设备重建立RB的PDCP实体”的方式能够使得PDCP实体的状态和变量都得到延续,尤其是对于DRB而言,数据传输的连续性能够得到保障。
可选的,在发送RRC连接重建立请求消息之前,终端设备重建立了RB的NR PDCP实体,则终端设备将该NR PDCP实体作为RB的PDCP实体。
可选的,在发送RRC连接重建立请求消息之前,终端设备释放了RB的源RLC实体的场景中,若RRC连接重建消息包括了RLC的配置信息,则终端设备根据RLC的配置信息,新建RB的RLC实体;若RRC连接重建消息未包括RLC的配置信息,则终端设备根据默认的RLC的配置信息,新建RB的RLC实体。
可选的,在发送RRC连接重建立请求消息之前,终端设备保留了RB的源RLC实体的场景中,终端设备释放源RLC实体,为RB新建RLC实体。
可选的,在发送RRC连接重建立请求消息之前,终端设备释放了DRB的源SDAP实体的场景中,若RRC连接重建消息包括了SDAP的配置信息,则终端设备根据SDAP的配置信息,新建DRB的SDAP实体。
可选的,在发送RRC连接重建立请求消息之前,终端设备保留了DRB的源SDAP实体的场景中,终端设备释放DRB的源SDAP实体,新建DRB的SDAP实体。
可选的,在发送RRC连接重建立请求消息之前,终端设备保留DRB的源SDAP实体的场景中,终端设备重建立DRB的SDAP实体。
可选的,在发送RRC连接重建立请求消息之前,终端设备保留DRB的源SDAP实体的场景中,终端设备应用DRB的该SDAP实体。
步骤12、重选基站向终端设备发送RRC连接重建拒绝(RRC Connection Reestablishment Reject)消息,终端设备离开连接态。
可选的,该RRC连接重建拒绝消息包括拒绝原因值,该拒绝原因值用于指示重选基站/重选小区与终端设备的源核心网不相连。可选的,终端设备基于该拒绝原因值确定更换接入的核心网/切换NAS。
需要说明的是,上述步骤1-步骤3a为可选步骤,适用于切换失败触发的RRC连接重建立过程;步骤3b-步骤12可以作为一个完整的RRC连接重建立过程,既适用于切换失败触发的RRC连接重建立过程,也适用于其他时间触发的RRC连接重建立过程,例如:终端设备发现无线链路失败、完整性校验失败、RRC重配值失败等可以采用步骤3b-步骤12进行RRC连接重建立过程。
为了便于理解,现结合上述图2示出的网络结构,针对不同源核心网对本申请实施例提供的连接重建立方法进行详细描述。
图5示出了源基站为ng-eNB,源核心网为5GC,源小区为E-UTRA~5GC小区的场景中,本申请实施例提供的连接重建立方法。如图5所示,该处理方法包括:
S501、源基站确定将终端设备从源小区切换至目标基站提供服务的目标小区后,向目标基站发送切换准备消息。
可选的,源基站也可以向源核心网发送切换准备消息,源核心网节点将上述切换准备消息直接转发或通过目标核心网节点转发给目标基站。
该场景中的目标基站为ng-eNB或gNB。该切换准备消息包括终端设备的安全上下文,该安全上下文包括第一安全参数信息。
示例性的,第一安全参数信息包含以下信息中的一种或多种的组合:5G系统安全上下文,源基站秘钥(例如KeNB),目标基站秘钥(例如KgNB、KeNB),下一跳参数(Next Hop parameter,NH),下一跳链计数参数(Next Hop Chaining Counter parameter,NCC),用于RRC加密的秘钥,用于RRC完整性保护(简称完保)的秘钥,加密算法,完保算法,依据5G系统安全机制根据源C-RNTI(source C-RNTI)、源PCI(source PCI)和目标小区ID(target Cell-ID)计算得出的安全校验参数等。
S502、响应于切换准备消息,目标基站为终端设备准备资源,并向源基站发送的用于指示终端设备进行切换的响应消息。
S503、源基站向终端设备发送切换命令。
该切换命令包括第一时长。
S504、终端设备根据切换命令,执行切换操作,并判断切换是否失败。
结合前面描述可知,终端设备在接收到切换命令后,启动第一定时器,并将其相关配置更新为目标小区的配置。第一定时器的时长为上述第一时长。若第一定时器超时,终端设备还没有完成切换,则终端设备确定切换失败。
S505、若终端设备切换失败,该终端设备回复到(revert back to)源配置,并启动RRC连接重建立流程。
S506、终端设备启动第二计时器,进行小区重选,并确定第一小区。
示例性的,重选小区即为合适小区(suitable cell)。
S507、终端设备判断第一小区的制式与源小区的制式是否相同。
可选的,终端设备根据小区的频点、物理信号特征或同步信号确定第一小区的制式。在终端设备确定出第一小区的制式后,判断第一小区的制式与源小区的制式是否相同。
若第一小区的制式与源小区的制式相同,终端设备在S507后执行S509。可选的,若第一小区的制式与源小区的制式不同,终端设备在S507后执行S508。
S508、终端设备离开连接态,并向上层发送包括连接释放原因值的连接释放指示。
本实施例中的源小区为E-UTRA~5GC小区,若第一小区的制式与源小区的制式不同,则重选基站可能为gNB。此时,可选的,终端设备离开连接态,进入空闲态,并向NAS层发送包括连接释放原因值的连接释放指示。这样,NAS层可根据连接释放原因值确定是否更换核心网的类型。
S509、终端设备向重选基站发送RRC连接重建立请求消息。
本实施例中的源小区为E-UTRA~5GC小区,若第一小区的制式与源小区的制式相同,则第一小区为E-UTRA~5GC小区或E-UTRA~EPC小区。
若第一小区为E-UTRA~5GC小区,则第一小区与源小区均与5GC连接,这样,重选基站能够获取到终端设备的上下文,进而根据该终端设备的上下文对RRC连接重建立请求消息进行校验,以接受终端设备发送的请求。
此外,若第一小区的制式与源小区的制式相同,终端设备还保留其安全配置。终端设备保留其安全配置的具体过程请参考上述描述,此处不再进行详细赘述。
若第一小区为E-UTRA~5GC小区,则在S509之后依次执行S510a和S511。
若第一小区为E-UTRA~EPC小区,则重选基站无法获取到终端设备的上下文,这样,该重选基站会拒绝终端设备发送的请求。若第一小区为E-UTRA~EPC小区,则在S509之后执行S510b。
S510a、重选基站向终端设备发送RRC连接重建消息。
该RRC连接重建消息包括SRB 1的配置信息。
S511、终端设备根据SRB 1的配置信息重新配置SRB 1。
终端设备根据SRB 1的配置信息重新配置SRB 1的方法可以参考上述步骤8的描述,此处不再进行详细赘述。
可选的,在S511之后,还包括S512~S514。
S512(可选的)、终端设备通过重新配置的SRB 1向重选基站发送RRC连接重建完成消息。
S513(可选的)、重选基站向终端设备发送RRC连接重配消息。
该RRC连接重配消息可以包括目标RB(SRB 2和/或DRB)的配置信息。
S514(可选的)、终端设备根据目标RB的配置信息,对目标RB进行重配或配置。
S514可以参考上述步骤11的描述,此处不再进行详细赘述。
S510b、重选基站向终端设备发送RRC连接重建拒绝消息。
终端设备在接收到RRC连接重建拒绝消息后,执行S508。
容易理解的是,本实施例中的源小区为E-UTRA~5GC小区,若第一小区为NR小区,则重选基站也可获取到终端设备的上下文,这样,终端设备发起RRC连接重建请求后,依旧能够恢复该终端设备的RRC连接。NR小区与E-UTRA~5GC小区的制式不同。因此,在第一小区与源小区的制式不同的场景中,终端设备还可进一步地判断第一小区是否为NR小区。
可选的,本实施例提供的连接重建立方法在S507与S508之间还可包括S515。
S515、终端设备判断第一小区是否为NR小区。
由于S515为可选的,因此图5中用虚线框表示。
若第一小区不为NR小区,则终端设备离开连接态,并向上层发送连接释放指示,即执行S508。
若第一小区为NR小区,则在S515之后执行S516~S521。
S516、终端设备向重选基站发送RRC连接重建立请求消息。
S516中的重选基站为gNB。
S517、重选基站向终端设备发送RRC连接重建消息。
该RRC连接重建消息包括SRB 1的配置信息。gNB能够获取到终端设备的上下文,并根据该终端设备的上下文对RRC连接重建立请求消息进行校验,以接受终端设备发送的请求。相应的,gNB向终端设备发送RRC连接重建消息。
S518、终端设备根据SRB 1的配置信息重新配置SRB 1。
S518可以参考上述步骤8的描述,此处不再进行详细赘述。
S519(可选的)、终端设备通过重新配置的SRB 1向重选基站发送RRC连接重建完成消息。
S520(可选的)、重选基站向终端设备发送RRC连接重配消息。
该RRC连接重配消息可以包括目标RB(SRB 2和/或DRB)的配置信息。
S521(可选的)、终端设备根据目标RB的配置信息,对目标RB进行重配或配置。
S521可以参考上述步骤11的描述,此处不再进行详细赘述。
结合上述S509的描述可知,在S509这一步骤中第一小区为E-UTRA~5GC小区或E-UTRA~EPC小区。为了提高终端设备重建RRC连接的成功率,并减少信令的交互,本申请实施例中的终端设备在确定第一小区的制式与源小区的制式不同后,且在向重选基站发送RRC连接重建立请求消息之前,还可以进一步判断为第一小区提供服 务的重选基站是否与源核心网连接。
具体的,结合上述图5,如图6所示,本申请实施例提供的连接重建立方法在S507与S509之间还包括S601,且在S509之后仅包括S510a~S514,而不包括S510b。其中,S601为:
S601、终端设备判断重选基站是否与源核心网连接。
当重选基站与源核心网连接时,该重选基站才可能为终端设备重建立RRC连接,并继续为终端设备提供与源核心网之间的连接。重选基站需要具有终端设备的上下文,进而根据终端设备的上下文进行验证。因此,当重选基站与源核心网连接时,终端设备执行S509。
当重选基站与源核心网未连接时,该重选基站无法支持该终端设备的RRC连接重建立。因此,终端设备在确定重选基站与源核心网未连接后,离开连接态,并向上层发送连接释放指示,即执行S508。
可选的,本申请提供的连接重建立方法中,还可以重新定义合适(suitable)小区。重新定义合适(suitable)小区是指能够与源核心网连接/与源核心网类型相同的核心网连接的小区。也就是说,终端设备确定出的第一小区为能够与源核心网连接/与源核心网类型相同的核心网连接的小区。这样,在第一小区的制式与源小区的制式相同的情况下,终端设备向重选基站发送RRC连接重建立请求消息后,该重选基站向终端设备发送RRC连接重建消息的可能性增加了,而不会由于重选基站不支持源核心网类型而发送RRC连接重建拒绝消息。
结合上述图5,图7示出了重新定义合适(suitable)小区的场景中连接重建立方法的流程。如图7所示,该连接重建立方法包括S501~S505、S701、S507~S509、S510a~S514以及S515~S521。其中,S701为:
S701、终端设备启动第二计时器,进行小区重选,并确定与源核心网连接的第一小区。
示例性的,重选小区为合适小区。只有支持与源核心网的连接的小区,终端设备才可能将其视为合适小区。
可以看出,本申请实施例的终端设备在切换失败后,不仅仅判断第一小区的制式是否与源小区的制式是否相同,还判断第一小区是否与源核心网连接。该终端设备综合所有判断结果确定是否向重选基站发送RRC连接重建立请求消息,有效的提高了终端设备恢复RRC连接的概率,减少了信令交互。
需要说明的是,对于图5、图6和图7中所示的实施方式,步骤S501-S504为切换场景中的步骤,可以作为可选步骤。步骤S505-S521中的方案可以适用于一般的RRC连接重建立流程,RRC连接重建立流程的触发条件可能为切换失败、无线链路失败、RRC重配置失败、完整性校验失败等。
图8示出了源基站为ng-eNB或eNB,源核心网为EPC,源小区为E-UTRA~EPC小区的场景中,本申请实施例提供的连接重建立方法。如图8所示,该处理方法包括:
S801、源基站确定将终端设备从源小区切换至目标基站提供服务的目标小区后,向目标基站或源核心网发送切换准备消息。
该场景中的目标基站可以为ng-eNB,也可以为eNB,还可以为gNB。
可选的,当目标基站为ng-eNB/eNB时,若源基站触发了跨核心网的切换,目标基站也支持与源核心网的连接,则上述切换准备消息还包括终端设备的源上下文,例如:包括EPS中的终端设备的安全上下文,该安全上下文包括第一安全参数信息。这样可以增加终端设备连接重建立成功的概率。
S802、响应于切换准备消息,目标基站为UE准备资源,并向源基站发送的用于指示UE进行切换的响应消息。
S803、源基站向终端设备发送切换命令。
该切换命令包括第一时长。
S804、终端设备根据切换命令,执行切换操作,并判断切换是否失败。
结合前面描述可知,终端设备在接收到切换命令后,启动第一定时器,并将其相关配置更新为目标小区的配置。第一定时器的时长为上述第一时长。若第一定时器超时,终端设备还没有完成切换,则终端设备确定切换失败。
S805、若终端设备切换失败,该终端设备回复到(revert back to)源配置,并启动RRC连接重建立流程。
S806、终端设备启动第二计时器,进行小区重选,并确定第一小区。
S807、终端设备判断第一小区的制式与源小区的制式是否相同。
可选的,终端设备根据小区的频点、物理信号特征或同步信号确定第一小区的制式。在终端设备确定出第一小区的制式后,判断第一小区的制式与源小区的制式是否相同。
若第一小区的制式与源小区的制式不同,终端设备在S807后执行S808。若第一小区的制式与源小区的制式相同,终端设备在S807后执行S809。
S808、终端设备离开连接态,并向上层发送包括连接释放原因值的连接释放指示。
本实施例中的源小区为E-UTRA~EPC小区,若第一小区的制式与源小区的制式不同,则第一小区应该为NG小区,重选基站为gNB。
可选的,终端设备离开连接态,进入空闲态,并向NAS层发送包括连接释放原因值的连接释放指示。这样,NAS层可根据连接释放原因值确定是否更换核心网的类型。
S809、终端设备向重选基站发送RRC连接重建立请求消息。
本实施例中的源小区为E-UTRA~EPC小区,若第一小区的制式与源小区的制式相同,则第一小区为E-UTRA~5GC小区或E-UTRA~EPC小区。
若第一小区为E-UTRA~EPC小区,则第一小区与源小区均与EPC连接,这样,若重选基站能够获取到终端设备的上下文,进而根据该终端设备的上下文对RRC连接重建立请求消息进行校验,则可以接受终端设备发送的请求。
此外,若第一小区的制式与源小区的制式相同,终端设备还保留其安全配置。终端设备保留其安全配置的具体过程请参考上述描述,此处不再进行详细赘述。
若第一小区为E-UTRA~EPC小区,则在S809之后依次执行S810a和S811。
若第一小区为E-UTRA~5GC小区,即重选小区不与源核心网相连,无法为UE重建立RRC连接进而恢复与源核心网的连接,该重选基站会拒绝终端设备发送的请求。若第一小区为E-UTRA~5GC小区,则在S809之后执行S810b。
S810a、重选基站向终端设备发送RRC连接重建消息。
该RRC连接重建消息包括SRB 1的配置信息。
S811、终端设备根据SRB 1的配置信息重新配置SRB 1。
终端设备根据SRB 1的配置信息重新配置SRB 1的方法可以参考上述步骤8的描述,此处不再进行详细赘述。
可选的,在S811之后,还包括S812~S814。
S812(可选的)、终端设备通过重新配置的SRB 1向重选基站发送RRC连接重建完成消息。
S813(可选的)、重选基站向终端设备发送RRC连接重配消息。
该RRC连接重配消息可以包括目标RB(SRB 2和/或DRB)的配置信息。
S814(可选的)、终端设备根据目标RB的配置信息,对目标RB进行重配或配置。
S814可以参考上述步骤11的描述,此处不再进行详细赘述。
S810b、重选基站向终端设备发送RRC连接重建拒绝消息。
可选的,上述RRC连接重建拒绝消息包括拒绝原因值,拒绝原因值可以为以下信息中的一种或多种的组合:重选基站/小区与源核心网不连接,指示终端设备更换核心网,重选基站/小区连接的核心网(例如5GC)。可选的,终端设备基于拒绝原因进行NAS恢复(NAS recovery),或NAS切换(例如将工作的NAS由EPS NAS更换为5GS NAS)。
终端设备在接收到RRC连接重建拒绝消息后,执行S808。
具体的,结合上述图8,如图9所示,本申请实施例提供的连接重建立方法在S807与S809之间还包括S901。其中,S901为:
S901、终端设备判断重选基站是否与源核心网连接。
当重选基站与源核心网连接时,该重选基站才有可能为UE重建立RRC连接,进而恢复与源核心网之间的连接。若重选基站具有终端设备的上下文,则进而根据获取到的终端设备的上下文进行验证。因此,当重选基站与源核心网连接时,终端设备执行S809。
当重选基站与源核心网未连接时,该重选基站无法支持该终端设备的RRC连接重建立。因此,终端设备在确定重选基站与源核心网未连接后,离开连接态,并向上层发送连接释放指示,即执行S808。
可选的,本申请提供的连接重建立方法中,还可以重新定义合适(suitable)小区。重新定义合适(suitable)小区是指能够与源核心网连接/与源核心网类型相同的核心网连接的小区。也就是说,终端设备确定出的第一小区为能够与源核心网连接/与源核心网类型相同的核心网连接的小区。这样,在第一小区的制式与源小区的制式相同的情况下,终端设备向重选基站发送RRC连接重建立请求消息后,该重选基站向终端设备发送RRC连接重建消息,而不会发送RRC连接重建拒绝消息。
结合上述图8,图10示出了重新定义合适(suitable)小区的场景中连接重建立方法的流程。如图10所示,该连接重建立方法将图8中的S806替换为S1001。其中,S1001为:
S1001、终端设备启动第二计时器,进行小区重选,并确定与源核心网连接的第一小区。
可以看出,本申请实施例的终端设备在切换失败后,不仅仅判断第一小区的制式是否与源小区的制式是否相同,还判断第一小区是否与源核心网连接。该终端设备综合所有判断结果确定是否向重选基站发送RRC连接重建立请求消息,有效的提高了终端设备恢复RRC连接的概率,减少了信令交互。
需要说明的是,对于图8、图9和图10所示的实施方式,步骤S801-S804为切换场景中的步骤,可以作为可选步骤。步骤S805-S814以及S901中的方案可以适用于一般的RRC连接重建立流程,RRC连接重建立流程的触发条件可能为切换失败、无线链路失败、RRC重配置失败、完整性校验失败等。
图11示出了源基站为gNB,源核心网为5GC,源小区为NR小区的场景中,本申请实施例提供的连接重建立方法。如图11所示,该处理方法包括:
S1101、源基站确定将终端设备从源小区切换至目标基站提供服务的目标小区后,向目标基站发送切换准备消息。
可选的,当目标基站为ng-eNB,且源站触发的为跨核心网切换(即目标核心网类型为EPC)时,当目标站也连接源核心网时,源站可以在切换准备消息包括UE的源上下文,例如5GS中终端设备的安全上下文,该安全上下文包括第一安全参数信息。此时,通过在跨核心网切换中携带UE源系统的上下文,可以增加UE在目标站的小区下重建立成功的可能性。
S1102、响应于切换准备消息,目标基站为UE准备资源,并向源基站发送的用于指示UE进行切换的响应消息。
S1103、源基站向终端设备发送切换命令。
该切换命令包括第一时长。
S1104、终端设备根据切换命令,执行切换操作,并判断切换是否失败。
结合前面描述可知,终端设备在接收到切换命令后,启动第一定时器,并将其相关配置更新为目标小区的配置。第一定时器的时长为上述第一时长。若第一定时器超时,终端设备还没有完成切换,则终端设备确定切换失败。
S1105、若终端设备切换失败,该终端设备回复到(revert back to)源配置,并启动RRC连接重建立流程。
S1106、终端设备启动第二计时器,进行小区重选,并确定第一小区。
S1107、终端设备判断第一小区的制式与源小区的制式是否相同。
可选的,终端设备根据小区的频点、物理信号特征或同步信号确定第一小区的制式。在终端设备确定出第一小区的制式后,判断第一小区的制式与源小区的制式是否相同。
若第一小区的制式与源小区的制式不同,终端设备在S1107后执行S1108。若第一小区的制式与源小区的制式相同,终端设备在S1107后执行S1109。
S1108、终端设备离开连接态,并向上层发送包括连接释放原因值的连接释放指示。
本实施例中的源小区为NR小区,若第一小区的制式与源小区的制式不同,当重 选基站应该为ng-eNB时,可选的,终端设备离开连接态,进入空闲态,并向NAS层发送包括连接释放原因值的连接释放指示。这样,NAS层可根据连接释放原因值确定是否更换核心网的类型。
S1109、终端设备向重选基站发送RRC连接重建立请求消息。
本实施例中的源小区为NR小区,若第一小区的制式与源小区的制式相同,则第一小区为NR小区。
若重选小区为NR小区,则重选小区与源小区均与5GC连接,若重选基站具有终端设备的上下文,则可根据该终端设备的上下文对RRC连接重建立请求消息进行校验,校验成功则可以接受终端设备发送的重建立请求。
此外,若第一小区的制式与源小区的制式相同,终端设备还保留其安全配置。终端设备保留其安全配置的具体过程请参考上述描述,此处不再进行详细赘述。
若第一小区为NR小区,则在S1109之后依次执行S1110a和S1111。
若第一小区不具有UE的上下文或校验失败,则会拒绝终端设备发送的请求。此时,在S1109之后执行S1110b。
S1110a、重选基站向终端设备发送RRC连接重建消息。
该RRC连接重建消息包括SRB 1的配置信息。
S1111、终端设备根据SRB 1的配置信息重新配置SRB 1。
终端设备根据SRB 1的配置信息重新配置SRB 1的方法可以参考上述步骤8的描述,此处不再进行详细赘述。
可选的,在S1111之后,还包括S1112~S1114。
S1112(可选的)、终端设备通过重新配置的SRB 1向重选基站发送RRC连接重建完成消息。
S1113(可选的)、重选基站向终端设备发送RRC连接重配消息。
该RRC连接重配消息可以包括目标RB(SRB 2和/或DRB)的配置信息。
S1114(可选的)、终端设备根据目标RB的配置信息,对目标RB进行重配或配置。
S1114可以参考上述步骤11的描述,此处不再进行详细赘述。
S1110b、重选基站向终端设备发送RRC连接重建拒绝消息。
终端设备在接收到RRC连接重建拒绝消息后,执行S1108。
容易理解的是,本实施例中的源小区为NR小区,若重选小区为E-UTRA~5GC小区,则重选基站也支持与源核心网的连接,即重选基站可能能为UE重建立RRC连接,并会与与源基站之间的连接。当重选基站具有终端设备的上下文,则终端设备发起RRC连接重建请求后,重选小区能够恢复该终端设备的RRC连接。NR小区与E-UTRA~5GC小区的制式不同。因此,在重选小区与源小区的制式不同的场景中,终端设备还可进一步地判断重选小区是否为E-UTRA小区。
可选的,本实施例提供的连接重建立方法在S1107与S1108之间还可包括S1115。
S1115、终端设备判断第一小区是否为E-UTRA小区。
由于S1115为可选的,因此图11中用虚线框表示。
若第一小区不为E-UTRA小区,则终端设备离开连接态,并向上层发送连接释放 指示,即执行S1108。
若第一小区为E-UTRA小区,则在S1115之后执行S1116。在第一小区为E-UTRA小区的场景中,具体的,该第一小区可以为E-UTRA~5GC小区,也可以为E-UTRA~EPC小区。
S1116、终端设备向重选基站发送RRC连接重建立请求消息。
S1116中的重选基站为ng-eNB。
若重选小区为E-UTRA~5GC小区,则重选基站与源核心网连接。若重选基站具有该终端设备的上下文,并根据获取到的终端设备的上下文进行校验成功,则可接受该终端设备发链接重建请求,即在S1116后执行S1117a。若重选小区为E-UTRA~5GC小区,重选基站无法获取到该终端设备的上下文,拒绝该终端设备发链接重建请求,即在S1116后执行S1117b。若重选小区为E-UTRA~EPC小区,重选基站与源核心网不连接,则拒绝该终端设备发链接重建请求,即在S1116后执行S1117b。
S1117a、重选基站向终端设备发送RRC连接重建消息。
该RRC连接重建消息包括SRB 1的配置信息。重选基站能够获取到终端设备的上下文,并根据该终端设备的上下文对RRC连接重建立请求消息进行校验,以接受终端设备发送的请求。相应的,重选基站向终端设备发送RRC连接重建消息。
S1118、终端设备根据SRB 1的配置信息重新配置SRB 1。
S1118可以参考上述步骤8的描述,此处不再进行详细赘述。
S1119(可选的)、终端设备通过重新配置的SRB 1向重选基站发送RRC连接重建完成消息。
S1120(可选的)、重选基站向终端设备发送RRC连接重配消息。
该RRC连接重配消息可以包括目标RB(SRB 2和/或DRB)的配置信息。
S1121(可选的)、终端设备根据目标RB的配置信息,对目标RB进行重配或配置。
S1121可以参考上述步骤11的描述,此处不再进行详细赘述。
S1117b、重选基站向终端设备发送RRC连接重建拒绝消息。
可选的,该RRC连接重建消息拒绝消息包括拒绝原因值,拒绝原因值用于指示重选基站/重选小区与终端设备的源核心网不相连。示例性的,拒绝原因值可以为以下信息中的一种或多种的组合:重选基站/小区与源核心网不连接,指示UE更换核心网,重选基站/小区连接的核心网。可选的,UE基于拒绝原因进行NAS恢复(NAS recovery),或NAS切换。
终端设备在接收到RRC连接重建拒绝消息后,执行S1108。
结合上述S1115的描述可知,在S1115这一步骤中第一小区为E-UTRA~5GC小区或E-UTRA~EPC小区。为了提高终端设备重建RRC连接的成功率,并减少信令的交互,本申请实施例中的终端设备在确定第一小区的制式与源小区的制式不同后,且在向重选基站发送RRC连接重建立请求消息之前,还可以进一步判断为第一小区提供服务的重选基站是否与源核心网连接。
具体的,结合上述图11,如图12所示,本申请实施例提供的连接重建立方法在S1115与S1116之间还包括S1201。其中,S1201为:
S1201、终端设备判断重选基站是否与源核心网连接。
当重选基站与源核心网连接时,该重选基站能够提供与源核心网的连接。当重选基站具有终端设备的上下文时,可以根据获取到的终端设备的上下文进行校验,校验成功则可以接收终端设备的重建立请求。因此,当重选基站与源核心网连接时,终端设备执行S1116。
当重选基站与源核心网未连接时,该重选基站无法支持该终端设备的RRC连接重建立。因此,终端设备在确定重选基站与源核心网未连接后,离开连接态,并向上层发送连接释放指示,即执行S1108。
可选的,本申请提供的连接重建立方法中,还可以重新定义合适(suitable)小区。重新定义合适(suitable)小区是指能够与源核心网连接/与源核心网类型相同的核心网连接的小区。也就是说,终端设备确定出的第一小区为能够与源核心网连接/与源核心网类型相同的核心网连接的小区。这样,在第一小区的制式与源小区的制式相同的情况下,终端设备向重选基站发送RRC连接重建立请求消息后,该重选基站向终端设备发送RRC连接重建消息,而不会发送RRC连接重建拒绝消息。
结合上述图11,图13示出了重新定义合适(suitable)小区的场景中连接重建立方法的流程。如图13所示,该连接重建立方法为将图11中的S1106替换为S1301。其中,S1301为:
S1301、终端设备启动第二计时器,进行小区重选,并确定与源核心网连接的第一小区。
可以看出,本申请实施例的终端设备在切换失败后,不仅仅判断第一小区的制式是否与源小区的制式是否相同,还判断第一小区是否与源核心网连接。该终端设备综合所有判断结果确定是否向重选基站发送RRC连接重建立请求消息,有效的提高了终端设备恢复RRC连接的概率,减少了信令交互。
需要说明的是,对于图11、图12和图13中所示的实施方式,步骤S1101-S1104为切换场景中的步骤,可以作为可选步骤。步骤S1105-S1121以及S1201和S1301中的方案可以适用于一般的RRC连接重建立流程,RRC连接重建立流程的触发条件可能为切换失败、无线链路失败、RRC重配值失败、完整性校验失败等。
本申请实施例提供一种连接重建立装置,该连接重建立装置为终端设备或终端设备中的芯片。该连接重建立装置用于执行以上连接重建立方法中的终端设备所执行的步骤。本申请实施例提供的连接重建立装置可以包括相应步骤所对应的模块。
本申请实施例可以根据上述方法示例对连接重建立装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图14示出连接重建立装置140的一种可能的结构示意图。如图14所示,连接重建立装置140包括选择单元141、确定单元142、控制单元143、发送单元144以及配置单元145。选择单元141用于支持该连接重建立装置140执行上述实施例中的S506、S806、S1106,和/或用于本文所描 述的技术的其它过程;确定单元142用于支持该连接重建立装置140执行上述实施例中的S507、S515、S601、S701、S804、S807、S901、S1001、S1104、S1107、S1115、S1201、S1301,和/或用于本文所描述的技术的其它过程;控制单元143用于支持该连接重建立装置140执行上述实施例中的S508、S808、S1108,和/或用于本文所描述的技术的其它过程;发送单元144用于支持该连接重建立装置140执行上述实施例中的S509、S512、S516、S519、S809、S812、S1109、S1112、S1116、S1119,和/或用于本文所描述的技术的其它过程;配置单元145用于支持该连接重建立装置140执行上述实施例中的S511、S514、S518、S521、S811、S814、S1111、S1114、S1118、S1121,和/或用于本文所描述的技术的其它过程。当然,本申请实施例提供的连接重建立装置140包括但不限于上述模块,例如连接重建立装置140还可以包括存储单元。存储单元可以用于存储该连接重建立装置140的程序代码。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
上述选择单元141、确定单元142、控制单元143以及配置单元145可以是图3中的处理器301,发送单元144可以是图3中的天线,存储单元可以是图3中的存储器303。
当连接重建立装置140运行时,该连接重建立装置140执行如图5-13中任一附图所示的实施例的连接重建立方法中终端设备的步骤。
本申请另一实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当指令在连接重建立装置140上运行时,该连接重建立装置140执行如图5-13中任一附图所示的实施例的连接重建立方法中终端设备的步骤。
在本申请的另一实施例中,还提供一种计算机程序产品,该计算机程序产品包括计算机执行指令,该计算机执行指令存储在计算机可读存储介质中;连接重建立装置140的至少一个处理器可以从计算机可读存储介质读取该计算机执行指令,至少一个处理器执行该计算机执行指令使得连接重建立装置140实施执行如图5-13中任一附图所示的实施例的连接重建立方法中终端设备的步骤。
在本申请的另一实施例中,还提供一种芯片,该芯片可以包括:一个或多个处理器,存储器,通信总线;上述存储器用于存储一个或多个计算机指令,上述一个或多个处理器与上述存储器通过上述通信总线连接,当上述芯片运行时,上述一个或多个处理器执行上述存储器存储的上述一个或多个计算机指令,以使上述芯片执行如图5-13中任一附图所示的实施例的连接重建立方法。
本申请实施例提供一种连接重建立装置,该连接重建立装置可以为无线接入网设备或所述无线接入网设备中的芯片。该连接重建立装置用于执行以上连接重建立方法中的重选基站所执行的步骤。本申请实施例提供的连接重建立装置可以包括相应步骤所对应的模块。
本申请实施例可以根据上述方法示例对连接重建立装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图15示出了本实施例中连接重建立装置150的一种可能的结构示意图。如图15所示,连接重建立装置150包括接收单元151、确定单元152和发送单元153。接收单元151用于指示连接重建立装置150执行上述实施例中的S509、S512、S516、S519、S809、S812、S1109、S1112、S1116、S1119,和/或用于本文所描述的技术的其它过程;确定单元152用于支持该连接重建立装置150执行“确定是否接受终端设备建立与接入网之间的连接”,和/或用于本文所描述的技术的其它过程;发送单元153用于支持该连接重建立装置150执行上述实施例中的S510a、S510b、S513、S517、S520、S810a、S810b、S813、S1110a、S1110b、S1113、S1117、S1120,和/或用于本文所描述的技术的其它过程。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。当然,本申请实施例提供的连接重建立装置150包括但不限于上述模块,例如连接重建立装置150还可以包括存储单元。存储单元可以用于存储该连接重建立装置150的程序代码和数据。
上述确定单元152可以是图4中的处理器41,接收单元151和发送单元153可以是图4中的收发器43,存储单元可以是图4中的存储器42。
本申请另一实施例还提供一种计算机可读存储介质,该计算机可读存储介质包括一个或多个程序代码,该一个或多个程序包括指令,当连接重建立装置150中的处理器在执行该程序代码时,该连接重建立装置150执行如图5-13中任一附图所示的实施例的连接重建立方法。
在本申请的另一实施例中,还提供一种计算机程序产品,该计算机程序产品包括计算机执行指令,该计算机执行指令存储在计算机可读存储介质中;连接重建立装置150的至少一个处理器可以从计算机可读存储介质读取该计算机执行指令,至少一个处理器执行该计算机执行指令使得连接重建立装置150执行如图5-13中任一附图所示的实施例的连接重建立方法中重选基站的步骤。
在本申请的另一实施例中,还提供一种芯片,该芯片可以包括:一个或多个处理器,存储器,通信总线;上述存储器用于存储一个或多个计算机指令,上述一个或多个处理器与上述存储器通过上述通信总线连接,当上述芯片运行时,上述一个或多个处理器执行上述存储器存储的上述一个或多个计算机指令,以使上述芯片执行如图5-13中任一附图所示的实施例的连接重建立方法。
在上述实施例中,可以全部或部分的通过软件,硬件,固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式出现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据 终端设备。该可用介质可以是磁性介质,(例如,软盘,硬盘、磁带)、光介质(例如,DVD)或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (30)

  1. 一种连接重建立方法,其特征在于,应用于终端设备发起连接重建立的应用场景,所述连接重建方法包括:
    终端设备选择第一小区;
    在所述第一小区的制式与源小区的制式不同、且所述第一小区不属于第一类型的小区的情况下,所述终端设备离开连接态,并向上层发送连接释放原因值,所述连接释放原因值包括切换失败、所述第一小区的类型、所述第一小区对应的核心网类型、所述第一小区的制式、所述第一小区是否与源核心网连接、非接入层NAS恢复指示、NAS变更以及核心网类型变更中的至少一个,所述连接释放原因值用于指示所述上层确定是否变更所述终端设备连接的核心网的类型,所述第一类型的小区为与所述源核心网连接的小区,所述源核心网为所述终端设备在所述源小区中接入的核心网。
  2. 一种连接重建立方法,其特征在于,应用于终端设备发起连接重建立的应用场景,所述连接重建立方法包括:
    终端设备选择第一小区;
    在所述第一小区的制式与源小区的制式相同的情况下,或者在所述第一小区的制式与源小区的制式不同、且所述第一小区属于第一类型的小区的情况下,所述终端设备向重选无线接入网设备发送第一消息,所述第一消息用于请求重建所述终端设备与接入网之间的无线资源控制RRC连接,所述重选无线接入网设备为所述第一小区所属的无线接入网设备,所述第一类型的小区为与源核心网连接的小区,所述源核心网为所述终端设备在所述源小区中接入的核心网;
    所述终端设备接收所述重选无线接入网设备发送的第二消息,所述第二消息用于指示所述终端设备建立与目标无线接入网设备之间的连接。
  3. 根据权利要求2所述的连接重建立方法,其特征在于,所述终端设备向重选无线接入网设备发送第一消息之前,所述连接重建立方法还包括:
    所述终端设备保留在所述源小区中使用的安全配置,所述安全配置包括用于RRC完整性保护的秘钥和用于RRC完整性保护的算法中的至少一种。
  4. 根据权利要求2或3所述的连接重建立方法,其特征在于,所述终端设备向目标无线接入网设备发送第一消息之前,所述连接重建立方法还包括:
    所述终端设备执行下述至少一种动作:重置介质访问控制MAC实体;释放MAC配置;释放/重建立/保留与数据无线承载DRB对应的源服务数据自适应协议SDAP实体;释放/重建立/保留与SRB对应的源RLC实体;释放/重建立/保留与DRB对应的源RLC实体;释放/重建立/保留与SRB对应的源PDCP实体;释放/重建立/保留与DRB对应的源PDCP实体。
  5. 根据权利要求4所述的连接重建立方法,其特征在于,所述终端设备接收所述重选无线接入网设备发送的第二消息之后,所述连接重建立方法还包括:
    在所述终端设备释放了第一信令无线承载SRB 1的源PDCP实体,且所述第二消息包括第一配置信息的情况下,所述终端设备根据所述第一配置信息,新建所述SRB 1的PDCP实体;
    或者,
    在所述终端设备释放了第一信令无线承载SRB 1的源PDCP实体,且所述第二消息未包括第一配置信息的情况下,所述终端设备根据第一预设配置信息,新建所述SRB1的PDCP实体;
    或者,
    在所述终端设备保留了第一信令无线承载SRB 1的源PDCP实体的情况下,所述终端设备重建所述SRB 1的PDCP实体;
    或者,
    在所述终端设备保留了第一信令无线承载SRB 1的源PDCP实体的情况下,所述终端设备在释放所述SRB 1的源PDCP实体后,新建所述SRB 1的PDCP实体;
    或者,
    在所述终端设备重建立了第一信令无线承载SRB 1的NR PDCP实体的情况下,所述终端设备应用所述SRB 1的NR PDCP实体。
  6. 根据权利要求4或5所述的连接重建立方法,其特征在于,所述终端设备接收所述重选无线接入网设备发送的第二消息之后,所述连接重建立方法还包括:
    在所述终端设备释放了第一信令无线承载SRB 1的源RLC实体,且所述第二消息包括第二配置信息的情况下,所述终端设备根据所述第二配置信息,新建所述SRB 1的RLC实体;
    或者,
    在所述终端设备释放了第一信令无线承载SRB 1的源RLC实体,且所述第二消息未包括第二配置信息的情况下,所述终端设备根据第二预设配置信息,新建所述SRB 1的RLC实体;
    或者,
    在所述终端设备保留了第一信令无线承载SRB 1的源RLC实体的情况下,所述终端设备释放所述SRB 1的源RLC实体,并新建所述SRB 1的RLC实体。
  7. 根据权利要求4-6中任意一项所述的连接重建立方法,其特征在于,所述连接重建立方法还包括:
    所述终端设备接收所述重选无线接入网设备发送的第三消息,所述第三消息包括无线承载RB的配置信息,所述RB包括第二信令无线承载SRB 2和所述DRB中的至少一个;
    在所述终端设备释放了所述RB的源PDCP实体,且所述RB的配置信息包括第三配置信息的情况下,所述终端设备根据所述第三配置信息,新建所述RB的PDCP实体;或者,在所述终端设备释放了所述RB的源PDCP实体,且所述第三消息未包括第三配置信息的情况下,所述终端设备根据第三预设配置信息,新建所述RB的源PDCP实体;或者,在所述终端设备重建立了所述RB的源PDCP实体的情况下,所述终端设备应用所述RB的源PDCP实体;或者,在所述终端设备保留了所述RB的源PDCP实体的情况下,所述终端设备重建所述RB的源PDCP实体;或者,在所述终端设备保留了所述RB的源PDCP实体的情况下,所述终端设备释放所述RB的源PDCP实体,并重建所述RB的PDCP实体。
  8. 根据权利要求7所述的连接重建立方法,其特征在于,所述连接重建立方法还 包括:
    在所述终端设备释放了所述RB的源RLC实体,且所述RB的配置信息包括第四配置信息的情况下,所述终端设备根据所述第四配置信息,新建所述RB的RLC实体;
    或者,
    在所述终端设备释放了所述RB的源RLC实体,且所述RB的配置信息未包括第四配置信息的情况下,所述终端设备根据所述第四配置信息,新建所述RB的RLC实体;
    或者,
    在所述终端设备保留了所述RB的源RLC实体的情况下,所述终端设备释放所述RB的源RLC实体,并新建所述RB的RLC实体。
  9. 根据权利要求7或8所述的连接重建立方法,其特征在于,在所述源核心网为第五代核心网5GC、且所述RB包括所述DRB的情况下,所述连接重建立方法还包括:
    在所述终端设备释放了所述DRB的源SDAP实体,且所述RB的配置信息包括第五配置信息的情况下,所述终端设备根据所述第五配置信息,新建所述DRB的SDAP实体;
    或者,
    在所述终端设备保留了所述DRB的源SDAP实体的情况下,所述终端设备释放所述DRB的源SDAP实体,并新建所述DRB的SDAP实体;
    或者,
    在所述终端设备保留了所述DRB的源SDAP实体的情况下,所述终端设备重建所述DRB的SDAP实体。
  10. 根据权利要求2-9中任一项所述的连接重建立方法,其特征在于,所述终端设备向重选无线接入网设备发送第一消息之前,所述连接重建立方法还包括:
    在所述第一小区的制式与所述源小区的制式相同的情况下,所述终端设备确定所述第一小区与所述源核心网连接。
  11. 根据权利要求1-10中任意一项所述的连接重建立方法,其特征在于,所述连接重建立方法还包括:
    在所述第一小区的制式与所述源小区的制式相同、且所述第一小区与所述源核心网不连接的情况下,所述终端设备离开连接态,并向上层发送连接释放原因值;
    所述连接释放原因值包括所述切换失败、所述第一小区的类型、所述第一小区的制式、所述第一小区对应的核心网类型、所述第一小区是否与所述源核心网连接、非接入层NAS恢复指示、NAS变更以及核心网类型变更中的至少一个。
  12. 根据权利要求1-11中任意一项所述的连接重建立方法,其特征在于,所述终端设备选择第一小区,具体包括:
    所述终端设备将与所述源核心网连接的待选择小区确定为所述第一小区。
  13. 一种连接重建立方法,其特征在于,应用于终端设备发起连接重建立的应用场景,所述连接重建立方法包括:
    终端设备选择第一小区:
    在所述第一小区的制式与源小区的制式相同的情况下,所述终端设备向重选无线 接入网设备发送第一消息,所述第一消息用于请求重建所述终端设备与接入网之间的无线资源控制RRC连接,所述重选无线接入网设备为所述第一小区所属的无线接入网设备;
    所述终端设备接收所述重选无线接入网设备发送的第四消息,所述第四消息用于指示所述重选无线接入网设备拒绝所述终端设备重建与接入网之间的RRC连接,所述第四消息包括拒绝原因值,所述拒绝原因值用于指示所述第一小区与源核心网不相连。
  14. 一种连接重建立方法,其特征在于,包括:
    重选无线接入网设备接收终端设备在第一小区发送的第一消息,所述第一消息用于请求重建所述终端设备与接入网之间的无线资源控制RRC连接,所述第一小区属于所述重选无线接入网设备;
    在所述重选无线接入网设备与源核心网连接的情况下,响应所述第一消息,所述重选无线接入网设备向所述终端设备发送第五消息,所述第五消息用于指示所述重选无线接入网设备接受所述终端设备重建与接入网之间的无线资源控制RRC连接,所述源核心网为所述终端设备在源小区中接入的核心网,所述源小区为所述终端设备原服务小区或者为所述终端设备切换之前的源小区。
  15. 根据权利要求14所述的连接重建立方法,其特征在于,所述连接重建立方法还包括:
    在所述第一小区的制式为演进通用陆地无线接入E-UTRA,且所述第一小区连接所述源核心网的情况下,所述重选无线接入网设备接收源基站发送的切换请求消息,所述切换请求消息用于请求为所述终端设备进行更换核心网的切换过程,所述切换请求消息包括所述终端设备的源上下文,所述终端设备的源上下文包括用于指示所述重选无线接入网设备对所述终端设备进行校验的第一安全参数信息,所述源基站为所述源小区所属的基站;
    所述响应所述第一消息,所述重选无线接入网设备向所述终端设备发送第五消息,具体包括:
    所述重选无线接入网设备根据所述第一安全参数信息校验所述终端设备;
    所述重选无线接入网设备确定接受所述终端设备重建与接入网之间的RRC连接,并向所述终端设备发送所述第五消息。
  16. 一种连接重建立方法,其特征在于,包括:
    重选无线接入网设备接收终端设备发送的第一消息,所述第一消息用于请求重建所述终端设备与接入网之间的无线资源控制RRC连接;
    在所述重选无线接入网设备与源核心网不连接的情况下,响应所述第一消息,所述重选无线接入网设备向所述终端设备发送第四消息,所述第四消息用于指示所述重选无线接入网设备拒绝所述终端设备拒绝与接入网之间的RRC连接,所述第四消息包括拒绝原因值,所述拒绝原因值用于指示第一小区与所述源核心网不相连,所述源核心网为所述终端设备在源小区中接入的核心网,所述源小区为所述终端设备原服务小区或者为所述终端设备切换之前的源小区。
  17. 一种连接重建立装置,其特征在于,所述连接重建立装置为终端设备,所述连接重建立装置包括:
    选择单元,用于选择第一小区;
    确定单元,用于确定所述选择单元选择出的所述第一小区的制式与源小区的制式是否相同,以及用于确定所述第一小区是否属于第一类型的小区,所述第一类型的小区为与源核心网连接的小区,所述源核心网为所述终端设备在所述源小区中接入的核心网;
    控制单元,用于在所述确定单元确定所述第一小区的制式与源小区的制式不同、且所述第一小区不属于第一类型的小区的情况下,离开连接态;
    发送单元,用于在所述确定单元确定所述第一小区的制式与源小区的制式不同、且所述第一小区不属于第一类型的小区的情况下,向上层发送连接释放原因值,所述连接释放原因值包括切换失败、所述第一小区的类型、所述第一小区对应的核心网类型、所述第一小区的制式、所述第一小区是否与源核心网连接、非接入层NAS恢复指示、NAS变更以及核心网类型变更中的至少一个,所述连接释放原因值用于指示所述上层确定是否变更所述终端设备连接的核心网的类型。
  18. 一种连接重建立装置,其特征在于,所述连接重建立装置为终端设备,所述连接重建立装置包括:
    选择单元,用于选择第一小区;
    确定单元,用于确定所述选择单元选择出的所述第一小区的制式与源小区的制式是否相同,以及用于确定所述第一小区是否属于第一类型的小区,所述第一类型的小区为与源核心网连接的小区,所述源核心网为所述终端设备在所述源小区中接入的核心网;
    发送单元,用于在所述确定单元确定所述第一小区的制式与源小区的制式相同的情况下,或者在所述确定单元确定所述第一小区的制式与源小区的制式不同、且所述第一小区属于第一类型的小区的情况下,向重选无线接入网设备发送第一消息,所述第一消息用于请求重建所述终端设备与接入网之间的无线资源控制RRC连接,所述重选无线接入网设备为所述第一小区所属的无线接入网设备;
    接收单元,用于接收所述重选无线接入网设备发送的第二消息,所述第二消息用于指示所述终端设备建立与目标无线接入网设备之间的连接。
  19. 根据权利要求18所述的连接重建立装置,其特征在于,所述连接重建立装置还包括配置单元;
    所述配置单元,用于在所述发送单元向重选无线接入网设备发送第一消息之前,保留在所述源小区中使用的安全配置,所述安全配置包括用于RRC完整性保护的秘钥和用于RRC完整性保护的算法中的至少一种。
  20. 根据权利要求18或19所述的连接重建立装置,其特征在于,所述连接重建立装置还包括配置单元;
    所述配置单元,用于在所述发送单元向目标无线接入网设备发送第一消息之前,重置介质访问控制MAC实体,释放MAC配置,以及用于释放/重建立/保留与数据无线承载DRB对应的源服务数据自适应协议SDAP实体,以及用于释放/重建立/保留与SRB对应的源RLC实体,以及用于释放/重建立/保留与DRB对应的源RLC实体,以及用于释放/重建立/保留与SRB对应的源PDCP实体,以及用于释放/保留与DRB对 应的源PDCP实体。
  21. 根据权利要求20所述的连接重建立装置,其特征在于,所述配置单元还用于:在所述接收单元接收所述重选无线接入网设备发送的第二消息之后,
    在所述释放了第一信令无线承载SRB 1的源PDCP实体,且所述第二消息包括第一配置信息的情况下,根据所述第一配置信息,新建所述SRB 1的PDCP实体;
    或者,
    在释放了第一信令无线承载SRB 1的源PDCP实体,且所述第二消息未包括第一配置信息的情况下,根据第一预设配置信息,新建所述SRB 1的PDCP实体;
    或者,
    在保留了第一信令无线承载SRB 1的源PDCP实体的情况下,重建所述SRB 1的PDCP实体;
    或者,
    在保留了第一信令无线承载SRB 1的源PDCP实体的情况下,在释放所述SRB 1的源PDCP实体后,新建所述SRB1的PDCP实体;
    或者,
    在重建立了第一信令无线承载SRB 1的NR PDCP实体的情况下,应用所述SRB 1的NR PDCP实体。
  22. 根据权利要求20或21所述的连接重建立装置,其特征在于,
    所述接收单元,还用于接收所述重选无线接入网设备发送的第三消息,所述第三消息包括无线承载RB的配置信息,所述RB包括第二信令无线承载SRB 2和所述DRB中的至少一个;
    所述配置单元,还用于:在释放了所述RB的源PDCP实体,且所述RB的配置信息包括第三配置信息的情况下,根据所述第三配置信息,新建所述RB的PDCP实体;或者,在释放了所述RB的源PDCP实体,且所述第三消息未包括第三配置信息的情况下,根据第三预设配置信息,新建所述RB的源PDCP实体;或者,在重建立了所述RB的源PDCP实体的情况下,应用所述RB的源PDCP实体;或者,在保留了所述RB的源PDCP实体的情况下,重建所述RB的源PDCP实体;或者,在保留了所述RB的源PDCP实体的情况下,所述终端设备释放所述RB的源PDCP实体,并重建所述RB的PDCP实体。
  23. 根据权利要求22所述的连接重建立装置,其特征在于,在所述源核心网为第五代核心网5GC、且所述RB包括所述DRB的情况下,所述配置单元还用于:
    在释放了所述DRB的源SDAP实体,且所述RB的配置信息包括第五配置信息的情况下,根据所述第五配置信息,新建所述DRB的SDAP实体;
    或者,
    在保留了所述DRB的源SDAP实体的情况下,释放所述DRB的源SDAP实体,并新建所述DRB的SDAP实体;
    或者,
    在所述终端设备保留了所述DRB的源SDAP实体的情况下,所述终端设备重建所述DRB的SDAP实体。
  24. 根据权利要求18-23中任意一项所述的连接重建立装置,其特征在于,
    所述确定单元,还用于在所述发送单元向重选无线接入网设备发送第一消息之前,在所述第一小区的制式与所述源小区的制式相同的情况下,确定所述第一小区与所述源核心网连接。
  25. 根据权利要求17-24中任意一项所述的连接重建立装置,其特征在于,
    所述确定单元,还用于在所述发送单元向重选无线接入网设备发送第一消息之前,在所述第一小区的制式与所述源小区的制式相同的情况下,确定所述第一小区与所述源核心网不连接;
    所述连接重建立装置还包括控制单元;
    所述控制单元,用于在所述确定单元确定所述第一小区的制式与所述源小区的制式相同、且所述第一小区与所述源核心网不连接的情况下,离开连接态;
    所述发送单元,还用于在所述确定单元确定所述第一小区的制式与所述源小区的制式相同、且所述第一小区与所述源核心网不连接的情况下,向上层发送连接释放原因值;所述连接释放原因值包括所述切换失败、所述第一小区的类型、所述第一小区的制式、所述第一小区对应的核心网类型、所述第一小区是否与所述源核心网连接、非接入层NAS恢复指示、NAS变更以及核心网类型变更中的至少一个。
  26. 根据权利要求17-25中任意一项所述的连接重建立装置,其特征在于,
    所述选择单元,具体用于将与所述源核心网连接的待选择小区确定为所述第一小区。
  27. 一种连接重建立装置,其特征在于,所述连接重建立装置为终端设备,所述连接重建立装置包括:
    选择单元,用于选择第一小区;
    确定单元,用于确定所述选择单元选择的所述第一小区的制式与源小区的制式是否相同;
    发送单元,用于在所述确定单元确定所述第一小区的制式与所述源小区的制式相同的情况下,向重选无线接入网设备发送第一消息,所述第一消息用于请求重建所述终端设备与接入网之间的无线资源控制RRC连接,所述重选无线接入网设备为所述第一小区所属的无线接入网设备;
    接收单元,还用于接收所述重选无线接入网设备发送的第四消息,所述第四消息用于指示所述重选无线接入网设备拒绝所述终端设备重建与接入网之间的RRC连接,所述第四消息包括拒绝原因值,所述拒绝原因值用于指示所述第一小区与源核心网不相连。
  28. 一种连接重建立装置,其特征在于,所述连接重建立装置为无线接入网设备,所述连接重建立装置包括:
    接收单元,用于接收终端设备在第一小区发送的第一消息,所述第一消息用于请求重建所述终端设备与接入网之间的无线资源控制RRC连接,所述第一小区属于重选无线接入网设备;
    确定单元,用于确定是否与源核心网连接,所述源核心网为所述终端设备在源小区中接入的核心网,所述源小区为所述终端设备原服务小区或者为所述终端设备切换 之前的源小区;
    发送单元,用于在所述确定单元确定与所述源核心网连接的情况下,响应所述第一消息,向所述终端设备发送第五消息,所述第五消息用于指示所述重选无线接入网设备接受所述终端设备重建与接入网之间的无线资源控制RRC连接。
  29. 根据权利要求28所述的连接重建立装置,其特征在于,
    所述接收单元,还用于在所述第一小区的制式为演进通用陆地无线接入E-UTRA,且所述第一小区连接所述源核心网的情况下,接收源基站发送的切换请求消息,所述切换请求消息用于请求为所述终端设备进行更换核心网的切换过程,所述切换请求消息包括所述终端设备的源上下文,所述终端设备的源上下文包括用于指示所述重选无线接入网设备对所述终端设备进行校验的第一安全参数信息,所述源基站为所述源小区所属的基站;
    所述确定单元,还用于根据根据所述第一安全参数信息校验所述终端设备,并确定接受所述终端设备重建与接入网之间的RRC连接;
    所述发送单元,具体用于在所述确定单元接受所述终端设备重建与接入网之间的RRC连接后,向所述终端设备发送所述第五消息。
  30. 一种连接重建立装置,其特征在于,所述连接重建立装置为无线接入网设备,所述连接重建立装置包括:
    接收单元,用于接收终端设备发送的第一消息,所述第一消息用于请求重建所述终端设备与接入网之间的无线资源控制RRC连接;
    确定单元,用于确定所述无线接入网设备与源核心网是否连接,所述源核心网为所述终端设备在源小区中接入的核心网,所述源小区为所述终端设备原服务小区或者为所述终端设备切换之前的源小区;
    发送单元,用于在所述确定单元确定重选无线接入网设备与源核心网不连接的情况下,响应所述第一消息,向所述终端设备发送第四消息,所述第四消息用于指示所述重选无线接入网设备拒绝所述终端设备拒绝与接入网之间的RRC连接,所述第四消息包括拒绝原因值,所述拒绝原因值用于指示第一小区与所述源核心网不相连。
PCT/CN2019/081546 2018-04-04 2019-04-04 一种连接重建立方法及装置 WO2019192608A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
BR112020020269-0A BR112020020269A2 (pt) 2018-04-04 2019-04-04 Método e aparelho de reestabelecimento de conexão
KR1020207030640A KR102417372B1 (ko) 2018-04-04 2019-04-04 연결 재확립 방법 및 장치
EP19781791.9A EP3761752B1 (en) 2018-04-04 2019-04-04 Connection reestablishing method and device
US17/061,167 US11457497B2 (en) 2018-04-04 2020-10-01 Connection reestablishment method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810301277.6 2018-04-04
CN201810301277.6A CN110351896B (zh) 2018-04-04 2018-04-04 一种连接重建立方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/061,167 Continuation US11457497B2 (en) 2018-04-04 2020-10-01 Connection reestablishment method and apparatus

Publications (1)

Publication Number Publication Date
WO2019192608A1 true WO2019192608A1 (zh) 2019-10-10

Family

ID=68100016

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/081546 WO2019192608A1 (zh) 2018-04-04 2019-04-04 一种连接重建立方法及装置

Country Status (6)

Country Link
US (1) US11457497B2 (zh)
EP (1) EP3761752B1 (zh)
KR (1) KR102417372B1 (zh)
CN (1) CN110351896B (zh)
BR (1) BR112020020269A2 (zh)
WO (1) WO2019192608A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4199603A4 (en) * 2020-12-24 2024-04-03 Samsung Electronics Co Ltd ELECTRONIC CELL SELECTION DEVICE AND METHOD FOR OPERATING THE SAME

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110475386A (zh) * 2018-05-10 2019-11-19 维沃移动通信有限公司 一种rrc连接重建的承载配置方法、终端及网络设备
WO2020168055A1 (en) * 2019-02-14 2020-08-20 Google Llc Resuming radio connections in a communication network
CN113261342A (zh) * 2019-03-22 2021-08-13 Oppo广东移动通信有限公司 一种切换处理方法、终端设备及网络设备
WO2021008522A1 (en) * 2019-07-16 2021-01-21 FG Innovation Company Limited Method of handover procedure and related device
CN114125969B (zh) * 2019-11-29 2023-06-13 Oppo广东移动通信有限公司 一种连接重建方法、终端设备及存储介质
CN113225361B (zh) * 2020-01-21 2022-11-18 华为技术有限公司 一种数据传输的方法及电子设备
CN113225780A (zh) * 2020-02-06 2021-08-06 大唐移动通信设备有限公司 一种信息上报、获取方法、终端及网络侧设备
WO2021159229A1 (en) * 2020-02-10 2021-08-19 Mediatek Singapore Pte. Ltd. Methods and apparatus of multicast radio bearer establishment for nr multicast and broadcast services
CN113286331B (zh) * 2020-02-19 2022-08-26 华为技术有限公司 重建立的方法和通信装置
CN113938968B (zh) * 2020-07-14 2023-01-31 维沃移动通信有限公司 数据传输方法、装置及设备
CN114599048B (zh) * 2020-12-04 2023-07-14 中国联合网络通信集团有限公司 一种通信方法和设备
KR20220092197A (ko) * 2020-12-24 2022-07-01 삼성전자주식회사 셀을 선택하는 전자 장치 및 그 동작 방법
WO2024031268A1 (en) * 2022-08-08 2024-02-15 Zte Corporation Methods and devices for determining target cell id for mac-i calculation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160269952A1 (en) * 2013-11-05 2016-09-15 Samsung Electronics Co., Ltd. Apparatus and method for connection re-establishment in mobile communication system
JP2017103536A (ja) * 2015-11-30 2017-06-08 株式会社Nttドコモ 無線基地局及び無線通信方法
CN106961748A (zh) * 2016-01-08 2017-07-18 北京三星通信技术研究有限公司 控制ue上下文和ue连接的方法和设备
CN107277868A (zh) * 2016-04-08 2017-10-20 北京三星通信技术研究有限公司 一种电路域回退方法和设备
WO2018006017A1 (en) * 2016-07-01 2018-01-04 Idac Holdings, Inc. Methods for supporting session continuity on per-session basis
CN107734573A (zh) * 2016-08-12 2018-02-23 华为技术有限公司 切换方法、基站及通信系统

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001264022A1 (en) 2000-05-26 2001-12-11 Cegetel Sa Method for interactive exchange between a subscriber identification module co-operating with a terminal in radiotelephone, and a local device
CN102150454B (zh) * 2008-08-11 2016-05-04 阿尔卡特朗讯公司 无线通信网络中的切换方法和设备
US8665810B2 (en) 2010-06-04 2014-03-04 Htc Corporation Method of performing uplink transmission and related communication device
CN103428793A (zh) * 2012-05-14 2013-12-04 中兴通讯股份有限公司 系统间的切换处理、切换方法及装置
WO2015143751A1 (zh) * 2014-03-24 2015-10-01 华为终端有限公司 一种无线通信方法及无线终端
US10425884B2 (en) * 2015-09-14 2019-09-24 Lg Electronics Inc. Method for setting up bearer in wireless communication system and apparatus supporting same
KR20200045014A (ko) * 2016-01-08 2020-04-29 닛본 덴끼 가부시끼가이샤 무선국 시스템, 무선 단말, 및 이들을 위한 방법
TW202408277A (zh) * 2016-08-10 2024-02-16 美商內數位專利控股公司 光連接性及自律行動性
CN109792347B (zh) * 2016-09-26 2022-08-09 三星电子株式会社 用于在下一代移动通信系统中通信的方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160269952A1 (en) * 2013-11-05 2016-09-15 Samsung Electronics Co., Ltd. Apparatus and method for connection re-establishment in mobile communication system
JP2017103536A (ja) * 2015-11-30 2017-06-08 株式会社Nttドコモ 無線基地局及び無線通信方法
CN106961748A (zh) * 2016-01-08 2017-07-18 北京三星通信技术研究有限公司 控制ue上下文和ue连接的方法和设备
CN107277868A (zh) * 2016-04-08 2017-10-20 北京三星通信技术研究有限公司 一种电路域回退方法和设备
WO2018006017A1 (en) * 2016-07-01 2018-01-04 Idac Holdings, Inc. Methods for supporting session continuity on per-session basis
CN107734573A (zh) * 2016-08-12 2018-02-23 华为技术有限公司 切换方法、基站及通信系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3761752A4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4199603A4 (en) * 2020-12-24 2024-04-03 Samsung Electronics Co Ltd ELECTRONIC CELL SELECTION DEVICE AND METHOD FOR OPERATING THE SAME

Also Published As

Publication number Publication date
US20210022198A1 (en) 2021-01-21
BR112020020269A2 (pt) 2021-01-12
EP3761752A4 (en) 2021-05-05
KR102417372B1 (ko) 2022-07-05
CN110351896A (zh) 2019-10-18
KR20200135500A (ko) 2020-12-02
EP3761752B1 (en) 2023-12-13
CN110351896B (zh) 2021-07-09
US11457497B2 (en) 2022-09-27
EP3761752A1 (en) 2021-01-06

Similar Documents

Publication Publication Date Title
WO2019192608A1 (zh) 一种连接重建立方法及装置
CN110557849B (zh) 一种通信方法及装置
US10624146B2 (en) Radio link failure handling method, related device, and communications system
ES2948665T3 (es) Cambio entre operaciones basadas en red y basadas en relés para llamadas de voz de misión crítica
US11671884B2 (en) Connection reestablishment method and apparatus
KR102414016B1 (ko) Rrc 접속 재구축의 베어러 구성 방법, 단말 및 네트워크 기기
WO2021185259A1 (zh) 通信方法及装置
CN110431880A (zh) 通信系统
KR20200139753A (ko) 서비스의 구현 방법, 네트워크 유닛 및 단말
WO2018201933A1 (zh) 一种信息处理方法及装置
WO2019144768A1 (zh) 一种网络注册模式切换的方法及终端
CN110519808B (zh) 一种网络间交互的方法、装置及系统
WO2020038294A1 (zh) 传输方法及终端设备
JP7392173B2 (ja) ネットワーク切替方法、装置、機器および記憶媒体
KR102239716B1 (ko) 핸드오버 방법, 코어 네트워크 장치, 액세스 네트워크 장치, 및 단말 장치
CN111182590B (zh) 一种小区切换方法、终端和通信节点
CN114828127B (zh) 语音通话方法、装置及存储介质
CN113543244B (zh) 一种切换指示方法、mn及存储介质
CN117204035A (zh) 无线链路管理方法、设备、系统及存储介质
TW202112160A (zh) 控制不同類型基地台之間之移動性
CN117941414A (zh) 移动性鲁棒性优化的方法、终端设备、网络设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19781791

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 19781791.9

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019781791

Country of ref document: EP

Effective date: 20200930

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112020020269

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 20207030640

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 112020020269

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20201002